zng_wgt_scroll::node

Function scroll_commands_node

source
pub fn scroll_commands_node(child: impl UiNode) -> impl UiNode
Expand description

Create a node that implements SCROLL_UP_CMD, SCROLL_DOWN_CMD, SCROLL_LEFT_CMD and SCROLL_RIGHT_CMD scoped on the widget.