]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: make clear that data-toggler of toggler supports .classname and classname
authorDaniel Ruf <daniel@daniel-ruf.de>
Fri, 9 Mar 2018 20:26:08 +0000 (21:26 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Fri, 9 Mar 2018 20:26:08 +0000 (21:26 +0100)
docs/pages/toggler.md

index 86c2e91aa5bc9248296ee0d5880f725fd2d3001e..18b888fc9f849f3a89e28437f448178976bd130a 100644 (file)
@@ -8,7 +8,7 @@ video: 'wHpZCrpKlBc'
 
 ## Toggle a CSS class
 
-To setup a class toggle, start by adding the attribute `data-toggler` to an element. The value of `data-toggler` is the class you want to toggle. Also give the element a unique ID so it can be targeted.
+To setup a class toggle, start by adding the attribute `data-toggler` to an element. The value of `data-toggler` is the class you want to toggle (supports `.classname` and `classname`). Also give the element a unique ID so it can be targeted.
 
 <p>
   <a class="" data-open-video="0:53"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>