Profile PictureCraig Buckler
$1+ a month

toggled.js

0 ratings
Add to cart

toggled.js

Craig Buckler
0 ratings

toggled.js makes any HTML element into a clickable toggle switch, e.g.

<button data-toggled="toggle-a">CLICK ME</button>

The state is retained between page loads and, when enabled, the class named in the data-toggled attribute is added to the <body>.

See:

Please donate to support development, receive priority support, and suggest new features.

$
Add to cart
Powered by