Skip to content

Commit

Permalink
Add missing @ in toggle command example (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
spand committed Jun 15, 2023
1 parent 27b3f29 commit f0ef75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/commands/toggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you provide an `until <event name>` the class or attribute will be toggled un

<div _="on click toggle .toggled on #another-div">Toggle Another Div!</div>

<button _="on click toggle [disabled='true']">Toggle Disabled!</button>
<button _="on click toggle [@disabled='true']">Toggle Disabled!</button>

<div _="on click toggle .toggled for 2s">Toggle for 2 seconds</div>

Expand Down

0 comments on commit f0ef75f

Please sign in to comment.