From: Daniel Ruf Date: Sat, 16 Jun 2018 07:27:55 +0000 (+0200) Subject: Use pull request #11031 from DanielRuf/docs/toggler-data-toggler-classname-notation... X-Git-Tag: v6.5.0-rc.1^2~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbfe9e443649915878b547c89ded48d2b39b5bb6;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Use pull request #11031 from DanielRuf/docs/toggler-data-toggler-classname-notation-11013 for v6.5.0 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 --- diff --git a/docs/pages/toggler.md b/docs/pages/toggler.md index 86c2e91aa..44740dc2b 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 (like `.classname` and `classname`). Also give the element a unique ID so it can be targeted.

Watch this part in video