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