Sha256: cf39247f6a94c566a9b914cc19ee1a9def154c1538b252ed25f61b6f8c77d178

Contents?: true

Size: 1.18 KB

Versions: 123

Compression:

Stored size: 1.18 KB

Contents

[
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the label. 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 label. If `html` is provided, the `text` option will be ignored."
    },
    {
        "name": "for",
        "type": "string",
        "required": false,
        "description": "The value of the `for` attribute, the ID of the input the label is associated with."
    },
    {
        "name": "isPageHeading",
        "type": "boolean",
        "required": false,
        "description": "Whether the label also acts as the heading for the page."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the label tag."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the label tag."
    }
]

Version data entries

123 entries across 123 versions & 2 rubygems

Version Path
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.7.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-44.6.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json