Function zng_wgt_scroll::auto_scroll

source ยท
pub fn auto_scroll(
    child: impl UiNode,
    enabled: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P Enables or disables auto scroll on mouse middle click.

This is enabled by default, when enabled on middle click the auto_scroll_indicator is generated and the content auto scrolls depending on the direction the mouse pointer moves away from the indicator.

This property sets the AUTO_SCROLL_VAR.