DOM event

An object the browser sends to your code when something happens, such as a click, a key press or a finished download.

In more detail

Events are dispatched to a target and travel through the DOM in phases, calling each registered listener with the event object. The object carries details such as target, type and methods like preventDefault.

Related terms

Taught in

References