The PermissionStatus interface of the Permissions API provides state of an object and an event handler for monitoring changes said state.
The PermissionStatus interface of the Permissions API provides state of an object and an event handler for monitoring changes said state.
(onchange this)
Property.
[Experimental]
The onchange event handler of the web.permissions.PermissionStatus
is called whenever the PermissionStatus.state
property changes.
PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange
Property. [Experimental] The onchange event handler of the `web.permissions.PermissionStatus` is called whenever the `PermissionStatus.state` property changes. `PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange`
(set-onchange! this val)
Property.
[Experimental]
The onchange event handler of the web.permissions.PermissionStatus
is called whenever the PermissionStatus.state
property changes.
PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange
Property. [Experimental] The onchange event handler of the `web.permissions.PermissionStatus` is called whenever the `PermissionStatus.state` property changes. `PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange`
(set-status! this val)
Property.
Returns the state of a requested permission; one of 'granted', or 'prompt'. Later versions of the specification replace this PermissionStatus.state.
Property. Returns the state of a requested permission; one of 'granted', or 'prompt'. Later versions of the specification replace this PermissionStatus.state.
(state this)
Property.
[Read Only] [Experimental]
The state read-only property of the web.permissions.PermissionStatus
returns the state of a requested permission. This property returns
of 'granted', 'denied', or 'prompt'.
var permission = PermissionStatus.state;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state
Property. [Read Only] [Experimental] The state read-only property of the `web.permissions.PermissionStatus` returns the state of a requested permission. This property returns of 'granted', 'denied', or 'prompt'. `var permission = PermissionStatus.state;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state`
(status this)
Property.
Returns the state of a requested permission; one of 'granted', or 'prompt'. Later versions of the specification replace this PermissionStatus.state.
Property. Returns the state of a requested permission; one of 'granted', or 'prompt'. Later versions of the specification replace this PermissionStatus.state.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close