$1+ a month

toggled.js

0 ratings
Subscribe

toggled.js

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.

$
Subscribe
Copy product URL