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:

