module Voom::Presenters::DSL::Components::Mixins::Tooltips
Public Instance Methods
tooltip(text= nil, **attribs, &block)
click to toggle source
# File lib/voom/presenters/dsl/components/mixins/tooltips.rb, line 7 def tooltip(text= nil, **attribs, &block) return @tooltip if locked? @tooltip = Components::Tooltip.new(parent: self, text: text, **attribs, &block) end