cmd_param

Function cmd_param 

Source
pub fn cmd_param<T: VarValue>(
    child: impl IntoUiNode,
    cmd_param: impl IntoVar<T>,
) -> UiNode
Expand description

P Optional command parameter for the button to use when notifying cmd.

If T is Option<CommandParam> the param can be dynamically unset, otherwise the value is the param.