一度のみ

AddEventListenerOptions 辞書 once メンバー (DOM)

[3] 辞書 AddEventListenerOptionsメンバー once は、イベントリスナーが一度だけ実行されるべきかどうかを boolean >>2 で表します。 イベントリスナー一度のみの値として使われます。

[4] 明示されなかった場合の既定値は、です。

仕様書

処理

[5] 発送を参照。

歴史

[1] Enable an event listener to be invoked just once · whatwg/dom@e002d78 ( 版) <https://github.com/whatwg/dom/commit/e002d7811533e276c9927b237748c4e170f4cb10>

[6] Address reentrancy issue with "once" listeners (annevk著, ) <https://github.com/whatwg/dom/commit/5324200d70eb23276cb58b814416e19c436104f2>

[7] Once Upon an Event Listener  |  Web  |  Google Developers () <https://developers.google.com/web/updates/2016/10/addeventlistener-once>