Skip to main content
Module

x/netzo/deno.d.ts>Deno.PermissionStatus

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
class Deno.PermissionStatus
extends EventTarget
import { Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { PermissionStatus } = Deno;

Properties

onchange: ((this: PermissionStatus, ev: Event) => any) | null
readonly
state: PermissionState

Methods

addEventListener<K extends keyof PermissionStatusEventMap>(
type: K,
listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof PermissionStatusEventMap>(
type: K,
listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void