Skip to content
On this page

AthenaShared.utility.flags.Internal.PermissionStatus

shared/utility/flags.Internal.PermissionStatus

Hierarchy

Properties

onchange

onchange: (this: PermissionStatus, ev: Event) => any

Type declaration

Usage

AthenaShared.utility.flags.Internal.PermissionStatus.(this, ev): any

Parameters
NameType
thisPermissionStatus
evEvent
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

NameType
Kextends "change"

Parameters

NameType
typeK
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

NameType
typestring
listenerEventListenerOrEventListenerObject
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

NameType
eventEvent

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

NameType
Kextends "change"

Parameters

NameType
typeK
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

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Defined in

../../node_modules/typescript/lib/lib.dom.d.ts:10528

Created by Stuyk | Est. 2020