@tauri-apps/plugin-dialog - v2.3.1
    Preparing search index...

    Function message

    • Shows a message dialog with an Ok button.

      Parameters

      • message: string

        The message to show.

      • Optionaloptions: string | MessageDialogOptions

        The dialog's options. If a string, it represents the dialog title.

      Returns 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