ScrollPosition
ScrollPosition
- offset_x : f32
- offset_y : f32
Description
The scroll position of the node.
Updating the values of
ScrollPosition
will reposition the children of the node by the offset amount.ScrollPosition
may be updated by the layout system when a layout change makes a previously validScrollPosition
invalid. Changing this does nothing on aNode
without setting at least oneOverflowAxis
toOverflowAxis::Scroll
.