The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
detail property
Specifies additional information about an event.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Object
A user-defined object, or null.
Standards information
Remarks
After a custom event object is created, the initCustomEvent method sets the detail property. The content of detail is user-defined. It can be an integer, date, array, or other object type.
See also
Show:

