package raw
- Alphabetic
- By Inheritance
- raw
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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()
-
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.
A Blob object represents a file-like object of immutable, raw data. Blobs 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.
An easy way to construct a Blob is by invoking the Blob constuctor. Another way is to use the slice() method to create a blob that contains a subset of another blob's data.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
BlobPropertyBag extends Object
- Annotations
- @JSType() @native()
-
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.
MDN
- 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
@@keyframes
at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE).MDN
- 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
@@keyframes
at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSMediaRule extends CSSRule
CSSMediaRule is an object representing a single CSS
@media
rule.CSSMediaRule is an object representing a single CSS
@media
rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSNamespaceRule extends CSSRule
The CSSNamespaceRule interface describes an object representing a single CSS
@@namespace
at-rule.The CSSNamespaceRule interface describes an object representing a single CSS
@@namespace
at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
CSSPageRule extends CSSRule
CSSPageRule is an object representing a single CSS
@page
rule.CSSPageRule is an object representing a single CSS
@page
rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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).
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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:
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
ClientRect extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
class
ClientRectList extends Object with DOMList[ClientRect]
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
CompositionEventInit extends Object with UIEventInit
- 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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DOMList[T] extends Object
- Annotations
- @JSType() @native()
-
class
DOMParser extends Object
DOMParser can parse XML or HTML source stored in a string into a DOM Document.
DOMParser can parse XML or HTML source stored in a string into a DOM Document. DOMParser is specified in DOM Parsing and Serialization.
Note that XMLHttpRequest supports parsing XML and HTML from URL-addressable resources.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
DOMSettableTokenList extends Object with DOMTokenList
- Annotations
- @JSType() @native()
-
trait
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).
MDN
- Annotations
- @JSType() @native()
-
trait
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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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()
-
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).
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
DocumentType extends Node
The DocumentType interface represents a Node containing a doctype.
The DocumentType interface represents a Node containing a doctype.
MDN
- 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()
-
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
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.
MDN
- 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.
MDN
- 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.
MDN
- 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()
-
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
External extends Object
- Annotations
- @JSType() @native()
-
abstract
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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
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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLCollection extends Object with DOMList[Element]
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
abstract
class
HTMLHtmlElement extends HTMLElement
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.
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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>.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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).
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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).
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBCursor 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBCursorWithValue extends IDBCursor
Same as IDBCursor with the value property.
Same as IDBCursor with the value property.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- Annotations
- @JSType() @native()
-
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
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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:
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBObjectStore extends Object
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBOpenDBRequest extends IDBRequest
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBRequest 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
IDBVersionChangeEvent extends Event
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
IDBVersionChangeEventInit extends Object with EventInit
- Annotations
- @JSType()
-
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()).
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native()
-
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()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native()
-
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:
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
Navigator extends Object with NavigatorID with NavigatorOnLine with NavigatorContentUtils with NavigatorGeolocation with NavigatorStorageUtils with NavigatorLanguage
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native()
-
trait
NavigatorStorageUtils 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
NodeList extends Object with DOMList[Node]
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
NodeListOf[TNode <: Node] extends Object with DOMList[TNode]
- Annotations
- @JSType() @native()
-
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()
-
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: -
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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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().
MDN
- 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).
MDN
- 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>).
MDN
- Annotations
- @JSType() @native()
-
class
Range extends Object
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGLengthList extends Object
The SVGLengthList defines a list of SVGLength objects.
The SVGLengthList defines a list of SVGLength objects.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGLinearGradientElement extends SVGGradientElement
The SVGLinearGradientElement interface corresponds to the <lineargradient> element.
The SVGLinearGradientElement interface corresponds to the <lineargradient> element.
MDN
- 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.
MDN
- 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.
MDN
- 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:
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGNumberList extends Object
The SVGNumberList defines a list of SVGNumber objects.
The SVGNumberList defines a list of SVGNumber objects.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGRadialGradientElement extends SVGGradientElement
The SVGRadialGradientElement interface corresponds to the <radialgradient> element.
The SVGRadialGradientElement interface corresponds to the <radialgradient> element.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGStringList extends Object
The SVGStringList defines a list of DOMString objects.
The SVGStringList defines a list of DOMString objects.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
SVGTransformList extends Object
The SVGTransformList defines a list of SVGTransform objects.
The SVGTransformList defines a list of SVGTransform objects.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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()
-
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().
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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).
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
StorageEventInit extends Object with EventInit
- Annotations
- @JSType()
-
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
StyleSheetList extends Object
- Annotations
- @JSType() @native() @JSGlobal()
-
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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TextTrack extends EventTarget
- Annotations
- @JSType() @native()
-
trait
TextTrackCue extends EventTarget
- Annotations
- @JSType() @native()
-
trait
TextTrackCueList extends Object with DOMList[TextTrackCue]
- Annotations
- @JSType() @native()
-
trait
TextTrackList extends Object with DOMList[TextTrack]
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TouchEventInit extends Object with UIEventInit with ModifierKeyEventInit
- Annotations
- @JSType()
-
class
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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
TrackEvent extends Event
- Annotations
- @JSType() @native()
-
type
Transferable = |[ArrayBuffer, MessagePort]
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.
MDN
-
trait
TransitionEvent extends Event
The TransitionEvent interface represents events providing information related to transitions.
The TransitionEvent interface represents events providing information related to transitions.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
class
UIEvent extends Event
The DOM UIEvent represents simple user interface events.
The DOM UIEvent represents simple user interface events.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
UIEventInit extends Object with EventInit
- Annotations
- @JSType()
-
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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WheelEventInit extends Object with MouseEventInit
- Annotations
- @JSType()
-
class
Window extends EventTarget with WindowLocalStorage with WindowSessionStorage with WindowTimers with WindowBase64 with IDBEnvironment 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WindowBase64 extends Object
- Annotations
- @JSType() @native()
-
trait
WindowConsole extends Object
- Annotations
- @JSType() @native()
-
trait
WindowLocalStorage extends Object
- 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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
-
trait
WorkerGlobalScope extends EventTarget
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.
MDN
- 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.
MDN
- 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
MDN
- 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).
MDN
- 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.
MDN
- 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()
Value Members
-
object
ApplicationCache extends Object
- Annotations
- @native() @JSGlobal()
-
object
Blob extends Object
- Annotations
- @native() @JSGlobal()
- object BlobPropertyBag
-
object
CSSRule extends Object
- Annotations
- @native() @JSGlobal()
-
object
DOMException extends Object
- Annotations
- @native() @JSGlobal()
-
object
DedicatedWorkerGlobalScope extends Object
- Annotations
- @native() @JSGlobalScope()
-
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
effectAllowed
property within adragstart
event 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
Event extends Object
- Annotations
- @native() @JSGlobal()
-
object
EventException extends Object
- Annotations
- @native() @JSGlobal()
-
object
EventSource extends Object
- Annotations
- @native() @JSGlobal()
-
object
FileReader extends Object
- Annotations
- @native() @JSGlobal()
-
object
FormData extends Object
- Annotations
- @native() @JSGlobal()
-
object
HTMLMediaElement extends Object
- Annotations
- @native() @JSGlobal()
-
object
IDBCursor extends Object
- Annotations
- @native() @JSGlobal()
-
object
IDBKeyRange extends Object
- Annotations
- @native() @JSGlobal()
-
object
IDBTransaction extends Object
- Annotations
- @native() @JSGlobal()
-
object
KeyboardEvent extends Object
- Annotations
- @native() @JSGlobal()
-
object
MediaError extends Object
- Annotations
- @native() @JSGlobal()
-
object
MutationObserverInit
Factory for MutationObserverInit objects.
-
object
Node extends Object
- Annotations
- @native() @JSGlobal()
-
object
NodeFilter extends Object
- Annotations
- @native() @JSGlobal()
-
object
PerformanceNavigation extends Object
- Annotations
- @native() @JSGlobal()
-
object
PositionError extends Object
- Annotations
- @native() @JSGlobal()
-
object
Range extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGAngle extends Object
The SVGAngle interface correspond to the <angle> basic data type.
The SVGAngle interface correspond to the <angle> basic data type.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- 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.
MDN
- Annotations
- @native() @JSGlobal()
-
object
SVGUnitTypes extends Object
- Annotations
- @native() @JSGlobal()
-
object
SVGZoomAndPan extends Object
- Annotations
- @native() @JSGlobal()
-
object
TextEvent extends Object
- Annotations
- @native() @JSGlobal()
-
object
TextTrack extends Object
- Annotations
- @native() @JSGlobal()
-
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.
MDN
- 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.
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.
MDN
-
object
WebSocket extends Object
- Annotations
- @native() @JSGlobal()
-
object
WheelEvent extends Object
- Annotations
- @native() @JSGlobal()
-
object
XMLHttpRequest extends Object
- Annotations
- @native() @JSGlobal()
-
object
XPathResult extends Object
- Annotations
- @native() @JSGlobal()