on_access_scroll

Function on_access_scroll 

Source
pub fn on_access_scroll(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&AccessScrollArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Access requested a scroll command.

Note that the scroll widget already handles this event.

§Preview

You can preview this event using on_pre_access_scroll. Otherwise the handler is only called after the widget content has a chance to stop propagation.

§Async

You can use async event handlers with this property.