]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #11031 from DanielRuf/docs/toggler-data-toggler-classname-notation...
authorDaniel Ruf <daniel@daniel-ruf.de>
Sat, 16 Jun 2018 07:27:55 +0000 (09:27 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:27:55 +0000 (09:27 +0200)
c635d98bf docs: make clear that data-toggler of toggler supports .classname and classname
b8feea6cf docs: improve wording in toggler docs

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
docs/pages/toggler.md

index 86c2e91aa5bc9248296ee0d5880f725fd2d3001e..44740dc2b4d661bd6f1c0e70de64391890883799 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 (like `.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>