Firefox Tomorrow

web api instance property

TimeEvent: detail property

View on MDN ↗

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also