MDN self-hosted library · e01.org

TimeEvent: detail property

SVG

no runnable cells web-api-instance-property upstream source

SVG

The TimeEvent.detail read-only property provides contextual information about the event, depending on the event type.

For repeatEvent events, detail contains the current repeat iteration as a non-negative integer. Because the event is not raised for the first iteration, the value will always be 1 or greater.

For beginEvent and endEvent events, detail is always 0.

Value

A long.

Specifications

Browser compatibility

See also

  • TimeEvent