3 ms·
> but what happens when something else in your UI cares about it and has to respond to it? HTML event-listeners like on-blur, on-focus, on-click, etc. handle t
by nosrednehnai 7y ago
> but what happens when something else in your UI cares about it and has to respond to it?
HTML event-listeners like on-blur, on-focus, on-click, etc. handle this very nicely. I've found that they're frequently disregarded in component libraries, unfortunately.
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers https://developer.mozilla.org/en-US/docs/Web/API/GlobalEvent...