Our volunteers haven't translated this article into Српски yet. Join us and help get the job done!
You can also read the article in English (US).

Found 4642 pages:

# Page Tags and summary
1 Web APIs API, DOM, JavaScript, Landing, Reference, Web
When writing code for the Web, there are a great many APIs available. Below is a list of all the APIs and interfaces (object types) that you may be able to use while developing your Web app or site.
2 ANGLE_instanced_arrays API, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
3 ANGLE_instanced_arrays.drawArraysInstancedANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.drawArraysInstancedANGLE() method of the WebGL API renders primitives from array data like the gl.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
4 ANGLE_instanced_arrays.drawElementsInstancedANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.drawElementsInstancedANGLE() method of the WebGL API renders primitives from array data like the gl.drawElements() method. In addition, it can execute multiple instances of a set of elements.
5 ANGLE_instanced_arrays.vertexAttribDivisorANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.vertexAttribDivisorANGLE() method of the WebGL API  modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ext.drawArraysInstancedANGLE() and ext.drawElementsInstancedANGLE().
6 AbortController API, AbortController, Experimental, Interface, Reference
The AbortController interface represents a controller object that allows you to abort one or more DOM requests as and when desired.
7 AbortController.AbortController() API, AbortController, Constructor, Experimental, Fetch, Reference
The AbortController() constructor creates a new AbortController object instance.
8 AbortController.abort() API, AbortController, Experimental, Fetch, Method, Reference, abort()
The abort() method of the AbortController interface aborts a DOM request (e.g. a Fetch request) before it has completed. This is able to abort fetch requests, consumption of any response Body, and streams.
9 AbortController.signal API, AbortController, Experimental, Fetch, Property, Reference, signal
The signal read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort a DOM request as desired.
10 AbortSignal API, AbortSignal, DOM, Experimental, Interface, Reference
The AbortSignal interface represents a signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
11 AbortSignal.aborted API, AbortSignal, Experimental, Property, Reference, aborted
The aborted read-only property returns a Boolean that indicates whether the DOM request(s) the signal is communicating with is/are aborted (true) or not (false).
12 AbortSignal.onabort API, AbortSignal, Event Handler, Experimental, Fetch, Property, Reference, onabort
The onabort read-only property of the FetchSignal interface is an event handler Invoked when an abort event fires, i.e. when the fetch request(s) the signal is communicating with is/are aborted.
13 AbsoluteOrientationSensor API, AbsoluteOrientationSensor, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors
The AbsoluteOrientationSensor interface of the Sensor APIs describes the device's physical orientation in relation to the Earth's reference coordinate system.
14 AbsoluteOrientationSensor API, AbsoluteOrientationSensor, Constructor, Generic Sensor API, Orientation Sensor API, Reference, Sensor, Sensor APIs, Sensors
The AbsoluteOrientationSensor constructor creates a new AbsoluteOrientationSensor object which describes the device's physical orientation in relation to the Earth's reference coordinate system.
15 AbstractWorker API, Abstract, AbstractWorker, Interface, Reference, SharedWorker, Web Workers, Web Workers API, Worker
The AbstractWorker interface of the Web Workers API is an abstract interface that defines properties and methods that are common to all types of worker, including not only the basic Worker, but also ServiceWorker and SharedWorker.
16 AbstractWorker.onerror API, AbstractWorker, EventHandler, Property, Reference, Web Workers, Workers, onerror
The AbstractWorker.onerror property of the AbstractWorker interface represents an EventHandler, that is a function to be called when the error event occurs and bubbles through the Worker.
17 Accelerometer API, Accelerometer, Accelerometer API, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
The Accelerometer interface of the Sensor APIs provides on each reading the acceleration applied to the device along all three axes.
18 Accelerometer.Accelerometer() API, Accelerometer, Accelerometer API, Constructor, Generic Sensor API, Reference, Sensor, Sensor APIs, Sensors
The Accelerometer constructor creates a new Accelerometer object which returns the acceleration of the device along all three axes at the time it is read.
19 Accelerometer.x API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, x
The x read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its x axis.
20 Accelerometer.y API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, y
The y read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its y axis.
21 Accelerometer.z API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, z
The z read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its z axis.
22 AddressErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress
The AddressErrors dictionary is used by the Payment Request API to to report validation errors in a physical address (typically a billing address or a shipping address).
23 AddressErrors.addressLine API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, addressLine, payment
An object based on AddressErrors includes an addressLine property when validation of the address finds one or more errors in the array of strings in the address's addressLine. The returned string explains the error and should offer suggestions for how to correct it.
24 AddressErrors.city API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, city, payment
An object based on AddressErrors includes a city property when validation of the address fails for the value given for the address's city property. The returned string explains the error and should offer suggestions for how to correct it.
25 AddressErrors.country API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, country, payment
An object based on AddressErrors includes a country property if during validation of the address the specified value of country was determined to be invalid. The value is a string describing the error and should offer suggestions for how to correct it.
26 AddressErrors.dependentLocality API, AddressErrors, Error, Locality, Payment Request, Payment Request API, Property, Read-only, Reference, dependentLocality, payment
An object based on AddressErrors includes a dependentLocality property when the address's dependentLocality property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
27 AddressErrors.languageCode API, Address, AddressErrors, Deprecated, Language, LanguageCode, Locale, Payment Request, Payment Request API, Property, Reference, payment
An object based on AddressErrors includes a languageCode property when the address's languageCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
28 AddressErrors.organization API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, organization, payment
An object based on AddressErrors includes an organization property when the address's organization property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
29 AddressErrors.phone API, Address, AddressErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Read-only, Reference, Telephone Number, Téléphone, Validation, payment
An object based on AddressErrors includes a phone property when the address's phone property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
30 AddressErrors.postalCode API, Address, AddressErrors, Payment Request, Payment Request API, Post Code, Postal Code, Property, Read-only, Reference, Validation, ZIP, ZIP Code, payment, postalCode
An object based on AddressErrors includes a postalCode property when the address's postalCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
31 AddressErrors.recipient API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, name, payment
An object based on AddressErrors includes a recipient property when the address's recipient property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
32 AddressErrors.region API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, region
An object based on AddressErrors includes a region property when the address's region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
33 AddressErrors.regionCode API, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, paymentAddress, region, regionCode
An object based on AddressErrors includes a regionCode property when the address's regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
34 AddressErrors.sortingCode API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, sortingCode
An object based on AddressErrors includes a sortingCode property when the address's sortingCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
35 AesCbcParams API, AesCbcParams, Dictionary, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt()SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(), when using the AES-CBC algorithm.
36 AesCtrParams API, AesCtrParams, Dictionary, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt()SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(),  when using the AES-CTR algorithm.
37 AesGcmParams API, AesGcmParams, Dictionary, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt()SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(),  when using the AES-GCM algorithm.
38 AesKeyGenParams API, AesKeyGenParams, Dictionary, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey(), when generating an AES key: that is, when the algorithm is identified as any of AES-CBC, AES-CTR, AES-GCM, or AES-KW.
39 Ambient Light Events Ambient Light
The ambient light events are a handy way to make a web page or an application aware of any change in the light intensity. It allows them to react to such a change, for example by changing the color contrast of the User Interface (UI) or by changing the exposure necessary to take a picture.
40 Ambient Light Sensor API API, Ambient Light Sensor API, AmbientLightSensor, Junk, Landing, Overview, Reference
No summary!
41 AmbientLightSensor API, Ambient Light Sensor API, AmbientLightSensor, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
The AmbientLightSensor interface of the the Sensor APIs returns the current light level or illuminance of the ambient light around the hosting device.
42 AmbientLightSensor.AmbientLightSensor() API, Ambient Light Sensor API, AmbientLightSensor, Constructor, Reference
The AmbinentLightSensor() constructor creates a new AmbientLightSensor object, which returns the current light level or illuminance of the ambient light around the hosting device.
43 AmbientLightSensor.illuminance API, Ambient Light Level API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, illuminance
The illuminance property of the AmbientLightSensor interface returns the current light level in lux of the ambient light level around the hosting device.
44 AnalyserNode API, AnalyserNode, Interface, Reference, Web Audio API
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.
45 AnalyserNode.AnalyserNode() API, AnalyserNode, Audio, Constructor, Media, Reference, Web Audio API
The AnalyserNode constructor of the Web Audio API creates a new AnalyserNode object instance.
46 AnalyserNode.fftSize API, AnalyserNode, Property, Reference, Web Audio API, fftSize
The fftSize property of the AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.
47 AnalyserNode.frequencyBinCount API, AnalyserNode, Property, Reference, Web Audio API, frequencyBinCount
The frequencyBinCount read-only property of the AnalyserNode interface is an unsigned integer half that of the AnalyserNode.fftSize. This generally equates to the number of data values you will have to play with for the visualization.
48 AnalyserNode.getByteFrequencyData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
The getByteFrequencyData() method of the AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it.
49 AnalyserNode.getByteTimeDomainData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
The getByteTimeDomainData() method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it.
50 AnalyserNode.getFloatFrequencyData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
The getFloatFrequencyData() method of the AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it.
51 AnalyserNode.getFloatTimeDomainData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
The getFloatTimeDomainData() method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Float32Array array passed into it.
52 AnalyserNode.maxDecibels API, AnalyserNode, Property, Reference, Web Audio API, maxDecibels
The maxDecibels property of the AnalyserNode interface is a double value representing the maximum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte/float values — basically, this specifies the maximum value for the range of results when using getFloatFrequencyData() or getByteFrequencyData().
53 AnalyserNode.minDecibels API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, minDecibels
The minDecibels property of the AnalyserNode interface is a double value representing the minimum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte/float values — basically, this specifies the minimum value for the range of results when using getFloatFrequencyData() or getByteFrequencyData().
54 AnalyserNode.smoothingTimeConstant API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, smoothingTimeConstant
The smoothingTimeConstant property of the AnalyserNode interface is a double value representing the averaging constant with the last analysis frame. It's basically an average between the current buffer and the last buffer the AnalyserNode processed, and results in a much smoother set of value changes over time.
55 Animation API, Animations, Experimental, Interface, Reference, Web Animations, waapi, web animations api
The Animation interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source.
56 Animation() API, Animation, Animations, Constructor, Experimental, Reference, web animations api
The Animation() constructor of the Web Animations API returns a new Animation object instance.
57 Animation.cancel() API, Animation, Method, Reference, Web Animations, cancel, waapi, web animations api
The Web Animations API's cancel() method of the Animation interface clears all KeyframeEffects caused by this animation and aborts its playback.
58 Animation.currentTime API, Animation, Animations, Property, Reference, Web Animations, web animations api
The Animation.currentTime property of the Web Animations API returns and sets the current time value of the animation in milliseconds, whether running or paused.
59 Animation.effect API, Animation, Experimental, Property, Reference, Web Animations, effect, web animations api
The Animation.effect property of the Web Animations API gets and sets the target effect of an animation. The target effect may be either an effect object of a type based on AnimationEffectReadOnly, such as KeyframeEffect, or null.
60 Animation.finish() API, Animation, Finish, Interface, Method, Reference, Web Animations, waapi, web animations api
The finish() method of the Web Animations API's Animation Interface sets the current playback time to the end of the animation corresponding to the current playback direction.
61 Animation.finished API, Animation, Experimental, Property, Reference, Web Animations, finished, web animations api
The Animation.finished read-only property of the Web Animations API returns a Promise which resolves once the animation has finished playing.
62 Animation.id API, Animation, Property, Reference, id, web animations api
The Animation.id property of the Web Animations API returns or sets a string used to identify the animation.
63 Animation.oncancel API, Animation, Event Handler, Property, Reference, Web Animations, events, oncancel, web animations api
The oncancel property of the Web Animations API's Animation interface is the event handler for the cancel event.
64 Animation.onfinish API, Animation, Event Handler, Property, Reference, Web Animations, events, onfinish, waapi, web animations api
The Animation interface's onfinish property (from the Web Animations API) is the event handler for the finish event. This event is sent when the animation finishes playing.
65 Animation.pause() Animation, Method, Reference, Web Animations, pause, waapi, web animations api
The pause() method of the Web Animations API's Animation interface suspends playback of the animation.
66 Animation.pending API, Animation, Animations, Property, Reference, Web Animations, web animations api
The read-only Animation.pending property of the Web Animations API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.
67 Animation.play() API, Animation, Interface, Method, Reference, Web Animations, play, waapi, web animations api
The play() method of the Web Animations API's Animation Interface starts or resumes playing of an animation. If the animation is finished, calling play() restarts the animation, playing it from the beginning.
68 Animation.playState API, Animation, Property, Reference, Web Animations, playState, web animations api
The Animation.playState property of the Web Animations API returns and sets an enumerated value describing the playback state of an animation.
69 Animation.playbackRate API, Animation, Interface, Property, Reference, Web Animations, playbackRate, web animations api
The Animation.playbackRate property of the Web Animations API returns or sets the playback rate of the animation.
70 Animation.ready API, Animation, Experimental, Property, Ready, Ready Promise, Reference, Web Animations, web animations api
The read-only Animation.ready property of the Web Animations API returns a Promise which resolves when the animation is ready to play. A new promise is created every time the animation enters the "pending" play state as well as when the animation is canceled, since in both of those scenarios, the animation is ready to be started again.
71 Animation.reverse() API, Animation, Interface, Method, Reference, Web Animations, reverse, waapi, web animations api
The Animation.reverse() method of the Animation Interface reverses the playback direction, meaning the animation ends at its beginning. If called on an unplayed animation, the whole animation is played backwards. If called on a paused animation, the animation will continue in reverse.
72 Animation.startTime API, Animation, Interface, Property, Reference, Web Animations, startTime, web animations api
The Animation.startTime property of the Animation interface is a double-precision floating-point value which indicates the scheduled time when an animation's playback should begin.
73 Animation.timeline API, Animation, Experimental, Property, Reference, Web Animations, timeline, web animations api
The Animation.timeline property of the Animation interface returns or sets the timeline associated with this animation. A timeline is a source of time values for synchronization purposes, and is an AnimationTimeline-based object. By default, the animation's timeline and the Document's timeline are the same.
74 Animation.updatePlaybackRate() API, Animation, Experimental, Interface, Method, Reference, Web Animations, playbackRate, updatePlaybackRate, waapi, web animations api
The updatePlaybackRate() method of the Web Animations API's Animation Interface sets the speed of an animation after first synchronizing its playback position.
75 AnimationEffect API, Animation, Experimental, Interface, Reference, Web Animations, web animations api
The AnimationEffect interface of the Web Animations API defines current and future animation effects like KeyframeEffect, which can be passed to Animation objects for playing, and KeyframeEffectReadOnly (which is used by CSS Animations and Transitions).
76 AnimationEffect.getComputedTiming() API, Animation, Experimental, Method, Reference, getComputedTiming, waapi, web animations api
The getComputedTiming() method of the AnimationEffect interface returns the calculated timing properties for this animation effect.
77 AnimationEffect.getTiming() API, Animation, Experimental, Method, Reference, Timing, waapi, web animations api
The AnimationEffect.getTiming() method of the AnimationEffect interface returns an EffectTiming object containing the timing properties for the Animation Effect.
78 AnimationEffect.updateTiming() API, Animation, Experimental, Method, Reference, Web Animations, waapi, web animations api
The updateTiming() method of the AnimationEffect interface updates the specified timing properties for an animation effect.
79 AnimationEvent API, Experimental, Interface, Reference, Web Animations
The AnimationEvent interface represents events providing information related to animations.
80 AnimationEvent() API, AnimationEvent, CSSOM, Constructor, Experimental, Reference, Web Animations
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation.
81 AnimationEvent.animationName API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.
82 AnimationEvent.elapsedTime API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing  (-1 * delay).
83 AnimationEvent.initAnimationEvent() API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations
The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent("AnimationEvent") method.
84 AnimationEvent.pseudoElement API, AnimationEvent, CSS, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.
85 AnimationPlaybackEvent API, Animation, AnimationPlaybackEvent, Experimental, Interface, Reference, events, waapi, web animations api
The AnimationPlaybackEvent interface of the Web Animations API represents animation events.
86 AnimationPlaybackEvent.AnimationPlaybackEvent() API, Animation, AnimationPlaybackEvent, AnimationPlaybackEvent(), Constructor, Experimental, Reference, waapi, web animations api
The AnimationPlaybackEvent() constructor of the Web Animations API returns a new AnimationPlaybackEvent object instance.
87 AnimationPlaybackEvent.currentTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, currentTime, waapi, web animations api
The currentTime read-only property of the AnimationPlaybackEvent interface represents the current time of the animation that generated the event at the moment the event is queued. This will be unresolved if the animation was idle at the time the event was generated.
88 AnimationPlaybackEvent.timelineTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, timelineTime, waapi, web animations api
The timelineTime read-only property of the AnimationPlaybackEvent interface represents the time value of the animation's timeline at the moment the event is queued. This will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.
89 AnimationTimeline API, Animation, AnimationTimeline, Experimental, Interface, Reference, Web Animations, waapi, web animations api
The AnimationTimeline interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features (inherited by DocumentTimeline and future timeline types) and is not itself directly used by developers. Anywhere you see AnimationTimeline, you should use DocumentTimeline or any other timeline type instead.
90 AnimationTimeline.currentTime API, Animation, AnimationTimeline, Experimental, Property, Read-only, Reference, Web Animations, currentTime, waapi, web animations api
The currentTime read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.
91 ArrayBufferView API, Interface, JavaScript, Reference, Typed Arrays
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types:
92 Attr API, DOM
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.
93 Attr.localName API, DOM, Property, Reference
The Attr.localName read-only property returns the local part of the qualified name of an element.
94 Attr.namespaceURI API, DOM, Property, Reference
The Attr.namespaceURI read-only property returns the namespace URI of the attribute, or null if the element is not in a namespace.
95 Attr.prefix API, DOM, Property, Reference
The Attr.prefix read-only property returns the namespace prefix of the specified attribute, or null if no prefix is specified.
96 AudioBuffer API, AudioBuffer, Interface, Reference, Web Audio API
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.
97 AudioBuffer() API, Audio, AudioBuffer, Buffer, Constructor, Media, Reference, Web Audio, Web Audio API, sound
The AudioBuffer constructor of the Web Audio API creates a new AudioBuffer object.
98 AudioBuffer.copyFromChannel() API, Audio, AudioBuffer, Copying, Frames, Method, Reference, Samples, Web Audio, Web Audio API, copy, copyFromChannel, sound
The copyFromChannel() method of the AudioBuffer interface copies the audio sample data from the specified channel of the AudioBuffer to a specified Float32Array.
99 AudioBuffer.copyToChannel() API, Audio, AudioBuffer, Method, Reference, Web Audio API, copyToChannel
The copyToChannel() method of the AudioBuffer interface copies the samples to the specified channel of the AudioBuffer, from the source array.
100 AudioBuffer.duration API, AudioBuffer, Property, Reference, Web Audio API, duration
A double.
101 AudioBuffer.getChannelData() API, AudioBuffer, Method, Reference, Web Audio API
The getChannelData() method of the AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
102 AudioBuffer.length API, AudioBuffer, Property, Reference, Web Audio API, length
The length property of the AudioBuffer interface returns an integer representing the length, in sample-frames, of the PCM data stored in the buffer.
103 AudioBuffer.numberOfChannels API, AudioBuffer, Property, Reference, Web Audio API, numberOfChannels
An integer.
104 AudioBuffer.sampleRate API, AudioBuffer, Property, Reference, Web Audio API, sampleRate
A floating-point value indicating the current smaple rate of the buffer's data, in samples per second.
105 AudioBufferSourceNode API, Audio, AudioBufferSourceNode, Interface, Media, Reference, Web Audio API
The AudioBufferSourceNode interface is an AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
106 AudioBufferSourceNode.AudioBufferSourceNode() API, Audio, AudioBufferSourceNode, Constructor, Media, Reference, Web Audio API
The AudioBufferSourceNode() constructor creates a new AudioBufferSourceNode object instance.
107 AudioBufferSourceNode.buffer API, Audio, AudioBufferSourceNode, Buffer, Media, Property, Reference, Web Audio API, sound
The buffer property of the AudioBufferSourceNode interface provides the ability to play back audio using an AudioBuffer as the source of the sound data.
108 AudioBufferSourceNode.detune API, Audio, AudioBufferSourceNode, Property, Reference, Web Audio API, detune
The detune property of the AudioBufferSourceNode interface is a k-rate AudioParam representing detuning of oscillation in cents.
109 AudioBufferSourceNode.loop API, Audio, AudioBufferSourceNode, Loop, Media, Property, Reference, Web Audio API, sound
The loop property's default value is false.
110 AudioBufferSourceNode.loopEnd API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopEnd, sound
A floating-point number indicating the offset, in seconds, into the audio buffer at which each loop will loop return to the beginning of the loop (that is, the current play time gets reset to AudioBufferSourceNode.loopStart). This property is only used if the loop property is true.
111 AudioBufferSourceNode.loopStart API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopStart, sound
The loopStart property of the AudioBufferSourceNode interface is a floating-point value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.
112 AudioBufferSourceNode.playbackRate API, AudioBufferSourceNode, Property, Reference, Web Audio API, playbackRate
The playbackRate property of the AudioBufferSourceNode interface Is a k-rate AudioParam that defines the speed at which the audio asset will be played.
113 AudioBufferSourceNode.start() API, Audio, AudioBufferSourceNode, Media, Method, Reference, Web Audio API, sound, start
undefined.
114 AudioConfiguration API, Audio, AudioConfiguration, Experimental, Interface, Media Capabilities API, Reference, Video
The AudioConfiguration dictionary of the Media Capabilities API defines the audio file being tested when calling MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() to query whether a specific audio configuration is supported, smooth, and/or power efficient.
115 AudioContext API, Audio, AudioContext, Interface, Reference, Web Audio API, sound
The AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode.
116 AudioContext() Audio, Audio Context, Audio Graph, AudioContext, Constructor, Context, Media, Media Graph, Reference, Web Audio, Web Audio API
The AudioContext() constructor creates a new AudioContext object which represents an audio-processing graph, built from audio modules linked together, each represented by an AudioNode.
117 AudioContext.baseLatency API, Audio, AudioContext, Experimental, Media, Property, Web Audio API, baseLatency
The baseLatency read-only property of the AudioContext interface returns a double that represents the number of seconds of processing latency incurred by the AudioContext passing the audio from the AudioDestinationNode to the audio subsystem.
118 AudioContext.close() API, AudioContext, Media, Method, Reference, Web Audio API, close
The close() method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.
119 AudioContext.createJavaScriptNode() API, Audio, Method, Obsolete, Reference, Web, createJavaScriptNode
The following script illustrates the use of createJavaScriptNode():
120 AudioContext.createMediaElementSource() API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaElementSource
For more details about media element audio source nodes, check out the MediaElementAudioSourceNode reference page.
121 AudioContext.createMediaStreamDestination() API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaStreamDestination
The MediaStream is created when the node is created and is accessible via the MediaStreamAudioDestinationNode's stream attribute. This stream can be used in a similar way as a MediaStream obtained via navigator.getUserMedia — it can, for example, be sent to a remote peer using the RTCPeerConnection addStream() method.
122 AudioContext.createMediaStreamSource() API, Audio, AudioContext, AudioNode, Media, MediaStream, MediaStreamTrack, Method, Reference, Web, Web Audio, Web Audio API, createMediastreamSource
For more details about media stream audio source nodes, check out the MediaStreamAudioSourceNode reference page.
123 AudioContext.createMediaStreamTrackSource() API, Audio, AudioContext, Method, Reference, Web Audio API, createMediaStreamTrackSource
A MediaStreamTrackAudioSourceNode.
124 AudioContext.createWaveTable() API, AudioContext, Method, Obsolete, Reference, Web Audio API, createWaveTable
The AudioContext method createWaveTable() is now obsolete; you should instead use the method createPeriodicWave().
125 AudioContext.getOutputTimestamp() API, Audio, AudioContext, Method, Reference, Web Audio API, getOutputTimestamp, sound
The getOutputTimestamp() property of the AudioContext interface returns a new AudioTimestamp object containing two correlated context's audio stream position values.
126 AudioContext.outputLatency API, Audio, AudioContext, Experimental, Property, Reference, Web Audio API, outputLatency
The outputLatency read-only property of the AudioContext Interface provides an estimation of the output latency of the current audio context.
127 AudioContext.suspend() API, Audio, AudioContext, Method, Reference, Web Audio API, suspend
The suspend() method of the AudioContext Interface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.
128 AudioContextLatencyCategory API, Audio, Audio Context, AudioContextLatencyCategory, Enum, Interface, Media, Reference, Type, Web Audio, Web Audio API, latency
The AudioContextLatencyCategory type is an enumerated set of strings which are used to select one of a number of default values for acceptable maximum latency of an audio context.
129 AudioContextOptions API, Audio, AudioContext, AudioContextOptions, Configuration, Context, Dictionary, Interface, Options, Reference, Settings, Web Audio API, sampleRate
The AudioContextOptions dictionary is used to specify configuration options when constructing a new AudioContext object to represent a graph of web audio nodes.
130 AudioContextOptions.latencyHint API, Audio, Audio Context, AudioContext, AudioContextOptions, Context, Options, Property, Reference, Web Audio, Web Audio API, latency, latencyHint
The AudioContextOptions dictionary (used when instantiating an AudioContext) may contain a property named latencyHint, which indicates the preferred maximum latency in seconds for the audio context.
131 AudioContextOptions.sampleRate API, Audio, AudioContext, AudioContextOptions, Dictionary, Interface, Media, Options, Reference, Sample Rate, Web Audio, Web Audio API, sampleRate
The AudioContextOptions dictionary (used when instantiating an AudioContext) may contain a property named sampleRate, which indicates the sample rate to use for the new context.
132 AudioDestinationNode API, AudioDestinationNode, Interface, Reference, Web Audio API
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 number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.
133 AudioDestinationNode.maxChannelCount API, AudioDestinationNode, Property, Reference, Référence(2), Web Audio API, maxChannelCount
An unsigned long.
134 AudioListener API, AudioListener, Interface, Reference, Référence(2), Web Audio API
The AudioListener interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute.
135 AudioListener.dopplerFactor API, Audio, AudioListener, Deprecated, Doppler, Doppler Effect, Property, Reference, Web Audio API, dopplerFactor, effects
The deprecated dopplerFactor property of the AudioListener interface is a double value representing the amount of pitch shift to use when rendering a doppler effect.
136 AudioListener.forwardX API, Audio, AudioListener, Property, Reference, Web Audio API, forwardX
The forwardX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.
137 AudioListener.forwardY API, Audio, AudioListener, Property, Reference, Web Audio API, forwardY
The forwardY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in.
138 AudioListener.forwardZ API, Audio, AudioListener, Property, Reference, Web Audio API, forwardZ
The forwardZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the forward direction the listener is pointing in.
139 AudioListener.positionX API, Audio, AudioListener, Property, Reference, Web Audio API, positionX
The positionX read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space.
140 AudioListener.positionY API, Audio, AudioListener, Property, Reference, Web Audio API, positionY
The positionY read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.
141 AudioListener.positionZ API, Audio, AudioListener, Property, Reference, Web Audio API, positionZ
The positionZ read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space.
142 AudioListener.setOrientation() API, AudioListener, Method, Reference, Référence(2), Web Audio API, setOrientation
Void.
143 AudioListener.setPosition() API, AudioListener, Deprecated, Method, Reference, Référence(2), Web Audio API, setPosition
Void.
144 AudioListener.speedOfSound API, AudioListener, Deprecated, Property, Reference, Web Audio API, speedOfSound
The speedOfSound property of the AudioListener interface is a double value representing the speed of sound, in meters per second.
145 AudioListener.upX API, Audio, AudioListener, Property, Reference, Web Audio API, upX
The upX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.
146 AudioListener.upY API, AudioListener, Property, Reference, Web Audio API, upY
The upY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the up direction the listener is pointing in.
147 AudioListener.upZ API, Audio, AudioListener, Property, Reference, Web Audio API, upZ
The upZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.
148 AudioNode API, AudioNode, Interface, Reference, Web Audio API
The AudioNode interface is a generic interface for representing an audio processing module. Examples include:
149 AudioNode.channelCount API, AudioNode, Property, Reference, Web Audio API, channelCount
The channelCount property of the AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
150 AudioNode.channelCountMode API, AudioNode, Property, Reference, Web Audio API, channelCountMode
The possible values of channelCountMode and their meanings are:
151 AudioNode.channelInterpretation API, AudioNode, Property, Reference, Web Audio API, channelInterpretation
When the number of channels doesn't match between an input and an output, up- or down-mixing happens according the following rules. This can be somewhat controlled by setting the AudioNode.channelInterpretation property to speakers or discrete:
152 AudioNode.connect() API, Audio, AudioNode, Media, Method, Reference, Web Audio API, connect
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls. In some browsers, older implementations of this interface return undefined.
153 AudioNode.context API, AudioNode, Context, Property, Reference, Web Audio API
The read-only context property of the AudioNode interface returns the associated BaseAudioContext, that is the object representing the processing graph the node is participating in.
154 AudioNode.disconnect() API, Audio, AudioNode, Disconnect, Method, Reference, Web Audio API
undefined
155 AudioNode.numberOfInputs API, AudioNode, Property, Reference, Web Audio API, numberOfInputs
The numberOfInputs property of the AudioNode interface returns the number of inputs feeding the node.
156 AudioNode.numberOfOutputs API, AudioNode, Property, Reference, Web Audio API, numberOfOutputs
The numberOfOutputs property of the AudioNode interface returns the number of outputs coming out of the node.
157 AudioNodeOptions API, Audio, AudioNodeOptions, Dictionary, Interface, Options, Reference, Web Audio API
The AudioNodeOptions dictionary of the Web Audio API specifies options that can be used when creating new AudioNode objects.
158 AudioParam API, Audio, AudioParam, Interface, Reference, Web Audio API
The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).
159 AudioParam.cancelAndHoldAtTime() API, Audio, AudioParam, Experimental, Method, Reference, Web Audio API, cancelAndHoldAtTime, cancelValuesAndHoldAtTime
The cancelAndHoldAtTime() property of the AudioParam interface cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.
160 AudioParam.cancelScheduledValues() API, AudioParam, Method, Reference, Web Audio API, cancelScheduledValues
A reference to this AudioParam object. In some older implementations this method returns void.
161 AudioParam.defaultValue API, AudioParam, Property, Reference, Web Audio API, defaultValue
The defaultValue read-only property of the AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the AudioParam.
162 AudioParam.exponentialRampToValueAtTime() API, AudioParam, Method, Reference, Web Audio API, exponentialRampToValueAtTime
A reference to this AudioParam object. In some browsers older implementations of this interface return void.
163 AudioParam.linearRampToValueAtTime() API, Audio, AudioParam, Method, Reference, Web Audio API, linearRampToValueAtTime
NOTE: both the example and live example are incorrect, see https://github.com/WebAudio/web-audio-api/issues/341
164 AudioParam.maxValue API, Audio, AudioParam, Property, Reference, Web Audio API, maxValue
The maxValue read-only property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.
165 AudioParam.minValue API, Audio, AudioParam, Property, Reference, Web Audio API, minValue
The minValue read-only property of the AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range.
166 AudioParam.setTargetAtTime() API, AudioParam, Method, Reference, Web Audio API, setTargetAtTime
The setTargetAtTime() method of the AudioParam interface schedules the start of a gradual change to the AudioParam value. This is useful for decay or release portions of ADSR envelopes.
167 AudioParam.setValueAtTime() API, AudioParam, Method, Reference, Web Audio API, setValueAtTime
The setValueAtTime() method of the AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against AudioContext.currentTime. The new value is given in the value parameter.
168 AudioParam.setValueCurveAtTime() API, Audio, AudioParam, Method, Reference, Web, Web Audio, Web Audio API, setValueCurveAtTime
The setValueCurveAtTime() method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
169 AudioParam.value API, AudioParam, Property, Reference, Web Audio API, value
Gets or sets the current value of this AudioParam. Initially, the value is set to AudioParam.defaultValue. Part of the Web Audio API.
170 AudioParamMap Draft, Experimental
The Web Audio API interface AudioParamMap represents a set of multiple audio parameters, each described as a mapping of a DOMString identifying the parameter to the AudioParam object representing its value.
171 AudioProcessingEvent API, Deprecated, Interface, Internationalization, Reference, Référence(2), Web Audio API
The Web Audio API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed.
172 AudioScheduledSourceNode API, Audio, AudioScheduledSourceNode, Interface, Media, Reference, Web Audio API, sound
The AudioScheduledSourceNode interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times. Specifically, this interface defines the start() and stop() methods, as well as the onended event handler.
173 AudioScheduledSourceNode.onended API, Audio, AudioBufferSourceNode, AudioScheduledSourceNode, ConstantSourceNode, Event Handler, Media, OscillatorNode, Property, Web Audio API, onended
The onended event handler for the AudioScheduledSourceNode interface specifies an EventHandler to be executed when the ended event occurs on the node. This event is sent to the node when the concrete interface (such as AudioBufferSourceNode, OscillatorNode, or ConstantSourceNode) determines that it has stopped playing.
174 AudioScheduledSourceNode.start() API, Audio, AudioScheduledSourceNode, Media, Method, NeedsExample, Node, Reference, Web Audio API, play, sound, start
undefined
175 AudioScheduledSourceNode.stop() API, Audio, AudioScheduledSourceNode, Media, Method, Reference, Web Audio API, sound, stop
The stop() method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time. If no time is specified, then the sound stops playing immediately.
176 AudioTrack Audio, AudioTrack, HTML, HTML DOM, Interface, Media, Reference, track
The AudioTrack interface represents a single audio track from one of the HTML media elements, <audio> or <video>.
177 AudioTrack.enabled Audio, AudioTrack, HTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, enabled, mute, track
The AudioTrack property enabled specifies whether or not the described audio track is currently enabled for use. If the track is disabled by setting enabled to false, the track is muted and does not produce audio.
178 AudioTrack.id API, Audio, Audio Track, AudioTrack, HTML DOM, Interface, Media, Property, Read-only, Reference, id, track
The id property contains a string which uniquely identifies the track represented by the AudioTrack.
179 AudioTrack.kind API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, id, track
The kind property contains a string indicating the category of audio contained in the AudioTrack.
180 AudioTrack.label API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, label, metadata, track
The read-only AudioTrack property label returns a string specifying the audio track's human-readable label, if one is available; otherwise, it returns an empty string.
181 AudioTrack.language API, Audio, AudioTrack, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Translated, Translation, track
The read-only AudioTrack property language returns a string identifying the language used in the audio track.
182 AudioTrack.sourceBuffer API, Audio, AudioTrack, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, track
The read-only AudioTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
183 AudioTrackList API, Audio, AudioTrackList, HTML DOM, Interface, Media, Reference, Track List, Tracks, list
The AudioTrackList interface is used to represent a list of the audio tracks contained within a given HTML media element, with each track represented by a separate AudioTrack object in the list.
184 AudioTrackList.getTrackById() API, Audio, AudioTrackList, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, getTrackById, id, track
The AudioTrackList method getTrackById() returns the first AudioTrack object from the track list whose id matches the specified string.
185 AudioTrackList.length API, Audio, AudioTrackList, HTML DOM, Media, Property, Read-only, Reference, length, list, track
The read-only AudioTrackList property length returns the number of entries in the AudioTrackList, each of which is an AudioTrack representing one audio track in the media element.
186 AudioTrackList.onaddtrack API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onaddtrack, track
The AudioTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new audio track has been added to the media element whose audio tracks the AudioTrackList represents.
187 AudioTrackList.onchange API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onchange, track
The AudioTrackList property onchange is an event handler which is called when the change event occurs, indicating that one or more of the AudioTracks in the AudioTrackList have been enabled or disabled.
188 AudioTrackList.onremovetrack API, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, Removing Audio Tracks, Removing Tracks, onremovetrack, remove, removeTrack, track
The AudioTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that an audio track has been removed from the media element, and therefore also from the AudioTrackList.
189 AuthenticatorAssertionResponse API, Authentication, AuthenticatorAssertionResponse, Interface, NeedsExample, Reference, Web Authentication API, WebAuthn
The AuthenticatorAssertionResponse interface of the Web Authentication API is returned by CredentialsContainer.get() when a PublicKeyCredential is passed, and provides proof to a service that it has a key pair and that the authentication request is valid and approved.
190 AuthenticatorAssertionResponse.authenticatorData API, Experimental, HTTPS, Reference, WebAuthn
The authenticatorData property of the AuthenticatorAssertionResponse interface returns an ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash), a signature counter, test of user presence and user verification flags, and any extensions processed by the authenticator. This is one of the two fields that is signed over by the authenticator.
191 AuthenticatorAttestationResponse API, Authentication, AuthenticatorAttestationResponse, Interface, NeedsExample, Reference, Web Authentication API, WebAuthn
The AuthenticatorAttestationResponse interface of the Web Authentication API is returned by CredentialsContainer.create() when a PublicKeyCredential is passed, and provides a cryptographic root of trust for the new key pair that has been generated.
192 AuthenticatorAttestationResponse.attestationObject
The attestationObject property of the AuthenticatorAssertionResponse interface returns an ArrayBuffer containing the new public key, as well as signature over the entire attestationObject with a private key that is stored in the authenticator when it is manufactured.
193 AuthenticatorResponse API, Authentication, AuthenticatorResponse, Interface, NeedsExample, Reference, Web Authentication API, WebAuthn
The AuthenticatorResponse interface of the Web Authentication API is the base interface for interfaces that provide a cryptographic root of trust for a key pair. The child interfaces include information from the browser such as the challenge origin and either may be returned from PublicKeyCredential.response.
194 AuthenticatorResponse.clientDataJSON
The clientDataJSON property of the AuthenticatorResponse interface stores a JSON string in an ArrayBuffer, representing the client data that was passed to CredentialsContainer.create() or CredentialsContainer.get(). This property is only accessed on one of the child objects of AuthenticatorResponse, specifically AuthenticatorAttestationResponse or AuthenticatorAssertionResponse.
195 Background Tasks API API, Background Tasks API, Guide, IdleDeadline, Overview, cancelIdleCallback, requestIdleCallback
The Cooperative Scheduling of Background Tasks API (also referred to as the Background Tasks API or simply the requestIdleCallback() API) provides the ability to queue tasks to be executed automatically by the user agent when it determines that there is free time to do so.
196 BaseAudioContext API, Audio, BaseAudioContext, Context, Interface, Reference, Web Audio API, sound
The BaseAudioContext interface acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext respectively.
197 BaseAudioContext.createAnalyser() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createAnalyser
The createAnalyser() method of the BaseAudioContext interface creates an AnalyserNode, which can be used to expose audio time and frequency data and create data visualisations.
198 BaseAudioContext.createBiquadFilter() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBiquadFilter
A BiquadFilterNode.
199 BaseAudioContext.createBuffer() API, Audio, AudioContext, BaseAudioContext, Buffer, Media, Method, Reference, Web Audio, Web Audio API, createBuffer
An AudioBuffer configured based on the specified options.
200 BaseAudioContext.createBufferSource() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBufferSource
An AudioBufferSourceNode.
201 BaseAudioContext.createChannelMerger() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelMerger
A ChannelMergerNode.
202 BaseAudioContext.createChannelSplitter() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelSplitter
A ChannelSplitterNode.
203 BaseAudioContext.createConstantSource() API, Audio, AudioContext, BaseAudioContext, ConstantSourceNode, Media, Method, createConstantSource
The createConstantSource() property of the BaseAudioContext interface creates a ConstantSourceNode object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
204 BaseAudioContext.createConvolver() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createConvolver
A ConvolverNode.
205 BaseAudioContext.createDelay() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDelay
The createDelay() method of the BaseAudioContext Interface is used to create a DelayNode, which is used to delay the incoming audio signal by a certain amount of time.
206 BaseAudioContext.createDynamicsCompressor() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDynamicsCompressor
Compression lowers the volume of the loudest parts of the signal and raises the volume of the softest parts. Overall, a louder, richer, and fuller sound can be achieved. It is especially important in games and musical applications where large numbers of individual sounds are played simultaneously, where you want to control the overall signal level and help avoid clipping (distorting) of the audio output.
207 BaseAudioContext.createGain() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Volume Control, Web Audio API, createGain, sound
A GainNode which takes as input one or more audio sources and outputs audio whose volume has been adjusted in gain (volume) to a level specified by the node's GainNode.gain a-rate parameter.
208 BaseAudioContext.createIIRFilter() API, Audio, AudioContext, BaseAudioContext, CreateIIRFilter, Method, Reference, Web Audio API, filter
The createIIRFilter() method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
209 BaseAudioContext.createOscillator() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createOscillator
The createOscillator() method of the BaseAudioContext interface creates an OscillatorNode, a source representing a periodic waveform. It basically generates a constant tone.
210 BaseAudioContext.createPanner() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createPanner
The panner node is spatialized in relation to the AudioContext's AudioListener (defined by the AudioContext.listener attribute), which represents the position and orientation of the person listening to the audio.
211 BaseAudioContext.createPeriodicWave() API, Audio, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createPeriodicWave
The createPeriodicWave() method of the BaseAudioContext Interface is used to create a PeriodicWave, which is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
212 BaseAudioContext.createScriptProcessor() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createScriptProcessor
A ScriptProcessorNode.
213 BaseAudioContext.createStereoPanner() API, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createStereoPanner
A StereoPannerNode.
214 BaseAudioContext.createWaveShaper() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createWaveShaper
A WaveShaperNode.
215 BaseAudioContext.currentTime API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, currentTime
The currentTime read-only property of the BaseAudioContext interface returns a double representing an ever-increasing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc. It starts at 0.
216 BaseAudioContext.decodeAudioData() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, decodeAudioData
This is the preferred method of creating an audio source for Web Audio API from an audio track. This method only works on complete file data, not fragments of audio file data.
217 BaseAudioContext.destination API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, destination
An AudioDestinationNode.
218 BaseAudioContext.listener API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, listener, spatialization
An AudioListener object.
219 BaseAudioContext.onstatechange API, Audio, AudioContext, BaseAudioContext, Event Handler, Reference, Web Audio API, onstatechange
The following snippet is taken from our AudioContext states demo (see it running live.) The onstatechange hander is used to log the current state to the console every time it changes.
220 BaseAudioContext.resume() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, resume
The resume() method of the BaseAudioContext Interface resumes the progression of time in an audio context that has previously been suspended.
221 BaseAudioContext.sampleRate API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, sampleRate
The sampleRate property of the BaseAudioContext interface returns a floating point number representing the sample rate, in samples per second, used by all nodes in this audio context.
222 BaseAudioContext.state API, Audio, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, state
A DOMString. Possible values are:
223 BasicCardRequest API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Dictionary, Payment Method, Payment Request, Payment Request API, Reference, card, payment
The BasicCardRequest dictionary is a JavaScript object-structure that can be used in the Payment Request API. The properties of BasicCardRequest are defined in the Basic Card Payment spec).
224 BasicCardRequest.supportedNetworks API, Basic Card Payment, BasicCardRequest, Experimental, Payment Request, Payment Request API, Property, Reference, supportedNetworks
The supportedNetworks property of the BasicCardRequest dictionary contains an array of DOMStrings representing the card networks that the retailer supports (e.g. amex, mastercard).
225 BasicCardRequest.supportedTypes API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Payment Method, Payment Request, Payment Request API, Property, Reference, payment, supportedTypes
The obsolete supportedTypes property of the BasicCardRequest dictionary can optionally be provided to specify an array of DOMStrings representing the card types that the retailer supports (e.g. credit, debit, prepaid).
226 BasicCardResponse API, Basic Card Payment, BasicCardResponse, Experimental, Interface, Payment Request, Payment Request API, Reference
The BasicCardResponse dictionary (related to the Payment Request API, although defined in the Basic Card Payment spec) defines an object structure for payment response details such as the number/expiry date of the card used to make the payment, and the billing address.
227 BasicCardResponse.billingAddress API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, billingAddress
The billingAddress property of the BasicCardResponse dictionary contains the billing address of the card used to make the payment.
228 BasicCardResponse.cardNumber API, Basic Card Request, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardNumber
The cardNumber property of the BasicCardResponse dictionary contains the number of the card used to make the payment.
229 BasicCardResponse.cardSecurityCode API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardSecurityCode
The cardSecurityCode property of the BasicCardResponse dictionary contains the security code of the card used to make the payment.
230 BasicCardResponse.cardholderName API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardholderName
The cardNumber property of the BasicCardResponse dictionary contains the cardholder name of the card used to make the payment.
231 BasicCardResponse.expiryMonth API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryMonth
The expiryMonth property of the BasicCardResponse dictionary contains the expiry month of the card used to make the payment.
232 BasicCardResponse.expiryYear API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryYear
The expiryYear property of the BasicCardResponse dictionary contains the expiry year of the card used to make the payment.
233 Battery Status API API, Apps, Battery, Battery API, Battery Status API, Firefox OS, Guide, Mobile, Overview
The Battery Status API, more often referred to as the Battery API, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level or charging status change. This can be used to adjust your app's resource usage to reduce battery drain when the battery is low, or to save changes before the battery runs out in order to prevent data loss.
234 BatteryManager API, Battery API, Device API, Interface, Obsolete, Reference, Référence(2)
The BatteryManager interface provides ways to get information about the system's battery charge level.
235 BatteryManager.charging API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
A Boolean value indicating whether or not the device's battery is currently being charged.
236 BatteryManager.chargingTime API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the amount of time, in seconds, that remain until the battery is fully charged.
237 BatteryManager.dischargingTime API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the amount of time, in seconds, that remains until the battery is fully discharged.
238 BatteryManager.level API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the current battery charge level as a value between 0.0 and 1.0.
239 BatteryManager.onchargingchange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive chargingchange events. These events occur when the battery charging state is updated.
240 BatteryManager.onchargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive chargingtimechange events. These events occur when the battery chargingTime is updated.
241 BatteryManager.ondischargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive dischargingtimechange events. These events occur when the battery dischargingTime is updated.
242 BatteryManager.onlevelchange API, Battery API, Event Handler, Property, Reference
The BatteryManager.onlevelchange property specifies an event listener to receive levelchange events. These events occur when the battery level is updated.
243 Beacon API Guide, Overview, Web Performance
The Beacon interface is used to schedule an asynchronous and non-blocking request to a web server. Beacon requests use the HTTP POST method and requests typically do not require a response. Requests are guaranteed to be initiated before a page is unloaded and they are run to completion, without requiring a blocking request (for example XMLHttpRequest).
244 Using the Beacon API Guide, Web Performance
The Beacon interface schedules an asynchronous and non-blocking request to a web server.
245 BeforeInstallPromptEvent API, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference
The BeforeInstallPromptEvent is fired at the Window.onbeforeinstallprompt handler before a user is prompted to "install" a web site to a home screen on mobile.
246 BeforeInstallPromptEvent.prompt() API, BeforeInstallPromptEvent, Experimental, Method, Reference, prompt
The prompt() method of the BeforeInstallPromptEvent interface allows a developer to show the install prompt at a time of their own choosing. 
247 BeforeUnloadEvent API, Reference
The beforeunload event is fired when the window, the document and its resources are about to be unloaded.
248 BiquadFilterNode API, BiquadFilterNode, Interface, Reference, Web Audio API
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.
249 BiquadFilterNode() API, Audio, BiquadFilterNode, Constructor, Media, Reference, Web Audio API
The BiquadFilterNode() constructor of the Web Audio API creates a new BiquadFilterNode object, which represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method.
250 BiquadFilterNode.Q API, BiquadFilterNode, Property, Q, Reference, Web Audio API
An AudioParam.
251 BiquadFilterNode.detune API, BiquadFilterNode, Property, Reference, Référence(2), Web Audio API, detune
An a-rate AudioParam.
252 BiquadFilterNode.frequency API, BiquadFilterNode, Property, Reference, Web Audio API, frequency
An AudioParam.
253 BiquadFilterNode.gain API, BiquadFilterNode, Gain, Property, Reference, Référence(2), Web Audio API
An AudioParam.
254 BiquadFilterNode.getFrequencyResponse() API, Audio, BiquadFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse
undefined
255 BiquadFilterNode.type API, BiquadFilterNode, Property, Reference, Référence(2), Type, Web Audio API
A string (enum) representing a BiquadFilterType.
256 Blob API, Files, NeedsMobileBrowserCompatibility, Reference, WebAPI
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.
257 Blob() API, Blob, Constructor, Experimental, File API, Reference
The Blob() constructor returns a new Blob object. The content of the blob consists of the concatenation of the values given in the parameter array.
258 Blob.size API, Files, Property, Reference, Web API
The Blob.size property returns the size in bytes of the Blob or a File.
259 Blob.slice() API, Files, Method, Reference
The Blob.slice() method is used to create a new Blob object containing the data in the specified range of bytes of the source Blob.
260 Blob.type API, DOM, File, Files, Property, Reference
The type property of a Blob object provides the MIME type of the file. It returns an empty string if the type couldn't determined.
261 BlobBuilder API, DOM, DOM Reference, File API, Obsolete, Reference
The BlobBuilder interface provides an easy way to construct Blob objects. Just create a BlobBuilder and append chunks of data to it by calling the append() method. When you're done building your blob, call getBlob() to retrieve a Blob containing the data you sent into the blob builder.
262 BlobEvent API, Audio, Blob, Interface, Media, MediaStream Recording, MediaStream Recording API, Recording Media, Reference, Video, events
The BlobEvent interface represents events associated with a Blob. These blobs are typically, but not necessarily,  associated with media content.
263 BlobEvent.BlobEvent() API, BlobEvent, Constructor, DOM, DOM Reference, Experimental, Media Stream Encoding, Reference
The BlobEvent() constructor returns a newly created BlobEvent object with an associated Blob.
264 BlobEvent.data API, BlobEvent, DOM, DOM Reference, Experimental, Media Stream Recording, Property, Reference
The BlobEvent.data read-only property represents a Blob associated with the event.
265 BlobEvent.timecode API, BlobEvent, Media, Media Stream Recording, Property, Reference
The timecode readonlyinline property of the BlobEvent interface a DOMHighResTimeStamp indicating the difference between the timestamp of the first chunk in data, and the timestamp of the first chunk in the first BlobEvent produced by this recorder.
266 Bluetooth API, Bluetooth, Experimental, Interface, Reference, Web Bluetooth API
The Bluetooth interface of the Web Bluetooth API returns a Promise to a BluetoothDevice object with the specified options.
267 Bluetooth.requestDevice() API, Bluetooth, Method, Reference, Web Bluetooth API, requestDevice
The Bluetooth.requestDevice() method of the Bluetooth interface returns a Promise to a BluetoothDevice object with the specified options. If there is no chooser UI, this method returns the first device matching the criteria.
268 BluetoothAdvertisingData API, Bluetooth, BluetoothAdvertisingData, Interface, Non-standard, Obsolete, Reference, Web Bluetooth API
The BluetoothDevice interface of the Web Bluetooth API provides advertising data about a particular Bluetooth device.
269 BluetoothAdvertisingData.appearance API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, appearance
The appearance read-only property of the BluetoothAdvertisingData interface returns one of the values defined by the org.bluetooth.characteristic.gap.appearance characteristic.
270 manufacturerData API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, manufacturerData
The manufacturerData read-only property of the BluetoothAdvertisingData interface returns a map that relates Company Identifier Codes to ArrayBuffers.
271 rssi API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, rssi
The rssi read-only property of the BluetoothAdvertisingData interface returns the power at which the device’s packets are being received, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi.
272 serviceData API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, serviceData
The serviceData read-only property of the BluetoothAdvertisingData interface returns a map that relates UUIDs to ArrayBuffers.
273 txPower API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, txPower
The txPower read-only property of the BluetoothAdvertisingData interface returns the transmission power at which the device is broadcasting, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi.
274 BluetoothCharacteristicProperties API, BluetoothCharacteristicProperties, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothCharacteristicProperties interface of the the Web Bluetooth API provides an object provides propertieds of a particular BluetoothRemoteGATTCharacteristic.
275 BluetoothDevice API, Bluetooth, BluetoothDevice, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothDevice interface of the Web Bluetooth API represents a Bluetooth device inside a particular script execution environment.
276 BluetoothDevice.gatt API, BluetoothDevice, Experimental, GATT server, Property, Reference
The BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer.
277 BluetoothDevice.name API, Bluetooth, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, name
The BluetoothDevice.name read-only property returns a DOMString that provides a human-readable name for the device.
278 BluetoothDevice.paired API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API
The BluetoothDevice.paired read-only property returns a Boolean value indicating whether the device is paired with the system.
279 BluetoothDevice.uuids API, BluetoothDevice, Experimental, Property, Reference, UUIDs, Web Bluetooth API
The BluetoothDevice.uuids read-only property lists the UUIDs of GATT services provided by the device, that the current origin is allowed to access.
280 adData API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, adData
The BluetoothDevice.adData read-only property returns instance of BluetoothAdvertisingData containing the most recent advertising data received for the device.
281 connectGATT() API, Method, Non-standard, Obsolete, Reference, Web Bluetooth API, connectGATT
The BluetoothDevice.connectGATT() method returns a Promise that resolves to an instance of BluetoothGATTRemoteServer.
282 deviceClass API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, deviceClass
The BluetoothDevice.deviceClass read-only property returns a number representing the Bluetooth devices "Class of Device".
283 gattServer API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, gattServer
The BluetoothDevice.gattServer read-only property returns a reference to the device's GATT server or null if the device is disconnected.
284 id API, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, id
The BluetoothDevice.id read-only property returns a DOMString that uniquely identifies a device.
285 productID API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productID
The BluetoothDevice.productID read-only property returns the 16-bit Product ID field in the pnp_id characteristic in the device_information service.
286 productVersion API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productVersion
The BluetoothDevice.productVersion read-only property returns the 16-bit Product Version field in the pnp_id characteristic in the device_information service.
287 vendorID API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorID
The BluetoothDevice.vendorID read-only property returns the 16-bit Vendor ID field in the pnp_id characteristic in the device_information service.
288 vendorIDSource API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorIDSource
The BluetoothDevice.vendorIDSource read-only property returns the Vendor ID Source field in the pnp_id characteristic in the device_information service.
289 BluetoothRemoteGATTCharacteristic API, Bluetooth, BluetoothGattCharacteristic, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGattCharacteristic interface of the Web Bluetooth API represents a GATT Characteristic, which is a basic data element that provides further information about a peripheral’s service.
290 BluetoothRemoteGATTCharacteristic.getDescriptor() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptor()
The BluetoothRemoteGATTCharacteristic.getDescriptor() method returns a Promise that resolves to the first BluetoothGATTDescriptor for a given descriptor UUID.
291 BluetoothRemoteGATTCharacteristic.getDescriptors() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptors()
The BluetoothRemoteGATTCharacteristic.getDescriptors() method returns a Promise that resolves to an Array of all BluetoothGATTDescriptor objects for a given descriptor UUID.
292 BluetoothRemoteGATTCharacteristic.properties API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, properties
The BluetoothRemoteGATTCharacteristic.properties read-only property returns a BluetoothCharacteristicProperties instance containing the properties of this characteristic.
293 BluetoothRemoteGATTCharacteristic.readValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, readValue
The BluetoothRemoteGATTCharacteristic.readValue() method returns a Promise that resolves to a DataView holding a duplicate of the value property if it is available and supported. Otherwise it throws an error.
294 BluetoothRemoteGATTCharacteristic.service API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API
The BluetoothRemoteGATTCharacteristic.service read-only property returns the BluetoothGATTService this characteristic belongs to.
295 BluetoothRemoteGATTCharacteristic.startNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, startNotifications()
The BluetoothRemoteGATTCharacteristic.startNotifications() method returns a Promise to the BluetoothRemoteGATTCharacteristic instance when there is an active notification on it.
296 BluetoothRemoteGATTCharacteristic.stopNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, stopNotifications
The BluetoothRemoteGATTCharacteristic.stopNotifications() method returns a Promise to the BluetoothRemoteGATTCharacteristic instance when there is no longer an active notification on it.
297 BluetoothRemoteGATTCharacteristic.uuid API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API, uuid
The BluetoothRemoteGATTCharacteristic.uuid read-only property returns DOMString containing the UUID of the characteristic, for example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement characteristic.
298 BluetoothRemoteGATTCharacteristic.value API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, value
The BluetoothRemoteGATTCharacteristic.value read-only property returns currently cached characteristic value. This value gets updated when the value of the characteristic is read or updated via a notification or indication.
299 BluetoothRemoteGATTCharacteristic.writeValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValue
The BluetoothRemoteGATTCharacteristic.writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise.
300 BluetoothRemoteGATTDescriptor API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTDescriptor interface of the Web Bluetooth API provides a GATT Descriptor, which provides further information about a characteristic’s value.
301 characteristic API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API, characteristic
The BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to.
302 readValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Method, Reference, Web Bluetooth API, readValue()
The BluetoothRemoteGATTDescriptor.readValue() method returns a Promise that resolves to an ArrayBuffer holding a duplicate  of the value property if it is available and supported. Otherwise it throws an error.
303 uuid API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, uuid
The BluetoothRemoteGATTDescriptor.uuid read-only property returns the UUID of the characteristic descriptor, for example '00002902-0000-1000-8000-00805f9b34fb' for theClient Characteristic Configuration descriptor.
304 value API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, value
The BluetoothRemoteGATTDescriptor.value read-only property returns an ArrayBuffer containing the currently cached descriptor value. This value gets updated when the value of the descriptor is read.
305 writeValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, writeValue()
The BluetoothRemoteGATTDescriptor.writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise.
306 BluetoothRemoteGATTServer API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTServer interface of the Web Bluetooth API represents a GATT Server on a remote device.
307 BluetoothRemoteGATTServer.connect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, connect()
The BluetoothRemoteGATTServer.connect() method causes the script execution environment to connect to this.device.
308 BluetoothRemoteGATTServer.connected API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Property, Reference, Web Bluetooth API
The BluetoothRemoteGATTServer.connected read-only property returns a boolean value that returns true while this script execution environment is connected to this.device. It can be false while the user agent is physically connected.
309 BluetoothRemoteGATTServer.device API, Bluethooth, BluetoothRemoteGATTServer, Experimental, Property, Reference
The BluetoothRemoteGATTServer.device read-only property returns a reference to the BluetoothDevice running the server.
310 BluetoothRemoteGATTServer.disconnect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, disconnect()
The BluetoothRemoteGATTServer.disconnect() method causes the script execution environment to disconnect from this.device.
311 BluetoothRemoteGATTServer.getPrimaryService() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryService()
The BluetoothRemoteGATTServer.getPrimaryService() method returns a promise to the primary BluetoothGATTService offered by the bluetooth device for a specified BluetoothServiceUUID.
312 BluetoothRemoteGATTServer.getPrimaryServices() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryServices()
The BluetoothRemoteGATTServer.getPrimaryServices() method returns a promise to a list of primary BluetoothGATTService objects offered by the bluetooth device for a specified BluetoothServiceUUID.
313 BluetoothRemoteGATTService API, Bluetooth, BluetoothGattService, BluetoothRemoteGATTService, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTService interface of the Web Bluetooth API represents a service provided by a GATT server, including a device, a list of referenced services, and a list of the characteristics of this service.
314 device API, Bluetooth, BluetoothRemoteGATTService, Device, Experimental, Property, Reference, Web Bluetooth API
The BluetoothGATTService.device read-only property returns information about a Bluetooth device through an instance of BluetoothDevice.
315 getCharacteristic() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristic()
The BluetoothGATTService.getCharacteristic() method returns a Promise to an instance of BluetoothGATTCharacteristic for a given universally unique identifier (UUID).
316 getCharacteristics() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristics()
The BluetoothGATTService.getCharacteristics() method returns a Promise to a list of BluetoothGATTCharacteristic instances for a given universally unique identifier (UUID).
317 getIncludedService() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedService
The BluetoothGATTService.getIncludedService() method returns a Promise to an instance of BluetoothGATTService for a given universally unique identifier (UUID).
318 getIncludedServices() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedServices()
The BluetoothGATTService.getIncludedServices() method returns a Promise to an Array of BluetoothGATTService instances for an optional universally unique identifier (UUID).
319 isPrimary API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, isPrimary
The BluetoothGATTService.isPrimary read-only property returns a Boolean that indicates whether this is a primary service. If it is not a primary service, it is a secondary service.
320 uuid API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, uuid
The BluetoothGATTService.uuid read-only property returns a DOMString representing the UUID of this service.
321 BluetoothStatusChangedEvent API, Firefox OS, Reference, Référence(2), Web Bluetooth
The BluetoothStatusChangedEvent API provides access to information regarding any change to the status of a Bluetooth device.
322 BluetoothStatusChangedEvent.address API, Firefox OS, Property, Reference, Référence(2), Web Bluetooth
The address property represents the address of the device for which the status has changed in the Bluetooth micro-network.
323 BluetoothStatusChangedEvent.status API, Firefox OS, Property, Reference, Référence(2), Web Bluetooth
The status property indicates if the connection is active (true) or not (false).
324 Body API, BODY, Experimental, Fetch, Fetch API, Interface, Reference, request
The Body mixin of the Fetch API represents the body of the response/request, allowing you to declare what its content type is and how it should be handled.
325 Body.arrayBuffer() API, ArrayBuffer, BODY, Experimental, Fetch, Method, Reference
The arrayBuffer() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.
326 Body.blob() API, BODY, Blob, Experimental, Fetch, Method, Reference
The blob() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a Blob.
327 Body.body API, BODY, Experimental, Fetch, Property, Reference, Streams
The body read-only property of the Body mixin is a simple getter used to expose a ReadableStream of the body contents.
328 Body.bodyUsed API, BODY, Experimental, Fetch, Property, Reference, bodyUsed
The bodyUsed read-only property of the Body mixin contains a Boolean that indicates whether the body has been read yet.
329 Body.formData() API, BODY, Experimental, Fetch, Fetch API, FormData, Method, NeedsExample, Reference
The formData() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.
330 Body.json() API, BODY, Experimental, Fetch, JSON, Method, Reference
The json() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with the result of parsing the body text as JSON.
331 Body.text() API, BODY, Experimental, Fetch, Method, Reference, Text
The text() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString object (text). The response is always decoded using UTF-8.
332 Broadcast Channel API API, Broadcast Channel API, HTML API, Overview, Reference
The Broadcast Channel API allows simple communication between browsing contexts (that is windows, tabs, frames, or iframes) with the same origin (usually pages from the same site).
333 BroadcastChannel API, Broadcast Channel API, Experimental, HTML API, Interface, Reference
The BroadcastChannel interface represents a named channel that any browsing context of a given origin can subscribe to. It allows communication between different documents (in different windows, tabs, frames or iframes) of the same origin. Messages are broadcasted via a message event fired at all BroadcastChannel objects listening to the channel.
334 BroadcastChannel() API, Broadcast Channel API, BroadcastChannel, Constructor, Experimental, HTML API, Reference
The BroadcastChannel() constructor creates a new BroadcastChannel and connects it to the underlying channel.
335 BroadcastChannel.close() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
The BroadcastChannel.close() terminates the connection to the underlying channel, allowing the object to be garbage collected. This is a necessary step to perform as there is no other way for a browser to know that this channel is not needed anymore.
336 BroadcastChannel.name Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Property, Read-only, Reference
The read-only BroadcastChannel.name property returns a DOMString, which uniquely identifies the given channel with its name. This name is passed to the BroadcastChannel() constructor at creation time and is therefore read-only.
337 BroadcastChannel.onmessage API, Broadcast Channel API, BroadcastChannel, Event Handler, Experimental, HTML API, Property, Reference
The BroadcastChannel.onmessage event handler is a property that specifies the function to execute when a message event, of type MessageEvent, is received by this BroadcastChannel. Such an event is sent by the browser with a message broadcasted to the channel.
338 BroadcastChannel.onmessageerror API, BroadcastChannel, Event Handler, Property, Reference, onmessageerror
The onmessageerror event handler of the BroadcastChannel interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the BroadcastChannel instance — that is, when it receives a message that cannot be deserialized.
339 BroadcastChannel.postMessage() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
The BroadcastChannel.postMessage() sends a message, which can be of any kind of Object, to each listener in any browser context with the same origin. The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel.
340 BudgetService API, BudgetService, Interface, Reference, Web Budget API
The BudgetService interface of the Web Budget API provides a programmatic interface to the user agent’s budget service. It is available in both document and worker environments.
341 BudgetService.getBudget() API, BudgetService, Method, Reference, Web Budget API, getBudget
The getBudget() property of the BudgetService interface returns a Promise that resolves to an array of BudgetState objects indicating the expected state of the budget at times in the future.
342 BudgetService.getCost() API, BudgetService, Method, Reference, Web Budget API, getCost
The getCost() property of the BudgetService interface returns a Promise that resolves to a double indicating the worst-case background operation cost of the provided background operation.
343 BudgetService.reserve() API, BudgetService, Method, Reference, Web Budget API, reserve
The reserve() property of the BudgetService interface returns a Promise that resolves to a boolean indicating whether the requested budget operation can be reserved.
344 BudgetState API, BudgetState, Interface, Reference, Web Budget API
The BudgetState interface of the the Web Budget API provides the amount of the user agent's processing budget at a specific point in time.
345 BudgetState.budgetAt API, BudtetState, Property, Reference, Web Budget API, budgetAt
The budgetAt read-only property of the BudgetState interface returns the anticipated processing budget at the specified time.
346 BudgetState.time API, BudgetState, Property, Reference, Time, Web Budget API
The time read-only property of the BudgetState interface returns a timestamp at which the budgetAt value is valid.
347 BufferSource API, Interface, JavaScript, Reference, Typed Arrays
BufferSource is a typedef used to represent objects that are either themselves an ArrayBuffer, or which are a TypedArray providing an ArrayBufferView.
348 ByteLengthQueuingStrategy API, ByteLengthqueueingStrategy, Experimental, Interface, Reference, Streams
The ByteLengthQueuingStrategy interface of the the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
349 ByteLengthQueuingStrategy.ByteLengthQueuingStrategy() API, ByteLengthQueuingStrategy, Constructor, Experimental, Reference, Streams
The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy() object instance.
350 ByteLengthQueuingStrategy.size() API, ByteLengthqueueingStrategy, Experimental, Method, Reference, Streams, size
The size() method of the ByteLengthQueueingStrategy interface returns the given chunk’s byteLength property.
351 ByteString API, DOM, DOM Reference, Reference, String, WebIDL
ByteString is a UTF-8 String that corresponds to the set of all possible sequences of bytes. ByteString maps to a String when returned in JavaScript; generally, it's only used when interfacing with protocols that use bytes and strings interchangably, such as HTTP.
352 CDATASection API, CDATASection, DOM, Interface, Reference
The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section.
353 CSS API, CSSOM, Interface, Painting, Reference
The CSS interface holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface.
354 CSS.escape() API, CSS, CSSOM, Method, Reference, Static, escape()
The CSS.escape() static method returns a DOMString containing the escaped string passed as parameter, mostly for use as part of a CSS selector.
355 CSS.supports() API, CSSOM, Method, Reference
The CSS.supports() static methods returns a Boolean value indicating if the browser supports a given CSS feature, or not.
356 CSS Counter Styles CSS, CSS Counter Styles, Overview
The CSS Counter Styles module allows to define custom counter styles, which can be used for CSS list-marker and generated-content counters.
357 CSS Font Loading API API, CSSFontLoading, Experimental, Fonts, NeedsContent, Reference
The CSS Font Loading API provides events and interfaces for dynamically loading font resources.
358 CSS Object Model (CSSOM) API, CSSOM, Overview, Reference
The CSS Object Model is a set of APIs allowing the manipulation of CSS from JavaScript. It is much like the DOM, but for the CSS rather than the HTML. It allows users to read and modify CSS style dynamically.
359 Determining the dimensions of elements API, CSSOM View, Client width, Guide, Intermediate, client height, offsetHeight, offsetWidth, size of displayed content
There are several properties you can look at in order to determine the width and height of elements, and it can be tricky to determine which is the right one for your needs. This article is designed to help you make that decision. Note that all these properties are read-only. If you want to set the width and height of an element, use width and height or the overriding min-width and max-width, and min-height and max-height properties.
360 Managing screen orientation API, Advanced, CSSOM View, Guide, Screen Orientation
Screen orientation is something slightly different than device orientation. Even if a device doesn't have the capacity to detect its own orientation, a screen always has one. And if a device is able to know its orientation, it's good to have the ability to control the screen orientation in order to preserve or adapt the interface of a web application.
361 Using dynamic styling information API, Beginner, CSSOM, Guide, NeedsBeginnerUpdate
The CSS Object Model (CSSOM), part of the DOM, exposes specific interfaces allowing manipulation of a wide amount of information regarding CSS. Initially defined in the DOM Level 2 Style recommendation, these interfaces forms now a specification, CSS Object Model (CSSOM) which aims at superseding it.
362 CSSConditionRule API, CSSOM, Interface, Reference
An object implementing the CSSConditionRule interface represents a single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule.
363 CSSCounterStyleRule API, CSS Counter Styles, Interface, Reference
The CSSCounterStyleRule interface represents an @counter-style at-rule.
364 CSSGroupingRule API, CSSOM, Interface, Reference
An object implementing the CSSGroupingRule interface represents any CSS at-rule that contains other rules nested within it.
365 CSSImageValue API, CSS Typed Object Model API, CSSImageValue, Experimental, Houdini, Interface, Reference
The CSSImageValue interface of the the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.
366 CSSKeyframeRule API, CSS Animations, CSSOM, Experimental, Interface, Reference
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).
367 CSSKeyframesRule API, CSS Animations, CSSOM, Experimental, Interface, Reference
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).
368 CSSKeywordValue API, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Interface, Reference
The CSSKeywordValue interface of the the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
369 CSSKeywordValue.CSSKeywordValue() API, CSS Typed Object Model API, CSSKeywordValue, Constructor, Experimental, Houdini, Reference
The CSSKeywordValue constructor creates a new CSSKeywordValue object which represents CSS keywords and other identifiers.
370 CSSKeywordValue.value API, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Property, Reference, value
The value property of the CSSKeywordValue interface returns or sets the value of the CSSKeywordValue.
371 CSSMatrix API, Reference
A CSSMatrix represents a homogeneous 4x4 matrix to which 2D or 3D transforms can be applied. This class was allegedly part of CSS Transitions Module Level 3 at some point, but is not present in the current Working Draft. Use DOMMatrix instead.
372 CSSMediaRule API, CSSOM, Interface, Reference
The CSSMediaRule is an interface 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).
373 CSSNamespaceRule API, CSSOM, Interface, Reference
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).
374 CSSNamespaceRule.namespaceURI API, CSSNamespaceRule, CSSOM, Property, Reference, namespaceURI
The CSSNamespaceRule.namespaceURI read-only property returns a DOMString containing the text of the URI of the given namespace.
375 CSSNamespaceRule.prefix API, CSSNamespaceRule, CSSOM, Property, Reference, prefix
The CSSNamespaceRule.prefix read-only property returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns  null.
376 CSSOMString API, CSSOM, Reference
CSSOMString is used to denote string data in CSSOM specifications and can refer to either DOMString or USVString. When a specification says CSSOMString, it depends on the browser vendors to choose whether to use DOMString or USVString. While browser implementations that use UTF-8 internally to represent strings in memory can use USVString when the specification says CSSOMString, implementations that already represent strings as 16-bit sequences might choose to use DOMString instead.
377 CSSPageRule API, CSSOM, Interface, Reference
CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).
378 CSSPositionValue API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Interface, Reference
The CSSPositionValue interface of the the CSS Typed Object Model API represents values for properties that take a position, for example object-position.
379 CSSPositionValue.CSSPositionValue() API, CSS Typed Object Model API, CSSPositionValue, Constructor, Experimental, Houdini, Reference
The CSSPositionValue constructor creates a new CSSPositionValue object which represents values for properties that take a position, for example object-position.
380 CSSPositionValue.x API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, x
The x property of the CSSPositionValue interface returns returns the item's position along the web page's horizontal axis.
381 CSSPositionValue.y API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, y
The y property of the CSSPositionValue interface returns the item's position along the vertical axis.
382 CSSPrimitiveValue API, CSSPrimitiveValue, Interface, Reference
The CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property.
383 CSSPrimitiveValue.getCounterValue() API, CSSPrimitiveValue, Method, NeedsExample, getCounterValue
The getCounterValue() method of the CSSPrimitiveValue interface is used to get the counter value. If this CSS value doesn't contain a counter value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Counter interface.
384 CSSPrimitiveValue.getFloatValue() API, CSSPrimitiveValue, Method, getFloatValue
The getFloatValue() method of the CSSPrimitiveValue interface is used to get a float value in a specified unit. If this CSS value doesn't contain a float value or can't be converted into the specified unit, a DOMException is raised.
385 CSSPrimitiveValue.getRGBColorValue() API, CSSPrimitiveValue, Method, getRGBColorValue
The getRGBColorValue() method of the CSSPrimitiveValue interface is used to get an RGB color value. If this CSS value doesn't contain a RGB color value, a DOMException is raised. Modification to the corresponding style property can be achieved using the RGBColor interface.
386 CSSPrimitiveValue.getRectValue() API, CSSPrimitiveValue, Method, getRectValue
The getRectValue() method of the CSSPrimitiveValue interface is used to get a rect value. If this CSS value doesn't contain a rect value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Rect interface.
387 CSSPrimitiveValue.getStringValue() API, CSSPrimitiveValue, Method, getStringValue
The getStringValue() method of the CSSPrimitiveValue interface is used to get a string value. If this CSS value doesn't contain a string value, a DOMException is raised.
388 CSSPrimitiveValue.primitiveType API, CSSPrimitiveValue, Property, Read-only, Reference, primitiveValue
The primitiveType read-only property of the CSSPrimitiveValue interface represents the type of a CSS value.
389 CSSPrimitiveValue.setFloatValue() API, CSSPrimitiveValue, Method, NeedsExample, setFloatValue
The setFloatValue() method of the CSSPrimitiveValue interface is used to set a float value. If the property attached to this value can't accept the specified unit or the float value, the value will be unchanged and a DOMException will be raised.
390 CSSPrimitiveValue.setStringValue() API, CSSPrimitiveValue, Method, NeedsExample, setStringValue
The setStringValue() method of the CSSPrimitiveValue interface is used to set a string value. If the property attached to this value can't accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised.
391 CSSRule API, CSSOM, Interface, Reference
The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.
392 CSSRule.cssText API, CSSOM, NeedsSpecTable, Property, Reference
The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
393 CSSRule.parentStyleSheet API, CSSOM, CSSRule, NeedsSpecTable, Property, Reference
The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
394 CSSRuleList API, CSSOM, Interface, Reference
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
395 CSSStyleDeclaration API, CSSOM, CSSRule, Interface, Reference
The CSSStyleDeclaration interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
396 CSSStyleDeclaration.cssText
cssText returns or sets the text of the element's inline style declaration only. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
397 CSSStyleDeclaration.getPropertyCSSValue() API, CSSOM, Method, Obsolete, Reference
The CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property.
398 CSSStyleDeclaration.getPropertyPriority() API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property.
399 CSSStyleDeclaration.getPropertyValue() API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property.
400 CSSStyleDeclaration.item() API, CSSOM, Method, Reference
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index
401 CSSStyleDeclaration.length API, CSSOM, Property, Reference
The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
402 CSSStyleDeclaration.parentRule API, CSSOM, Property, Reference
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block
403 CSSStyleDeclaration.removeProperty() API, CSSOM, Method, Reference
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
404 CSSStyleDeclaration.setProperty() API, CSSOM, Method, Reference
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
405 CSSStyleRule API, CSSOM, Interface, Reference
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).
406 CSSStyleRule.selectorText API, CSSOM, CSSStyleRule, Reference
The CSSRule.selectorText property gets the textual representation of the selector for the rule set. This is readonly in some browsers; to set stylesheet rules dynamically cross-browser, see Using dynamic styling information.
407 CSSStyleRule.style API, CSSOM, NeedsSpecTable, Property, Reference
The CSSRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSRule.
408 CSSStyleSheet API, CSSOM, Reference
The CSSStyleSheet interface represents a single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.
409 CSSStyleSheet.deleteRule() API, CSSOM, CSSStyleSheet, Method, Reference
The CSSStyleSheet.deleteRule() method removes a style rule from the current style sheet object.
410 CSSStyleSheet.insertRule() API, CSSOM, CSSStyleSheet, Method, Reference
The CSSStyleSheet.insertRule() method inserts a new CSS rule into the current style sheet, with some restrictions.
411 CSSStyleValue API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Interface, Reference
The CSSStyleValue interface of the the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.
412 CSSStyleValue.parse() API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parse()
The parse() method of the CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.
413 CSSStyleValue.parseAll() API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parseAll()
The parseAll() method of the CSSStyleValue interface sets all occurences of a specific CSS property to the specified valueand returns an array of CSSStyleValue objects, each containing one of the supplied values.
414 CSSSupportsRule API, CSSOM, Interface, Reference
The CSSSupportsRule interface describes an object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE).
415 CSSValue API, CSSValue, DOM, Interface, NeedsExample, Reference
The CSSValue interface represents the current computed value of a CSS property.
416 CSSValue.cssText API, CSSValue, Property, Reference, cssText
The cssText property of the CSSValue interface represents the current computed CSS property value.
417 CSSValue.cssValueType API, CSSValue, Property, Read-only, Reference, cssValueType
The cssValueType read-only property of the CSSValue interface represents the type of the current computed CSS property value.
418 CSSValueList API, CSSValueList, DOM, Interface, Reference
The CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values.
419 CSSValueList.item() API, CSSValueList, Method, Reference, item
The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index.
420 CSSValueList.length API, CSSValueList, NeedsExample, Property, Read-only, Reference, length
The length read-only property of the CSSValueList interface represents the number of CSSValues in the list. The range of valid values of the indices is 0 to length-1 inclusive.
421 Cache API, Cache, Cache API, Experimental, Interface, Offline, Reference, Service Workers, Service worker API, Storage
The Cache interface provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
422 Cache.add() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker
The add() method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache. 
423 Cache.addAll() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, addAll
The addAll() method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache. The request objects created during retrieval become keys to the stored response operations. 
424 Cache.delete() API, Cache, Experimental, Method, NeedsContent, NeedsExample, Reference, Service Workers, ServiceWorker, delete
The delete() method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to true. If no Cache entry is found, it resolves to false.
425 Cache.keys() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, keys
The keys() method of the Cache interface returns a Promise that resolves to an array of Cache keys.
426 Cache.match() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
The match() method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object. If no match is found, the Promise resolves to undefined.
427 Cache.matchAll() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, matchAll
The matchAll() method of the Cache interface returns a Promise that resolves to an array of all matching requests in the Cache object.
428 Cache.put() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, put
The put() method of the Cache interface allows key/value pairs to be added to the current Cache object.
429 CacheStorage API, CacheStorage, Experimental, Interface, Reference, Service Workers, ServiceWorker
The CacheStorage interface represents the storage for Cache objects.
430 CacheStorage.delete() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, delete
The delete() method of the CacheStorage interface finds the Cache object matching the cacheName, and if found, deletes the Cache object and returns a Promise that resolves to true. If no Cache object is found, it returns false.
431 CacheStorage.has() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, has
The has() method of the CacheStorage interface returns a Promise that resolves to true if a Cache object matches the cacheName.
432 CacheStorage.keys() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, keys
The keys() method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created. Use this method to iterate over a list of all Cache objects.
433 CacheStorage.match() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
The match() method of the CacheStorage interface (available globally as caches) checks if a given Request or url string is a key for a stored Response. This method returns a Promise for a Response, or undefined if no match is found.
434 CacheStorage.open() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, open
The open() method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the cacheName.
435 Canvas API API, Canvas, JavaScript, Overview, Reference
The Canvas API provides a means for drawing graphics via JavaScript and the HTML <canvas> element. Among other things, it can be used for animation, game graphics, data visualization, photo manipulation, and real-time video processing.
436 A basic ray-caster Advanced, Canvas, Example, Graphics, HTML, Web
437 Canvas tutorial Canvas, Graphics, Guide, HTML, HTML5, Intermediate, Web
This tutorial describes how to use the <canvas> element to draw 2D graphics, starting with the basics. The examples provided should give you some clear ideas what you can do with canvas, and will provide code snippets that may get you started in building your own content.
438 Advanced animations Canvas, Graphics, Tutorial
We are going to use a ball for our animation studies, so let's first draw that ball onto the canvas. The following code will set us up.
439 Applying styles and colors Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
Up until now we have only seen methods of the drawing context. If we want to apply colors to a shape, there are two important properties we can use: fillStyle and strokeStyle.
440 Basic animations Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
Probably the biggest limitation is, that once a shape gets drawn, it stays that way. If we need to move it we have to redraw it and everything that was drawn before it. It takes a lot of time to redraw complex frames and the performance depends highly on the speed of the computer it's running on.
441 Basic usage of canvas Canvas, Graphics, HTML, Intermediate, Tutorial
At first sight a <canvas> looks like the <img> element, with the only clear difference being that it doesn't have the src and alt attributes. Indeed, the <canvas> element has only two attributes, width and height. These are both optional and can also be set using DOM properties. When no width and height attributes are specified, the canvas will initially be 300 pixels wide and 150 pixels high. The element can be sized arbitrarily by CSS, but during rendering the image is scaled to fit its layout size: if the CSS sizing doesn't respect the ratio of the initial canvas, it will appear distorted.
442 Compositing and clipping Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
We can not only draw new shapes behind existing shapes but we can also use it to mask off certain areas, clear sections from the canvas (not limited to rectangles like the clearRect() method does) and more.
443 Compositing example Canvas, Example, Graphics, HTML, HTML5, Tutorial
This sample program demonstrates a number of compositing operations. The output looks like this:
444 Drawing shapes with canvas Canvas, Graphics, HTML, HTML Canvas, HTML5, Intermediate, Tutorial
Before we can start drawing, we need to talk about the canvas grid or coordinate space. Our HTML skeleton from the previous page had a canvas element 150 pixels wide and 150 pixels high. To the right, you see this canvas with the default grid overlayed. Normally 1 unit in the grid corresponds to 1 pixel on the canvas. The origin of this grid is positioned in the top left corner at coordinate (0,0). All elements are placed relative to this origin. So the position of the top left corner of the blue square becomes x pixels from the left and y pixels from the top, at coordinate (x,y). Later in this tutorial we'll see how we can translate the origin to a different position, rotate the grid and even scale it, but for now we'll stick to the default.
445 Drawing text Canvas, Graphics, Intermediate, Tutorial
The canvas rendering context provides two methods to render text:
446 Finale Canvas, Graphics, Tutorial
There are a variety of demos and further explanations about canvas on these sites:
447 Hit regions and accessibility Canvas, Graphics, Tutorial
The content inside the <canvas> ... </canvas> tags can be used as a fallback for browsers which don't support canvas rendering. It's also very useful for assistive technology users (like screen readers) which can read and interpret the sub DOM in it. A good example at html5accessibility.com demonstrates how this can be done:
448 Optimizing canvas Advanced, Canvas, Graphics, HTML, HTML5, Tutorial
This article provides suggestions for optimizing your use of the canvas element to ensure that your graphics perform well.
449 Pixel manipulation with canvas Canvas, Graphics, Intermediate, Tutorial
The ImageData object represents the underlying pixel data of an area of a canvas object. It contains the following read-only attributes:
450 Transformations Canvas, Graphics, Guide, HTML, HTML5, Intermediate, Web
Before we look at the transformation methods, let's look at two other methods which are indispensable once you start generating ever more complex drawings.
451 Using images Advanced, Canvas, Graphics, HTML, Tutorial
Importing images into a canvas is basically a two step process:
452 Manipulating video using canvas Canvas, Manipulating, Video
453 CanvasCaptureMediaStreamTrack CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Interface, Media, Media Capture, Reference, Web
The CanvasCaptureMediaStreamTrack interface represents the video track contained in a MediaStream being generated from a <canvas> following a call to HTMLCanvasElement.captureStream().
454 CanvasCaptureMediaStreamTrack.canvas Canvas, CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Media Capture, Property, Read-only, Reference, Web
The CanvasCaptureMediaStreamTrack canvas read-only property returns the HTMLCanvasElement from which frames are being captured.
455 CanvasCaptureMediaStreamTrack.requestFrame() Canvas, CanvasCaptureMediaStream, DOM, Experimental, Frame Capture, Media, Method, Reference, requestFrame
The CanvasCaptureMediaStreamTrack method requestFrame() requests that a frame be captured from the canvas and sent to the stream.
456 CanvasGradient API, Canvas, CanvasGradient, Gradients, Interface, Reference
The CanvasGradient interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().
457 CanvasGradient.addColorStop() API, Canvas, CanvasGradient, Gradients, Method, Reference
The CanvasGradient.addColorStop() method adds a new color stop, defined by an offset and a color, to a given canvas gradient.
458 CanvasImageSource API, Canvas, Helper, Reference
CanvasImageSource provides a mechanism for other interfaces to be used as image sources for some methods of the CanvasDrawImage and CanvasFillStrokeStyles interfaces. It’s just an internal helper type to simplify the specification. It’s not an interface and there are no objects implementing it.
459 CanvasPattern API, Canvas, Interface, Reference
The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
460 CanvasPattern.setTransform() API, Canvas, CanvasPattern, Experimental, Method, Reference
The CanvasPattern.setTransform() method uses an SVGMatrix object as the pattern's transformation matrix and invokes it on the pattern.
461 CanvasRenderingContext2D API, Canvas, CanvasRenderingContext2D, Games, Graphics, Reference
The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects.
462 CanvasRenderingContext2D.addHitRegion() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.addHitRegion() method of the Canvas 2D API adds a hit region to the bitmap. This allows you to make hit detection easier, lets you route events to DOM elements, and makes it possible for users to explore the canvas without seeing it.
463 CanvasRenderingContext2D.arc() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.arc() method of the Canvas 2D API adds a circular arc to the current sub-path.
464 CanvasRenderingContext2D.arcTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.arcTo() method of the Canvas 2D API adds a circular arc to the current sub-path, using the given control points and radius. The arc is automatically connected to the path's latest point with a straight line, if necessary for the specified parameters.
465 CanvasRenderingContext2D.beginPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.beginPath() method of the Canvas 2D API starts a new path by emptying the list of sub-paths. Call this method when you want to create a new path.
466 CanvasRenderingContext2D.bezierCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.bezierCurveTo() method of the Canvas 2D API adds a cubic Bézier curve to the current sub-path. It requires three points: the first two are control points and the third one is the end point. The starting point is the latest point in the current path, which can be changed using moveTo() before creating the Bézier curve.
467 CanvasRenderingContext2D.canvas API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.canvas property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated <canvas> element.
468 CanvasRenderingContext2D.clearHitRegions() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.clearHitRegions() method of the Canvas 2D API removes all hit regions from the canvas.
469 CanvasRenderingContext2D.clearRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.clearRect() method of the Canvas 2D API erases the pixels in a rectangular area by setting them to transparent black.
470 CanvasRenderingContext2D.clip() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.clip() method of the Canvas 2D API turns the current or given path into the current clipping region. It replaces any previous clipping region.
471 CanvasRenderingContext2D.closePath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.closePath() method of the Canvas 2D API attempts to add a straight line from the current point to the start of the current sub-path. If the shape has already been closed or has only one point, this function does nothing.
472 CanvasRenderingContext2D.createImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.createImageData() method of the Canvas 2D API creates a new, blank ImageData object with the specified dimensions. All of the pixels in the new object are transparent black.
473 CanvasRenderingContext2D.createLinearGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
The CanvasRenderingContext2D.createLinearGradient() method of the Canvas 2D API creates a gradient along the line connecting two given coordinates.
474 CanvasRenderingContext2D.createPattern() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.createPattern() method of the Canvas 2D API creates a pattern using the specified image and repetition. This method returns a CanvasPattern.
475 CanvasRenderingContext2D.createRadialGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
The CanvasRenderingContext2D.createRadialGradient() method of the Canvas 2D API creates a radial gradient using the size and coordinates of two circles.
476 CanvasRenderingContext2D.currentTransform API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
The CanvasRenderingContext2D.currentTransform property of the Canvas 2D API returns or sets a DOMMatrix (current specification) or SVGMatrix (old specification) object for the current transformation matrix.
477 CanvasRenderingContext2D.direction API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
The CanvasRenderingContext2D.direction property of the Canvas 2D API specifies the current text direction used to draw text.
478 CanvasRenderingContext2D.drawFocusIfNeeded() API, Accessibility, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.drawFocusIfNeeded() method of the Canvas 2D API draws a focus ring around the current or given path, if the specified element is focused.
479 CanvasRenderingContext2D.drawImage() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.drawImage() method of the Canvas 2D API provides different ways to draw an image onto the canvas.
480 CanvasRenderingContext2D.drawWidgetAsOnScreen() API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The non-standard and internal only CanvasRenderingContext2D.drawWidgetAsOnScreen() method of the Canvas 2D API renders the root widget of a window into the canvas. Unlike drawWindow(), this API uses the operating system to snapshot the widget on-screen, rather than reading from Gecko's own compositor.
481 CanvasRenderingContext2D.drawWindow() API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The non-standard and internal only CanvasRenderingContext2D.drawWindow() method of the Canvas 2D API renders a region of a window into the canvas. The contents of the window's viewport are rendered, ignoring viewport clipping and scrolling.
482 CanvasRenderingContext2D.ellipse() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.ellipse() method of the Canvas 2D API adds an elliptical arc to the current sub-path.
483 CanvasRenderingContext2D.fill() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.fill() method of the Canvas 2D API fills the current or given path with the current fillStyle.
484 CanvasRenderingContext2D.fillRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.fillRect() method of the Canvas 2D API draws a rectangle that is filled according to the current fillStyle.
485 CanvasRenderingContext2D.fillStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.fillStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use inside shapes. The default style is #000 (black).
486 CanvasRenderingContext2D.fillText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Fill Text, Filling Text, Method, Reference, Text, fillText
The CanvasRenderingContext2D method fillText(), part of the Canvas 2D API, draws a text string at the specified coordinates, filling the string's characters with the current fillStyle. An optional parameter allows specifying a maximum width for the rendered text, which the user agent will achieve by condensing the text or by using a lower font size.
487 CanvasRenderingContext2D.filter API, Canvas, CanvasRenderingContext2D, Experimental, Property
The CanvasRenderingContext2D.filter property of the Canvas 2D API provides filter effects such as blurring and grayscaling. It is similar to the CSS filter property and accepts the same values.
488 CanvasRenderingContext2D.font API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.font property of the Canvas 2D API specifies the current text style to use when drawing text. This string uses the same syntax as the CSS font specifier.
489 CanvasRenderingContext2D.getImageData() API, Canvas, Canvas API, CanvasRenderingContext2D, Cut, Graphics, Image, ImageData, Method, Reference, copy, getImageData, img
The CanvasRenderingContext2D method getImageData() of the Canvas 2D API returns an ImageData object representing the underlying pixel data for a specified portion of the canvas.
490 CanvasRenderingContext2D.getLineDash() API, Canvas, CanvasRenderingContext2D, Method, Reference
The getLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface gets the current line dash pattern.
491 CanvasRenderingContext2D.globalAlpha API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.globalAlpha property of the Canvas 2D API specifies the alpha (transparency) value that is applied to shapes and images before they are drawn onto the canvas.
492 CanvasRenderingContext2D.globalCompositeOperation API, Blending, Canvas, CanvasRenderingContext2D, Compositing, Property, Reference
The CanvasRenderingContext2D.globalCompositeOperation property of the Canvas 2D API sets the type of compositing operation to apply when drawing new shapes.
493 CanvasRenderingContext2D.imageSmoothingEnabled API, Canvas, CanvasRenderingContext2D, Property, Reference
The imageSmoothingEnabled property of the CanvasRenderingContext2D interface, part of the Canvas API, determines whether scaled images are smoothed (true, default) or not (false). On getting the imageSmoothingEnabled property, the last value it was set to is returned.
494 CanvasRenderingContext2D.imageSmoothingQuality API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference, imageSmoothingQuality
The imageSmoothingQuality property of the CanvasRenderingContext2D interface, part of the Canvas API, lets you set the quality of image smoothing.
495 CanvasRenderingContext2D.isPointInPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.isPointInPath() method of the Canvas 2D API reports whether or not the specified point is contained in the current path.
496 CanvasRenderingContext2D.isPointInStroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.isPointInStroke() method of the Canvas 2D API reports whether or not the specified point is inside the area contained by the stroking of a path.
497 CanvasRenderingContext2D.lineCap API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineCap property of the Canvas 2D API determines the shape used to draw the end points of lines.
498 CanvasRenderingContext2D.lineDashOffset API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineDashOffset property of the Canvas 2D API sets the line dash offset, or "phase."
499 CanvasRenderingContext2D.lineJoin API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineJoin property of the Canvas 2D API determines the shape used to join two line segments where they meet.
500 CanvasRenderingContext2D.lineTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D method lineTo(), part of the Canvas 2D API, adds a straight line to the current sub-path by connecting the sub-path's last point to the specified (x, y) coordinates.
501 CanvasRenderingContext2D.lineWidth API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineWidth property of the Canvas 2D API sets the thickness of lines.
502 CanvasRenderingContext2D.measureText() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.measureText() method returns a TextMetrics object that contains information about the measured text (such as its width, for example).
503 CanvasRenderingContext2D.miterLimit API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio.
504 CanvasRenderingContext2D.moveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.moveTo() method of the Canvas 2D API begins a new sub-path at the point specified by the given (x, y) coordinates.
505 CanvasRenderingContext2D.putImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.putImageData() method of the Canvas 2D API paints data from the given ImageData object onto the canvas. If a dirty rectangle is provided, only the pixels from that rectangle are painted. This method is not affected by the canvas transformation matrix.
506 CanvasRenderingContext2D.quadraticCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.quadraticCurveTo() method of the Canvas 2D API adds a quadratic Bézier curve to the current sub-path. It requires two points: the first one is a control point and the second one is the end point. The starting point is the latest point in the current path, which can be changed using moveTo() before creating the quadratic Bézier curve.
507 CanvasRenderingContext2D.rect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rect() method of the Canvas 2D API adds a rectangle to the current path.
508 CanvasRenderingContext2D.removeHitRegion() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.removeHitRegion() method of the Canvas 2D API removes a given hit region from the canvas.
509 CanvasRenderingContext2D.resetTransform() Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.resetTransform() method of the Canvas 2D API resets the current transform to the identity matrix.
510 CanvasRenderingContext2D.restore() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.restore() method of the Canvas 2D API restores the most recently saved canvas state by popping the top entry in the drawing state stack. If there is no saved state, this method does nothing.
511 CanvasRenderingContext2D.rotate() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rotate() method of the Canvas 2D API adds a rotation to the transformation matrix.
512 CanvasRenderingContext2D.save() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.save() method of the Canvas 2D API saves the entire state of the canvas by pushing the current state onto a stack.
513 CanvasRenderingContext2D.scale() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.scale() method of the Canvas 2D API adds a scaling transformation to the canvas units horizontally and/or vertically.
514 CanvasRenderingContext2D.scrollPathIntoView() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.scrollPathIntoView() method of the Canvas 2D API scrolls the current or given path into view. It is similar to Element.scrollIntoView().
515 CanvasRenderingContext2D.setLineDash() API, Canvas, CanvasRenderingContext2D, Dashes, LInes, Method, Reference, patterns, setLineDash
The setLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface sets the line dash pattern used when stroking lines. It uses an array of values that specify alternating lengths of lines and gaps which describe the pattern.
516 CanvasRenderingContext2D.setTransform() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.setTransform() method of the Canvas 2D API resets (overrides) the current transformation to the identity matrix, and then invokes a transformation described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
517 CanvasRenderingContext2D.shadowBlur API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowBlur property of the Canvas 2D API specifies the amount of blur applied to shadows. The default is 0 (no blur).
518 CanvasRenderingContext2D.shadowColor API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowColor property of the Canvas 2D API specifies the color of shadows.
519 CanvasRenderingContext2D.shadowOffsetX API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetX property of the Canvas 2D API specifies the distance that shadows will be offset horizontally.
520 CanvasRenderingContext2D.shadowOffsetY API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetY property of the Canvas 2D API specifies the distance that shadows will be offset vertically.
521 CanvasRenderingContext2D.stroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.stroke() method of the Canvas 2D API strokes (outlines) the current or given path with the current stroke style.
522 CanvasRenderingContext2D.strokeRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.strokeRect() method of the Canvas 2D API draws a rectangle that is stroked (outlined) according to the current strokeStyle and other context settings.
523 CanvasRenderingContext2D.strokeStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.strokeStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use for the strokes (outlines) around shapes. The default is #000 (black).
524 CanvasRenderingContext2D.strokeText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Method, Reference, Stroke String, Stroking Text, strokeText
The CanvasRenderingContext2D method strokeText(), part of the Canvas 2D API, strokes — that is, draws the outlines of — the characters of a text string at the specified coordinates. An optional parameter allows specifying a maximum width for the rendered text, which the user agent will achieve by condensing the text or by using a lower font size.
525 CanvasRenderingContext2D.textAlign API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textAlign property of the Canvas 2D API specifies the current text alignment used when drawing text.
526 CanvasRenderingContext2D.textBaseline API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textBaseline property of the Canvas 2D API specifies the current text baseline used when drawing text.
527 CanvasRenderingContext2D.transform() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.transform() method of the Canvas 2D API multiplies the current transformation with the matrix described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
528 CanvasRenderingContext2D.translate() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation to the current matrix.
529 CaretPosition API, CSSOM View, Experimental, Interface, Reference
The CaretPosition interface represents the caret position, an indicator for the text insertion point. You can get a CaretPosition using the document.caretPositionFromPoint method.
530 Channel Messaging API API, Channel messaging, HTML API, Overview, Reference
The Channel Messaging API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, two documents via a SharedWorker, or two workers) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
531 Using channel messaging API, Channel messaging, HTML5, MessageChannel, MessagePort, Tutorial
The Channel Messaging API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, or two documents via a SharedWorker) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
532 ChannelMergerNode API, ChannelMergerNode, Interface, Reference, Web Audio API
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.
533 ChannelMergerNode() API, Audio, ChannelMergerNode, Constructor, Reference, Web Audio API
The ChannelMergerNode() constructor creates a new ChannelMergerNode object instance.
534 ChannelSplitterNode API, Audio, ChannelSplitterNode, Interface, Reference, Splitter, Web Audio, Web Audio API
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.
535 ChannelSplitterNode.ChannelSplitterNode() API, Audio, ChannelSplitterNode, Constructor, Reference, Splitter, Web Audio, Web Audio API
The ChannelSplitterNode() constructor of the Web Audio API creates a new ChannelSplitterNode object instance, representing a node that splits the input into a separate output for each of the source node's audio channels.
536 CharacterData API, DOM
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.
537 ChildNode API, DOM, Experimental, Interface, Node
The ChildNode interface contains methods that are particular to Node objects that can have a parent.
538 ChildNode.after() API, DOM, Experimental, Method, Node, Reference
The ChildNode.after() method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just after this ChildNode. DOMString objects are inserted as equivalent Text nodes.
539 ChildNode.before() API, DOM, Experimental, Method, Node, Reference
The ChildNode.before method inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just before this ChildNode. DOMString objects are inserted as equivalent Text nodes.
540 ChildNode.remove() API, ChildNode, DOM, Experimental, Method
The ChildNode.remove() method removes the object from the tree it belongs to.
541 ChildNode.replaceWith() API, DOM, Experimental, Method, Node, Reference
The ChildNode.replaceWith() method replaces this ChildNode in the children list of its parent with a set of Node or DOMString objects. DOMString objects are inserted as equivalent Text nodes.
542 Client API, Client, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorkerClient, ServiceWorkers
The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get().
543 Client.frameType API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, frameType
The frameType read-only property of the Client interface indicates the type of browsing context of the current Client. This value can be one of auxiliarytop-levelnested, or none.
544 Client.id API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, id
The id read-only property of the Client interface returns the universally unique identifier of the Client object.
545 Client.postMessage() API, Client, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, postMessage
The postMessage() method of Client allows a service worker to send a message to a client (a WindowWorker, or SharedWorker). The message is received in the "message" event on navigator.serviceWorker
546 Client.type API, Client, Property, Reference, Service Workers, Type
The type read-only property of the Client interface indicates the type of client the service worker is controlling.
547 Client.url API, Client, Experimental, Property, Reference, Service Workers, URL
The url read-only property of the Client interface returns the URL of the current service worker client.
548 Clients API, Clients, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorker, Workers
The Clients interface provides access to Client objects. Access it via self.clients within a service worker.
549 Clients.claim() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, claim
The claim() method of the Clients allows an active service worker to set itself as the controller for all clients within its scope. This triggers a "controllerchange" event on navigator.serviceWorker in any clients that become controlled by this service worker.
550 Clients.get() API, Clients, Experimental, Method, Reference, Service Workers, get
The get() method of the Clients interface gets a service worker client matching a given id and returns it in a Promise.
551 Clients.matchAll() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker
The matchAll() method of the Clients interface returns a Promise for a list of service worker Client objects. Include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker.
552 Clients.openWindow() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, openWindow
The openWindow() method of the Clients interface creates a new top level browsing context and loads a given URL. If the calling script doesn't have permission to show popups, openWindow() will throw an InvalidAccessError.
553 Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Interface, Pasteboard, Reference, copy, paste
The Clipboard interface implements the Clipboard API, providing—if the user grants permission—both read and write access to the contents of the system clipboard.
554 Clipboard.read() API, Clip, Clipboard, Clipboard API, Editing, Method, Reference, Scrap, Text, paste, read
The read() method of the Clipboard interface requests a copy of the clipboard's contents, delivering the data to the returned Promise when the promise is resolved. Unlike readText(), the read() method can return arbitrary data, such as images.
555 Clipboard.readText() API, Async Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Method, Pasteboard, Reference, Text, copy, paste, readText
The Clipboard interface's readText() method returns a Promise which resolves with a copy of the textual contents of the system clipboard.
556 Clipboard.write() API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, write
The Clipboard method write() writes arbitrary data, such as images, to the clipboard.
557 Clipboard.writeText() API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, writeText
The Clipboard interface's writeText() property writes the specified text string to the system clipboard.
558 Clipboard API API, Async Clipboard API, Clipboard, Clipboard API, Clipboard Event API, ClipboardEvent, Landing, Reference
The Clipboard API provides the ability to respond to clipboard commands (cut, copy, and paste) as well as to asynchronously read from and write to the system clipboard. Access to the contents of the clipboard is gated behind the Permissions API; without user permission, reading or altering the clipboard contents is not permitted.
559 ClipboardEvent API, Clipboard API, Event, Experimental, Interface
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
560 ClipboardEvent() API, Clipboard API, ClipboardEvent, Constructor, Experimental, Reference
The ClipboardEvent() constructor returns a newly created ClipboardEvent, representing an event providing information related to modification of the clipboard, that is cut, copy, and paste events.
561 ClipboardEvent.clipboardData API, Clipboard API, ClipboardEvent, Experimental, Method, Read-only
The ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:
562 CloseEvent API, Interface, Reference, Web, WebSocket, WebSockets
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.
563 CloseEvent() API, CloseEvent, Constructor, Reference
The CloseEvent() constructor creates a new CloseEvent.
564 CloseEvent.initCloseEvent()
The CloseEvent.initCloseEvent() method initializes the value of a close event once it's been created (normally using the Document.createEvent() method).
565 Comment API, DOM
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.
566 Comment() API, Comment, Constructor, DOM
The Comment() constructor returns a newly created Comment object with the optional DOMString given in parameter as its textual content.
567 CompositionEvent API, CompositionEvent, DOM, Event, Reference
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
568 CompositionEvent.CompositionEvent() API, CompositionEvent, Constructor, Reference
The CompositionEvent() constructor creates a new CompositionEvent object instance.
569 CompositionEvent.data API, CompositionEvent, Property, Reference, data
The data read-only property of the CompositionEvent interface returns the characters generated by the input method that raised the event; its exact nature varies depending on the type of event that generated the CompositionEvent object.
570 CompositionEvent.initCompositionEvent() API, CompositionEvent, Deprecated, Method, Reference, initCompositionEvent
The initCompositionEvent() method of the CompositionEvent interface initializes the attributes of a CompositionEvent object instance.
571 CompositionEvent.locale API, CompositionEvent, Deprecated, Locale, Property, Reference
The locale read-only property of the CompositionEvent interface Returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with IME).
572 Console API, Debugging, Interface, Reference, console, web console
The Console object provides access to the browser's debugging console (e.g. the Web Console in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided.
573 Console.assert() API, DOM, Debugging, Method, Web Development, console, web console
Writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
574 Console.clear() API, Debugging, Method, console, web console
Clears the console.
575 Console.count() API, DOM, Debugging, Method, Web Development, web console
Logs the number of times that this particular call to count() has been called. This function takes an optional argument label.
576 Console.countReset() API, DOM, Debugging, Method, Web Development, web console
Resets the counter. This function takes an optional argument label.
577 Console.dir() API, DOM, Debugging, Method, Web Development, console, web console
Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.
578 Console.dirxml() API, DOM, Debugging, Method, Web Development, web console
Displays an interactive tree of the descendant elements of the specified XML/HTML element. If it is not possible to display as an element the JavaScript Object view is shown instead. The output is presented as a hierarchical listing of expandable nodes that let you see the contents of child nodes.
579 Console.error() API, DOM, Debugging, Method, Web Development, web console
Outputs an error message to the Web Console.
580 Console.group() API, DOM, Debugging, Method, Web Development, web console
Creates a new inline group in the Web Console log. This indents following console messages by an additional level, until console.groupEnd() is called.
581 Console.groupCollapsed() API, DOM, DOM Reference, Debugging, Method, Reference, Web Development, web console
Creates a new inline group in the Web Console. Unlike console.group(), however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.
582 Console.groupEnd() API, DOM, Debugging, Method, Web Development, web console
Exits the current inline group in the Web Console. See Using groups in the console in the console documentation for details and examples.
583 Console.info() API, Debugging, Method, Web Development, web console
Outputs an informational message to the Web Console. In Firefox and Chrome, a small "i" icon is displayed next to these items in the Web Console's log.
584 Console.log() API, DOM, Debugging, HTML-tree, Method, Web Development, console, console.dir(), console.log(), difference, web console
Outputs a message to the Web Console.
585 Console.profile() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profile, web console
Starts recording a performance profile (for example, the Firefox performance tool).
586 Console.profileEnd() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profileEnd, web console
The profileEnd method stops recording a profile previously started with Console.profile().
587 Console.table() API, DOM, Debugging, Method, Web Development, web console
Displays tabular data as a table.
588 Console.time() API, DOM, Debugging, Method, Web Development, console, web console
Starts a timer you can use to track how long an operation takes. You give each timer a unique name, and may have up to 10,000 timers running on a given page. When you call console.timeEnd() with the same name, the browser will output the time, in milliseconds, that elapsed since the timer was started.
589 Console.timeEnd() API, DOM, Debugging, Method, Web Development, console, web console
Stops a timer that was previously started by calling console.time().
590 Console.timeLog() API, DOM, Debugging, Method, Web Development, console, web console
Logs the current value of a timer that was previously started by calling console.time() to the console.
591 Console.timeStamp() API, DOM, Debugging, Method, Non-standard, Web Development, web console
Adds a single marker to the browser's Performance or Waterfall tool. This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events.
592 Console.warn() API, DOM, Debugging, Method, Web Development, web console
Outputs a warning message to the Web Console.
593 console.trace() API, Chrome, DOM, Debugging, Firefox, Method, String, Web Development, console, console.trace(), trace, web console
Outputs a stack trace to the Web Console.
594 ConstantSourceNode API, Audio, ConstantSourceNode, Interface, Media, Reference, Web Audio API
The ConstantSourceNode interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.
595 ConstantSourceNode() API, Audio, AudioNode, ConstantSourceNode, Constructor, Reference, Web Audio API
The ConstantSourceNode() constructor creates a new ConstantSourceNode object instance, representing an audio source which constantly outputs samples whose values are always the same.
596 ConstantSourceNode.offset API, Audio, ConstantSourceNode, Media, Property, Read-only, Web Audio API
The read-only offset property of the ConstantSourceNode interface returns a AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
597 ConstrainBoolean API, ConstrainBooleanParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
The ConstrainBoolean dictionary is used to specify a constraint for a property whose value is a Boolean value. You can specify an exact value which must be matched, an ideal value that should be matched if at all possible, and a fallback value to attempt to match once all more specific constraints have been applied.
598 ConstrainDOMString API, ConstrainDOMStringParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
The ConstrainDOMString dictionary is used to specify a constraint for a property whose value is a string. It allows you to specify one or more exact string values from which one must be the parameter's value, or a set of ideal values which should be used if possible. You can also specify a single string (or an array of strings) which the user agent will do its best to match once all more stringent constraints have been applied.
599 ConstrainDouble API, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Stream API, Reference, WebRTC
The ConstrainDouble type is used to specify a constraint for a property whose value is a double-precision floating-point number. It extends the DoubleRange dictionary (which provides the ability to specify a permitted range of property values) to also support an exact value and/or an ideal value the property should take on. Additionally, you can specify the property's value as a simple floating-point value, in which case the user agent does its best to match the value once all other more stringent constraints are met.
600 ConstrainLong API, ConstrainLongRange, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
The ConstrainLong type is used to specify a constraint for a property whose value is an integral number. It extends the LongRange dictionary (which provides the ability to specify a permitted range of property values) to also support an exact value and/or an ideal value the property should take on. In addition, you can specify the value as a simple long integer value, in which case the user agent does its best to match the value once all other more stringent constraints are met.
601 Constraint validation API API, Constraint validation, Landing, Reference
The constraint validation API enables checking values that users have entered into form controls, before submitting the values to the server.
602 ConvolverNode API, ConvolverNode, Interface, Reference, Web Audio API
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.
603 ConvolverNode() API, Audio, Constructor, Convolver, Reference, Web Audio API
The ConvolverNode() constructor of the Web Audio API creates a new ConvolverNode object instance.
604 ConvolverNode.buffer API, Buffer, ConvolverNode, Property, Reference, Web Audio API
An AudioBuffer.
605 ConvolverNode.normalize API, ConvolverNode, Property, Reference, Web Audio API, parent
The normalize property of the ConvolverNode interface is a boolean that controls whether the impulse response from the buffer will be scaled by an equal-power normalization when the buffer attribute is set, or not.
606 Coordinates API, Coordinates, Geolocation API, Interface, Secure context
The Coordinates interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.
607 Coordinates.accuracy API, Coordinates, Geolocation API, Property, Secure context, accuracy
The Coordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the Coordinates.latitude and Coordinates.longitude properties expressed in meters.
608 Coordinates.altitude API, Coordinates, Geolocation API, Property, Secure context, altitude
The Coordinates.altitude read-only property is a double representing the altitude of the position in meters, relative to sea level. This value is null if the implementation cannot provide this data.
609 Coordinates.altitudeAccuracy API, Coordinates, Geolocation API, Property, Secure context, altitudeAccuracy
The Coordinates.altitudeAccuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude.
610 Coordinates.heading API, Coordinates, Geolocation API, Property, Secure context, heading
The Coordinates.heading read-only property is a double representing the direction in which the device is traveling. This value, specified in degrees, indicates how far off from heading due north the device is. Zero degrees represents true true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). If Coordinates.speed is 0, heading is NaN. If the device is not able to provide heading information, this value is null.
611 Coordinates.latitude API, Coordinates, Geolocation API, Property, Secure context, latitude
The Coordinates.latitude read-only property is a double representing the latitude of the position in decimal degrees.
612 Coordinates.longitude API, Coordinates, GPS, Geolocation, Geolocation API, Global Positioning System, Property, Read-only, Reference, Secure context, longitude
The Coordinates interface's read-only longitude property is a double-precision floating point value which represents the longitude of a geographical position, specified in decimal degrees. Together with a DOMTimeStamp indicating a time of measurement, the Coordinates object is part of the Position interface which is the object type returned by Geolocation API functions that obtain and return a geographical position.
613 Coordinates.speed API, Coordinates, Geolocation API, Property, Secure context, speed
The Coordinates.speed read-only property is a double representing the velocity of the device in meters per second. This value is null if the implementation is not able to measure it.
614 CountQueuingStrategy API, CountQueuingStrategy, Experimental, Interface, Reference, Streams
The CountQueuingStrategy interface of the the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
615 CountQueuingStrategy.CountQueuingStrategy() API, Constructor, CountQueuingStrategy, Experimental, Reference, Streams
The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy() object instance.
616 CountQueuingStrategy.size() API, CountQueuingStrategy, Experimental, Method, Reference, Streams, size
The size() method of the CountQueuingStrategy interface always returns 1, so that the total queue size is a count of the number of chunks in the queue.
617 Credential API, Credential, Experimental, Interface, NeedsExample, Reference, credential management, credentials
The Credential interface of the the Credential Management API provides information about an entity as a prerequisite to a trust decision.
618 Credential.id API, Credential, Property, Reference, credential management, id
The id property of the Credential interface returns a DOMString containing the credential's identifier. This might be any one of a GUID, username, or email address.
619 Credential.name API, Credential, Property, Reference, credential management, name
The name property of the Credential interface returns a DOMString, containing the name associated with a credential.
620 Credential.type API, Credential, Property, Reference, credential management, name
The type property of the Credential interface returns a DOMString containing the credential's type. Valid values are password and federated.
621 Credential Management API API, Landing, NeedsContent, Overview, Reference, credential management, credentials, web authentication
This API lets websites interact with a user agent’s password system so that websites can deal in a uniform way with site credentials and user agents can provide better assistance with the management of their credentials. For example, user agents have a particularly hard time dealing with federated identity providers or esoteric sign-in mechanisms that use more than just a username and password. To address these problems, the Credential Management API provides ways for a website to store and retrieve different types of credentials. This give users capabilities such as seeing the federated account they used to sign on to a site, or resuming a session without the explicit sign-in flow of an expired session.
622 CredentialsContainer API, CredentialsContainer, Experimental, Interface, NeedsExample, Reference, credential management, credentials
The CredentialsContainer interface of the the Credential Management API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen. This interface is accessible from Navigator.credentials.
623 CredentialsContainer.create() API, Create, Method, Reference, credential management, credentials
The create() method of the CredentialsContainer interface returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created.
624 CredentialsContainer.get() API, Method, Reference, credential management, credentials, get
The get() method of the CredentialsContainer interface returns a Promise to a single Credential instance that matches the provided parameters. If no match is found the Promise will resolve to null.
625 CredentialsContainer.preventSilentAccess() API, Reference, credential management, credentials, preventSilentAccess, requireUserMediation
The preventSilentAccess() method of the CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns an empty Promise
626 CredentialsContainer.store() API, Method, Reference, credential management, credentials
The store() method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
627 Crypto API, Interface, Reference, Web Crypto API
The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
628 Crypto.getRandomValues() API, Cryptography, Method, Reference
The Crypto.getRandomValues() method lets you get cryptographically strong random values. The array given as the parameter is filled with random numbers (random in its cryptographic meaning).
629 Crypto.subtle API, Cryptography, Property, Read-only, Reference, Web Crypto API
The Crypto.subtle read-only property returns a SubtleCrypto object allowing to perform cryptographical operations.
630 CryptoKey API, Interface, Reference, Référence(2), Web Crypto API
The CryptoKey interface represents a cryptographic key derived from a specific key algorithm.
631 CryptoKey.algorithm API, CryptoKey, Property, Read-only, Reference, Référence(2), Web Crypto API
The CryptoKey.algorithm read-only property is an opaque value containing all the information about the algorithm related to the key.
632 CryptoKey.extractable API, CryptoKey, Property, Read-only, Reference, Référence(2), Web Crypto API
The CryptoKey.extractable read-only property that indicates if the raw material key can be extracted, for example for archiving it.
633 CryptoKey.type API, CryptoKey, Property, Read-only, Reference, Référence(2), Web Crypto API
The CryptoKey.type read-only property that indicates the type of the key: if it is the key for a symmetric algorithm ("secret") or for an asymmetric algorithm ("public" or "private", depending of its purpose).
634 CryptoKey.usages API, CryptoKey, Property, Read-only, Reference, Référence(2), Web Crypto API
The CryptoKey.usages read-only property is an array of enumerated that indicates the purposes of the key.
635 CryptoKeyPair API, Interface, Reference, Web Crypto API
The CryptoKeyPair interface represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
636 CustomElementRegistry API, CustomElementRegistry, Experimental, Interface, Landing, Reference, Web Components, custom elements
The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. 
637 CustomElementRegistry.define() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, define
The define() method of the CustomElementRegistry interface defines a new custom element.
638 CustomElementRegistry.get() API, CustomElementRegistry, Experimental, Method, Reference, Web Components, custom elements, get
The get() method of the CustomElementRegistry interface returns the constructor for a previously-defined custom element.
639 CustomElementRegistry.whenDefined() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, whenDefined
The whenDefined() method of the CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
640 CustomEvent API, DOM, Interface, NeedsCompatTable, NeedsExample, Reference
This interface inherits properties from its parent, Event:
641 CustomEvent() API, Constructor, CustomEvent, Reference, events
The CustomEvent() constructor creates a new CustomEvent.
642 CustomEvent.detail API, CustomEvent, DOM, Property, Reference, detail
The detail readonly property of the CustomEvent interface returns any data passed when initializing the event.
643 CustomEvent.initCustomEvent() API, CustomEvent, DOM, Deprecated, Method, Reference
The CustomEvent.initCustomEvent() method initializes a CustomEvent object. If the event has already been dispatched, this method does nothing.
644 DOMConfiguration API, DOM, Obsolete, Reference
Pre-defined parameters: "canonical-form", "cdata-sections", "check-character-normalization", "comments", "datatype-normalization", "element-content-whitespace", "entities", "error-handler", "infoset", "namespaces", "namespace-declarations", "normalize-characters","schema-location", "schema-type", "split-cdata-sections", "validate", "validate-if-schema", "well-formed"
645 DOMError API, DOM, DOMError, Deprecated, Interface, Reference
The DOMError interface describes an error object that contains an error name.
646 DOMException API, DOM, DOMException, Error, Error code, Exception, Reference
The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
647 DOMException() API, Constructor, DOMException, Reference
The DOMException() constructor returns a DOMException object with a specified message and name.
648 DOMException.code API, Code, DOMException, Property, Reference
The code read-only property of the DOMException interface returns a short that contains one of the error code constants, or 0 if none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name attribute.
649 DOMException.message API, DOMException, Property, Reference, message
The message read-only property of the DOMException interface returns a DOMString representing a message or description associated with the given error name.
650 DOMException.name API, DOMException, Property, Reference, name
The name read-only property of the DOMException interface returns a DOMString that contains one of the strings associated with an error name.
651 DOMHighResTimeStamp API, DOMHighResTimeStamp, High Resolution Time, Reference, Time, Type
The DOMHighResTimeStamp type is a double and is used to store a time value. The value could be a discrete point in time or the difference in time between two discrete points in time.
652 DOMImplementation API, DOM, Interface, Reference
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.
653 DOMImplementation.createDocument() API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.createDocument() method creates and returns an XMLDocument.
654 DOMImplementation.createDocumentType() API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.createDocumentType() method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore() or Node.replaceChild().
655 DOMImplementation.createHTMLDocument() API, DOM, DOM Reference, DOMImplementation, Method, Reference
The DOMImplementation.createHTMLDocument() method creates a new HTML Document.
656 DOMImplementation.hasFeature() API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported. It is deprecated and modern browsers return true in all cases.
657 DOMImplementationList API, DOM, Obsolete, Reference
Returned by DOMImplementationSource.getDOMImplementationList() and DOMImplementationRegistry.getDOMImplementationList() . Can be iterated with 0-based index.
658 DOMLocator API, DOM, DOM Reference, Obsolete, Reference
Indicates a location such as where an error occurred. Returned by DOMError.location.
659 DOMMatrix API, DOMMatrix, Experimental, Geometry, Geometry Interfaces, Interface, Reference, matrix
The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations.
660 DOMMatrix() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
The DOMMatrix constructor creates a new DOMMatrix object which represents 4x4 matrices, suitable for 2D and 3D operations..
661 DOMMatrixReadOnly API, Experimental, Geometry Interfaces, Interface, Reference, Web
The DOMMatrixReadOnly interface represents a 4x4 matrix, suitable for 2D and 3D operations. If this interface defines only read-only matrices, the DOMMatrix interface which inherits from it, add all the properties and the methods to allow to have modifiable matrices.
662 DOMMatrixReadOnly() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
663 DOMObject API, DOM, DOM Reference, DOMObject, Object, Obsolete, Reference
The obsolete DOMObject interface was used in earlier versions of the DOM specification as the base class for any object data type.
664 DOMParser API, DOM, DOM Parsing, Document, HTML, HTMLDocument, MakeBrowserAgnostic, NeedsMarkupWork, Parsing, Reference, SVG, XML, XMLDocument
The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.
665 DOMParser() API, Constructor, DOM Parsing, Parsing, Reference
The DOMParser() constructor creates a new DOMParser object.
666 DOMPoint API, Coordinate, Coordinates, DOM, DOMPoint, Geometry, Interface, Point, Reference, VR
A DOMPoint object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.
667 DOMPoint.DOMPoint() API, Constructor, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Reference
The DOMPoint() constructor creates and returns a new DOMPoint object, given the values for some or all of its properties.
668 DOMPoint.fromPoint() API, Coordiantes, DOM, DOMPoint, Geometry, Geometry Interfaces, Method, Point, Reference, Static, Static Method, fromPoint
The static DOMPoint method fromPoint() creates and returns a new mutable DOMPoint object given a source point.
669 DOMPoint.x API, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, x
The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.
670 DOMPoint.y API, Coordinate, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, y
The DOMPoint interface's y property holds the vertical coordinate, y, for a point in space.
671 DOMPoint.z API, Coordinate, DOM, DOMPoint, Depth, Geometry, Geometry Interfaces, Point, Position, Property, Reference, z
The DOMPoint interface's z property specifies the depth coordinate of a point in space.
672 w API, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.
673 DOMPointInit API, Coordinates, DOM, DOMPointInit, Dictionary, Geometry, Geometry Interfaces, Interface, Point, Reference
The DOMPointInit dictionary is used to provide the values of the coordinates and perspective when creating and JSONifying a DOMPoint or DOMPointReadOnly object.
674 DOMPointInit.w API, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
The DOMPointInit dictionary's w property is used to specify the w perspective value of a point in space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
675 DOMPointInit.x API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, x
The DOMPointInit dictionary's x property is used to specify the x component of a point in 2D or 3D space when either creating or serializing a DOMPoint or DOMPointReadOnly.
676 DOMPointInit.y API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, y
The DOMPointInit dictionary's y property is used to specify the y-coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
677 DOMPointInit.z API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, z
The DOMPointInit dictionary's z property is used to specify the z-coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
678 DOMPointReadOnly API, Coordinate, DOM, DOM Reference, DOMPointReadOnly, Geometry, Geometry Interfaces, Interface, Point, Reference
The DOMPointReadOnly interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
679 DOMPointReadOnly() API, Constructor, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Reference
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
680 DOMPointReadOnly.fromPoint() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Method, Point, Reference, Static Method, fromPoint
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
681 DOMPointReadOnly.toJSON() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, JSON, Method, Point, Reference, toJSON
The DOMPointReadOnly method toJSON() returns a DOMPointInit object giving the JSON form of the point object.
682 DOMPointReadOnly.w API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Property, Read-only, Reference, W, perspective
The DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
683 DOMPointReadOnly.x API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, x
The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space. This property cannot be changed by JavaScript code in this read-only version of the DOMPoint object.
684 DOMPointReadOnly.y API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, Vertical, y
The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
685 DOMPointReadOnly.z API, Coordinates, DOM, DOMPointReadOnly, Depth, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, z
The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
686 DOMQuad API, DOM, DOM Reference, DOMQuad, Experimental, Geometry
A DOMQuad is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.
687 DOMRect API, DOM, DOM Reference, DOMRect, Experimental, Geometry, Rectangle, Reference
A DOMRect represents a rectangle.
688 DOMRect.DOMRect() API, Constructor, DOM Reference, DOMRect, Experimental, Geometry, Reference
The DOMRect() constructor creates a new DOMRect object.
689 DOMRectReadOnly API, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Rectangle, Reference
The DOMRectReadOnly interface specifies the standard properties used by DOMRect to define a rectangle.
690 DOMRectReadOnly() API, Constructor, DOM, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Reference
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
691 DOMRectReadOnly.bottom API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), bottom
The bottom read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect. (Has the same value as y + height, or y if height is negative.)
692 DOMRectReadOnly.fromRect() API, DOM Reference, DOMRect, DOMRectReadOnly, Experimental, Geometry, Method, Reference, fromRect()
The fromRect() property of the DOMRectReadOnly interface creates a new DOMRectReadOnly object with a given location and dimensions.
693 DOMRectReadOnly.height API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), height
The height read-only property of the DOMRectReadOnly interface represents the height of the DOMRect.
694 DOMRectReadOnly.left API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), left
The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x, or x + width if width is negative.)
695 DOMRectReadOnly.right API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), right
The right read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect. (Has the same value as x + width, or x if width is negative.)
696 DOMRectReadOnly.top API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), top
The top read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect. (Has the same value as y, or y + height if height is negative.)
697 DOMRectReadOnly.width API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), width
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
698 DOMRectReadOnly.x API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), x
The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
699 DOMRectReadOnly.y API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), y
The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.
700 DOMString API, DOM, DOM Reference, Reference, String, WebAPI
DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.
701 Binary strings DOM, JavaScript, JavaScript typed arrays, Reference, String
As web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data. In the past, this had to be simulated by treating the raw data as a string and using the charCodeAt() method to read the bytes from the data buffer.
702 DOMStringList API, DOM, DOMStringList, Reference
A type returned by some APIs which contains a list of DOMString (strings).
703 DOMStringMap API, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference
Used by the dataset HTML attribute to represent data for custom attributes added to elements.
704 DOMTimeStamp API, DOM, Interface, Reference
The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears.
705 DOMTokenList API, DOM, DOMTokenList, Interface, Reference
The DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive.
706 DOMTokenList.add() API, Add, DOM, DOMTokenList, Method, Reference
The add() method of the DOMTokenList interface adds the given token to the list.
707 DOMTokenList.contains() API, Contains, DOM, DOMTokenList, Method, Reference
The contains() method of the DOMTokenList interface returns a Booleantrue if the underlying list contains the given token, otherwise false.
708 DOMTokenList.entries() DOM, DOMTokenList, Iterable, Method, Reference, Web
The DOMTokenList.entries() method returns an iterator allowing you to go through all key/value pairs contained in this object. The values are DOMString objects, each representing a single token.
709 DOMTokenList.forEach() DOM, DOMTokenList, Iterable, Method, Reference, Web, forEach
The forEach() method of the DOMTokenList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
710 DOMTokenList.item() API, DOM, DOMTokenList, Method, Reference, item
The item() method of the DOMTokenList interface returns an item in the list by its index.
711 DOMTokenList.keys() DOM, DOMTokenList, Iterable, Method, Reference, Web, keys
The keys() method of the DOMTokenList interface returns an iterator allowing to go through all keys contained in this object. The keys are of type unsigned integer.
712 DOMTokenList.length API, DOM, DOMTokenList, Property, Reference, length
The length read-only property of the DOMTokenList interface is an integer representing the number of objects stored in the object.
713 DOMTokenList.remove() API, DOM, DOMTokenList, Method, Reference, remove
The remove() method of the DOMTokenList interface removes the specified tokens from the list.
714 DOMTokenList.replace() API, DOM, Document, Method, Reference
The replace() method of the DOMTokenList interface replaces an existing token with a new token.
715 DOMTokenList.supports() API, DOM, Method, Reference
The supports() method of the DOMTokenList interface returns true if a given token is in the associated attribute's supported tokens. This method is intended to support feature detection.
716 DOMTokenList.toggle() API, DOM, DOMTokenList, Method, Reference, toggle
The toggle() method of the DOMTokenList interface removes a given token from the list and returns false. If token doesn't exist it's added and the function returns true.
717 DOMTokenList.value API, DOM, DOMTokenList, Method, Reference, value
The value property of the DOMTokenList interface returns the value of the list as a DOMString, or clears and sets the list to the given value.
718 DOMTokenList.values() DOM, DOMTokenList, Iterable, Method, Reference, Web, values
The values() method of the DOMTokenList interface returns an iterator allowing developers to go through all values contained in the DOMTokenList. The individual values are DOMString objects.
719 DOMUserData API, DOM, Interface, NeedsCompatTable, Obsolete, Reference
DOMUserData refers to application data. In JavaScript, it maps directly to Object. It is returned or used as an argument by Node.setUserData(), Node.getUserData(), used as the third argument to handle() on UserDataHandler, and is used or returned by various DOMConfiguration methods.
720 DataTransfer API, DataTransfer, HTML Drag and Drop API, Interface, NeedsMarkupWork, Reference, Web Development, drag and drop
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API.
721 DataTransfer() API, Constructor, DataTransfer, HTML Drag and Drop API, Reference, drag and drop
The DataTransfer constructor creates a new DataTransfer object instance.
722 DataTransfer.addElement() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.addElement() method sets the drag source to the given element. This element will be the element to which drag and dragend events are fired, and not the defaut target (the node that was dragged).
723 DataTransfer.clearData() API, DataTransfer, HTML DOM, Method, Reference, clearData, drag and drop
The DataTransfer.clearData() method removes the drag operation's drag data for the given type. If data for the given type does not exist, this method does nothing.
724 DataTransfer.dropEffect API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.dropEffect property controls the feedback (typically visual) the user is given during a drag and drop operation. It will affect which cursor is displayed while dragging. For example, when the user hovers over a target drop element, the browser's cursor may indicate which type of operation will occur.
725 DataTransfer.effectAllowed API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.effectAllowed property specifies the effect that is allowed for a drag operation. 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.
726 DataTransfer.files API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.files property is a list of the files in the drag operation. If the operation includes no files, the list is empty.
727 DataTransfer.getData() API, HTML DOM, Method, Reference, drag and drop
The DataTransfer.getData() method retrieves drag data (as a DOMString) for the specified type. If the drag operation does not include data, this method returns an empty string.
728 DataTransfer.items API, HTML DOM, Property, Reference, drag and drop
The read-only DataTransfer property items property is a list of the data transfer items in a drag operation. The list includes one item for each item in the operation and if the operation had no items, the list is empty.
729 DataTransfer.mozClearDataAt() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.mozClearDataAt() method removes the data associated with the given format for an item at the specified index. The index must be in the range from zero to the number of items minus one.
730 DataTransfer.mozCursor API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozCursor property returns or sets the drag cursor's state. This is primarily used to control the cursor during tab drags.
731 DataTransfer.mozGetDataAt() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.mozGetDataAt() method is used to retrieve an item in the drag event's data transfer object, based on a given format and index. This method returns null if the specified item does not exist or if the index is not in the range from zero to the number of items minus one.
732 DataTransfer.mozItemCount API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozItemCount property returns the number of items being dragged. This can be used, for example, to get the number of files being dragged.
733 DataTransfer.mozSetDataAt() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.mozSetDataAt() method is used to add data to a specific index in the drag event's data transfer object.
734 DataTransfer.mozSourceNode API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozSourceNode property is used to determine the Node over which the mouse cursor was located when the the drag operation was initiated (for example, when a <button> was clicked). For external drags or if the calling function cannot reach the node, null is returned.
735 DataTransfer.mozTypesAt() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.mozTypesAt() method returns a list of the format types that are stored for an item at the specified index. If the index is not in the range from 0 to the number of items minus one, an empty string list is returned.
736 DataTransfer.mozUserCancelled API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozUserCancelled property is used in the dragend event handler to determine if the user canceled the drag or not. If the user canceled the event, the property returns true and returns false otherwise. This property only applies to the dragend event.
737 DataTransfer.setData() API, HTML DOM, Method, Reference, drag and drop
The DataTransfer.setData() method sets the drag operation's drag data to the specified data and type. If data for the given type does not exist, it is added at the end of the drag data store, such that the last item in the types list will be the new type. If data for the given type already exists, the existing data is replaced in the same position. That is, the order of the types list is not changed when replacing data of the same type.
738 DataTransfer.setDragImage() API, H5 DnD, HTML DOM, Method, Reference, drag and drop
When a drag occurs, a translucent image is generated from the drag target (the element the dragstart event is fired at), and follows the mouse pointer during the drag. This image is created automatically, so you do not need to create it yourself. However, if a custom image is desired, the DataTransfer.setDragImage() method can be used to set the custom image to be used.
739 DataTransfer.types API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.types read-only property returns an array of the drag data formats (as strings) that were set in the dragstart event. The order of the formats is the same order as the data included in the drag operation.
740 DataTransferItem API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
The DataTransferItem object represents one drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object.
741 DataTransferItem.getAsFile() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
If the item is a file, the DataTransferItem.getAsFile() method returns the drag data item's File object. If the item is not a file, this method returns null.
742 DataTransferItem.getAsString() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, getAsString
The DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's kind is a Plain unicode string (i.e. kind is string).
743 DataTransferItem.kind API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, drag and drop, kind
The read-only DataTransferItem.kind property returns a DataTransferItem representing the drag data item kind: some text or some file.
744 DataTransferItem.type API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, Type, drag and drop
The read-only DataTransferItem.type property returns the type (format) of the DataTransferItem object representing the drag data item. The type is a Unicode string generally given by a MIME type, although a MIME type is not required.
745 DataTransferItem.webkitGetAsEntry() API, DataTransferItem, File System API, File and Directory Entries API, Files, Method, Non-standard, Offline, Reference, drag and drop, getAsEntry
If the item described by the DataTransferItem is a file, webkitGetAsEntry() returns a FileSystemFileEntry or FileSystemDirectoryEntry representing it. If the item isn't a file, null is returned.
746 DataTransferItemList API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
The DataTransferItemList object is a list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList.
747 DataTransferItemList.DataTransferItem() API, DataTransferItemList, Getter, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
The DataTransferItem() getter method implements support for accessing items in the DataTransferItemList using array-style syntax (that is DataTransferItem[index]).
748 DataTransferItemList.add() API, Add, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
The DataTransferItemList.add() method creates a new DataTransferItem using the specified data and adds it to the drag data list. The item may be a File or a string of a given type. If the item is successfully added to the list, the newly-created DataTransferItem object is returned.
749 DataTransferItemList.clear() API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, clear, drag and drop
The DataTransferItemList method clear() removes all DataTransferItem objects from the drag data items list, leaving the list empty.
750 DataTransferItemList.length API, DataTransferItemList, Draggged Items, Drop Items, HTML DOM, HTML Drag and Drop API, Item List, Property, Read-only, Reference, drag and drop, length
The read-only length property of the DataTransferItemList interface returns the number of items currently in the drag item list.
751 DataTransferItemList.remove() API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, remove
undefined.
752 DedicatedWorkerGlobalScope API, DedicatedWorkerGlobalScope, Interface, Reference, Référence(2), Web Workers, Workers
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.
753 DedicatedWorkerGlobalScope.close() API, DOM, DedicatedWorkerGlobalScope, Method, Reference, Web Workers, close
The close() method of the DedicatedWorkerGlobalScope interface discards any tasks queued in the DedicatedWorkerGlobalScope's event loop, effectively closing this particular scope.
754 DedicatedWorkerGlobalScope.name API, DOM, DedicatedWorkerGlobalScope, Property, Reference, Worker, name
The name read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created. This is the name that the Worker() constructor can pass to get a reference to the DedicatedWorkerGlobalScope.
755 DedicatedWorkerGlobalScope.onmessage API, DedicatedWorkerGlobalScope, Property, Reference, Référence(2), Web Workers, onmessage
The onmessage property of the DedicatedWorkerGlobalScope interface represents an EventHandler to be called when the message event occurs and bubbles through the Worker — i.e. when a message is sent to the worker using the Worker.postMessage method.
756 DedicatedWorkerGlobalScope.onmessageerror API, DedicatedWorkerGlobalScope, Event Handler, Property, Reference, onmessageerror
The onmessageerror event handler of the DedicatedWorkerGlobalScope interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the worker—that is, when it receives a message that cannot be deserialized.
757 DedicatedWorkerGlobalScope.postMessage() API, DedicatedWorkerGlobalScope, Method, Reference, Référence(2), Web Workers, postMessage
The postMessage() method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
758 DelayNode API, Audio, DelayNode, Interface, Reference, Web Audio API
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.
759 DelayNode() API, Audio, Constructor, DelayNode, Media, Reference, Web Audio API
The DelayNode() constructor of the Web Audio API creates a new DelayNode object with 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.
760 DelayNode.delayTime API, DelayNode, Property, Reference, Web Audio API, delayTime
An AudioParam.
761 Detecting device orientation API, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference
Increasingly, web-enabled devices are capable of determining their orientation; that is, they can report data indicating changes to their orientation with relation to the pull of gravity. In particular, hand-held devices such as mobile phones can use this information to automatically rotate the display to remain upright, presenting a wide-screen view of the web content when the device is rotated so that its width is greater than its height.
762 DeviceAcceleration API, DeviceAcceleration, Experimental, Interface, NeedsExample, Reference
A DeviceAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.
763 DeviceAcceleration.x API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the X axis in a DeviceAcceleration object.
764 DeviceAcceleration.y API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Y axis in a DeviceAcceleration object.
765 DeviceAcceleration.z API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Z axis in a DeviceAcceleration object.
766 DeviceLightEvent API, Ambient Light Events, Experimental, Interface, NeedsBetterSpecLink, NeedsMarkupWork
The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability.
767 DeviceLightEvent.value API, Ambient Light Events, Experimental, NeedsBetterSpecLink, NeedsMarkupWork, Property
The value property provides the current level of the ambient light.
768 Using light sensors API, DeviceLightEvent, Guide, HTML5, JavaScript
Ambient Light Events give a web application access to a device's ambient light sensor to detect changes in light intensity.
769 DeviceMotionEvent API, Device Orientation, Experimental, Firefox OS, Mobile, Motion, Orientation
The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation.
770 DeviceMotionEvent.DeviceMotionEvent() API, Constructor, Device Orientation, Device Orientation API, Experimental, Mobile, Motion, Orientation, Reference
The DeviceMotionEvent constructor creates a new DeviceMotionEvent.
771 DeviceMotionEvent.acceleration API, Device Orientation, Firefox OS, Mobile, Motion, NeedsExample, Orientation, Property
The acceleration property returns the amount of acceleration recorded by the device, in meters per second squared (m/s2).
772 DeviceMotionEvent.accelerationIncludingGravity API, Device Orientation, Firefox OS, Mobile, Motion, NeedsExample, Orientation, Property
The accelerationIncludingGravity property returns the amount of acceleration recorded by the device, in meters per second squared (m/s2). Unlike DeviceMotionEvent.acceleration which compensates for the influence of gravity, its value is the sum of the acceleration of the device as induced by the user and the acceleration caused by gravity.
773 DeviceMotionEvent.interval API, Device Orientation, Firefox OS, Mobile, Motion, NeedsExample, Orientation, Property
Returns the interval, in milliseconds, at which data is obtained from the underlaying hardware. You can use this to determine the granularity of motion events.
774 DeviceMotionEvent.rotationRate API, DOM, DOM Reference, Device Orientation, Firefox OS, Mobile, Motion, NeedsExample, Orientation, Property, Reference
Returns the rate at which the device is rotating around each of its axes in degrees per second.
775 DeviceOrientationEvent API, Device Orientation API, Experimental, Interface, Reference
The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.
776 DeviceOrientationEvent.DeviceOrientationEvent() API, Constructor, Device Orientation API, DeviceOrientationEvent, Experimental, Reference
The DeviceOrientationEvent constructor creates a new DeviceOrientationEvent.
777 DeviceOrientationEvent.absolute API, Device Orientation API, DeviceOrientationEvent, NeedsExample, NeedsMarkupWork, Property, Reference
Indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained for details.
778 DeviceOrientationEvent.alpha API, DeviceOrientation API, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Z axis; that is, the number of degrees by which the device is being twisted around the center of the screen. See Orientation and motion data explained for details.
779 DeviceOrientationEvent.beta API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180,  by which the device is tipped forward or backward. See Orientation and motion data explained for details.
780 DeviceOrientationEvent.gamma API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Y axis; that is, the number of degrees, ranged between -90 and 90, by which the device is turned left or right. See Orientation and motion data explained for details.
781 DeviceProximityEvent API, Interface, Proximity Events, Reference
The DeviceProximityEvent interface provides information about the distance of a nearby physical object using the proximity sensor of a device.
782 DeviceProximityEvent.max API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
The max property provides the maximum sensing distance the sensor is able to report, in centimeters.
783 DeviceProximityEvent.min API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
The min property provides the minimum distance the sensor can report, in centimeters.
784 DeviceProximityEvent.value API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
The value property of DeviceProximityEvent objects provides the current distance between the device and the detected object, in centimeters.
785 DeviceRotationRate API, DOM, DOM Reference, Experimental, Reference
A DeviceRotationRate object provides information about the rate at which the device is rotating around all three axes.
786 DeviceRotationRate.alpha API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the Z axis -- in degrees per second -- in a DeviceRotationRate object.
787 DeviceRotationRate.beta API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the X axis -- in degrees per second -- in a DeviceRotationRate object.
788 DeviceRotationRate.gamma API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the Y axis -- in degrees per second -- in a DeviceRotationRate object.
789 DirectoryEntrySync API, File API, File System API, Offline, Reference, Référence(2), filesystem
The DirectoryEntrySync interface of the File System API represents a directory in a file system. It includes methods for creating, reading, looking up, and recursively removing files in a directory.
790 DirectoryReaderSync API, Reference, Référence(2)
The DirectoryReaderSync interface of the File System API lets you read the entries in a directory.
791 DisplayMediaStreamConstraints API, Audio, Capture, Constraints, Dictionary, DisplayMediaStreamConstraints, Media, Reference, Screen Capture, Screen Capture API, Video, display, getDisplayMedia, screen
The DisplayMediaStreamConstraints dictionary is used to specify whether or not to include video and/or audio tracks in the MediaStream to be returned by getDisplayMedia(), as well as what type of processing must be applied to the tracks.
792 DisplayMediaStreamConstraints.audio API, Audio, Capture, Constraints, DisplayMediaStreamTrack, Options, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Settings, Sharing, screen, track
The DisplayMediaStreamConstraints dictionary's audio property is used to specify whether or not to request that the MediaStream containing screen display contents also include an audio track. This value may simply be a Boolean, where true indicates that an audio track should be included an false (the default) indicates that no audio should be included in the stream.
793 DisplayMediaStreamConstraints.video API, Capture, Constraints, DisplayMediaStreamConstraints, Media, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Video, display, getDisplayMedia, screen
The DisplayMediaStreamConstraints dictionary's video property is used to configure the video track in the stream returned by getDisplayMedia().
794 Document API, DOM, Document, Interface, Reference
The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
795 Document() API, Constructor, DOM, Document, Reference
The Document constructor creates a new Document object that is a web page loaded in the browser and serving as an entry point into the page's content.
796 Document.URL API, Document, HTML DOM, Property, Reference
The URL read-only property of the Document interface returns the document location as a string.
797 Document.adoptNode() API, DOM, DOM Reference, Method, NeedsExample, NeedsSpecTable, NeedsUpdate, Reference
Document.adoptNode() transfers a node from another document into the method's document. The adopted node and its subtree is removed from its original document (if any), and its ownerDocument is changed to the current document. The node can then be inserted into the current document.
798 Document.alinkColor API, Deprecated, HTML DOM, Property, Reference
Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup events.
799 Document.anchors API, Deprecated, Document, HTML DOM, Property, Reference
The anchors read-only property of the Document interface returns a list of all of the anchors in the document.
800 Document.applets API, Deprecated, Document, HTML DOM, NeedsMarkupWork, Property, Reference
The applets property of the Document interface returns a list of the applets within a document.
801 Document.async API, DOM, DOM Reference, Deprecated, Document, Non-standard, Property, Reference, async
document.async can be set to indicate whether a XMLDocument.load() call should be an asynchronous or synchronous request. true is the default value, indicating that documents should be loaded asynchronously.
802 Document.bgColor API, Deprecated, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The deprecated  bgColor property gets or sets the background color of the current document.
803 Document.body API, Document, HTML DOM, Property, Reference
The Document.body property represents the <body> or <frameset> node of the current document, or null if no such element exists.
804 Document.caretRangeFromPoint() API, CSSOM View, DOM, Document, Method, Non-standard, Reference, caretRangeFromPoint
The caretRangeFromPoint() method of the Document interface returns a Range object for the document fragment under the specified coordinates.
805 Document.characterSet API, DOM, Document, Property, Read-only, Reference
The Document.characterSet read-only property returns the character encoding of the document that it's currently rendered with.
806 Document.clear() API, Deprecated, Document, HTML DOM, Method, NeedsExample, NeedsSpecTable, Reference
The Document.clear() method clears the whole specified document in early (pre-1.0) versions of Mozilla.
807 Document.close() API, Document, HTML DOM, Method, Reference
The Document.close() method finishes writing to a document, opened with Document.open().
808 Document.compatMode API, DOM, Document, NeedsSpecTable, Property, Reference
The Document.compatMode property indicates whether the document is rendered in Quirks mode or Standards mode.
809 Document.contentType API, DOM, Document, MIME, Property, Read-only, Reference
The Document.contentType read-only property returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.
810 Document.cookie API, Document, HTML DOM, JS, NeedsMarkupWork, Reference, Storage
Get and set the cookies associated with the current document. For a general library see this simple cookie framework.
811 Simple cookie framework Cookies, cookie
As cookies are just specially formatted strings it is sometimes difficult to manage them.  The following library aims to abstract the access to document.cookie by defining an object (docCookies) that is partially consistent with a Storage object. It also offers full Unicode support.
812 Document.createAttribute() API, DOM, Method, Reference
The Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
813 Document.createCDATASection() API, DOM, Method, Reference
createCDATASection() creates a new CDATA section node, and returns it.
814 Document.createComment() API, DOM, Method, Reference
createComment() creates a new comment node, and returns it.
815 Document.createDocumentFragment() API, DOM, Document, Method, Reference, createDocumentFragment
Creates a new empty DocumentFragment.
816 Document.createElement() API, DOM, Document, Method, Reference, createElement
In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
817 Document.createElementNS() API, DOM, Method, Reference
Creates an element with the specified namespace URI and qualified name.
818 Document.createEntityReference() API, DOM, Method, Obsolete, Reference
Prior to Gecko 7.0 this method showed up as present, due to bug bug 9850, it always only returned null. The only workaround is to create a text node, CDATA section, attribute node value, etc. which has the value referred to by the entity, using Unicode escape sequences or fromCharCode() as necessary.
819 Document.createEvent() API, DOM, Method, Reference
Creates an event of the type specified. The returned object should be first initialized and can then be passed to EventTarget.dispatchEvent.
820 Document.createExpression() API, DOM, Method, Reference, XPath, createExpression
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
821 Document.createNSResolver() API, DOM, DOM Reference, Method, Reference
Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
822 Document.createNodeIterator() API, DOM, Gecko, MakeBrowserAgnostic, Method
Returns a new NodeIterator object.
823 Document.createProcessingInstruction() API, DOM, Document, Method, Reference, createProcessInstruction
createProcessingInstruction() generates a new processing instruction node and returns it.
824 Document.createRange() API, DOM, DOM Reference, Document, DocumentRange.createRange, Method, Range
The Document.createRange() method returns a new Range object.
825 Document.createTextNode() API, DOM, Document, Method, Reference, createTextNode
Creates a new Text node.
826 Document.createTouch() API, DOM, Deprecated, Method, Mobile, Reference, createTouch, touch
The Document.createTouch() method creates and returns a new Touch object.
827 Document.createTouchList() API, DOM, Deprecated, Document, Method, Mobile, createTouchList, touch
The Document.createTouchList() method creates and returns a new TouchList object.
828 Document.createTreeWalker() API, DOM, DOM Reference, Document, Method
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
829 Document.currentScript API, DOM, Document, Property, Reference
The Document.currentScript property returns the <script> element whose script is currently being processed.
830 Document.defaultView API, Document, HTML DOM, Property, Reference
In browsers, document.defaultView returns the window object associated with a document, or null if none is available.
831 Document.designMode API, Document, HTML DOM, NeedsContent, NeedsSpecTable, Property, Reference, editor
document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off". Firefox follows this standard. The earlier versions of Chrome and IE default to "inherit". Starting in Chrome 43, the default is "off" and "inherit" is no longer supported. In IE6-10, the value is capitalized.
832 Document.dir API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.dir property is a DOMString representing the directionality of the text of the document, whether left to right (default) or right to left. Possible values are 'rtl', right to left, and 'ltr', left to right.
833 Document.doctype API, DOM, Document, Property, Reference
Returns the Document Type Declaration (DTD) associated with current document. The returned object implements the DocumentType interface. Use DOMImplementation.createDocumentType() to create a DocumentType.
834 Document.documentElement API, DOM, Node, Property, Reference, root
Document.documentElement returns the Element that is the root element of the document (for example, the <html> element for HTML documents).
835 Document.documentURI API, DOM, NeedsContent, NeedsExample, Property, Reference
The documentURI property of the Document interface returns the document location as a string.
836 Document.documentURIObject API, DOM, Non-standard, Property, Reference
The Document.documentURIObject read-only property returns an nsIURI object representing the URI of the document.
837 Document.domConfig API, Deprecated, Property
This should return the DOMConfiguration for the document.
838 Document.domain API, Document, HTML DOM, Property, Reference
The domain property of the Document interface gets/sets the domain portion of the origin of the current document, as used by the same origin policy.
839 Document.embeds API, Document, HTML DOM, NeedsExample, Property
The embeds read-only property of the Document interface returns a list of the embedded <object> elements within the current document.
840 Document.enableStyleSheetsForSet() API, CSSOM, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference
Enables the style sheets matching the specified name in the current style sheet set, and disables all other style sheets (except those without a title, which are always enabled).
841 Document.evaluate() API, DOM, Method, Reference, XPath
Returns an XPathResult based on an XPath expression and other given parameters.
842 Document.execCommand() API, DOM, Method, NeedsExample, Reference, editor
When an HTML document has been switched to designMode, its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable elements.
843 Document.exitFullscreen() API, DOM, Document, Full, Full-screen, Fullscreen API, Method, Reference, exitFullscreen, fullscreen, screen
The Document method exitFullscreen() requests that the element on this document which is currently being presented in full-screen mode be taken out of full-screen mode, restoring the previous state of the screen.
844 Document.exitPointerLock() API, Experimental, Method, Reference, mouse lock
The exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock.
845 Document.fgColor API, Deprecated, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
fgColor gets/sets the foreground color, or text color, of the current document.
846 Document.fonts API, DOM, Font Loading API, FontFace, FontFaceSet, Fonts, font
The fonts property of the Document interface returns the FontFaceSet interface of the document.
847 Document.forms API, DOM, Document, Forms, HTML DOM, HTML forms, Property, Reference
The forms read-only property of the Document interface returns an HTMLCollection listing all the <form> elements contained in the document.
848 Document.fullscreen API, Deprecated, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, screen
The obsolete Document interface's fullscreen read-only property reports whether or not the document is currently displaying content in full-screen mode.
849 Document.fullscreenEnabled API, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, fullscreenEnabled, screen
The read-only fullscreenEnabled property on the Document interface indicates whether or not full-screen mode is available.
850 Document.getAnimations() API, Animation, CSS, CSS Animations, CSS Transitions, Document, Experimental, Method, Reference, Transitions, Web Animations, getAnimations, waapi, web animations api
The getAnimations() method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document. This array includes CSS Animations, CSS Transitions, and Web Animations.
851 Document.getBoxObjectFor() API, DOM, Method, Obsolete, Reference
Returns a boxObject (x, y, width, height) for a specified element.
852 Document.getElementById() API, DOM, Document, Elements, Method, Reference, Web, getElementById, id
The Document method getElementById() returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
853 Document.getElementsByClassName() API, DOM, DOM Element Methods, Gecko, HTML5, Method, Reference
returns an array-like object of all child elements which have all of the given class names.
854 Document.getElementsByName() API, DOM, Document, HTML, Method, Reference
The getElementsByName() method of the Document object returns a NodeList Collection of elements with a given name in the document.
855 Document.getElementsByTagName() API, DOM, Method, Reference
returns an HTMLCollection of elements with the given tag name.
856 Document.getElementsByTagNameNS() API, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference, getElementsByTagNameNS
Returns a list of elements with the given tag name belonging to the given namespace. The complete document is searched, including the root node.
857 Document.hasFocus() API, DOM, Focus, Method, Reference
The hasFocus() method of the Document interface returns a Boolean value indicating whether the document or any element inside the document has focus. This method can be used to determine whether the active element in a document has focus.
858 Document.hasStorageAccess() API, DOM, Document, Experimental, Method, Reference, Storage Access API, hasStorageAccess
The hasStorageAccess() method of the Document interface returns a Promise that resolves with a boolean value indicating whether the document has access to its first-party storage.
859 Document.head API, Document, HTML DOM, Property, Reference
The head read-only property of the Document interface returns the <head> element of the current document.
860 Document.height API, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference
Returns the height of the document object. In most cases, this is equal to the <body> element of the current document.
861 Document.hidden Document, Page Visibility API, Property, Read-only, Reference, Web
The Document.hidden read-only property returns a Boolean value indicating if the page is considered hidden or not.
862 Document.images API, Document, HTML DOM, Images, Property, Reference
The images read-only property of the Document interface returns a collection of the images in the current HTML document.
863 Document.implementation API, DOM, Document, NeedsContent, Property, Reference
The Document.implementation property returns a DOMImplementation object associated with the current document.
864 Document.importNode() API, DOM, Document, Method, Node, Reference, copy, importNode
The Document object's importNode() method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
865 Document.lastModified API, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The Document.lastModified property returns a string containing the date and time on which the current document was last modified.
866 Document.lastStyleSheetSet API, CSSOM, DOM, Document, Property, Reference, Stylesheets, lastStyleSheetSet
The Document.lastStyleSheetSet property returns the last enabled style sheet set. This property's value changes whenever the document.selectedStyleSheetSet property is changed.
867 Document.linkColor API, Deprecated, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.linkColor property gets/sets the color of links within the document.
868 Document.links API, Document, HTML DOM, Property, Reference
The links read-only property of the Document interface returns a collection of all <area> elements and <a> elements in a document with a value for the href attribute.
869 Document.location API, Document, HTML DOM, Property, Read-only, Reference
The Document.location read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
870 Document.mozSetImageElement() API, DOM, DOM Reference, Method, Non-standard, Reference
The Document.mozSetImageElement() method changes the element being used as the CSS background for a background with a given background element ID.
871 Document.mozSyntheticDocument API, DOM, Non-standard, Property, Reference
The Document.mozSyntheticDocument property indicates whether or not the document is a synthetic one; that is, a document representing a standalone image, video, audio, or the like.
872 Document.onafterscriptexecute API, DOM, Non-standard, Property, Reference
The Document.onafterscriptexecute property references a function that fires when a static <script> element finishes executing its script. It does not fire if the element is added dynamically, such as with appendChild().
873 Document.onbeforescriptexecute API, DOM, Non-standard, Property, Reference, element.onbeforescriptexecute
Fired when the code in a <script> element declared in an HTML document is about to start executing. Does not fire if the element is added dynamically, eg with appendChild().
874 Document.onfullscreenchange API, Document, Event Handler, Fullscreen API, Property, Reference
The Document.onfullscreenchange property is an event handler for the fullscreenchange event that is fired when a document goes in or out of the fullscreen mode.
875 Document.onfullscreenerror API, Document, Error, Event Handler, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenerror, screen
The Document.onfullscreenerror property is an event handler for the fullscreenerror event that is sent to the  document when it fails to transition into full-screen mode after a prior call to Element.requestFullscreen().
876 Document.onoffline API, DOM, NeedsContent, Property, Reference
The Document.onoffline event handler is called when an offline is fired on the <body> element and bubbles up, when navigator.onLine property changes and becomes false.
877 Document.ononline API, DOM, Document, Property, Reference
The Document.online event is fired on the <body> of each page when the browser switches between online and offline mode. Additionally, the events bubble up from document.body, to document, ending at window. Both events are non-cancellable (you can't prevent the user from coming online, or going offline).
878 Document.onselectionchange API, Document, Event Handler, Experimental, Property, Reference
The Document.onselectionchange property represents the event handler that is called when a selectionchange event reaches this object.
879 Document.onvisibilitychange API, Document, Event Handler, Page Visibility, Property, Reference, onvisibilitychange
The Document.onvisibilitychange property represents the event handler that is called when a visibilitychange event reaches this object.
880 Document.open() API, DOM, Method, Reference
The Document.open() method opens a document for writing.
881 Document.origin API, DOM, Document, Experimental, Interface, Property, Read-only
The Document.origin read-only property returns the document's origin. In most cases, this property is equivalent to document.defaultView.location.origin.
882 Document.plugins API, Document, NeedsMarkupWork, Property, Reference
The plugins read-only property of the Document interface returns an HTMLCollection object containing one or more HTMLEmbedElements representing the <embed> elements in the current document.
883 Document.policy API, Document, Policy, Property, Reference
The policy read-only property of the Document interface returns the Policy interface which provides a simple API for introspecting the feature policies applied to a specific document.
884 Document.popupNode API, DOM, Deprecated, Property, Reference
When a popup attached via the popup or context attributes is opened, the XUL document's popupNode property is set to the node that was clicked on. This will be the target of the mouse event that activated the popup. If the popup was opened via the keyboard, the popup node may be set to null. Typically, this property will be checked during a popupshowing event handler for a context menu to initialize the menu based on the context.
885 Document.preferredStyleSheetSet API, CSSOM, DOM, Document, Property, Reference, Stylesheets
The preferredStyleSheetSet property returns the preferred style sheet set as set by the page author.
886 Document.queryCommandEnabled() CSS, Document, Method, Reference
The Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser.
887 Document.queryCommandState() API, DOM, NeedsExample, Reference
TBD
888 Document.queryCommandSupported() API, DOM, Method, Reference, editor
The Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser.
889 Document.querySelector() API, CSS Selectors, DOM, DOM Elements, Document, Method, Reference, Selector API, Selectors, querySelector
The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors. If no matches are found, null is returned.
890 Document.querySelectorAll() API, CSS Selectors, DOM, Document, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelectorAll
The Document method querySelectorAll() returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
891 Document.readyState API, HTML DOM, Property, Reference
The Document.readyState property describes the loading state of the document.
892 Document.referrer API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.referrer property returns the URI of the page that "linked" to this page.
893 Document.registerElement() API, DOM, Deprecated, Method, Reference, Web Components
The document.registerElement() method registers a new custom element in the browser and returns a constructor for the new element.
894 Document.releaseCapture() API, DOM, Method, Reference
The releaseCapture() method releases mouse capture if it's currently enabled on an element within this document. Enabling mouse capture on an element is done by calling element.setCapture().
895 Document.requestStorageAccess() API, DOM, Document, Experimental, Method, Reference, Storage Access API, requestStorageAccess
The requestStorageAccess() method of the Document interface returns a Promise that resolves if the access to first-party storage was granted, and rejects if access was denied.
896 Document.scripts API, Document, HTML DOM, Property, Reference
The scripts property of the Document interface returns a list of the <script> elements in the document. The returned object is an HTMLCollection.
897 Document.scrollingElement API, Document, Property, Reference, scrollingElement
The scrollingElement read-only property of the Document interface returns a reference to the Element that scrolls the document. In standards mode, this is the root element of the document, document.documentElement.
898 Document.selectedStyleSheetSet API, CSSOM, DOM, Property, Reference, Stylesheets
The selectedStyleSheetSet property indicates the name of the style sheet set that's currently in use.
899 Document.styleSheetSets API, CSSOM, DOM, Property, Reference, Stylesheets
The styleSheetSets read-only property returns a live list of all of the currently-available style sheet sets.
900 Document.timeline API, Animation, AnimationTimeline, Document, DocumentTimeline, Experimental, Property, Reference, Web Animations, timeline, waapi, web animations api
The timeline readonly property of the Document interface represents the default timeline of the current document. This timeline is a special instance of DocumentTimeline that is automatically created on page load.
901 Document.title API, Command API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The document.title property gets or sets the current title of the document.
902 Document.tooltipNode API, DOM, Draft, Non-standard, Property, Reference
The Document.tooltipNode property returns the node which is the target of the current tooltip.
903 Document.visibilityState DOM, Document, Page Visibility API, Property, Read-only, Reference, Web
The Document.visibilityState read-only property returns the visibility of the document, that is in which context this element is now visible. It is useful to know if the document is in the background or an invisible tab, or only loaded for pre-rendering.
904 Document.vlinkColor API, Deprecated, Document, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference
The Document.vlinkColor property gets/sets the color of links that the user has visited in the document.
905 Document.width API, Document, HTML DOM, NeedsBrowserAgnosticism, NeedsSpecTable, Obsolete, Property, Reference
Returns the width of the <body> element of the current document in pixels.
906 Document.write() API, DOM, Document, Method, Reference, write
The Document.write() method writes a string of text to a document stream opened by document.open().
907 Document.writeln() API, DOM, Method, Reference
Writes a string of text followed by a newline character to a document.
908 Document.xmlEncoding API, DOM, Document.xmlEncoding, MakeBrowserAgnostic, Obsolete, Property
Returns the encoding as determined by the XML declaration. Should be null if unspecified or unknown.
909 Document.xmlVersion API, DOM, DOM Reference, Obsolete, Property, Reference
Returns the version number as specified in the XML declaration (e.g., <?xml version="1.0"?>) or "1.0" if the declaration is absent.
910 Document Object Model (DOM) API, DOM, Overview, Reference
The Document Object Model (DOM) connects web pages to scripts or programming languages. Usually that means JavaScript, although modelling HTML, SVG, or XML documents as objects is not part of the JavaScript language, as such.
911 Events and the DOM DOM, Guide
This chapter describes the DOM Event Model. The Event interface itself is described, as well as the interfaces for event registration on nodes in the DOM, and event listeners, and several longer examples that show how the various event interfaces relate to one another.
912 Examples of web and XML development using the DOM DOM, DOM Reference
This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.
913 How to create a DOM tree AJAX, Add-ons, DOM, Extensions, JXON, NeedsUpdate, XML
This page describes how to use the DOM Core API in JavaScript to create and modify DOM objects. It applies to all Gecko-based applications (such as Firefox) both in privileged (extensions) and unprivileged (web pages) code.
914 Introduction to the DOM DOM, Guide, Introduction, Tutorial
This section provides a brief conceptual introduction to the DOM: what it is, how it provides structure for HTML and XML documents, how you can access it, and how this API presents the reference information and examples.
915 Locating DOM elements using selectors Beginner, DOM, NeedsBeginnerUpdate
The Selectors API provides methods that make it quick and easy to retrieve Element nodes from the DOM by matching against a set of selectors. This is much faster than past techniques, wherein it was necessary to, for example, use a loop in JavaScript code to locate the specific items you needed to find.
916 Traversing an HTML table with JavaScript and DOM Interfaces API, DOM, Guide, HTML, JavaScript
This article is an overview of some powerful, fundamental DOM level 1 methods and how to use them from JavaScript. You will learn how to create, access and control, and remove HTML elements dynamically. The DOM methods presented here are not specific to HTML; they also apply to XML. The demonstrations provided here will work fine in any modern browser, including all versions of Firefox and IE 5+.
917 Using the W3C DOM Level 1 Core DOM, NeedsUpdate
The W3C's DOM Level 1 Core is a powerful object model for changing the content tree of documents. It is supported in all major browsers including Mozilla Firefox and Microsoft Internet Explorer. It is a powerful base for scripting on the web.
918 Example DOM
No summary!
919 Whitespace in the DOM DOM, Intermediate, NeedsUpdate
The presence of whitespace in the DOM can make manipulation of the content tree difficult in unforeseen ways. In Mozilla, all whitespace in the text content of the original document is represented in the DOM (this does not include whitespace within tags). (This is needed internally so that the editor can preserve formatting of documents and so that white-space: pre in CSS will work.) This means that:
920 DocumentFragment API, DOM, DocumentFragment, Documents, Interface, Reference, Web Components
The DocumentFragment interface represents a minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made.
921 DocumentFragment() API, Constructor, DOM, DocumentFragment, Experimental
The DocumentFragment() constructor returns a new, empty DocumentFragment object .
922 DocumentFragment.querySelector() API, DOM, DocumentFragment, Method
The DocumentFragment.querySelector() method returns the first element, or null if no matches are found, within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
923 DocumentFragment.querySelectorAll() API, DOM, DocumentFragment, Method
The DocumentFragment.querySelectorAll() method returns a NodeList of elements within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
924 DocumentOrShadowRoot API, Document, DocumentOrShadowRoot, Interface, Reference, ShadowRoot, shadow dom
The DocumentOrShadowRoot mixin of the Shadow DOM API provides APIs that are shared between documents and shadow roots. The following features are included in both Document and ShadowRoot.
925 DocumentOrShadowRoot.activeElement API, Document, DocumentOrShadowRoot, Focus, Property, Reference, ShadowRoot, activeElement
The activeElement read-only property of the Document and ShadowRoot interfaces returns the Element within the DOM or shadow DOM tree that currently has focus.
926 DocumentOrShadowRoot.caretPositionFromPoint() API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, caretPositionFromPoint()
The caretPositionFromPoint() property of the DocumentOrShadowRoot interface returns a CaretPosition object, containing the DOM node, along with the caret and caret's character offset within that node.
927 DocumentOrShadowRoot.elementFromPoint() API, Coordinates, Document, DocumentOrShadowRoot, Find Element, Method, Point, Reference, ShadowRoot, elementFromPoint, elementFromPoint(), find, shadow dom
The elementFromPoint() method—available on both the Document and ShadowRoot objects—returns the topmost Element at the specified coordinates (relative to the viewport).
928 DocumentOrShadowRoot.elementsFromPoint() API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, elementsFromPoint, elementsFromPoint(), shadow dom
The elementsFromPoint() property of the DocumentOrShadowRoot interface returns an array of all elements at the specified coordinates (relative to the viewport).
929 DocumentOrShadowRoot.fullscreenElement API, Document, DocumentOrShadowRoot, Full-screen, Fullscreen API, Graphics, Property, Read-only, Reference, fullscreenElement, screen
The Document.fullscreenElement read-only property returns the Element that is currently being presented in full-screen mode in this document, or null if full-screen mode is not currently in use.
930 DocumentOrShadowRoot.getSelection() API, DocumentOrShadowRoot, Doument, Method, Reference, ShadowRoot, getSelection, getSelection(), shadow dom
The getSelection() property of the DocumentOrShadowRoot interface returns a Selection object representing the range of text selected by the user, or the current position of the caret.
931 DocumentOrShadowRoot.msElementsFromRect() API, API:Microsoft Extensions, Method, Non-standard, Reference, msElementsFromRect
The msElementsFromRect method returns the node list of elements that are under a rectangle defined by left, top, width, and height.
932 DocumentOrShadowRoot.pointerLockElement API, DOM, Document, Property, Reference, ShadowRoot, mouse lock
The pointerLockElement property of the Document and ShadowRoot interfaces provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.
933 DocumentOrShadowRoot.styleSheets API, Document, DocumentOrShadowRoot, Property, Reference, ShadowRoot, Stylesheets, shadow dom
The styleSheets read-only property of the DocumentOrShadowRoot interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
934 DocumentTimeline API, Animation, AnimationTimeline, DocumentTimeline, Experimental, Interface, Reference, Web Animations, waapi, web animations api
The DocumentTimeline interface of the the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
935 DocumentTimeline.DocumentTimeline() API, Animation, Constructor, DocumentTimeline, DocumentTimeline(), Experimental, Reference, waapi, web animations api
The DocumentTimeline() constructor of the Web Animations API creates a new instance of the DocumentTimeline object associated with the active document of the current browsing context.
936 DocumentTouch API, DOM, DocumentTouch, Mobile, Obsolete, TouchList, touch
The DocumentTouch interface used to provide convenience methods for creating Touch and TouchList objects, but DocumentTouch been removed from the standards. These two methods now live on the Document interface.
937 DocumentType API, DOM, DocumentType, Interface
The DocumentType interface represents a Node containing a doctype.
938 DoubleRange API, Constraints, Dictionary, DoubleRange, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
The DoubleRange dictionary is used to define a range of permitted double-precision floating-point values for a property, with either or both a maximum and minimum value specified. The ConstrainDouble dictionary is based on this, augmenting it to support exact and ideal values as well.
939 DragEvent API, DragEvent, Reference, drag and drop
The DragEvent interface is a DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.
940 DragEvent() API, Constructor, DOM, Reference, drag and drop
This constructor is used to create a synthetic DragEvent object.
941 DragEvent.dataTransfer API, DOM, Property, Reference, drag and drop
The DragEvent.dataTransfer property holds the drag operation's data (as a DataTransfer object).
942 DynamicsCompressorNode API, Audio, DynamicsCompressorNode, Interface, Media, Reference, Web Audio API
Inherits properties from its parent, AudioNode.
943 DynamicsCompressorNode() Audio, Constructor, DynamicsCompressorNode, Media, Web Audio API
The DynamicsCompressorNode() constructor creates a new DynamicsCompressorNode object which provides a compression effect, which lowers the volume of the loudest parts of the signal
944 DynamicsCompressorNode.attack API, Attack, DynamicsCompressorNode, Property, Reference, Web Audio API
An AudioParam.
945 DynamicsCompressorNode.knee API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, knee
An AudioParam.
946 DynamicsCompressorNode.ratio API, DynamicsCompressorNode, Property, Reference, Web Audio API, ratio
An AudioParam.
947 DynamicsCompressorNode.reduction API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, reduction
The reduction read-only property of the DynamicsCompressorNode interface is a float representing the amount of gain reduction currently applied by the compressor to the signal.
948 DynamicsCompressorNode.release API, DynamicsCompressorNode, Property, Reference, Release, Web Audio API
An AudioParam.
949 DynamicsCompressorNode.threshold API, DynamicsCompressorNode, Property, Reference, Web Audio API, threshold
An AudioParam.
950 EXT_blend_minmax API, Reference, WebGL, WebGL extension
The EXT_blend_minmax extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
951 EXT_color_buffer_float API, Reference, WebGL, WebGL extension, WebGL2
The EXT_color_buffer_float extension is part of WebGL and adds the ability to render a variety of floating point formats.
952 EXT_color_buffer_half_float API, Reference, WebGL, WebGL extension
The EXT_color_buffer_half_float extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.
953 EXT_disjoint_timer_query API, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query extension is part of the WebGL API and provides a way to measure the duration of a set of GL commands, without stalling the rendering pipeline.
954 EXT_disjoint_timer_query.beginQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.beginQueryEXT() method of the WebGL API starts a timer query.
955 EXT_disjoint_timer_query.createQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.createQueryEXT() method of the WebGL API creates and initializes WebGLQuery objects, which track the time needed to fully complete a set of GL commands.
956 EXT_disjoint_timer_query.deleteQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.deleteQueryEXT() method of the WebGL API deletes a given WebGLQuery object.
957 EXT_disjoint_timer_query.endQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.endQueryEXT() method of the WebGL API ends a timer query.
958 EXT_disjoint_timer_query.getQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.getQueryEXT() method of the WebGL API returns information about a query target.
959 EXT_disjoint_timer_query.getQueryObjectEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.getQueryObjectEXT() method of the WebGL API returns the state of a query object.
960 EXT_disjoint_timer_query.isQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.isQueryEXT() method of the WebGL API returns true if the passed object is a WebGLQuery object.
961 EXT_disjoint_timer_query.queryCounterEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.queryCounterEXT() method of the WebGL API records the current time into the corresponding query object.
962 EXT_frag_depth API, Fragment Shader, Reference, WebGL, WebGL extension
The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
963 EXT_sRGB API, Reference, WebGL, WebGL extension
The EXT_sRGB extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
964 EXT_shader_texture_lod API, Reference, WebGL, WebGL extensions
The EXT_shader_texture_lod extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).
965 EXT_texture_filter_anisotropic API, Reference, WebGL, WebGL extension
The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
966 EcKeyGenParams API, Dictionary, EcKeyGenParams, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey(), when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
967 EcKeyImportParams API, Dictionary, EcKeyImportParams, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey(), when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
968 EcdhKeyDeriveParams API, Dictionary, EcdhKeyDeriveParams, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey(),  when using the ECDH algorithm.
969 EcdsaParams API, Dictionary, EcdsaParams, Reference, Web Crypto API
This dictionary represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify() when using the ECDSA algorithm.
970 EffectTiming API, Animation, Dictionary, EffectTiming, Experimental, Interface, KeyframeEffect, Reference, Web Animations, animate, web animations api
The EffectTiming dictionary, part of the Web Animations API, is used by Element.animate(), KeyframeEffectReadOnly(), and KeyframeEffect() to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play.
971 EffectTiming.delay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, delay, waapi, web animations api
The EffectTiming dictionary's delay property in the Web Animations API represents the number of milliseconds to delay the start of the animation.
972 EffectTiming.direction API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, direction, waapi, web animations api
The direction property of the Web Animations API dictionary EffectTiming indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an interation
973 EffectTiming.duration API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, duration, waapi, web animations api
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
974 EffectTiming.easing API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Timing Function, Web Animations, animate, easing, waapi, web animations api
The EffectTiming dictionary's easing property in the Web Animations API specifies the timing function used to scale the time to produce easing effects, where easing is the rate of the animation's change over time.
975 EffectTiming.endDelay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, endDelay, waapi, web animations api
The endDelay property of the EffectTiming dictionary (part of the Web Animations API) indicates the number of milliseconds to delay after the active period of an animation sequence. The animation's end time—the time at which an iteration is considered to have finished—is the time at which the animation finishes an iteration (its initial delay, AnimationEffectTimingReadOnly.delay, plus its duration,duration, plus its end delay.
976 EffectTiming.fill API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, fill, web animations api
The Web Animations API's EffectTiming dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time.
977 EffectTiming.iterationStart API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterationStart, waapi, web animations api
Web Animations API's EffectTiming dictionary's  iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it.
978 EffectTiming.iterations API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterations, waapi, web animations api
The Web Animations API dictionary EffectTiming's iterations property specifies the number of times the animation should repeat. The default value is 1, indicating that it should only play once, but you can set it to any floating-point value (including positive Infinity defaults to 1, and can also take a value of Infinity to make it loop infinitely.
979 Element API, DOM, DOM Reference, Element, Interface, Reference, Web API
Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element.
980 Element.accessKey API, Access Keys, DOM, Element, Hotkeys, Keyboard Equivalents, Keyboard Shortcuts, NeedsContent, Property, Reference
The Element.accessKey property sets the keystroke which a user can press to jump to a given element.
981 Element.animate() API, Animation, Element, Method, Web Animations, animate, waapi, web animations api
The Element interface's animate() method is a shortcut method which creates a new Animation, applies it to the element, then plays the animation. It returns the created Animation object instance.
982 Element.attachShadow() API, Element, Method, Reference, attachShadow, shadow dom
The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
983 Element.attributes API, Attributes, DOM, Element, Property, Reference
The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute.
984 Element.classList API, DOM, Element, Property, Read-only, Reference
The Element.classList is a read-only property that returns a live DOMTokenList collection of the class attributes of the element.
985 Element.className API, DOM, Gecko, Property, Reference
The className property of the Element interface gets and sets the value of the class attribute of the specified element.
986 Element.clientHeight API, CSSOM View, NeedsMarkupWork, Property, Reference
The Element.clientHeight read-only property is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present).
987 Element.clientLeft API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right–to–left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding. clientLeft is read-only.
988 Element.clientTop API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the top border of an element in pixels. It is a read-only, integer property of element.
989 Element.clientWidth API, CSSOM View, NeedsMarkupWork, Property, Reference
The Element.clientWidth property is zero for elements with no CSS or inline layout boxes; otherwise it's the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present).
990 Element.closest() API, DOM, Element, Method, Reference
For browsers that do not support Element.closest(), but carry support for element.matches() (or a prefixed equivalent, meaning IE9+), a polyfill exists:
991 Element.computedStyleMap() API, CSS Typed Object Model API, Element, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, computedStyleMap()
The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
992 Element.createShadowRoot() API, Deprecated, Element, Method, Non-standard, Reference, shadow dom
Use Element.createShadowRoot to create an instance of shadow DOM. When shadow DOM is created, it is always attached to an existing element. After the shadow DOM is created, the element that it is attached to is called the shadow root.
993 Element.currentStyle API, NeedsExample, Non-standard, Property
Element.currentStyle is a proprietary property which is similar to the standardized window.getComputedStyle() method.
994 Element.getAttribute() API, DOM, Element, Method, NeedsMobileBrowserCompatibility, NeedsSpecTable, Reference
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
995 Element.getAttributeNS() API, DOM, Element, Method, Reference
The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
996 Element.getAttributeNames() API, Attribute, DOM, Element, Method, getAttributeNames
The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.
997 Element.getAttributeNode() API, DOM, Element, Method, Reference
Returns the specified attribute of the specified element, as an Attr node.
998 Element.getAttributeNodeNS() API, DOM, Method, Reference
Returns the Attr node for the attribute with the given namespace and name.
999 Element.getBoundingClientRect() API, CSSOM View, Method, Reference
The Element.getBoundingClientRect() method returns the size of an element and its position relative to the viewport.
1000 Element.getClientRects() API, CSSOM View, Element, Method, Reference, getClientRects
The getClientRects() method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.
1001 Element.getElementsByClassName() API, Classes, Element, Method, Reference, getElementsByClassName
The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
1002 Element.getElementsByTagName() API, DOM, Element, Method, Reference
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.
1003 Element.getElementsByTagNameNS() API, DOM, Element, Method, Reference
The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.
1004 Element.hasAttribute() API, DOM, Element, Method, Reference
The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.
1005 Element.hasAttributeNS() API, DOM, Element, Method, Reference
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute.
1006 Element.hasAttributes() API, DOM, Element, Method, Reference
The hasAttributes() method of the Element interface returns a Boolean indicating whether the current element has any attributes or not.
1007 Element.hasPointerCapture() API, DOM, Element, Method, PointerEvent, Reference, hasPointerCapture
The hasPointerCapture() method of the Element interface sets whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
1008 Element.id API, DOM, Element, Property, Reference
The id property of the Element interface represents the element's identifier, reflecting the id global attribute.
1009 Element.innerHTML API, DOM, DOM Parsing, Element, Parsing HTML, Property, Reference, innerHTML
The Element property innerHTML gets or sets the HTML or XML markup contained within the element.
1010 Element.insertAdjacentElement() API, DOM, Element, Gecko, Method, Reference, insertAdjacentElement
The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
1011 Element.insertAdjacentHTML() API, Amending the DOM, Changing the DOM, DOM, Element, HTML, Inserting Elements, Inserting Nodes, Method, Reference, insertAdjacentHTML
The insertAdjacentHTML() method of the Element interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position. It does not reparse the element it is being used on, and thus it does not corrupt the existing elements inside that element. This avoids the extra step of serialization, making it much faster than direct innerHTML manipulation.
1012 Element.insertAdjacentText() API, DOM, Element, Gecko, Method, Reference, insertAdjacentText
The insertAdjacentText() method of the Element interface inserts a given text node at a given position relative to the element it is invoked upon.
1013 Element.localName API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.localName read-only property returns the local part of the qualified name of an element.
1014 Element.matches() API, DOM, Element, Method, Reference, msMatchesSelector, webkitMatchesSelector
The matches() method of the Element interface returns true if the element would be selected by the specified selector string; otherwise, it returns false.
1015 Element.msZoomTo() API, API:Microsoft Extensions, Method, Microsoft, Non-standard, Reference, msZoomTo
The msZoomTo method scrolls and/or zooms an element to its specified coordinate with animation.
1016 Element.name API, DOM, Element, NeedsBrowserCompatibility, NeedsSpecTable, NeedsUpdate, Property, Reference, Web
name gets or sets the name property of an element in the DOM. It only applies to the following elements: <a>, <applet>, <button>, <form>, <frame>, <iframe>, <img>, <input>, <map>, <meta>, <object>, <param>, <select>, and <textarea>.
1017 Element.namespaceURI API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.
1018 Element.onfullscreenchange API, Element, Event Handler, Full, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenchange, screen
The Element interface's onfullscreenchange property is an event handler for the fullscreenchange event that is fired when the element has transitioned into or out of full-screen mode.
1019 Element.onfullscreenerror API, Element, Event Handler, Full, Full-screen API, Property, Reference, fullscreen, onfullscreenerror, screen
The Element interface's onfullscreenerror property is an event handler for the fullscreenerror event which is sent to the element when an error occurs while attempting to transition into or out of full-screen mode.
1020 Element.openOrClosedShadowRoot API, Add-ons, Element, Extensions, Mozilla, Needs Privileges, Non-standard, Property, Reference, WebExtensions, openOrClosedShadowRoot, shadow dom
The Element.openOrCloseShadowRoot read-only property represents the shadow root hosted by the element, regardless if its mode is open or closed.
1021 Element.outerHTML API, DOM, DOM Parsing, Element, NeedsMobileBrowserCompatibility, Parsing, Property, Reference, Serialization, Serializing, outerHTML
The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants. It can also be set to replace the element with nodes parsed from the given string.
1022 Element.prefix API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.
1023 Element.querySelector() API, CSS, CSS Selectors, DOM, Element, Elements, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
The querySelector() method of the Element interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.
1024 Element.querySelectorAll() API, CSS Selectors, DOM, Element, Finding Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
The Element method querySelectorAll() returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.
1025 Element.releasePointerCapture() API, DOM, Element, Method, PointerEvent, Reference
The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
1026 Element.removeAttribute() API, Attribute, DOM, Element, Method, NeedsSpecTable, Reference, remove, removeAttribute
The Element method removeAttribute() removes the attribute with the specified name from the element.
1027 Element.removeAttributeNS() API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNS() method of the Element interface removes the specified attribute from an element.
1028 Element.removeAttributeNode() API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNode() method of the Element object removes the specified attribute from the current element.
1029 Element.requestFullscreen() API, DOM, Element, Full, Fullscreen API, Graphics, Method, Reference, Video, full screen, fullscreen, requestFullscreen, screen
The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.
1030 Element.requestPointerLock() API, DOM, Experimental, Method, NeedsExample, PointerEvent, Reference, mouse lock
The Element.requestPointerLock() method lets you asynchronously ask for the pointer to be locked on the given element.
1031 Element.runtimeStyle API, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property
Element.runtimeStyle is a proprietary property similar to HTMLElement.style, except its styles, that have higher precedence and modification.
1032 Element.scroll() API, Element, Method, Reference, Scroll
The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
1033 Element.scrollBy() API, Element, Method, Reference, scrollBy
The scrollBy() method of the Element interface scrolls an element by the given amount.
1034 Element.scrollHeight API, CSSOM View, NeedsDHTMLRemovalInExample, Property, Reference
The Element.scrollHeight read-only property is a measurement of the height of an element's content, including content not visible on the screen due to overflow.
1035 Element.scrollIntoView() API, CSSOM Views, DOM, Element, Method, Reference, View, scrollIntoView, scrolling
The element may not be scrolled completely to the top or bottom depending on the layout of other elements.
1036 Element.scrollIntoViewIfNeeded() API, DOM, Element, Method, Non-standard, Reference
The Element.scrollIntoViewIfNeeded() method scrolls the current element into the visible area of the browser window if it's not already within the visible area of the browser window. If the element is already within the visible area of the browser window, then no scrolling takes place. This method is a proprietary variation of the standard Element.scrollIntoView() method.
1037 Element.scrollLeft API, CSSOM View, Property, Reference
The Element.scrollLeft property gets or sets the number of pixels that an element's content is scrolled from its left edge.
1038 Element.scrollLeftMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
The Element.scrollLeftMax read-only property returns a Number representing the maximum left scroll offset possible for the element.
1039 Element.scrollTo() API, Element, Method, Reference, scrollTo
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
1040 Element.scrollTop API, CSSOM View, NeedsArtUpdate, NeedsMarkupWork, Property, Reference
The Element.scrollTop property gets or sets the number of pixels that an element's content is scrolled vertically.
1041 Element.scrollTopMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
The Element.scrollTopMax read-only property returns a Number representing the maximum top scroll offset possible for the element.
1042 Element.scrollWidth API, CSSOM View, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The Element.scrollWidth read-only property is a measurement of the width of an element's content, including content not visible on the screen due to overflow.
1043 Element.setAttribute() API, DOM, Element, Method, NeedsBrowserCompatibility, NeedsSpecTable, Reference, setAttribute
Sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
1044 Element.setAttributeNS() API, DOM, Element, Method, Reference
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
1045 Element.setAttributeNode() API, DOM, Element, Method, Reference
The setAttributeNode() method adds a new Attr node to the specified element.
1046 Element.setAttributeNodeNS() API, DOM, Element, Method, Reference
setAttributeNodeNS adds a new namespaced attribute node to an element.
1047 Element.setCapture() API, DOM, Element, Method, Non-standard, Reference
Call this method during the handling of a mousedown event to retarget all mouse events to this element until the mouse button is released or document.releaseCapture() is called.
1048 Element.setPointerCapture() API, DOM, Element, Method, PointerEvent, Reference
The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture()).
1049 Element.shadowRoot API, Element, Property, Reference, ShadowRoot, shadow dom
The Element.shadowRoot read-only property represents the shadow root hosted by the element.
1050 Element.slot API, Element, Property, Reference, shadow dom, slot
The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.
1051 Element.tabStop API, DOM, Element, NeedsExample, Non-standard, Obsolete, Property, Reference
The tabStop property of the Element interface returns a Boolean indicating if the element can receive input focus via the tab key. If the specified element is a shadow host tab navigation is delegated to its children.
1052 Element.tagName API, DOM, DOM Reference, Element, Gecko, NeedsBrowserCompatibility, Property, Read-only, Reference, tagName
The tagName read-only property of the Element interface returns the tag name of the element on which it's called.
1053 Element.toggleAttribute() API, Element, Method, Reference
The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
1054 ElementTraversal API, DOM, DOM Reference, Obsolete
The ElementTraversal interface was defining methods allowing to access from one Node to another one in the document tree.
1055 Encoding API API, Encoding, Overview, Reference
The Encoding API provides a mechanism for handling text in various character encodings, including legacy non-UTF-8 encodings.
1056 Encrypted Media Extensions API API, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, NeedsContent, Overview, Reference
The Encrypted Media Extensions API provides interfaces for controlling the playback of content which is subject to a digital restrictions management scheme.
1057 ErrorEvent API, Event, Worker API
The ErrorEvent interface represents events providing information related to errors in scripts or in files.
1058 Event API, DOM, Event, Interface, Reference, UI, listener
The Event interface represents an event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth). While events are usually triggered by such "external" sources, they can also be triggered programmatically, such as by calling the HTMLElement.click() method of an element, or by defining the event, then sending it to a specified target using EventTarget.dispatchEvent(). There are many types of events, some of which use other interfaces based on the main Event interface. Event itself contains the properties and methods which are common to all events.
1059 Comparison of Event Targets DOM, Gecko, Guide, NeedsContent, NeedsExample, NeedsHelp
It's easy to get confused about which target to examine when writing an event handler. This article should clarify the use of the target properties.
1060 Event() API, Constructor, DOM, Event, Reference
The Event() constructor creates a new Event.
1061 Event.bubbles API, Bubbling, DOM, DOM Events, Event, Event Handling, Propagation, Property, Read-only, Reference, bubbles
The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM or not.
1062 Event.cancelBubble API, DOM, Event, Property, Reference, cancelBubble
The cancelBubble property of the Event interface is a historical alias to Event.stopPropagation(). Setting its value to true before returning from an event handler prevents propagation of the event. In later implementations, setting this to false does nothing. See Browser compatibility for details.
1063 Event.cancelable API, DOM, DOM Reference, Event, Property, Read-only, Reference
The cancelable read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
1064 Event.composed API, Event, Property, Read-only, Reference, Web Components, composed, scoped, shadow dom
The read-only composed property of the Event interface returns a Boolean which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
1065 Event.composedPath() API, Event, Method, Reference, Web Components, composedPath, events, shadow dom
The composedPath() method of the Event interface returns the event’s path which is an array of the objects on which listeners will be invoked. This does not include nodes in shadow trees if the shadow root was created with its ShadowRoot.mode closed.
1066 Event.createEvent() API, DOM, Deprecated, Event, Method, Reference
Creates a new event, which must then be initialized by calling its initEvent() method.
1067 Event.currentTarget API, DOM, Event, NeedsBrowserCompatibility, Property, Read-only
The currentTarget read-only property of the Event interface identifies the current target for the event, as the event traverses the DOM. It always refers to the element to which the event handler has been attached, as opposed to Event.target, which identifies the element on which the event occurred.
1068 Event.defaultPrevented API, DOM, Event, Property, Read-only
The defaultPrevented read-only property of the Event interface returns a Boolean indicating whether or not Event.preventDefault() was called on the event.
1069 Event.eventPhase API, DOM, Event, Gecko, Property, Read-only, Reference
The eventPhase read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
1070 Event.explicitOriginalTarget API, DOM, Gecko, Non-standard, Property, Reference
The explicit original target of the event. (Mozilla-specific)
1071 Event.initEvent() API, DOM, Deprecated, Event, Method, Reference
The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
1072 Event.isTrusted API, Event, Property, Read-only, Reference
The isTrusted read-only property of the Event interface is a Boolean that is true when the event was generated by a user action, and false when the event was created or modified by a script or dispatched via EventTarget.dispatchEvent().
1073 Event.msConvertURL() API, API:Microsoft Extensions, Method, Non-standard, Reference, msConvertURL
The msConvertURL method instructs the HTML paste operation on how to modify the src attribute that corresponds to each file in the clipboardData.files collection, allowing otherwise inaccessible files to be converted to blob or data URIs.
1074 Event.originalTarget API, DOM, Gecko, NeedsExample, NeedsHelp, Non-standard, Property
The original target of the event before any retargetings. (Mozilla-specific)
1075 Event.preventDefault() API, DOM, Event, Gecko, Method, preventDefault
The Event interface's preventDefault() method tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be. The event continues to propagate as usual, unless one of its event listeners calls stopPropagation() or stopImmediatePropagation(), either of which terminates propagation at once.
1076 Event.returnValue API, DOM, Event, Property, Reference, action, default, returnValue
The Event property returnValue property indicates whether the default action for this event has been prevented or not.
1077 Event.srcElement API, DOM, Property, Reference, events
Event.srcElement is a proprietary alias (implemented in Internet Explorer) for the standard Event.target property, which is supported in some other browsers for web compatibility purposes.
1078 Event.stopImmediatePropagation() API, Event, Level 3, Method, Reference, stopImmediatePropagation
The stopImmediatePropagation() method of the Event interface prevents other listeners of the same event from being called.
1079 Event.stopPropagation() API, DOM, Event, Method, NeedsRewrite, Reference
The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
1080 Event.target API, DOM, Event, Property, Reference, delegation, target
The target property of the Event interface is a reference to the object that dispatched the event. It is different from Event.currentTarget when the event handler is called during the bubbling or capturing phase of the event.
1081 Event.timeStamp API, DOM, Event, Property, Reference, timeStamp
The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
1082 Event.type API, DOM, Event, Property, Read-only, Reference
The type read-only property of the Event interface returns a string containing the event's type. It is set when the event is constructed and is the name commonly used to refer to the specific event, such as click, load, or error.
1083 EventListener API, DOM, DOM Events
The EventListener interface represents an object that can handle an event dispatched by an EventTarget object.
1084 EventListener.handleEvent() API, Callback, DOM, DOM Events, Event Callback, Event Handler, Event Processing, EventListener, Handling Events, Method, Reference, events, handleEvent
The EventListener method handleEvent() method is called by the user agent when an event is sent to the EventListener, in order to handle events that occur on an observed EventTarget.
1085 EventSource API, Communications, EventSource, Interface, Reference, Server Sent Events, Server-sent events, messaging
The EventSource interface is web content's interface to server-sent events. An EventSource instance opens a persistent connection to an HTTP server, which sends events in text/event-stream format.
1086 EventSource() API, Constructor, EventSource, Reference, Server-sent events
The EventSource() constructor returns a newly-created EventSource, which represents a remote resource.
1087 EventSource.close() API, EventSource, Method, Reference, Server-sent events, close
The close() method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to 2 (closed).
1088 EventSource.onerror API, Event Handler, EventSource, Property, Reference, Server-sent events, onerror
The onerror property of the EventSource interface is an EventHandler called when an error occurs and the error event is dispatched on an EventSource object.
1089 EventSource.onmessage API, Event Handler, EventSource, Property, Reference, Server-sent events, onmessage
The onmessage property of the EventSource interface is an EventHandler called when a message event is received, that is when a message is coming from the source.
1090 EventSource.onopen API, Event Handler, EventSource, Property, Reference, Server-sent events, onopen
The onopen property of the EventSource interface is an EventHandler called when an open event is received, that is when the connection was just opened.
1091 EventSource.readyState API, EventSource, Property, Reference, Server-sent events, readyState
The readyState read-only property of the EventSource interface returns a number representing the state of the connection.
1092 EventSource.url API, EventSource, Property, Reference, Server-sent events, URL
The url read-only property of the EventSource interface returns a DOMString representing the URL of the source.
1093 EventSource.withCredentials API, EventSource, Property, Reference, Server-sent events, withCredentials
The withCredentials read-only property of the EventSource interface returns a Boolean indicating whether the EventSource object was instantiated with CORS credentials set.
1094 EventTarget API, DOM, DOM Events, EventTarget, Interface
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
1095 EventTarget() API, Constructor, DOM, DOM Events, EventTarget
The EventTarget() constructor creates a new EventTarget object instance.
1096 EventTarget.addEventListener() API, DOM, Detecting Events, Event Handlers, Event Listener, EventTarget, JavaScript, Method, Receiving Events, Reference, addEventListener, attachEvent, events, mselementresize
The EventTarget method addEventListener() sets up a function that will be called whenever the specified event is delivered to the target.
1097 EventTarget.attachEvent()
No summary!
1098 EventTarget.dispatchEvent() API, DOM, DOM Element Methods, Gecko, Method
Dispatches an Event at the specified EventTarget, (synchronously) invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
1099 EventTarget.removeEventListener() API, DOM, DOM Element Methods, EventTarget, Gecko, Method, Reference, browser compatibility, removeEventListener
The EventTarget.removeEventListener() method removes from the EventTarget an event listener previously registered with EventTarget.addEventListener(). The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal
1100 ExtendableEvent API, Experimental, ExtendableEvent, Interface, Offline, Reference, Service Workers, ServiceWorker, Workers
The ExtendableEvent interface extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
1101 ExtendableEvent.ExtendableEvent() API, Constructor, Experimental, ExtendableEvent, Reference, Service Workers, ServiceWorker
The ExtendableEvent() constructor creates a new ExtendableEvent object.
1102 ExtendableEvent.waitUntil() API, ExtendableEvent, Method, Reference, waitUntil
The extendableEvent.waitUntil() method tells the event dispatcher that work is ongoing. It can also be used to detect whether that work was successful. In service workers, waitUntil() tells the browser that work is ongoing until the promise settles, and it shouldn't terminate the service worker if it wants that work to complete.
1103 ExtendableMessageEvent API, Experimental, ExtendableMessageEvent, Interface, Reference, Service Workers
The ExtendableMessageEvent interface of the ServiceWorker API represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
1104 ExtendableMessageEvent.ExtendableMessageEvent() API, Constructor, Experimental, ExtendableMessageEvent, Reference, Service Workers
The ExtendableMessageEvent() constructor creates a new ExtendableMessageEvent object instance.
1105 ExtendableMessageEvent.data API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, data
The data read-only property of the ExtendableMessageEvent interface returns the event's data. It can be any data type.
1106 ExtendableMessageEvent.lastEventId API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, lastEventID
The lastEventID read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
1107 ExtendableMessageEvent.origin API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, origin
The origin read-only property of the ExtendableMessageEvent interface returns the origin of the ServiceWorkerClient that sent the message.
1108 ExtendableMessageEvent.ports API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, ports
The ports read-only property of the ExtendableMessageEvent interface returns the array containing the MessagePort objects representing the ports of the associated message channel (the channel the message is being sent through.)
1109 ExtendableMessageEvent.source API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, source
The source read-only property of the ExtendableMessageEvent returns a reference to the Client object from which the message was sent.
1110 FederatedCredential API, FederatedCredential, Interface, Reference, credential management, credentials
The FederatedCredential interface of the the Credential Management API provides information about credentials from a federated identity provider. A federated identity provider is an entity that a website trusts to correctly authenticate a user, and that provides an API for that purpose. OpenID Connect is an example of a federated identity provider framework.
1111 FederatedCredential API, Constructor, FederatedCredential, Reference, credential management, credentials
The FederatedCredential constructor creates a new FederatedCredential object.
1112 provider API, FederatedCredential, Property, Reference, credential management, credentials
The provider property of the FederatedCredential interface returns a USVString containing a credential's federated identity provider.
1113 Fetch API API, Experimental, Fetch, Landing, Reference, Response, XMLHttpRequest, request
The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone who has used XMLHttpRequest, but the new API provides a more powerful and flexible feature set.
1114 Cross-global fetch usage Cross global, Fetch, edge case, relative URL
This article explains an edge case that occurs with fetch (and potentially other APIs exhibiting the same kind of resource retrieval behavior). When a cross-origin fetch involving a relative URL is initiated from an <iframe>, the relative URL used to be resolved against the current global location, rather than the iframe's location.
1115 Fetch basic concepts API, Fetch, Fetch API, XMLHttpRequest, concepts, guard, request
At the heart of Fetch are the Interface abstractions of HTTP Requests, Responses, Headers, and Body payloads, along with a global fetch method for initiating asynchronous resource requests. Because the main components of HTTP are abstracted as JavaScript objects, it is easy for other APIs to make use of such functionality.
1116 Using Fetch API, BODY, Experimental, Fetch, Guide, HTTP, Promise, Response, fetch POST & string body, request
This kind of functionality was previously achieved using XMLHttpRequest. Fetch provides a better alternative that can be easily used by other technologies such as Service Workers. Fetch also provides a single logical place to define other HTTP-related concepts such as CORS and extensions to HTTP.
1117 FetchEvent API, FetchEvent, Interface, Offline, Reference, Service Workers, Workers
This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
1118 FetchEvent.FetchEvent() API, Constructor, Experimental, FetchEvent, Reference, Service Workers, ServiceWorker
The FetchEvent() constructor creates a new FetchEvent object.
1119 FetchEvent.client API, Client, Deprecated, Experimental, FetchEvent, Property, Reference, Service Workers, Workers
The FetchEvent.client read-only property returns the Client that the current service worker is controlling.
1120 FetchEvent.clientId API, Experimental, FetchEvent, Property, Reference, Service Workers, clientId
The clientId read-only property of the FetchEvent returns the id of the Client that the current service worker is controlling.
1121 FetchEvent.isReload API, Experimental, Expérimental(2), FetchEvent, Property, Reference, Référence(2), Service, Service Workers, Workers, isReload
The isReload read-only property of the FetchEvent interface returns true if the event was dispatched by the user attempting to reload the page, and false otherwise. Pressing the refresh button is a reload while clicking a link and pressing the back button is not.
1122 FetchEvent.navigationPreload API, FetchEvent, Offline, Property, Reference, Service Workers, Workers
The navigationPreload read-only property of the FetchEvent interface returns a Promise that resolves to the instance of NavigationPreloadManager associated with the current service worker registration.
1123 FetchEvent.replacesClientId API, DOM, FetchEvent, Property, Reference, Service Workers, Workers, replacesClientId
The replacesClientId read-only property of the FetchEvent interface is the id of the client that is being replaced during a page navigation.
1124 FetchEvent.request API, Experimental, FetchEvent, Offline, Property, Reference, Service Workers, Workers, request
The request read-only property of the FetchEvent interface returns the Request that triggered the event handler.
1125 FetchEvent.respondWith() API, Experimental, FetchEvent, Method, Offline, Reference, Service Workers, Workers, respondWith
The respondWith() method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
1126 FetchEvent.resultingClientId API, DOM, FetchEvent, Property, Reference, Service Workers, Worker, resultingClientId
The resultingClientId read-only property of the FetchEvent interface is the id of the client that replaces the previous client during a page navigation.
1127 File API, File API, Interface, Reference, Web
The File interface provides information about files and allows JavaScript in a web page to access their content.
1128 File.File() API, Constructor, File, File API, Reference
The File() constructor creates a new File object instance.
1129 File.fileName API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference
Returns the name of the file. For security reasons the path is excluded from this property.
1130 File.fileSize API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference
Returns the size of a file in bytes.
1131 File.getAsBinary() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
The getAsBinary method allows to access the file's data in raw binary format.
1132 File.getAsDataURL() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
The getAsDataURL provides a data: URL that encodes the entire contents of the referenced file.
1133 File.getAsText() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
The getAsText method provides the file's data interpreted as text using a given encoding.
1134 File.lastModified API, File API, Files, Property, Reference
The File.lastModified read-only property provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
1135 File.lastModifiedDate API, Deprecated, File, File API, Files, Property, Read-only, Reference, lastModifiedDate
The File.lastModifiedDate read-only property returns the last modified date of the file. Files without a known last modified date returns the current date .
1136 File.mozFullPath API, File, File API, Files, NeedsContent, Non-standard, Property, Reference, mozFullPath
A privileged exension to the File interface, the mozFullPath property contains the full pathname of the represented file.
1137 File.name API, File API, Files, Property, Reference
Returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.
1138 File.size API, Guide, fileapi
Returns the size of a file in bytes.
1139 File.type API, File API, File Type, Files, Property, Reference
Returns the media type (MIME) of the file represented by a File object.
1140 File.webkitRelativePath File, File API, File System API, File and Directory Entries API, Non-standard, Property, Read-only, Reference, Web, webkitRelativePath
The File.webkitRelativePath is a read-only property that contains a USVString which specifies the file's path relative to the directory selected by the user in an <input> element with its webkitdirectory attribute set.
1141 Using files from web applications Files, HTML5, Intermediate, MakeBrowserAgnostic, NeedsUpdate, ajax upload, upload
Using the File API, which was added to the DOM in HTML5, it's now possible for web content to ask the user to select local files and then read the contents of those files. This selection can be done by either using an HTML <input> element or by drag and drop.
1142 File and Directory Entries API API, File System API, File and Directory Entries API, Files, Non-standard, Overview, Reference
The File and Directory Entries API simulates a local file system that web apps can navigate within and access files in. You can develop apps which read, write, and create files and/or directories in a virtual, sandboxed file system.
1143 File and Directory Entries API support in Firefox API, Chrome, Compatibility, File System API, File and Directory Entries API, Files, Firefox, Guide, Offline, Web Compatibility, google, google chrome
The original File System API was created to let browsers implement support for accessing a sandboxed virtual file system on the user's storage device. Work to standardize the specification was abandoned back in 2012, but by that point, Google Chrome included its own implementation of the API. Over time, a number of popular sites and Web applications came to use it, often without providing any means of falling back to standard APIs or even checking to be sure the API is available before using it. Mozilla instead opted to implement other APIs which can be used to solve many of the same problems, such as IndexedDB; see the blog post Why no FileSystem API in Firefox? for more insights.
1144 Introduction to the File and Directory Entries API API, Beginner, File, File System API, File and Directory Entries API, Guide, Introduction, Non-standard
The File and Directory Entries API simulates a local file system that web apps can navigate around. You can develop apps that can read, write, and create files and directories in a sandboxed, virtual file system.
1145 FileEntrySync API, File, File System API, Interface, Non-standard, Reference
The FileEntrySync interface of the File System API represents a file in a file system. It lets you write content to a file.
1146 FileError API, File API, Files, Obsolete, Reference
Represents an error that occurs while using the FileReader interface.
1147 FileException API, File API, File System API, Non-standard, Obsolete, Offline, Reference, filesystem
In the File System API, a FileException object represents error conditions that you might encounter while accessing the file system using the synchronous API. It extends the FileException interface described in File Writer and adds several new error codes.
1148 FileHandle API API, Files, Reference
The FileHandle API allows for the manipulating of files, including creating files and modifying their content (unlike the File API). Because the files manipulated through that API can be physically stored on the device, the editing part uses a turn-based locking mechanism in order to avoid race issues.
1149 FileList API, File API, Files
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.
1150 FileReader API, File API, Files, Interface, Reference
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.
1151 FileReader() API, Constructor, FileReader, Reference
The FileReader() constructor creates a new FileReader.
1152 FileReader.abort() API, File API, Files, Method, Reference
The abort method aborts the read operation. Upon return, the readyState will be DONE.
1153 FileReader.error API, File API, Files, Property, Reference
Returns the error that occurred while reading the file.
1154 FileReader.onabort Event Handler, File, FileReader, Property, Reference
The FileReader.onabort property contains an event handler executed when the abort event is fired, i.e. when the process of reading the file is aborted.
1155 FileReader.onload Event Handler, File, FileReader, Property, Reference
The FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer, readAsBinaryString, readAsDataURL or readAsText is available.
1156 FileReader.readAsArrayBuffer() API, DOM, File API, FileReader, Files, Method, Reference, readAsArrayBuffer
The FileReader interface's readAsArrayBuffer() method is used to start reading the contents of a specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains an ArrayBuffer representing the file's data.
1157 FileReader.readAsBinaryString() API, File API, Files, Method, Reference
The readAsBinaryString method is used to start reading the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains the raw binary data from the file.
1158 FileReader.readAsDataURL() API, File API, Files, Method, Reference
The readAsDataURL method is used to read the contents of the specified Blob or File. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. At that time, the result attribute contains  the data as a data: URL representing the file's data as a base64 encoded string.
1159 FileReader.readAsText() API, File API, Files, Method, Reference
The readAsText() method is used to read the contents of the specified Blob or File. When the read operation is complete, the readyState is changed to DONE, the loadend event is triggered, and the result attribute contains the contents of the file as a text string.
1160 FileReader.readyState API, File API, Files, Property, Reference
The FileReader readyState property provides the current state of the reading operation a FileReader is in. A FileReader exists in one of the following states:
1161 FileReader.result API, File API, Files, Property, Reference
The FileReader result property returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
1162 onerror
No summary!
1163 FileReaderSync API, NeedsMarkupWork
The FileReaderSync interface allows to read File or Blob objects in a synchronous way.
1164 FileRequest API, DOM, Files, Interface, Non-standard, Reference, Référence(2)
The FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile objects.
1165 FileRequest.lockedFile API, DOM, Files, Property, Reference, Référence(2)
The lockedFile property represents the LockedFile object from which the request was started.
1166 FileRequest.onprogress API, DOM, Files, Property, Reference, Référence(2)
This property specifies a callback function to be run repeatedly while the operation represented by a FileRequest object is in progress.
1167 FileSystem API, File API, File System API, File and Directory Entries API, Interface, Non-standard, Offline, filesystem
The File and Directory Entries API interface FileSystem is used to represent a file system. These objects can be obtained from the filesystem property on any file system entry. Some browsers offer additional APIs to create and manage file systems, such as Chrome's requestFileSystem() method.
1168 FileSystem.name API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, name
The read-only name property of the FileSystem interface indicates the file system's name. This USVString is unique among all file systems currently exposed by the File and Directory Entries API.
1169 FileSystem.root API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, root
The read-only root property of the FileSystem interface specifies a FileSystemDirectoryEntry object representing the root directory of the file system, for use with the File and Directory Entries API.
1170 FileSystemDirectoryEntry API, File API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Interface, NeedsMarkupWork, Non-standard, Offline, Reference
The FileSystemDirectoryEntry interface of the File and Directory Entries API represents a directory in a file system. It provides methods which make it possible to access and manipulate the files in a directory, as well as to access the entries within the directory.
1171 FileSystemDirectoryEntry.createReader() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, createReader
The FileSystemDirectoryEntry interface's method createReader() returns a FileSystemDirectoryReader object which can be used to read the entries in the directory.
1172 FileSystemDirectoryEntry.getDirectory() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getDirectory
The FileSystemDirectoryEntry interface's method getDirectory() returns a FileSystemDirectoryEntry object corresponding to a directory contained somewhere within the directory subtree rooted at the directory on which it's called.
1173 FileSystemDirectoryEntry.getFile() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getFile
The FileSystemDirectoryEntry interface's method getFile() returns a FileSystemFileEntry object corresponding to a file contained somewhere within the directory subtree rooted at the directory on which it's called.
1174 FileSystemDirectoryEntry.removeRecursively() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Obsolete, Reference, removeRecursively
The FileSystemDirectoryEntry interface's method removeRecursively() removes the directory as well as all of its content, hierarchically iterating over its entire subtree of descendant files and directories.
1175 FileSystemDirectoryReader API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Non-standard, Offline, Reference
The FileSystemDirectoryReader interface of the File and Directory Entries API lets you access the FileEntry-based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry) representing each entry in a directory.
1176 FileSystemDirectoryReader.readEntries() API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Method, Non-standard, Reference, readEntries
The FileSystemDirectoryReader interface's readEntries() method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function.
1177 FileSystemEntry API, Entry, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference
The FileSystemEntry interface of the File and Directory Entries API represents a single in a file system. The entry can be a file or a directory (directories are represented by the DirectoryEntry interface). It includes methods for working with files—including copying, moving, removing, and reading files—as well as information about a file it points to—including the file name and its path from the root to the entry.
1178 FileSystemEntry.copyTo() API, File System API, File and Directory Entries APIs, FileSystemEntry, Files, Method, Non-standard, Reference, copyTo
The FileSystemEntry interface's method copyTo() copies the file specified by the entry to a new location on the file system.
1179 FileSystemEntry.filesystem API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, filesystem
The read-only filesystem property of the FileSystemEntry interface contains a FileSystem object that represents the file system on which the entry resides.
1180 FileSystemEntry.fullPath API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, fullPath
The read-only fullPath property of the FileSystemEntry interface returns a USVString specifying the full, absolute path from the file system's root to the file represented by the entry.
1181 FileSystemEntry.getMetadata() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, getMetadata
The FileSystemEntry interface's method getMetadata() obtains a Metadata object with information about the file system entry, such as its modification date and time and its size.
1182 FileSystemEntry.getParent() API, File System API, File and Directory Entry API, FileSystemEntry, Files, Method, Non-standard, Reference, getParent
The FileSystemEntry interface's method getParent() obtains a FileSystemDirectoryEntry.
1183 FileSystemEntry.isDirectory API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isDirectory
The read-only isDirectory property of the FileSystemEntry interface is true if the entry represents a directory (meaning it's a FileSystemDirectoryEntry) and false if it's not.
1184 FileSystemEntry.isFile API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isFile
The read-only isFile property of the FileSystemEntry interface is true if the entry represents a file (meaning it's a FileSystemFileEntry) and false if it's not.
1185 FileSystemEntry.moveTo() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, moveTo
The FileSystemEntry interface's method moveTo() moves the file specified by the entry to a new location on the file system, or renames the file if the destination directory is the same as the source.
1186 FileSystemEntry.name API, File System API, File and Directory Entries API, FileSystemEntry, Non-standard, Offline, Property, Reference, name
The read-only name property of the FileSystemEntry interface returns a USVString specifying the entry's name; this is the entry within its parent directory (the last component of the path as indicated by the fullPath property).
1187 FileSystemEntry.remove() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, delete, remove
The FileSystemEntry interface's method remove() deletes the file or directory from the file system. Directories must be empty before they can be removed.
1188 FileSystemEntry.toURL() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, toURL
The FileSystemEntry interface's method toURL() creates and returns a string containing a URL which can be used to identify the file system entry. This is done by exposing a new URL scheme—filesystem:—that can be used as the value of src and href attributes.
1189 FileSystemEntrySync API, EntrySync, File API, File System API, File and Directory Entries API, FileSystemEntrySync, Interface, Non-standard, Offline, Reference, filesystem
The FileSystemEntrySync interface of the File and Directory Entries API represents an entry in a file system; it can be either a FileEntrySync or DirectoryEntry.
1190 FileSystemFileEntry API, File API, File System API, File and Directory Entries API, FileEntry, Files, Interface, Offline, Reference
The FileSystemFileEntry interface of the File System API represents a file in a file system. It offers properties describing the file's attributes, as well as the file() method, which creates a File object that can be used to read the file.
1191 FileSystemFileEntry.createWriter() API, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Obsolete, Reference, createWriter
The FileSystemFileEntry interface's method createWriter() returns a FileWriter object which can be used to write data into the file represented by the directory entry.
1192 FileSystemFileEntry.file() API, File, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Reference
The FileSystemFileEntry interface's method file() returns a File object which can be used to read data from the file represented by the directory entry.
1193 FileSystemFlags API, Dictionary, Experimental, File System API, File and Directory Entries API, FileSystemFlags, Files, Interface, Non-standard, Reference
The FileSystemFlags dictionary defines a set of values which are used when specifying option flags when calling certain methods in the File and Directory Entries API. Methods which accept an options parameter of this type may specify zero or more of these flags as fields in an object, like this:
1194 FileSystemFlags.create API, Create, File System API, File and Directory Entries API, FileSystemFlags, Files, Flile System API, Non-standard, Offline, Property, Reference
The create property on the FileSystemFlags dictionary is used to indicate whether or not the file should be created if it's missing. FileSystemFlags is only used when calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory().
1195 FileSystemFlags.exclusive API, File System API, File and Directory Entries API, FileSystemFlags, Files, Non-standard, Offline, Property, Reference, exclusive
The exclusive property on the FileSystemFlags dictionary is used in tandem with the create property to determine whether or not it's acceptable to require that the file not already exist when the reference to it is created by calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory().
1196 FileSystemSync API, File API, File System API, Files, Offline, filesystem
In the File System API, a FileSystemSync object represents a file system. It has two properties.
1197 FocusEvent API, DOM, DOM Events, Event, Reference
The FocusEvent interface represents focus-related events like focus, blur, focusin, or focusout.
1198 FocusEvent() API, Constructor, Event, FocusEvent, Reference
The FocusEvent() constructor returns a newly created FocusEvent object with an optional EventTarget. When the event has both a source and a destination, the relatedTarget value must be set to the other target.
1199 FocusEvent.relatedTarget API, Event, Experimental, FocusEvent, Property, Reference
The FocusEvent.relatedTarget read-only property represents a secondary target for this event, which will depend on the event itself. In some cases (like when tabbing in or out of a page), this property may be set to null for security reasons.
1200 FontFace API, CSS Font Loading API, FontFace, Interface, Reference
The FontFace interface represents a single usable font face. It allows control of the source of the font face, being a URL to an external resource, or a buffer; it also allows control of when the font face is loaded and its current status.
1201 FontFace
The FontFace() constructor creates a new FontFace object.
1202 FontFace.display API, CSS Font Loading API, FontFace, Fonts, Property, Reference
The display property of the FontFace interface determines how a font face is displayed based on whether and when it is downloaded and ready to use. This property is equivalent to the CSS font-display descriptor.
1203 family
The FontFace.family property allows the author to get or set the font family of a FontFace object. This is equivalent to the font-family descriptor of @font-face.
1204 FontFaceSet API, CSS Font Loading API, Experimental, Fonts, Interface, Reference
The FontFaceSet interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.
1205 FontFaceSet.check() API, CSS Font Loading API, Experimental, FontFaceSet, Method, Reference
A Boolean that is true if the font list is available
1206 FontFaceSet.load() API, CSS Font Loading API, Experimental, FontFaceSet, Method, Reference
A Promise of an Array of FontFace loaded. The promise is fulfilled when all the fonts are loaded; it is rejected if one of the fonts failed to load.
1207 FontFaceSet.ready API, CSSFontLoading API, Experimental, FontFaceSet, Fonts, Property, Ready, Reference
The ready readonly property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.
1208 FontFaceSetLoadEvent API, CSSFontLoading, Event, Experimental, FontFaceLoadEvent, Fonts, Interface, Reference
The FontFaceSetLoadEvent interface of the the Css Font Loading API is fired whenever a FontFaceSet loads.
1209 FontFaceSetLoadEvent.FontFaceSetLoadEvent() API, CSSFontLoading, Constructor, Experimental, FontFaceLoadEvent, Fonts, Reference
The FontFaceSetLoadEvent constructor creates a new FontFaceLoadEvent object which is fired whenever a FontFaceSet loads.
1210 FontFaceSetLoadEvent.fontfaces API, CSSFontLoading, Experimental, FontFaceLoadEvent, Fonts, Property, Reference, fontfaces
The fontfaces read-only property of the FontFaceLoadEventInit interface returns an array of FontFace instances, each of which represents a single usable font.
1211 Force Touch events Advanced, DOM, Event, Mobile, NeedsBrowserCompatibility, NeedsCompatTable, NeedsMobileBrowserCompatibility, Reference
Force Touch events are a proprietary, Apple-specific feature which makes possible (where supported by the input hardware) new interactions based on how hard the user clicks or presses down on the touchscreen or trackpad.
1212 FormData API, FormData, Interface, Reference, XMLHttpRequest
The FormData interface provides 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. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
1213 FormData() API, Constructor, FormData, Reference, XHR, XMLHttpRequest
The FormData() constructor creates a new FormData object.
1214 FormData.append() API, Append, FormData, Method, Reference, XHR, XMLHttpRequest
The append() method of the FormData interface appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
1215 FormData.delete() API, FormData, Method, Reference, XHR, XMLHttpRequest, delete
The delete() method of the FormData interface deletes a key and its value(s) from a FormData object.
1216 FormData.entries() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.entries() method returns an iterator allowing to go through all key/value pairs contained in this object. The key of each pair is a USVString object; the value either a USVString, or a Blob.
1217 FormData.get() API, FormData, Method, Reference, XHR, XMLHttpRequest
The get() method of the FormData interface returns the first value associated with a given key from within a FormData object. If you expect multiple values and want all of them, use the getAll() method instead.
1218 FormData.getAll() API, FormData, Method, Reference, XHR, XMLHttpRequest
The getAll() method of the FormData interface returns all the values associated with a given key from within a FormData object.
1219 FormData.has() API, FormData, Method, Reference, XHR, XMLHttpRequest, has
The has() method of the FormData interface returns a boolean stating whether a FormData object contains a certain key.
1220 FormData.keys() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.keys() method returns an iterator allowing to go through all keys contained in this object. The keys are USVString objects.
1221 FormData.set() API, FormData, Method, Reference, XHR, XMLHttpRequest, set
The set() method of the FormData interface sets a new value for an existing key inside a FormData object, or adds the key/value if it does not already exist.
1222 FormData.values() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.values() method returns an iterator allowing to go through all values contained in this object. The values are USVString or Blob objects.
1223 Using FormData Objects AJAX, Blob, File, FormData, Forms, XHR, XMLHttpRequest
The FormData object lets you compile a set of key/value pairs to send using XMLHttpRequest. It is primarily intended for use in sending form data, but can be used independently from forms in order to transmit keyed data. The transmitted data is in the same format that the form's submit() method would use to send the data if the form's encoding type were set to multipart/form-data.
1224 Frame Timing API Guide, Overview, Web Performance
The PerformanceFrameTiming interface provides frame timing data about the browser's event loop. A frame represents the amount of work a browser does in one event loop iteration such as processing DOM events, resizing, scrolling, rendering, CSS animations, etc. A frame rate of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7 ms.
1225 Using the Frame Timing API Guide, Web Performance
The PerformanceFrameTiming interface provides frame timing data about the browser's event loop. A frame represents the amount of work a browser does in one event loop iteration such as processing DOM events, resizing, scrolling, rendering, CSS animations, etc. A frame rate of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7ms.
1226 Fullscreen API API, DOM, Full, Full-screen, Fullscreen API, Games, Graphics, Guide, Intermediate, Overview, Reference, View, fullscreen, screen
The Fullscreen API adds methods to present a specific Element (and its descendants) in full-screen mode, and to exit full-screen mode once it is no longer needed. This makes it possible to present desired content—such as an online game—using the user's entire screen, removing all browser user interface elements and other applications from the screen until full-screen mode is shut off.
1227 Guide to the Fullscreen API API, Drawing, Full, Fullscreen API, Games, Graphics, Guide, display, full screen, fullscreen, screen
This article demonstrates how to use the Fullscreen API to place a given element into full-screen mode, as well as how to detect when the browser enters or exits full-screen mode.
1228 FullscreenOptions API, Configuration, Dictionary, Full-screen, Fullscreen API, FullscreenOptions, Navigation, Options, Reference, Settings, UI, fullscreen, screen
The FullscreenOptions dictionary is used to provide configuration options when calling requestFullscreen() on an element to place that element into full-screen mode.
1229 FullscreenOptions.navigationUI API, Configuration, Full-screen, Fullscreen API, FullscreenOptions, Option, Property, Reference, Setting, fullscreen, navigationUI, screen
The FullscreenOptions dictionary's navigationUI property is used when calling requestFullscreen() to specify to what extent the user agent should include its standard user interface while the element is presented in full-screen mode.
1230 GainNode API, GainNode, Interface, Reference, Web Audio API
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.
1231 GainNode() API, Audio, Constructor, GainNode, Media, Reference, Web Audio API
The GainNode() constructor of the Web Audio API creates a new GainNode object which an AudioNode that represents a change in volume.
1232 GainNode.gain API, Gain, GainNode, Property, Reference, Web Audio API
An AudioParam.
1233 Gamepad API, Gamepad API, Games, Interface, Reference
The Gamepad interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
1234 Gamepad.axes API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.axes property of the Gamepad interface returns an array representing the controls with axes present on the device (e.g. analog thumb sticks).-
1235 Gamepad.buttons API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.buttons property of the Gamepad interface returns an array of gamepadButton objects representing the buttons present on the device.
1236 Gamepad.connected API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.connected property of the Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system.
1237 Gamepad.displayId API, Experimental, Gamepad, Property, Reference, VR, Virtual Reality, WebVR, displayId
The displayId read-only property of the Gamepad interface returns the VRDisplay.displayId of the associated VRDisplay — the VRDisplay that the gamepad is controlling the displayed scene of.
1238 Gamepad.hand API, Experimental, Gamepad, Gamepad API, Property, Reference, hand
The hand read-only property of the Gamepad interface returns an enum defining what hand the controller is being held in, or is most likely to be held in.
1239 Gamepad.hapticActuators API, Experimental, Gamepad, Gamepad API, Property, Reference, hapticActuators
The hapticActuators read-only property of the Gamepad interface returns an array containing GamepadHapticActuator objects, each of which represents haptic feedback hardware available on the controller.
1240 Gamepad.id API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.id property of the Gamepad interface returns a string containing some information about the controller.
1241 Gamepad.index API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.index property of the Gamepad interface returns an integer that is auto-incremented to be unique for each device currently connected to the system.
1242 Gamepad.mapping API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.mapping property of the Gamepad interface returns a string indicating whether the browser has remapped the controls on the device to a known layout.
1243 Gamepad.pose API, Experimental, Gamepad, Gamepad API, Property, Reference, pose
The pose read-only property of the Gamepad interface returns a GamepadPose object representing the pose information associated with a WebVR controller (e.g. its position and orientation in 3D space).
1244 Gamepad.timestamp API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The Gamepad.timestamp property of the Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated.
1245 Gamepad API API, Experimental, Gamepad API, Games, Overview
The Gamepad API is a way for developers to access and respond to signals from gamepads and other game controllers in a simple, consistent way. It contains three interfaces, two events and one specialist function, to respond to gamepads being connected and disconnected, and to access other information about the gamepads themselves, and what buttons and other controls are currently being pressed.
1246 Using the Gamepad API API, Advanced, Gamepad API, Games, Guide
HTML5 introduced many of the necessary components for rich, interactive game development. Technologies like <canvas>, WebGL, <audio>, and <video>, along with JavaScript implementations, have matured to the point where they can now support many tasks previously requiring native code. The Gamepad API is a way for developers and designers to access and use gamepads and other game controllers.
1247 GamepadButton API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Reference, Référence(2)
The GamepadButton interface defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.
1248 GamepadButton.pressed API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The GamepadButton.pressed property of the GamepadButton interface returns a boolean indicating whether the button is currently pressed (true) or unpressed (false).
1249 GamepadButton.value API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
The GamepadButton.value property of the GamepadButton interface returns a double value used to represent the current state of analog buttons on many modern gamepads, such as the triggers.
1250 GamepadEvent API, Gamepad API, Games, Interface, Reference
The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.
1251 GamepadEvent() API, Constructor, Gamepad API, Games, Reference
The GamepadEvent_ constructor creates a new GamepadEvent object.
1252 GamepadEvent.gamepad API, Gamepad API, Property, Reference, Référence(2)
The GamepadEvent.gamepad property of the GamepadEvent interface returns a Gamepad object, providing access to the associated gamepad data for fired gamepadconnected and gamepaddisconnected events.
1253 GamepadHapticActuator API, Experimental, Gamepad, GamepadHapticActuator, Interface, Reference, VR, Virtual Reality, WebVR
The GamepadHapticActuator interface of the Gamepad API represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
1254 GamepadHapticActuator.pulse() API, Experimental, Gamepad, Gamepad API, GamepadHapticActuator, Method, Reference, pulse
The pulse() method of the GamepadHapticActuator interfa