diff --git a/docs/latest/api/notification.md b/docs/latest/api/notification.md index 0aae99b..f69800c 100644 --- a/docs/latest/api/notification.md +++ b/docs/latest/api/notification.md @@ -92,6 +92,8 @@ Emitted when the notification is closed by manual intervention from the user. This event is not guaranteed to be emitted in all cases where the notification is closed. +On Windows, the `close` event can be emitted in one of three ways: programmatic dismissal with `notification.close()`, by the user closing the notification, or via system timeout. If a notification is in the Action Center after the initial `close` event is emitted, a call to `notification.close()` will remove the notification from the action center but the `close` event will not be emitted again. + #### Event: 'reply' _macOS_ Returns: @@ -134,6 +136,8 @@ shown notification and create a new one with identical properties. Dismisses the notification. +On Windows, calling `notification.close()` while the notification is visible on screen will dismiss the notification and remove it from the Action Center. If `notification.close()` is called after the notification is no longer visible on screen, calling `notification.close()` will try remove it from the Action Center. + ### Instance Properties #### `notification.title`