Dynamic.js demo

I toggle the message's display via a data attribute

I am toggled on!

I toggle the message's display via a data attribute and a selector function

I am toggled on!

I toggle the messages' displays via a data attribute with expression

[First] I am toggled on!

[Second] I am toggled on!

I toggle the message's display via a JSON config

I am toggled on!