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

Included in:
Card, Content, Grid, Grid::Column, Lists::Line, Common, UserInterface
Defined in:
lib/voom/presenters/dsl/components/mixins/dialogs.rb

Instance Method Summary collapse

Instance Method Details

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



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

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