Sha256: be2fb985ee340aff388c68771ecc40d603038f0084a60f2c20191b0751fb6e87

Contents?: true

Size: 711 Bytes

Versions: 10

Compression:

Stored size: 711 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` - 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-`
      "
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
govuk_publishing_components-34.14.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.13.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.12.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.11.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.10.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.10.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.9.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.9.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.8.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-34.8.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb