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