Interface: ScrollAxisState
Defined in: layout/viewport/scroll-axis.ts:36
The resolved state — all of it in one object, so there is one path to the resolution and one thing to notify about.
Properties
bindingCount
readonlybindingCount:number
Defined in: layout/viewport/scroll-axis.ts:45
How many bindings this direction currently holds. One Gantt contributes one binding per
direction, so 1 is the ordinary un-shared axis and 2 or more means two charts line up on one
timeline. view/ reads it to keep every pane on a shared axis the same width (issue #440).
max
readonlymax:number
Defined in: layout/viewport/scroll-axis.ts:41
How far panTo may ask: the loosest bound any bound Gantt needs. Not a claim
about any one chart's scroller — each clamps its own.
position
readonlyposition:number
Defined in: layout/viewport/scroll-axis.ts:38
Where the caller asked to be. May exceed max after a shrink — panTo clamps only at write time.