EventTarget.addEventListener()
The modern standard API for adding DOM event handlers. Introduced in the DOM Level 2 Events spec. Also implies support for `removeEventListener`, the [capture phase](https://dom.spec.whatwg.org/#dom-event-capturing_phase) of DOM event dispatch, as well as the `stopPropagation()` and `preventDefault()` event methods.
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility)
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.capture` parameter
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.once` parameter
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.passive` parameter
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.passive` parameter defaults to `true` for `touchstart` and `touchmove` events
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.passive` parameter defaults to `true` for `wheel` and `mousewheel` events
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.signal` parameter
eventtarget api: addeventlistener: `usecapture` parameter is optional
9 results found.