interface PermissionStatus
implements EventTarget
import { type PermissionStatus } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Properties
onchange: ((this: PermissionStatus, ev: Event) => any) | null
readonly
state: PermissionStateMethods
addEventListener<K extends keyof PermissionStatusEventMap>(): void
type: K,
listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof PermissionStatusEventMap>(): void
type: K,
listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any,
options?: boolean | EventListenerOptions,