Sha256: 1b6bdb5fc216f41279c4a9323a1f0ef8f99bd5fd534f203617e09f3667b5c8f6

Contents?: true

Size: 1.81 KB

Versions: 67

Compression:

Stored size: 1.81 KB

Contents

[
    {
        "name": "items",
        "type": "array",
        "required": true,
        "description": "Array of breadcrumbs item objects.",
        "params": [
            {
                "name": "text",
                "type": "string",
                "required": true,
                "description": "If `html` is set, this is not required. Text to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored."
            },
            {
                "name": "html",
                "type": "string",
                "required": true,
                "description": "If `text` is set, this is not required. HTML to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored."
            },
            {
                "name": "href",
                "type": "string",
                "required": false,
                "description": "Link for the breadcrumbs item. If not specified, breadcrumbs item is a normal list item."
            },
            {
                "name": "attributes",
                "type": "object",
                "description": "HTML attributes (for example data attributes) to add to the individual crumb."
            }
        ]
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the breadcrumbs container."
    },
    {
        "name": "collapseOnMobile",
        "type": "boolean",
        "required": false,
        "description": "When true, the breadcrumbs will collapse to the first and last item only on tablet breakpoint and below."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the breadcrumbs container."
    }
]

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
govuk_publishing_components-23.7.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.7.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.6.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.5.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.5.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.4.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.3.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.2.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.2.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.1.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-23.0.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.69.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.68.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.68.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.67.2 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.67.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.67.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.66.4 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.66.3 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-21.66.2 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json