]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update toggler.md 8218/head
authorJT Borger <jan@pinna.nl>
Tue, 23 Feb 2016 10:49:15 +0000 (11:49 +0100)
committerJT Borger <jan@pinna.nl>
Tue, 23 Feb 2016 10:49:15 +0000 (11:49 +0100)
Was inaccurate with the code example and the actual code.

docs/pages/toggler.md

index a949482a42df5533f41c0a7d0b5f0cff24f9ec18..5aefcebd6e3dcb332276193932a85e0e104eabac 100644 (file)
@@ -39,7 +39,7 @@ Then, add `data-toggle` to any element, with the ID of the target as the value o
 
 Instead of toggling a class, you can also toggle visibility. When toggled, the element comes into or out of view using a Motion UI class.
 
-Instead of `data-toggler`, add the attribute `data-toggler-animate`. The value of the attribute is the *in animation* you want, followed by the *out animation*.
+Instead of `data-toggler`, add the attribute `data-animate`. The value of the attribute is the *in animation* you want, followed by the *out animation*.
 
 ```html_example
 <p><a data-toggle="panel">Toggle Panel</a></p>