Sha256: c1839899aa7c2bbaf02c21045eb6a5d8bae065e3ba42ef57791fb19a72da96c0

Contents?: true

Size: 504 Bytes

Versions: 14

Compression:

Stored size: 504 Bytes

Contents

require_relative 'append'

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Chips
            include Mixins::Append

            def chip(text= nil, **attribs, &block)
              self << Components::Chip.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/chips.rb
voom-presenters-0.1.12 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.11 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.5 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.4 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.3 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.2 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.1 lib/voom/presenters/dsl/components/mixins/chips.rb
voom-presenters-0.1.0 lib/voom/presenters/dsl/components/mixins/chips.rb