Module: Voom::Presenters::DSL::Components::Mixins::Grids

Included in:
FileInput, Form, Common, PageTitle
Defined in:
lib/voom/presenters/dsl/components/mixins/grids.rb

Instance Method Summary collapse

Instance Method Details

#grid(color: nil, **attributes, &block) ⇒ Object



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/grids.rb', line 7

def grid(color: nil, **attributes, &block)
  self << Components::Grid.new(parent: self, color: color, **attributes, &block)
end