viewportStartBound constant

PositionUnit const viewportStartBound

A position unit representing where the viewport starts in content coordinates.

This is equal to the scroll offset - it represents the position where the visible viewport begins relative to the total content. For example, if scrolled 100px down, the viewport start bound is 100.

Implementation

static const PositionUnit viewportStartBound = PositionScroll();