Sha256: 1cf31d88c17f772a97c1e4a7780f427e231cfd40be1d9b57db5b0b494cace3f1

Contents?: true

Size: 625 Bytes

Versions: 14

Compression:

Stored size: 625 Bytes

Contents

require_relative '../helpers/indented_grid'

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


  footer type: :small do
    menu 'Stuff' do
      item 'About (Footer)' do
        event :click do
          loads :index
        end
      end

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

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

  indented_grid do
    display 'Footers'

    attach :code, file: __FILE__
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 app/demo/components/footers.pom
voom-presenters-0.1.12 app/demo/components/footers.pom
voom-presenters-0.1.11 app/demo/components/footers.pom
voom-presenters-0.1.10 app/demo/components/footers.pom
voom-presenters-0.1.9 app/demo/components/footers.pom
voom-presenters-0.1.8 app/demo/components/footers.pom
voom-presenters-0.1.7 app/demo/components/footers.pom
voom-presenters-0.1.6 app/demo/components/footers.pom
voom-presenters-0.1.5 app/demo/components/footers.pom
voom-presenters-0.1.4 app/demo/components/footers.pom
voom-presenters-0.1.3 app/demo/components/footers.pom
voom-presenters-0.1.2 app/demo/components/footers.pom
voom-presenters-0.1.1 app/demo/components/footers.pom
voom-presenters-0.1.0 app/demo/components/footers.pom