Documentation
¶
Overview ¶
Package scroll contains the small, state-free rules shared by Sidecar's scrollable surfaces. Rendering and content ownership stay with each surface; this package only answers movement and boundary questions in rows from the top, where negative deltas move up and positive deltas move down.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bounds ¶
Bounds describes a vertical viewport position and its inclusive maximum.
func (Bounds) AtBoundary ¶
AtBoundary reports whether delta points out of the scrollable range.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package scrolltest provides the shared inertial-wheel stress fixture used by boundary tests across sidecar.
|
Package scrolltest provides the shared inertial-wheel stress fixture used by boundary tests across sidecar. |