Konubinix' opinionated web of thoughts

Javascript Onevent

Fleeting

JavaScript objects that fire events have a corresponding “onevent” properties (named by prefixing “on” to the name of the event). These properties are called to run associated handler code when the event is fired, and may also be called directly by your own code.

https://developer.mozilla.org/en-US/docs/Web/Events/Event_handlers