Methods
addEventListener
- addEventListener<K>(type, handler, options?): void
Type Parameters
K extends keyof HTMLElementEventMap
Parameters
type: K
Optional
options: boolean | AddEventListenerOptions
Returns void
removeEventListener
- removeEventListener<K>(type, listener, options?): void
Type Parameters
K extends keyof HTMLElementEventMap
Parameters
type: K
Optional
options: boolean | EventListenerOptions
Returns void
A DOM event target.