zng_wgt_scroll::node

Function scroll_to_edge_commands_node

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

Create a node that implements SCROLL_TO_TOP_CMD, SCROLL_TO_BOTTOM_CMD, SCROLL_TO_LEFTMOST_CMD and SCROLL_TO_RIGHTMOST_CMD scoped on the widget.