Sha256: 8d1d94ecc2b96d1c548946be01a911e79ae725ad3cbf4377249fe6ac1fe11190

Contents?: true

Size: 427 Bytes

Versions: 7

Compression:

Stored size: 427 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,
                                                 **attribs, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/mixins/tooltips.rb
voom-presenters-0.2.0 lib/voom/presenters/dsl/components/mixins/tooltips.rb