Sha256: ea39fde535d0e08d3fc2154070d47a0d6d7330693457be617f5bda4e2b03076f

Contents?: true

Size: 610 Bytes

Versions: 9

Compression:

Stored size: 610 Bytes

Contents

require_relative '../helpers/indented_grid'

Voom::Presenters.define(:expansion_panels) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :component_drawer
  
  indented_grid do
    display 'Expansion Panels'

    expansion_panel do
      text 'Personal data'
      secondary_text 'Type your name and age'
      content do
        body "The canvas is 'transparent' for screen reader users. HTML content included in the HTML5 canvas sub DOM is announced and navigable by screen reader users and is navigable by keyboard users."
      end
    end
    
    attach :code, file: __FILE__
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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