Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.WindowOrWorkerGlobalScope
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { WindowOrWorkerGlobalScope } = dom;

Properties

readonly
caches: CacheStorage
readonly
crypto: Crypto
readonly
indexedDB: IDBFactory
readonly
origin: string
readonly
performance: Performance

Methods

atob(data: string): string
btoa(data: string): string
clearInterval(handle?: number): void
clearTimeout(handle?: number): void
createImageBitmap(image: ImageBitmapSource): Promise<ImageBitmap>
createImageBitmap(
sx: number,
sy: number,
sw: number,
sh: number,
): Promise<ImageBitmap>
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>
queueMicrotask(callback: VoidFunction): void
setInterval(
handler: TimerHandler,
timeout?: number,
...args: any[],
): number
setTimeout(
handler: TimerHandler,
timeout?: number,
...args: any[],
): number