Sha256: b556efb1e06d19d0912b5a7ea2234a25bb0c915218c6ac6ae82dc3422291c347

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

module ModsDisplay
  class ListFieldComponent < ModsDisplay::FieldComponent
    def initialize(field:, list_html_attributes: {}, list_item_html_attributes: {}, **args)
      super(field: field, **args)

      @list_html_attributes = list_html_attributes
      @list_item_html_attributes = list_item_html_attributes
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mods_display-1.0.0.alpha4 app/components/mods_display/list_field_component.rb
mods_display-1.0.0.alpha3 app/components/mods_display/list_field_component.rb