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.
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. 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.
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. 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-state! this val)
Property.
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. 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`
(state this)
Property.
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. 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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close