Module: Voom::Presenters::DSL::Components::Mixins::Selects

Included in:
Content, Form, Grid::Column, Table::Row::Column
Defined in:
lib/voom/presenters/dsl/components/mixins/selects.rb

Instance Method Summary collapse

Instance Method Details

#select(**attribs, &block) ⇒ Object



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

def select(**attribs, &block)
  self << Components::Select.new(parent: self,
                                 context: context,
                                 **attribs, &block)
end