DocumentTimeline Class

A timeline whose time is the time of the frames of its document (https://drafts.csswg.org/web-animations-1/#document-timelines): it is updated when the event loop updates the rendering, and stays the same during a task.

public sealed class DocumentTimeline : AnimationTimeline

Remarks

The timeline is inactive (its current time is null) when its document is not fully active or has no browsing context.

See also

Inheritance
AnimationTimeline DocumentTimeline

Constructors

NameDescription
DocumentTimeline(DocumentTimelineOptions?)Creates a timeline of the document of the current global object whose zero time is DocumentTimelineOptions.OriginTime.

DocumentTimeline(DocumentTimelineOptions?)

AnimationTimeline.cs

Creates a timeline of the document of the current global object whose zero time is DocumentTimelineOptions.OriginTime.

public DocumentTimeline(DocumentTimelineOptions? options = null)