The TimeEvent interface, a part of SVG SMIL animation, provides specific contextual information associated with Time events.

Event TimeEvent

Instance properties

TimeEvent.detail Read only

A long that specifies some detail information about the Event, depending on the type of the event. For this event type, indicates the repeat number for the animation.

TimeEvent.view Read only

A WindowProxy that identifies the Window from which the event was generated.

Instance methods


Used to initialize the value of a TimeEvent created through the DocumentEvent interface. This method may only be called before the TimeEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary.