Sha256: 063c18bc27d7e62919700953146942a0a3aac5b5053762f9ea535170b8fc2921

Contents?: true

Size: 713 Bytes

Versions: 8

Compression:

Stored size: 713 Bytes

Contents

require_relative '../helpers/indented_grid'

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


  header 'Presenters Demo' do
    menu do
      item 'About (Header)' do
              event :click do
                loads :index
              end
            end

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

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

  indented_grid do
    display 'Headers'
    
    attach :code, file: __FILE__
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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