Interface

TimelineRulerGeometryOptions

Viewport and density options for building shared headless timeline ruler ticks.

Signature

Type Definition
Interface TimelineRulerGeometryOptions

Properties

NameSignatureDescription
duration?duration?: RationalTimeOptional explicit timeline duration used to clamp ticks.
includeLabels?includeLabels?: booleanWhether major ticks should include formatted labels. Defaults to true.
minimumMajorTickSpacing?minimumMajorTickSpacing?: numberMinimum distance between major ruler ticks in CSS pixels. Cannot reduce format-safe defaults.
scrollLeftscrollLeft: numberCurrent horizontal timeline scroll offset in pixels.
viewportWidthviewportWidth: numberTimeline viewport width in CSS pixels.
zoomScalezoomScale: numberCurrent zoom scale in pixels per second.