Skip to content

API reference / Common / ScrollMode

Type Alias: ScrollMode ​

ts
type ScrollMode = "spread" | "continuous";

How the camera scrolls the document plane. Orthogonal to the plane's arrangement (the stack and its spreads — the layout's job): both modes glide over the same arranged plane, so switching never relayouts.

Crosses the host boundary by name ("spread" / "continuous"), so the camera and the host share one vocabulary for it.