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: 11/24/2022, 2:06:12 AM