Permissions API
Last updated
Last updated
Permissions API allows web apps to query for the permission status or request the permission for the features that might require user consent such as camera, geolocation, microphone, or notifications.
You can refer to the code present in /partials/web-apis/permissions.html
file and use it accordingly.