Sha256: e02fd9bc007762fa96aa028e81b0d55ec18ab045c1cbab623b2cd63e03edfd3c

Contents?: true

Size: 602 Bytes

Versions: 12

Compression:

Stored size: 602 Bytes

Contents

require_relative '../helpers/indented_grid'

Coprl::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
    headline 'Drawers'

    attach :code, file: __FILE__
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/components/drawers.pom
coprl-3.0.0.beta.11 app/demo/components/drawers.pom
coprl-3.0.0.beta.10 app/demo/components/drawers.pom
coprl-3.0.0.beta.9 app/demo/components/drawers.pom
coprl-3.0.0.beta.8 app/demo/components/drawers.pom
coprl-3.0.0.beta.7 app/demo/components/drawers.pom
coprl-3.0.0.beta.6 app/demo/components/drawers.pom
coprl-3.0.0.beta.5 app/demo/components/drawers.pom
coprl-3.0.0.beta.4 app/demo/components/drawers.pom
coprl-3.0.0.beta.3 app/demo/components/drawers.pom
coprl-3.0.0.beta.2 app/demo/components/drawers.pom
coprl-3.0.0.beta.1 app/demo/components/drawers.pom