Sha256: b7f9816b720a18e35f27e306328e01201d4933ab714f0d8ba340ca98f16c5262

Contents?: true

Size: 600 Bytes

Versions: 324

Compression:

Stored size: 600 Bytes

Contents

<details {%- if params.id %} id="{{params.id}}"{% endif %} class="govuk-details {%- if params.classes %} {{ params.classes }}{% endif %}" data-module="govuk-details" {%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %} {{- " open" if params.open }}>
  <summary class="govuk-details__summary">
    <span class="govuk-details__summary-text">
      {{ params.summaryHtml | safe if params.summaryHtml else params.summaryText }}
    </span>
  </summary>
  <div class="govuk-details__text">
    {{ params.html | safe if params.html else params.text }}
  </div>
</details>

Version data entries

324 entries across 324 versions & 2 rubygems

Version Path
govuk_publishing_components-18.1.1 node_modules/govuk-frontend/govuk/components/details/template.njk
govuk_publishing_components-18.1.0 node_modules/govuk-frontend/govuk/components/details/template.njk
govuk_publishing_components-18.0.1 node_modules/govuk-frontend/govuk/components/details/template.njk
govuk_publishing_components-18.0.0 node_modules/govuk-frontend/govuk/components/details/template.njk