Closed dy closed 3 years ago
To make fully behavioral $, it needs pseudos support. https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
$('#submit:active', el => { // submit button clicked })
It's not enough to observe attributes, that's something handled by... animevents?
There's no way from JS to get handle of all possible pseudos, like before/after.
To make fully behavioral $, it needs pseudos support. https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
It's not enough to observe attributes, that's something handled by... animevents?