Contact emails
Spec
https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once
Summary
Support add an event listener with option "once" set to true. When set to true, options’s once member indicates that the callback will only be invoked once after which the event listener will be removed.
Motivation
It makes easier to create one time events in JavaScript and useful for web developers to write cleaner, more elegant and error-free code.
Check also
https://www.webreflection.co.uk/blog/2016/04/17/new-dom4-standards#what-is-once-about-
Interoperability risk
None
Firefox: Public support
Safari: Public support
Ongoing technical constraints
None
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes
OWP launch tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=615384
Link to entry on the Chrome Platform Status
https://www.chromestatus.com/features/5630331130478592
Requesting approval to ship?
Yes
BR, Anton
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Interoperability risk
Firefox: Public support
Yes, it is in WebKit main trunk which was partially the inspiration to raise the intent J
☆PhistucK
--
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
☆PhistucK
--
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
☆PhistucK
--
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.