Interface _DOMEventTarget
Methods
addEventListener
- addEventListener(eventName: string, listener: ((...args: any[]) => void), opts?: {
once: boolean;
}): any
-
Parameters
-
eventName: string
-
listener: ((...args: any[]) => void)
-
- (...args: any[]): void
-
Returns void
-
Optional
opts: {
once: boolean;
}
Returns any
Any EventTarget with a DOM-style
addEventListener