Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>WindowOrWorkerGlobalScope

Advanced Web Composition for Future
Latest
interface WindowOrWorkerGlobalScope
import { type WindowOrWorkerGlobalScope } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

Properties

readonly
caches: CacheStorage
readonly
crypto: Crypto
readonly
indexedDB: IDBFactory
readonly
isSecureContext: boolean
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, options?: ImageBitmapOptions): 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,
...arguments: any[],
): number
setTimeout(
handler: TimerHandler,
timeout?: number,
...arguments: any[],
): number