@tauri-apps/plugin-notification - v2.3.3
    Preparing search index...

    Function registerActionTypes

    • Register actions that are performed when the user clicks on the notification.

      Parameters

      Returns Promise<void>

      A promise indicating the success or failure of the operation.

      import { registerActionTypes } from '@tauri-apps/plugin-notification';
      await registerActionTypes([{
      id: 'tauri',
      actions: [{
      id: 'my-action',
      title: 'Settings'
      }]
      }])

      2.0.0