Sha256: c958134c1b6fe364491cd87ac09abe63491e3e6af4e832e78f5d5cc0da01ad5c

Contents?: true

Size: 880 Bytes

Versions: 25

Compression:

Stored size: 880 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
- `open` - accepts an open attribute value (true or false)
      "
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
govuk_publishing_components-43.5.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.4.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.4.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.3.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.2.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.1.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.0.2 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.0.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-43.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-42.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-42.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-41.1.2 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-41.1.1 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-41.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-41.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-40.1.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-40.0.0 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-39.2.5 app/models/govuk_publishing_components/component_wrapper_helper_options.rb
govuk_publishing_components-39.2.4 app/models/govuk_publishing_components/component_wrapper_helper_options.rb