Liking cljdoc? Tell your friends :D
ClojureScript only.

web.Permissions

The Permissions interface of the Permissions API provides the Permission API functionality, such as methods for querying and permissions

The Permissions interface of the Permissions API provides the
Permission API functionality, such as methods for querying and
permissions
raw docstring

querycljs

(query this permission-descriptor)

Method.

The Permissions.query() method of the web.Permissions interface the state of a user permission on the global scope.

navigator.permissions.query(PermissionDescriptor).then(function(permissionStatus) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query

Method.

The Permissions.query() method of the `web.Permissions` interface
the state of a user permission on the global scope.

`navigator.permissions.query(PermissionDescriptor).then(function(permissionStatus) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query`
sourceraw docstring

revokecljs

(revoke this & args)

Method.

The Permissions.revoke() method of the web.Permissions interface a currently set permission back to its default state, which is prompt.

This method is called on the globalweb.Permissionsobjectweb.navigator.permissions`.

var revokePromise = navigator.permissions.revoke(descriptor);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke

Method.

The Permissions.revoke() method of the `web.Permissions` interface
a currently set permission back to its default state, which is
prompt.

`This method is called on the global `web.Permissions` object `web.navigator.permissions`.



var revokePromise = navigator.permissions.revoke(descriptor);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close