AthenaShared.utility.flags.Internal.PermissionStatus ​
shared/utility/flags.Internal.PermissionStatus
Hierarchy ​
↳
PermissionStatus
Properties ​
onchange ​
• onchange: (this
: PermissionStatus
, ev
: Event
) => any
Type declaration ​
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.(this
, ev
): any
Parameters ​
Name | Type |
---|---|
this | PermissionStatus |
ev | Event |
Returns ​
any
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10523
state ​
• Readonly
state: PermissionState
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10524
Methods ​
addEventListener ​
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.addEventListener<K
>(type
, listener
, options?
): void
Type parameters ​
Name | Type |
---|---|
K | extends "change" |
Parameters ​
Name | Type |
---|---|
type | K |
listener | (this : PermissionStatus , ev : PermissionStatusEventMap [K ]) => any |
options? | boolean | AddEventListenerOptions |
Returns ​
void
Overrides ​
EventTarget.addEventListener
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10525
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.addEventListener(type
, listener
, options?
): void
Parameters ​
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | AddEventListenerOptions |
Returns ​
void
Overrides ​
EventTarget.addEventListener
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10526
dispatchEvent ​
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.dispatchEvent(event
): boolean
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Parameters ​
Name | Type |
---|---|
event | Event |
Returns ​
boolean
Inherited from ​
EventTarget.dispatchEvent
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:5033
removeEventListener ​
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.removeEventListener<K
>(type
, listener
, options?
): void
Type parameters ​
Name | Type |
---|---|
K | extends "change" |
Parameters ​
Name | Type |
---|---|
type | K |
listener | (this : PermissionStatus , ev : PermissionStatusEventMap [K ]) => any |
options? | boolean | EventListenerOptions |
Returns ​
void
Overrides ​
EventTarget.removeEventListener
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10527
Usage
AthenaShared.utility.flags.Internal.PermissionStatus.removeEventListener(type
, listener
, options?
): void
Parameters ​
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | EventListenerOptions |
Returns ​
void
Overrides ​
EventTarget.removeEventListener
Defined in ​
../../node_modules/typescript/lib/lib.dom.d.ts:10528