Sha256: cf39247f6a94c566a9b914cc19ee1a9def154c1538b252ed25f61b6f8c77d178

Contents?: true

Size: 1.18 KB

Versions: 149

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

149 entries across 149 versions & 2 rubygems

Version Path
govuk_publishing_components-55.1.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-55.0.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-55.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-54.0.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-54.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-53.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-52.1.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-52.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-51.2.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-51.2.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-51.1.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-51.1.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-51.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-50.0.1 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-50.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-49.1.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-49.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-48.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-47.0.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json
govuk_publishing_components-46.4.0 node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json