package dom
- Alphabetic
- By Inheritance
- dom
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
AbortController extends Object
The AbortController interface represents a controller object that allows you to abort one or more DOM requests as and when desired.
The AbortController interface represents a controller object that allows you to abort one or more DOM requests as and when desired.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
AbortSignal extends EventTarget
The AbortSignal 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.
The AbortSignal 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.
- Annotations
- @JSType() @native()
-
abstract
class
AbstractRange extends Object
The AbstractRange abstract interface is the base class upon which all DOM range types are defined.
The AbstractRange 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
AbstractWorker extends EventTarget
The AbstractWorker interface abstracts properties and methods common to all kind of workers, being Worker or SharedWorker.
The AbstractWorker interface abstracts properties and methods common to all kind of workers, being Worker or SharedWorker.
- Annotations
- @JSType() @native()
-
trait
AesCbcParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
AesCfbParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
AesCmacParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
AesCtrParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
AesDerivedKeyParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
AesGcmParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
AesKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
AesKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
Algorithm extends Object
- Annotations
- @JSType()
-
type
AlgorithmIdentifier = |[Algorithm, String]
According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString.According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString. We make this more precise here and specify an Algorithm. note: it may be that we can do only with KeyAlgorithmIdentifier and HashAlgorithmIdentifier -
trait
AnalyserNode extends EventTarget with AudioNode
The AnalyserNode interface represents a node able to provide real-time frequency and time-domain analysis information.
The AnalyserNode interface represents a node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data,process it, and create audio visualizations.
An AnalyzerNode has exactly one input and one output. The node works even if the output is not connected.
- Number of inputs: 1
- Number of outputs: 1 (but may be left unconnected)
- Channel count mode: "explicit"
- Channel count: 1
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
AnimationEvent extends Event
The AnimationEvent interface represents events providing information related to animations.
The AnimationEvent interface represents events providing information related to animations.
- Annotations
- @JSType() @native()
-
sealed
trait
AppendMode extends Any
- Annotations
- @JSType() @native()
-
trait
ApplicationCache extends EventTarget
- Annotations
- @JSType() @native()
-
class
Attr extends Node
This type represents a DOM element's attribute as an object.
This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
AudioBuffer extends Object
The AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer().
The AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode.
Objects of these types are designed to hold small audio snippets, typically less than 45 s. For longer sounds, objects implementing the MediaElementAudioSourceNode are more suitable.
The buffer contains data in the following format: non-interleaved IEEE754 32-bit linear PCM with a nominal range between -1 and +1, that is, 32bits floating point buffer, with each samples between -1.0 and 1.0. If the AudioBuffer has multiple channels, they are stored in separate buffer.
- Annotations
- @JSType() @native()
-
trait
AudioBufferSourceNode extends EventTarget with AudioNode
AudioBufferSourceNode has no input and exactly one output.
AudioBufferSourceNode has no input and exactly one output. The number of channels in the output corresponds to the number of channels of the AudioBuffer that is set to the AudioBufferSourceNode.buffer property. If there is no buffer set—that is, if the attribute's value is NULL—the output contains one channel consisting of silence. An AudioBufferSourceNode can only be played once; that is, only one call to AudioBufferSourceNode.start() is allowed. If the sound needs to be played again, another AudioBufferSourceNode has to be created. Those nodes are cheap to create, and AudioBuffers can be reused across plays. It is often said that AudioBufferSourceNodes have to be used in a "fire and forget" fashion: once it has been started, all references to the node can be dropped, and it will be garbage-collected automatically.
Multiple calls to AudioBufferSourceNode.stop() are allowed. The most recent call replaces the previous one, granted the AudioBufferSourceNode has not already reached the end of the buffer.
- Number of inputs: 0
- Number of outputs: 1
- Channel count: defined by the associated AudioBuffer
- Annotations
- @JSType() @native()
-
class
AudioContext extends EventTarget
The AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode.
The AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode. An audio context controls both the creation of the nodes it contains and the execution of the audio processing, or decoding. You need to create an AudioContext before you do anything else, as everything happens inside a context.
An AudioContext can be a target of events, therefore it implements the EventTarget interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
AudioDestinationNode extends EventTarget with AudioNode
The AudioDestinationNode interface represents the end destination of an audio graph in a given context — usually the speakers of your device.
The AudioDestinationNode interface represents the end destination of an audio graph in a given context — usually the speakers of your device. It can also be the node that will "record" the audio data when used with an OfflineAudioContext.
AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The amount of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.
The AudioDestinationNode of a given AudioContext can be retrieved using the AudioContext.destination property.
- Number of inputs: 1
- Number of outputs: 0
- Channel count mode: "explicit"
- Channel count: 2
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
AudioListener extends EventTarget with AudioNode
The AudioListener interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialisation.
The AudioListener interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialisation. All PannerNodes spatialise in relation to the AudioListener stored in the AudioContext.listener attribute.
It is important to note that there is only one listener per context and that it isn't an AudioNode.
- Annotations
- @JSType() @native()
-
trait
AudioNode extends EventTarget
The AudioNode interface is a generic interface for representing an audio processing module like an audio source (e.g.
The AudioNode interface is a generic interface for representing an audio processing module like an audio source (e.g. an HTML <audio> or <video> element, an OscillatorNode, etc.), the audio destination, intermediate processing module (e.g. a filter like BiquadFilterNode or ConvolverNode), or volume control (like GainNode).
An AudioNode has inputs and outputs, each with a given amount of channels. An AudioNode with zero inputs and one or multiple outputs is called a source node. The exact processing done varies from one AudioNode to another but, in general, a node reads its inputs, does some audio-related processing, and generates new values for its outputs, or simply lets the audio pass through (for example in the AnalyserNode, where the result of the processing is accessed separately).
Different nodes can be linked together to build a processing graph. Such a graph is contained in an AudioContext. Each AudioNode participates in exactly one such context. In general, processing nodes inherit the properties and methods of AudioNode, but also define their own functionality on top. See the individual node pages for more details, as listed on the Web Audio API homepage.
- Annotations
- @JSType() @native()
-
trait
AudioParam extends EventTarget with AudioNode
The AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).
The AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). An AudioParam can be set to a specific value or a change in value, and can be scheduled to happen at a specific time and following a specific pattern.
There are two kinds of AudioParam, a-rate and k-rate parameters:
- An a-rate AudioParam takes the current audio parameter value for each sample frame of the audio signal.
- A k-rate AudioParam uses the same initial audio parameter value for the whole block processed, that is 128 sample frames.
Each AudioNode defines which of its parameters are a-rate or k-rate in the spec.
Each AudioParam has a list of events, initially empty, that define when and how values change. When this list is not empty, changes using the AudioParam.value attributes are ignored. This list of events allows us to schedule changes that have to happen at very precise times, using arbitrary timelime-based automation curves. The time used is the one defined in AudioContext.currentTime.
- Annotations
- @JSType() @native()
-
trait
AudioTrack extends Object
- Annotations
- @JSType() @native()
-
trait
AudioTrackList extends EventTarget with DOMList[AudioTrack]
- Annotations
- @JSType() @native()
-
class
BeforeUnloadEvent extends Event
- Annotations
- @JSType() @native() @JSGlobal()
- type BigInteger = Uint8Array
-
trait
BiquadFilterNode extends EventTarget with AudioNode
The BiquadFilterNode interface represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method.
The BiquadFilterNode interface represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. A BiquadFilterNode always has exactly one input and one output.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
class
Blob extends Object
A Blob object represents a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
A Blob object represents a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data. Blobs can represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
To construct a Blob from other non-blob objects and data, use the Blob() constructor. To create a blob that contains a subset of another blob's data, use the slice() method. To obtain a Blob object for a file on the user's file system, see the File documentation.
The APIs accepting Blob objects are also listed in the File documentation.
- Annotations
- @JSType() @native() @JSGlobal()
- type BlobPart = |[|[BufferSource, Blob], String]
-
trait
BlobPropertyBag extends Object
- Annotations
- @JSType()
-
trait
Body extends Object
See body interface in whatwg Fetch spec.
See body interface in whatwg Fetch spec.
see also Body in MDN
- Annotations
- @JSType() @native()
-
type
BodyInit = |[|[|[|[|[Blob, BufferSource], FormData], String], ReadableStream[Uint8Array]], URLSearchParams]
defined at https://fetch.spec.whatwg.org/#bodyinit-unions in whatwg Fetch spec
- type BufferSource = |[ArrayBufferView, ArrayBuffer]
-
type
ByteString = String
This type should capture strings consisting only of ASCII chars todo: is there a way to capture this type?
-
abstract
class
CDATASection extends Text
A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text.
A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text.
As a CDATASection has no properties or methods unique to itself and only directly implements the Text interface, one can refer to Text to find its properties and methods.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSFontFaceRule extends CSSRule
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSImportRule extends CSSRule
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSKeyframeRule extends CSSRule
The CSSKeyframeRule interface describes an object representing a set of style for a given keyframe.
The CSSKeyframeRule interface describes an object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a
@@keyframesat-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE).- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSKeyframesRule extends CSSRule
The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation.
The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole
@@keyframesat-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSMediaRule extends CSSRule
CSSMediaRule is an object representing a single CSS
@mediarule.CSSMediaRule is an object representing a single CSS
@mediarule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSNamespaceRule extends CSSRule
The CSSNamespaceRule interface describes an object representing a single CSS
@@namespaceat-rule.The CSSNamespaceRule interface describes an object representing a single CSS
@@namespaceat-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSPageRule extends CSSRule
CSSPageRule is an object representing a single CSS
@pagerule.CSSPageRule is an object representing a single CSS
@pagerule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSRule extends Object
An object implementing the CSSRule DOM interface represents a single CSS at-rule.
An object implementing the CSSRule DOM interface represents a single CSS at-rule. References to a CSSRule-implementing object may be obtained by looking at a CSS style sheet's cssRules list.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSRuleList extends Object with DOMList[CSSRule]
A CSSRuleList is an array-like object containing an ordered collection of CSSRule objects.
A CSSRuleList is an array-like object containing an ordered collection of CSSRule objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSStyleDeclaration extends Object
A CSSStyleDeclaration is an interface to the declaration block returned by the style property of a cssRule in a stylesheet, when the rule is a CSSStyleRule.
A CSSStyleDeclaration is an interface to the declaration block returned by the style property of a cssRule in a stylesheet, when the rule is a CSSStyleRule.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSStyleRule extends CSSRule
CSSStyleRule represents a single CSS style rule.
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSStyleSheet extends StyleSheet
An object implementing the CSSStyleSheet interface represents a single CSS style sheet.
An object implementing the CSSStyleSheet interface represents a single CSS style sheet.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
Cache extends Object
See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.4 cache of ServiceWorker whatwg spec.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CacheQueryOptions extends Object
See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.4 cache of ServiceWorker whatwg spec.
- Annotations
- @JSType() @native()
-
trait
CacheStorage extends Object
See ¶5.5 cache of ServiceWorker whatwg spec.
See ¶5.5 cache of ServiceWorker whatwg spec.
- Annotations
- @JSType() @native()
-
class
CanvasGradient extends Object
The CanvasGradient interface represents an opaque object describing a gradient and returned by CanvasRenderingContext2D.createLinearGradient or CanvasRenderingContext2D.createRadialGradient methods.
The CanvasGradient interface represents an opaque object describing a gradient and returned by CanvasRenderingContext2D.createLinearGradient or CanvasRenderingContext2D.createRadialGradient methods.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CanvasPattern extends Object
The CanvasPattern interface represents an opaque object describing a pattern, based on a image, a canvas or a video, created by the CanvasRenderingContext2D.createPattern() method.
The CanvasPattern interface represents an opaque object describing a pattern, based on a image, a canvas or a video, created by the CanvasRenderingContext2D.createPattern() method.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CanvasProxy extends Any
see ¶4.12.4.1 Proxying canvases to workers in whatwg html spec.
see ¶4.12.4.1 Proxying canvases to workers in whatwg html spec.
- Annotations
- @JSType() @native()
-
class
CanvasRenderingContext2D extends Object
The 2D rendering context for the drawing surface of a <canvas> element.
The 2D rendering context for the drawing surface of a <canvas> element. To get this object, call getContext() on a <canvas>, supplying "2d" as the argument:
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ChannelMergerNode extends EventTarget with AudioNode
The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output.
The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
If ChannelMergerNode has one single output, but as many inputs as there are channels to merge; the amount of inputs is defined as a parameter of its constructor and the call to AudioContext.createChannelMerger. In the case that no value is given, it will default to 6.
Using a ChannelMergerNode, it is possible to create outputs with more channels than the rendering hardware is able to process. In that case, when the signal is sent to the AudioContext.listener object, supernumerary channels will be ignored.
- Number of inputs: variable; default to 6.
- Number of outputs: 1
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
ChannelSplitterNode extends EventTarget with AudioNode
The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs.
The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
If your ChannelSplitterNode always has one single input, the amount of outputs is defined by a parameter on its constructor and the call to AudioContext.createChannelSplitter(). In the case that no value is given, it will default to 6. If there are less channels in the input than there are outputs, supernumerary outputs are silent.
- Number of inputs: 1
- Number of outputs: variable; default to 6.
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
abstract
class
CharacterData extends Node with NonDocumentTypeChildNode
The CharacterData abstract interface represents a Node object that contains characters.
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
Chunk[+T] extends Object
See ¶2 Model but mostly the examples in the whatwg streams spec
See ¶2 Model but mostly the examples in the whatwg streams spec
- Annotations
- @JSType() @native()
-
trait
Client extends Object
¶4.2 Client of Service Workers 1 spec.
¶4.2 Client of Service Workers 1 spec.
- Annotations
- @JSType() @native()
-
trait
ClientQueryOptions extends Object
¶4.2 Client of Service Workers 1 spec.
¶4.2 Client of Service Workers 1 spec.
- Annotations
- @JSType() @native()
-
sealed
trait
ClientType extends Any
- Annotations
- @JSType() @native()
-
trait
Clients extends Object
See ¶4.3 clients of ServiceWorker whatwg spec.
See ¶4.3 clients of ServiceWorker whatwg spec.
- Annotations
- @JSType() @native()
-
trait
Clipboard extends EventTarget
The Clipboard interface implements the Clipboard API, providing—if the user grants permission—both read and write access to the contents of the system clipboard.
The Clipboard interface implements the Clipboard API, providing—if the user grants permission—both read and write access to the contents of the system clipboard. The Clipboard API can be used to implement cut, copy, and paste features within a web application.
The system clipboard is exposed through the global Navigator.clipboard property
Clipboard is based on the EventTarget interface, and includes its methods.
- Annotations
- @JSType() @native()
-
class
ClipboardEvent extends Event
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ClipboardEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
CloseEvent extends Event
A CloseEvent is sent to clients using WebSockets when the connection is closed.
A CloseEvent 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.
- Annotations
- @JSType() @native()
-
class
Comment extends CharacterData
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.
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.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CompositionEvent extends UIEvent
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CompositionEventInit extends Object with UIEventInit
- Annotations
- @JSType()
-
trait
ConcatParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
Console extends Object
The console object provides access to the browser's debugging console.
The console object provides access to the browser's debugging console. The specifics of how it works vary from browser to browser, but there is a de facto set of features that are typically provided.
- Annotations
- @JSType() @native()
-
trait
ConvertToBlobOptions extends Object
- Annotations
- @JSType()
-
trait
ConvolverNode extends EventTarget with AudioNode
The ConvolverNode interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect.
The ConvolverNode interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output.
Note: For more information on the theory behind Linear Convolution, see the W3C Web Audio API spec section, Linear Effects Using Convolution, or read the The Wikipedia Linear Convolution Article.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "clamped-max"
- Channel count: 2
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
Coordinates extends Object
The Coordinates interface represents the position and attitude of the device on Earth, as well as the accuracy with which these data are computed.
The Coordinates interface represents the position and attitude of the device on Earth, as well as the accuracy with which these data are computed.
- Annotations
- @JSType() @native()
-
trait
CreateImageBitmapOptions extends Object
- Annotations
- @JSType()
-
trait
Crypto extends Object
The Crypto interface represents basic cryptography features available in the current context.
The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
- Annotations
- @JSType() @native()
-
final
class
CryptoKey extends Object
The CryptoKey object represents an opaque reference to keying material that is managed by the user agent.
The CryptoKey object represents an opaque reference to keying material that is managed by the user agent.
defined at ¶13 The CryptoKey Interface
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CryptoKeyPair extends Object
The CryptoKeyPair dictionary represents an asymmetric key pair that is comprised of both public and private keys.
The CryptoKeyPair dictionary represents an asymmetric key pair that is comprised of both public and private keys. defined at ¶17 CryptoKeyPair dictionary of spec
- Annotations
- @JSType() @native()
-
abstract
class
CustomElementRegistry extends Object
The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements.
The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CustomEvent extends Event
The DOM CustomEvent are events initialized by an application for any purpose.
The DOM CustomEvent are events initialized by an application for any purpose.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CustomEventInit extends Object with EventInit
- Annotations
- @JSType()
-
class
DOMException extends Object
The DOMException interface represents an anormal event happening when a method or a property is used.
The DOMException interface represents an anormal event happening when a method or a property is used.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
DOMImplementation extends Object
The DOMImplementation interface represent an object providing methods which are not dependent on any particular document.
The DOMImplementation interface represent an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DOMList[+T] extends Object
- Annotations
- @JSType() @native()
-
class
DOMParser extends Object
The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.
The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.
You can perform the opposite operation—converting a DOM tree into XML or HTML source—using the
XMLSerializerinterface.In the case of an HTML document, you can also replace portions of the DOM with new DOM trees built from HTML by setting the value of the
Element.innerHTMLandouterHTMLproperties. These properties can also be read to fetch HTML fragments corresponding to the corresponding DOM subtree.Note that
XMLHttpRequestcan parse XML and HTML directly from a URL-addressable resource, returning a Document in its response property.- Annotations
- @JSType() @native() @JSGlobal()
-
class
DOMRect extends Object with DOMRectReadOnly
A DOMRect describes the size and position of a rectangle.
A DOMRect describes the size and position of a rectangle.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
DOMRectList extends Object with DOMList[DOMRect]
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DOMRectReadOnly extends Object
- Annotations
- @JSType() @native()
-
trait
DOMSettableTokenList extends DOMTokenList
- Annotations
- @JSType() @native()
-
class
DOMStringList extends Object with DOMList[String]
A type returned by DOMConfiguration.parameterNames which contains a list of DOMString (strings).
A type returned by DOMConfiguration.parameterNames which contains a list of DOMString (strings).
- Annotations
- @JSType() @native() @JSGlobal()
-
class
DOMTokenList extends Object with DOMList[String]
This type represents a set of space-separated tokens.
This type represents a set of space-separated tokens. Commonly returned by HTMLElement.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList or HTMLAreaElement.relList. It is indexed beginning with 0 as with JavaScript arrays. DOMTokenList is always case-sensitive.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DataTransfer extends Object
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation.
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 Drag and Drop.
This object is available from the dataTransfer property of all drag events. It cannot be created separately.
- Annotations
- @JSType() @native()
-
trait
DedicatedWorkerGlobalScope extends EventTarget with WorkerGlobalScope
The DedicatedWorkerGlobalScope object (the Worker global scope) is accessible through the self keyword.
The DedicatedWorkerGlobalScope 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.
- Annotations
- @JSType() @native()
-
trait
DelayNode extends EventTarget with AudioNode
The DelayNode interface represents a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output.
The DelayNode interface represents a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. A DelayNode always has exactly one input and one output, both with the same amount of channels.
When creating a graph that has a cycle, it is mandatory to have at least one DelayNode in the cycle, or the nodes taking part in the cycle will be muted.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
DeviceAcceleration extends Any
- Annotations
- @JSType()
-
class
DeviceMotionEvent extends Event
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DeviceMotionEventInit extends Object with EventInit
- Annotations
- @JSType()
-
class
DeviceOrientationEvent extends Event
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DeviceOrientationEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
DeviceRotationRate extends Any
- Annotations
- @JSType()
-
trait
DhImportKeyParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
DhKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
DhKeyDeriveParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
DhKeyGenParams extends Object with Algorithm
- Annotations
- @JSType()
-
abstract
class
Document extends Node with NodeSelector with DocumentEvent with ParentNode with PageVisibility
Each web page loaded in the browser has its own document object.
Each web page loaded in the browser has its own document object. The Document interface serves as an entry point to the web page's content (the DOM tree, including elements such as <body> and <table>) and provides functionality global to the document (such as obtaining the page's URL and creating new elements in the document).
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DocumentEvent extends Object
- Annotations
- @JSType() @native()
-
abstract
class
DocumentFragment extends Node with NodeSelector
The DocumentFragment interface represents a minimal document object that has no parent.
The DocumentFragment interface represents a minimal document object that has no parent. It is used as a light-weight version of Document to store well-formed or potentially non-well-formed fragments of XML.
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
DocumentReadyState extends Any
- Annotations
- @JSType() @native()
-
abstract
class
DocumentType extends Node
The DocumentType interface represents a Node containing a doctype.
The DocumentType interface represents a Node containing a doctype.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DragEvent extends MouseEvent
- Annotations
- @JSType() @native()
-
trait
DynamicsCompressorNode extends EventTarget with AudioNode
The DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
The DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once. This is often used in musical production and game audio. DynamicsCompressorNode is an AudioNode that has exactly one input and one output; it is created using the AudioContext.createDynamicsCompressor method.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "explicit"
- Channel count: 2
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
EcKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
EcKeyGenParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
EcKeyImportParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
EcdhKeyDeriveParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
EcdsaParams extends Object with Algorithm
- Annotations
- @JSType()
-
abstract
class
Element extends Node with NodeSelector with ParentNode with NonDocumentTypeChildNode
The Element interface represents part of the document.
The Element interface represents part of the document. This interface describes methods and properties common to each kind of elements. Specific behaviors are described in the specific interfaces, inheriting from Element: the HTMLElement interface for HTML elements, or the SVGElement interface for SVG elements.
https://developer.mozilla.org/en-US/docs/Web/API/element
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ElementDefinitionOptions extends Object
An ElementDefinitionOptions object represents additional options associated with CustomElementRegsitry.define.
An ElementDefinitionOptions object represents additional options associated with CustomElementRegsitry.define.
- Annotations
- @JSType()
-
sealed
trait
EndOfStreamError extends Any
- Annotations
- @JSType() @native()
-
sealed
trait
EndingType extends Any
Endings enum for https://w3c.github.io/FileAPI/#enumdef-endingtype If set to "native", line endings will be converted to native in any USVString elements in blobParts
Endings enum for https://w3c.github.io/FileAPI/#enumdef-endingtype If set to "native", line endings will be converted to native in any USVString elements in blobParts
- Annotations
- @JSType() @native()
-
trait
ErrorEvent extends Event
The ErrorEvent interface represents events providing information related to errors in scripts or in files.
The ErrorEvent interface represents events providing information related to errors in scripts or in files.
- Annotations
- @JSType() @native()
-
class
Event extends Object
Event handlers may be attached to various objects including DOM elements, document, the window object, etc.
Event handlers may be attached to various objects including DOM elements, document, the window object, etc. When an event occurs, an event object is created and passed sequentially to the event listeners.
The DOM Event interface is accessible from within the handler function, via the event object passed as the first argument. The following simple example shows how an event object is passed to the event handler function, and can be used from within one such function.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
EventException extends Object
- Annotations
- @JSType() @native()
-
trait
EventInit extends Object
- Annotations
- @JSType()
-
trait
EventListenerOptions extends Object
An options object that specifies characteristics about the event listener.
An options object that specifies characteristics about the event listener.
- Annotations
- @JSType()
-
class
EventSource extends EventTarget
EventSource enables servers to push data to Web pages over HTTP or using dedicated server-push protocols.
EventSource enables servers to push data to Web pages over HTTP or using dedicated server-push protocols. Event streams requests can be redirected using HTTP 301 and 307 redirects as with normal HTTP requests. Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code. W3C 2012
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
EventSourceInit extends Object
Provides options to configure the new connection.
Provides options to configure the new connection.
- Annotations
- @JSType()
-
class
EventTarget extends Object
EventTarget is a DOM interface implemented by objects that can receive DOM events and have listeners for them.
EventTarget is a DOM interface implemented by objects that can receive DOM events and have listeners for them.
Element, document, and window are the most common event targets, but other objects can be event targets too, for example XMLHttpRequest, AudioNode, AudioContext and others.
Many event targets (including elements, documents, and windows) also support setting event handlers via on... properties and attributes.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
ExtendableEvent extends Event
See ¶4.4 ExtendableEvent of whatwg ServiceWorker spec.
See ¶4.4 ExtendableEvent of whatwg ServiceWorker spec.
An ExtendableEvent object has an associated extend lifetime promises (an array of promises). It is initially set to null.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ExtendableEventInit extends Object with EventInit
- Annotations
- @JSType()
-
class
ExtendableMessageEvent extends ExtendableEvent
Service workers define the extendable message event that extends the message event defined in HTML to allow extending the lifetime of the event.
Service workers define the extendable message event that extends the message event defined in HTML to allow extending the lifetime of the event.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ExtendableMessageEventInit extends Object with ExtendableEventInit
- Annotations
- @JSType()
-
trait
External extends Object
- Annotations
- @JSType() @native()
-
class
FetchEvent extends ExtendableEvent
See FetchEvent on MDN
See FetchEvent on MDN
¶4.5 FetchEvent on whatwg ServiceWorker spec.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
FetchEventInit extends Object with ExtendableEventInit
- Annotations
- @JSType()
-
class
File extends Blob
The File interface provides information about -- and access to the contents of -- files.
The File interface provides information about -- and access to the contents of -- files.
These are generally retrieved from a FileList object returned as a result of a user selecting files using the input element, or from a drag and drop operation's DataTransfer object.
The file reference can be saved when the form is submitted while the user is offline, so that the data can be retrieved and uploaded when the Internet connection is restored.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
FileList extends Object with DOMList[File]
An object of this type is returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type="file"> element.
An object of this type is returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
FilePropertyBag extends Object with BlobPropertyBag
An options object containing optional attributes for the file.
An options object containing optional attributes for the file.
- Annotations
- @JSType()
-
class
FileReader extends EventTarget
The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
FileReaderSync extends Object
The FileReaderSync interface allows to read File or Blob objects synchronously.
The FileReaderSync interface allows to read File or Blob objects synchronously.
This interface is only available in workers as it enables synchronous I/O that could potentially block.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
FocusEvent extends UIEvent
The FocusEvent interface represents focus-related events like focus, blur, focusin, or focusout.
The FocusEvent interface represents focus-related events like focus, blur, focusin, or focusout.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
FocusEventInit extends Object with UIEventInit
- Annotations
- @JSType()
-
class
FormData extends Object
XMLHttpRequest Level 2 adds support for the new FormData interface.
XMLHttpRequest Level 2 adds support for the new FormData interface. FormData objects provide a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest send() method.
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
FrameType extends Any
- Annotations
- @JSType() @native()
-
trait
FullscreenOptions extends Object
- Annotations
- @JSType()
-
trait
GainNode extends EventTarget with AudioNode
The GainNode interface represents a change in volume.
The GainNode interface represents a change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
The gain is a unitless value, changing with time, that is multiplied to each corresponding sample of all input channels. If modified, the new gain is applied using a de-zippering algorithm in order to prevent unaesthetic 'clicks' from appearing in the resulting audio.
The GainNode is increasing the gain of the output.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
Gamepad extends Any
Represents the state of a connected gamepad device.
Represents the state of a connected gamepad device.
- Annotations
- @JSType()
-
trait
GamepadButton extends Any
Represents the state of a button.
Represents the state of a button.
- Annotations
- @JSType()
-
class
GamepadEvent extends Event
- Annotations
- @JSType() @JSGlobal( "GamepadEvent" ) @native()
-
trait
GamepadEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
GamepadMappingType extends Any
- Annotations
- @JSType() @native()
-
trait
Geolocation extends Object
The Geolocation interface represents an object able to programmatically obtain the position of the device.
The Geolocation interface represents an object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app offer customized results based on the user's location.
- Annotations
- @JSType() @native()
-
trait
GetNotificationOptions extends Object
An object containing options to filter the notifications returned.
An object containing options to filter the notifications returned.
- Annotations
- @JSType()
-
trait
GetSVGDocument extends Object
- Annotations
- @JSType() @native()
-
abstract
class
HTMLAnchorElement extends HTMLElement
The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of such elements.
The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of such elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLAreaElement extends HTMLElement
The HTMLAreaElement 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.
The HTMLAreaElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLAudioElement extends HTMLMediaElement
The HTMLAudioElement interface provides access to the properties of <audio> elements, as well as methods to manipulate them.
The HTMLAudioElement interface provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLBRElement extends HTMLElement
The HTMLBRElement interface represents a HTML line break element (<br>).
The HTMLBRElement interface represents a HTML line break element (<br>). It inherits from HTMLElement.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLBaseElement extends HTMLElement
The HTMLBaseElement interface contains the base URI for a document.
The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLBodyElement extends HTMLElement
The HTMLBodyElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating body elements.
The HTMLBodyElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating body elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLButtonElement extends HTMLElement
The HTMLButtonElement interface provides properties and methods (beyond the <button> object interface it also has available to them by inheritance) for manipulating the layout and presentation of button elements.
The HTMLButtonElement interface provides properties and methods (beyond the <button> object interface it also has available to them by inheritance) for manipulating the layout and presentation of button elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLCanvasElement extends HTMLElement
The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements.
The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLCollection[+E] extends Object with DOMList[E]
HTMLCollection is an interface representing a generic collection of elements (in document order) and offers methods and properties for traversing the list.
HTMLCollection is an interface representing a generic collection of elements (in document order) and offers methods and properties for traversing the list.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLDListElement extends HTMLElement
The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list elements.
The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLDataListElement extends HTMLElement
The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLDialogElement extends HTMLElement
The HTMLDialogElement interface provides methods to manipulate <dialog> elements.
The HTMLDialogElement interface provides methods to manipulate <dialog> elements. It inherits properties and methods from the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLDivElement extends HTMLElement
The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements.
The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLDocument extends Document
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLElement extends Element
The HTMLElement interface represents any HTML element.
The HTMLElement interface represents any HTML element. Some elements directly implement this interface, other implement it via an interface that inherit it.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLEmbedElement extends HTMLElement with GetSVGDocument
The HTMLEmbedElement interface, which provides special properties (beyond the regular <htmlelement> interface it also has available to it by inheritance) for manipulating <embed> elements.
The HTMLEmbedElement interface, which provides special properties (beyond the regular <htmlelement> interface it also has available to it by inheritance) for manipulating <embed> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLFieldSetElement extends HTMLElement
The HTMLFieldSetElement interface special properties and methods (beyond the regular HTMLelement interface it also has available to it by inheritance) for manipulating the layout and presentation of field-set elements.
The HTMLFieldSetElement interface special properties and methods (beyond the regular HTMLelement interface it also has available to it by inheritance) for manipulating the layout and presentation of field-set elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
HTMLFormControlsCollection extends HTMLCollection[|[RadioNodeList, Element]]
The HTMLFormControlsCollection interface represents a collection of HTML form control elements.
The HTMLFormControlsCollection 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.
This interface replaces one method from HTMLCollection, on which it is based.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLFormElement extends HTMLElement
The HTMLFormElement interface provides methods to create and modify <form> elements; it inherits from properties and methods of the HTMLElement interface.
The HTMLFormElement interface provides methods to create and modify <form> elements; it inherits from properties and methods of the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLHRElement extends HTMLElement
The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.
The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLHeadElement extends HTMLElement
The HTMLHeadElement interface contains the descriptive information, or metadata, for a document.
The HTMLHeadElement interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLHeadingElement extends HTMLElement
The HTMLHeadingElement interface represents the different heading elements.
The HTMLHeadingElement interface represents the different heading elements. It inherits methods and properties from the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLHtmlElement extends HTMLElement
The HTMLHtmlElement interface serves as the root node for a given HTML document.
The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLIFrameElement extends HTMLElement with GetSVGDocument
The HTMLIFrameElement 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.
The HTMLIFrameElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLImageElement extends HTMLElement
The HTMLImageElement 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 <img> elements.
The HTMLImageElement 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 <img> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLInputElement extends HTMLElement
The HTMLInputElement 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 input elements.
The HTMLInputElement 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 input elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLLIElement extends HTMLElement
The HTMLLIElement interface expose specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
The HTMLLIElement interface expose specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLLabelElement extends HTMLElement
The HTMLLabelElement interface gives access to properties specific to <label> elements.
The HTMLLabelElement interface gives access to properties specific to <label> elements. It inherits from HTMLElement.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLLegendElement extends HTMLElement
The HTMLLegendElement is an interface allowing to access properties of the <legend> elements.
The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLLinkElement extends HTMLElement with LinkStyle
The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa.
The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLMapElement extends HTMLElement
The HTMLMapElement 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.
The HTMLMapElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLMediaElement extends HTMLElement
The HTMLMediaElement interface has special properties and methods (beyond the properties and methods available for all children of HTMLElement), that are common to all media-related objects.
The HTMLMediaElement interface has special properties and methods (beyond the properties and methods available for all children of HTMLElement), that are common to all media-related objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLMenuElement extends HTMLElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLMetaElement extends HTMLElement
The HTMLMetaElement interface contains descriptive metadata about a document.
The HTMLMetaElement interface contains descriptive metadata about a document. Itt inherits all of the properties and methods described in the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLModElement extends HTMLElement
The HTMLModElement 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>.
The HTMLModElement 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>.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLOListElement extends HTMLElement
The HTMLOListElement 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.
The HTMLOListElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLObjectElement extends HTMLElement with GetSVGDocument
The HTMLObjectElement 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.
The HTMLObjectElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLOptGroupElement extends HTMLElement
The HTMLOptGroupElement 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.
The HTMLOptGroupElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLOptionElement extends HTMLElement
The HTMLOptionElement interface represents <option> elements and inherits all classes and methods of the HTMLElement interface.
The HTMLOptionElement interface represents <option> elements and inherits all classes and methods of the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
HTMLOptionsCollection extends HTMLCollection[HTMLOptionElement]
The HTMLOptionsCollection interface represents a collection of
The HTMLOptionsCollection interface represents a collection of
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLParagraphElement extends HTMLElement
The HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements.
The HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLParamElement extends HTMLElement
The HTMLParamElement 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.
The HTMLParamElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLPreElement extends HTMLElement
The HTMLPreElement interface expose specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating block of preformatted text.
The HTMLPreElement interface expose specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating block of preformatted text.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLProgressElement extends HTMLElement
The HTMLProgressElement 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.
The HTMLProgressElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLQuoteElement extends HTMLElement
The HTMLQuoteElement 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.
The HTMLQuoteElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLScriptElement extends HTMLElement
DOM Script objects expose the HTMLScriptElement (or HTML 4 HTMLScriptElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of <script> elements.
DOM Script objects expose the HTMLScriptElement (or HTML 4 HTMLScriptElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of <script> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLSelectElement extends HTMLElement
DOM select elements share all of the properties and methods of other HTML elements described in the element section.
DOM select elements share all of the properties and methods of other HTML elements described in the element section. They also have the specialized interface HTMLSelectElement (or HTML 4 HTMLSelectElement).
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLSourceElement extends HTMLElement
The HTMLSourceElement interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements.
The HTMLSourceElement interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLSpanElement extends HTMLElement
The HTMLSpanElement interface represents a <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
The HTMLSpanElement interface represents a <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLStyleElement extends HTMLElement with LinkStyle
The HTMLStyleElement interface represents a <style> element.
The HTMLStyleElement interface represents a <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
HTMLTableAlignment extends Object
- Annotations
- @JSType() @native()
-
abstract
class
HTMLTableCaptionElement extends HTMLElement
The HTMLTableCaptionElement interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
The HTMLTableCaptionElement interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTableCellElement extends HTMLElement with HTMLTableAlignment
The HTMLTableCellElement 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.
The HTMLTableCellElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTableColElement extends HTMLElement with HTMLTableAlignment
The HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
The HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTableElement extends HTMLElement
The HTMLTableElement 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.
The HTMLTableElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTableRowElement extends HTMLElement with HTMLTableAlignment
The HTMLTableRowElement 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.
The HTMLTableRowElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTableSectionElement extends HTMLElement with HTMLTableAlignment
The HTMLTableSectionElement 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.
The HTMLTableSectionElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTemplateElement extends HTMLElement
The HTMLTemplateElement interface enables access to the contents of an HTML <template> element.
The HTMLTemplateElement interface enables access to the contents of an HTML <template> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTextAreaElement extends HTMLElement
The HTMLTextAreaElement interface, which 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 <textarea> elements.
The HTMLTextAreaElement interface, which 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 <textarea> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTitleElement extends HTMLElement
The HTMLTitleElement interface contains the title for a document.
The HTMLTitleElement interface contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLTrackElement extends HTMLElement
The HTMLTrackElement interface provides access to the properties of <track> elements, as well as methods to manipulate them.
The HTMLTrackElement interface provides access to the properties of <track> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLUListElement extends HTMLElement
The HTMLUListElement 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.
The HTMLUListElement 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLUnknownElement extends HTMLElement
The HTMLUnknownElement interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
The HTMLUnknownElement interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLVideoElement extends HTMLMediaElement
The HTMLVideoElement interface provides special properties and methods for manipulating video objects.
The HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
HashAlgorithm extends Object with Algorithm
A HashAlgorithm type is not defined in the W3C Web Crypto API, even though a KeyAlgorithm dictionary type is.
A HashAlgorithm type is not defined in the W3C Web Crypto API, even though a KeyAlgorithm dictionary type is. There are nevertheless a number of indications that HashAlgorithm's are a type of their own, as searching the spec will show.
- Annotations
- @JSType()
-
type
HashAlgorithmIdentifier = |[HashAlgorithm, String]
According to ¶11 Algorithm Identifier a HashAlgorithmIdentifier is an AlgorithmIdentifier.
According to ¶11 Algorithm Identifier a HashAlgorithmIdentifier is an AlgorithmIdentifier. Here we distinguish between Hash and Key Algorithm Identifiers. At the JS layer these have the same structure.
-
trait
HashChangeEvent extends Event
The hashchange event is fired when the fragment identifier of the URL has changed (the part of the URL that follows the # symbol, including the # symbol).
The hashchange event is fired when the fragment identifier of the URL has changed (the part of the URL that follows the # symbol, including the # symbol).
- Annotations
- @JSType() @native()
-
class
Headers extends Object with Iterable[Array[ByteString]]
¶6.1 Headers Class of whatwg spec
¶6.1 Headers Class of whatwg spec
The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.
For security reasons, some headers can only be controller by the user agent. These headers include the forbidden header names and forbidden response header names.
A Headers object also has an associated guard, which takes a value of immutable, request, request-no-cors, response, or none. This affects whether the set(), delete(), and append() methods will mutate the header. For more information see Guard.
You can retrieve a Headers object via the Request.headers and Response.headers properties, and create a new Headers object using the Headers.Headers() constructor.
- Annotations
- @JSType() @native() @JSGlobal()
-
type
HeadersInit = |[|[Headers, Sequence[Sequence[ByteString]]], OpenEndedDictionary[ByteString]]
defined at ¶6.1 Header Class in whatwg Fetch spec todo: it should be OpenEndedDictionary[ByteString]
-
class
History extends Object
The History interface allows to manipulate the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
The History interface allows to manipulate the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
HkdfCtrParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
HmacImportParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
HmacKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
HmacKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
HttpMethod extends Any
This is not typed in the Fetch API but it is easy to create the most common defaults.
This is not typed in the Fetch API but it is easy to create the most common defaults.
- Annotations
- @JSType() @native()
-
trait
IDBCreateIndexOptions extends Object
- Annotations
- @JSType()
-
trait
IDBCreateObjectStoreOptions extends Object
- Annotations
- @JSType()
-
class
IDBCursor[+S] extends IDBCursorReadOnly[S]
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
The cursor has a source that indicates which index or object store it is iterating. It has a position within the range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an application to asynchronously process all the records in the cursor's range.
- S
The type of
.source
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
IDBCursorDirection extends Any
- Annotations
- @JSType() @native()
-
class
IDBCursorReadOnly[+S] extends Object
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
The cursor has a source that indicates which index or object store it is iterating. It has a position within the range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an application to asynchronously process all the records in the cursor's range.
- S
The type of
.source
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBCursorWithValue[+S] extends IDBCursor[S]
Same as IDBCursor with the
valueproperty.Same as IDBCursor with the
valueproperty.- S
The type of
.source
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBDatabase extends EventTarget
The IDBDatabase interface of the IndexedDB API provides asynchronous access to a connection to a database.
The IDBDatabase interface of the IndexedDB API provides asynchronous access to a connection to a database. Use it to create, manipulate, and delete objects in that database. The interface also provides the only way to get a transaction and manage versions on that database.
Everything you do in IndexedDB always happens in the context of a transaction, representing interactions with data in the database. All objects in IndexedDB—including object stores, indexes, and cursors—are tied to a particular transaction. Thus, you cannot execute commands, access data, or open anything outside of a transaction.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
IDBDatabaseInfo extends Object
- Annotations
- @JSType() @native()
-
class
IDBEvent[+A] extends Event
- A
Type of
.target.result
- Annotations
- @JSType() @native() @JSGlobal( "Event" )
-
class
IDBEventTarget[+A] extends EventTarget
- Annotations
- @JSType() @native() @JSGlobal( "EventTarget" )
-
class
IDBFactory extends Object
The IDBFactory interface of the IndexedDB API lets applications asynchronously access the indexed databases.
The IDBFactory interface of the IndexedDB API lets applications asynchronously access the indexed databases. The object that implements the interface is window.indexedDB. You open — that is, create and access — and delete a database with the object and not directly with IDBFactory. see IDBFactory on MDN
official documentation IDBFactory in w3c spec
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBIndex extends Object with IDBStoreLike[IDBIndex]
The IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database.
The IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
You can retrieve records in an object store through their keys or by using an index (cursors provide a third way: see IDBCursor). An index lets you look up records in an object store using properties of the values in the object stores records.
The index is a persistent key-value storage where the value part of its records is the key part of a record in the referenced object store. The records in an index are automatically populated whenever records in the referenced object store are inserted, updated, or deleted. Each record in an index can point to only one record in its referenced object store, but several indexes can reference the same object store. When the object store changes, all indexes that refers to the object store are automatically updated.
- Annotations
- @JSType() @native() @JSGlobal()
- type IDBKey = Any
-
type
IDBKeyPath = Any
A valid key path can include one of the following: an empty string, a JavaScript identifier, or multiple JavaScript identifiers separated by periods or an array containing any of those.
A valid key path can include one of the following: an empty string, a JavaScript identifier, or multiple JavaScript identifiers separated by periods or an array containing any of those. It cannot include spaces.
- See also
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#key_path
-
class
IDBKeyRange extends Object
The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.
The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys. Records can be retrieved from object stores and indexes using keys or a range of keys. You can limit the range using lower and upper bounds. For example, you can iterate over all values of a key between x and y.
A key range can have a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBObjectStore extends Object with IDBStoreLike[IDBObjectStore]
The IDBObjectStore interface of the IndexedDB API represents an object store in a database.
The IDBObjectStore interface of the IndexedDB API represents an object store in a database. Records within an object store are sorted according to their keys. This sorting enables fast insertion, look-up, and ordered retrieval.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBOpenDBRequest[A] extends IDBRequest[Null, A]
The IDBOpenDBRequest interface of the IndexedDB API provides access to results of requests to open databases using specific event handler attributes.
The IDBOpenDBRequest interface of the IndexedDB API provides access to results of requests to open databases using specific event handler attributes.
- A
Type of
.target.resulton events
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBRequest[+S, A] extends EventTarget
The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.
The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes. Each reading and writing operation on a database is done using a request.
The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance.
- S
Type of
.sourceon events- A
Type of
.target.resulton events
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
IDBRequestReadyState extends Any
- Annotations
- @JSType() @native()
-
trait
IDBStoreLike[S] extends Object
Common members shared between IDBObjectStore and IDBIndex.
Common members shared between IDBObjectStore and IDBIndex.
- S
The type of
.source
- Annotations
- @JSType() @native()
-
class
IDBTransaction extends EventTarget
The IDBTransaction interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.
The IDBTransaction interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes. All reading and writing of data are done within transactions. You actually use IDBDatabase to start transactions and use IDBTransaction to set the mode of the transaction and access an object store and make your request. You can also use it to abort transactions.
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
IDBTransactionDurability extends Any
- Annotations
- @JSType() @native()
-
sealed
trait
IDBTransactionMode extends Any
IndexedDB transaction mode Provides constants for IDB Transaction modes These constants have been removed from browser support and replaced by String values
IndexedDB transaction mode Provides constants for IDB Transaction modes These constants have been removed from browser support and replaced by String values
- Annotations
- @JSType() @native()
-
trait
IDBTransactionOptions extends Object
- Annotations
- @JSType()
- type IDBValue = Any
-
class
IDBVersionChangeEvent extends IDBEvent[IDBDatabase]
The specification has changed and some not up-to-date browsers only support the deprecated unique attribute, version, from an early draft version.
The specification has changed and some not up-to-date browsers only support the deprecated unique attribute, version, from an early draft version.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
IDBVersionChangeEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
ImageBitmap extends Object
The ImageBitmap interface represents a bitmap image which can be drawn to a <canvas> without undue latency.
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. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.
- Annotations
- @JSType() @native()
-
class
ImageCapture extends Object
The ImageCapture interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device referenced through a valid MediaStreamTrack.
The ImageCapture interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device referenced through a valid MediaStreamTrack.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
ImageData extends Object
The ImageData interface represents the underlying pixel data of an area of a <canvas> element.
The ImageData interface represents the underlying pixel data of an area of a <canvas> element. It is created using creators on the CanvasRenderingContext2D object associated with the canvas createImageData() and getImageData()). It can also be used to set a part of the canvas (like with putImageData()).
- Annotations
- @JSType() @native() @JSGlobal()
-
class
InputEvent extends UIEvent
The InputEvent interface represents an event notifying the user of editable content changes.
The InputEvent interface represents an event notifying the user of editable content changes.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
InputEventInit extends Object with UIEventInit
- Annotations
- @JSType()
-
sealed
trait
InputType extends Any
- Annotations
- @JSType() @native()
-
trait
JsonWebKey extends Object
- Annotations
- @JSType() @native()
-
trait
KeyAlgorithm extends Object with Algorithm
The KeyAlgorithm dictionary represents information about the contents of a given CryptoKey object.
The KeyAlgorithm dictionary represents information about the contents of a given CryptoKey object.
See ¶12 KeyAlgorithm dictionary in w3c spec.
- Annotations
- @JSType()
-
type
KeyAlgorithmIdentifier = |[KeyAlgorithm, String]
According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString.According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString. We make this more precise here and distinguish the non overlapping classes of Key and Hash Algorithms. -
sealed
trait
KeyFormat extends Any
see ¶14.2 Data Types in W3C spec
see ¶14.2 Data Types in W3C spec
- Annotations
- @JSType() @native()
-
sealed
trait
KeyType extends Any
see ¶13 CryptoKey interface in W3C doc
see ¶13 CryptoKey interface in W3C doc
- Annotations
- @JSType() @native()
-
sealed
trait
KeyUsage extends Any
See ¶ 13. CryptoKey Interface of w3c spec
See ¶ 13. CryptoKey Interface of w3c spec
- Annotations
- @JSType() @native()
-
class
KeyboardEvent extends UIEvent with ModifierKeyEvent
KeyboardEvent objects describe a user interaction with the keyboard.
KeyboardEvent objects describe a user interaction with the keyboard. Each event describes a key; the event type (keydown, keypress, or keyup) identifies what kind of activity was performed.
Note: The KeyboardEvent indicates just what's happening on a key. When you need to handle text input, use HTML5 input event instead. For example, if user inputs text from hand-writing system like tablet PC, key events may not be fired.
Warning: keypress event is to be deprecated in favor of beforeinput event eventually
W3C
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
KeyboardEventInit extends Object with UIEventInit with ModifierKeyEventInit
- Annotations
- @JSType()
-
trait
LinkStyle extends Object
The LinkStyle interface allows to access the associated CSS style sheet of a node.
The LinkStyle interface allows to access the associated CSS style sheet of a node.
- Annotations
- @JSType() @native()
-
trait
Location extends Object
The Location interface represents the location of the object it is linked to.
The Location interface represents the location 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 Location, accessible via Document.location and Window.location respectively.
- Annotations
- @JSType() @native()
-
sealed
trait
MIMEType extends Any
- Annotations
- @JSType() @native()
-
trait
MediaDeviceInfo extends Object
- Annotations
- @JSType() @native()
-
sealed
trait
MediaDeviceKind extends Any
see https://www.w3.org/TR/2016/CR-mediacapture-streams-20160519/#idl-def-MediaDeviceKind in W3C spec
see https://www.w3.org/TR/2016/CR-mediacapture-streams-20160519/#idl-def-MediaDeviceKind in W3C spec
- Annotations
- @JSType() @native()
-
trait
MediaDevices extends EventTarget
The MediaDevices interface provides access to connected media input devices like cameras and microphones, as well as screen sharing.
The MediaDevices interface provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data.
- Annotations
- @JSType() @native()
-
trait
MediaElementAudioSourceNode extends EventTarget with AudioNode
The MediaElementAudioSourceNode interface represents an audio source consisting of an HTML5 <audio> or <video> element.
The MediaElementAudioSourceNode interface represents an audio source consisting of an HTML5 <audio> or <video> element. It is an AudioNode that acts as an audio source.
A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio.
- Number of inputs: 0
- Number of outputs: 1
- Channel count: defined by the media in the HTMLMediaElement passed to the AudioContext.createMediaElementSource method that created it.
- Annotations
- @JSType() @native()
-
class
MediaError extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
MediaList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MediaQueryList extends Object
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
- Annotations
- @JSType() @native()
-
trait
MediaQueryListListener extends Object
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
- Annotations
- @JSType() @native()
-
class
MediaSource extends EventTarget
Represents a source of media data for an HTMLMediaElement object.
Represents a source of media data for an HTMLMediaElement object.
A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent.
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
MediaSourceReadyState extends Any
- Annotations
- @JSType() @native()
-
class
MediaStream extends EventTarget
The MediaStream
The MediaStream
https://www.w3.org/TR/2016/CR-mediacapture-streams-20160519/
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MediaStreamAudioDestinationNode extends EventTarget with AudioNode
The MediaElementAudioSourceNode interface represents an audio destination consisting of a WebRTC MediaStream with a single AudioMediaStreamTrack, which can be used in a similar way to a MediaStream obtained from Navigator.getUserMedia.
The MediaElementAudioSourceNode interface represents an audio destination consisting of a WebRTC MediaStream with a single AudioMediaStreamTrack, which can be used in a similar way to a MediaStream obtained from Navigator.getUserMedia.
It is an AudioNode that acts as an audio destination, created using the AudioContext.createMediaStreamDestination method.
- Number of inputs: 1
- Number of outputs: 0
- Channel count: 2
- Channel count mode: "explicit"
- Channel count interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
MediaStreamAudioSourceNode extends EventTarget with AudioNode
The MediaStreamAudioSourceNode interface represents an audio source consisting of a WebRTC MediaStream (such as a webcam or microphone).
The MediaStreamAudioSourceNode interface represents an audio source consisting of a WebRTC MediaStream (such as a webcam or microphone). It is an AudioNode that acts as an audio source.
A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaStreamSource method. The amount of channels in the output equals the number of channels in AudioMediaStreamTrack. If there is no valid media stream, then the number of output channels will be one silent channel.
- Number of inputs: 0
- Number of outputs: 1
- Channel count: defined by the AudioMediaStreamTrack passed to the AudioContext.createMediaStreamSource method that created it.
- Annotations
- @JSType() @native()
-
trait
MediaStreamConstraints extends Object
- Annotations
- @JSType()
-
trait
MediaStreamEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
MediaStreamTrack extends EventTarget
- Annotations
- @JSType() @native()
-
class
MediaStreamTrackEvent extends Event
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MediaStreamTrackEventInit extends Object with EventInit
- Annotations
- @JSType()
-
sealed
trait
MediaStreamTrackState extends Any
see https://www.w3.org/TR/2013/WD-mediacapture-streams-20130903/#widl-MediaStream-onended in W3C spec
see https://www.w3.org/TR/2013/WD-mediacapture-streams-20130903/#widl-MediaStream-onended in W3C spec
- Annotations
- @JSType() @native()
-
trait
MediaTrackConstraintSet extends Object
- Annotations
- @JSType()
-
trait
MediaTrackConstraints extends Object with MediaTrackConstraintSet
- Annotations
- @JSType()
-
trait
MediaTrackSettings extends Object
- Annotations
- @JSType()
-
trait
MediaTrackSupportedConstraints extends Object
The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object.
The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints().
- Annotations
- @JSType()
-
class
MessageChannel extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
MessageEvent extends Event
A MessageEvent is sent to clients using WebSockets when data is received from the server.
A MessageEvent is sent to clients using WebSockets when data is received from the server. This is delivered to the listener indicated by the WebSocket object's onmessage attribute.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MessageEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
MessagePort extends EventTarget
The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing sending of messages from one port and listening out for them arriving at the other.
The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing sending of messages from one port and listening out for them arriving at the other.
- Annotations
- @JSType() @native()
-
trait
ModifierKeyEvent extends Object
- Annotations
- @JSType() @native()
-
trait
ModifierKeyEventInit extends Object
- Annotations
- @JSType()
-
class
MouseEvent extends UIEvent with ModifierKeyEvent
The DOM MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse).
The DOM MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse).
Common events using this interface include click, dblclick, mouseup, mousedown. The list of all events using this interface is provided in the Events reference.
MouseEvent derives from UIEvent, which in turn derives from Event.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MouseEventInit extends Object with UIEventInit with ModifierKeyEventInit
- Annotations
- @JSType()
-
class
MutationObserver extends Object
MutationObserver provides developers a way to react to changes in a DOM.
MutationObserver provides developers a way to react to changes in a DOM. It is designed as a replacement for Mutation Events defined in the DOM3 Events specification.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
MutationObserverInit extends Object
MutationObserverInit is an object which can specify the following properties: NOTE: At the very least, childList, attributes, or characterDatamust be set to true.
MutationObserverInit is an object which can specify the following properties: NOTE: At the very least, childList, attributes, or characterDatamust be set to true. Otherwise, "An invalid or illegal string was specified" error is thrown.
- Annotations
- @JSType()
-
trait
MutationRecord extends Object
MutationRecord is the object that will be passed to the observer's callback.
MutationRecord is the object that will be passed to the observer's callback. It has the following properties:
- Annotations
- @JSType() @native()
-
class
NamedNodeMap extends Object
A collection of nodes returned by Node.attributes (also potentially for DocumentType.entities, DocumentType.notations).
A collection of nodes returned by Node.attributes (also potentially for DocumentType.entities, DocumentType.notations). NamedNodeMaps are not in any particular order (unlike NodeList, although they may be accessed by an index as in an array (they may also be accessed with the item method). A NamedNodeMap object are live and will thus be auto-updated if changes are made to their contents internally or elsewhere.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
Navigator extends Object with NavigatorID with NavigatorOnLine with NavigatorContentUtils with NavigatorGeolocation with NavigatorStorageUtils with NavigatorLanguage with NavigatorVibration
The Navigator interface represents the state and the identity of the user agent.
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.
A Navigator object can be retrieved using the read-only Window.navigator property.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
NavigatorContentUtils extends Object
- Annotations
- @JSType() @native()
-
trait
NavigatorGeolocation extends Object
The NavigatorGeolocation interface contains a constructor method allowing objects implementing it to obtain a Geolocation instance.
The NavigatorGeolocation interface contains a constructor method allowing objects implementing it to obtain a Geolocation instance.
There is no object of type NavigatorGeolocation, but some, like Navigator implements it.
- Annotations
- @JSType() @native()
-
trait
NavigatorID extends Object
The NavigatorID interface contains methods and properties related to the identity of the browser.
The NavigatorID interface contains methods and properties related to the identity of the browser.
There is no object of type NavigatorID, but other interfaces, like Navigator or WorkerNavigator, implement it.
- Annotations
- @JSType() @native()
-
trait
NavigatorLanguage extends Object
NavigatorLanguage contains methods and properties related to the language of the navigator.
NavigatorLanguage contains methods and properties related to the language of the navigator.
- Annotations
- @JSType() @native()
-
trait
NavigatorOnLine extends Object
The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.
The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.
- Annotations
- @JSType() @native()
-
trait
NavigatorStorageUtils extends Object
- Annotations
- @JSType() @native()
-
trait
NavigatorVibration extends Object
- Annotations
- @JSType() @native()
-
abstract
class
Node extends EventTarget
A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.
A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.
The following interfaces all inherit from Node its methods and properties: Document, Element, CharacterData (which Text, Comment, and CDATASection inherit), ProcessingInstruction, DocumentFragment, DocumentType, Notation, Entity, EntityReference
These interfaces may return null in particular cases where the methods and properties are not relevant. They may throw an exception - for example when adding children to a node type for which no children can exist.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
NodeFilter extends Object
A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker.
A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker. They don't know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
NodeIterator extends Object
The NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM.
The NodeIterator 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.
A NodeIterator can be created using the Document.createNodeIterator() method.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
NodeList[+T <: Node] extends Object with DOMList[T]
NodeList objects are collections of nodes such as those returned by Node.childNodes and the querySelectorAll method.
NodeList objects are collections of nodes such as those returned by Node.childNodes and the querySelectorAll method.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
NodeSelector extends Object
- Annotations
- @JSType() @native()
-
trait
NonDocumentTypeChildNode extends Object
The NonDocumentTypeChildNode interface contains methods that are particular to Node objects that can have a parent, but not suitable for DocumentType.
The NonDocumentTypeChildNode interface contains methods that are particular to Node objects that can have a parent, but not suitable for DocumentType.
NonDocumentTypeChildNode is a raw interface and no object of this type can be created; it is implemented by Element, and CharacterData objects.
https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode
- Annotations
- @JSType() @native()
-
class
Notification extends EventTarget
The Notification interface allows to notify users of an incoming message or event.
The Notification interface allows to notify users of an incoming message or event.
NOTE: requires permission Note: This feature is available in Web Workers.
- returns
a new Notification
- Annotations
- @JSType() @JSGlobal( "Notification" ) @native()
-
trait
NotificationOptions extends Object
- Annotations
- @JSType()
-
trait
OfflineAudioCompletionEvent extends Event
The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated.
The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface.
- Annotations
- @JSType() @native()
-
class
OfflineAudioContext extends AudioContext
The OfflineAudioContext interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNodes.
The OfflineAudioContext interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer.
It is important to note that, whereas you can create a new AudioContext using the new AudioContext() constructor with no arguments, the new OfflineAudioContext() constructor requires three arguments:
- Annotations
- @JSType() @native() @JSGlobal()
new OfflineAudioContext(numOfChannels, length, sampleRate)This works in exactly the same way as when you create a new AudioBuffer with the AudioContext.createBuffer method. For more detail, read Audio buffers: frames, samples and channels from our Basic concepts guide.
Example: -
class
OffscreenCanvas extends Object
The OffscreenCanvas interface provides a canvas that can be rendered off screen.
The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts.
- Annotations
- @JSType() @native() @JSGlobal()
-
type
OpenEndedDictionary[T] = Dictionary[T]
see ¶6.1 Headers class in whatwg Fetch spec.
see ¶6.1 Headers class in whatwg Fetch spec. also see: issue 164 in Fetch API git repo, as this is not clearly defined
-
trait
OscillatorNode extends EventTarget with AudioNode
The OscillatorNode interface represents a periodic waveform, like a sine wave.
The OscillatorNode interface represents a periodic waveform, like a sine wave. It is an AudioNode audio-processing module that causes a given frequency of sine wave to be created — in effect, a constant tone.
An OscillatorNode is created using the AudioContext.createOscillator method. It always has exactly one output and no inputs, both with the same amount of channels. Its basic property defaults (see AudioNode for definitions) are:
- Number of inputs: 0
- Number of outputs: 1
- Channel count mode: max
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: speakers
- Annotations
- @JSType() @native()
-
trait
PageTransitionEvent extends Event
The PageTransitionEvent is fired when a document is being loaded or unloaded.
The PageTransitionEvent is fired when a document is being loaded or unloaded.
This interface also inherits properties from its parent, Event.
- Annotations
- @JSType() @native()
-
trait
PageVisibility extends Object
The Page Visibility API lets you know when a webpage is visible or in focus.
The Page Visibility API lets you know when a webpage is visible or in focus. With tabbed browsing, there is a reasonable chance that any given webpage is in the background and thus not visible to the user. When the user minimizes the webpage or moves to another tab, the API sends a visibilitychange event regarding the visibility of the page. You can detect the event and perform some actions or behave differently. For example, if your web app is playing a video, it would pause the moment the user looks at another browser, and plays again when the user returns to the tab. The user does not lose their place in the video and can continue watching.
- Annotations
- @JSType() @native()
- See also
Page Visibility (Second Edition) W3C Recommendation 29 October 2013
-
trait
PannerNode extends EventTarget with AudioNode
The PannerNode interface represents the position and behavior of an audio source signal in space.
The PannerNode interface represents the position and behavior of an audio source signal in space. It is an AudioNode audio-processing module describing its position with right-hand Cartesian coordinates, its movement using a velocity vector and its directionality using a directionality cone.
A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels) — you need stereo sound for panning effects!
The PannerNode brings a spatial position and velocity and a directionality for a given signal.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "clamped-max"
- Channel count: 2
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
trait
ParentNode extends Object
The ParentNode interface allows to traverse from an element to its children.
The ParentNode interface allows to traverse from an element to its children.
ParentNode is a raw interface and no object of this type can be created; it is implemented by Element, Document, and DocumentFragment objects.
- Annotations
- @JSType() @native()
-
trait
Pbkdf2Params extends Object with HashAlgorithm
- Annotations
- @JSType()
-
class
Performance extends Object
An object of this type can be obtained by calling the Window.performance read-only attribute.
An object of this type can be obtained by calling the Window.performance read-only attribute.
An object of this type can be obtained by calling the Window.performance read-only attribute.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceEntry extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceMark extends PerformanceEntry
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceMeasure extends PerformanceEntry
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceNavigation extends Object
The PerformanceNavigation interface represents information about how the navigtion to the current document was done.
The PerformanceNavigation interface represents information about how the navigtion to the current document was done.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceResourceTiming extends PerformanceEntry
- Annotations
- @JSType() @native() @JSGlobal()
-
class
PerformanceTiming extends Object
The PerformanceTiming interface represents timing-related performance information for the given page.
The PerformanceTiming interface represents timing-related performance information for the given page.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
PeriodicWave extends Object
The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.
The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.
PeriodicWave has no inputs or outputs; it is used to create custom oscillators via OscillatorNode.setPeriodicWave. The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave.
- Annotations
- @JSType() @native()
-
trait
PermissionDescriptor extends Object
- Annotations
- @JSType()
-
sealed
trait
PermissionName extends Any
- Annotations
- @JSType() @native()
-
sealed
trait
PermissionState extends Any
- Annotations
- @JSType() @native()
-
trait
PermissionStatus extends EventTarget
- Annotations
- @JSType()
-
trait
Permissions extends Object
- Annotations
- @JSType()
-
class
PointerEvent extends MouseEvent
Most of today's web content assumes the user's pointing device will be a mouse.
Most of today's web content assumes the user's pointing device will be a mouse. However, since many devices support other types of pointing input devices, such as pen/stylus and touch surfaces, extensions to the existing pointing device event models are needed and pointer events address that need.
Pointer events are DOM events that are fired for a pointing device. They are designed to create a single DOM event model to handle pointing input devices such as a mouse, pen/stylus or touch (such as one or more fingers). The pointer is a hardware-agnostic device that can target a specific set of screen coordinates. Having a single event model for pointers can simplify creating Web sites and applications and provide a good user experience regardless of the user's hardware. However, for scenarios when device-specific handling is desired, pointer events defines a property to inspect the device type which produced the event.
The events needed to handle generic pointer input are analogous to mouse events (mousedown/pointerdown, mousemove/pointermove, etc.). Consequently, pointer event types are intentionally similar to mouse event types. Additionally, a pointer event contains the usual properties present in mouse events (client coordinates, target element, button states, etc.) in addition to new properties for other forms of input: pressure, contact geometry, tilt, etc. In fact, the PointerEvent interface inherits all of the MouseEvent's properties thus facilitating migrating content from mouse events to pointer events.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
PointerEventInit extends Object with MouseEventInit
- Annotations
- @JSType()
-
trait
PopStateEvent extends Event
- Annotations
- @JSType() @native()
-
trait
Position extends Object
The Position interface represents the position of the concerned device at a given time.
The Position interface represents the position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.
- Annotations
- @JSType() @native()
-
trait
PositionError extends Object
The PositionError interface represents the reason of an error occuring when using the geolocating device.
The PositionError interface represents the reason of an error occuring when using the geolocating device.
- Annotations
- @JSType() @native()
-
class
PositionOptions extends Object
The PositionOptions interface describes the options to use when calling the geolocation backend.
The PositionOptions interface describes the options to use when calling the geolocation backend. The user agent itself doesn't create such an object itself: it is the calling script that create it and use it as a parameter of Geolocation.getCurrentPosition() and Geolocation.watchPosition().
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
ProcessingInstruction extends Node
A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM).
A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM).
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ProgressEvent extends Event
The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>).
The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>).
- Annotations
- @JSType() @native()
-
sealed
trait
PushEncryptionKeyName extends Any
This represents a JavaScript enumeration representing the various keys you an request from a PushSubscription as described here: http://www.w3.org/TR/push-api/#idl-def-PushEncryptionKeyName
This represents a JavaScript enumeration representing the various keys you an request from a PushSubscription as described here: http://www.w3.org/TR/push-api/#idl-def-PushEncryptionKeyName
- Annotations
- @JSType() @native()
-
trait
PushEvent extends ExtendableEvent
The PushEvent interface of the Push API represents a push message that has been received.
The PushEvent interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.
- Annotations
- @JSType() @native()
-
trait
PushManager extends Object
The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
This interface is accessed via the ServiceWorkerRegistration.pushManager property.
The Push API is currently specified here: https://www.w3.org/TR/2018/WD-push-api-20181026/
- Annotations
- @JSType() @native()
-
trait
PushMessageData extends Object
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
Unlike the similar methods in the Fetch API, which only allow the method to be invoked once, these methods can be called multiple times.
- Annotations
- @JSType() @native()
-
trait
PushPermissionDescriptor extends Object with PermissionDescriptor
- Annotations
- @JSType()
-
sealed
trait
PushPermissionState extends Any
This represents a JavaScript enumeration describing the state of permissions for pushing described here: http://www.w3.org/TR/push-api/#idl-def-PushPermissionState
This represents a JavaScript enumeration describing the state of permissions for pushing described here: http://www.w3.org/TR/push-api/#idl-def-PushPermissionState
- Annotations
- @JSType() @native()
-
trait
PushSubscription extends Object
The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service.
The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service.
An instance of this interface can be serialized.
- Annotations
- @JSType() @native()
-
trait
PushSubscriptionJSON extends Object
A PushSubscriptionJSON dictionary represents the JSON type of a PushSubscription.
A PushSubscriptionJSON dictionary represents the JSON type of a PushSubscription. In ECMAScript this can be converted into a JSON string through the JSON.stringify function.
- Annotations
- @JSType() @native()
-
trait
PushSubscriptionOptions extends Object
A PushSubscriptionOptions object represents additional options associated with a push subscription.
A PushSubscriptionOptions object represents additional options associated with a push subscription.
The userVisibleOnly option, when set to true, indicates that the push subscription will only be used for push messages whose effect is made visible to the user, for example by displaying a Web Notification.
The applicationServerKey option defines the public key your application server uses for sending messages to clients via a push server endpoint.
- Annotations
- @JSType()
-
trait
QueuingStrategy[T] extends Object
See ¶7.1. The queuing strategy API
- T
Type of the Chunks returned by the Stream
- Annotations
- @JSType()
-
sealed
trait
RTCBundlePolicy extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#idl-def-RTCBundlePolicy in W3C spec
- Annotations
- @JSType()
-
trait
RTCConfiguration extends Object
- Annotations
- @JSType()
-
trait
RTCDTMFSender extends Object
- Annotations
- @JSType() @native()
-
trait
RTCDataChannel extends EventTarget
The RTCDataChannel interface represents a bi-directional data channel between two peers of a connection.
The RTCDataChannel interface represents a bi-directional data channel between two peers of a connection.
- Annotations
- @JSType() @native()
-
class
RTCDataChannelEvent extends Event
The RTCDataChannelEvent interface represents events that occur while attaching a RTCDataChannel to a RTCPeerConnection.
The RTCDataChannelEvent interface represents events that occur while attaching a RTCDataChannel to a RTCPeerConnection. The only event sent with this interface is datachannel.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
RTCDataChannelEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
RTCDataChannelInit extends Object
- Annotations
- @JSType()
-
sealed
trait
RTCDataChannelState extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#idl-def-RTCDataChannelState in W3C spec
- Annotations
- @JSType()
-
class
RTCIceCandidate extends Object
The RTCIceCandidate interface of the the WebRTC API represents a candidate internet connectivity establishment (ICE) server for establishing an RTCPeerConnection.
The RTCIceCandidate interface of the the WebRTC API represents a candidate internet connectivity establishment (ICE) server for establishing an RTCPeerConnection.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
RTCIceCandidateInit extends Object
- Annotations
- @JSType()
-
sealed
trait
RTCIceConnectionState extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#rtciceconnectionstate-enum in W3C spec
- Annotations
- @JSType()
-
sealed
trait
RTCIceGatheringState extends Any
- Annotations
- @JSType()
-
trait
RTCIceServer extends Object
- Annotations
- @JSType()
-
sealed
trait
RTCIceTransportPolicy extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#idl-def-RTCIceTransportPolicy in W3C spec
- Annotations
- @JSType()
-
trait
RTCIdentityAssertion extends Object
- Annotations
- @JSType()
-
trait
RTCOfferOptions extends Object
- Annotations
- @JSType()
-
class
RTCPeerConnection extends EventTarget
The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer.
The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It is used to handle efficient streaming of data between the two peers.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
RTCPeerConnectionIceEvent extends Event
The RTCPeerConnectionIceEvent interface represents events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection.
The RTCPeerConnectionIceEvent interface represents events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
RTCPeerConnectionIceEventInit extends Object with EventInit
- Annotations
- @JSType()
-
sealed
trait
RTCSdpType extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#idl-def-RTCSdpType in W3C spec
- Annotations
- @JSType()
-
class
RTCSessionDescription extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
RTCSessionDescriptionInit extends Object
- Annotations
- @JSType()
-
sealed
trait
RTCSignalingState extends Any
- Annotations
- @JSType()
-
trait
RTCStats extends Object
- Annotations
- @JSType()
-
trait
RTCStatsReport extends Object
- Annotations
- @JSType() @native()
-
sealed
trait
RTCStatsType extends Any
see https://www.w3.org/TR/2015/WD-webrtc-20150210/#idl-def-RTCStatsType in W3C spec
- Annotations
- @JSType()
-
class
RadioNodeList extends NodeList[Node]
The RadioNodeList interface represents a collection of radio elements in a
The RadioNodeList interface represents a collection of radio elements in a
- Annotations
- @JSType() @native() @JSGlobal()
-
class
Range extends AbstractRange
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes in a given document.
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes in a given document.
A range can be created using the createRange method of the Document object. Range objects can also be retrieved by using the getRangeAt method of the Selection object. There also is the Range() constructor available.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ReadableStream[+T] extends Object
defined at ¶2.1. Readable Streams of whatwg Streams spec.
defined at ¶2.1. Readable Streams of whatwg Streams spec.
- T
Type of the Chunks returned by the Stream. Can't make it coveriant, due to T
- Annotations
- @JSType() @native()
-
class
ReadableStreamController[-T] extends Object
¶3.3 Class ReadableStreamController of whatwg spec
¶3.3 Class ReadableStreamController of whatwg spec
The ReadableStreamController constructor cannot be used directly; it only works on a ReadableStream that is in the middle of being constructed.
- T
Type of the Chunks to be enqueued to the Stream
- Annotations
- @JSType() @native() @JSGlobal()
-
class
ReadableStreamReader[+T] extends Object
See ¶3.4. Class ReadableStreamReader of whatwg streams spec.
See ¶3.4. Class ReadableStreamReader of whatwg streams spec.
The ReadableStreamReader class represents a readable stream reader designed to be vended [sic] by a ReadableStream instance.
The ReadableStreamReader constructor is generally not meant to be used directly; instead, a stream’s getReader() method should be used. This allows different classes of readable streams to vend different classes of readers without the consumer needing to know which goes with which.
- T
Type of the Chunks returned by the Stream
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
ReadableStreamType extends Any
- Annotations
- @JSType() @native()
-
trait
ReadableStreamUnderlyingSource[T] extends Object
See ¶4.2.3. The underlying source API of whatwg streams spec.
See ¶4.2.3. The underlying source API of whatwg streams spec.
- T
Type of the Chunks returned by the Stream
- Annotations
- @JSType()
-
sealed
trait
ReferrerPolicy extends Any
- Annotations
- @JSType() @native()
-
class
Request extends Object with Body
The Request interface of the Fetch API represents a resource request.
The Request interface of the Fetch API represents a resource request.
see ¶6.3 Request Class in whatwg spec
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
RequestCache extends Any
Fetch APIs RequestCache enum
Fetch APIs RequestCache enum
- Annotations
- @JSType() @native()
-
sealed
trait
RequestCredentials extends Any
Fetch APIs RequestCredentials enum
Fetch APIs RequestCredentials enum
- Annotations
- @JSType() @native()
-
sealed
trait
RequestDestination extends Any
Fetch APIs RequestDestination enum
Fetch APIs RequestDestination enum
- Annotations
- @JSType() @native()
-
sealed
trait
RequestDuplex extends Any
Fetch APIs RequestDuplex enum
Fetch APIs RequestDuplex enum
- Annotations
- @JSType() @native()
-
type
RequestInfo = |[String, Request]
defined at ¶6.3 Request class of whatwg Fetch spec
-
trait
RequestInit extends Object
See RequestInit in Fetch API The underlying object is a dictionary.
See RequestInit in Fetch API The underlying object is a dictionary. This trait is here to help encode the types.
- Annotations
- @JSType()
-
sealed
trait
RequestMode extends Any
Fetch API's RequestMode enum
Fetch API's RequestMode enum
- Annotations
- @JSType() @native()
-
sealed
trait
RequestRedirect extends Any
Fetch API's RequestRedirect enum
Fetch API's RequestRedirect enum
- Annotations
- @JSType() @native()
-
sealed
trait
RequestType extends Any
Fetch APIs RequestType enum
Fetch APIs RequestType enum
- Annotations
- @JSType() @native()
-
class
ResizeObserver extends Object
The ResizeObserver constructor creates a new ResizeObserver object, which can be used to report changes to the content or border box of an Element or the bounding box of an SVGElement
The ResizeObserver constructor creates a new ResizeObserver object, which can be used to report changes to the content or border box of an Element or the bounding box of an SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
ResizeObserverBoxOption extends Any
ResizeObserverOptions https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe
ResizeObserverOptions https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe
- Annotations
- @JSType() @native()
-
trait
ResizeObserverEntry extends Object
The ResizeObserverEntry interface represents the object passedto the ResizeObserver() constructor's callback function, which allows you to access the new dimensions of the Element or SVGElement being observed.
The ResizeObserverEntry interface represents the object passedto the ResizeObserver() constructor's callback function, which allows you to access the new dimensions of the Element or SVGElement being observed.
- Annotations
- @JSType() @native()
-
trait
ResizeObserverOptions extends Object
- Annotations
- @JSType()
-
trait
ResizeObserverSize extends Object
- Annotations
- @JSType() @native()
-
class
Response extends Object with Body
¶6.4 Response class in whatwg spec
¶6.4 Response class in whatwg spec
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ResponseInit extends Object
See ¶6.4 Response class definition in whatwg Fetch spec.
See ¶6.4 Response class definition in whatwg Fetch spec.
- Annotations
- @JSType()
-
sealed
trait
ResponseType extends Any
- Annotations
- @JSType() @native()
-
trait
RsaHashedImportParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
RsaHashedKeyAlgorithm extends Object with RsaKeyAlgorithm
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
- Annotations
- @JSType()
-
trait
RsaHashedKeyGenParams extends Object with RsaKeyGenParams
- Annotations
- @JSType()
-
trait
RsaKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
RsaKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType()
-
trait
RsaOaepParams extends Object with Algorithm
- Annotations
- @JSType()
-
trait
RsaOtherPrimesInfo extends Object
- Annotations
- @JSType() @native()
-
trait
RsaPssParams extends Object with Algorithm
- Annotations
- @JSType()
-
abstract
class
SVGAElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired with SVGURIReference
The SVGAElement interface provides access to the properties of <a> elements, as well as methods to manipulate them.
The SVGAElement interface provides access to the properties of <a> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAngle extends Object
The SVGAngle interface correspond to the <angle> basic data type.
The SVGAngle interface correspond to the <angle> basic data type.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedAngle extends Object
The SVGAnimatedAngle interface is used for attributes of basic type <angle> which can be animated.
The SVGAnimatedAngle interface is used for attributes of basic type <angle> which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedBoolean extends Object
The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.
The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedEnumeration extends Object
The SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated.
The SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedInteger extends Object
The SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated.
The SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedLength extends Object
The SVGAnimatedLength interface is used for attributes of basic type <length> which can be animated.
The SVGAnimatedLength interface is used for attributes of basic type <length> which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedLengthList extends Object
The SVGAnimatedLengthList interface is used for attributes of type SVGLengthList which can be animated.
The SVGAnimatedLengthList interface is used for attributes of type SVGLengthList which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedNumber extends Object
The SVGAnimatedNumber interface is used for attributes of basic type <Number> which can be animated.
The SVGAnimatedNumber interface is used for attributes of basic type <Number> which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedNumberList extends Object
The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated.
The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGAnimatedPathData extends Object
- Annotations
- @JSType() @native()
-
trait
SVGAnimatedPoints extends Object
The SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute.
The SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute.
- Annotations
- @JSType() @native()
-
class
SVGAnimatedPreserveAspectRatio extends Object
The SVGAnimatedPreserveAspectRatio interface is used for attributes of type SVGPreserveAspectRatio which can be animated.
The SVGAnimatedPreserveAspectRatio interface is used for attributes of type SVGPreserveAspectRatio which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedRect extends Object
The SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated.
The SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedString extends Object
The SVGAnimatedString interface is used for attributes of type DOMString which can be animated.
The SVGAnimatedString interface is used for attributes of type DOMString which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGAnimatedTransformList extends Object
The SVGAnimatedTransformList interface is used for attributes which take a list of numbers and which can be animated.
The SVGAnimatedTransformList interface is used for attributes which take a list of numbers and which can be animated.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGCircleElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGCircleElement interface provides access to the properties of <circle> elements, as well as methods to manipulate them.
The SVGCircleElement interface provides access to the properties of <circle> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGClipPathElement extends SVGElement with SVGUnitTypes with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGClipPathElement interface provides access to the properties of <clippath> elements, as well as methods to manipulate them.
The SVGClipPathElement interface provides access to the properties of <clippath> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGComponentTransferFunctionElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGDefsElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGDefsElement interface corresponds to the <defs> element.
The SVGDefsElement interface corresponds to the <defs> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGDescElement extends SVGElement with SVGStylable with SVGLangSpace
The SVGDescElement interface corresponds to the <desc> element.
The SVGDescElement interface corresponds to the <desc> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGElement extends Element
All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface.
All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGElementInstance extends EventTarget
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGElementInstanceList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGEllipseElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGEllipseElement interface provides access to the properties of <ellipse> elements, as well as methods to manipulate them.
The SVGEllipseElement interface provides access to the properties of <ellipse> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGException extends Object
- Annotations
- @JSType() @native()
-
trait
SVGExternalResourcesRequired extends Object
- Annotations
- @JSType() @native()
-
abstract
class
SVGFEBlendElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEColorMatrixElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEComponentTransferElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFECompositeElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEConvolveMatrixElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEDiffuseLightingElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEDisplacementMapElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEDistantLightElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEFloodElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEFuncAElement extends SVGComponentTransferFunctionElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEFuncBElement extends SVGComponentTransferFunctionElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEFuncGElement extends SVGComponentTransferFunctionElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEFuncRElement extends SVGComponentTransferFunctionElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEGaussianBlurElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEImageElement extends SVGElement with SVGLangSpace with SVGFilterPrimitiveStandardAttributes with SVGURIReference with SVGExternalResourcesRequired
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEMergeElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEMergeNodeElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEMorphologyElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEOffsetElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFEPointLightElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFESpecularLightingElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFESpotLightElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFETileElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFETurbulenceElement extends SVGElement with SVGFilterPrimitiveStandardAttributes
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGFilterElement extends SVGElement with SVGUnitTypes with SVGStylable with SVGLangSpace with SVGURIReference with SVGExternalResourcesRequired
The SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.
The SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGFilterPrimitiveStandardAttributes extends Object with SVGStylable
- Annotations
- @JSType() @native()
-
trait
SVGFitToViewBox extends Object
- Annotations
- @JSType() @native()
-
abstract
class
SVGGElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGGElement interface corresponds to the <g> element.
The SVGGElement interface corresponds to the <g> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGGradientElement extends SVGElement with SVGUnitTypes with SVGStylable with SVGExternalResourcesRequired with SVGURIReference
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGImageElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired with SVGURIReference
The SVGImageElement interface corresponds to the <image> element.
The SVGImageElement interface corresponds to the <image> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGLangSpace extends Object
- Annotations
- @JSType() @native()
-
class
SVGLength extends Object
The SVGLength interface correspond to the <length> basic data type.
The SVGLength interface correspond to the <length> basic data type.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGLengthList extends Object
The SVGLengthList defines a list of SVGLength objects.
The SVGLengthList defines a list of SVGLength objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGLineElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGLineElement interface provides access to the properties of <line> elements, as well as methods to manipulate them.
The SVGLineElement interface provides access to the properties of <line> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGLinearGradientElement extends SVGGradientElement
The SVGLinearGradientElement interface corresponds to the <lineargradient> element.
The SVGLinearGradientElement interface corresponds to the <lineargradient> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGLocatable extends Object
- Annotations
- @JSType() @native()
-
abstract
class
SVGMarkerElement extends SVGElement with SVGStylable with SVGLangSpace with SVGFitToViewBox with SVGExternalResourcesRequired
The marker element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given <path> , <line> , <polyline> or <polygon> element.
The marker element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given <path> , <line> , <polyline> or <polygon> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGMaskElement extends SVGElement with SVGUnitTypes with SVGStylable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGMaskElement interface provides access to the properties of <mask> elements, as well as methods to manipulate them.
The SVGMaskElement interface provides access to the properties of <mask> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGMatrix extends Object
Many of SVG's graphics operations utilize 2x3 matrices of the form:
Many of SVG's graphics operations utilize 2x3 matrices of the form:
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGMetadataElement extends SVGElement
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGNumber extends Object
The SVGNumber interface correspond to the <number> basic data type.
The SVGNumber interface correspond to the <number> basic data type.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGNumberList extends Object
The SVGNumberList defines a list of SVGNumber objects.
The SVGNumberList defines a list of SVGNumber objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGPathElement extends SVGElement with SVGStylable with SVGAnimatedPathData with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGPathElement interface corresponds to the <path> element.
The SVGPathElement interface corresponds to the <path> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSeg extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegArcAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegArcRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegClosePath extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoCubicAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoCubicRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoQuadraticRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoHorizontalAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoHorizontalRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoVerticalAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegLinetoVerticalRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegMovetoAbs extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPathSegMovetoRel extends SVGPathSeg
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGPatternElement extends SVGElement with SVGUnitTypes with SVGStylable with SVGLangSpace with SVGTests with SVGFitToViewBox with SVGExternalResourcesRequired with SVGURIReference
The SVGPatternElement interface corresponds to the <pattern> element.
The SVGPatternElement interface corresponds to the <pattern> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPoint extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPointList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGPolygonElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGAnimatedPoints with SVGTests with SVGExternalResourcesRequired
The SVGPolygonElement interface provides access to the properties of <polygon> elements, as well as methods to manipulate them.
The SVGPolygonElement interface provides access to the properties of <polygon> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGPolylineElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGAnimatedPoints with SVGTests with SVGExternalResourcesRequired
The SVGPolylineElement interface provides access to the properties of <polyline> elements, as well as methods to manipulate them.
The SVGPolylineElement interface provides access to the properties of <polyline> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGPreserveAspectRatio extends Object
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGRadialGradientElement extends SVGGradientElement
The SVGRadialGradientElement interface corresponds to the <radialgradient> element.
The SVGRadialGradientElement interface corresponds to the <radialgradient> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGRect extends Object
The SVGRect represents rectangular geometry.
The SVGRect represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGRectElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGRectElement interface provides access to the properties of <rect> elements, as well as methods to manipulate them.
The SVGRectElement interface provides access to the properties of <rect> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGSVGElement extends SVGElement with SVGStylable with SVGZoomAndPan with DocumentEvent with SVGLangSpace with SVGLocatable with SVGTests with SVGFitToViewBox with SVGExternalResourcesRequired
The SVGSVGElement interface provides access to the properties of <svg> elements, as well as methods to manipulate them.
The SVGSVGElement interface provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGScriptElement extends SVGElement with SVGExternalResourcesRequired with SVGURIReference
The SVGScriptElement interface corresponds to the SVG <script> element.
The SVGScriptElement interface corresponds to the SVG <script> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGStopElement extends SVGElement with SVGStylable
The SVGStopElement interface corresponds to the <stop> element.
The SVGStopElement interface corresponds to the <stop> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGStringList extends Object
The SVGStringList defines a list of DOMString objects.
The SVGStringList defines a list of DOMString objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGStylable extends Object
The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style, class and presentation attributes specified on them.
The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style, class and presentation attributes specified on them.
- Annotations
- @JSType() @native()
-
abstract
class
SVGStyleElement extends SVGElement with SVGLangSpace
The SVGStyleElement interface corresponds to the SVG <style> element.
The SVGStyleElement interface corresponds to the SVG <style> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGSwitchElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
The SVGSwitchElement interface corresponds to the <switch> element.
The SVGSwitchElement interface corresponds to the <switch> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGSymbolElement extends SVGElement with SVGStylable with SVGLangSpace with SVGFitToViewBox with SVGExternalResourcesRequired
The SVGSymbolElement interface corresponds to the <symbol> element.
The SVGSymbolElement interface corresponds to the <symbol> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGTSpanElement extends SVGTextPositioningElement
The SVGTSpanElement interface provides access to the properties of <tspan> elements, as well as methods to manipulate them.
The SVGTSpanElement interface provides access to the properties of <tspan> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGTests extends Object
Interface SVGTests defines an interface which applies to all elements which have attributes requiredFeatures, requiredExtensions and systemLanguage.
Interface SVGTests defines an interface which applies to all elements which have attributes requiredFeatures, requiredExtensions and systemLanguage.
- Annotations
- @JSType() @native()
-
abstract
class
SVGTextContentElement extends SVGElement with SVGStylable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGTextElement extends SVGTextPositioningElement with SVGTransformable
The SVGTextElement interface corresponds to the <text> elements.
The SVGTextElement interface corresponds to the <text> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGTextPathElement extends SVGTextContentElement with SVGURIReference
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGTextPositioningElement extends SVGTextContentElement
The SVGTextPositioningElement interface is inherited by text-related interfaces: SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement.
The SVGTextPositioningElement interface is inherited by text-related interfaces: SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGTitleElement extends SVGElement with SVGStylable with SVGLangSpace
The SVGTitleElement interface corresponds to the <title> element.
The SVGTitleElement interface corresponds to the <title> element.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGTransform extends Object
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGTransformList extends Object
The SVGTransformList defines a list of SVGTransform objects.
The SVGTransformList defines a list of SVGTransform objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGTransformable extends Object with SVGLocatable
Interface SVGTransformable contains properties and methods that apply to all elements which have attribute transform.
Interface SVGTransformable contains properties and methods that apply to all elements which have attribute transform.
- Annotations
- @JSType() @native()
-
trait
SVGURIReference extends Object
- Annotations
- @JSType() @native()
-
trait
SVGUnitTypes extends Object
- Annotations
- @JSType() @native()
-
abstract
class
SVGUseElement extends SVGElement with SVGStylable with SVGTransformable with SVGLangSpace with SVGTests with SVGExternalResourcesRequired with SVGURIReference
The SVGUseElement interface provides access to the properties of <use> elements, as well as methods to manipulate them.
The SVGUseElement interface provides access to the properties of <use> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
SVGViewElement extends SVGElement with SVGZoomAndPan with SVGFitToViewBox with SVGExternalResourcesRequired
The SVGViewElement interface provides access to the properties of <view> elements, as well as methods to manipulate them.
The SVGViewElement interface provides access to the properties of <view> elements, as well as methods to manipulate them.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SVGZoomAndPan extends Object
- Annotations
- @JSType() @native()
-
trait
SVGZoomEventInit extends Object with UIEventInit
- Annotations
- @JSType()
-
class
Screen extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
sealed
trait
ScrollRestoration extends Any
- Annotations
- @JSType() @native()
-
class
Selection extends Object
Selection is the class of the object returned by window.getSelection() and other methods.
Selection is the class of the object returned by window.getSelection() and other methods. It represents the text selection in the greater page, possibly spanning multiple elements, when the user drags over static text and other parts of the page. For information about text selection in an individual text editing element, see Input, TextArea and document.activeElement which typically return the parent object returned from window.getSelection().
- Annotations
- @JSType() @native() @JSGlobal()
-
type
Sequence[T] = Array[T]
WebIDL sequence<T> is js.Array[T] | JSIterable[T].
WebIDL sequence<T> is js.Array[T] | JSIterable[T]. However @mseddon knows at least Blink's IDL compiler treats these as simply js.Array[T] for now. We keep this type as a reminder to check in more detail
-
trait
ServiceWorker extends EventTarget
The ServiceWorker interface of the ServiceWorker API provides a reference to a service worker.
The ServiceWorker interface of the ServiceWorker API provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.
- Annotations
- @JSType() @native()
-
trait
ServiceWorkerContainer extends EventTarget
The ServiceWorkerContainer interface of the ServiceWorker API exposes the ServiceWorkerContainer.
The ServiceWorkerContainer interface of the ServiceWorker API exposes the ServiceWorkerContainer. register(scriptURL, scope[, base]) method used to register service workers, and the ServiceWorkerContainer. controller property used to determine whether or not the current page is actively controlled.
- Annotations
- @JSType() @native()
-
trait
ServiceWorkerGlobalScope extends EventTarget with WorkerGlobalScope
The ServiceWorkerGlobalScope interface of the ServiceWorker API represents the global execution context of a service worker.
The ServiceWorkerGlobalScope interface of the ServiceWorker API represents the global execution context of a service worker.
Developers should keep in mind that the ServiceWorker.state is not persisted across the termination/restart cycle, so each event handler should assume it's being invoked with a bare, default global state.
Once successfully registered, a service worker can and will be terminated when idle to conserve memory and processor power. An active service worker is automatically restarted to respond to events, such as ServiceWorkerGlobalScope.onfetch or ServiceWorkerGlobalScope.onmessage.
Additionally, synchronous requests are not allowed from within a service worker — only asynchronous requests, like those initiated via the fetch() method, can be used.
- Annotations
- @JSType() @native()
-
trait
ServiceWorkerMessageEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
ServiceWorkerRegistration extends EventTarget
The ServiceWorkerRegistion interface of the ServiceWorker API represents the service worker registration.
The ServiceWorkerRegistion interface of the ServiceWorker API represents the service worker registration. You register a service worker to control one or more pages that share the same origin.
- Annotations
- @JSType() @native()
-
trait
ServiceWorkerRegistrationOptions extends Object
An object containing registration options.
An object containing registration options.
- Annotations
- @JSType()
-
sealed
trait
ServiceWorkerState extends Any
See ¶3.1 ServiceWorker of ServiceWorker whatwg spec.
See ¶3.1 ServiceWorker of ServiceWorker whatwg spec.
- Annotations
- @JSType() @native()
-
sealed
trait
ServiceWorkerUpdateViaCache extends Any
- Annotations
- @JSType() @native()
-
abstract
class
ShadowRoot extends DocumentFragment
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.
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.
You can retrieve a reference to an element's shadow root using its Element.shadowRoot property, provided it was created using Element.attachShadow() with the mode option set to open.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ShadowRootInit extends Object
A ShadowRootInit object represents additional options associated with Element.attachShadow.
A ShadowRootInit object represents additional options associated with Element.attachShadow.
- Annotations
- @JSType()
-
sealed
trait
ShadowRootMode extends Any
- Annotations
- @JSType() @native()
-
class
SharedWorker extends EventTarget with AbstractWorker
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.
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.
- Annotations
- @JSType() @native() @JSGlobal()
var myWorker = new SharedWorker("aURL", name);
Example: -
trait
SharedWorkerGlobalScope extends EventTarget with WorkerGlobalScope
The SharedWorkerGlobalScope object (the SharedWorker global scope) is accessible through the self keyword.
The SharedWorkerGlobalScope 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.
- Annotations
- @JSType() @native()
-
trait
SourceBuffer extends EventTarget
- Annotations
- @JSType() @native()
-
trait
SourceBufferList extends EventTarget
- Annotations
- @JSType() @native()
-
class
StaticRange extends AbstractRange
The DOM StaticRange 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.
The DOM StaticRange 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.
This interface offers the same set of properties and methods as AbstractRange.
AbstractRange and StaticRange are not available from web workers.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
StaticRangeInit extends Object
- Annotations
- @JSType()
-
trait
StereoPannerNode extends EventTarget with AudioNode
The StereoPannerNode interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right.
The StereoPannerNode interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right. It is an AudioNode audio-processing module that positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm.
The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan).
This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode.
- Annotations
- @JSType() @native()
-
class
Storage extends Object
The DOM Storage mechanism is a means through which string key/value pairs can be securely stored and later retrieved for use.
The DOM Storage mechanism is a means through which string key/value pairs can be securely stored and later retrieved for use. The goal of this addition is to provide a comprehensive means through which interactive applications can be built (including advanced abilities, such as being able to work "offline" for extended periods of time).
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
StorageEstimate extends Object
- Annotations
- @JSType() @native()
-
class
StorageEvent extends Event
A StorageEvent is sent to a window when a storage area changes.
A StorageEvent is sent to a window when a storage area changes.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
StorageEventInit extends Object with EventInit
- Annotations
- @JSType()
-
trait
StorageManager extends Object
- Annotations
- @JSType() @native()
-
trait
StyleMedia extends Object
- Annotations
- @JSType() @native()
-
class
StyleSheet extends Object
An object implementing the StyleSheet interface represents a single style sheet.
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
StyleSheetList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
SubtleCrypto extends Object
w3c ¶14 Subtle Crytpo interface
w3c ¶14 Subtle Crytpo interface
The SubtleCrypto interface represents a set of cryptographic primitives. It is available via the Crypto.subtle properties available in a window context (via Window.crypto).
- Annotations
- @JSType() @native()
-
class
Text extends CharacterData
The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
New documents have a single Text node for each block of text. Over time, more Text nodes may be created as the document's content changes. The Node.normalize() method merges adjacent Text objects back into a single node for each block of text.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
TextEvent extends UIEvent
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TextEventInit extends Object with UIEventInit
- Annotations
- @JSType()
-
class
TextMetrics extends Object
The TextMetrics interface represents the dimension of a text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
The TextMetrics interface represents the dimension of a text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TextTrack extends EventTarget
- Annotations
- @JSType() @native()
-
trait
TextTrackCue extends EventTarget
- Annotations
- @JSType() @native()
-
class
TextTrackCueList extends Object with DOMList[TextTrackCue]
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TextTrackList extends Object with DOMList[TextTrack]
- Annotations
- @JSType() @native()
-
sealed
trait
TextTrackMode extends Any
- Annotations
- @JSType() @native()
-
class
TimeRanges extends Object
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements.
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
Touch extends Object
A Touch object represents a single point of contact between the user and a touch-sensitive interface device (which may be, for example, a touchscreen or a trackpad).
A Touch object represents a single point of contact between the user and a touch-sensitive interface device (which may be, for example, a touchscreen or a trackpad).
Note: Many of these values are hardware-dependent; for example, if the device doesn't have a way to detect the amount of pressure placed on the surface, the force value will always be 1.0. This may also be the case for radiusX and radiusY; if the hardware reports only a single point, these values will be 1.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
TouchEvent extends UIEvent with ModifierKeyEvent
A TouchEvent represents an event sent when the state of contacts with a touch-sensitive surface changes.
A TouchEvent represents an event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.
Touches are represented by the Touch object; each touch is described by a position, size and shape, amount of pressure, and target element. Lists of touches are represented by TouchList objects.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TouchEventInit extends Object with UIEventInit with ModifierKeyEventInit
- Annotations
- @JSType()
-
trait
TouchList extends Object with DOMList[Touch]
A TouchList represents a list of all of the points of contact with a touch surface; for example, if the user has three fingers on the screen (or trackpad), the corresponding TouchList would have one Touch object for each finger, for a total of three entries.
A TouchList represents a list of all of the points of contact with a touch surface; for example, if the user has three fingers on the screen (or trackpad), the corresponding TouchList would have one Touch object for each finger, for a total of three entries.
- Annotations
- @JSType() @native()
-
trait
TrackEvent extends Event
- Annotations
- @JSType() @native()
-
type
Transferable = |[|[ArrayBuffer, MessagePort], CanvasProxy]
The Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers.
The Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers.
This is an abstract interface and there isn't any object of this type. It also doesn't define any method or property: it is merely a tag indicating objects that can be used in specific conditions, like to be transfered to a Worker using the Worker.postMessage() method.
-
trait
TransitionEvent extends Event
The TransitionEvent interface represents events providing information related to transitions.
The TransitionEvent interface represents events providing information related to transitions.
- Annotations
- @JSType() @native()
-
class
TreeWalker extends Object
The TreeWalker object represents the nodes of a document subtree and a position within them.
The TreeWalker object represents the nodes of a document subtree and a position within them.
A TreeWalker can be created using the Document.createTreeWalker() method.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TwoDContextAttributes extends Object
- Annotations
- @JSType()
-
class
UIEvent extends Event
The DOM UIEvent represents simple user interface events.
The DOM UIEvent represents simple user interface events.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
UIEventInit extends Object with EventInit
- Annotations
- @JSType()
-
class
URL extends Object
The URL() constructor returns a newly created URL object representing the URL defined by the parameters.
The URL() constructor returns a newly created URL object representing the URL defined by the parameters.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
URLSearchParams extends Object with Iterable[Tuple2[String, String]]
The URLSearchParams defines utility methods to work with the query string of a URL.
The URLSearchParams defines utility methods to work with the query string of a URL.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
ValidityState extends Object
The DOM ValidityState interface represents the validity states that an element can be in, with respect to constraint validation.
The DOM ValidityState 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.
- Annotations
- @JSType() @native()
-
trait
VideoTrack extends Object
- Annotations
- @JSType() @native()
-
trait
VideoTrackList extends EventTarget
- Annotations
- @JSType() @native()
-
sealed
trait
VisibilityState extends Any
- Annotations
- @JSType() @native()
-
trait
WaveShaperNode extends EventTarget with AudioNode
The WaveShaperNode interface represents a non-linear distorter.
The WaveShaperNode interface represents a non-linear distorter. It is an AudioNode that uses a curve to apply a wave shaping distortion to the signal. Beside obvious distortion effects, it is often used to add a warm feeling to the signal.
A WaveShaperNode always has exactly one input and one output.
- Number of inputs: 1
- Number of outputs: 1
- Channel count mode: "max"
- Channel count: 2 (not used in the default count mode)
- Channel interpretation: "speakers"
- Annotations
- @JSType() @native()
-
class
WebGLActiveInfo extends Object
Holds information returned by WebGLRenderingContext#getActiveAttrib and WebGLRenderingContext#getActiveUniform.
Holds information returned by WebGLRenderingContext#getActiveAttrib and WebGLRenderingContext#getActiveUniform.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLBuffer extends Object
An opaque type representing a WebGL buffer.
An opaque type representing a WebGL buffer.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLContextAttributes extends Object
Contains drawing surface attributes.
Contains drawing surface attributes.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLFramebuffer extends Object
An opaque type representing a WebGL framebuffer.
An opaque type representing a WebGL framebuffer.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLProgram extends Object
An opaque type representing a WebGL program.
An opaque type representing a WebGL program.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLRenderbuffer extends Object
An opaque type representing a WebGL renderbuffer.
An opaque type representing a WebGL renderbuffer.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLRenderingContext extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLShader extends Object
An opaque type representing a WebGL shader.
An opaque type representing a WebGL shader.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLShaderPrecisionFormat extends Object
Represents information about the implementation's precision for given parameters.
Represents information about the implementation's precision for given parameters. See WebGLRenderingContext#getShaderPrecisionFormat.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLTexture extends Object
An opaque type representing a WebGL texture.
An opaque type representing a WebGL texture.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebGLUniformLocation extends Object
An opaque type representing a WebGL uniform location.
An opaque type representing a WebGL uniform location.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WebSocket extends EventTarget
The WebSocket 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.
The WebSocket 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.
- Annotations
- @JSType() @native() @JSGlobal()
-
class
WheelEvent extends MouseEvent
The DOM WheelEvent represents events that occur due to the user moving a mouse wheel or similar input device.
The DOM WheelEvent represents events that occur due to the user moving a mouse wheel or similar input device.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WheelEventInit extends Object with MouseEventInit
- Annotations
- @JSType()
-
class
Window extends EventTarget with WindowLocalStorage with WindowSessionStorage with WindowOrWorkerGlobalScope with WindowConsole
The window object represents the window itself.
The window object represents the window itself. The document property of a window points to the DOM document loaded in that window. A window for a given document can be obtained using the document.defaultView property.
In a tabbed browser, such as Firefox, each tab contains its own window object (and if you're writing an extension, the browser window itself is a separate window too - see Working with windows in chrome code for more information). That is, the window object is not shared between tabs in the same window. Some methods, namely window.resizeTo and window.resizeBy apply to the whole window and not to the specific tab the window object belongs to. Generally, anything that can't reasonably pertain to a tab pertains to the window instead.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WindowBase64 extends Object
- Annotations
- @JSType() @native()
-
trait
WindowClient extends Object with Client
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker.
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
- Annotations
- @JSType() @native()
-
trait
WindowConsole extends Object
- Annotations
- @JSType() @native()
-
trait
WindowLocalStorage extends Object
- Annotations
- @JSType() @native()
-
trait
WindowOrWorkerGlobalScope extends Object with WindowBase64 with WindowTimers
The WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope interfaces.
The WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope interfaces.
Note: WindowOrWorkerGlobalScope is a mixin and not an interface; you can't actually create an object of type WindowOrWorkerGlobalScope.
- Annotations
- @JSType() @native()
-
trait
WindowSessionStorage extends Object
- Annotations
- @JSType() @native()
-
trait
WindowTimers extends Object
- Annotations
- @JSType() @native()
-
class
Worker extends EventTarget with AbstractWorker
The Worker interface represents a background task that can be easily created and can send messages back to their creators.
The Worker interface represents a background task that can be easily created and can send messages back to their creators. Creating a worker is as simple as calling the Worker() constructor, specifying a script to be run in the worker thread.
Of note is the fact that workers may in turn spawn new workers as long as those workers are hosted within the same origin as the parent page. In addition, workers may use XMLHttpRequest for network I/O, with the exception that the responseXML and channel attributes on XMLHttpRequest always return null.
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WorkerGlobalScope extends EventTarget with WindowOrWorkerGlobalScope
The WorkerGlobalScope interface of the Web Workers API is an interface representing the scope of any worker.
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 WorkerGlobalScope has its own event loop.
This interface is usually specialized by each worker type: DedicatedWorkerGlobalScope for dedicated workers, SharedWorkerGlobalScope for shared workers, and ServiceWorkerGlobalScope for ServiceWorker. The self property returns the specialized scope for each context.
- Annotations
- @JSType() @native()
-
trait
WorkerLocation extends Object
The WorkerLocation interface defines the absolute location of the script executed by the Worker.
The WorkerLocation 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 window.self.location.
- Annotations
- @JSType() @native()
-
trait
WorkerNavigator extends Object with NavigatorID with NavigatorOnLine with NavigatorLanguage
The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
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 window.self.navigator
- Annotations
- @JSType() @native()
-
trait
WorkerOptions extends Object
- Annotations
- @JSType()
-
sealed
trait
WorkerType extends Any
- Annotations
- @JSType() @native()
-
sealed
trait
WriteableState extends Any
¶4.2.4.3. get state of whatwg streams spec
¶4.2.4.3. get state of whatwg streams spec
- Annotations
- @JSType() @native()
-
trait
WriteableStream[-T] extends Object
¶4.2. Class WritableStream of whatwg Stream spec
¶4.2. Class WritableStream of whatwg Stream spec
todo: the constructor
- T
Type of the Chunks to be written to the Stream
- Annotations
- @JSType() @native()
-
class
XMLHttpRequest extends EventTarget
XMLHttpRequest is a JavaScript object that was designed by Microsoft and adopted by Mozilla, Apple, and Google.
XMLHttpRequest is a JavaScript object that was designed by Microsoft and adopted by Mozilla, Apple, and Google. It's now being standardized in the W3C. It provides an easy way to retrieve data from a URL without having to do a full page refresh. A Web page can update just a part of the page without disrupting what the user is doing. XMLHttpRequest is used heavily in AJAX programming.
Despite its name, XMLHttpRequest can be used to retrieve any type of data, not just XML, and it supports protocols other than HTTP (including file and ftp).
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
XMLHttpRequestEventTarget extends EventTarget
XMLHttpRequestEventTarget is the interface that describes the event handlers you can implement in an object that will handle events for an XMLHttpRequest.
XMLHttpRequestEventTarget is the interface that describes the event handlers you can implement in an object that will handle events for an XMLHttpRequest.
- Annotations
- @JSType() @native()
-
class
XMLSerializer extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
XPathNSResolver extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
XPathResult extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
type
ClientRect = DOMRect
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use DOMRect instead
-
type
ClientRectList = DOMRectList
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use DOMRectList instead
-
trait
IDBEnvironment extends Object
The IDBEvironment interface of the IndexedDB API provides asynchronous access to a client-side database.
The IDBEvironment interface of the IndexedDB API provides asynchronous access to a client-side database. It is implemented by window and Worker objects.
- Annotations
- @JSType() @deprecated @native()
- Deprecated
(Since version 1.2.0) Removed. 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 https://developer.mozilla.org/en-US/docs/Web/API/IDBEnvironment
-
type
NodeListOf[+T <: Node] = NodeList[T]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use NodeList[T] instead
Value Members
-
val
console: Console
- Annotations
- @native() @JSGlobal( "console" )
-
val
document: dom.html.Document
- Annotations
- @native() @JSGlobal( "document" )
-
def
fetch(info: RequestInfo, init: RequestInit = null): Promise[Response]
- Annotations
- @native() @JSGlobal( "fetch" )
-
val
webcrypto: Crypto
This is the same as
cryptoin JS.This is the same as
cryptoin JS.To maintain backwards-source-compatibility with scala-js-dom v1,
cryptoin scala-js-dom is retained as a package object.- Annotations
- @native() @JSGlobal( "crypto" )
-
val
window: Window
- Annotations
- @native() @JSGlobal( "window" )
- object AesCbcParams
- object AesCfbParams
- object AesCmacParams
- object AesCtrParams
- object AesDerivedKeyParams
- object AesGcmParams
- object AesKeyAlgorithm
- object AesKeyGenParams
- object AppendMode
-
object
ApplicationCache extends Object
- Annotations
- @native() @JSGlobal()
-
object
Blob extends Object
- Annotations
- @native() @JSGlobal()
-
object
CSS extends Object
- Annotations
- @native() @JSGlobal()
-
object
CSSRule extends Object
- Annotations
- @native() @JSGlobal()
- object ClientType
- object ConcatParams
-
object
DOMException extends Object
- Annotations
- @native() @JSGlobal()
- object DOMList
-
object
DedicatedWorkerGlobalScope extends Object
- Annotations
- @native() @JSGlobalScope()
- object DhImportKeyParams
- object DhKeyAlgorithm
- object DhKeyDeriveParams
- object DhKeyGenParams
- object DocumentReadyState
-
object
DragEffect
When dragging, there are several operations that may be performed.
When dragging, there are several operations that may be performed. The copy operation is used to indicate that the data being dragged will be copied from its present location to the drop location. The move operation is used to indicate that the data being dragged will be moved, and the link operation is used to indicate that some form of relationship or connection will be created between the source and drop locations.
You can specify which of the three operations are allowed for a drag source by setting the
effectAllowedproperty within adragstartevent listener.Note that these values must be used exactly as defined below.
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Drag_operations#drageffects
- object EcKeyAlgorithm
- object EcKeyGenParams
- object EcKeyImportParams
- object EcdhKeyDeriveParams
- object EcdsaParams
- object EndOfStreamError
- object EndingType
-
object
Event extends Object
- Annotations
- @native() @JSGlobal()
-
object
EventException extends Object
- Annotations
- @native() @JSGlobal()
-
object
EventSource extends Object
- Annotations
- @native() @JSGlobal()
-
object
Fetch extends Object
- Annotations
- @native() @JSGlobalScope()
-
object
FileReader extends Object
- Annotations
- @native() @JSGlobal()
-
object
FormData extends Object
- Annotations
- @native() @JSGlobal()
-
object
FrameType
part of ServiceWorker ¶4.2.2 frameType of serviceWorker spec
- object GamepadMappingType
-
object
HTMLMediaElement extends Object
- Annotations
- @native() @JSGlobal()
- object HashAlgorithm
- object HkdfCtrParams
- object HmacImportParams
- object HmacKeyAlgorithm
- object HmacKeyGenParams
- object HttpMethod
- object IDBCursorDirection
-
object
IDBKeyRange extends Object
- Annotations
- @native() @JSGlobal()
- object IDBRequestReadyState
- object IDBTransactionDurability
- object IDBTransactionMode
- object IDBVersionChangeEvent
- object InputType
-
object
KeyCode
A list of the codes returned by KeyEvents.
- object KeyFormat
-
object
KeyLocation
Aliases for DOM_KEY_LOCATION_* constants from KeyboardEvent
- object KeyType
- object KeyUsage
-
object
KeyValue
The KeyboardEvent.key attribute of an event must always contain one of these control key or character values (even if the value is 'Unidentified').
The KeyboardEvent.key attribute of an event must always contain one of these control key or character values (even if the value is 'Unidentified').
If the key represents one of the set of printable control characters which has a Unicode character entry, such as the tab key, the KeyboardEvent.key attribute must have the key value (e.g., 'Tab').
Implementations that are unable to identify a key must use the key value 'Unidentified'.
Taken from http://www.w3.org/TR/DOM-Level-3-Events/#keys-special
-
object
KeyboardEvent extends Object
- Annotations
- @native() @JSGlobal()
- object MIMEType
- object MediaDeviceKind
-
object
MediaError extends Object
- Annotations
- @native() @JSGlobal()
-
object
MediaSource extends Object
- Annotations
- @native() @JSGlobal()
- object MediaSourceReadyState
- object MediaStreamTrackState
- object NamedNodeMap
-
object
Node extends Object
- Annotations
- @native() @JSGlobal()
-
object
NodeFilter extends Object
- Annotations
- @native() @JSGlobal()
-
object
Notification extends Object
Implicit imports for the notification api.
Implicit imports for the notification api.
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API
- Annotations
- @native() @JSGlobal()
- object Pbkdf2Params
-
object
PerformanceNavigation extends Object
- Annotations
- @native() @JSGlobal()
- object PermissionName
- object PermissionState
-
object
PositionError extends Object
- Annotations
- @native() @JSGlobal()
-
object
PushEncryptionKeyName
Static definitions for PushEncryptionKeyName
-
object
PushPermissionState
Static definitions for PushPermissionState
- object RTCBundlePolicy
- object RTCDataChannelState
- object RTCIceConnectionState
- object RTCIceGatheringState
- object RTCIceTransportPolicy
- object RTCSdpType
- object RTCSignalingState
- object RTCStatsType
-
object
Range extends Object
- Annotations
- @native() @JSGlobal()
- object ReadableStream
- object ReadableStreamType
- object ReferrerPolicy
- object RequestCache
- object RequestCredentials
- object RequestDestination
- object RequestDuplex
- object RequestMode
- object RequestRedirect
- object RequestType
- object ResizeObserverBoxOption
-
object
Response extends Object
static methods associated with a Response object in ¶6.4 Response class of whatwg Fetch spec.
static methods associated with a Response object in ¶6.4 Response class of whatwg Fetch spec.
- Annotations
- @native() @JSGlobal()
-
object
ResponseType
see https://fetch.spec.whatwg.org/#responsetype of whatwg Fetch spec
- object RsaHashedImportParams
- object RsaHashedKeyAlgorithm
- object RsaHashedKeyGenParams
- object RsaKeyAlgorithm
- object RsaKeyGenParams
- object RsaOaepParams
- object RsaPssParams
-
object
SVGAngle extends Object
The SVGAngle interface correspond to the <angle> basic data type.
The SVGAngle interface correspond to the <angle> basic data type.
- Annotations
- @native() @JSGlobal()
-
object
SVGComponentTransferFunctionElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGException extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFEBlendElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFEColorMatrixElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFECompositeElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFEConvolveMatrixElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFEDisplacementMapElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFEMorphologyElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGFETurbulenceElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGGradientElement extends Object
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
- Annotations
- @native() @JSGlobal()
-
object
SVGLength extends Object
The SVGLength interface correspond to the <length> basic data type.
The SVGLength interface correspond to the <length> basic data type.
- Annotations
- @native() @JSGlobal()
-
object
SVGMarkerElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGPathSeg extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGPreserveAspectRatio extends Object
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
- Annotations
- @native() @JSGlobal()
-
object
SVGTextContentElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGTextPathElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGTransform extends Object
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
- Annotations
- @native() @JSGlobal()
-
object
SVGUnitTypes extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGZoomAndPan extends Object
- Annotations
- @native() @JSGlobal()
-
object
ScrollRestoration
see https://html.spec.whatwg.org/multipage/history.html#the-history-interface which contains the spec for ScrollRestoration
-
object
ServiceWorkerGlobalScope extends Object
- Annotations
- @native() @JSGlobalScope()
- object ServiceWorkerState
- object ServiceWorkerUpdateViaCache
- object ShadowRootMode
- object SharedWorker
-
object
SharedWorkerGlobalScope extends Object
- Annotations
- @native() @JSGlobalScope()
-
object
TextEvent extends Object
- Annotations
- @native() @JSGlobal()
-
object
TextTrack extends Object
- Annotations
- @native() @JSGlobal()
- object TextTrackMode
-
object
URL extends Object
The URL object provides static methods used for creating object URLs.
The URL object provides static methods used for creating object URLs.
- Annotations
- @native() @JSGlobal()
- object VisibilityState
-
object
WebGLRenderingContext
WebGLRenderingContext objects expose the WebGLRenderingContext interface, the principal interface in WebGL which provides special properties and methods to manipulate the 3D content rendered in an HTML canvas element.
-
object
WebSocket extends Object
- Annotations
- @native() @JSGlobal()
-
object
WheelEvent extends Object
- Annotations
- @native() @JSGlobal()
- object WindowOrWorkerGlobalScope
- object WorkerType
- object WriteableState
-
object
XMLHttpRequest extends Object
- Annotations
- @native() @JSGlobal()
-
object
XPathResult extends Object
- Annotations
- @native() @JSGlobal()
-
object
html
Short aliases of all the dom.HTMLThing classes
-
object
idb
Short aliases of all the dom.IDBThing classes
-
object
svg
Short aliases of all the dom.SVGThing classes
Deprecated Value Members
-
lazy val
css: DeprecatedCSSAliases.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) directly use the dom.CSS* types and values instead
-
object
BlobPropertyBag
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of BlobPropertyBag are deprecated
-
object
DeprecatedCSSAliases
Short aliases of all the dom.CSSThing classes
Short aliases of all the dom.CSSThing classes
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) directly use the dom.CSS* types and values instead
-
object
MediaDeviceInfo
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of MediaDeviceInfo are deprecated
-
object
MediaStreamConstraints
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of MediaStreamConstraints are deprecated
-
object
MediaStreamTrack
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of MediaStreamTrack are deprecated
-
object
MediaTrackConstraintSet
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of MediaTrackConstraintSet are deprecated
-
object
MediaTrackConstraints
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of MediaTrackConstraints are deprecated
-
object
MutationObserverInit
Factory for MutationObserverInit objects.
Factory for MutationObserverInit objects.
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of MutationObserverInit are deprecated
-
object
NotificationOptions
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of NotificationOptions are deprecated
-
object
PermissionDescriptor
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of PermissionDescriptor are deprecated
-
object
PushPermissionDescriptor
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all the members of PushPermissionDescriptor are deprecated
-
object
RTCConfiguration
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCConfiguration are deprecated
-
object
RTCDataChannelInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCDataChannelInit are deprecated
-
object
RTCIceCandidateInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCIceCandidateInit are deprecated
-
object
RTCIceServer
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCIceServer are deprecated
-
object
RTCIdentityAssertion
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCPeerConnection are deprecated
-
object
RTCOfferOptions
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCOfferOptions are deprecated
-
object
RTCSessionDescriptionInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) all members of RTCSessionDescriptionInit are deprecated
-
object
raw
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) All the members of raw.* have been moved to dom.*
-
object
webworkers
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) All the members of webworkers.* have been moved to dom.*