# Configuration

**Kind**: interface | **Module**: [Notifications](https://docs.interop.io/desktop/reference/javascript/notifications/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/notifications/configuration/index.html

Global notification settings.

## Properties

- **`closeNotificationOnClick`** (`boolean`, optional) *(since io.Connect Desktop 9.6, @interopio/desktop 6.9.0)*
  If `true`, when the user clicks on the body of a notification in the Notification Panel, the notification will be removed from the list.
  Set to `false` if you want users to be able to click on the notification body (e.g., to copy text) without the notification disappearing from the Notification Panel.
- **`enable`** (`boolean`, optional)
  If `true`, will enable all notifications - notification toasts and notifications in the Notification Panel.
- **`enableToasts`** (`boolean`, optional)
  If `true`, will enable notification toasts.
- **`placement`** (`NotificationPlacement`, optional) *(since io.Connect Desktop 9.2, @interopio/desktop 6.2.0)*
  Describes the placement settings for the Notification Panel and the notification toasts.
- **`showNotificationBadge`** (`boolean`, optional) *(since io.Connect Desktop 9.4, @interopio/desktop 6.11.0)*
  If `true`, will enable showing a notification badge on the tray menu icon, in the "Notifications" section of the io.Connect launcher, and on the taskbar icon of the io.Connect launcher (or your shell app).
- **`snooze`** (`{ enabled?: boolean; duration?: number; }`, optional) *(since io.Connect Desktop 9.3, @interopio/desktop 6.11.0)*
  Settings for snoozing notifications.
- **`sourceFilter`** (`IOConnectDesktop.Notifications.NotificationFilter`, optional)
  Filter with names of apps that are allowed or not allowed to raise notifications.
- **`toastExpiry`** (`number`, optional)
  Interval in seconds after which the notification toasts will be hidden.
- **`toasts`** (`{ mode?: "single" | "stacked"; stackBy?: "severity" | "application"; }`, optional)
  Notification toast settings.

## Related types

- [NotificationFilter](https://docs.interop.io/desktop/reference/javascript/notifications/notificationfilter/index.md)
- [NotificationPlacement](https://docs.interop.io/desktop/reference/javascript/notifications/notificationplacement/index.md)
