Class: Vime::Component

Inherits:
ViewComponent::Base
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
app/components/vime/component.rb

Defined Under Namespace

Modules: Types

Instance Method Summary collapse

Instance Method Details

#dom_attrsObject



22
23
24
25
26
27
28
# File 'app/components/vime/component.rb', line 22

def dom_attrs
  {
    class: classes,
    data: data,
    style: style,
  }
end