Class: Vime::Ui::Controls::PlaybackControl
- Inherits:
-
Component
- Object
- ViewComponent::Base
- Component
- Vime::Ui::Controls::PlaybackControl
- Defined in:
- app/components/vime/ui/controls/playback_control.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'app/components/vime/ui/controls/playback_control.rb', line 16 def call content_tag "vm-playback-control", nil, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'app/components/vime/ui/controls/playback_control.rb', line 20 def dom_attrs super.merge({ hide_tooltip: hide_tooltip, keys: keys, pause_icon: pause_icon, play_icon: play_icon, tooltip_direction: tooltip_direction, tooltip_position: tooltip_position, }) end |