zng_wgt_toggle

Function tristate

source
pub fn tristate(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl UiNode
Expand description

P Enables None as an input value.

Note that None is always accepted in checked_opt, this property controls if None is one of the values in the toggle cycle. If the widget is bound to the checked property this config is ignored.

This is not enabled by default.