ScrollTimeline
open class ScrollTimeline(options: ScrollTimelineOptions = definedExternally) : AnimationTimeline(source)
The ScrollTimeline interface of the Web Animations API represents a scroll progress timeline (see CSS scroll-driven animations for more details).
Inheritors
Properties
Link copied to clipboard
The axis read-only property of the ScrollTimeline interface returns an enumerated value representing the scroll axis that is driving the progress of the timeline.
Link copied to clipboard
The currentTime read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.
Link copied to clipboard
The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.