Sha256: c10cc80e78d082a5caa5d1d191e1229bc52d45bc51084ce6a5fe0f001fa75108

Contents?: true

Size: 576 Bytes

Versions: 6

Compression:

Stored size: 576 Bytes

Contents

require_relative 'helpers/indented_grid'

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

  indented_grid do
    headline 'Presenters', id: :headline
    subheading 'Presenters are to HTML what C is to assembly'
    body ['A presenter describes a user interface. It is evaluated and a presenter object model (POM) is returned.',
          'A client that renders POM can display the given user interface.']

    subheading 'For example this is the presentation for this page:', level: 2

    attach 'code', file: __FILE__
  end


end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.5 app/demo/index.pom
voom-presenters-0.1.4 app/demo/index.pom
voom-presenters-0.1.3 app/demo/index.pom
voom-presenters-0.1.2 app/demo/index.pom
voom-presenters-0.1.1 app/demo/index.pom
voom-presenters-0.1.0 app/demo/index.pom