Liking cljdoc? Tell your friends :D

web.permissions.PermissionStatus

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.
raw docstring

onchangecljs

(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`
sourceraw docstring

set-onchange!cljs

(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`
sourceraw docstring

set-status!cljs

(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.
sourceraw docstring

statecljs

(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`
sourceraw docstring

statuscljs

(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.
sourceraw docstring

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

× close