asmsuechan/jquery_push_notification

FR: requireInteraction not supported

neckarpixel opened this issue · 1 comments

Hey,
it would nice to enable requireInteraction, so that the notification will be displayed until user click on it.

Hi, @Dhe. Sorry for the late reply. You can set an option for requireInteraction.

$.notify("set requireInteraction option", { requireInteraction: true })

https://developer.mozilla.org/en-US/docs/Web/API/notification/requireInteraction