message
message(
message
,options?
):Promise
<void
>
Defined in: index.ts:222
Shows a message dialog with an Ok
button.
string
The message to show.
The dialog’s options. If a string, it represents the dialog title.
string
| MessageDialogOptions
Promise
<void
>
A promise indicating the success or failure of the operation.
import { message } from '@tauri-apps/plugin-dialog';await message('Tauri is awesome', 'Tauri');await message('File not found', { title: 'Tauri', kind: 'error' });
2.0.0
© 2025 Tauri Contributors. CC-BY / MIT