Sha256: ed6e8ac9563572824852e6d4cbefcedf05a7c9299da4b45563a7329c1940995b

Contents?: true

Size: 636 Bytes

Versions: 7

Compression:

Stored size: 636 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
    headline 'Footers', level: 3

    attach :code, file: __FILE__
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 app/demo/components/footers.pom
voom-presenters-2.1.0 app/demo/components/footers.pom
voom-presenters-2.0.3 app/demo/components/footers.pom
voom-presenters-2.0.2 app/demo/components/footers.pom
voom-presenters-2.0.1 app/demo/components/footers.pom
voom-presenters-2.0.0 app/demo/components/footers.pom
voom-presenters-0.2.0 app/demo/components/footers.pom