Sha256: 66c39996534d6aa2f24148350b44548ec5dc7f9eed44ffe1eb54fe42129090ed
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
Voom::Presenters.define(:toggle_visibility_action) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do heading 'Toggle Visibility' body 'Allows you to toggle visiblity of content on and off on events.', 'Takes the id of the element to toggle.', "Optionally takes :on or :off to force visiblity." subheading 'Toggle Visibility' button 'toggle visiblity' do event :click do toggle_visiblity :toggle_me end end heading 'Sometimes I appear', id: :toggle_me end attach :code, file: __FILE__ end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
voom-presenters-0.1.7 | app/demo/events/actions/toggle_visiblity.pom |
voom-presenters-0.1.6 | app/demo/events/actions/toggle_visiblity.pom |