To ensure notifications are passed into the Action Center, you can avoid explicitly calling the close() method on the notification object. On-screen notifications that are not clicked or not closed immediately by the user will be minimized to the Windows Action Center, where they are grouped under the “Microsoft Edge” heading in chronological order.
When the user clicks on an on-screen notification, Microsoft Edge brings the corresponding window and tab into focus, and the webpage will receive the corresponding click event and can update accordingly. If an icon is not provided, Microsoft Edge will apply a default icon. For example, a profile photo can help users quickly identify the source or the sender of the notification message. The icon should provide value to the specific notification. We strongly recommend that web developers should include an icon in each notification. Microsoft Edge calls the Windows Notification Platform API to pass the notification from the webpage to the Notification Platform, which will in turn render and manage notifications in a consistent way across all Windows apps. Notifications can only be displayed if the user has granted permission to the specific domain sending the notification. Microsoft Edge also supports the event model as defined by the W3C spec, including all the show, click, close, and error events. Each notification is associated with a title, a notification body, a language setting, a text rendering direction attribute, a tag attribute, an icon URL, and the webpage origin. The implementation in Microsoft Edge is based on the W3C Web Notifications specification, now supported broadly across modern desktop browsers. Sites are already beginning to support Web Notifications today, and we look forward to seeing this API become more popular. Web Notifications in Microsoft Edge are fully integrated with the notification platform and Action Center in Windows 10, providing a consistent experience with other apps across the system and easy controls over permissions and Quiet Hours. Web Notifications allow sites to display notifications to alert users outside the context of the webpage and the browser, keeping users informed of new messages or alerts and allowing sites to improve user engagement.
This feature will be available to all Microsoft Edge customers in EdgeHTML 14, coming this summer with the Windows 10 Anniversary Update. Starting with the most recent Windows Insider Preview release ( build 14.14342), Web Notifications are enabled by default in Microsoft Edge on Windows 10 PCs and tablets.