Module: TurboMaterial::TooltipHelper
- Defined in:
- app/helpers/turbo_material/tooltip_helper.rb
Instance Method Summary collapse
Instance Method Details
#material_tooltip(kwargs = {}, &block) ⇒ Object
3 4 5 6 |
# File 'app/helpers/turbo_material/tooltip_helper.rb', line 3 def material_tooltip(kwargs = {}, &block) content = block_given? ? capture(&block) : nil render "components/tooltip", **kwargs, content: content end |