Class: Vime::Ui::Controls::FullscreenControl
- Inherits:
-
Component
- Object
- ViewComponent::Base
- Component
- Vime::Ui::Controls::FullscreenControl
- Defined in:
- app/components/vime/ui/controls/fullscreen_control.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'app/components/vime/ui/controls/fullscreen_control.rb', line 16 def call content_tag "vm-fullscreen-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/fullscreen_control.rb', line 20 def dom_attrs super.merge({ enter_icon: enter_icon, exit_icon: exit_icon, hide_tooltip: hide_tooltip, keys: keys, tooltip_direction: tooltip_direction, tooltip_position: tooltip_position, }) end |