Function zng_wgt_scroll::mouse_pan
source ยท pub fn mouse_pan(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl UiNode
Expand description
P
Scroll by grabbing and dragging the content with the mouse primary button.
This is not enabled by default. Note that couch pan is always enabled, this property implements a similar behavior for the mouse pointer.