Type alias Target<T, L, O>
Target<T, L, O>: EventTarget & {
addEventListener(type, listener, options?) => void;
removeEventListener(type, listener, options?) => void;
}
Type Parameters
-
-
-
O = boolean | AddEventListenerOptions
Type declaration
-
addEventListener:function
- addEventListener(type, listener, options?): void
-
Parameters
-
type: T
-
listener: L
-
Optional
options: O
Returns void
-
removeEventListener:function
- removeEventListener(type, listener, options?): void
-
Parameters
-
type: T
-
listener: L
-
Optional
options: O
Returns void