Sha256: 67b5063fe3c77f3a081da942d4cde224d716ece08057d8446f9ff74a5be79374

Contents?: true

Size: 1.84 KB

Versions: 75

Compression:

Stored size: 1.84 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` option 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` option 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",
                "required": false,
                "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

75 entries across 75 versions & 1 rubygems

Version Path
govuk_publishing_components-35.23.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.22.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.21.4 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.21.3 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.21.2 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.21.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.21.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.20.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.20.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.19.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.18.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.17.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.16.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.16.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.5 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.4 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.3 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.2 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.1 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
govuk_publishing_components-35.15.0 node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json