Appearance
Function: addEventListener()
ts
function addEventListener(...args): any;Parameters
| Parameter | Type |
|---|---|
...args | any[] |
Returns
any
Deprecated
Use on() instead. on() returns an Unsubscribe function. Named to match the V3 export name; index.ts re-exports this instead of the raw emitter version, ensuring the deprecation guard fires.