The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
This is a quick one for the core, so I'm adding this in for 2.10.0. Just need to write up the docs for it.
Follows spec: https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute
ACSS syntax:
Equivalent JS Syntax (without including code for additional ACSS features such as event persistence):