Sha256: 00f63e0595a3d966d9f0397915c27b99e48ad94359f24337f8ef7afc382495b4

Contents?: true

Size: 557 Bytes

Versions: 6

Compression:

Stored size: 557 Bytes

Contents

require_relative '../helpers/indented_grid'

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

  indented_grid do
    display 'Toggles'

    headline 'CHECKBOX'
    checkbox
    checkbox checked: true

    headline 'RADIO BUTTON'
    radio_button checked: true
    radio_button

    headline 'ICON TOGGLE'
    icon_toggle 'format_bold', checked: true 
    icon_toggle 'format_italic'

    headline 'SWITCH'
    switch checked: true
    switch

    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/components/toggles.pom
voom-presenters-0.1.4 app/demo/components/toggles.pom
voom-presenters-0.1.3 app/demo/components/toggles.pom
voom-presenters-0.1.2 app/demo/components/toggles.pom
voom-presenters-0.1.1 app/demo/components/toggles.pom
voom-presenters-0.1.0 app/demo/components/toggles.pom