Sha256: 6705e3eef97203de6a355a5b397ed7fc92ebbed4e518900f6251543c6b5c06e3
Contents?: true
Size: 775 Bytes
Versions: 19
Compression:
Stored size: 775 Bytes
Contents
module GovukPublishingComponents module ComponentWrapperHelperOptions def self.description " This component uses the component wrapper helper. It accepts the following options and applies them to the parent element of the component. See the [component wrapper helper documentation](https://github.com/alphagov/govuk_publishing_components/blob/main/docs/component-wrapper-helper.md) for more detail. - `id` - accepts a string for the element ID attribute - `data_attributes` - accepts a hash of data attributes - `aria` - accepts a hash of aria attributes - `classes` - accepts a space separated string of classes, these should not be used for styling and must be prefixed with `js-` - `role` - accepts a space separated string of roles " end end end
Version data entries
19 entries across 19 versions & 1 rubygems