addEventListener/removeEventListener EventListenerOptions API
Add an additional API to addEventListener/removeEventListener which takes EventListenerOptions dictionary. void [add|remove]EventListener(DOMString type, EventListener listener, EventListenerOptions options); Currently other platforms (Gecko) add additional booleans to the argument list to modify the behavior of the added event listeners. We'd like to turn this into a dictionary (EventListenerOptions) so that is a more flexible API for future work.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 49
- Chrome for Android release 49
Consensus & Standardization
Last updated on 2017-08-11