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 : AnimationTimelineRemarks
The timeline is inactive (its current time is null) when its document is not fully active or has no browsing context.
See also
- Inheritance
AnimationTimelineDocumentTimeline
Constructors
| Name | Description |
|---|---|
| DocumentTimeline(DocumentTimelineOptions?) | Creates a timeline of the document of the current global object whose zero time is DocumentTimelineOptions.OriginTime. |
DocumentTimeline(DocumentTimelineOptions?)
AnimationTimeline.csCreates a timeline of the document of the current global object whose zero time is DocumentTimelineOptions.OriginTime.
public DocumentTimeline(DocumentTimelineOptions? options = null)