Web platform features explorer

Events

Widely available since 2018-01-29
Tags: api

The Event API and the addEventListener() method on objects that receive events (event targets) represent and handle significant things happening on a page. Many APIs fire events for a wide range of situations relating to those APIs, such as an image loading, a user clicking, or a value changing.

Learning resources on MDN

Browser support