Sha256: fd4c1eb572ead202608b9f8ed56657cb26a28dab601dac03c57a53ac8903c8f3

Contents?: true

Size: 1.48 KB

Versions: 51

Compression:

Stored size: 1.48 KB

Contents

[
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the back link component. 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 back link component. If `html` is provided, the `text` option will be ignored."
    },
    {
        "name": "caller",
        "type": "nunjucks-block",
        "required": false,
        "description": "Not strictly a parameter but [Nunjucks code convention](https://mozilla.github.io/nunjucks/templating.html#call). Using a `call` block enables you to call a macro with all the text inside the tag. This is helpful if you want to pass a lot of content into a macro. To use it, you will need to wrap the entire inset text component in a `call` block."
    },
    {
        "name": "id",
        "type": "string",
        "required": false,
        "description": "ID attribute to add to the inset text container."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the inset text container."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the inset text container."
    }
]

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
govuk_publishing_components-35.3.3 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.3.2 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.3.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.3.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.2.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.1.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.1.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-35.0.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.14.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.13.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.12.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.11.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.10.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.10.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.9.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.9.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.8.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.8.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.7.1 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
govuk_publishing_components-34.7.0 node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json