Class ViewOrScrollTimeline
java.lang.Object
org.openqa.selenium.devtools.v127.animation.model.ViewOrScrollTimeline
Timeline instance
-
Constructor Summary
ConstructorsConstructorDescriptionViewOrScrollTimeline
(Optional<BackendNodeId> sourceNodeId, Optional<Number> startOffset, Optional<Number> endOffset, Optional<BackendNodeId> subjectNodeId, ScrollOrientation axis) -
Method Summary
Modifier and TypeMethodDescriptiongetAxis()
Orientation of the scrollRepresents the ending scroll position of the timeline as a length offset in pixels from scroll origin.Scroll container nodeRepresents the starting scroll position of the timeline as a length offset in pixels from scroll origin.The element whose principal box's visibility in the scrollport defined the progress of the timeline.
-
Constructor Details
-
ViewOrScrollTimeline
public ViewOrScrollTimeline(Optional<BackendNodeId> sourceNodeId, Optional<Number> startOffset, Optional<Number> endOffset, Optional<BackendNodeId> subjectNodeId, ScrollOrientation axis)
-
-
Method Details
-
getSourceNodeId
Scroll container node -
getStartOffset
Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin. -
getEndOffset
Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin. -
getSubjectNodeId
The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline -
getAxis
Orientation of the scroll
-