Signature
Interface UseTimelineViewportRangeControlResultProperties
| Name | Signature | Description |
|---|---|---|
endValueText | endValueText: string | Formatted visible end time. |
onValueChange | (value: RangeScrollbarValue, details: RangeScrollbarValueChangeDetails): void | Handles controlled range changes by panning or zooming the timeline engine. |
range | range: UseRangeScrollbarResult | Generic range scrollbar state derived from timeline viewport state. |
rootProps | rootProps: TimelineViewportRangeControlRootProps | Props that wire `RangeScrollbar.Root` to timeline scroll and zoom state. |
scrollLeft | scrollLeft: number | Current horizontal timeline scroll offset in pixels. |
startValueText | startValueText: string | Formatted visible start time. |
totalDurationSeconds | totalDurationSeconds: number | Full timeline duration represented by the scrollbar domain, in seconds. |
valueText | valueText: string | Formatted visible range and duration. |
viewDurationSeconds | viewDurationSeconds: number | Visible viewport duration in seconds. |
viewEndSeconds | viewEndSeconds: number | Visible viewport end time in seconds. |
viewportWidth | viewportWidth: number | Measured timeline viewport width in pixels. |
viewStartSeconds | viewStartSeconds: number | Visible viewport start time in seconds. |
zoomScale | zoomScale: number | Current timeline zoom scale in pixels per second. |