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-24.9.2 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.9.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.9.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.8.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.7.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.7.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.6.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.6.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.5.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.4.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.4.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.3.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.3.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.2.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.1.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.1.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-24.0.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-23.15.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-23.14.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-23.13.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json