pub fn cmd_param<T: VarValue>(
child: impl IntoUiNode,
cmd_param: impl IntoVar<T>,
) -> UiNodeExpand 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.