The message to show.
Optional
options: string | ConfirmDialogOptionsThe dialog's options. If a string, it represents the dialog title.
A promise resolving to a boolean indicating whether Yes
was clicked or not.
Shows a question dialog with Ok
and Cancel
buttons.
The message to show.
Optional
options: string | ConfirmDialogOptionsThe dialog's options. If a string, it represents the dialog title.
A promise resolving to a boolean indicating whether Ok
was clicked or not.
Shows a message dialog with an Ok
button.
The message to show.
Optional
options: string | MessageDialogOptionsThe dialog's options. If a string, it represents the dialog title.
A promise indicating the success or failure of the operation.
Open a file/directory save dialog.
The selected path is added to the filesystem and asset protocol scopes. When security is more important than the easy of use of this API, prefer writing a dedicated command instead.
Note that the scope change is not persisted, so the values are cleared when the application is restarted. You can save it to the filesystem using tauri-plugin-persisted-scope.
Optional
options: SaveDialogOptionsA promise resolving to the selected path.
Shows a question dialog with
Yes
andNo
buttons.