Back to reference

Event

Custom event

declare class Event<T> {
  constructor(name: string, detail: T);
  readonly detail: T;
  readonly type: string;
}

Properties

detailT
Event payload

typestring
Event name

Last Updated: 10/12/2022, 8:08:40 PM