class names are meant to be a tiny wormhole which connects the worlds of
content (HTML), presentation (CSS), and behavior (JS) - I think this
suggestion begins to widen that rip, and it's inadvisable. It's a question
of taste I guess, just which behaviors are primitive enough to not require
On 2017-09-09 18:41, Alex Vincent wrote:
A few days ago, I dipped my toes into web design again for the first time
in a while. One of the results is the CSSClassToggleHandler constructor
from [1]. Basically, it takes an radio button or checkbox, and turns that
input into a toggle for a CSS