Platform - Web documentation

Functions

f
alert

Shows the given message and waits for the enter key pressed.

f
clearInterval

Cancels a timed, repeating action which was previously started by a call to setInterval()

f
clearTimeout

Cancels a scheduled action initiated by setTimeout()

f
close
No documentation available
f
confirm

Shows the given message and waits for the answer. Returns the user's answer as boolean.

f
prompt

Shows the given message and waits for the user's input. Returns the user's input as string.

f
queueMicrotask

A microtask is a short function which is executed after the function or module which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used to drive the script's execution environment. This event loop may be either the main event loop or the event loop driving a web worker.

f
reportError

Dispatch an uncaught exception. Similar to a synchronous version of:

f
setInterval

Repeatedly calls a function , with a fixed time delay between each call.

f
setTimeout

Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returns an id which may be used to cancel the timeout.

f
structuredClone

Creates a deep copy of a given value using the structured clone algorithm.

Interfaces

I
v
AbortController

A controller object that allows you to abort one or more DOM requests as and when desired.

I
v
AbortSignal

A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.

I
AbortSignalEventMap
No documentation available
I
DataView
No documentation available
I
v
DOMException
No documentation available
I
DomIterable
No documentation available
I
DOMStringList
No documentation available
I
ErrorConstructor
No documentation available
I
Float16
No documentation available
I
v
Float16Array

A typed array of 16-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

I
Float16ArrayConstructor
No documentation available
I
Float16Constructor
No documentation available
I
v
ImageData
No documentation available
I
ImageDataSettings
No documentation available
I
ImportMeta

Deno provides extra properties on import.meta. These are included here to ensure that these are still available when using the Deno namespace in conjunction with other type libs, like dom.

I
v
Location

The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Accessible via globalThis.location.

I
v
Navigator
No documentation available
I
StructuredSerializeOptions
No documentation available
I
VoidFunction
No documentation available
I
v
Window
No documentation available
I
WindowEventMap
No documentation available

Type Aliases

T
BufferSource
No documentation available
T
PredefinedColorSpace
No documentation available

Variables

v
closed
No documentation available
v
location
No documentation available
v
name
No documentation available
v
navigator
No documentation available
v
self
No documentation available
v
window
No documentation available