Skip to content

Commit

Permalink
Merge pull request #11031 from DanielRuf/docs/toggler-data-toggler-cl…
Browse files Browse the repository at this point in the history
…assname-notation-11013

docs: make clear that data-toggler of toggler supports .classname and…
  • Loading branch information
ncoden authored Mar 11, 2018
2 parents b980e87 + b8feea6 commit d4ad21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/toggler.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d4ad21d

Please sign in to comment.