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-29.4.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-29.3.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-29.2.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-29.1.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-29.0.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-29.0.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.9.2 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.9.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.9.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.8.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.8.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.7.1 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.6.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.5.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.4.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.3.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.2.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.1.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-28.0.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
govuk_publishing_components-27.20.0 node_modules/govuk-frontend/govuk/components/back-link/fixtures.json