CustomEvent
The CustomEvent interface can be used to attach custom data to an event generated by an application.
Properties
Section titled "Properties"detail
Section titled "detail"The read-only detail property of the CustomEvent interface returns any data passed when initializing the event.
detail: T