Sha256: a865b5c6c5717c8e52702b419b391e44287cef5876dcdc5951bef6d7354747c1

Contents?: true

Size: 462 Bytes

Versions: 15

Compression:

Stored size: 462 Bytes

Contents

Voom::Presenters.define(:snackbar_action) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :events_drawer

  indented_grid do
    heading 'Snackbar'
    body 'Displays the snackbar at the bottom of the screen.',
         'Useful for inplace editing notifications of success'

    subheading 'Snackbar'
    button 'snackbar' do
      event :click do
        snackbar 'I want a snack!'
      end
    end
  end
  attach :code, file: __FILE__
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 app/demo/events/actions/snackbar.pom
voom-presenters-2.1.0 app/demo/events/actions/snackbar.pom
voom-presenters-2.0.3 app/demo/events/actions/snackbar.pom
voom-presenters-2.0.2 app/demo/events/actions/snackbar.pom
voom-presenters-2.0.1 app/demo/events/actions/snackbar.pom
voom-presenters-2.0.0 app/demo/events/actions/snackbar.pom
voom-presenters-0.2.0 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.13 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.12 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.11 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.10 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.9 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.8 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.7 app/demo/events/actions/snackbar.pom
voom-presenters-0.1.6 app/demo/events/actions/snackbar.pom