zng::scroll

Function smooth_scrolling

source
pub fn smooth_scrolling(
    child: impl UiNode,
    config: impl IntoVar<SmoothScrolling>,
) -> impl UiNode
Expand description

P Smooth scrolling config.

Defines the easing animation applied to scroll offset and zoom value changes.

This property sets the SMOOTH_SCROLLING_VAR.