zng_wgt_scroll::node

Function zoom_commands_node

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

Create a node that implements ZOOM_IN_CMD, ZOOM_OUT_CMD, ZOOM_TO_FIT_CMD, and ZOOM_RESET_CMD scoped on the widget.