detail

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

Syntax

event.detail

Examples

1

2

3

Internal

CustomEvent

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu