Sha256: 6877cc7bd7cd74da0161b2196ee2a4a7d9aec6eefd5a86f9fadbbe5ea1b123fe

Contents?: true

Size: 821 Bytes

Versions: 57

Compression:

Stored size: 821 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
- `lang` - accepts a language attribute value
      "
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
govuk_publishing_components-37.2.4 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.2.3 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.2.2 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.2.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.2.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.1.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-37.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-36.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-36.0.3 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-36.0.2 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-36.0.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-36.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.23.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.22.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.21.4 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.21.3 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.21.2 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.21.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-35.21.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb