class CustomEvent
extends Event
Constructors
new
CustomEvent(typeArg: string, eventInitDict?: CustomEventInit<T>)Properties
readonly
detail: TReturns any custom data event was created with. Typically used for synthetic events.
Returns any custom data event was created with. Typically used for synthetic events.