TimeEvent

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

Properties

TimeEvent.detail Read only

Is 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

Is a WindowProxy that identifies the Window from which the event was generated.

Methods

initTimeEvent(DOMString typeArg, AbstractView viewArg, long detailArg)

The initTimeEvent method is 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.

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent