Notification.requireInteraction

The requireInteraction read-only property of the Notification interface returns a Boolean indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.

Note: This can be set when the notification is first created by setting the requireInteraction option to true in the options object of the Notification.Notification() constructor.