Interface WindowOrWorkerGlobalScope
Hierarchy
- WindowOrWorkerGlobalScope
Properties
Readonly caches
Readonly crypto
Readonly indexedDB
Readonly isSecureContext
isSecureContext: boolean
Readonly origin
origin: string
Readonly performance
Methods
atob
- atob(data: string): string
Parameters
Returns string
btoa
- btoa(data: string): string
Parameters
Returns string
clearInterval
- clearInterval(handle?: number): void
Parameters
Returns void
clearTimeout
- clearTimeout(handle?: number): void
Parameters
Returns void
createImageBitmap
Parameters
Parameters
sx: number
sy: number
sw: number
sh: number
fetch
Parameters
Returns Promise<Response>
queueMicrotask
Parameters
Returns void
setInterval
- setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number
Parameters
Optional timeout: number
Rest ...arguments: any[]
Returns number
setTimeout
- setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number
Parameters
Optional timeout: number
Rest ...arguments: any[]
Returns number