Sha256: d20c6e38d109db1919c72a0f1956d593ffe59e9199315bf97150aaa46839b3e6

Contents?: true

Size: 494 Bytes

Versions: 14

Compression:

Stored size: 494 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Tooltips
            def tooltip(text= nil, **attribs, &block)
              return @tooltip if locked?
              @tooltip = Components::Tooltip.new(parent: self, text: text,
                                                 context: context,
                                                 **attribs, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.12 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.11 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.5 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.4 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.3 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.2 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.1 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.1.0 lib/voom/presenters/dsl/components/mixins/tooltips.rb