Class: Vime::Ui::Captions

Inherits:
Component
  • Object
show all
Defined in:
app/components/vime/ui/captions.rb

Instance Method Summary collapse

Instance Method Details

#callObject



10
11
12
# File 'app/components/vime/ui/captions.rb', line 10

def call
   "vm-captions", nil, process_attrs(dom_attrs)
end

#dom_attrsObject



14
15
16
17
18
# File 'app/components/vime/ui/captions.rb', line 14

def dom_attrs
  super.merge({
    hidden: hidden,
  })
end