Class: Matestack::Ui::Bootstrap::Components::Tooltip
- Inherits:
-
BaseVueJsComponent
- Object
- VueJsComponent
- BaseVueJsComponent
- Matestack::Ui::Bootstrap::Components::Tooltip
- Defined in:
- lib/matestack/ui/bootstrap/components/tooltip.rb
Constant Summary collapse
- DATA_ALIAS_ATTRIBUTES =
%i[container delay selector html template fallback_placement]
- DATA_ATTRIBUTES =
%i[text variant animation placement tabindex trigger boundary offset popper_config]
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/matestack/ui/bootstrap/components/tooltip.rb', line 23 def response case context.tag when :div div tooltip_attributes do yield if block_given? end else span tooltip_attributes do yield if block_given? end end end |