Sha256: 5755c0ecc70648af2845810141e69356a1c72a15c58260bddbaa81f4336a5cda

Contents?: true

Size: 599 Bytes

Versions: 5

Compression:

Stored size: 599 Bytes

Contents

require_relative '../helpers/indented_grid'

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

  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

5 entries across 5 versions & 1 rubygems

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