An object which allows the addition and removal of listeners for a browser event.
Values of this type are objects.
- Registers an event listener callback to an event.
- Deregisters an event listener callback from an event.
- Tests registration status of a listener.
- Tests whether any listeners are registered to the event.
- Registers rules to handle events.
- Returns currently registered rules.
- Unregisters currently registered rules.
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.