Function zng_wgt_scroll::horizontal_offset
source ยท pub fn horizontal_offset(
child: impl UiNode,
offset: impl IntoVar<Factor>,
) -> impl UiNode
Expand description
P
Binds the horizontal_offset
scroll var to the property value.
The binding is bidirectional and the scroll variable is assigned on init.
Note that settings the offset directly overrides effects like smooth scrolling, prefer using the scroll commands to scroll over this property.