W3cubDocs

/Haxe JavaScript

Permissions

package js.html

@:native("Permissions") Available on js

Documentation Permissions by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods

query (permission:Dynamic):Promise<PermissionStatus>

Throws:

null DOMError

revoke (permission:Dynamic):Promise<PermissionStatus>

Throws:

null DOMError

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Permissions.html