detail property

Specifies additional information about an event.

Document Object Model (DOM) Level 3 Events Specification, Section 4.2Internet Explorer 9

 

Syntax

JavaScript

p = object.detail

 

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

CustomEvent

 

 

Show:
© 2014 Microsoft