pub extern "C" fn scroll_physics_timer_callback(
data: RefAny,
timer_info: TimerCallbackInfo,
) -> TimerCallbackReturnExpand description
The scroll physics timer callback.
This is a normal timer callback registered with SCROLL_MOMENTUM_TIMER_ID.
It consumes pending scroll inputs, applies physics, and pushes ScrollTo changes.
Uses the ScrollPhysics configuration from SystemStyle for friction,
velocity thresholds, wheel multiplier, and rubber-banding parameters.
Per-node OverflowScrolling and OverscrollBehavior CSS properties are
respected to decide whether each node gets rubber-banding.
ยงC API
This function has extern "C" ABI so it can be used as a TimerCallbackType.