Sha256: 1b09c2b273bdd9b3b602f64d2afbde22e0d605a8585c45e59e3f75ecc1531fe5

Contents?: true

Size: 575 Bytes

Versions: 6

Compression:

Stored size: 575 Bytes

Contents

require_relative '../helpers/indented_grid'

Voom::Presenters.define(:dialogs) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :component_drawer
  page_title 'Dialogs'

  indented_grid do
    button 'Show Dialog' do
      event :click do
        dialog :hold_on
      end
    end

    dialog id: :hold_on do
      title "MDL Dialog"
      body 'This is an example of the Material Design Lite dialog component. Please use responsibly.'

      button 'Disabled action', disabled: true
      button 'Close'
    end

    attach :code, file: __FILE__
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.2.0 app/demo/components/dialogs.pom
voom-presenters-0.1.13 app/demo/components/dialogs.pom
voom-presenters-0.1.12 app/demo/components/dialogs.pom
voom-presenters-0.1.11 app/demo/components/dialogs.pom
voom-presenters-0.1.10 app/demo/components/dialogs.pom
voom-presenters-0.1.9 app/demo/components/dialogs.pom