toggled.js
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 wishlist