CustomEvent - Web documentation
interface CustomEvent
extends Event

Type Parameters

T = any

Properties

readonly
detail: T

Returns any custom data event was created with. Typically used for synthetic events.