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