EventTarget
https://dom.spec.whatwg.org/#interface-eventtarget
以下により拡張
MediaKeySessionSourceBufferMediaSourceInterfaceTextTrackCueAudioTrackListVideoTrackListTextTrackList
メソッド
addEventListener()
addEventListener(
type,listener,options?):void
イベントリスナーを追加します。
パラメーター
type
string
リッスンするイベント。
listener
イベントハンドラー関数。
options?
無視されます。
boolean |
AddEventListenerOptions |
戻り値
void
dispatchEvent()?
optionaldispatchEvent(event):boolean
ターゲットにイベントをディスパッチします
パラメーター
イベント
発生を知らせるイベント。
戻り値
boolean
TODO
実装に追加して定義します。現時点ではオプションのままにしておきます。
removeEventListener()
removeEventListener(
type,listener,options?):void
イベントリスナーを削除します。
パラメーター
type
string
リッスンするイベント。
listener
削除するイベントハンドラー関数。
options?
無視されます。
boolean |
EventListenerOptions |
戻り値
void
Last updated: 2025年10月2日

