pub fn on_save_as(
child: impl IntoUiNode,
handler: Handler<CommandArgs>,
) -> UiNodeExpand description
P On save-as command.
Receives SAVE_AS_CMD command events scoped on the widget. Usually prompts the user for
a new save path.
You can use WINDOWS.native_file_dialog to prompt the user for a file or folder path.
§Preview
You can preview this command event using on_pre_save_as.
Otherwise the handler is only called after the widget content has a chance to stop propagation.
§Async
You can use async event handlers with this property.
§Enabled
You can use the can_save_as context property to disable the command handle.
When disabled the handler is not called and the command handle signals as disabled.