PermissionStatus
EventTarget → js.html.PermissionStatus (extern class)
The PermissionStatus interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
Documentation PermissionStatus by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
state: PermissionStateReturns the state of a requested permission; one of 'granted', 'denied', or 'prompt'.
onchange: haxe.FunctionAn event called whenever PermissionStatus.status changes.