class Deno.PermissionStatus
extends EventTarget
import { Deno } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";
const { PermissionStatus } = Deno;
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,
removeEventListener(): void