app/demo/events/actions/toggle_visiblity.pom in voom-presenters-0.1.7 vs app/demo/events/actions/toggle_visiblity.pom in voom-presenters-0.1.8
- old
+ new
@@ -3,17 +3,17 @@
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.',
+ 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 visiblity."
+ "Optionally takes :on or :off to force visibility."
subheading 'Toggle Visibility'
- button 'toggle visiblity' do
+ button 'toggle visibility' do
event :click do
- toggle_visiblity :toggle_me
+ toggle_visibility :toggle_me
end
end
heading 'Sometimes I appear', id: :toggle_me
end
attach :code, file: __FILE__