Sha256: e5f9b4aa6eaa6e96af0718873d28f8cc639d911a72ece5cafc68d7a81e78ca11

Contents?: true

Size: 1.84 KB

Versions: 160

Compression:

Stored size: 1.84 KB

Contents

{
    "component": "back-link",
    "fixtures": [
        {
            "name": "default",
            "options": {
                "href": "#"
            },
            "html": "<a href=\"#\" class=\"govuk-back-link\">Back</a>",
            "hidden": false
        },
        {
            "name": "with custom text",
            "options": {
                "href": "#",
                "text": "Back to home"
            },
            "html": "<a href=\"#\" class=\"govuk-back-link\">Back to home</a>",
            "hidden": false
        },
        {
            "name": "classes",
            "options": {
                "classes": "app-back-link--custom-class",
                "href": "#"
            },
            "html": "<a href=\"#\" class=\"govuk-back-link app-back-link--custom-class\">Back</a>",
            "hidden": true
        },
        {
            "name": "html as text",
            "options": {
                "text": "<b>Home</b>",
                "href": "#"
            },
            "html": "<a href=\"#\" class=\"govuk-back-link\">&lt;b&gt;Home&lt;/b&gt;</a>",
            "hidden": true
        },
        {
            "name": "html",
            "options": {
                "html": "<b>Back</b>",
                "href": "#"
            },
            "html": "<a href=\"#\" class=\"govuk-back-link\"><b>Back</b></a>",
            "hidden": true
        },
        {
            "name": "attributes",
            "options": {
                "href": "#",
                "html": "<b>Back to home</b>",
                "attributes": {
                    "data-test": "attribute",
                    "aria-label": "Back to home"
                }
            },
            "html": "<a href=\"#\" class=\"govuk-back-link\" data-test=\"attribute\" aria-label=\"Back to home\"><b>Back to home</b></a>",
            "hidden": true
        }
    ]
}

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
govuk_publishing_components-25.2.2 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-25.2.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-25.2.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-25.1.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-25.0.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
defra_ruby_template-3.13.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.21.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.21.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.20.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.19.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.5 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.4 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.3 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.2 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.18.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.17.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.16.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.16.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.15.3 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json