js_bindings library Null safety

Classes

AbortController
The interface represents a controller object that allows you to abort one or more Web requests as and when desired. [...]
AbortSignal
The interface represents 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.
AbstractRange
The abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document. [...]
AddEventListenerOptions
AssignedNodesOptions
Attr
The Attr interface represents one of a DOM element's attributes as an object. In most DOM methods, you will directly retrieve the attribute as a string (e.g., Element.getAttribute()), but certain functions (e.g., Element.getAttributeNode()) or means of iterating return types. [...]
AudioTrack
The interface represents a single audio track from one of the HTML media elements, <audio> or <video>. The most common use for accessing an object is to toggle its enabled property in order to mute and unmute the track.
AudioTrackList
The interface is used to represent a list of the audio tracks contained within a given HTML media element, with each track represented by a separate AudioTrack object in the list. [...]
BarProp
BeforeUnloadEvent
The beforeunload event is fired when the window, the document and its resources are about to be unloaded. [...]
BroadcastChannel
The BroadcastChannel interface represents a named channel that any browsing context of a given origin can subscribe to. It allows communication between different documents (in different windows, tabs, frames or iframes) of the same origin. Messages are broadcasted via a message event fired at all objects listening to the channel. Note: This feature is available in Web Workers
CanvasGradient
The CanvasGradient interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient(), CanvasRenderingContext2D.createConicGradient() or CanvasRenderingContext2D.createRadialGradient(). [...]
CanvasPattern
The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. [...]
CanvasRenderingContext2D
The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects. [...]
CanvasRenderingContext2DSettings
CDATASection
The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. [...]
CharacterData
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any objects of type : it is implemented by other interfaces like Text, Comment, or ProcessingInstruction, which aren't abstract.
CloseEvent
A is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
CloseEventInit
Comment
The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. Comments are represented in HTML and XML as content between '<!--' and '-->'. In XML, the character sequence '--' cannot be used within a comment.
CustomElementRegistry
The interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
CustomEvent
The interface represents events initialized by an application for any purpose. Note: This feature is available in Web Workers
CustomEventInit
DataTransfer
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. [...]
DataTransferItem
The DataTransferItem object represents one drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a object. [...]
DataTransferItemList
The DataTransferItemList object is a list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a . [...]
DedicatedWorkerGlobalScope
The object (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers.
Document
The interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. The DOM tree includes elements such as <body> and <table>, among many others. It provides functionality globally to the document, like how to obtain the page's URL and create new elements in the document. [...]
DocumentFragment
The interface represents a minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is due to the fact that the document fragment isn't part of the active document tree structure. Changes made to the fragment don't affect the document (even on reflow) or incur any performance impact when changes are made.
DocumentType
The interface represents a Node containing a doctype.
DOMImplementation
The DOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
DOMParser
The interface provides the ability to parse XML or HTML source code from a string into a DOM Document. [...]
DOMStringList
A type returned by some APIs which contains a list of DOMString (strings).
DOMStringMap
The interface is used for the HTMLOrForeignElement.dataset attribute, to represent data for custom attributes added to elements.
DOMTokenList
The DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. is always case-sensitive.
DragEvent
The interface is a DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. [...]
DragEventInit
Element
is the most general base class from which all element objects (i.e. objects that represent elements) in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from . For example, the HTMLElement interface is the base interface for HTML elements, while the SVGElement interface is the basis for all SVG elements. Most functionality is specified further down the class hierarchy. [...]
ElementCreationOptions
ElementDefinitionOptions
ElementInternals
ErrorEvent
The interface represents events providing information related to errors in scripts or in files.
ErrorEventInit
Event
The Event interface represents an event which takes place in the DOM. [...]
EventInit
EventListener
The interface represents an object that can handle an event dispatched by an EventTarget object. Note: Due to the need for compatibility with legacy content, accepts both a function and an object with a handleEvent() property function. This is shown in the example below.
EventListenerOptions
EventSource
The interface is web content's interface to server-sent events. An instance opens a persistent connection to an HTTP server, which sends events in text/event-stream format. The connection remains open until closed by calling EventSource.close(). [...]
EventSourceInit
EventTarget
is a DOM interface implemented by objects that can receive events and may have listeners for them. [...]
External
FocusOptions
FormDataEvent
The interface represents a formdata event — such an event is fired on an HTMLFormElement object after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData() constructor. [...]
FormDataEventInit
GetRootNodeOptions
HashChangeEvent
The HashChangeEvent interface represents events that fire when the fragment identifier of the URL has changed. [...]
HashChangeEventInit
History
The interface allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
HTMLAllCollection
HTMLAnchorElement
The interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to <a> element; not to be confused with <link>, which is represented by HTMLLinkElement)
HTMLAreaElement
The interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements.
HTMLAudioElement
The interface provides access to the properties of <audio> elements, as well as methods to manipulate them. It's based on, and inherits properties and methods from, the HTMLMediaElement interface.
HTMLBaseElement
The interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.
HTMLBodyElement
The interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements.
HTMLBRElement
The interface represents a HTML line break element (<br>). It inherits from HTMLElement.
HTMLButtonElement
The interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements.
HTMLCanvasElement
The interface provides properties and methods for manipulating the layout and presentation of <canvas> elements. The interface also inherits the properties and methods of the HTMLElement interface.
HTMLCollection
The interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. [...]
HTMLDataElement
The interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements.
HTMLDataListElement
The interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
HTMLDetailsElement
The interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <details> elements.
HTMLDialogElement
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface provides methods to manipulate <dialog> elements. It inherits properties and methods from the HTMLElement interface.
HTMLDirectoryElement
HTMLDivElement
The interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements.
HTMLDListElement
The interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements.
HTMLElement
The interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
HTMLEmbedElement
The interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements. This topic describes the interface as defined in the standard. It does not address earlier, non-standardized version of the interface.
HTMLFieldSetElement
The interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements.
HTMLFontElement
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
HTMLFormControlsCollection
The interface represents a collection of HTML form control elements. It represents the lists returned by the HTMLFormElement interface's elements property and the HTMLFieldSetElement interface's elements property. [...]
HTMLFormElement
The HTMLFormElement interface represents a <form> element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements.
HTMLFrameElement
HTMLFrameSetElement
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
HTMLHeadElement
The interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.
HTMLHeadingElement
The interface represents the different heading elements, <h1> through <h6>. It inherits methods and properties from the HTMLElement interface.
HTMLHRElement
The interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.
HTMLHtmlElement
The interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. [...]
HTMLIFrameElement
The interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
HTMLImageElement
The interface represents an HTML <img> element, providing the properties and methods used to manipulate image elements.
HTMLInputElement
The interface provides special properties and methods for manipulating the options, layout, and presentation of <input> elements.
HTMLLabelElement
The interface gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface.
HTMLLegendElement
The is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface.
HTMLLIElement
The interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
HTMLLinkElement
The interface represents reference information for external resources and the relationship of those resources to a document and vice-versa (corresponds to <link> element; not to be confused with <a>, which is represented by HTMLAnchorElement). This object inherits all of the properties and methods of the HTMLElement interface.
HTMLMapElement
The interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.
HTMLMarqueeElement
Draft This page is not complete. [...]
HTMLMediaElement
The interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. The HTMLVideoElement and HTMLAudioElement elements both inherit this interface.
HTMLMenuElement
HTMLMetaElement
The interface contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.
HTMLMeterElement
The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements.
HTMLModElement
The interface provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>.
HTMLObjectElement
The interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources.
HTMLOListElement
The interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.
HTMLOptGroupElement
The interface provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements.
HTMLOptionElement
The interface represents <option> elements and inherits all properties and methods of the HTMLElement interface.
HTMLOptionsCollection
The interface represents a collection of <option> HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items. This object is returned only by the options property of select.
HTMLOutputElement
The interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements.
HTMLParagraphElement
The interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements.
HTMLParamElement
The interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element.
HTMLPictureElement
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The HTMLPictureElement interface represents a <picture> HTML element. It doesn't implement specific properties or methods.
HTMLPreElement
The interface exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>).
HTMLProgressElement
The interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements.
HTMLQuoteElement
The interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element.
HTMLScriptElement
HTML <script> elements expose the interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). [...]
HTMLSelectElement
The HTMLSelectElement interface represents a <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.
HTMLSlotElement
The interface of the Shadow DOM API enables access to the name and assigned nodes of an HTML <slot> element.
HTMLSourceElement
The interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements.
HTMLSpanElement
The interface represents a <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
HTMLStyleElement
The interface represents a <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. [...]
HTMLTableCaptionElement
The interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
HTMLTableCellElement
The interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
HTMLTableColElement
The interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
HTMLTableElement
The interface provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
HTMLTableRowElement
The interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.
HTMLTableSectionElement
The interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.
HTMLTemplateElement
The HTMLTemplateElement interface enables access to the contents of an HTML <template> element.
HTMLTextAreaElement
The interface provides special properties and methods for manipulating the layout and presentation of <textarea> elements.
HTMLTimeElement
The interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements.
HTMLTitleElement
The interface contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
HTMLTrackElement
The interface represents an HTML <track> element within the DOM. This element can be used as a child of either <audio> or <video> to specify a text track containing information such as closed captions or subtitles.
HTMLUListElement
The interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements.
HTMLUnknownElement
The interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
HTMLVideoElement
The interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. [...]
ImageBitmap
The ImageBitmap interface represents a bitmap image which can be drawn to a <canvas> without undue latency. It can be created from a variety of source objects using the createImageBitmap() factory method. provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.
ImageBitmapOptions
ImageBitmapRenderingContext
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap. Its context id (the first argument to HTMLCanvasElement.getContext() or OffscreenCanvas.getContext()) is "bitmaprenderer". [...]
ImageBitmapRenderingContextSettings
ImageData
The ImageData interface represents the underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). Note: This feature is available in Web Workers
ImageDataSettings
ImageEncodeOptions
Location
The interface represents the location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked , accessible via Document.location and Window.location respectively.
MediaError
The MediaError interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. [...]
MessageChannel
The interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties. Note: This feature is available in Web Workers
MessageEvent
The MessageEvent interface represents a message received by a target object. [...]
MessageEventInit
MessagePort
The interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. Note: This feature is available in Web Workers
MimeType
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
MimeTypeArray
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
MutationObserver
The interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature, which was part of the DOM3 Events specification.
MutationObserverInit
The dictionary describes the configuration of a mutation observer. As such, it's primarily used as the type of the options parameter on the MutationObserver.observe() method.
MutationRecord
A represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.
NamedNodeMap
The NamedNodeMap interface represents a collection of Attr objects. Objects inside a are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array. [...]
The Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. [...]
Node
The DOM interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably. As an abstract class, there is no such thing as a plain object. All objects that implement functionality are based on one of its subclasses. Most notable are Document, Element, and DocumentFragment. In addition, every kind of DOM node is represented by an interface based on . These include Attr, CharacterData (which Text, Comment, CDATASection and ProcessingInstruction are all based on), DocumentType, Notation, Entity, and EntityReference. [...]
NodeFilter
A interface represents an object used to filter the nodes in a NodeIterator or TreeWalker. A knows nothing about the document or traversing nodes; it only knows how to evaluate a single node against the provided filter. Note: The browser doesn't provide any object implementing this interface. It is the user who is expected to write one, tailoring the acceptNode() method to its needs, and using it with some TreeWalker or NodeIterator objects.
NodeIterator
The interface represents an iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
NodeList
objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). Although is not an Array, it is possible to iterate over it with forEach(). It can also be converted to a real Array using Array.from(). [...]
OffscreenCanvas
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts. Note: This feature is available in Web Workers
OffscreenCanvasRenderingContext2D
PageTransitionEvent
The event object is available inside handler functions for the pageshow and pagehide events, fired when a document is being loaded or unloaded.
PageTransitionEventInit
Path2D
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
Plugin
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
PluginArray
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
PopStateEvent
PopStateEvent is an event handler for the popstate event on the window. [...]
PopStateEventInit
PostMessageOptions
ProcessingInstruction
The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction. [...]
Promise<T>
PromiseRejectionEvent
The interface represents events which are sent to the global script context when JavaScript Promises are rejected. These events are particularly useful for telemetry and debugging purposes. [...]
PromiseRejectionEventInit
RadioNodeList
The interface represents a collection of radio elements in a <form> or a <fieldset> element.
Range
The interface represents a fragment of a document that can contain nodes and parts of text nodes. [...]
ShadowRoot
The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree. [...]
ShadowRootInit
SharedWorker
The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope. Note: If SharedWorker can be accessed from several browsing contexts, all those browsing contexts must share the exact same origin (same protocol, host and port).
SharedWorkerGlobalScope
The object (the SharedWorker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See the complete list of functions available to workers.
StaticRange
The DOM interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree. It offers the same set of properties and methods as AbstractRange. [...]
StaticRangeInit
Storage
The interface of the Web Storage API provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. [...]
StorageEvent
A is sent to a window when a storage area it has access to is changed within the context of another document.
StorageEventInit
SubmitEvent
The SubmitEvent interface defines the object used to represent an HTML form's submit event. This event is fired at the <form> when the form's submit action is invoked.
SubmitEventInit
Text
The interface represents the textual content of Element or Attr. [...]
TextMetrics
The interface represents the dimensions of a piece of text in the canvas; a instance can be retrieved using the CanvasRenderingContext2D.measureText() method.
TextTrack
The interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular <track> element.
TextTrackCue
TextTrackCue is an abstract class which is used as the basis for the various derived cue types, such as VTTCue; you will instead work with those derived types. These cues represent a string of text that is presented for some duration of time during the performance of a TextTrack. The cue includes the start time (the time at which the text will be displayed) and the end time (the time at which it will be removed from the display), as well as other information.
TextTrackCueList
The array-like object represents a dynamically updating list of TextTrackCue objects. [...]
TextTrackList
The interface is used to represent a list of the text tracks defined by the <track> element, with each track represented by a separate textTrack object in the list. [...]
TimeRanges
When loading a media resource for use by an <audio> or <video> element, the interface is used for representing the time ranges of the media resource that have been buffered, the time ranges that have been played, and the time ranges that are seekable. [...]
TrackEvent
The interface, which is part of the HTML DOM specification, is used for events which represent changes to a set of available tracks on an HTML media element; these events are addtrack and removetrack. It's important not to confuse with the RTCTrackEvent interface, which is used for tracks which are part of an RTCPeerConnection. [...]
TrackEventInit
TreeWalker
The object represents the nodes of a document subtree and a position within them. [...]
ValidityState
The interface represents the validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
ValidityStateFlags
VideoTrack
The interface represents a single video track from a <video> element. The most common use for accessing a object is to toggle its selected property in order to make it the active video track for its <video> element.
VideoTrackList
The interface is used to represent a list of the video tracks contained within a <video> element, with each track represented by a separate VideoTrack object in the list. [...]
WebSocket
The object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. [...]
Window
The interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window. A window for a given document can be obtained using the document.defaultView property. [...]
WindowPostMessageOptions
Worker
The interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator. Creating a worker is done by calling the Worker("path/to/worker/script") constructor. [...]
WorkerGlobalScope
The WorkerGlobalScope interface of the Web Workers API is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each has its own event loop. [...]
WorkerLocation
The interface defines the absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location. [...]
WorkerNavigator
The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling self.navigator.
WorkerOptions
Worklet
Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface is a lightweight version of Web Workers and gives developers access to low-level parts of the rendering pipeline. With Worklets, you can run JavaScript and WebAssembly code to do graphics rendering or audio processing where high performance is required.
WorkletGlobalScope
WorkletOptions
XMLDocument
The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.
XPathEvaluator
The interface allows to compile and evaluate XPath expressions. [...]
XPathExpression
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information from its DOM tree. This is useful when an expression will be reused in an application, because it is just compiled once and all namespace prefixes which occur within the expression are preresolved. [...]
XPathNSResolver
The interface permits prefix strings in an XPath expression to be properly bound to namespace URI strings. [...]
XPathResult
The interface represents the results generated by evaluating an XPath expression within the context of a given node. Since XPath expressions can result in a variety of result types, this interface makes it possible to determine and handle the type and value of the result.
XSLTProcessor
Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future. [...]

Mixins

AbstractWorker
AnimationFrameProvider
CanvasCompositing
CanvasDrawImage
CanvasDrawPath
CanvasFillStrokeStyles
CanvasFilters
CanvasImageData
CanvasImageSmoothing
CanvasPath
CanvasPathDrawingStyles
CanvasRect
CanvasShadowStyles
CanvasState
CanvasText
CanvasTextDrawingStyles
CanvasTransform
CanvasUserInterface
ChildNode
The ChildNode mixin contains methods and properties that are common to all types of Node objects that can have a parent. It's implemented by Element, DocumentType, and CharacterData objects.
DocumentAndElementEventHandlers
DocumentOrShadowRoot
ElementContentEditable
GlobalEventHandlers
The mixin describes the event handlers common to several interfaces like HTMLElement, Document, or Window. Each of these interfaces can, of course, add more event handlers in addition to the ones listed below. Note: is a mixin and not an interface; you can't actually create an object of type .
HTMLHyperlinkElementUtils
HTMLOrSVGElement
The mixin adds to the Navigator interface features which allow Web content to determine how many logical processors the user has available, in order to let content and Web apps optimize their operations to best take advantage of the user's CPU. Note: This feature is available in Web Workers The number of logical processor cores is a way to measure the number of threads which can effectively be run at once without them having to share CPUs. Modern computers have multiple physical cores in their CPU (two or four cores is typical), but each physical core is also usually able to run more than one thread at a time using advanced scheduling techniques. So a four-core CPU may return 8. The browser may, however, choose to reduce the number in order to represent more accurately the number of Workers that can run at once
The NavigatorID interface contains methods and properties related to the identity of the browser. [...]
NavigatorLanguage contains methods and properties related to the language of the navigator. [...]
The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser. [...]
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. [...]
NonDocumentTypeChildNode
NonElementParentNode
ParentNode
Slottable
WindowEventHandlers
The mixin describes the event handlers common to several interfaces like Window, or HTMLBodyElement and HTMLFrameSetElement. Each of these interfaces can implement additional specific event handlers. Note: is a mixin and not an interface; you can't actually create an object of type .
WindowLocalStorage
WindowOrWorkerGlobalScope
The mixin describes several features common to the Window and WorkerGlobalScope interfaces. Each of these interfaces can, of course, add more features in addition to the ones listed below. Note: is a mixin and not an interface; you can't actually create an object of type .
WindowSessionStorage
XPathEvaluatorBase

Extensions

BindPromise

Properties

document Document
@JS(), read-only
infinity → dynamic
@JS('Infinity'), read-only
nan num
@JS('NaN'), read-only
undefined → dynamic
@JS(), read-only
window Window
@JS(), read-only

Functions

isNaN(dynamic n) bool
@JS('Number.isNaN')

Enums

BinaryType
CanPlayTypeResult
CanvasDirection
CanvasFillRule
CanvasFontKerning
CanvasFontStretch
CanvasFontVariantCaps
CanvasLineCap
CanvasLineJoin
CanvasTextAlign
CanvasTextBaseline
CanvasTextRendering
ColorSpaceConversion
DocumentReadyState
DOMParserSupportedType
ImageOrientation
ImageSmoothingQuality
OffscreenRenderingContextId
PredefinedColorSpace
PremultiplyAlpha
ResizeQuality
ScrollRestoration
SelectionMode
ShadowRootMode
SlotAssignmentMode
TextTrackKind
TextTrackMode
WorkerType