From: Daniel Ruf Date: Fri, 9 Mar 2018 20:26:08 +0000 (+0100) Subject: docs: make clear that data-toggler of toggler supports .classname and classname X-Git-Tag: v6.6.0~28^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c635d98bf6ba2b4cecf549307b3c39b47a8e9f92;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: make clear that data-toggler of toggler supports .classname and classname --- diff --git a/docs/pages/toggler.md b/docs/pages/toggler.md index 86c2e91aa..18b888fc9 100644 --- a/docs/pages/toggler.md +++ b/docs/pages/toggler.md @@ -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.

Watch this part in video