Sha256: aadf7ce80cd2f02c0adb86dc0247e7c701af0366c40c5bf988925e4a67bfb35b

Contents?: true

Size: 576 Bytes

Versions: 9

Compression:

Stored size: 576 Bytes

Contents

require_relative '../helpers/indented_grid'

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

  drawer do
    menu do
      item 'About (Drawer)' do
        event :click do
          loads :index
        end
      end

      item 'Components (Drawer)' do
        event :click do
          loads :components
        end
      end

      item 'Styles (Drawer)' do
        event :click do
          loads :styles
        end
      end
    end
  end

  indented_grid do
    display 'Drawers'

    attach :code, file: __FILE__
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
voom-presenters-0.1.8 app/demo/components/drawers.pom
voom-presenters-0.1.7 app/demo/components/drawers.pom
voom-presenters-0.1.6 app/demo/components/drawers.pom
voom-presenters-0.1.5 app/demo/components/drawers.pom
voom-presenters-0.1.4 app/demo/components/drawers.pom
voom-presenters-0.1.3 app/demo/components/drawers.pom
voom-presenters-0.1.2 app/demo/components/drawers.pom
voom-presenters-0.1.1 app/demo/components/drawers.pom
voom-presenters-0.1.0 app/demo/components/drawers.pom