Sha256: 47d52cd5a0ac9ffd2f5805cc60fc3ade37d78d878e1d17b8162469ad124e8726
Contents?: true
Size: 612 Bytes
Versions: 6
Compression:
Stored size: 612 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 visibility of content on and off on events.', 'Takes the id of the element to toggle.', "Optionally takes :on or :off to force visibility." subheading 'Toggle Visibility' button 'toggle visibility' do event :click do toggle_visibility :toggle_me end end heading 'Sometimes I appear', id: :toggle_me end attach :code, file: __FILE__ end
Version data entries
6 entries across 6 versions & 1 rubygems