Function zng::mouse::click_mode

source ยท
pub fn click_mode(
    child: impl UiNode,
    mode: impl IntoVar<Option<ClickMode>>,
) -> impl UiNode
Expand description

P Defines how click events are generated for the widget.

Setting this to None will cause the widget to inherit the parent mode, or ClickMode::default if no parent sets the click mode.