Module: Coco::Concerns::AcceptsTagAttributes
- Extended by:
- ActiveSupport::Concern
- Included in:
- Coco::Component
- Defined in:
- app/components/coco/concerns/accepts_tag_attributes.rb
Constant Summary collapse
- TAG_ATTRIBUTE_NAMES =
%i[id class data aria test_data x].freeze
Instance Method Summary collapse
Instance Method Details
#tag_attrs ⇒ Object
23 24 25 |
# File 'app/components/coco/concerns/accepts_tag_attributes.rb', line 23 def tag_attrs @_tag_attrs ||= {} end |