TimeEvent Class

The event fired at the animation elements when their interval begins (beginEvent), ends (endEvent) or repeats (repeatEvent) (https://svgwg.org/specs/animations/#InterfaceTimeEvent).

public sealed class TimeEvent : Event
Inheritance
Event TimeEvent

Properties

NameDescription
DetailGets the iteration of the element for a repeatEvent event, 0 for the other events.
ViewGets the window of the document of the element, or null.

Gets the iteration of the element for a repeatEvent event, 0 for the other events.

public int Detail { get; }

Gets the window of the document of the element, or null.

public EventTarget? View { get; }

Methods

NameDescription
InitTimeEvent(string, EventTarget?, int)https://svgwg.org/specs/animations/#__svg__TimeEvent__initTimeEvent

InitTimeEvent(string, EventTarget?, int)

TimeEvent.cs

https://svgwg.org/specs/animations/#__svg__TimeEvent__initTimeEvent

public void InitTimeEvent(string typeArg, EventTarget? viewArg = null, int detailArg = 0)