9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function notifyEvent(
   object: Object, 
   name: string, 
   data?: any): void;

Defined in: trace/index.d.ts:90

Notifies all the attached listeners for an event that has occurred in the sender object.

Parameters

ParameterTypeDescription
objectObjectThe Object instance that raised the event.
namestringThe name of the raised event.
data?anyAn optional parameter that passes the data associated with the event.

Returns

void

Previous
isEnabled