Module: Voom::Presenters::DSL::Components::Mixins::Dialogs

Included in:
Grid, Grid::Column, UserInterface
Defined in:
lib/voom/presenters/dsl/components/mixins/dialogs.rb

Instance Method Summary collapse

Instance Method Details

#dialog(**attributes, &block) ⇒ Object



9
10
11
12
13
# File 'lib/voom/presenters/dsl/components/mixins/dialogs.rb', line 9

def dialog(**attributes, &block)
  @components << Components::Dialog.new(parent: self,
                                        context: context,
                                        **attributes, &block)
end