Dynamic.js demo
I toggle the message's display via a data attribute
On
Off
I am toggled on!
I toggle the message's display via a data attribute and a selector function
On
Off
I am toggled on!
I toggle the messages' displays via a data attribute with expression
First
Second
Toggle
[First] I am toggled on!
[Second] I am toggled on!
I toggle the message's display via a JSON config
On
Off
I am toggled on!