Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Releases: mykabam/requestNotificationPermission

Release v1.0.0

26 Nov 18:00

Choose a tag to compare

How to use

To use this directive you have to put request-notification-permission directive on your body element of your layout page.

<body request-notification-permission>
...
</body>

Notes on request permission

On Google Chrome

On Google Chrome the request permission dialog will appear after click user gesture on some part of the page, specifically on the body element.
request-notification-permission

On Firefox

On Firefox the request permission dialog will appear after mouseover user gesture on some part of the page, specifically on the body element.