Class: Vime::Ui::Captions

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

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
# File 'lib/vime/ui/captions.rb', line 11

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

#dom_attrsObject



15
16
17
18
19
20
# File 'lib/vime/ui/captions.rb', line 15

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