Index - Web APIs 编辑

Found 5761 pages:

#PageTags and summary
1Web APIsAPI, DOM, Landing, Reference, Web
When writing code for the Web, there are a large number of Web 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.
2AbortControllerAPI, AbortController, Experimental, Interface, Reference
The AbortController interface represents a controller object that allows you to abort one or more Web requests as and when desired.
3AbortController.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.
4AbortController.AbortController()API, AbortController, Constructor, Experimental, Fetch, Reference
The AbortController() constructor creates a new AbortController object instance.
5AbortController.signalAPI, 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.
6AbortSignalAPI, 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.
7AbortSignal: abort eventAPI, AbortSignal, DOM, Event, abort
The abort event of the Fetch API is fired when a fetch request is aborted, i.e. using AbortController.abort().
8AbortSignal.abortedAPI, 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).
9AbortSignal.onabortAPI, 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_(cancellable_fetch) event fires, i.e. when the fetch request(s) the signal is communicating with is/are aborted.
10AbsoluteOrientationSensorAPI, 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.
11AbsoluteOrientationSensorAPI, 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.
12AbstractRangeAPI, Abstract, Abstract Interface, AbstractRange, DOM, DOM API, Interface, Range, Reference
The AbstractRange abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.
13AbstractRange.collapsedAPI, AbstractRange, DOM, DOM API, Empty, Property, Range, Reference, collapsed
The collapsed read-only property of the AbstractRange interface returns true if the range's start position and end position are the same.
14AbstractRange.endContainerAPI, AbstractRange, DOM, DOM API, End, Node, Position, Property, Range, Read-only, Reference, container, endContainer
The endContainer property of the AbstractRange interface returns the Node in which the end of the range is located.
15AbstractRange.endOffsetAPI, AbstractRange, DOM, DOM API, End, Property, Range, Read-only, Reference, endOffset, offset
The endOffset property of the AbstractRange interface returns the offset into the end node of the range's end position.
16AbstractRange.startContainerAPI, AbstractRange, DOM, DOM API, Property, Range, Read-only, Reference, start, startContainer
The read-only startContainer property of the AbstractRange interface returns the start Node for the range.
17AbstractRange.startOffsetAPI, AbstractRange, DOM, DOM API, Property, Range, Read-only, Reference, offset, startOffset
The read-only startOffset property of the AbstractRange interface returns the offset into the start node of the range's start position.
18AbstractWorkerAPI, 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.
19AbstractWorker.onerrorAPI, 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.
20AccelerometerAPI, 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.
21Accelerometer.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.
22Accelerometer.xAPI, 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.
23Accelerometer.yAPI, 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.
24Accelerometer.zAPI, 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.
25AddressErrorsAPI, 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 report validation errors in a physical address (typically a billing address or a shipping address).
26AddressErrors.addressLineAPI, 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 PaymentAddress.addressLine. The returned string explains the error and should offer suggestions for how to correct it.
27AddressErrors.cityAPI, 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 PaymentAddress.city property. The returned string explains the error and should offer suggestions for how to correct it.
28AddressErrors.countryAPI, 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 PaymentAddress.country was determined to be invalid. The value is a string describing the error and should offer suggestions for how to correct it.
29AddressErrors.dependentLocalityAPI, 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 PaymentAddress.dependentLocality property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
30AddressErrors.languageCodeAPI, 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 PaymentAddress.languageCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
31AddressErrors.organizationAPI, 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 PaymentAddress.organization property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
32AddressErrors.phoneAPI, 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 PaymentAddress.phone property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
33AddressErrors.postalCodeAPI, 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 PaymentAddress.postalCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
34AddressErrors.recipientAPI, 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 PaymentAddress.recipient property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
35AddressErrors.regionAPI, 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 PaymentAddress.region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
36AddressErrors.regionCodeAPI, 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 PaymentAddress.regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
37AddressErrors.sortingCodeAPI, 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 PaymentAddress.sortingCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
38AesCbcParamsAPI, AesCbcParams, Dictionary, Reference, Web Crypto API
The AesCbcParams dictionary of the Web Crypto API 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.
39AesCtrParamsAPI, AesCtrParams, Dictionary, Reference, Web Crypto API
The AesCtrParams dictionary of the Web Crypto API 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.
40AesGcmParamsAPI, AesGcmParams, Dictionary, Reference, Web Crypto API
The AesGcmParams dictionary of the Web Crypto API 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.
41AesKeyGenParamsAPI, AesKeyGenParams, Dictionary, Reference, Web Crypto API
The AesKeyGenParams dictionary of the Web Crypto API 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.
42Ambient Light EventsAmbient 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.
43Ambient Light Sensor APIAPI, Ambient Light Sensor API, AmbientLightSensor, Junk, Landing, Overview, Reference
The Ambient Light Sensor API provides an interface to monitor the ambient light level or illuminance of the device’s environment.
44AmbientLightSensorAPI, Ambient Light Sensor API, AmbientLightSensor, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
The AmbientLightSensor interface of the Sensor APIs returns the current light level or illuminance of the ambient light around the hosting device.
45AmbientLightSensor.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.
46AmbientLightSensor.illuminanceAPI, 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.
47AnalyserNodeAPI, 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.
48AnalyserNode.AnalyserNode()API, AnalyserNode, Audio, Constructor, Media, Reference, Web Audio API
The AnalyserNode constructor of the Web Audio API creates a new AnalyserNode object instance.
49AnalyserNode.fftSizeAPI, 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.
50AnalyserNode.frequencyBinCountAPI, 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.
51AnalyserNode.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.
52AnalyserNode.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.
53AnalyserNode.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.
54AnalyserNode.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.
55AnalyserNode.maxDecibelsAPI, 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().
56AnalyserNode.minDecibelsAPI, 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().
57AnalyserNode.smoothingTimeConstantAPI, 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.
58ANGLE_instanced_arraysAPI, 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.
59ANGLE_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 WebGLRenderingContext.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
60ANGLE_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 WebGLRenderingContext.drawElements() method. In addition, it can execute multiple instances of a set of elements.
61ANGLE_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 ANGLE_instanced_arrays.drawArraysInstancedANGLE() and ANGLE_instanced_arrays.drawElementsInstancedANGLE().
62AnimationAPI, Animations, 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.
63Animation()API, Animation, Animations, Constructor, Reference, web animations api
The Animation() constructor of the Web Animations API returns a new Animation object instance.
64Animation.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.
65Animation.commitStyles()API, Animation, Experimental, Method, Reference, commitStyles, web animations api
The commitStyles() method of the Web Animations API's Animation interface commits the end styling state of an animation to the element being animated, even after that animation has been removed. It will cause the end styling state to be written to the element being animated, in the form of properties inside a style attribute.
66Animation.currentTimeAPI, 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.
67Animation.effectAPI, 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.
68Animation.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.
69Animation.finishedAPI, 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.
70Animation.idAPI, 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.
71Animation.oncancelAPI, Animation, Event Handler, Property, Reference, Web Animations, oncancel, web animations api
The oncancel property of the Web Animations API's Animation interface is the event handler for the cancel event.
72Animation.onfinishAPI, 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.
73Animation.onremoveAPI, Animation, Event Handler, Experimental, Property, Reference, onremove, web animations api
The Animation interface's onremove property (from the Web Animations API) is the event handler for the remove event. This event is sent when the animation is removed (i.e., put into an active replace state).
74Animation.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.
75Animation.pendingAPI, 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.
76Animation.persist()API, Animation, Experimental, Method, Reference, persist, web animations api
The persist() method of the Web Animations API's Animation interface explicitly persists an animation, when it would otherwise be removed due to the browser's Automatically removing filling animations behavior.
77Animation.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.
78Animation.playbackRateAPI, 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.
79Animation.playStateAPI, 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.
80Animation.readyAPI, 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.
81Animation.replaceStateAPI, Animation, Experimental, Property, Reference, replaceState, web animations api
The read-only Animation.replaceState property of the Web Animations API returns the replace state of the animation. This will be active if the animation has been removed, or persisted if Animation.persist() has been invoked on it.
82Animation.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.
83Animation.startTimeAPI, 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.
84Animation.timelineAPI, Animation, Experimental, Property, Reference, Web Animations, timeline, web animations api
The Animation.timeline property of the Animation interface returns or sets the AnimationTimeline 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.
85Animation.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.
86AnimationEffectAPI, Animation, 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).
87AnimationEffect.getComputedTiming()API, Animation, Method, Reference, getComputedTiming, waapi, web animations api
The getComputedTiming() method of the AnimationEffect interface returns the calculated timing properties for this animation effect.
88AnimationEffect.getTiming()API, Animation, 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.
89AnimationEffect.updateTiming()API, Animation, Method, Reference, Web Animations, waapi, web animations api
The updateTiming() method of the AnimationEffect interface updates the specified timing properties for an animation effect.
90AnimationEventAPI, Experimental, Interface, Reference, Web Animations
The AnimationEvent interface represents events providing information related to animations.
91AnimationEvent()API, AnimationEvent, CSSOM, Constructor, Experimental, Reference, Web Animations
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation.
92AnimationEvent.animationNameAPI, 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.
93AnimationEvent.elapsedTimeAPI, 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 HTMLElement/animationstart_event 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).
94AnimationEvent.initAnimationEvent()API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations
The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent() method.
95AnimationEvent.pseudoElementAPI, 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: ''.
96AnimationPlaybackEventAPI, Animation, AnimationPlaybackEvent, Experimental, Interface, Reference, events, waapi, web animations api
The AnimationPlaybackEvent interface of the Web Animations API represents animation events.
97AnimationPlaybackEvent.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.
98AnimationPlaybackEvent.currentTimeAPI, 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.
99AnimationPlaybackEvent.timelineTimeAPI, 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 AnimationTimeline 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.
100AnimationTimelineAPI, Animation, AnimationTimeline, 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.
101AnimationTimeline.currentTimeAPI, Animation, AnimationTimeline, 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.
102ArrayBufferViewAPI, Interface, JavaScript, Reference, Typed Arrays
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types:
103AttrAPI, DOM
The Attr interface represents one of a DOM element's attributes as an object. In most DOM methods, you will directly retrieve the attribute as a string (e.g., Element.getAttribute()), but certain functions (e.g., Element.getAttributeNode()) or means of iterating return Attr types.
104Attr.localNameAPI, DOM, Property, Reference
The Attr.localName read-only property returns the local part of the qualified name of an attribute.
105Attr.namespaceURIAPI, 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.
106Attr.prefixAPI, DOM, Property, Reference
The Attr.prefix read-only property returns the namespace prefix of the specified attribute, or null if no prefix is specified.
107AudioBufferAPI, 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.
108AudioBuffer()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.
109AudioBuffer.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.
110AudioBuffer.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.
111AudioBuffer.durationAPI, AudioBuffer, Property, Reference, Web Audio API, duration
The duration property of the AudioBuffer interface returns a double representing the duration, in seconds, of the PCM data stored in the buffer.
112AudioBuffer.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).
113AudioBuffer.lengthAPI, 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.
114AudioBuffer.numberOfChannelsAPI, AudioBuffer, Property, Reference, Web Audio API, numberOfChannels
The numberOfChannels property of the AudioBuffer interface returns an integer representing the number of discrete audio channels described by the PCM data stored in the buffer.
115AudioBuffer.sampleRateAPI, AudioBuffer, Property, Reference, Web Audio API, sampleRate
The sampleRate property of the AudioBuffer interface returns a float representing the sample rate, in samples per second, of the PCM data stored in the buffer.
116AudioBufferSourceNodeAPI, 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.
117AudioBufferSourceNode.AudioBufferSourceNode()API, Audio, AudioBufferSourceNode, Constructor, Media, Reference, Web Audio API
The AudioBufferSourceNode() constructor creates a new AudioBufferSourceNode object instance.
118AudioBufferSourceNode.bufferAPI, 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.
119AudioBufferSourceNode.detuneAPI, 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.
120AudioBufferSourceNode.loopAPI, Audio, AudioBufferSourceNode, Loop, Media, Property, Reference, Web Audio API, sound
The loop property of the AudioBufferSourceNode interface is a Boolean indicating if the audio asset must be replayed when the end of the AudioBuffer is reached.
121AudioBufferSourceNode.loopEndAPI, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopEnd, sound
The loopEnd property of the AudioBufferSourceNode interface specifies is a floating point number specifying, in seconds, at what offset into playing the AudioBuffer playback should loop back to the time indicated by the AudioBufferSourceNode.loopStart property. This is only used if the AudioBufferSourceNode.loop property is true.
122AudioBufferSourceNode.loopStartAPI, 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.
123AudioBufferSourceNode.playbackRateAPI, 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.
124AudioBufferSourceNode.start()API, Audio, AudioBufferSourceNode, Media, Method, Reference, Web Audio API, sound, start
The start() method of the AudioBufferSourceNode Interface is used to schedule playback of the audio data contained in the buffer, or to begin playback immediately.
125AudioConfigurationAPI, 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.
126AudioContextAPI, 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.
127AudioContext()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.
128AudioContext.baseLatencyAPI, Audio, AudioContext, 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 an audio buffer from the AudioDestinationNode — i.e. the end of the audio graph — into the host system's audio subsystem ready for playing.
129AudioContext.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.
130AudioContext.createJavaScriptNode()API, Audio, Method, Obsolete, Reference, Web, createJavaScriptNode

The AudioContext.createJavaScriptNode() method creates a JavaScriptNode which is used for directly manipulating audio data with JavaScript.

131AudioContext.createMediaElementSource()API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaElementSource
The createMediaElementSource() method of the AudioContext Interface is used to create a new MediaElementAudioSourceNode object, given an existing HTML audio or video element, the audio from which can then be played and manipulated.
132AudioContext.createMediaStreamDestination()API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaStreamDestination
The createMediaStreamDestination() method of the AudioContext Interface is used to create a new MediaStreamAudioDestinationNode object associated with a WebRTC MediaStream representing an audio stream, which may be stored in a local file or sent to another computer.
133AudioContext.createMediaStreamSource()API, Audio, AudioContext, AudioNode, Media, MediaStream, MediaStreamTrack, Method, Reference, Web, Web Audio, Web Audio API, createMediastreamSource
The createMediaStreamSource() method of the AudioContext Interface is used to create a new MediaStreamAudioSourceNode object, given a media stream (say, from a MediaDevices.getUserMedia instance), the audio from which can then be played and manipulated.
134AudioContext.createMediaStreamTrackSource()API, Audio, AudioContext, MediaStreamTrack, MediaStreamTrackAudioSource, Method, Node, Reference, Web Audio API, createMediaStreamTrackSource, sound, source, track
The createMediaStreamTrackSource() method of the AudioContext interface creates and returns a MediaStreamTrackAudioSourceNode which represents an audio source whose data comes from the specified MediaStreamTrack.
135AudioContext.createWaveTable()API, AudioContext, Method, Obsolete, Reference, Web Audio API, createWaveTable
The AudioContext method createWaveTable() is now obsolete; you should instead use the method BaseAudioContext.createPeriodicWave.
136AudioContext.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 audio timestamp values relating to the current audio context.
137AudioContext.outputLatencyAPI, Audio, AudioContext, 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.
138AudioContext.resume()API, Audio, AudioContext, Method, Reference, Web Audio API, resume
The resume() method of the AudioContext interface resumes the progression of time in an audio context that has previously been suspended.
139AudioContext.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.
140AudioContextLatencyCategoryAPI, 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.
141AudioContextOptionsAPI, 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.
142AudioContextOptions.latencyHintAPI, 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.
143AudioContextOptions.sampleRateAPI, 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.
144AudioDestinationNodeAPI, AudioDestinationNode, Interface, Reference, Web Audio API
The AudioDestinationNode interface represents the end destination of an audio graph in a given context — usually the speakers of your device. It can also be the node that will "record" the audio data when used with an OfflineAudioContext.
145AudioDestinationNode.maxChannelCountAPI, AudioDestinationNode, Property, Reference, Référence(2), Web Audio API, maxChannelCount
The maxchannelCount property of the AudioDestinationNode interface is an unsigned long defining the maximum amount of channels that the physical device can handle.
146AudioListenerAPI, 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.
147AudioListener.dopplerFactorAPI, 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.
148AudioListener.forwardXAPI, 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.
149AudioListener.forwardYAPI, 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.
150AudioListener.forwardZAPI, 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.
151AudioListener.positionXAPI, 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.
152AudioListener.positionYAPI, 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.
153AudioListener.positionZAPI, 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.
154AudioListener.setOrientation()API, AudioListener, Method, Reference, Référence(2), Web Audio API, setOrientation
The setOrientation() method of the AudioListener interface defines the orientation of the listener.
155AudioListener.setPosition()API, AudioListener, Deprecated, Method, Reference, Référence(2), Web Audio API, setPosition
The setPosition() method of the AudioListener Interface defines the position of the listener.
156AudioListener.speedOfSoundAPI, 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.
157AudioListener.upXAPI, 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.
158AudioListener.upYAPI, 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.
159AudioListener.upZAPI, 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.
160AudioNodeAPI, AudioNode, Interface, Reference, Web Audio API
The AudioNode interface is a generic interface for representing an audio processing module.
161AudioNode.channelCountAPI, 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.
162AudioNode.channelCountModeAPI, AudioNode, Property, Reference, Web Audio API, channelCountMode
The channelCountMode property of the AudioNode interface represents an enumerated value describing the way channels must be matched between the node's inputs and outputs.
163AudioNode.channelInterpretationAPI, AudioNode, Property, Reference, Web Audio API, channelInterpretation
The channelInterpretation property of the AudioNode interface represents an enumerated value describing the meaning of the channels. This interpretation will define how audio up-mixing and down-mixing will happen.
164AudioNode.connect()API, Audio, AudioNode, Media, Method, Reference, Web Audio API, connect
The connect() method of the AudioNode interface lets you connect one of the node's outputs to a target, which may be either another AudioNode (thereby directing the sound data to the specified node) or an AudioParam, so that the node's output data is automatically used to change the value of that parameter over time.
165AudioNode.contextAPI, 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.
166AudioNode.disconnect()API, Audio, AudioNode, Disconnect, Method, Reference, Web Audio API
The disconnect() method of the AudioNode interface lets you disconnect one or more nodes from the node on which the method is called.
167AudioNode.numberOfInputsAPI, AudioNode, Property, Reference, Web Audio API, numberOfInputs
The numberOfInputs property of the AudioNode interface returns the number of inputs feeding the node. Source nodes are defined as nodes having a numberOfInputs property with a value of 0.
168AudioNode.numberOfOutputsAPI, AudioNode, Property, Reference, Web Audio API, numberOfOutputs
The numberOfOutputs property of the AudioNode interface returns the number of outputs coming out of the node. Destination nodes — like AudioDestinationNode — have a value of 0 for this attribute.
169AudioNodeOptionsAPI, 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.
170AudioParamAPI, Audio, AudioParam, Interface, Parameter, Reference, Web Audio API, sound
The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).
171AudioParam.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.
172AudioParam.cancelScheduledValues()API, AudioParam, Method, Reference, Web Audio API, cancelScheduledValues
The cancelScheduledValues() method of the AudioParam Interface cancels all scheduled future changes to the AudioParam.
173AudioParam.defaultValueAPI, 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.
174AudioParam.exponentialRampToValueAtTime()API, AudioParam, Method, Reference, Web Audio API, exponentialRampToValueAtTime
The exponentialRampToValueAtTime() method of the AudioParam Interface schedules a gradual exponential change in the value of the AudioParam. The change starts at the time specified for the previous event, follows an exponential ramp to the new value given in the value parameter, and reaches the new value at the time given in the endTime parameter.
175AudioParam.linearRampToValueAtTime()API, Audio, AudioParam, Method, Reference, Web Audio API, linearRampToValueAtTime
The linearRampToValueAtTime() method of the AudioParam Interface schedules a gradual linear change in the value of the AudioParam. The change starts at the time specified for the previous event, follows a linear ramp to the new value given in the value parameter, and reaches the new value at the time given in the endTime parameter.
176AudioParam.maxValueAPI, 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.
177AudioParam.minValueAPI, 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.
178AudioParam.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.
179AudioParam.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.
180AudioParam.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. The curve is a linear interpolation between the sequence of values defined in an array of floating-point values, which are scaled to fit into the given interval starting at startTime and a specific duration.
181AudioParam.valueAPI, AudioParam, Parameter, Property, Reference, Web Audio API, sound, value
The Web Audio API's AudioParam interface property value gets or sets the value of this AudioParam at the current time. Initially, the value is set to AudioParam.defaultValue.
182AudioParamDescriptorAPI, Audio, AudioParamDescriptor, AudioWorkletProcessor, Dictionary, Reference, Web Audio API, parameterDescriptors
The AudioParamDescriptor dictionary of the Web Audio API specifies properties for an AudioParam objects.
183AudioParamMapDraft, 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.
184AudioProcessingEventAPI, 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.
185AudioScheduledSourceNodeAPI, 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 AudioScheduledSourceNode.start and AudioScheduledSourceNode.stop methods, as well as the AudioScheduledSourceNode.onended event handler.
186AudioScheduledSourceNode: ended eventAudio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended
Web Audio API
187AudioScheduledSourceNode.onendedAPI, 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.
188AudioScheduledSourceNode.start()API, Audio, AudioScheduledSourceNode, Media, Method, NeedsExample, Node, Reference, Web Audio API, play, sound, start
The start() method on AudioScheduledSourceNode schedules a sound to begin playback at the specified time. If no time is specified, then the sound begins playing immediately.
189AudioScheduledSourceNode.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.
190AudioTrackAudio, 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.
191AudioTrack.enabledAudio, 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.
192AudioTrack.idAPI, 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.
193AudioTrack.kindAPI, 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.
194AudioTrack.labelAPI, 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.
195AudioTrack.languageAPI, 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.
196AudioTrack.sourceBufferAPI, 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.
197AudioTrackListAPI, 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.
198AudioTrackList: addtrack eventEvent
The addtrack event is fired when a track is added to an AudioTrackList.
199AudioTrackList: change eventAPI, AudioTrackList, Change, Event, HTML API
The change event is fired when an audio track is enabled or disabled, for example by changing the track's enabled property.
200AudioTrackList.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 AudioTrack.id matches the specified string.
201AudioTrackList.lengthAPI, 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.
202AudioTrackList.onaddtrackAPI, 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.
203AudioTrackList.onchangeAPI, 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.
204AudioTrackList.onremovetrackAPI, 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.
205AudioTrackList: removetrack eventEvent
The removetrack event is fired when a track is removed from an AudioTrackList.
206AudioWorkletAPI, Audio, AudioWorklet, Background, Custom, Interface, Low-latency, Reference, Web Audio API, Worklet, Zero-latency, latency, sound
The AudioWorklet interface of the Web Audio API is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing. The worklet's code is run in the AudioWorkletGlobalScope global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.
207AudioWorkletGlobalScopeAPI, Audio, AudioWorklet, AudioWorkletGlobalScope, Background, Interface, Reference, Web Audio API, Worklet, global, scope, sound
The AudioWorkletGlobalScope interface of the Web Audio API represents a global execution context for user-supplied code, which defines custom AudioWorkletProcessor-derived classes.
208AudioWorkletGlobalScope.registerProcessorAPI, Audio, AudioWorkletGlobalScope, AudioWorkletProcessor, Method, Reference, Web Audio API
The registerProcessor method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified name.
209AudioWorkletNodeAPI, Audio, AudioWorkletNode, Experimental, Interface, Reference, Web Audio API
The AudioWorkletNode interface of the Web Audio API represents a base class for a user-defined AudioNode, which can be connected to an audio routing graph along with other nodes. It has an associated AudioWorkletProcessor, which does the actual audio processing in a Web Audio rendering thread.
210AudioWorkletNode()API, AudioWorkletNode, Constructor, Reference, Web Audio API
The AudioWorkletNode() constructor creates a new AudioWorkletNode object, which represents an AudioNode that uses a JavaScript function to perform custom audio processing.
211AudioWorkletNode.onprocessorerrorAPI, Audio, AudioWorkletNode, AudioWorkletProcessor, Event Handler, Property, Reference, Web Audio API, onprocessorerror
The onprocessorerror property of the AudioWorkletNode interface defines an event handler function to be called when the AudioWorkletNode.processorerror_event event fires. This occurs when the underlying AudioWorkletProcessor behind the node throws an exception in its constructor, the AudioWorkletProcessor.process method, or any user-defined class method.
212AudioWorkletNode.parametersAPI, Audio, AudioParam, AudioWorkletNode, Property, Reference, Web Audio API
The read-only parameters property of the AudioWorkletNode interface returns the associated AudioParamMap — that is, a Map-like collection of AudioParam objects. They are instantiated during creation of the underlying AudioWorkletProcessor according to its AudioWorkletProcessor.parameterDescriptors static getter.
213AudioWorkletNode.portAPI, AudioWorkletNode, Property, Reference, Web Audio API, port
The read-only port property of the AudioWorkletNode interface returns the associated MessagePort. It can be used to communicate between the node and its associated AudioWorkletProcessor.
214AudioWorkletNodeOptionsAPI, Audio, AudioWorklet, AudioWorkletNodeOptions, Dictionary, Media, Reference, Web Audio API, sound
The AudioWorkletNodeOptions dictionary of the Web Audio API is used to specify configuration options when constructing a new AudioWorkletNode object for custom audio processing.
215AudioWorkletProcessorAPI, Audio, AudioWorklet, AudioWorkletProcessor, Interface, Reference, Web Audio API, sound
The AudioWorkletProcessor interface of the Web Audio API represents an audio processing code behind a custom AudioWorkletNode. It lives in the AudioWorkletGlobalScope and runs on the Web Audio rendering thread. In turn, an AudioWorkletNode based on it runs on the main thread.
216AudioWorkletProcessor()API, Audio, AudioWorkletNode, AudioWorkletProcessor, Constructor, Reference, Web Audio API
The AudioWorkletProcessor() constructor creates a new AudioWorkletProcessor object, which represents an underlying audio processing mechanism of an AudioWorkletNode.
217AudioWorkletProcessor.parameterDescriptors (static getter)API, AudioWorkletProcessor, Experimental, Property, Reference, parameterDescriptors
The read-only parameterDescriptors property of an AudioWorkletProcessor-derived class is a static getter, which returns an iterable of AudioParamDescriptor-based objects.
218AudioWorkletProcessor.portAPI, Audio, AudioWorkletProcessor, Experimental, Property, Reference, Web Audio API
The read-only port property of the AudioWorkletProcessor interface returns the associated MessagePort. It can be used to communicate between the processor and the AudioWorkletNode to which it belongs.
219AudioWorkletProcessor.processAPI, Audio, AudioWorkletNode, AudioWorkletProcessor, Experimental, Method, Process, Reference, Web Audio API
The process() method of an AudioWorkletProcessor-derived class implements the audio processing algorithm for the audio processor worklet. Although the method is not a part of the AudioWorkletProcessor interface, any implementation of AudioWorkletProcessor must provide a process() method.
220AuthenticatorAssertionResponseAPI, Authentication, AuthenticatorAssertionResponse, Interface, 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.
221AuthenticatorAssertionResponse.authenticatorDataAPI, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
Web Authentication API
222AuthenticatorAssertionResponse.signatureAPI, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
The signature read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object which is the signature of the authenticator for both AuthenticatorAssertionResponse.authenticatorData and a SHA-256 hash of the client data (AuthenticatorResponse.clientDataJSON).
223AuthenticatorAssertionResponse.userHandleAPI, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
The userHandle read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object which is an opaque identifier for the given user. Such an identifier can be used by the relying party's server to link the user account with its corresponding credentials and other data.
224AuthenticatorAttestationResponseAPI, Authentication, AuthenticatorAttestationResponse, Interface, 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. This response should be sent to the relying party's server to complete the creation of the credential.
225AuthenticatorAttestationResponse.attestationObjectAPI, AuthenticatorAttestationResponse, Property, Reference, Web Authentication API, WebAuthn
The attestationObject property of the AuthenticatorAttestationResponse 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.
226AuthenticatorAttestationResponse.getTransports()API, AuthenticatorAttestationResponse, Method, Reference, Web Authentication API, WebAuthn
getTransports() is a method of the AuthenticatorAttestationResponse interface that returns an Array containing strings describing the different transports which may be used by the authenticator.
227AuthenticatorResponseAPI, Authentication, AuthenticatorResponse, Interface, 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.
228AuthenticatorResponse.clientDataJSONAPI, AuthenticatorResponse, Property, Reference, Web Authentication API, WebAuthn
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.
229Background Tasks APIAPI, Background Tasks API, Guide, IdleDeadline, Overview, cancelIdleCallback, requestIdleCallback
The Cooperative Scheduling of Background Tasks API (also referred to as the Background Tasks API or 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.
230Barcode Detection APIAPI, Landing, Overview, barcode, barcode detection, shape detection
The Barcode Detection API detects linear and two-dimensional barcodes in images.
231BarcodeDetectorBarcode Detection API, BarcodeDetector, Interface, barcode, barcode detector
The BarcodeDetector interface of the Barcode Detection API allows detection of linear and two dimensional barcodes in images.
232BarcodeDetector()Barcode Detection API, BarcodeDetector, Constructor, barcode, barcode detection, shape detection
The BarcodeDetector() constructor creates a new BarcodeDetector object which detects linear and two-dimensional barcodes in images.
233BarcodeDetector.detect()Barcode Detection API, BarcodeDetector, Method, barcode, shape detection
The detect() method of the BarcodeDetector interface returns a Promise which fulfills with an Array of detected barcodes within an image.
234BarcodeDetector.getSupportedFormats()Barcode Detection API, BarcodeDetector, Method, barcode, shape detection
The getSupportedFormats() static method of the BarcodeDetector interface returns a Promise which fulfills with an Array of supported barcode format types.
235BaseAudioContextAPI, Audio, BaseAudioContext, Context, Interface, Reference, Web Audio API, sound
The BaseAudioContext interface of the Web Audio API acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext respectively. You wouldn't use BaseAudioContext directly — you'd use its features via one of these two inheriting interfaces.
236BaseAudioContext.audioWorkletAPI, Audio, AudioContext, AudioWorklet, BaseAudioContext, Property, Reference, Web Audio API, Worklet
The audioWorklet read-only property of the BaseAudioContext interface returns an instance of AudioWorklet that can be used for adding AudioWorkletProcessor-derived classes which implement custom audio processing.
237BaseAudioContext.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.
238BaseAudioContext.createBiquadFilter()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBiquadFilter
The createBiquadFilter() method of the BaseAudioContext interface creates a BiquadFilterNode, which represents a second order filter configurable as several different common filter types.
239BaseAudioContext.createBuffer()API, Audio, AudioContext, BaseAudioContext, Buffer, Media, Method, Reference, Web Audio, Web Audio API, createBuffer
The createBuffer() method of the BaseAudioContext Interface is used to create a new, empty AudioBuffer object, which can then be populated by data, and played via an AudioBufferSourceNode
240BaseAudioContext.createBufferSource()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBufferSource
The createBufferSource() method of the BaseAudioContext Interface is used to create a new AudioBufferSourceNode, which can be used to play audio data contained within an AudioBuffer object. AudioBuffers are created using BaseAudioContext.createBuffer or returned by BaseAudioContext.decodeAudioData when it successfully decodes an audio track.
241BaseAudioContext.createChannelMerger()API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelMerger
The createChannelMerger() method of the BaseAudioContext interface creates a ChannelMergerNode, which combines channels from multiple audio streams into a single audio stream.
242BaseAudioContext.createChannelSplitter()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelSplitter
The createChannelSplitter() method of the BaseAudioContext Interface is used to create a ChannelSplitterNode, which is used to access the individual channels of an audio stream and process them separately.
243BaseAudioContext.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.
244BaseAudioContext.createConvolver()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createConvolver
The createConvolver() method of the BaseAudioContext interface creates a ConvolverNode, which is commonly used to apply reverb effects to your audio. See the spec definition of Convolution for more information.
245BaseAudioContext.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.
246BaseAudioContext.createDynamicsCompressor()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDynamicsCompressor
The createDynamicsCompressor() method of the BaseAudioContext Interface is used to create a DynamicsCompressorNode, which can be used to apply compression to an audio signal.
247BaseAudioContext.createGain()API, Audio, AudioContext, BaseAudioContext, Method, Reference, Volume Control, Web Audio API, createGain, sound
The createGain() method of the BaseAudioContext interface creates a GainNode, which can be used to control the overall gain (or volume) of the audio graph.
248BaseAudioContext.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.
249BaseAudioContext.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.
250BaseAudioContext.createPanner()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createPanner
The createPanner() method of the BaseAudioContext Interface is used to create a new PannerNode, which is used to spatialize an incoming audio stream in 3D space.
251BaseAudioContext.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.
252BaseAudioContext.createScriptProcessor()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createScriptProcessor
The createScriptProcessor() method of the BaseAudioContext interface creates a ScriptProcessorNode used for direct audio processing.
253BaseAudioContext.createStereoPanner()API, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createStereoPanner
The createStereoPanner() method of the BaseAudioContext interface creates a StereoPannerNode, which can be used to apply stereo panning to an audio source. It positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm.
254BaseAudioContext.createWaveShaper()API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createWaveShaper
The createWaveShaper() method of the BaseAudioContext interface creates a WaveShaperNode, which represents a non-linear distortion. It is used to apply distortion effects to your audio.
255BaseAudioContext.currentTimeAPI, 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.
256BaseAudioContext.decodeAudioData()API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, decodeAudioData
The decodeAudioData() method of the BaseAudioContext Interface is used to asynchronously decode audio file data contained in an ArrayBuffer. In this case the ArrayBuffer is loaded from XMLHttpRequest and FileReader. The decoded AudioBuffer is resampled to the AudioContext's sampling rate, then passed to a callback or promise.
257BaseAudioContext.destinationAPI, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, destination
The destination property of the BaseAudioContext interface returns an AudioDestinationNode representing the final destination of all audio in the context. It often represents an actual audio-rendering device such as your device's speakers.
258BaseAudioContext.listenerAPI, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, listener, spatialization
The listener property of the BaseAudioContext interface returns an AudioListener object that can then be used for implementing 3D audio spatialization.
259BaseAudioContext.onstatechangeAPI, Audio, AudioContext, BaseAudioContext, Event Handler, Reference, Web Audio API, onstatechange
The onstatechange property of the BaseAudioContext interface defines an event handler function to be called when the statechange event fires: this occurs when the audio context's state changes.
260BaseAudioContext.sampleRateAPI, 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.
261BaseAudioContext.stateAPI, Audio, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, state
The state read-only property of the BaseAudioContext interface returns the current state of the AudioContext.
262BasicCardRequestAPI, 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 Specifications).
263BasicCardRequest.supportedNetworksAPI, 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).
264BasicCardRequest.supportedTypesAPI, 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).
265BasicCardResponseAPI, 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 Specifications) 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.
266BasicCardResponse.billingAddressAPI, 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.
267BasicCardResponse.cardholderNameAPI, Basic Card Payment, BasicCardResponse, 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.
268BasicCardResponse.cardNumberAPI, 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.
269BasicCardResponse.cardSecurityCodeAPI, 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.
270BasicCardResponse.expiryMonthAPI, 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.
271BasicCardResponse.expiryYearAPI, 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.
272Battery Status APIAPI, Apps, Battery, Battery API, Battery Status API, Guide, Mobile, Obsolete, 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.
273BatteryManagerAPI, 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.
274BatteryManager.chargingAPI, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
A Boolean value indicating whether or not the device's battery is currently being charged.
275BatteryManager.chargingTimeAPI, Battery API, Property, Reference
Indicates the amount of time, in seconds, that remain until the battery is fully charged.
276BatteryManager.dischargingTimeAPI, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the amount of time, in seconds, that remains until the battery is fully discharged.
277BatteryManager.levelAPI, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the current battery charge level as a value between 0.0 and 1.0.
278BatteryManager.onchargingchangeAPI, 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 BatteryManager.charging state is updated.
279BatteryManager.onchargingtimechangeAPI, 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 BatteryManager.chargingTime is updated.
280BatteryManager.ondischargingtimechangeAPI, 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 BatteryManager.dischargingTime is updated.
281BatteryManager.onlevelchangeAPI, Battery API, Event Handler, Property, Reference
The BatteryManager.onlevelchange property specifies an event listener to receive levelchange events. These events occur when the battery BatteryManager.level is updated.
282Beacon APIGuide, Overview, Web Performance, user behavior tracker, user tracker
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).
283Using the Beacon APIGuide, Web Performance
The Beacon interface schedules an asynchronous and non-blocking request to a web server.
284BeforeInstallPromptEventAPI, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference
This interface inherits from the Event interface.
285BeforeInstallPromptEvent.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.
286BeforeUnloadEventAPI, Reference
The beforeunload event is fired when the window, the document and its resources are about to be unloaded.
287BiquadFilterNodeAPI, 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.
288BiquadFilterNode()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.
289BiquadFilterNode.detuneAPI, BiquadFilterNode, Property, Reference, Référence(2), Web Audio API, detune
The detune property of the BiquadFilterNode interface is an a-rate AudioParam representing detuning of the frequency in cents.
290BiquadFilterNode.frequencyAPI, BiquadFilterNode, Property, Reference, Web Audio API, frequency
The frequency property of the BiquadFilterNode interface Is a k-rate AudioParam, a double representing a frequency in the current filtering algorithm measured in hertz (Hz).
291BiquadFilterNode.gainAPI, BiquadFilterNode, Gain, Property, Reference, Référence(2), Web Audio API
The gain property of the BiquadFilterNode interface Is a a-rate AudioParam, a double representing the gain used in the current filtering algorithm.
292BiquadFilterNode.getFrequencyResponse()API, Audio, BiquadFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse
The getFrequencyResponse() method of the BiquadFilterNode interface takes the current filtering algorithm's settings and calculates the frequency response for frequencies specified in a specified array of frequencies.
293BiquadFilterNode.QAPI, BiquadFilterNode, Property, Q, Reference, Web Audio API
The Q property of the BiquadFilterNode interface is an a-rate AudioParam, a double representing a Q factor, or quality factor.
294BiquadFilterNode.typeAPI, BiquadFilterNode, Property, Reference, Référence(2), Type, Web Audio API
The type property of the BiquadFilterNode interface is a string (enum) value defining the kind of filtering algorithm the node is implementing.
295BlobAPI, Blob, File API, Interface, Raw, Reference, data
The Blob object represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
296Blob.arrayBuffer()API, ArrayBuffer, Blob, File API, Method, Reference, binary, read
The arrayBuffer() method in the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
297Blob()API, Blob, Constructor, 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.
298Blob.sizeAPI, Blob, Bytes, File API, Files, Property, Reference, length, size
The Blob interface's size property returns the size of the Blob or File in bytes.
299Blob.slice()API, Blob, File, File API, Method, Reference, Section, Subset, data, slice, split
The Blob interface's slice() method creates and returns a new Blob object which contains data from a subset of the blob on which it's called.
300Blob.stream()API, Blob, Change, Convert, File API, Method, ReadableStream, Reference, stream
The Blob interface's stream() method returns a ReadableStream which upon reading returns the data contained within the Blob.
301Blob.text()API, Blob, File API, Method, Reference, String, Text, Utf-8, get, read
The text() method in the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
302Blob.typeAPI, Blob, DOM, File, File API, Format, MIME, MIME Type, Property, Reference, Type
The type property of a Blob object returns the MIME type of the file.
303BlobBuilderAPI, 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.
304BlobEventAPI, 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.
305BlobEvent.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.
306BlobEvent.dataAPI, BlobEvent, DOM, DOM Reference, Experimental, Media Stream Recording, Property, Reference
The BlobEvent.data read-only property represents a Blob associated with the event.
307BlobEvent.timecodeAPI, 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.
308BluetoothAPI, 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.
309Bluetooth.getAvailability()API, Bluetooth, Reference, Web Bluetooth API
The getAvailability() method of Bluetooth interface of Web Bluetooth API interface exposes the Bluetooth capabilities of the current device. For a returns a Boolean which is true if the deveice has a Bluetooth adapter and false otherwise (unless user configured User Agent not to expose a real value).
310Bluetooth.getDevices()API, Bluetooth, Reference, Web Bluettoth API
The getDevices() method of Bluetooth interface of Web Bluetooth API exposes the Bluetooth devices this origin is allowed to access. This method does not display any permission prompts.
311Bluetooth.onavailabilitychangedAPI, Bluetooth, Web Bluetooth API
The onavailabilitychanged property of the Bluetooth interface is an EventHandler that processes availabilitychanged events that fire when the Bluetooth system as a whole becomes available or unavailable to the User Agent.
312Bluetooth.referringDeviceAPI, Bluetooth, Reference, Web Bluetooth API
The Bluetooth.referringDevice attribute of the Bluetooth interface returns a BluetoothDevice if the current document was opened in response to an instruction sent by this device and null otherwise.
313Bluetooth.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.
314BluetoothAdvertisingDataAPI, 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.
315BluetoothAdvertisingData.appearanceAPI, 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.
316manufacturerDataAPI, 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 ArrayBuffer.
317rssiAPI, 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.
318serviceDataAPI, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, serviceData
The serviceData read-only property of the BluetoothAdvertisingData interface returns a map that relates UUIDs to ArrayBuffer.
319txPowerAPI, 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.
320BluetoothCharacteristicPropertiesAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothCharacteristicProperties interface of the Web Bluetooth API provides the operations that are valid on the given BluetoothRemoteGATTCharacteristic.
321BluetoothCharacteristicProperties.authenticatedSignedWritesAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, authenticatedSignedWrites
The authenticatedSignedWrites read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if signed writing to the characteristic value is permitted.
322BluetoothCharacteristicProperties.broadcastAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, broadcast
The broadcast read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if the broadcast of the characteristic value is permitted using the Server Characteristic Configuration Descriptor.
323BluetoothCharacteristicProperties.indicateAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, indicate
The indicate read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if indications of the characteristic value with acknowledgement is permitted.
324BluetoothCharacteristicProperties.notifyAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, notify
The notify read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if notifications of the characteristic value without acknowledgement is permitted.
325BluetoothCharacteristicProperties.readAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, read
The read read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if the reading of the characteristic value is permitted.
326BluetoothCharacteristicProperties.reliableWriteAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, Interface, NeedsExample, Property, Reference, Web Bluetooth API, reliableWrite
The reliableWrite read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if reliable writes to the characteristic is permitted.
327BluetoothCharacteristicProperties.writableAuxiliariesAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, writableAuxiliaries
The writableAuxiliaries read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if reliable writes to the characteristic descriptor is permitted.
328BluetoothCharacteristicProperties.writeAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, write
The write read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if the writing to the characteristic with response is permitted.
329BluetoothCharacteristicProperties.writeWithoutResponseAPI, Bluetooth, BluetoothCharacteristicProperties, Experimental, NeedsExample, Property, Reference, Web Bluetooth API, writeWithoutResponse
The writeWithoutResponse read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if the writing to the characteristic without response is permitted.
330BluetoothDeviceAPI, 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.
331adDataAPI, 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.
332connectGATT()API, Method, Non-standard, Obsolete, Reference, Web Bluetooth API, connectGATT
The BluetoothDevice.connectGATT() method returns a Promise that resolves to an instance of BluetoothGATTRemoteServer.
333deviceClassAPI, 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".
334BluetoothDevice.gattAPI, BluetoothDevice, Experimental, GATT server, Property, Reference
The BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer.
335gattServerAPI, 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.
336idAPI, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, id
The BluetoothDevice.id read-only property returns a DOMString that uniquely identifies a device.
337BluetoothDevice.nameAPI, 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.
338BluetoothDevice.pairedAPI, 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.
339productIDAPI, 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.
340productVersionAPI, 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.
341BluetoothDevice.uuidsAPI, 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.
342vendorIDAPI, 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.
343vendorIDSourceAPI, 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.
344BluetoothRemoteGATTCharacteristicAPI, 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.
345BluetoothRemoteGATTCharacteristic.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.
346BluetoothRemoteGATTCharacteristic.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.
347BluetoothRemoteGATTCharacteristic.propertiesAPI, 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.
348BluetoothRemoteGATTCharacteristic.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.
349BluetoothRemoteGATTCharacteristic.serviceAPI, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API
The BluetoothRemoteGATTCharacteristic.service read-only property returns the BluetoothGATTService this characteristic belongs to.
350BluetoothRemoteGATTCharacteristic.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.
351BluetoothRemoteGATTCharacteristic.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.
352BluetoothRemoteGATTCharacteristic.uuidAPI, 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.
353BluetoothRemoteGATTCharacteristic.valueAPI, 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.
354BluetoothRemoteGATTCharacteristic.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.
355BluetoothRemoteGATTDescriptorAPI, 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.
356characteristicAPI, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API, characteristic
The BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to.
357readValue()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.
358uuidAPI, 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.
359valueAPI, 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.
360writeValue()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.
361BluetoothRemoteGATTServerAPI, Bluetooth, BluetoothRemoteGATTServer, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTServer interface of the Web Bluetooth API represents a GATT Server on a remote device.
362BluetoothRemoteGATTServer.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.
363BluetoothRemoteGATTServer.connectedAPI, 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.
364BluetoothRemoteGATTServer.deviceAPI, Bluethooth, BluetoothRemoteGATTServer, Experimental, Property, Reference
The BluetoothRemoteGATTServer.device read-only property returns a reference to the BluetoothDevice running the server.
365BluetoothRemoteGATTServer.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.
366BluetoothRemoteGATTServer.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.
367BluetoothRemoteGATTServer.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.
368BluetoothRemoteGATTServiceAPI, 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.
369deviceAPI, 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.
370getCharacteristic()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).
371getCharacteristics()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).
372getIncludedService()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).
373getIncludedServices()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).
374isPrimaryAPI, 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.
375uuidAPI, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, uuid
The BluetoothGATTService.uuid read-only property returns a DOMString representing the UUID of this service.
376BodyAPI, 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.
377Body.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.
378Body.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.
379Body.bodyAPI, 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.
380Body.bodyUsedAPI, 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.
381Body.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.
382Body.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.
383Body.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.
384Broadcast Channel APIAPI, Broadcast Channel API, HTML API, Overview, Reference
The Broadcast Channel API allows basic communication between browsing context (that is, windows, tabs, frames, or iframes) and workers on the same origin.
385BroadcastChannelAPI, 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.
386BroadcastChannel()API, Broadcast Channel API, BroadcastChannel, Constructor, Experimental, HTML API, Reference
The BroadcastChannel() constructor creates a new BroadcastChannel and connects it to the underlying channel.
387BroadcastChannel.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.
388BroadcastChannel: message eventCommunication, Event, EventSource, Reference, message, messaging
The message event is fired on a BroadcastChannel object when a message arrives on that channel.
389BroadcastChannel: messageerror eventEvent
The messageerror event is fired on a BroadcastChannel object when a message arrives on the channel that can't be deserialized.
390BroadcastChannel.nameBroadcast 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.BroadCastChannel constructor at creation time and is therefore read-only.
391BroadcastChannel.onmessageAPI, 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.
392BroadcastChannel.onmessageerrorAPI, 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 Deserialization.
393BroadcastChannel.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 browsing context with the same origin. The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel.
394BudgetServiceAPI, 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.
395BudgetService.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.
396BufferSourceAPI, 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.
397ByteLengthQueuingStrategyAPI, ByteLengthQueuingStrategy, Experimental, Interface, Reference, Streams
The ByteLengthQueuingStrategy interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
398ByteLengthQueuingStrategy.ByteLengthQueuingStrategy()API, ByteLengthQueuingStrategy, Constructor, Experimental, Reference, Streams
The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy object instance.
399ByteLengthQueuingStrategy.size()API, ByteLengthQueuingStrategy, Experimental, Method, Reference, Streams, size
The size() method of the ByteLengthQueuingStrategy interface returns the given chunk’s byteLength property.
400ByteStringAPI, ByteString, 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.
401CacheAPI, 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.
402Cache.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.
403Cache.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.
404Cache.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.
405Cache.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.
406Cache.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.
407Cache.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 responses in the Cache object.
408Cache.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.
409CacheStorageAPI, CacheStorage, Experimental, Interface, Reference, Service Workers, ServiceWorker
The CacheStorage interface represents the storage for Cache objects.
410CacheStorage.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 resolves to false.
411CacheStorage.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.
412CacheStorage.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.
413CacheStorage.match()API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
The match() method of the CacheStorage interface checks if a given Request or url string is a key for a stored Response. This method returns a Promise for a Response, or a Promise which resolves to undefined if no match is found.
414CacheStorage.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.
415Canvas APIAPI, Canvas, Graphics, 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.
416A basic ray-casterAdvanced, Canvas, Example, Graphics, HTML, Web

This article provides an interesting real-world example of using the canvas element to do software rendering of a 3D environment using ray-casting.

417Manipulating video using canvasAPI, Canvas, Chroma-Key, Editing, Guide, Manipulating, Video, effects

By combining the capabilities of the video element with a canvas, you can manipulate video data in real time to incorporate a variety of visual effects to the video being displayed. This tutorial demonstrates how to perform chroma-keying (also known as the "green screen effect") using JavaScript code.

418Canvas tutorialCanvas, Graphics, Guide, HTML, HTML5, Intermediate, Web

<canvas> is an HTML element which can be used to draw graphics via scripting (usually JavaScript). This can, for instance, be used to draw graphs, combine photos, or create simple (and not so simple) animations. The images on this page show examples of <canvas> implementations which will be created in this tutorial.

419Advanced animationsCanvas, Graphics, Tutorial

In the last chapter we made some basic animations and got to know ways to get things moving. In this part we will have a closer look at the motion itself and are going to add some physics to make our animations more advanced.

420Applying styles and colorsCanvas, Graphics, HTML, HTML5, Intermediate, Tutorial

In the chapter about drawing shapes, we used only the default line and fill styles. Here we will explore the canvas options we have at our disposal to make our drawings a little more attractive. You will learn how to add different colors, line styles, gradients, patterns and shadows to your drawings.

421Basic animationsCanvas, Graphics, HTML, HTML5, Intermediate, Tutorial

Since we're using JavaScript to control canvas elements, it's also very easy to make (interactive) animations. In this chapter we will take a look at how to do some basic animations.

422Basic usage of canvasCanvas, Graphics, HTML, Intermediate, Tutorial

Let's start this tutorial by looking at the canvas HTML element itself. At the end of this page, you will know how to set up a canvas 2D context and have drawn a first example in your browser.

423Compositing and clippingCanvas, Graphics, HTML, HTML5, Intermediate, Tutorial

In all of our previous examples, shapes were always drawn one on top of the other. This is more than adequate for most situations, but it limits the order in which composite shapes are built. We can, however, change this behaviour by setting the globalCompositeOperation property. In addition, the clip property allows us to hide unwanted parts of shapes.

424Compositing exampleCanvas, Example, Graphics, HTML, HTML5, Tutorial
This sample program demonstrates a number of compositing operations. The output looks like this:
425Drawing shapes with canvasCanvas, Graphics, HTML, HTML Canvas, HTML5, Intermediate, Tutorial

Now that we have set up our canvas environment, we can get into the details of how to draw on the canvas. By the end of this article, you will have learned how to draw rectangles, triangles, lines, arcs and curves, providing familiarity with some of the basic shapes. Working with paths is essential when drawing objects onto the canvas and we will see how that can be done.

426Drawing textCanvas, Graphics, Intermediate, Tutorial

After having seen how to apply styles and colors in the previous chapter, we will now have a look at how to draw text onto the canvas.

427FinaleCanvas, Graphics, Tutorial

Congratulations! You finished the Canvas tutorial! This knowledge will help you to make great 2D graphics on the web.

428Hit regions and accessibilityCanvas, Graphics, Tutorial
The canvas element on its own is just a bitmap and does not provide information about any drawn objects. Canvas content is not exposed to accessibility tools like semantic HTML is. In general, you should avoid using canvas in an accessible website or app. The following guidelines can help to make it more accessible.
429Optimizing canvasAdvanced, Canvas, Graphics, HTML, HTML5, Tutorial

The canvas element is one of the most widely used tools for rendering 2D graphics on the web. However, when websites and apps push the Canvas API to its limits, performance begins to suffer. This article provides suggestions for optimizing your use of the canvas element to ensure that your graphics perform well.

430Pixel manipulation with canvasCanvas, Graphics, Intermediate, Tutorial

Until now we haven't looked at the actual pixels of our canvas. With the ImageData object you can directly read and write a data array to manipulate pixel data. We will also look into how image smoothing (anti-aliasing) can be controlled and how to save images from your canvas.

431TransformationsCanvas, Graphics, Guide, HTML, HTML5, Intermediate, Web
Earlier in this tutorial we've learned about the canvas grid and the coordinate space. Until now, we only used the default grid and changed the size of the overall canvas for our needs. With transformations there are more powerful ways to translate the origin to a different position, rotate the grid and even scale it.
432Using imagesAdvanced, Canvas, Graphics, HTML, Tutorial

Until now we have created our own shapes and applied styles to them. One of the more exciting features of canvas is the ability to use images.  These can be used to do dynamic photo compositing or as backdrops of graphs, for sprites in games, and so forth. External images can be used in any format supported by the browser, such as PNG, GIF, or JPEG. You can even use the image produced by other canvas elements on the same page as the source!

433CanvasCaptureMediaStreamTrackCanvasCaptureMediaStreamTrack, 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().
434CanvasCaptureMediaStreamTrack.canvasCanvas, 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.
435CanvasCaptureMediaStreamTrack.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.
436CanvasGradientAPI, 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().
437CanvasGradient.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.
438CanvasImageSourceAPI, 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.
439CanvasPatternAPI, 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.
440CanvasPattern.setTransform()API, Canvas, CanvasPattern, Experimental, Method, Reference
The CanvasPattern.setTransform() method uses an SVGMatrix or DOMMatrix object as the pattern's transformation matrix and invokes it on the pattern.
441CanvasRenderingContext2DAPI, 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.
442CanvasRenderingContext2D.addHitRegion()API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D method addHitRegion() adds a hit region to the bitmap.
443CanvasRenderingContext2D.arc()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.arc() method of the Canvas 2D API adds a circular arc to the current sub-path.
444CanvasRenderingContext2D.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.
445CanvasRenderingContext2D.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.
446CanvasRenderingContext2D.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 CanvasRenderingContext2D.moveTo before creating the Bézier curve.
447CanvasRenderingContext2D.canvasAPI, 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.
448CanvasRenderingContext2D.clearHitRegions()API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D method clearHitRegions() removes all hit regions from the canvas.
449CanvasRenderingContext2D.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.
450CanvasRenderingContext2D.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. The previous clipping region, if any, is intersected with the current or given path to create the new clipping region.
451CanvasRenderingContext2D.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.
452CanvasRenderingContext2D.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.
453CanvasRenderingContext2D.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.
454CanvasRenderingContext2D.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.
455CanvasRenderingContext2D.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.
456CanvasRenderingContext2D.currentTransformAPI, 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.
457CanvasRenderingContext2D.directionAPI, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
The CanvasRenderingContext2D.direction property of the Canvas 2D API specifies the current text direction used to draw text.
458CanvasRenderingContext2D.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.
459CanvasRenderingContext2D.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.
460CanvasRenderingContext2D.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 CanvasRenderingContext2D.drawWindow, this API uses the operating system to snapshot the widget on-screen, rather than reading from Gecko's own compositor.
461CanvasRenderingContext2D.drawWindow()API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The deprecated, 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.
462CanvasRenderingContext2D.ellipse()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.ellipse() method of the Canvas 2D API adds an elliptical arc to the current sub-path.
463CanvasRenderingContext2D.fill()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.fill() method of the Canvas 2D API fills the current or given path with the current CanvasRenderingContext2D.fillStyle.
464CanvasRenderingContext2D.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 CanvasRenderingContext2D.fillStyle.
465CanvasRenderingContext2D.fillStyleAPI, 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).
466CanvasRenderingContext2D.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 CanvasRenderingContext2D.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.
467CanvasRenderingContext2D.filterAPI, 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.
468CanvasRenderingContext2D.fontAPI, 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.
469CanvasRenderingContext2D.getContextAttributes()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.getContextAttributes() method returns an object that contains the actual context parameters. Context attributes can be requested with HTMLCanvasElement.getContext() on context creation.
470CanvasRenderingContext2D.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.
471CanvasRenderingContext2D.getLineDash()API, Canvas, CanvasRenderingContext2D, Method, Reference
The getLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface gets the current line dash pattern.
472CanvasRenderingContext2D.getTransform()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.getTransform() method of the Canvas 2D API retrieves the current transformation matrix being applied to the context.
473CanvasRenderingContext2D.globalAlphaAPI, 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.
474CanvasRenderingContext2D.globalCompositeOperationAPI, 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.
475CanvasRenderingContext2D.imageSmoothingEnabledAPI, 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.
476CanvasRenderingContext2D.imageSmoothingQualityAPI, 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.
477CanvasRenderingContext2D.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.
478CanvasRenderingContext2D.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.
479CanvasRenderingContext2D.lineCapAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineCap property of the Canvas 2D API determines the shape used to draw the end points of lines.
480CanvasRenderingContext2D.lineDashOffsetAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineDashOffset property of the Canvas 2D API sets the line dash offset, or "phase."
481CanvasRenderingContext2D.lineJoinAPI, 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.
482CanvasRenderingContext2D.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.
483CanvasRenderingContext2D.lineWidthAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineWidth property of the Canvas 2D API sets the thickness of lines.
484CanvasRenderingContext2D.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).
485CanvasRenderingContext2D.miterLimitAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio.
486CanvasRenderingContext2D.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.
487CanvasRenderingContext2D.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.
488CanvasRenderingContext2D.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 CanvasRenderingContext2D.moveTo before creating the quadratic Bézier curve.
489CanvasRenderingContext2D.rect()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rect() method of the Canvas 2D API adds a rectangle to the current path.
490CanvasRenderingContext2D.removeHitRegion()API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D method removeHitRegion() removes a given hit region from the canvas.
491CanvasRenderingContext2D.resetTransform()Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.resetTransform() method of the Canvas 2D API resets the current transform to the identity matrix.
492CanvasRenderingContext2D.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.
493CanvasRenderingContext2D.rotate()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rotate() method of the Canvas 2D API adds a rotation to the transformation matrix.
494CanvasRenderingContext2D.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.
495CanvasRenderingContext2D.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.
496CanvasRenderingContext2D.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().
497CanvasRenderingContext2D.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.
498CanvasRenderingContext2D.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.
499CanvasRenderingContext2D.shadowBlurAPI, 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).
500CanvasRenderingContext2D.shadowColorAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowColor property of the Canvas 2D API specifies the color of shadows.
501CanvasRenderingContext2D.shadowOffsetXAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetX property of the Canvas 2D API specifies the distance that shadows will be offset horizontally.
502CanvasRenderingContext2D.shadowOffsetYAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetY property of the Canvas 2D API specifies the distance that shadows will be offset vertically.
503CanvasRenderingContext2D.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.
504CanvasRenderingContext2D.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 CanvasRenderingContext2D.strokeStyle and other context settings.
505CanvasRenderingContext2D.strokeStyleAPI, 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).
506CanvasRenderingContext2D.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.
507CanvasRenderingContext2D.textAlignAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textAlign property of the Canvas 2D API specifies the current text alignment used when drawing text.
508CanvasRenderingContext2D.textBaselineAPI, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textBaseline property of the Canvas 2D API specifies the current text baseline used when drawing text.
509CanvasRenderingContext2D.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.
510CanvasRenderingContext2D.translate()API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation to the current matrix.
511CaretPositionAPI, 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.
512CDATASectionAPI, 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.
513Channel Messaging APIAPI, 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.
514Using channel messagingAPI, 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.
515ChannelMergerNodeAPI, 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.
516ChannelMergerNode()API, Audio, ChannelMergerNode, Constructor, Reference, Web Audio API
The ChannelMergerNode() constructor creates a new ChannelMergerNode object instance.
517ChannelSplitterNodeAPI, 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.
518ChannelSplitterNode.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.
519CharacterDataAPI, 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.
520ChildNodeAPI, DOM, Experimental, Interface, Node
The ChildNode mixin contains methods and properties that are common to all types of Node objects that can have a parent.
521ChildNode.after()API, DOM, 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.
522ChildNode.before()API, DOM, 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.
523ChildNode.remove()API, ChildNode, DOM, Experimental, Method
The ChildNode.remove() method removes the object from the tree it belongs to.
524ChildNode.replaceWith()API, DOM, 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.
525ClientAPI, 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.
526Client.frameTypeAPI, 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 "auxiliary""top-level""nested", or "none".
527Client.idAPI, 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.
528Client.postMessage()API, Client, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, postMessage
The postMessage() method of the Client interface allows a service worker to send a message to a client (a WindowWorker, or SharedWorker). The message is received in the "message" event on ServiceWorkerContainer.
529Client.typeAPI, 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.
530Client.urlAPI, 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.
531ClientsAPI, Clients, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorker, Workers
The Clients interface provides access to Client objects. Access it via ServiceWorkerGlobalScope.clients within a service worker.
532Clients.claim()API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, claim
The claim() method of the Clients interface allows an active service worker to set itself as the ServiceWorkerContainer.controller for all clients within its ServiceWorkerRegistration.scope. This triggers a "controllerchange" event on ServiceWorkerContainer in any clients that become controlled by this service worker.
533Clients.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.
534Clients.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.
535Clients.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.
536Clipboard APIAPI, Async Clipboard API, Clipboard, Clipboard API, Clipboard Event API, ClipboardEvent, ClipboardItem, Cut, Landing, Reference, copy, paste
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: The clipboard-write permission is granted automatically to pages when they are in the active tab. The clipboard-read permission must be requested, which you can do by trying to read data from the clipboard.
537ClipboardAPI, 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.
538Clipboard.read()API, Clip, Clipboard, Clipboard API, Cut, Editing, Method, Reference, Scrap, Text, copy, 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 Clipboard.readText, the read() method can return arbitrary data, such as images. This method can also return text.
539Clipboard.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.
540Clipboard.write()API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, paste, write
The Clipboard method write() writes arbitrary data, such as images, to the clipboard.
541Clipboard.writeText()API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, paste, writeText
The Clipboard interface's writeText() property writes the specified text string to the system clipboard. Text may be read back using either Clipboard.read or Clipboard.readText.
542ClipboardEventAPI, Clipboard, Clipboard API, Cut, Event, Experimental, Interface, copy, paste
The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
543ClipboardEvent.clipboardDataAPI, Clipboard, Clipboard API, ClipboardEvent, Cut, Experimental, Property, Read-only, copy, paste
The ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:
544ClipboardEvent()API, Clipboard, Clipboard API, ClipboardEvent, Constructor, Cut, Experimental, Reference, copy, paste
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.
545ClipboardItemAPI, Clipboard, Clipboard API, ClipboardItem, Cut, Interface, Reference, copy, paste
The ClipboardItem interface of the Clipboard API represents a single item format, used when reading or writing data via the Clipboard API. That is clipboard.read() and clipboard.write() respectively.
546ClipboardItem()API, Clipboard, Clipboard API, ClipboardItem, Constructor, Cut, Reference, copy, paste
The ClipboardItem() constructor of the Clipboard API creates a new ClipboardItem object which represents data to be stored or retrieved via the Clipboard API, that is clipboard.write() and clipboard.read() respectively.
547ClipboardItem.getType()Clipboard, Clipboard API, ClipboardItem, Cut, Method, copy, getTypes, paste
The getType() method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested  MIME type or an error if the MIME type is not found.
548ClipboardItem.typesAPI, Clipboard, Clipboard API, ClipboardItem, Cut, Property, Read-only, Reference, Types, copy, paste
The read-only types property of the ClipboardItem interface returns an Array of MIME type available within the ClipboardItem
549CloseEventAPI, 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.
550CloseEvent()API, CloseEvent, Constructor, Reference
The CloseEvent() constructor creates a new CloseEvent.
551CloseEvent.initCloseEvent()
The CloseEvent.initCloseEvent() method initializes the value of a close event once it's been created (normally using the Document.createEvent() method).
552CommentAPI, DOM, Reference
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.
553Comment()API, Comment, Constructor, DOM
The Comment() constructor returns a newly created Comment object with the optional DOMString given in parameter as its textual content.
554CompositionEventAPI, CompositionEvent, DOM, Event, Reference
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
555CompositionEvent.CompositionEvent()API, CompositionEvent, Constructor, Reference
The CompositionEvent() constructor creates a new CompositionEvent object instance.
556CompositionEvent.dataAPI, 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.
557CompositionEvent.initCompositionEvent()API, CompositionEvent, Deprecated, Method, Reference, initCompositionEvent
The initCompositionEvent() method of the CompositionEvent interface initializes the attributes of a CompositionEvent object instance.
558CompositionEvent.localeAPI, 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).
559Console APIAPI, Debugging, Overview, console, dump, log, output, test
The Console API provides functionality to allow developers to perform debugging tasks, such as logging messages or the values of variables at set points in your code, or timing how long an operation takes to complete.
560consoleAPI, 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.
561console.assert()API, DOM, Debugging, Method, Web Development, console, web console
The console.assert() method writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
562console.clear()API, Debugging, Method, Reference, console, web console
The console.clear() method clears the console if the environment allows it.
563console.count()API, DOM, Debugging, Method, Reference, Web Development, web console
The console.count() method logs the number of times that this particular call to count() has been called.
564Console.countReset()API, DOM, Debugging, Method, Reference, Web Development, console, web console
The console.countReset() method resets counter used with console.count().
565console.debug()API, Debug, Debugging, Developer Tools, Logging, Method, Reference, console, log, output, print
The console method debug() outputs a message to the web console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output.
566Console.dir()API, DOM, Debugging, Method, Reference, Web Development, console, web console
The Console method dir() displays an interactive list of the properties of the specified JavaScript object.
567Console.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.
568Console.error()API, DOM, Debugging, Method, Web Development, web console
Outputs an error message to the Web Console.
569Console.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.
570Console.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.
571Console.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.
572Console.info()API, Debugging, Method, Web Development, web console
The console.info() method outputs an informational message to the Web Console. In Firefox, a small "i" icon is displayed next to these items in the Web Console's log.
573console.log()API, DOM, Debugging, HTML-tree, Method, Reference, Web Development, console, console.dir(), console.log(), difference, web console
The Console method log() outputs a message to the web console.
574Console.profile()API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profile, web console
Starts recording a performance profile (for example, the Firefox performance tool).
575Console.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().
576Console.table()API, DOM, Debugging, Method, Web Development, web console
Displays tabular data as a table.
577Console.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.
578Console.timeEnd()API, DOM, Debugging, Method, Web Development, console, web console
Stops a timer that was previously started by calling console.time().
579Console.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.
580Console.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.
581console.trace()API, Chrome, DOM, Debugging, Firefox, Method, String, Web Development, console, console.trace(), trace, web console
The console interface's trace() method outputs a stack trace to the Web Console.
582Console.warn()API, DOM, Debugging, Method, Web Development, web console
Outputs a warning message to the Web Console.
583ConstantSourceNodeAPI, 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 ConstantSourceNode.offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.
584ConstantSourceNode()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.
585ConstantSourceNode.offsetAPI, 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.
586ConstrainBooleanAPI, 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.
587ConstrainDOMStringAPI, 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.
588ConstrainDoubleAPI, 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.
589Constraint validation APIAPI, 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.
590ConstrainULongAPI, ConstrainULong, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
The ConstrainULong type is used to specify a constraint for a property whose value is an integral number. It extends the ULongRange 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.
591Contact Picker APIAPI, Contact Picker API, Contacts, Landing, Overview, PWA, contact picker
The Contact Picker API allows users to select entries from their contact list and share limited details of the selected entries with a website or application.
592ContactsManagerContact Picker API, Contacts, Interface, PWA, contact picker
The ContactsManager interface of the Contact Picker API allows users to select entries from their contact list and share limited details of the selected entries with a website or application.
593ContactsManager.getProperties()Contact Picker API, Contacts, ContactsManager, Method, PWA, contact picker
The getProperties() method of the ContactsManager interface returns a Promise which resolves with an Array of String indicating which contact properties are available.
594ContactsManager.select()Contact Picker API, Contacts, ContactsPicker, Method, PWA, contact picker
The select() method of the ContactsManager interface returns a Promise which, when resolved, presents the user with a contact picker which allows them to select contact(s) they wish to share. This method requires a user gesture for the Promise to resolve.
595Content Index APIAPI, Content, Content Index API, Indexing, Landing, PWA, content indexing
The Content Index API allows developers to register their offline enabled content with the browser.
596ContentIndexContent, Index, Interface, PWA, content index, content indexing
The ContentIndex interface of the Content Index API allows developers to register their offline enabled content with the browser.
597ContentIndex.add()Content, Content Index API, Index, Interface, Method, PWA, content index, content indexing
The add() method of the ContentIndex interface registers an item with the Content Index API.
598ContentIndex.delete()Content, Content Index API, Index, Interface, Method, PWA, content index, content indexing, delete
The delete() method of the ContentIndex interface unregisters an item from the currently indexed content.
599ContentIndex.getAll()Content, Content Index API, Index, Interface, Method, PWA, content indexing, getAll
The getAll() method of the ContentIndex interface returns a Promise that resolves with an iterable list of content index entries.
600ContentIndexEventContent, Content Index API, Index, Interface, PWA, content indexing
The ContentIndexEvent interface of the Content Index API defines the object used to represent the contentdelete event.
601ContentIndexEvent()Constructor, Content, Content Index API, Index, PWA, content index, content indexing, events
The ContentIndexEvent() constructor creates a new ContentIndexEvent object whose type and other options are configured as specified.
602ContentIndexEvent.idContent, Content Index API, Index, PWA, Property, content indexing, events
The read-only id property of the ContentIndexEvent interface is a String which identifies the deleted content index via it's id.
603ConvolverNodeAPI, 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.
604ConvolverNode.bufferAPI, Buffer, ConvolverNode, Property, Reference, Web Audio API
The buffer property of the ConvolverNode interface represents a mono, stereo, or 4-channel AudioBuffer containing the (possibly multichannel) impulse response used by the ConvolverNode to create the reverb effect.
605ConvolverNode()API, Audio, Constructor, Convolver, Reference, Web Audio API
The ConvolverNode() constructor of the Web Audio API creates a new ConvolverNode object instance.
606ConvolverNode.normalizeAPI, 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.
607CountQueuingStrategyAPI, CountQueuingStrategy, Experimental, Interface, Reference, Streams
The CountQueuingStrategy interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
608CountQueuingStrategy.CountQueuingStrategy()API, Constructor, CountQueuingStrategy, Experimental, Reference, Streams
The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy object instance.
609CountQueuingStrategy.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.
610CrashReportBodyAPI, CrashReportBody, Experimental, Interface, Reference, Reporting API
The CrashReportBody interface of the Reporting API represents the body of a crash report (the return value of its Report.body property).
611Credential Management APIAPI, Credential Management API, Landing, NeedsContent, Overview, Reference, credential management
The Credential Management API lets a website store and retrieve password, public key, and federated credentials. These capabilities allow users to sign in without typing passwords, see the federated account they used to sign in to a site, and resume a session without the explicit sign-in flow of an expired session.
612CredentialAPI, Credential Management API, Experimental, Interface, NeedsExample, Reference, credential management
The Credential interface of the Credential Management API provides information about an entity (usually a user) as a prerequisite to a trust decision.
613Credential.idAPI, Credential, Credential Management API, 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.
614Credential.nameAPI, Credential, Property, Reference, credential management, name
The name property of the Credential interface returns a DOMString, containing the name associated with a credential.
615Credential.typeAPI, Credential, Credential Management API, Property, Reference, credential management
The type property of the Credential interface returns a DOMString containing the credential's type. Valid values are password, federated and public-key.
616CredentialsContainerAPI, Credential Management API, CredentialsContainer, Experimental, Interface, NeedsExample, Reference, credential management
The CredentialsContainer interface of 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.
617CredentialsContainer.create()API, Credential Management API, CredentialsContainer, Method, Reference, credential management
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.
618CredentialsContainer.get()API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
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.
619CredentialsContainer.preventSilentAccess()API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
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.
620CredentialsContainer.store()API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
The store() method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
621CryptoAPI, Code, Crypto, Encoding, Encryption, Interface, Privacy, Reference, Security, 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.
622Crypto.getRandomValues()API, Crypto, Cryptography, Encryption, Integers, Method, Numbes, Pseudorandom, Pseudorandom Numbers, Random Numbers, Reference, Web Crypto API, getRandomValues
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).
623Crypto.subtleAPI, Cryptography, Property, Read-only, Reference, Web Crypto API
The Crypto.subtle read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
624CryptoKeyAPI, Code, CryptoKey, Cryptography, Encoding, Encryption, Interface, Privacy, Reference, Security, Web Crypto API
The CryptoKey interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.
625CryptoKeyPairAPI, CryptoKeyPair, Dictionary, Reference, Web Crypto API
The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
626CSS Counter StylesCSS, 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.
627CSS Font Loading APIAPI, CSSFontLoading, CSSOM, Experimental, Fonts, NeedsContent, Reference
The CSS Font Loading API provides events and interfaces for dynamically loading font resources.
628CSS 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.
629Determining the dimensions of elementsAPI, 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.
630Managing screen orientationAPI, Advanced, CSSOM View, Guide, Screen Orientation
Screen Orientation API
631Using dynamic styling informationAPI, 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.
632CSS Painting APIAPI, CSS, CSS Paint API, Houdini, Painting, Reference
The CSS Painting API — part of the CSS Houdini umbrella of APIs — allows developers to write JavaScript functions that can draw directly into an element's background, border, or content.
633Using the CSS Painting APICSS, CSS Paint API, Canvas, Houdini, Learn
The CSS Paint API is designed to enable developers to programmatically define images which can then be used anywhere a CSS image can be invoked, such as CSS background-image, border-image, mask-image, etc.
634CSS Properties and Values APIHoudini
The CSS Properties and Values API — part of the CSS Houdini umbrella of APIs — allows developers to explicitly define their --*, allowing for property type checking, default values, and properties that do or do not inherit their value.
635Using the CSS properties and values APIAPI, CSS, CSS Properties and Values, Guide, Houdini, JavaScript, Learn
allows the registration of --*, allowing for property type checking, default values, and properties that do or do not inherit their value.
636CSS Typed Object Model APICSS Typed OM, CSS Typed Object Model API, Houdini, Reference
The CSS Typed Object Model API simplifies CSS property manipulation by exposing CSS values as typed JavaScript objects rather than strings. This not only simplifies CSS manipulation, but also lessens the negative impact on performance as compared to HTMLElement.style.
637Using the CSS Typed Object ModelCSS, CSS Typed OM, Houdini, Learn
The CSS Typed Object Model API exposes CSS values as typed JavaScript objects to allow their performant manipulation.
638CSSAPI, CSSOM, Interface, Painting, Reference
The CSS interface holds useful CSS-related methods. No objects with this interface are implemented: it contains only static methods and is therefore a utilitarian interface.
639CSS.escape()API, CSS, CSSOM, Method, Reference, Static, escape()
The CSS.escape() static method returns a CSSOMString containing the escaped string passed as parameter, mostly for use as part of a CSS selector.
640CSS numeric factory functionsAPI, CSS, CSS API, Houdini, Reference, factory function
The CSS numeric factory functions
641CSS.paintWorklet (Static property)API, CSS, CSS Paint API, Experimental, Houdini, Painting, Property, Reference, Worklet, paintWorklet
paintWorklet is a static, read-only property of the CSS interface that provides access to the PaintWorklet, which programmatically generates an image where a CSS property expects a file.
642CSS.registerProperty()CSS, Houdini, Reference
The CSS.registerProperty() method registers --*, allowing for property type checking, default values, and properties that do or do not inherit their value.
643CSS.supports()API, CSS, CSSOM, Method, Reference, supports
The CSS.supports() method returns a Boolean value indicating if the browser supports a given CSS feature, or not.
644CSSAnimationAPI, Animation, CSSAnimation, Interface, Reference
The CSSAnimation interface of the Web Animations API represents an Animation object.
645CSSAnimationAPI, Animation, CSSAnimation, Property, Reference
The animationName property of the CSSAnimation interface returns the animation-name. This specifies one or more keyframe at-rules which describe the animation applied to the element.
646CSSConditionRuleAPI, 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.
647CSSCounterStyleRuleAPI, CSS Counter Styles, Interface, Reference
The CSSCounterStyleRule interface represents an @counter-style at-rule.
648CSSGroupingRuleAPI, CSSOM, Interface, Reference
An object implementing the CSSGroupingRule interface represents any CSS at-rule that contains other rules nested within it.
649CSSImageValueAPI, CSS Typed Object Model API, CSSImageValue, Experimental, Houdini, Interface, Reference
The CSSImageValue interface of 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. The
650CSSKeyframeRuleAPI, 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).
651CSSKeyframesRuleAPI, 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 contents of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).
652CSSKeywordValueAPI, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Interface, Reference
The CSSKeywordValue interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
653CSSKeywordValue.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.
654CSSKeywordValue.valueAPI, 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.
655CSSMathInvertAPI, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathInvert interface of the CSS Typed Object Model API represents a CSS calc() used as calc(1 / <value>). It inherits properties and methods from its parent CSSNumericValue.
656CSSMathInvert()API, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Constructor, Experimental, Houdini
The CSSMathInvert() constructor creates a new CSSMathInvert object which represents a CSS calc() used as calc(1 / value)
657CSSMathInvert.valueAPI, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Experimental, Houdini, Property
The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
658CSSMathMaxAPI, CSS Typed Object Model API, CSSMathMax, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathMax interface of the CSS Typed Object Model API represents the CSS max() function.  It inherits properties and methods from its parent CSSNumericValue.
659CSSMathMax()API, CSS Typed Object Model API, CSSMathMax, CSSNumericValue, Constructor, Experimental, Houdini
The CSSMathMax() constructor creates a new CSSMathMax object which represents the CSS max() function.
660CSSMathMax.valuesAPI, CSS Typed Object Model API, CSSMathMax, CSSNumericValue, Experimental, Houdini, Property
The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
661CSSMathMinAPI, CSS Typed Object Model API, CSSMathMin, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathMin interface of the CSS Typed Object Model API represents the CSS min() function.  It inherits properties and methods from its parent CSSNumericValue.
662CSSMathMin()API, CSS Typed Object Model API, CSSMathMin, CSSNumericValue, Constructor, Experimental, Houdini
The CSSMathMin() constructor creates a new CSSMathMin object which represents the CSS min() function.
663CSSMathMin.valuesAPI, CSS Typed Object Model API, CSSMathMin, CSSNumericValue, Experimental, Houdini, Property, Read-only
The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
664CSSMathNegateAPI, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathNegate interface of the CSS Typed Object Model API negates the value passed into it. It inherits properties and methods from its parent CSSNumericValue.
665CSSMathNegate()API, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Constructor, Experimental, Houdini
The CSSMathNegate() constructor creates a new CSSMathNegate object which negates the value passed into it.
666CSSMathNegate.valueAPI, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Experimental, Houdini, Property
The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
667CSSMathProductAPI, CSS Typed Object Model API, CSSMathProduct, CSSUnparsedValue, Experimental, Houdini, Interface, Reference
The CSSMathProduct interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.  It inherits properties and methods from its parent CSSNumericValue.
668CSSMathProduct()API, CSS Typed Object Model API, CSSMathProduct, CSSUnparsedValue, Constructor, Experimental, Houdini, Reference
The CSSMathProduct() constructor creates a new CSSMathProduct object which creates a new CSSMathProduct object which multiplies the arguments passed into it.
669CSSMathProduct.valuesAPI, CSS Typed Object Model API, CSSMathProduct, CSSUnparsedValue, Experimental, Houdini, Property, Reference, values
The CSSMathProduct.values read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
670CSSMathSumAPI, CSS Typed Object Model API, CSSMathSum, Experimental, Houdini, Interface, Reference
The CSSMathSum interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
671CSSMathSum.CSSMathSum()API, CSS Typed Object Model API, CSSMathSum, CSSUnparsedValue, Constructor, Experimental, Houdini, Reference
The CSSMathSum() constructor creates a new CSSMathSum object which creates a new CSSKeywordValue object which represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
672CSSMathSum.valuesAPI, CSS Typed Object Model API, CSSMathSum, Experimental, Houdini, NeedsExample, Property, Reference, values
The CSSMathSum.values read-only property of the CSSMathSum interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
673CSSMathValueAPI, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Interface, Reference
The CSSMathValue interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.
674CSSMathValue.operatorAPI, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Operator, Property, Reference
The CSSMathValue.operator read-only property of the CSSMathValue interface indicates the operator that the current subtype represents. For example, if the current CSSMathValue subtype is CSSMathSum, this property will return the string "sum".
675CSSMatrixComponentAPI, CSS Typed Object Model API, CSSMatrixComponent, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSMatrixComponent interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
676CSSMatrixComponent()API, CSS Typed Object Model API, CSSMatrixComponent, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSMatrixComponent() constructor creates a new CSSMatrixComponent object representing the matrix() and matrix3d() values of the individual transform property in CSS.
677CSSMatrixComponent.matrixAPI, CSS Typed Object Model API, CSSMatrixComponent, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property, matrix
The matrix property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
678CSSMediaRuleAPI, CSSOM, Interface, Reference
The CSSMediaRule interface represents 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).
679CSSNamespaceRuleAPI, 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).
680CSSNamespaceRule.namespaceURIAPI, CSSNamespaceRule, CSSOM, Property, Reference, namespaceURI
The CSSNamespaceRule.namespaceURI read-only property returns a DOMString containing the text of the URI of the given namespace.
681CSSNamespaceRule.prefixAPI, 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.
682CSSNumericArrayAPI, CSS Typed Object Model API, CSSNumericArray, CSSNumericValue, Experimental, Houdini, Interface
The CSSNumericArray interface of the CSS Typed Object Model API  contains a list of CSSNumericValue objects.
683CSSNumericArray.lengthAPI, CSS Typed Object Model API, CSSNumericArray, CSSNumericValue, Experimental, Houdini, Property
The read-only length property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
684CSSNumericValueAPI, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Interface, Reference
The CSSNumericValue interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
685CSSNumericValue.add()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, add()
The add() method of the CSSNumericValue interface adds a supplied number to the CSSNumericValue.
686CSSNumericValue.div()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, div()
The div() method of the CSSNumericValue interface divides the CSSNumericValue by the supplied value.
687CSSNumericValue.equals()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, equals()
The equals() method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal. To return a value of true, all passed values must be of the same type and value and must be in the same order. This allows structural equality to be tested quickly.
688CSSNumericValue.max()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, max()
The max() method of the CSSNumericValue interface returns the highest value from among the values passed. The passed values must be of the same type.
689CSSNumericValue.min()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, min()
The min() method of the CSSNumericValue interface returns the lowest value from among those values passed. The passed values must be of the same type.
690CSSNumericValue.mul()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, mul()
The mul() method of the CSSNumericValue interface multiplies the CSSNumericValue by the supplied value.
691CSSNumericValue.parse()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, parse()
The parse() method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
692CSSNumericValue.sub()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, sub()
The sub() method of the CSSNumericValue interface subtracts a supplied number from the CSSNumericValue.
693CSSNumericValue.sum()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, sum()
The sub() method of the CSSNumericValue interface subtracts a supplied number from the CSSNumericValue.
694CSSNumericValue.to()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, to()
The to() method of the CSSNumericValue interface converts a numberic value from one unit to another.
695CSSNumericValue.toSum()API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, toSum()
The toSum() method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
696CSSNumericValue.typeAPI, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Property, Reference, Type
The type() method of the CSSNumericValue interface returns the type of CSSNumericValue, one of angle, flex, frequency, length, resolution, percent, percentHint, or time.
697CSSOMStringAPI, 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.
698CSSPageRuleAPI, 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).
699CSSPerspectiveAPI, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.  It inherits properties and methods from its parent CSSTransformValue.
700CSSPerspective()API, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSPerspective() constructor creates a new CSSPerspective object representing the perspective() value of the individual transform property in CSS.
701CSSPerspective.lengthAPI, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The length property of the CSSPerspective interface sets the distance from z=0.
702CSSPositionValueAPI, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Interface, Reference
The CSSPositionValue interface of the CSS Typed Object Model API represents values for properties that take a position, for example object-position.
703CSSPositionValue.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.
704CSSPositionValue.xAPI, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, x
The x property of the CSSPositionValue interface returns the item's position along the web page's horizontal axis.
705CSSPositionValue.yAPI, 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.
706CSSPrimitiveValueAPI, CSSOM, CSSPrimitiveValue, Interface, Obsolete, Reference
The CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property.
707CSSPrimitiveValue.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.
708CSSPrimitiveValue.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.
709CSSPrimitiveValue.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.
710CSSPrimitiveValue.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.
711CSSPrimitiveValue.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.
712CSSPrimitiveValue.primitiveTypeAPI, CSSPrimitiveValue, Property, Read-only, Reference, primitiveValue
The primitiveType read-only property of the CSSPrimitiveValue interface represents the type of a CSS value.
713CSSPrimitiveValue.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.
714CSSPrimitiveValue.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.
715CSSPropertyRuleAPI, CSS, CSS Properties and Values API, CSSPropertyRule, Experimental, Houdini, Interface, Reference
The CSSPropertyRule interface of the CSS_Properties_and_Values_API represents a single CSS @property rule.
716CSSPropertyRule.inheritsAPI, CSS, CSS Properties and Values API, CSSPropertyRule, Experimental, Houdini, Property, Read-only, Reference
The read-only inherits property of the CSSPropertyRule interface returns the inherit flag of the custom property registration represented by the @property rule, a boolean describing whether or not the property inherits by default.
717CSSPropertyRule.initialValueAPI, CSS, CSS Properties and Values API, CSSPropertyRule, Experimental, Houdini, Property, Read-only, Reference
The read-only initialValue nullable property of the CSSPropertyRule interface returns the initial value of the custom property registration represented by the @property rule, controlling the property’s initial value.
718CSSPropertyRule.nameAPI, CSS, CSS Properties and Values API, CSSPropertyRule, Experimental, Houdini, Property, Read-only, Reference
The read-only name property of the CSSPropertyRule interface represents the property name, this being the serialization of the name given to the custom property in the @property rule’s prelude.
719CSSPropertyRule.syntaxAPI, CSS, CSS Properties and Values API, CSSPropertyRule, Experimental, Houdini, Property, Read-only, Reference
The read-only syntax property of the CSSPropertyRule interface returns the literal syntax of the custom property registration represented by the @property rule, controlling how the property’s value is parsed at computed-value time.
720CSSPseudoElementAPI, CSSPseudoElement, Element, Experimental, Interface, Reference
The CSSPseudoElement interface represents a pseudo-element that may be the target of an event or animated using the Web Animations API. Instances of this interface may be obtained by calling Element.pseudo().
721CSSPseudoElement.elementAPI, CSSPseudoElement, Element, Experimental, Property, Reference
The element read-only property of the CSSPseudoElement interface returns a reference to the originating element of the pseudo-element, in other words its parent element.
722CSSPseudoElement.typeAPI, CSSPseudoElement, Experimental, Property, Reference, Type
The type read-only property of the CSSPseudoElement interface returns the type of the pseudo-element as a string, represented in the form of a CSS selector.
723CSSRotateAPI, CSS, CSS Typed Object Model, CSSRotate, Experimental, Houdini, Interface, Reference
The CSSRotate interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
724CSSRotate.angleAPI, CSS, CSS Types Object Model API, CSSRotate, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The angle property of the CSSRotate interface gets and sets the angle of rotation. A positive angle denotes a clockwise rotation, a negative angle a counter-clockwise one.
725CSSRotate()API, CSS Types Object Model API, CSSRotate, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSRotate() constructor creates a new CSSRotate object representing the rotate() value of the individual transform property in CSS.
726CSSRotate.xAPI, CSS Typed Object Model API, CSSRotate, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The x property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
727CSSRotate.yAPI, CSS, CSS Typed Object Model API, CSSRotate, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The y property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
728CSSRotate.zAPI, CSS, CSS Typed Object Model API, CSSRotate, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The z property of the CSSRotate interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
729CSSRuleAPI, CSSOM, Interface, Reference
The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.
730CSSRule.cssTextAPI, CSSOM, NeedsSpecTable, Property, Reference
The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
731CSSRule.parentStyleSheetAPI, CSSOM, CSSRule, NeedsSpecTable, Property, Reference
The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
732CSSRuleListAPI, CSSOM, Interface, Reference
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
733CSSScaleAPI, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSScale interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
734CSSScale()API, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSScale() constructor creates a new CSSScale object representing the scale() and scale3d() values of the individual transform property in CSS.
735CSSScale.xAPI, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The x property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
736CSSScale.yAPI, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The y property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
737CSSScale.zAPI, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The z property of the CSSScale interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
738CSSSkewAPI, CSS, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkew interface of the CSS Typed Object Model API is part of the CSSTransformValue interface. It represents the skew() value of the individual transform property in CSS.
739CSSSkew.axAPI, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The ax property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
740CSSSkew.ayAPI, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The ay property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
741CSSSkew()API, CSS, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSSkew() constructor creates a new CSSSkew object which represents the skew() value of the individual transform property in CSS.
742CSSSkewXAPI, CSS Typed Object Model API, CSSSkewX, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkewX interface of the CSS Typed Object Model API represents the skewX() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
743CSSSkewX.axAPI, CSS Typed Object Model API, CSSSkewX, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The ax property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
744CSSSkewX()API, CSS Typed Object Model API, CSSSkewX, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSSkewX() constructor creates a new CSSSkewX object which represents the skewX() value of the individual transform property in CSS.
745CSSSkewYAPI, CSS Typed Object Model API, CSSSkewY, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkewY interface of the CSS Typed Object Model API represents the skewY() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
746CSSSkewY.ayAPI, CSS Typed Object Model API, CSSSkewY, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The ay property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
747CSSSkewY()API, CSS Typed Object Model API, CSSSkewY, CSSTransformComponent, CSSTransformValue, Constructor, Experimental, Houdini
The CSSSkewY() constructor creates a new CSSSkewY object which represents the skewY() value of the individual transform property in CSS.
748CSSStyleDeclarationAPI, 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.
749CSSStyleDeclaration.cssTextAPI, CSSOM, NeedsSpecTable, Reference
The cssText property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.
750CSSStyleDeclaration.getPropertyCSSValue()API, CSSOM, Method, Obsolete, Reference
The CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property.
751CSSStyleDeclaration.getPropertyPriority()API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property.
752CSSStyleDeclaration.getPropertyValue()API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property.
753CSSStyleDeclaration.item()API, CSSOM, Method, Reference
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index
754CSSStyleDeclaration.lengthAPI, CSSOM, Property, Reference
The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
755CSSStyleDeclaration.parentRuleAPI, CSSOM, Property, Reference
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block
756CSSStyleDeclaration.removeProperty()API, CSSOM, Method, Reference
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
757CSSStyleDeclaration.setProperty()API, CSSOM, Method, Reference
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
758CSSStyleRuleAPI, CSSOM, CSSStyleRule, Interface, Reference
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).
759CSSStyleRule.selectorTextAPI, 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.
760CSSStyleRule.styleAPI, CSSOM, NeedsSpecTable, Property, Reference
The CSSRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSRule.
761CSSStyleRule.styleMap
The styleMap read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
762CSSStyleSheetAPI, CSS, CSSOM, CSSOM API, CSSStyleSheet, Interface, Layout, Object Model, Reference, StyleSheet
The CSSStyleSheet interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet.
763CSSStyleSheet.addRule()API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Style, StyleSheet, addRule, legacy, rules
The obsolete CSSStyleSheet interface's addRule() legacy method adds a new rule to the stylesheet. You should avoid using this method, and should instead use the more standard CSSStyleSheet.insertRule method.
764CSSStyleSheet.cssRulesAPI, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Property, Read-only, Reference, StyleSheet
The read-only CSSStyleSheet property cssRules returns a live CSSRuleList which provides a real-time, up-to-date list of every CSS rule which comprises the stylesheet.
765CSSStyleSheet.deleteRule()API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Reference, Rule, StyleSheet, delete, deleteRule, remove
The CSSStyleSheet method deleteRule() removes a rule from the stylesheet object.
766CSSStyleSheet.insertRule()API, CSSOM, CSSStyleSheet, Method, Reference
The CSSStyleSheet.insertRule() method inserts a new CSS rule into the current style sheet, with some restrictions.
767CSSStyleSheet.ownerRule@import, API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Property, Read-only, Reference, StyleSheet, import, ownerRule
The read-only CSSStyleSheet property ownerRule returns the CSSImportRule corresponding to the @import at-rule which imported the stylesheet into the document.
768CSSStyleSheet.removeRule()API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Rule, StyleSheet, delete, legacy, remove, removeRule
The obsolete CSSStyleSheet method removeRule() removes a rule from the stylesheet object.
769CSSStyleSheet.rulesAPI, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Obsolete, Property, Read-only, Reference, Style, StyleSheet, legacy
rules is a deprecated legacy property of the CSSStyleSheet interface. Functionally identical to the preferred CSSStyleSheet.cssRules property, it provides access to a live-updating list of the CSS rules comprising the stylesheet.
770CSSStyleValueAPI, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Interface, Reference
The CSSStyleValue interface of 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.
771CSSStyleValue.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.
772CSSStyleValue.parseAll()API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parseAll()
The parseAll() method of the CSSStyleValue interface sets all occurrences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.
773CSSSupportsRuleAPI, 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).
774CSSTransformComponentAPI, CSS, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Interface, Reference
The CSSTransformComponent interface of the of the CSS Typed Object Model API is part of the CSSTransformValue interface.
775CSSTransformComponent.is2DAPI, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Property, Reference, is2D
The read-only is2D property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
776CSSTransformComponent.toMatrix()API, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Method, Reference, toMatrix
The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.
777CSSTransformComponent.toString()API, CSS, CSS Typed Object Model, CSSTransformComponent, Experimental, Houdini, Method, Reference
The toString() method of the CSSTransformComponent interface returns a string in the form of a CSS Transforms matrix() function.
778CSSTransformValueAPI, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Interface, Reference
The CSSTransformValue interface of the CSS Typed Object Model API represents transform-list values as used by the CSS transform property.
779CSSTransformValue()API, CSS, CSS Typed Object Model API, CSSTransformValue, Constructor, Experimental, Houdini, Reference
The CSSTransformValue() constructor creates a new CSSTransformValue object which represents a list of individual transform objects.
780CSSTransformValue.entries()API, CSS Typed Object Model API, CSSTransformValue, Entries, Experimental, Houdini, Method, Reference
The CSSTransformValue.entries() method returns an array of a given object's own enumerable property [key, value] pairs in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
781cssTransformValue.forEach()API, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Method, Reference, forEach
The CSSTransformValue.forEach() method executes a provided function once for each element of the CSSTransformValue.
782CSSTransformValue.is2DAPI, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Property, is2D
The read-only is2D property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
783CSSTransformValue.keys()API, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Method, Reference, keys
The CSSTransformValue.keys() method returns a new Array Iterator object that contains the keys for each index in the array.
784CSSTransformValue.lengthAPI, CSS T, CSS Typed Object Model API, Experimental, Houdini, Property, Reference, length
The read-only length property of the CSSTransformValue interface returns the number of transform components in the list.
785CSSTransformValue.toMatrix()API, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Method, toMatrix
The toMatrix() method of the CSSTransformValue interface returns a DOMMatrix object.
786CSSTransformValue.values()API, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Method, Reference, values
The CSSTransformValue.values()  returns a new Array Iterator object that contains the values for each index in the CSSTranformValue object.
787CSSTransitionAPI, Animation, CSSTransition, Interface, Reference
The CSSTransition interface of the Web Animations API represents an Animation object used for a CSS Transition.
788CSSTransition.transitionPropertyAPI, Animation, CSSTransition, Property, Reference
The transitionProperty property of the CSSTransition interface returns the expanded transition property name of the transition. This is the longhand CSS property for which the transition was generated.
789CSSTranslateAPI, CSS Typed Object Model API, CSSTransformComponent, CSSTransformFunction, CSSTranslate, Experimental, Houdini, Interface
The CSSTranslate interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
790CSSTranslate()API, CSS Typed Object Model API, CSSTransformComponent, CSSTransformValue, CSSTranslate, Constructor, Experimental, Houdini
The CSSTranslate() constructor creates a new CSSTranslate object representing the translate() value of the individual transform property in CSS.
791CSSTranslate.xAPI, CSS Typed Object Model API, CSSTransformComponent, CSSTransformValue, CSSTranslate, Experimental, Houdini, Property
The x property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
792CSSTranslate.yAPI, CSS Typed Object Model API, CSSTransformComponent, CSSTransformValue, CSSTranslate, Experimental, Houdini, Property
The y property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
793CSSTranslate.zAPI, CSS Typed Object Model API, CSSTransformComponent, CSSTransformValue, CSSTranslate, Experimental, Houdini, Property
The z property of the CSSTranslate interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
794CSSUnitValueAPI, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Interface, Reference
The CSSUnitValue interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
795CSSUnitValue.CSSUnitValue()API, CSS Typed Object Model API, CSSUnitValue, Constructor, Experimental, Houdini, Reference
The CSSUnitValue() constructor creates a new CSSUnitValue object which returns a new CSSUnitValue object which represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
796CSSUnitValue.unitAPI, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Property, Reference, unit
The CSSUnitValue.unit read-only property of the CSSUnitValue interface returns a USVString indicating the type of unit.
797CSSUnitValue.valueAPI, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Property, Reference, value
The CSSUnitValue.value property of the CSSUnitValue interface returns a double indicating the number of units.
798CSSUnparsedValueAPI, CSS Typed Object Model API, CSSUnparsedValue, Experimental, Houdini, Interface, NeedsExample, Reference
The CSSUnparsedValue interface of the CSS Typed Object Model API represents property values that reference custom properties. It consists of a list of string fragments and variable references.
799CSSUnparsedValue.CSSUnparsedValue()API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, NeedsExample, Reference
The CSSUnparsedValue() constructor creates a new CSSUnparsedValue object which represents property values that reference custom properties.
800CSSUnparsedValue.entries()API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Entries, Experimental, Houdini, Method, NeedsExample, Reference
The CSSUnparsedValue.entries() method returns an array of a given object's own enumerable property [key, value] pairs in the same order as that provided by a Statements/for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
801CSSUnparsedValue.forEach()API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, forEach()
The CSSUnparsedValue.forEach() method executes a provided function once for each element of the CSSUnparsedValue.
802CSSUnparsedValue.keys()API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, keys()
The CSSUnparsedValue.keys() method returns a new Array Iterator object that contains the keys for each index in the array.
803CSSUnparsedValue.lengthAPI, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, NeedsExample, Property, Reference, length
The length read-only property of the CSSUnparsedValue interface returns the number of items in the object.
804CSSUnparsedValue.values()API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, values()
The CSSUnparsedValue.values() method returns a new Array Iterator object that contains the values for each index in the CSSUnparsedValue object.
805CSSValueAPI, CSSOM, CSSValue, Interface, NeedsExample, Obsolete, Reference
The CSSValue interface represents the current computed value of a CSS property.
806CSSValue.cssTextAPI, CSSValue, Property, Reference, cssText
The cssText property of the CSSValue interface represents the current computed CSS property value.
807CSSValue.cssValueTypeAPI, 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.
808CSSValueListAPI, CSSOM, CSSValueList, Interface, Obsolete, Reference
The CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values.
809CSSValueList.item()API, CSSValueList, Method, Reference, item
The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index.
810CSSValueList.lengthAPI, 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.
811CSSVariableReferenceValueAPI, CSS Typed Object Model API, CSSVariableReferenceValue, Experimental, Houdini, Interface, Reference
The CSSVariableReferenceValue interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes.
812CSSVariableReferenceValue()API, CSS Typed Object Model API, CSSVariableReferenceValue, Constructor, Houdini, NeedsExample, Reference
Creates a new CSSVariableReferenceValue.
813CSSVariableReferenceValue.fallbackAPI, CSS Typed Object Model API, CSSVariableReferenceValue, Houdini, NeedsExample, Property, Reference, fallback
The fallback read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
814CSSVariableReferenceValue.variableAPI, CSS Typed Object Model API, CSSVariableReferenceValue, Houdini, NeedsExample, Property, Reference, variable
The variable property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
815CustomElementRegistryAPI, CustomElementRegistry, Experimental, Interface, 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.
816CustomElementRegistry.define()API, CustomElementRegistry, Method, Reference, Web Components, custom elements, define
The define() method of the CustomElementRegistry interface defines a new custom element.
817CustomElementRegistry.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.
818CustomElementRegistry.upgrade()API, CustomElementRegistry, Method, Reference, Upgrade, Web Components, custom elements
The upgrade() method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
819CustomElementRegistry.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.
820CustomEventAPI, CustomEvent, DOM, Interface, NeedsExample, Reference
The CustomEvent interface represents events initialized by an application for any purpose.
821CustomEvent()API, Constructor, CustomEvent, Reference, events
The CustomEvent() constructor creates a new CustomEvent.
822CustomEvent.detailAPI, CustomEvent, DOM, Property, Reference, detail
The detail readonly property of the CustomEvent interface returns any data passed when initializing the event.
823CustomEvent.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.
824DataTransferAPI, 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.
825DataTransfer.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).
826DataTransfer.clearData()API, DataTransfer, HTML DOM, Method, Reference, clearData, drag and drop
The DataTransfer.clearData() method removes the drag operation's DataTransfer for the given type. If data for the given type does not exist, this method does nothing.
827DataTransfer()API, Constructor, DataTransfer, HTML Drag and Drop API, Reference, drag and drop
The DataTransfer constructor creates a new DataTransfer object instance.
828DataTransfer.dropEffectAPI, 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.
829DataTransfer.effectAllowedAPI, 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.
830DataTransfer.filesAPI, HTML DOM, Property, Reference, drag and drop
The DataTransfer.files property is a FileList in the drag operation. If the operation includes no files, the list is empty.
831DataTransfer.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.
832DataTransfer.itemsAPI, HTML DOM, Property, Reference, drag and drop
The read-only DataTransfer property items property is a DataTransferItemList of the DataTransferItem 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.
833DataTransfer.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.
834DataTransfer.mozCursorAPI, 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.
835DataTransfer.mozGetDataAt()API, Method, Non-standard, Reference, drag and drop
The DataTransfer.mozGetDataAt() method is used to retrieve an item in the drag event's DataTransfer 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.
836DataTransfer.mozItemCountAPI, 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.
837DataTransfer.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 DataTransfer object.
838DataTransfer.mozSourceNodeAPI, 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 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.
839DataTransfer.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.
840DataTransfer.mozUserCancelledAPI, 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.
841DataTransfer.setData()API, HTML DOM, Method, Reference, drag and drop
The DataTransfer.setData() method sets the drag operation's DataTransfer 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 DataTransfer.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 DataTransfer.types list is not changed when replacing data of the same type.
842DataTransfer.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. The image will typically be an image element but it can also be a canvas or any other visible element.
843DataTransfer.typesAPI, HTML DOM, Property, Reference, drag and drop
The DataTransfer.types read-only property returns an array of the drag data formats (as DOMString) that were set in the dragstart event. The order of the formats is the same order as the data included in the drag operation.
844DataTransferItemAPI, 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 DragEvent has a DragEvent.dataTransfer property which contains a DataTransferItemList of drag data items. Each item in the list is a DataTransferItem object.
845DataTransferItem.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.
846DataTransferItem.getAsFileSystemHandle()DataTransferItem, Directory, File, File System Access API, Method
The getAsFileSystemHandle() method of the DataTransferItem interface returns a FileSystemFileHandle if the dragged item is a file, or a FileSystemDirectoryHandle if the dragged item is a directory.
847DataTransferItem.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 DataTransferItem.kind is a Plain unicode string (i.e. kind is string).
848DataTransferItem.kindAPI, 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.
849DataTransferItem.typeAPI, 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.
850DataTransferItem.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.
851DataTransferItemListAPI, 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 DragEvent.dataTransfer property and that property is a DataTransferItemList.
852DataTransferItemList.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 DOMString of a given type. If the item is successfully added to the list, the newly-created DataTransferItem object is returned.
853DataTransferItemList.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.
854DataTransferItemList.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]).
855DataTransferItemList.lengthAPI, 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.
856DataTransferItemList.remove()API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, remove
The DataTransferItemList.remove() method removes the DataTransferItem at the specified index from the list. If the index is less than zero or greater than one less than the length of the list, the list will not be changed.
857DedicatedWorkerGlobalScopeAPI, DedicatedWorkerGlobalScope, Interface, Reference, Web Workers, Workers
The DedicatedWorkerGlobalScope object (the Worker global scope) is accessible through the window.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.
858DedicatedWorkerGlobalScope.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.
859DedicatedWorkerGlobalScope: message eventEvent
The message event is fired on a DedicatedWorkerGlobalScope object when the worker receives a message from its parent (i.e. when the parent sends a message using Worker.postMessage()).
860DedicatedWorkerGlobalScope: messageerror eventEvent
The messageerror event is fired on a DedicatedWorkerGlobalScope object when it receives a message that can't be deserialized.
861DedicatedWorkerGlobalScope.nameAPI, 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.Worker constructor can pass to get a reference to the DedicatedWorkerGlobalScope.
862DedicatedWorkerGlobalScope.onmessageAPI, 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.
863DedicatedWorkerGlobalScope.onmessageerrorAPI, 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 Deserialization.
864DedicatedWorkerGlobalScope.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.
865DelayNodeAPI, 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.
866DelayNode()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.
867DelayNode.delayTimeAPI, DelayNode, Property, Reference, Web Audio API, delayTime
The delayTime property of the DelayNode interface is an a-rate AudioParam representing the amount of delay to apply.
868DeprecationReportBodyAPI, DeprecationReportBody, Experimental, Interface, Reference, Reporting API
The DeprecationReportBody interface of the Reporting API represents the body of a deprecation report (the return value of its Report.body property).
869Detecting device orientationAPI, 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.
870Device Memory APIDevice Memory API
Capabilities of the client devices largely depend on the amount of available RAM. Traditionally, developrs had to use heruistics and either benchmark the device or infer the device capabilities based on other factors like device manufacturer or User Agent strings.
871DeviceLightEventAPI, Ambient Light Events, Interface, NeedsBetterSpecLink, NeedsMarkupWork, Obsolete
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.
872Using light sensorsAPI, 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.
873DeviceLightEvent.valueAPI, Ambient Light Events, Experimental, NeedsBetterSpecLink, NeedsMarkupWork, Property
The value property provides the current level of the ambient light.
874DeviceMotionEventAPI, Device Orientation, DeviceMotionEvent, Experimental, Interface, Mobile, Motion, Orientation, Reference
The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation.
875DeviceMotionEvent.accelerationAPI, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
The acceleration property returns the amount of acceleration recorded by the device, in meters per second squared (m/s2).
876DeviceMotionEvent.accelerationIncludingGravityAPI, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
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.
877DeviceMotionEvent.DeviceMotionEvent()API, Constructor, Device Orientation, Device Orientation API, Experimental, Mobile, Motion, Non-standard, Orientation, Reference
The DeviceMotionEvent constructor creates a new DeviceMotionEvent.
878DeviceMotionEvent.intervalAPI, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
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.
879DeviceMotionEvent.rotationRateAPI, DOM, DOM Reference, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
Returns the rate at which the device is rotating around each of its axes in degrees per second.
880DeviceMotionEventAccelerationAPI, DeviceAcceleration, Experimental, Interface, NeedsExample, Reference
A DeviceMotionEventAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.
881DeviceMotionEventAcceleration: xAPI, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the X axis in a DeviceMotionEventAcceleration object.
882DeviceMotionEventAcceleration: yAPI, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Y axis in a DeviceMotionEventAcceleration object.
883DeviceMotionEventAcceleration: zAPI, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Z axis in a DeviceMotionEventAcceleration object.
884DeviceMotionEventRotationRateAPI, DOM, DOM Reference, Experimental, Reference
A DeviceMotionEventRotationRate object provides information about the rate at which the device is rotating around all three axes.
885DeviceMotionEventRotationRate: alphaAPI, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference
This property indicates the rate of rotation around the Z axis -- in degrees per second -- in a DeviceMotionEventRotationRate object.
886DeviceMotionEventRotationRate: betaAPI, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference
This property indicates the rate of rotation around the X axis -- in degrees per second -- in a DeviceMotionEventRotationRate object.
887DeviceMotionEventRotationRate: gammaAPI, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference
This property indicates the rate of rotation around the Y axis -- in degrees per second -- in a DeviceMotionEventRotationRate object.
888DeviceOrientationEventAPI, Device Orientation API, Experimental, Interface, Reference
The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.
889DeviceOrientationEvent.absoluteAPI, 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.
890DeviceOrientationEvent.alphaAPI, 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.
891DeviceOrientationEvent.betaAPI, 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.
892DeviceOrientationEvent.DeviceOrientationEvent()API, Constructor, Device Orientation API, DeviceOrientationEvent, Experimental, Reference
The DeviceOrientationEvent constructor creates a new DeviceOrientationEvent.
893DeviceOrientationEvent.gammaAPI, 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 tilted left or right. See Orientation and motion data explained for details.
894DeviceProximityEventAPI, Interface, Proximity Events, Reference
The DeviceProximityEvent interface provides information about the distance of a nearby physical object using the proximity sensor of a device.
895DeviceProximityEvent.maxAPI, 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.
896DeviceProximityEvent.minAPI, 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.
897DeviceProximityEvent.valueAPI, 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.
898DirectoryEntrySyncAPI, 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.
899DirectoryReaderSyncAPI, Reference, Référence(2)
The DirectoryReaderSync interface of the File System API lets you read the entries in a directory.
900DisplayMediaStreamConstraintsAPI, 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 MediaDevices.getDisplayMedia, as well as what type of processing must be applied to the tracks.
901DisplayMediaStreamConstraints.audioAPI, 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 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.
902DisplayMediaStreamConstraints.videoAPI, 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 MediaDevices.getDisplayMedia.
903Document Object Model (DOM)API, DOM, Document, Document Object Model, Guide, Overview, Reference, Web
The Document Object Model (DOM) connects web pages to scripts or programming languages by representing the structure of a document—such as the HTML representing a web page—in memory.
904Events and the DOMDOM, 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.
905Examples of web and XML development using the DOMDOM, 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.
906How to create a DOM treeAJAX, 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.
907Introduction to the DOMBeginner, DOM, Document, Guide, HTML DOM, Introduction, Tutorial
The Document Object Model (DOM) is the data representation of the objects that comprise the structure and content of a document on the web. In this guide, we'll briefly introduce the DOM.
908Locating DOM elements using selectorsBeginner, 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.
909Traversing an HTML table with JavaScript and DOM InterfacesAPI, DOM, Guide, HTML, JavaScript
DOM
910Using the W3C DOM Level 1 CoreDOM, NeedsUpdate
The W3C's DOM Level 1 Core is an API for manipulating the DOM trees of HTML and XML documents (among other tree-like types of documents). Due to the ubiquity of the DOM, this API is supported in all major browsers, including Mozilla Firefox and Microsoft Internet Explorer, and serves as a base for scripting on the web.
911ExampleDOM
No summary!
912How whitespace is handled by HTML, CSS, and in the DOMCSS, DOM, HTML, JavaScript, whitespace
The presence of whitespace in the DOM can cause layout problems and make manipulation of the content tree difficult in unexpected ways, depending on where it is located. This article explores when difficulties can occur, and looks at what can be done to mitigate resulting problems.
913DocumentAPI, 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.
914Document.adoptNode()API, DOM, DOM Reference, Method, NeedsExample, NeedsSpecTable, NeedsUpdate, Reference
Document.adoptNode() transfers a node/dom from another Document into the method's document. The adopted node and its subtree is removed from its original document (if any), and its Node.ownerDocument is changed to the current document. The node can then be inserted into the current document.
915Document.alinkColorAPI, 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.
916Document.allAPI, Deprecated, Document, HTML DOM, HTMLAllCollection, Property, Reference, all
The Document interface's read-only all property returns an HTMLAllCollection rooted at the document node. In other words, it returns all of the document's elements, accessible by order (like an array) and by ID (like a regular object).
917Document.anchorsAPI, 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.
918Document: animationcancel eventAPI, Animation, CSS Animations, Document, Event, Reference, Web, animationcancel
The animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an Document/animationend_event event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
919Document: animationend eventAPI, Animation, CSS Animations, Document, Event, Reference, Web, animationend
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired.
920Document: animationiteration eventAPI, Animation, AnimationEvent, CSS Animations, Document, Event, Reference, animationiteration
The animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the Document/animationend_event event, and therefore does not occur for animations with an animation-iteration-count of one.
921Document: animationstart eventAPI, Animation, CSS Animations, Document, Event, Reference, Web, animationstart
The animationstart event is fired when a CSS Animation has started. If there is an animation-delay, this event will fire once the delay period has expired. A negative delay will cause the event to fire with an AnimationEvent/elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
922Document.appletsAPI, Deprecated, Document, HTML DOM, NeedsMarkupWork, Property, Reference
The applets property of the Document interface returns a list of the applets within a document.
923Document.bgColorAPI, Deprecated, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The deprecated  bgColor property gets or sets the background color of the current document.
924Document.bodyAPI, 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.
925Document.caretRangeFromPoint()API, CSSOM View, Document, HTML DOM, Method, Non-standard, Reference, caretRangeFromPoint
The caretRangeFromPoint() method of the Document interface returns a Range object for the document fragment under the specified coordinates.
926Document.characterSetAPI, 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.
927Document.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.
928Document.close()API, Document, HTML DOM, Method, Reference
The Document.close() method finishes writing to a document, opened with Document.open().
929Document.compatModeAPI, DOM, Document, Property, Reference
The Document.compatMode read-only property indicates whether the document is rendered in Quirks mode or Standards mode.
930Document.contentTypeAPI, 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.
931Document.cookieAPI, Document, HTML DOM, JS, NeedsMarkupWork, Reference, Storage, cookie
The Document property cookie lets you read and write cookies associated with the document. It serves as a getter and setter for the actual values of the cookies.
932Document: copy eventAPI, Clipboard API, Document, Event, Reference, Web, copy
The copy event fires when the user initiates a copy action through the browser's user interface.
933Document.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.
934Document.createCDATASection()API, DOM, Method, Reference
createCDATASection() creates a new CDATA section node, and returns it.
935Document.createComment()API, DOM, Method, Reference
createComment() creates a new comment node, and returns it.
936Document.createDocumentFragment()API, DOM, Document, Method, Reference, createDocumentFragment
Creates a new empty DocumentFragment into which DOM nodes can be added to build an offscreen DOM tree.
937Document.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.
938Document.createElementNS()API, DOM, Method, Reference
Creates an element with the specified namespace URI and qualified name.
939Document.createEntityReference()API, DOM, Method, Obsolete, Reference
Prior to 7.0 this method showed up as present, due to 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.
940Document.createEvent()API, DOM, Method, Reference
Many methods used with createEvent, such as initCustomEvent, are deprecated. Use event constructors instead.
941Document.createExpression()API, DOM, Method, Reference, XPath, createExpression
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
942Document.createNodeIterator()API, DOM, Gecko, MakeBrowserAgnostic, Method
Returns a new NodeIterator object.
943Document.createNSResolver()API, DOM, DOM Reference, Method, Reference
Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
944Document.createProcessingInstruction()API, DOM, Document, Method, Reference, createProcessInstruction
createProcessingInstruction() generates a new processing instruction node and returns it.
945Document.createRange()API, DOM, DOM Reference, Document, DocumentRange.createRange, Method, Range
The Document.createRange() method returns a new Range object.
946Document.createTextNode()API, DOM, Document, Method, Reference, createTextNode
Creates a new Text node. This method can be used to escape HTML characters.
947Document.createTouch()API, Deprecated, HTML DOM, Method, Mobile, Reference, createTouch, touch
The Document.createTouch() method creates and returns a new Touch object.
948Document.createTouchList()API, Deprecated, Document, HTML DOM, Method, Mobile, createTouchList, touch
The Document.createTouchList() method creates and returns a new TouchList object.
949Document.createTreeWalker()API, DOM, DOM Reference, Document, Method
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
950Document.currentScriptAPI, DOM, Document, Property, Reference
The Document.currentScript property returns the script element whose script is currently being processed and isn't a JavaScript module. (For modules use Statements/import%2Emeta instead.)
951Document: cut eventEvent
The cut event is fired when the user has initiated a "cut" action through the browser's user interface.
952Document.defaultViewAPI, Document, HTML DOM, Property, Reference
In browsers, document.defaultView returns the Window object associated with Browsing_context, or null if none is available.
953Document.designModeAPI, 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.
954Document.dirAPI, Document, HTML DOM, 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.
955Document.doctypeAPI, 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.
956Document()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.
957Document.documentElementAPI, DOM, Document, Property, Reference, root
Document.documentElement returns the Element that is the root element of the document (for example, the html element for HTML documents).
958Document.documentURIAPI, DOM, Document, Property, Read-only, Reference
The documentURI read-only property of the Document interface returns the document location as a string.
959Document.documentURIObjectAPI, DOM, Non-standard, Property, Reference
The Document.documentURIObject read-only property returns an nsIURI object representing the URI of the document.
960Document.domainAPI, 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.
961Document: DOMContentLoaded eventAPI, DOMContentLoaded, Document, Event, Web
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading.
962Document: drag eventAPI, DOM, Document, Drag, DragEvent, Event, Reference, Web, drag and drop
The drag event is fired every few hundred milliseconds as an element or text selection is being dragged by the user.
963Document: dragend eventAPI, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragend
The dragend event is fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
964Document: dragenter eventAPI, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragenter
The dragenter event is fired when a dragged element or text selection enters a valid drop target.
965Document: dragleave eventAPI, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragleave
The dragleave event is fired when a dragged element or text selection leaves a valid drop target.
966Document: dragover eventAPI, DOM, Document, DragEvent, Event, Reference, Web, drag and drop
The dragover event is fired when an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).
967Document: dragstart eventDOM, Event, Reference, drag and drop
The dragstart event is fired when the user starts dragging an element or text selection.
968Document: drop eventDOM, Drag Event, Drop, Event, HTML 5, Reference, drag and drop
The drop event is fired when an element or text selection is dropped on a valid drop target.
969Document.embedsAPI, 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.
970Document.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).
971Document.evaluate()API, DOM, Method, Reference, XPath
Returns an XPathResult based on an XPath expression and other given parameters.
972Document.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.
973Document.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.
974Document.exitPictureInPicture()API, DOM, Document, Method, Picture-in-Picture, Picture-in-Picture API, Reference, Video, pip
The Document method exitPictureInPicture() requests that a video contained in this document, which is currently floating, be taken out of picture-in-picture mode, restoring the previous state of the screen.
975Document.exitPointerLock()API, Experimental, Method, Reference, mouse lock
The exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock.
976Document.featurePolicyAPI, Document, Feature Policy, Feature-Policy, Reference
The featurePolicy read-only property of the Document interface returns the FeaturePolicy interface which provides a simple API for inspecting the feature policies applied to a specific document.
977Document.fgColorAPI, Deprecated, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
fgColor gets/sets the foreground color, or text color, of the current document.
978Document.fontsAPI, DOM, Font Loading API, FontFace, FontFaceSet, Fonts, font
The fonts property of the Document interface returns the FontFaceSet interface of the document.
979Document.formsAPI, 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.
980Document.fullscreenAPI, 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.
981Document: fullscreenchange eventAPI, Event, Fullscreen API, Reference, fullscreen, fullscreenchange
The fullscreenchange event is fired immediately after the browser switches into or out of full-screen mode.
982Document.fullscreenEnabledAPI, 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.
983Document: fullscreenerror eventAPI, Error, Event, Fullscreen API, Reference, fullscreen, fullscreenerror
The fullscreenerror event is fired when the browser cannot switch to full-screen mode.
984Document.getBoxObjectFor()API, DOM, Method, Obsolete, Reference
Returns a boxObject (x, y, width, height) for a specified element.
985Document.getElementById()API, DOM, Document, Elements, Method, Reference, Web, getElementById, id
The Document method getElementById() returns an Element object representing the element whose Element.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.
986Document.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 name(s).
987Document.getElementsByName()API, DOM, Document, HTML, Method, Reference
The getElementsByName() method of the Document object returns a NodeList Collection of elements with a given element.name in the document.
988Document.getElementsByTagName()API, DOM, Method, Reference
returns an HTMLCollection of elements with the given tag name.
989Document.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.
990Document: gotpointercapture eventDocument, Event, PointerEvent, Reference, Web, gotpointercapture
The gotpointercapture event is fired when an element captures a pointer using Element.setPointerCapture.
991Document.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.
992Document.hasStorageAccess()API, DOM, Document, 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.
993Document.headAPI, Document, HTML DOM, Property, Reference
The head read-only property of the Document interface returns the head element of the current document.
994Document.heightAPI, 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.
995Document.hiddenDOM, 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.
996Document.imagesAPI, 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.
997Document.implementationAPI, DOM, Document, NeedsContent, Property, Reference
The Document.implementation property returns a DOMImplementation object associated with the current document.
998Document.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.
999Document: keydown eventAPI, DOM, Document, Event, KeyboardEvent, Reference, keydown
The keydown event is fired when a key is pressed.
1000Document: keypress eventDOM, Deprecated, Event, KeyboardEvent, Reference
The keypress event is fired when a key that produces a character value is pressed down.
1001Document: keyup eventDOM, Document, Event, KeyboardEvent, Reference, keyup
The keyup event is fired when a key is released.
1002Document.lastModifiedAPI, Document, HTML DOM, NeedsSpecTable, Property, Reference
The lastModified property of the Document interface returns a string containing the date and time on which the current document was last modified.
1003Document.lastStyleSheetSetAPI, 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.
1004Document.linkColorAPI, Deprecated, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.linkColor property gets/sets the color of links within the document.
1005Document.linksAPI, 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.
1006Document.locationAPI, 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.
1007Document: lostpointercapture eventAPI, Document, Event, PointerEvent, Reference, lostpointercapture
The lostpointercapture event is fired when a captured pointer is released.
1008Document.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.
1009Document.mozSyntheticDocumentAPI, 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.
1010Document.onafterscriptexecuteAPI, 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 Node.appendChild().
1011Document.onbeforescriptexecuteAPI, 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().
1012Document.onfullscreenchangeAPI, Document, Event Handler, Fullscreen API, Property, Reference, fullscreen, onfullscreenchange
The Document interface's onfullscreenchange property is an event handler for the fullscreenchange event that is fired immediately before a document transitions into or out of full-screen mode.
1013Document.onfullscreenerrorAPI, 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().
1014Document.onofflineAPI, 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.
1015Document.ononlineAPI, 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).
1016Document.onvisibilitychangeAPI, 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.
1017Document.open()API, DOM, Document, Method, Reference, open
The Document.open() method opens a document for Document.write.
1018Document.originAPI, 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.
1019Document: paste eventAPI, Document, Event, Reference, Web, paste
The paste event is fired when the user has initiated a "paste" action through the browser's user interface.
1020Document.pictureInPictureEnabledAPI, Document, Picture-in-Picture, Picture-in-Picture API, Property, Read-only, Reference, Video, pip
The read-only pictureInPictureEnabled property of the Document interface indicates whether or not picture-in-picture mode is available.
1021Document.pluginsAPI, 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.
1022Document: pointercancel eventAPI, Document, Event, PointerEvent, onpointercancel, pointercancel
The pointercancel event is fired when the browser determines that there are unlikely to be any more pointer events, or if after the pointerdown event is fired, the pointer is then used to manipulate the viewport by panning, zooming, or scrolling.
1023Document: pointerdown eventAPI, Document, Event, PointerEvent, Reference, onpointerdown, pointerdown
The pointerdown event is fired when a pointer becomes active. For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer.
1024Document: pointerenter eventAPI, Document, Event, PointerEvent, Reference, onpointerenter, pointerenter
The pointerenter event fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a Document/pointerdown_event event from a device that does not support hover (see Document/pointerdown_event).
1025Document: pointerleave eventAPI, Document, Event, PointerEvent, Reference, onpointerleave, pointerleave
The pointerleave event is fired when a pointing device is moved out of the hit test boundaries of an element. For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
1026Document: pointerlockchange eventDocument, Event, Reference, Web, pointerlockchange
The pointerlockchange event is fired when the pointer is locked/unlocked.
1027Document: pointerlockerror eventDocument, Event, Reference, Web, pointerlockerror
The pointerlockerror event is fired when locking the pointer failed (for technical reasons or because the permission was denied).
1028Document: pointermove eventDocument, Event, PointerEvent, Reference, Web, pointer, pointermove
The pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action.
1029Document: pointerout eventDocument, Event, PointerEvent, Reference, Web, onpointerout, pointerout
The pointerout event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the Document/pointerup_event event for a device that does not support hover (see Document/pointerup_event); after firing the Document/pointercancel_event event (see Document/pointercancel_event); when a pen stylus leaves the hover range detectable by the digitizer.
1030Document: pointerover eventDocument, Event, PointerEvent, Reference, Web, onpointerover, pointer, pointerover
The pointerover event is fired when a pointing device is moved into an element's hit test boundaries.
1031Document: pointerup eventAPI, Document, Event, PointerEvent, Reference, Web, onpointerup, pointerup
The pointerup event is fired when a pointer is no longer active.
1032Document.popupNodeAPI, 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.
1033Document.preferredStyleSheetSetAPI, CSSOM, DOM, Document, Property, Reference, Stylesheets
The preferredStyleSheetSet property returns the preferred style sheet set as set by the page author.
1034Document.queryCommandEnabled()CSS, Document, Method, Reference
The Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser.
1035Document.queryCommandState()API, DOM, Reference
The queryCommandState() method will tell you if the current selection has a certain Document.execCommand() command applied.
1036Document.queryCommandSupported()API, DOM, Document, Method, Reference, editor
The Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser.
1037Document.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.
1038Document.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.
1039Document.readyStateAPI, HTML DOM, Property, Reference
The Document.readyState property describes the loading state of the document.
1040Document: readystatechange eventEvent, Reference, XMLHttpRequest, interactive
The readystatechange event is fired when the Document.readyState attribute of a document has changed.
1041Document.referrerAPI, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.referrer property returns the URI of the page that linked to this page.
1042Document.registerElement()API, DOM, Deprecated, Method, Reference, Web Components
Warning: document.registerElement() is deprecated in favor of CustomElementRegistry.define().
1043Document.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().
1044Document.requestStorageAccess()API, DOM, Document, 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.
1045Document.rootElementAPI, DOM, Deprecated, Document, Obsolete, Property, Reference, SVG, root
Document.rootElement returns the Element that is the root element of the document if it is an svg element, otherwise null. It is deprecated in favor of Document.documentElement, which returns the root element for all documents.
1046Document.scriptsAPI, 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.
1047Document: scroll eventAPI, DOM, Document, Event, Reference, Scroll, UIEvent
The scroll event fires when the document view or an element has been scrolled.
1048Document.scrollingElementAPI, 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.
1049Document.selectedStyleSheetSetAPI, CSSOM, DOM, Property, Reference, Stylesheets
The selectedStyleSheetSet property indicates the name of the style sheet set that's currently in use.
1050Document: selectionchange eventAPI, Event, Reference, Selection, Selection API, selectionchange
The selectionchange event of the Selection API is fired when the current text selection on a document is changed.
1051Document: selectstart eventDocument, Event, Reference, Selection, Selection API, selectstart
The selectstart event of the Selection API is fired when a user starts a new selection.
1052Document.styleSheetSetsAPI, CSSOM, DOM, Property, Reference, Stylesheets
The styleSheetSets read-only property returns a live list of all of the currently-available style sheet sets.
1053Document.timelineAPI, 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.
1054Document.titleAPI, Command API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The document.title property gets or sets the current title of the document.
1055Document.tooltipNodeAPI, API:Mozilla Extensions, DOM, Draft, Gecko, Mozilla, Non-standard, Property, Reference
The Document.tooltipNode property returns the node which is the target of the current tooltip.
1056Document: touchcancel eventDocument, Event, Reference, TouchEvent, Web, touchcancel
The touchcancel event is fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created).
1057Document: touchend eventAPI, Event, Reference, Touch Events, TouchEvent, UI, UI Events, UX, ontouchend, touch, touchend
The touchend event fires when one or more touch points are removed from the touch surface.
1058Document: touchmove eventAPI, DOM, Document, Event, Reference, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchmove
The touchmove event is fired when one or more touch points are moved along the touch surface.
1059Document: touchstart eventDocument, Event, Reference, TouchEvent, Web, touchstart
The touchstart event is fired when one or more touch points are placed on the touch surface.
1060Document: transitioncancel eventAPI, CSS Transitions, Document, Event, Reference, TransitionEvent, Web, transitioncancel
The transitioncancel event is fired when a CSS transition is canceled.
1061Document: transitionend eventCSS transition, Document, Event, Reference, Web, transitionend
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to none, then the event will not be generated.
1062Document: transitionrun eventDocument, Event, Reference, TransitionEvent, Web, transitionrun
The transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
1063Document: transitionstart eventDOM, Document, Event, Reference, Web, transitionstart
The transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
1064Document.URLAPI, DOM, Document, Property, Reference
The URL read-only property of the Document interface returns the document location as a string.
1065Document: visibilitychange eventAPI, Document, Event, Reference, Visibility, Web, visibilitychange
The visibilitychange event is fired at the document when the content of its tab have become visible or have been hidden.
1066Document.visibilityStateDOM, 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.
1067Document.vlinkColorAPI, 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.
1068Document: wheel eventAPI, Document, Event, Reference, wheel
The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1069Document.widthAPI, Document, HTML DOM, NeedsBrowserAgnosticism, NeedsSpecTable, Obsolete, Property, Reference
Returns the width of the body element of the current document in pixels.
1070Document.write()API, DOM, Document, Method, Reference, write
The Document.write() method writes a string of text to a document stream opened by document.open().
1071Document.writeln()API, DOM, Method, Reference
Writes a string of text followed by a newline character to a document.
1072Document.xmlEncodingAPI, DOM, Document.xmlEncoding, MakeBrowserAgnostic, Obsolete, Property
Returns the encoding as determined by the XML declaration. Should be null if unspecified or unknown.
1073Document.xmlVersionAPI, 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.
1074DocumentFragmentAPI, 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.
1075DocumentFragment()API, Constructor, DOM, DocumentFragment, Experimental
The DocumentFragment() constructor returns a new, empty DocumentFragment object .
1076DocumentFragment.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.
1077DocumentFragment.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.
1078DocumentOrShadowRootAPI, 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.
1079DocumentOrShadowRoot.activeElementAPI, 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.
1080DocumentOrShadowRoot.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.
1081DocumentOrShadowRoot.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).
1082DocumentOrShadowRoot.elementsFromPoint()API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, elementsFromPoint, elementsFromPoint(), shadow dom
The elementsFromPoint() method of the DocumentOrShadowRoot interface returns an array of all elements at the specified coordinates (relative to the viewport).
1083DocumentOrShadowRoot.fullscreenElementAPI, Document, DocumentOrShadowRoot, Full-screen, Fullscreen API, Graphics, Property, Read-only, Reference, fullscreenElement, screen
The DocumentOrShadowRoot.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.
1084DocumentOrShadowRoot.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.
1085DocumentOrShadowRoot.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.
1086DocumentOrShadowRoot.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.
1087DocumentOrShadowRoot.pictureInPictureElementAPI, Document, DocumentOrShadowRoot, Graphics, Picture-in-Picture, Picture-in-Picture API, Property, Read-only, Reference, pictureInPictureElement, pip
The DocumentOrShadowRoot.pictureInPictureElement read-only property returns the HTMLVideoElement that is currently being presented in picture-in-picture mode in this document, or null if picture-in-picture mode is not currently in use.
1088DocumentOrShadowRoot.pointerLockElementAPI, 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.
1089DocumentOrShadowRoot.styleSheetsAPI, 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.
1090DocumentTimelineAPI, Animation, AnimationTimeline, DocumentTimeline, Interface, Reference, Web Animations, waapi, web animations api
The DocumentTimeline interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
1091DocumentTimeline.DocumentTimeline()API, Animation, Constructor, DocumentTimeline, DocumentTimeline(), 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.
1092DocumentTouchAPI, 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.
1093DocumentTypeAPI, DOM, DocumentType, Interface
The DocumentType interface represents a Node containing a doctype.
1094DOMErrorAPI, DOM, DOMError, Deprecated, Interface, Reference
The DOMError interface describes an error object that contains an error name.
1095DOMExceptionAPI, DOM, DOMException, Error, Error code, Exception, Reference
The DOMException interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a web API.
1096DOMException.codeAPI, 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.
1097DOMException()API, Constructor, DOMException, Reference
The DOMException() constructor returns a DOMException object with a specified message and name.
1098DOMException.messageAPI, 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.
1099DOMException.nameAPI, DOM, 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.
1100DOMHighResTimeStampAPI, DOMHighResTimeStamp, High Resolution Time, Milliseconds, Performance, Reference, Time, Type, speed, timeStamp
The DOMHighResTimeStamp type is a double and is used to store a time value in milliseconds.
1101DOMImplementationAPI, DOM, Interface, Reference
The DOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
1102DOMImplementation.createDocument()API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.createDocument() method creates and returns an XMLDocument.
1103DOMImplementation.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().
1104DOMImplementation.createHTMLDocument()API, DOM, DOM Reference, DOMImplementation, Method, Reference
The DOMImplementation.createHTMLDocument() method creates a new HTML Document.
1105DOMImplementation.hasFeature()API, DOM, DOMImplementation, Deprecated, 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.
1106DOMLocatorAPI, DOM, DOM Reference, Obsolete, Reference
NOTE: This is not implemented in Mozilla
1107DOMMatrix (WebKitCSSMatrix)API, DOMMatrix, Experimental, Geometry, Geometry Interfaces, Interface, Reference, matrix
The DOMMatrix interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation. It is a mutable version of the DOMMatrixReadOnly interface.
1108DOMMatrix()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..
1109DOMMatrixReadOnly2D, 3D, API, Computation, DOMMatrixReadOnly, Geometry, Geometry Interfaces, Graphics, Interface, Math, Modeling, Read-only, Reference, Rotate, Scale, Skew, VR, Web, angle, camera, matrix, transform
The DOMMatrixReadOnly interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interrface—which is based upon DOMMatrixReadOnly—adds mutability, allowing you to alter the matrix after creating it.
1110DOMMatrixReadOnly()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.
1111DOMMatrixReadOnly.flipX()API, DOMMatrix, DOMMatrixReadOnly, Experimental, FlipX, Geometry, Geometry Interfaces, Interface, Method, Reference, matrix
The flipX() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.
1112DOMMatrixReadOnly.scale()API, DOMMatrix, DOMMatrixReadOnly, Experimental, Geometry, Geometry Interfaces, Interface, Method, Reference, Scale, matrix
The scale() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
1113DOMMatrixReadOnly.translate()API, DOMMatrix, DOMMatrixReadOnly, Experimental, Geometry, Geometry Interfaces, Interface, Method, Reference, Translate, matrix
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
1114DOMObjectAPI, 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.
1115DOMParserAPI, 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.
1116DOMParser()API, Constructor, DOM Parsing, Parsing, Reference
The DOMParser() constructor creates a new DOMParser object.
1117DOMPointAPI, Coordinate, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, 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.
1118DOMPoint.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.
1119DOMPoint.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.
1120DOMPoint.wAPI, 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.
1121DOMPoint.xAPI, 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.
1122DOMPoint.yAPI, 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.
1123DOMPoint.zAPI, 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.
1124DOMPointInitAPI, 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.
1125DOMPointInit.wAPI, 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.
1126DOMPointInit.xAPI, 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.
1127DOMPointInit.yAPI, 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.
1128DOMPointInit.zAPI, 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.
1129DOMPointReadOnlyAPI, 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.
1130DOMPointReadOnly()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.
1131DOMPointReadOnly.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.
1132DOMPointReadOnly.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.
1133DOMPointReadOnly.wAPI, 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.
1134DOMPointReadOnly.xAPI, 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.
1135DOMPointReadOnly.yAPI, 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.
1136DOMPointReadOnly.zAPI, 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.
1137DOMQuadAPI, 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.
1138DOMRectAPI, DOM, DOM Reference, DOMRect, Geometry, Geometry Interfaces, Interface, Rectangle, Reference
A DOMRect describes the size and position of a rectangle.
1139DOMRect.DOMRect()API, Constructor, DOM Reference, DOMRect, Experimental, Geometry, Reference
The DOMRect() constructor creates a new DOMRect object.
1140DOMRectReadOnlyAPI, DOM Reference, DOMRectReadOnly, Geometry, Geometry Interfaces, Interface, Read-only, Rectangle, Reference
The DOMRectReadOnly interface specifies the standard properties used by DOMRect to define a rectangle whose properties are immutable.
1141DOMRectReadOnly.bottomAPI, 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.)
1142DOMRectReadOnly()API, Constructor, DOM, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Reference
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
1143DOMRectReadOnly.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.
1144DOMRectReadOnly.heightAPI, 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.
1145DOMRectReadOnly.leftAPI, 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.)
1146DOMRectReadOnly.rightAPI, 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.)
1147DOMRectReadOnly.topAPI, 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.)
1148DOMRectReadOnly.widthAPI, 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.
1149DOMRectReadOnly.xAPI, 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.
1150DOMRectReadOnly.yAPI, 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.
1151DOMStringAPI, DOM, Reference, String
DOMString is a sequence of 16-bit unsigned integers, typically interpreted as UTF-16 code units. This corresponds exactly to the JavaScript primitive String type. When a DOMString is provided to JavaScript, it maps directly to the corresponding String.
1152Binary stringsDOM, JavaScript, JavaScript typed arrays, Reference, String
String are UTF-16 encoded strings. This means that each code unit requires two bytes of memory and is able to represent 65535 different code points. A subset of these strings is represented by UTF-16 strings containing only ASCII characters (i.e., characters whose code point does not exceed 127). For instance, the string "Hello world!" belongs to the ASCII subset, while the string "ÀÈÌÒÙ" does not. A binary string is a concept similar to the ASCII subset, but instead of limiting the range to 127, it allows code points until 255. Its purpose however is not to represent characters, but binary data. The size of the data so represented is twice as big as it would be in normal binary format, however this will not be visible to the final user, since the length of JavaScript strings is calculated using two bytes as the unit.
1153DOMStringListAPI, DOM, DOMStringList, Reference
A type returned by some APIs which contains a list of DOMString (strings).
1154DOMStringMapAPI, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference
The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.
1155DOMTimeStampAPI, DOM, Interface, Reference
The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears.
1156DOMTokenListAPI, 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.
1157DOMTokenList.add()API, Add, DOM, DOMTokenList, Method, Reference
The add() method of the DOMTokenList interface adds the given token to the list.
1158DOMTokenList.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.
1159DOMTokenList.entries()DOM, DOMTokenList, Iterable, Method, Reference, Web
The DOMTokenList.entries() method returns an Iteration_protocols allowing you to go through all key/value pairs contained in this object. The values are DOMString objects, each representing a single token.
1160DOMTokenList.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.
1161DOMTokenList.item()API, DOM, DOMTokenList, Method, Reference, item
The item() method of the DOMTokenList interface returns an item in the list by its index.
1162DOMTokenList.keys()DOM, DOMTokenList, Iterable, Method, Reference, Web, keys
The keys() method of the DOMTokenList interface returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are of type unsigned integer.
1163DOMTokenList.lengthAPI, 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.
1164DOMTokenList.remove()API, DOM, DOMTokenList, Method, Reference, remove
The remove() method of the DOMTokenList interface removes the specified tokens from the list.
1165DOMTokenList.replace()API, DOM, Document, Method, Reference
The replace() method of the DOMTokenList interface replaces an existing token with a new token. If the first token doesn't exist, replace() returns false immediately, without adding the new token to the token list.
1166DOMTokenList.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.
1167DOMTokenList.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.
1168DOMTokenList.valueAPI, DOM, DOMTokenList, Property, Reference, value
The value property of the DOMTokenList interface is a stringifier that returns the value of the list as a DOMString, or clears and sets the list to the given value.
1169DOMTokenList.values()DOM, DOMTokenList, Iterable, Method, Reference, Web, values
The values() method of the DOMTokenList interface returns an Iteration_protocols allowing developers to go through all values contained in the DOMTokenList. The individual values are DOMString objects.
1170DOMUserDataAPI, 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.
1171DoubleRangeAPI, 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.
1172DragEventAPI, DragEvent, Reference, drag and drop
The DragEvent interface is a 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.
1173DragEvent.dataTransferAPI, DOM, Property, Reference, drag and drop
The DragEvent.dataTransfer property holds the drag operation's data (as a DataTransfer object).
1174DragEvent()API, Constructor, DOM, Reference, drag and drop
This constructor is used to create a synthetic DragEvent object.
1175DynamicsCompressorNodeAPI, Audio, DynamicsCompressorNode, Interface, Media, Reference, Web Audio API
The DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once. This is often used in musical production and game audio. DynamicsCompressorNode is an AudioNode that has exactly one input and one output; it is created using the AudioContext.createDynamicsCompressor() method.
1176DynamicsCompressorNode.attackAPI, Attack, DynamicsCompressorNode, Property, Reference, Web Audio API
The attack property of the DynamicsCompressorNode interface is a k-rate AudioParam representing the amount of time, in seconds, required to reduce the gain by 10 dB. It defines how quickly the signal is adapted when its volume is increased.
1177DynamicsCompressorNode()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
1178DynamicsCompressorNode.kneeAPI, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, knee
The knee property of the DynamicsCompressorNode interface is a k-rate AudioParam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.
1179DynamicsCompressorNode.ratioAPI, DynamicsCompressorNode, Property, Reference, Web Audio API, ratio
The ratio property of the DynamicsCompressorNode interface Is a k-rate AudioParam representing the amount of change, in dB, needed in the input for a 1 dB change in the output.
1180DynamicsCompressorNode.reductionAPI, 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.
1181DynamicsCompressorNode.releaseAPI, DynamicsCompressorNode, Property, Reference, Release, Web Audio API
The release property of the DynamicsCompressorNode interface Is a k-rate AudioParam representing the amount of time, in seconds, required to increase the gain by 10 dB. It defines how quick the signal is adapted when its volume is reduced.
1182DynamicsCompressorNode.thresholdAPI, DynamicsCompressorNode, Property, Reference, Web Audio API, threshold
The threshold property of the DynamicsCompressorNode interface is a k-rate AudioParam representing the decibel value above which the compression will start taking effect.
1183EcdhKeyDeriveParamsAPI, Dictionary, EcdhKeyDeriveParams, Reference, Web Crypto API
The EcdhKeyDeriveParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey(),  when using the ECDH algorithm.
1184EcdsaParamsAPI, Dictionary, EcdsaParams, Reference, Web Crypto API
The EcdsaParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify() when using the ECDSA algorithm.
1185EcKeyGenParamsAPI, Dictionary, EcKeyGenParams, Reference, Web Crypto API
The EcKeyGenParams dictionary of the Web Crypto API 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.
1186EcKeyImportParamsAPI, Dictionary, EcKeyImportParams, Reference, Web Crypto API
The EcKeyImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey(), when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
1187EffectTimingAPI, 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.KeyframeEffectReadOnly, and KeyframeEffect.KeyframeEffect to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play.
1188EffectTiming.delayAPI, 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.
1189EffectTiming.directionAPI, 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 iteration
1190EffectTiming.durationAPI, 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.
1191EffectTiming.easingAPI, 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.
1192EffectTiming.endDelayAPI, 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,AnimationEffectTimingReadOnly.duration, plus its end delay.
1193EffectTiming.fillAPI, 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 AnimationEffectTimingProperties.iterationStart or after animation's end time.
1194EffectTiming.iterationsAPI, 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.
1195EffectTiming.iterationStartAPI, 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.
1196ElementAPI, DOM, DOM Reference, Element, Interface, Reference, Web API
Element is the most general base class from which all element objects (i.e. objects that represent elements) in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element.
1197Element: afterscriptexecute eventEvent, Non-standard, Reference
This event was a proposal in an early version of the specification. Do not rely on it.
1198Element.animate()API, Animation, Element, Method, Reference, Web Animations
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.
1199Element.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.
1200Element.attributesAPI, 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.
1201Element: auxclick eventElement, Event, MouseEvent, Reference, UI, auxclick, mouse
The auxclick event is fired at an Element when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button) has been pressed and released both within the same element.
1202Element: beforescriptexecute eventDOM, Non-standard, Reference
This event was a proposal in an early version of the specification. Do not rely on it.
1203Element: blur eventAPI, DOM, Element, Event, FocusEvent, Reference, blur, onblur
The blur event fires when an element has lost focus. The main difference between this event and Element/focusout_event is that focusout bubbles while blur does not.
1204Element.classListAPI, 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. This can then be used to manipulate the class list.
1205Element.classNameAPI, DOM, Gecko, Property, Reference
The className property of the Element interface gets and sets the value of the class attribute of the specified element.
1206Element: click eventAPI, DOM, Element, Event, Interface, MouseEvent, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference, UI, click, mouse
An element receives a click event when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
1207Element.clientHeightAPI, 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).
1208Element.clientLeftAPI, 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.
1209Element.clientTopAPI, 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.
1210Element.clientWidthAPI, CSSOM View, NeedsMarkupWork, Property, Reference
The Element.clientWidth property is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present).
1211Element.closest()API, CSS Selector, DOM, Element, Method, Reference, Selector
The closest() method traverses the Element and its parents (heading toward the document root) until it finds a node that matches the provided selector string. Will return itself or the matching ancestor. If no such element exists, it returns null.
1212Element: compositionend eventEvent, Reference
The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session.
1213Element: compositionstart eventElement, Event, Input method, Reference, compositionstart
The compositionstart event is fired when a text composition system such as an input method editor starts a new composition session.
1214Element: compositionupdate eventEvent, Reference
The compositionupdate event is fired when a new character is received in the context of a text composition session controlled by a text composition system such as an input method editor.
1215Element.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.
1216Element: contextmenu eventAPI, Context, DOM, Element, Event, Interface, MouseEvent, Reference, Right Click, Right-Click, button, contextmenu, menu, mouse
The contextmenu event fires when the user attempts to open a context menu. This event is typically triggered by clicking the right mouse button, or by pressing the context menu key.
1217Element: copy eventAPI, Clipboard API, Element, Event, Reference, Web
The copy event fires when the user initiates a copy action through the browser's user interface.
1218Element.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.
1219Element.currentStyleAPI, NeedsExample, Non-standard, Property
Element.currentStyle is a proprietary property which is similar to the standardized window.getComputedStyle() method. It is available in old versions of Microsoft Internet Explorer. However, it returns the units set in CSS while window.getComputedStyle() returns the values in pixels.
1220Element: cut eventAPI, Clipboard API, Cut, Element, Event, Reference, Web
The cut event is fired when the user has initiated a "cut" action through the browser's user interface.
1221Element: dblclick eventAPI, DOM, Double Click, Double-Click, Element, Event, Input, Interface, MouseEvent, Reference, button, dblclick, mouse
The dblclick event fires when a pointing device button (such as a mouse's primary button) is double-clicked; that is, when it's rapidly clicked twice on a single element within a very short span of time.
1222Element: DOMActivate eventAPI, DOM, Deprecated, Element, Event, Input, Mouse Events, MouseEvent, Reference, activate event, onactivate
The DOMActivate event is fired at an element when it becomes active, such as when it is clicked on using the mouse or a keypress is used to navigate to it.
1223Element: DOMMouseScroll eventAPI, DOM, DOMMouseScroll, Deprecated, Element, Event, Input, Non-standard, Reference, mouse, scrolling
The DOM DOMMouseScroll event is fired asynchronously when mouse wheel or similar device is operated and the accumulated scroll amount is over 1 line or 1 page since last event. It's represented by the MouseScrollEvent interface. This event was only implemented by Firefox. You should instead use the standard Element.wheel_event event.
1224Element: error eventAudio, DOM, Element, Error Handling, Errors, Event, Media, Reference, UI, UI Events, UIEvent, Video, Web
The error event is fired on an Element object when a resource failed to load, or can't be used. For example, if a script has an execution error or an image can't be found or is invalid.
1225Element: focus eventAPI, DOM, Element, Event, Focus, FocusEvent, Reference
The focus event fires when an element has received focus. The main difference between this event and Element/focusin_event is that focusin bubbles while focus does not.
1226Element: focusin eventAPI, DOM, Element, Event, FocusEvent, Reference, focusin
The focusin event fires when an element is about to receive focus. The main difference between this event and Element/focus_event is that focusin bubbles while focus does not.
1227Element: focusout eventAPI, DOM, Element, Event, FocusEvent, Reference, focusout, onfocusout
The focusout event fires when an element is about to lose focus. The main difference between this event and Element/blur_event is that focusout bubbles while blur does not.
1228Element: fullscreenchange eventAPI, Element, Event, Fullscreen API, Fullscreen events, fullscreen, fullscreenchange
The fullscreenchange event is fired immediately after an Element switches into or out of full-screen mode.
1229Element: fullscreenerror eventAPI, Element, Event, Reference, fullscreenerror
The fullscreenerror event is fired when the browser cannot switch to full-screen mode.
1230Element: gesturechange eventEvent, Non-standard, Reference
The gesturechange event is fired when digits move during a touch gesture.
1231Element: gestureend eventEvent, Non-standard, Reference
The gestureend event is fired when there are no longer multiple fingers contacting the touch surface, thus ending the gesture.
1232Element: gesturestart eventEvent, Non-standard, Reference
The gesturestart event is fired when multiple fingers contact the touch surface, thus starting a new gesture. During the gesture, gesturechange events will be fired. When the gesture has ended, a gestureend event will be fired.
1233Element.getAnimations()API, Animatable, CSS, CSS Animations, CSS Transitions, Element, Experimental, Method, Reference, Transitions, Web Animations, getAnimations, waapi, web animations api
The getAnimations() method of the Element interface (specified on the Animatable mixin) returns an array of all Animation objects affecting this element or which are scheduled to do so in future. It can optionally return Animation objects for descendant elements too.
1234Element.getAttribute()API, DOM, Element, Method, Reference
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
1235Element.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.
1236Element.getAttributeNode()API, DOM, Element, Method, Reference
Returns the specified attribute of the specified element, as an Attr node.
1237Element.getAttributeNodeNS()API, DOM, Method, Reference
Returns the Attr node for the attribute with the given namespace and name.
1238Element.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.
1239Element.getBoundingClientRect()API, Boundary, Bounding, Bounds, CSSOM View, Client, Containing, DOM, Element, Enclosing, Method, Minimum, Rectangle, Reference, Smallest, clientHeight, getBoundingClientRect, getClientRects, offsetHeight, scrollHeight
The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
1240Element.getClientRects()API, CSSOM View, Element, Method, Reference, clientHeight, getBoundingClientRect, getClientRects, offsetHeight, scrollHeight
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.
1241Element.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.
1242Element.getElementsByTagName()API, DOM, Element, Method, Reference
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.
1243Element.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.
1244Element.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.
1245Element.hasAttributeNS()API, DOM, Element, Method, Reference
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute.
1246Element.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.
1247Element.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.
1248Element.idAPI, DOM, Element, Property, Reference
The id property of the Element interface represents the element's identifier, reflecting the id global attribute.
1249Element.innerHTMLAPI, 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.
1250Element.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.
1251Element.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 Element.innerHTML manipulation.
1252Element.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.
1253Element: keydown eventAPI, DOM, Element, Event, KeyboardEvent, Reference, keyboard, keydown
The keydown event is fired when a key is pressed.
1254Element: keypress eventAPI, Element, Event, Reference, keypress
The keypress event is fired when a key that produces a character value is pressed down.
1255Element: keyup eventDOM, Element, Event, Reference, keyup
The keyup event is fired when a key is released.
1256Element.localNameAPI, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.localName read-only property returns the local part of the qualified name of an element.
1257Element.matches()API, DOM, Element, Method, Reference, msMatchesSelector, webkitMatchesSelector
The matches() method checks to see if the Element would be selected by the provided selectorString -- in other words -- checks if the element "is" the selector.
1258Element: mousedown eventAPI, DOM, Down, Element, Event, Interface, MouseEvent, Press, Reference, UI, button, mouse, mousedown
The mousedown event is fired at an Element when a pointing device button is pressed while the pointer is inside the element.
1259Element: mouseenter eventAPI, Cursor, DOM, Element, Event, Interface, MouseEvent, Reference, mouse, mouseenter, pointer
The mouseenter event is fired at an Element when a pointing device (usually a mouse) is initially moved so that its hotspot is within the element at which the event was fired.
1260Element: mouseleave eventAPI, DOM, Element, Event, MouseEvent, Reference, mouse, mouseleave, move
The mouseleave event is fired at an Element when the cursor of a pointing device (usually a mouse) is moved out of it.
1261Element: mousemove eventAPI, DOM, Event, Interface, MouseEvent, Reference, mouse, mousemove, move, pointer
The mousemove event is fired at an element when a pointing device (usually a mouse) is moved while the cursor's hotspot is inside it.
1262Element: mouseout eventAPI, DOM, Event, Interface, MouseEvent, Reference, mouse, mouseout, move
The mouseout event is fired at an Element when a pointing device (usually a mouse) is used to move the cursor so that it is no longer contained within the element or one of its children.
1263Element: mouseover eventAPI, Cursor, DOM, Event, Interface, MouseEvent, Reference, mouse, mouseover, move, pointer
The mouseover event is fired at an Element when a pointing device (such as a mouse or trackpad) is used to move the cursor onto the element or one of its child elements.
1264Element: mouseup eventAPI, DOM, Event, Interface, MouseEvent, Reference, Release, UI, Up, button, mouse, mouseup
The mouseup event is fired at an Element when a button on a pointing device (such as a mouse or trackpad) is released while the pointer is located inside it.
1265Element: mousewheel eventDOM, Deprecated, Event, Interface, Non-standard, UI, mouse, mousewheel, scrolling, wheel
The obsolete and non-standard mousewheel event is fired asynchronously at an Element to provide updates while a mouse wheel or similar device is operated. The mousewheel event was never part of any standard, and while it was implemented by several browsers, it was never implemented by Firefox.
1266Element: MozMousePixelScroll eventAPI, DOM, Event, Firefox, Mouse Wheel, MozMousePixelScroll, Mozilla, Non-standard, Reference, mouse, wheel
The Firefox-only, non-standard, and obsolete MozMousePixelScroll event is fired at an Element asynchronously when a mouse wheel or similar device is operated. It's represented by the MouseScrollEvent interface.
1267Element: msContentZoom eventEvent, Event:Microsoft Extensions, MSContentZoom, Non-standard, Reference
The msContentZoom event fires when a user zooms the element (changes the scale of the content).
1268Element: MSGestureChange eventEvent, Non-standard, Reference
The MSGestureChange event is fired when touch contact positions move and also while inertia-based movements are being processed.
1269Element: MSGestureEnd eventEvent, Non-standard, Reference
The MSGestureEnd event is fired when all associated touch points have stopped contacting the touch surface, and any associated inertial movements have ended; thus ending the gesture.
1270Element: MSGestureHold eventEvent, Non-standard, Reference
The MSGestureHold event is fired when the user contacts the touch surface and remains in the same position for a while.
1271Element: MSGestureStart eventEvent, Non-standard, Reference
The MSGestureStart event is fired when there's a new point of contact on the touch surface, thus starting a new gesture. When the gesture has ended, a MSGestureEnd event will be fired.
1272Element: MSGestureTap eventEvent, Non-standard, Reference
The MSGestureTap event is fired when the user "taps" the pointing device (e.g., touches the touch surface with their finger, taps the touch surface with a pen device, clicks with a mouse). Typically, it's preferable to listen for the click event instead.
1273Element: MSInertiaStart eventEvent, Non-standard, Reference
The MSInertiaStart event is fired when contact with the touch surface stops when a scroll has enough inertia to continue scrolling. This event may not be fired if the scroll is sufficiently slow.
1274Element: MSManipulationStateChanged eventEvent, Event:Microsoft Extensions, MSManipulationStateChanged, Non-standard, Reference
MSManipulationStateChanged fires when the state of an element being manipulated has changed (ie. whenever you start or finish panning or zooming an element).
1275Element.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.
1276Element.namespaceURIAPI, 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.
1277Element.onfullscreenchangeAPI, 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.
1278Element.onfullscreenerrorAPI, Element, Event Handler, Full, Full-screen API, Property, Reference, fullscreen, onfullscreenerror, screen
The Element interface's onfullscreenerror property is an event handler for the Element/fullscreenerror_event event which is sent to the element when an error occurs while attempting to transition into or out of full-screen mode.
1279Element.openOrClosedShadowRootAPI, 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 ShadowRoot.mode is open or closed.
1280Element.outerHTMLAPI, 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.
1281Element: overflow eventEvent
The overflow event is fired when an element has been overflowed by its content or has been rendered for the first time in this state (only works for elements styled with overflow != visible).
1282Element.partAPI, Element, Property, Reference, part
The part property of the Element interface represents the part identifier(s) of the element (i.e. set using the part attribute), returned as a DOMTokenList. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
1283Element: paste eventClipboard API, Event, NeedsUpdate, Reference
The paste event is fired when the user has initiated a "paste" action through the browser's user interface.
1284Element.prefixAPI, 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.
1285Element.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.
1286Element.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.
1287Element.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.
1288Element.removeAttribute()API, DOM, Element, Method, Reference, remove, removeAttribute
The Element method removeAttribute() removes the attribute with the specified name from the element.
1289Element.removeAttributeNode()API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNode() method of the Element object removes the specified attribute from the current element.
1290Element.removeAttributeNS()API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNS() method of the Element interface removes the specified attribute from an element.
1291Element.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.
1292Element.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.
1293Element.runtimeStyleAPI, 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.
1294Element: scroll eventAPI, Element, Event, Reference, Scroll
The scroll event fires an element has been scrolled.
1295Element.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.
1296Element.scrollBy()API, CSSOM View, Element, Method, Reference, scrollBy
The scrollBy() method of the Element interface scrolls an element by the given amount.
1297Element.scrollHeightAPI, 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.
1298Element.scrollIntoView()API, CSSOM Views, DOM, Element, Method, Reference, View, scrollIntoView, scrolling
The Element interface's scrollIntoView() method scrolls the element's parent container such that the element on which scrollIntoView() is called is visible to the user
1299Element.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.
1300Element.scrollLeftAPI, 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.
1301Element.scrollLeftMaxAPI, 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.
1302Element.scrollTo()API, Element, Method, Reference, scrollTo
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
1303Element.scrollTopAPI, 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.
1304Element.scrollTopMaxAPI, 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.
1305Element.scrollWidthAPI, 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.
1306Element: select eventElement, Event, Event Handler, NeedsCompatTable, Reference, UIEvent
The select event fires when some text has been selected.
1307Element.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.
1308Element.setAttributeNode()API, DOM, Element, Method, Reference
The setAttributeNode() method adds a new Attr node to the specified element.
1309Element.setAttributeNodeNS()API, DOM, Element, Method, Reference
setAttributeNodeNS adds a new namespaced attribute node to an element.
1310Element.setAttributeNS()API, DOM, Element, Method, Reference
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
1311Element.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.
1312Element.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()).
1313Element.shadowRootAPI, Element, Property, Reference, ShadowRoot, shadow dom
The Element.shadowRoot read-only property represents the shadow root hosted by the element.
1314Element: show eventAPI, Deprecated, Event, Reference, show
The show event is fired when a Element/contextmenu_event event was fired on/bubbled to an element that has a contextmenu attribute.
1315Element.slotAPI, 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.
1316Element.tabStopAPI, 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.
1317Element.tagNameAPI, 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.
1318Element.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.
1319Element: touchcancel eventEvent, Touch Events, TouchEvent, UI, UI Events, UX, touch
The touchcancel event is fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created).
1320Element: touchend eventAPI, Element, Event, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchstart
The touchend event fires when one or more touch points are removed from the touch surface.
1321Element: touchmove eventEvent, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchmove
The touchmove event is fired when one or more touch points are moved along the touch surface.
1322Element: touchstart eventEvent, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchstart
The touchstart event is fired when one or more touch points are placed on the touch surface.
1323Element: underflow eventElement, Event, Firefox, Gecko, Layout, Mozilla, Non-standard, Reference, underflow
The non-standard underflow event, which is specific to Firefox, is fired when an element is no longer overflowed by its content.
1324Element: webkitmouseforcechanged eventEvent, Force Touch, MouseEvent, NeedsExample, Non-standard, Reference, Safari, Trackpad, UI, Web, WebKit, apple, mouse, touch, webkitmouseforcechanged
The non-standard webkitmouseforcechanged event is fired by Safari each time the amount of pressure changes on the trackpad/touchscreen.
1325Element: webkitmouseforcedown eventElement, Event, Force Touch, MouseEvent, NeedsCompatTable, NeedsExample, Reference, Safari, Trackpad, UI, Web, WebKit, apple, mouse, touch, webkitmouseforcedown
After a Element.mousedown_event event has been fired at the element, if and when sufficient pressure has been applied to the mouse or trackpad button to qualify as a "force click," Safari begins sending webkitmouseforcedown events to the element.
1326Element: webkitmouseforceup eventElement, Event, Force Touch, MouseEvent, NeedsCompatTable, NeedsExample, Non-standard, Reference, Safari, Trackpad, UI, Web, WebKit, apple, mouse, touch, webkitmouseforceup
The non-standard webkitmouseforceup event is fired by Safari at an Element some time after the webkitmouseforcedown event, when pressure on the button has been reduced sufficiently to end the "force click".
1327Element: webkitmouseforcewillbegin eventAPI, Element, Event, Force Touch, Input, MouseEvent, NeedsExample, Non-standard, Reference, UI, Web, WebKit, apple, macOS, webkitmouseforcewillbegin
Safari for macOS fires the non-standard webkitmouseforcewillbegin event at an Element before firing the initial mousedown event.
1328Element: wheel eventAPI, DOM, Element, Event, Reference, WheelEvent, wheel
The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1329ElementCSSInlineStyleAPI, CSS, ElementCSSInlineStyle, Interface, Mixin, Reference
The ElementCSSInlineStyle mixin describes CSSOM-specific features common to the HTMLElement, SVGElement and MathMLElement interfaces.
1330ElementCSSInlineStyle.styleAPI, CSSOM, HTMLElement, Property, Reference, SVGElement, Style
The style property is used to get as well as set the inline style of an element. When getting, it returns a CSSStyleDeclaration object that contains a list of all styles properties for that element with values assigned for the attributes that are defined in the element's inline style attribute.
1331ElementTraversalAPI, DOM, DOM Reference, Interface, Obsolete, Web
The ElementTraversal interface used to define methods that allowed access from one Node to another in the document tree.
1332Encoding APIAPI, Encoding, Overview, Reference
Encoding API
1333Encrypted Media Extensions APIAPI, 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.
1334ErrorEventAPI, Event, Worker API
The ErrorEvent interface represents events providing information related to errors in scripts or in files.
1335EventAPI, Constructor, DOM, Event, Interface, Reference, UI, listener
The Event interface represents an event which takes place in the DOM.
1336Event.bubblesAPI, 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.
1337Event.cancelableAPI, 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.
1338Event.cancelBubbleAPI, 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.
1339Comparison of Event TargetsDOM, 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.
1340Event.composedAPI, 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.
1341Event.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.
1342Event.currentTargetAPI, 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 and which may be its descendant.
1343Event.defaultPreventedAPI, DOM, Event, Property, Read-only
The defaultPrevented read-only property of the Event interface returns a Boolean indicating whether or not the call to Event.preventDefault() canceled the event.
1344Event()API, Constructor, DOM, Event, Reference
The Event() constructor creates a new Event.
1345Event.eventPhaseAPI, 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.
1346Event.explicitOriginalTargetAPI, DOM, Gecko, Non-standard, Property, Reference
The explicit original target of the event. (Mozilla-specific)
1347Event.initEvent()API, DOM, Deprecated, Event, Method, Reference
The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
1348Event.isTrustedAPI, 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().
1349Event.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.
1350Event.originalTargetAPI, DOM, Gecko, NeedsExample, NeedsHelp, Non-standard, Property
The original target of the event before any retargetings. (Mozilla-specific)
1351Event.preventDefault()API, DOM, Event, Method, Reference
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.
1352Event.returnValueAPI, DOM, Event, Property, Reference, action, default, returnValue
The Event property returnValue indicates whether the default action for this event has been prevented or not.
1353Event.srcElementAPI, DOM, Deprecated, Property, Reference, events
Initially implemented in Internet Explorer, Event.srcElement is a now-standard alias (defined in the DOM Standard but flagged as "historical") for the Event.target property. It's supported in all major browser engines, but only for compatibility reasons. Use Event.target instead.
1354Event.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.
1355Event.stopPropagation()API, DOM, Event, Method, Propagation, Reference, actions, default, stopPropagation
The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases. It does not, however, prevent any default behaviors from occurring; for instance, clicks on links are still processed. If you want to stop those behaviors, see the Event.preventDefault method.
1356Event.targetAPI, DOM, Event, Property, Reference, delegation, target
The target property of the Event interface is a reference to the object onto which the event was dispatched. It is different from Event.currentTarget when the event handler is called during the bubbling or capturing phase of the event.
1357Event.timeStampAPI, 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.
1358Event.typeAPI, 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.
1359EventListenerAPI, DOM, DOM Events, Interface, events
The EventListener interface represents an object that can handle an event dispatched by an EventTarget object.
1360EventListener.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.
1361EventSourceAPI, 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.
1362EventSource.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).
1363EventSource: error eventAPI, Error, Event, EventSource, Reference
The error event of the EventSource API is fired when a connection with an event source fails to be opened.
1364EventSource()API, Constructor, EventSource, Reference, Server-sent events
The EventSource() constructor returns a newly-created EventSource, which represents a remote resource.
1365EventSource: message eventAPI, Event, EventSource, Reference, message
The message event of the EventSource API is fired when data is received through an event source.
1366EventSource.onerrorAPI, 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.
1367EventSource.onmessageAPI, 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.
1368EventSource.onopenAPI, 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.
1369EventSource: open eventAPI, Event, EventSource, Reference, open
The open event of the EventSource API is fired when a connection with an event source is opened.
1370EventSource.readyStateAPI, 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.
1371EventSource.urlAPI, 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.
1372EventSource.withCredentialsAPI, 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.
1373EventTargetAPI, DOM, DOM Events, EventTarget, Interface
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
1374EventTarget.addEventListener()API, AccessOuterData, DOM, Detecting Events, Event Handlers, Event Listener, EventTarget, JavaScript, Method, PassingData, 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.
1375EventTarget.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().
1376EventTarget.attachEvent()Junk
You are probably looking for EventTarget.addEventListener.
1377EventTarget()API, Constructor, DOM, DOM Events, EventTarget
The EventTarget() constructor creates a new EventTarget object instance.
1378EventTarget.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
1379EXT_blend_minmaxAPI, 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.
1380EXT_color_buffer_floatAPI, 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.
1381EXT_color_buffer_half_floatAPI, 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.
1382EXT_disjoint_timer_queryAPI, 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.
1383EXT_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.
1384EXT_disjoint_timer_query.createQueryEXT()API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.createQueryEXT() method of the WebGL API creates and initializes WebGLTimerQueryEXT objects, which track the time needed to fully complete a set of GL commands.
1385EXT_disjoint_timer_query.deleteQueryEXT()API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.deleteQueryEXT() method of the WebGL API deletes a given WebGLTimerQueryEXT object.
1386EXT_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.
1387EXT_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.
1388EXT_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.
1389EXT_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 WebGLTimerQueryEXT object.
1390EXT_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.
1391EXT_float_blend32-bit, API, Blending, Draw Buffer, EXT_float_blend, Floating-Point, Reference, WebGL, WebGL extension, WebGL extensions, float
The WebGL API's EXT_float_blend extension allows blending and draw buffers with 32-bit floating-point components.
1392EXT_frag_depthAPI, 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.
1393EXT_shader_texture_lodAPI, 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).
1394EXT_sRGBAPI, Reference, WebGL, WebGL extension
The EXT_sRGB extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
1395EXT_texture_compression_bptcAPI, Reference, WebGL, WebGL extensions
The EXT_texture_compression_bptc extension is part of the WebGL API and exposes 4 BPTC compressed texture formats. These compression formats are called BC7 and BC6H in Microsoft's DirectX API.
1396EXT_texture_compression_rgtcAPI, Reference, WebGL, WebGL extensions
The EXT_texture_compression_rgtc extension is part of the WebGL API and exposes 4 RGTC compressed texture formats. RGTC is a block-based texture compression format suited for unsigned and signed red and red-green textures (Red-Green Texture Compression).
1397EXT_texture_filter_anisotropicAPI, Reference, WebGL, WebGL extension
The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
1398EXT_texture_norm16API, Reference, WebGL, WebGL extension
The EXT_texture_norm16 extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).
1399ExtendableEventAPI, 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.
1400ExtendableEvent()API, Constructor, Experimental, ExtendableEvent, Reference, Service Workers, ServiceWorker
The ExtendableEvent() constructor creates a new ExtendableEvent object.
1401ExtendableEvent.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.
1402ExtendableMessageEventAPI, Experimental, ExtendableMessageEvent, Interface, Reference, Service Workers
The ExtendableMessageEvent interface of the Service Worker API represents the event object of a message_(ServiceWorker) event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
1403ExtendableMessageEvent.dataAPI, 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.
1404ExtendableMessageEvent()API, Constructor, Experimental, ExtendableMessageEvent, Reference, Service Workers
The ExtendableMessageEvent() constructor creates a new ExtendableMessageEvent object instance.
1405ExtendableMessageEvent.lastEventIdAPI, 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. This is an empty string.
1406ExtendableMessageEvent.originAPI, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, origin
The origin read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
1407ExtendableMessageEvent.portsAPI, 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.)
1408ExtendableMessageEvent.sourceAPI, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, source
The source read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
1409FeaturePolicyAPI, Feature Policy, Feature-Policy, FeaturePolicy, Interface, Permissions, Privileges, Reference, access, delegation
The FeaturePolicy interface of the Feature Policy API represents the set of policies applied to the current execution context.
1410FeaturePolicy.allowedFeatures()API, Directive, Feature Policy, Feature-Policy, FeaturePolicy, Reference
The allowedFeatures() method of the FeaturePolicy interface returns a list of directive names of all features allowed by the feature policy.enables introspection of individual directives of the Feature Policy it is run on. As such, allowedFeatures() method returns a subset of directives returned by FeaturePolicy.features.
1411FeaturePolicy.allowsFeature()
The allowsFeature() method of the FeaturePolicy interface enables introspection of individual directives of the Feature Policy it is run on. It returns a Boolean that is true if and only if the specified feature is allowed in the specified context (or the default context if no context is specified).
1412FeaturePolicy.features()
The features() method of the FeaturePolicy interface returns a list of names of all features supported by the User Agent. Feature whose name appears on the list might not be allowed by the Feature Policy of the current execution context and/or might not be accessible because of user's permissions.
1413FeaturePolicy.getAllowlistForFeature()API, Feature Policy, Feature-Policy, Reference
The getAllowlistForFeature() method of the FeaturePolicy allows query of the allow list for a specific feature for the current Feature Policy.
1414FederatedCredentialAPI, Credential Management API, FederatedCredential, Interface, Reference, credential management
The FederatedCredential interface of 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.
1415FederatedCredentialAPI, Constructor, Credential Management API, FederatedCredential, NeedsExample, Reference, credential management
The FederatedCredential constructor creates a new FederatedCredential object.
1416FederatedCredential.protocolAPI, Credential Management API, Experimental, FederatedCredential, NeedsExample, Property, Reference, credential management
The protocol property of the FederatedCredential interface returns a read-only DOMString containing a credential's federated identity protocol. If this property is null, the protocol may be inferred from the FederatedCredential.provider property.
1417FederatedCredential.providerAPI, Credential Management API, FederatedCredential, NeedsExample, Property, Reference, credential management
The provider property of the FederatedCredential interface returns a USVString containing a credential's federated identity provider.
1418Fetch APIAPI, 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.
1419Fetch basic conceptsAPI, Fetch, Fetch API, XMLHttpRequest, concepts, guard, 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 it provides a more powerful and flexible feature set. This article explains some of the basic concepts of the Fetch API.

1420Cross-global fetch usageCross 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.
1421Using FetchAPI, BODY, Experimental, Fetch, Guide, HTTP, Promise, Response, fetch POST & string body, request

The Fetch API provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses. It also provides a global GlobalFetch.fetch method that provides an easy, logical way to fetch resources asynchronously across the network.

1422FetchEventAPI, FetchEvent, Interface, Offline, Reference, Service Workers, Workers
This is the event type for fetch events dispatched on the ServiceWorkerGlobalScope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the FetchEvent.respondWith method, which allows us to provide a response to this fetch.
1423FetchEvent.clientAPI, 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.
1424FetchEvent.clientIdAPI, Experimental, FetchEvent, Property, Reference, Service Workers, clientId
The clientId read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
1425FetchEvent()API, Communication, Constructor, Fetch, FetchEvent, Networking, Reference, Service Workers, ServiceWorker
The FetchEvent() constructor creates a new FetchEvent object.
1426FetchEvent.isReloadAPI, Experimental, FetchEvent, Property, Reference, 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.
1427FetchEvent.navigationPreloadAPI, 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.
1428FetchEvent.PreloadRequestAPI, Experimental, FetchEvent, Junk, Offline, Property, Reference, Service Workers, Workers, request
No summary!
1429FetchEvent.preloadResponseAPI, Experimental, FetchEvent, Offline, Property, Reference, Service Workers, Web Performance, Workers, request
The preloadResponse read-only property of the FetchEvent interface returns a Promise that resolves to the navigation preload Response if navigation preload was triggered or undefined otherwise.
1430FetchEvent.replacesClientIdAPI, DOM, FetchEvent, Property, Reference, Service Workers, Workers, replacesClientId
The replacesClientId read-only property of the FetchEvent interface is the Client.id of the Client that is being replaced during a page navigation.
1431FetchEvent.requestAPI, 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.
1432FetchEvent.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.
1433FetchEvent.resultingClientIdAPI, DOM, FetchEvent, Property, Reference, Service Workers, Worker, resultingClientId
The resultingClientId read-only property of the FetchEvent interface is the Client.id of the Client that replaces the previous client during a page navigation.
1434File and Directory Entries APIAPI, File System API, File and Directory Entries API, Files, Non-standard, Overview, Reference
File System API
1435File and Directory Entries API support in FirefoxAPI, 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.
1436Introduction to the File and Directory Entries APIAPI, 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.
1437FileHandle APIAPI, 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.
1438File System Access APIAPI, Directory, File, File Access, File System Access, File System Access API, Landing, Overview, working with files
The File System Access API allows read, write and file management capabilities.
1439FileAPI, File API, Interface, Reference, Web
The File interface provides information about files and allows JavaScript in a web page to access their content.
1440File.File()API, Constructor, File API, Reference
The File() constructor creates a new File object instance.
1441File.fileNameAPI, 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.
1442File.fileSizeAPI, DOM, File API, Files, Non-standard, Obsolete, Property, Reference
Returns the size of a file in bytes.
1443File.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.
1444File.getAsDataURL()API, File API, Files, Method, Non-standard, Obsolete, Reference
The getAsDataURL provides a data: URL that encodes the entire contents of the referenced file.
1445File.getAsText()API, File API, Files, Method, Non-standard, Obsolete, Reference
The getAsText method provides the file's data interpreted as text using a given encoding.
1446File.lastModifiedAPI, 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.
1447File.lastModifiedDateAPI, 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 .
1448File.mozFullPathAPI, 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.
1449File.nameAPI, 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.
1450File.sizeAPI, Guide, fileapi
Returns the size of a file in bytes.
1451File.typeAPI, File API, File Type, Files, Property, Reference
Returns the media type (MIME) of the file represented by a File object.
1452Using files from web applicationsFiles, HTML5, Intermediate, 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/file element or by drag and drop.
1453File.webkitRelativePathFile, 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.
1454FileEntrySyncAPI, 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.
1455FileErrorAPI, File API, Files, Obsolete, Reference
Represents an error that occurs while using the FileReader interface.
1456FileExceptionAPI, File API, File System API, Non-standard, Obsolete, Offline, Reference, filesystem
In the File System API, a FileExceptionobject 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.
1457FileListAPI, 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.
1458FileReaderAPI, 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.
1459FileReader: abort eventAPI, Event, FileReader, ProgressEvent, Reference, Web, abort
The abort event is fired when a read has been aborted: for instance because the program called FileReader.abort().
1460FileReader.abort()API, File API, FileReader, Files, Method, Reference, abort
The abort method aborts the read operation. Upon return, the FileReader.readyState will be DONE.
1461FileReader: error eventAPI, Error, Event, FileReader, ProgressEvent, Reference, Web, onerror
The error event is fired when the read failed due to an error (for example, because the file was not found or not readable).
1462FileReader.errorAPI, File API, Files, Property, Reference
The FileReader error property returns the error that occurred while reading the file.
1463FileReader()API, Constructor, FileReader, Reference
The FileReader() constructor creates a new FileReader.
1464FileReader: load eventAPI, Event, FileReader, Web, load
The load event is fired when a file has been read successfully.
1465FileReader: loadend eventAPI, Event, FileReader, ProgressiveEvent, Web, loadend
The loadend event is fired when a file read has completed, successfully or not.
1466FileReader: loadstart eventAPI, Event, FileReader, ProgressEvent, Web, loadstart
The loadstart event is fired when a file read operation has begun.
1467FileReader.onabortEvent 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.
1468onerror
The FileReader onerror handler receives an Event object, not an Error object, as a parameter, but an error can be accessed from the FileReader object, as instanceOfFileReader.error
1469FileReader.onloadEvent 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.
1470FileReader: progress eventAPI, Event, FileReader, ProgressEvent, Reference, Web, progress
The progress event is fired periodically as the FileReader reads data.
1471FileReader.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 FileReader.readyState becomes DONE, and the FileReader/loadend_event is triggered. At that time, the FileReader.result attribute contains an ArrayBuffer representing the file's data.
1472FileReader.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 FileReader.readyState becomes DONE, and the loadend is triggered. At that time, the FileReader.result attribute contains the raw binary data from the file.
1473FileReader.readAsDataURL()API, Base 64, File API, FileReader, 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 FileReader.readyState becomes DONE, and the loadend is triggered. At that time, the FileReader.result attribute contains the data as a data: URL representing the file's data as a base64 encoded string.
1474FileReader.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 FileReader.readyState is changed to DONE, the loadend event is triggered, and the FileReader.result property contains the contents of the file as a text string.
1475FileReader.readyStateAPI, 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:
1476FileReader.resultAPI, File API, FileReader, Files, Property, Reference, result
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.
1477FileReaderSyncAPI, NeedsMarkupWork
The FileReaderSync interface allows to read File or Blob objects synchronously.
1478FileReaderSync.readAsArrayBuffer()
The readAsArrayBuffer() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an ArrayBuffer. This interface is only available in workers as it enables synchronous I/O that could potentially block.
1479FileReaderSync.readAsBinaryString()
The readAsBinaryString() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an DOMString. This interface is only available in workers as it enables synchronous I/O that could potentially block.
1480FileReaderSync.readAsDataURL()
The readAsDataURL() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an DOMString representing a data URL. This interface is only available in workers as it enables synchronous I/O that could potentially block.
1481FileReaderSync.readAsText()
The readAsText() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an DOMString. This interface is only available in workers as it enables synchronous I/O that could potentially block.
1482FileRequestAPI, 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.
1483FileRequest.lockedFileAPI, DOM, Files, Non Standard, Property, Reference, WebAPI
The lockedFile property represents the LockedFile object from which the request was started.
1484FileRequest.onprogressAPI, DOM, Files, Non Standard, Property, Reference, WebAPI
This property specifies a callback function to be run repeatedly while the operation represented by a FileRequest object is in progress.
1485FileSystemAPI, 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 FileSystemEntry.filesystem property on any file system entry. Some browsers offer additional APIs to create and manage file systems, such as Chrome's Window.requestFileSystem method.
1486FileSystem.nameAPI, 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.
1487FileSystem.rootAPI, 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.
1488FileSystemDirectoryEntryAPI, 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.
1489FileSystemDirectoryEntry.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.
1490FileSystemDirectoryEntry.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.
1491FileSystemDirectoryEntry.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.
1492FileSystemDirectoryEntry.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.
1493FileSystemDirectoryHandleDirectories, Directory, File System Access API, FileSystemDirectoryHandle, Files, Interface, working with directories
The FileSystemDirectoryHandle interface of the File System Access API provides a handle to a file system directory. The interface is accessed via the window.showDirectoryPicker() method.
1494FileSystemDirectoryHandle.entries()Directories, File System Access API, FileSystemDirectoryHandle, Files, Iterable, Method
The entries() method of the FileSystemDirectoryHandle interface returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
1495FileSystemDirectoryHandle.getDirectoryHandle()Directories, Directory, File, File System Access API, FileSystemDirectoryHandle, Method
The getDirectoryHandle() method of the FileSystemDirectoryHandle interface returns a FileSystemDirectoryHandle for a subdirectory with the specified name within the directory handle on which the method is called.
1496FileSystemDirectoryHandle.getFileHandle()Directory, File, File System Access API, FileSystemDirectoryHandle, Method
The getFileHandle() method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
1497FileSystemDirectoryHandle.keys()Directories, File System Access API, FileSystemDirectoryHandle, Files, Iterable, Method
The keys() method of the FileSystemDirectoryHandle interface returns a new Array Iterator containing the keys for each item in FileSystemDirectoryHandle.
1498FileSystemDirectoryHandle.removeEntry()Directory, File, File System Access API, FileSystemDirectoryHandle, Method
The removeEntry() method of the FileSystemDirectoryHandle interface attempts to remove an entry if the directory handle contains a file or directory called the name specified.
1499FileSystemDirectoryHandle.resolve()Directory, File, File System Access API, FileSystemDirectoryHandle, Method
The resolve() method of the FileSystemDirectoryHandle interface returns an Array of directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
1500FileSystemDirectoryHandle.values()Directory, File, File System Access API, FileSystemDirectoryHandle, Iterable, Method
The values() method of the FileSystemDirectoryHandle interface returns a new Array Iterator containing the values for each index in the FileSystemDirectoryHandle object.
1501FileSystemDirectoryReaderAPI, 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.
1502FileSystemDirectoryReader.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.
1503FileSystemEntryAPI, 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 entry 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.
1504FileSystemEntry.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.
1505FileSystemEntry.filesystemAPI, 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.
1506FileSystemEntry.fullPathAPI, 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.
1507FileSystemEntry.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.
1508FileSystemEntry.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.
1509FileSystemEntry.isDirectoryAPI, 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.
1510FileSystemEntry.isFileAPI, 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.
1511FileSystemEntry.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.
1512FileSystemEntry.nameAPI, 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 FileSystemEntry.fullPath property).
1513FileSystemEntry.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.
1514FileSystemEntry.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.
1515FileSystemEntrySyncAPI, 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.
1516FileSystemFileEntryAPI, 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 FileSystemFileEntry.file method, which creates a File object that can be used to read the file.
1517FileSystemFileEntry.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.
1518FileSystemFileEntry.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.
1519FileSystemFileHandleDirectory, File, File System Access API, FileSystemFileHandle, Interface, working with files
The FileSystemFileHandle interface of the File System Access API represents a handle to a file system entry. The interface is accessed thought the window.showOpenFilePicker() method.
1520FileSystemFileHandle.createWritable()Directory, File, File System Access API, FileSystemFileHandle, Method, stream, working with files
The createWritable() method of the FileSystemFileHandle interface creates a FileSystemWritableFileStream that can be used to write to a file.
1521FileSystemFileHandle.getFile()Directory, File, File System Access API, FileSystemFileHandle, Method, getFile, working with files
The getFile() method of the FileSystemFileHandle interface returns a File representing the state on disk of the entry represented by the handle.
1522FileSystemFlagsAPI, 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:
1523FileSystemFlags.createAPI, 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().
1524FileSystemFlags.exclusiveAPI, 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().
1525FileSystemHandleDirectories, File System Access API, FileSystemHandle, Files, Interface, handle, working with files
The FileSystemHandle interface of the File System Access API is an object which represents an entry. Multiple handles can represent the same entry. For the most part you do not work with FileSystemEntry directly but rather it's child interfaces FileSystemFileEntry and FileSystemDirectoryEntry
1526FileSystemHandle.isSameEntry()Directory, File, File System Access API, FileSystemHandle, Method
The isSameEntry() method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
1527FileSystemHandle.kindDirectory, File, File System Access API, FileSystemHandle, Property, Read-only, handle
The kind read-only property of the FileSystemHandle interface returns the type of entry. This is 'file' if the associated entry is a file or 'directory'. It is used to distinguish files from directories when iterating over the contents of a directory.
1528FileSystemHandle.nameDirectory, File, File System Access API, FileSystemHandle, Property, Read-only
The name read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
1529FileSystemHandle.queryPermission()Directory, File, File System Access API, FileSystemHandle, Method
The queryPermission() method of the FileSystemHandle interface queries the current permission state of the current handle.
1530FileSystemHandle.requestPermission()Directory, File, File System Access API, FileSystemHandle, Method
The requestPermission() method of the FileSystemHandle interface requests read or readwrite permissions for the file handle.
1531FileSystemSyncAPI, File API, File System API, Files, Offline, filesystem
In the File System API, a FileSystemSyncobject represents a file system. It has two properties.
1532FileSystemWritableFileStreamFile, File System Access API, FileSystemWritableFileStream, Interface, stream, write file
The FileSystemWritableFileStream interface of the File System Access API is a WritableStream object with additional convenience methods, which operates on a single file on disk. The interface is accessed through the FileSystemFileHandle.createWritable() method.
1533FileSystemWritableFileStream.seek()File, File System Access API, FileSystemWritableFileStream, Method, stream, write
The seek() method of the FileSystemWritableFileStream interface updates the current file cursor offset to the position (in bytes) specified when calling the method.
1534FileSystemWritableFileStream.truncate()File, File System Access API, FileSystemWritableFileStream, Method, stream, write
The truncate() method of the FileSystemWritableFileStream interface resizes the file associated with the stream to be the specified size in bytes.
1535FileSystemWritableFileStream.write()File, File System Access API, FileSystemWritableFileStream, Method, stream, working with files, write
The write() method of the FileSystemWritableFileStream interface writes content into the file the method is called on, at the current file cursor offset.
1536FocusEventAPI, DOM, DOM Events, Event, Reference
The FocusEvent interface represents focus-related events, including Element/focus_event, Element/blur_event, Element/focusin_event, and Element/focusout_event.
1537FocusEvent()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.
1538FocusEvent.relatedTargetAPI, Event, Experimental, FocusEvent, Property, Reference
The FocusEvent.relatedTarget read-only property is the secondary target, depending on the type of event:
1539FontFaceAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, 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.
1540FontFace.displayAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, display
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.
1541FontFace.familyAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, 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-face/font-family descriptor of @font-face.
1542FontFace.featureSettingsAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, featureSettings
The featureSettings property of the FontFace interface retrieves or sets infrequently used font features that are not available from a font's variant properties. It is equivalent to the @font-face/font-feature-settings descriptor.
1543FontFace.FontFace()API, CSS Font Loading API, CSSOM, Constructor, FontFace, Fonts, Reference
The FontFace() constructor creates a new FontFace object.
1544FontFace.loadAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Method, Reference, load
The load() method of the FontFace interface loads a font based on current object's constructor-passed requirements, including a location or source buffer, and returns a Promise that resolves with the current FontFace object.
1545FontFace.loadedAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, loaded
The loaded read-only property of the FontFace interface returns a Promise that resolves with the current FontFace object when the font specified in the object's constructor is done loading or rejects with a SyntaxError.
1546FontFace.statusAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, status
The status read-only property of the FontFace interface returns an enumerated value indicating the status of the font, one of "unloaded", "loading", "loaded", or "error".
1547FontFace.stretchAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, stretch
The stretch property of the FontFace interface retrieves or sets how the font stretches. It is equivalent to the @font-face/font-stretch descriptor.
1548FontFace.styleAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, Style
The style property of the FontFace interface retrieves or sets the font's style. It is equivalent to the @font-face/font-style descriptor.
1549FontFace.unicodeRangeAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, unicodeRange
The unicodeRange property of the FontFace interface retrieves or sets the range of unicode codepoints encompassing the font. It is equivalent to the @font-face/unicode-range descriptor.
1550FontFace.variantAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, variant
The variant property of the FontFace interface programmatically retrieves or sets font variant values. It is equivalent to the @font-face/font-variant descriptor.
1551FontFace.weightAPI, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, weight
The weight property of the FontFace interface retrieves or sets the weight of the font. It is equivalent to the @font-face/font-weight descriptor.
1552FontFaceSetAPI, CSS Font Loading API, CSSOM, 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.It is available as document.fonts.
1553FontFaceSet.check()API, CSS Font Loading API, CSSOM, Experimental, FontFaceSet, Method, Reference
A Boolean that is true if the font list is available
1554FontFaceSet.load()API, CSS Font Loading API, CSSOM, 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.
1555FontFaceSet.readyAPI, CSSFontLoading API, CSSOM, Experimental, FontFaceSet, Fonts, Property, Ready, Reference
The ready readonly property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.
1556FontFaceSetLoadEventAPI, CSSFontLoading, CSSOM, Event, Experimental, FontFaceLoadEvent, Fonts, Interface, Reference
The FontFaceSetLoadEvent interface of the CSS Font Loading API is fired whenever a FontFaceSet loads.
1557FontFaceSetLoadEvent.fontfacesAPI, CSSFontLoading, CSSOM, Experimental, FontFaceLoadEvent, Fonts, Property, Reference, fontfaces
The fontfaces read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
1558FontFaceSetLoadEvent.FontFaceSetLoadEvent()API, CSSFontLoading, CSSOM, Constructor, Experimental, FontFaceLoadEvent, Fonts, Reference
The FontFaceSetLoadEvent constructor creates a new FontFaceLoadEvent object which is fired whenever a FontFaceSet loads.
1559Force Touch eventsAdvanced, DOM, Event, Mobile, NeedsBrowserCompatibility, NeedsCompatTable, NeedsMobileBrowserCompatibility, Reference
Force Touch events
1560FormDataAPI, 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".
1561FormData.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.
1562FormData.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.
1563FormData.entries()API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.entries() method returns an Iteration_protocols 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.
1564FormData()API, Constructor, FormData, Reference, XHR, XMLHttpRequest
The FormData() constructor creates a new FormData object.
1565FormData.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 FormData.getAll() method instead.
1566FormData.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.
1567FormData.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.
1568FormData.keys()API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.keys() method returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are USVString objects.
1569FormData.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.
1570Using FormData ObjectsAJAX, 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 HTMLFormElement.submit method would use to send the data if the form's encoding type were set to multipart/form-data.
1571FormData.values()API, FormData, Iterator, Method, Reference, XMLHttpRequest API
The FormData.values() method returns an Iteration_protocols allowing to go through all values contained in this object. The values are USVString or Blob objects.
1572FormDataEntryValueFormDataEntryValue
A string or File that represents a single value from a set of FormData key-value pairs.
1573FormDataEventAPI, Experimental, FormDataEvent, Forms, Landing, Reference
The FormDataEvent interface represents a formdata event — such an event is fired on an HTMLFormElement object after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData.FormData constructor.
1574FormDataEvent.formDataAPI, Experimental, FormDataEvent, Forms, Property, Reference
The formData read only property of the FormDataEvent interface contains the FormData object representing the data contained in the form when the event was fired.
1575FormDataEvent()API, Constructor, Experimental, FormDataEvent, Forms, Reference
The FormDataEvent() constructor creates a new FormDataEvent object instance.
1576Frame Timing APIGuide, 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.
1577Using the Frame Timing APIGuide, 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.
1578Fullscreen APIAPI, 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.
1579Guide to the Fullscreen APIAPI, 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.
1580FullscreenOptionsAPI, 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 Element.requestFullscreen on an element to place that element into full-screen mode.
1581FullscreenOptions.navigationUIAPI, Configuration, Full-screen, Fullscreen API, FullscreenOptions, Option, Property, Reference, Setting, fullscreen, navigationUI, screen
The FullscreenOptions dictionary's navigationUI property is used when calling Element.requestFullscreen to specify to what extent the user agent should include its standard user interface while the element is presented in full-screen mode.
1582GainNodeAPI, 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.
1583GainNode.gainAPI, Gain, GainNode, Property, Reference, Web Audio API
The gain property of the GainNode interface is an a-rate AudioParam representing the amount of gain to apply.
1584GainNode()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.
1585Gamepad APIAPI, 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.
1586Using the Gamepad APIAPI, 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.
1587GamepadAPI, 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.
1588Gamepad.axesAPI, 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).
1589Gamepad.buttonsAPI, 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.
1590Gamepad.connectedAPI, 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.
1591Gamepad.displayIdAPI, Experimental, Gamepad, Property, Reference, VR, Virtual Reality, WebVR, displayId
WebVR API
1592Gamepad.handAPI, 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.
1593Gamepad.hapticActuatorsAPI, 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.
1594Gamepad.idAPI, 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.
1595Gamepad.indexAPI, 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.
1596Gamepad.mappingAPI, 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.
1597Gamepad.poseAPI, 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).
1598Gamepad.timestampAPI, 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.
1599GamepadButtonAPI, 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.
1600GamepadButton.pressedAPI, 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).
1601GamepadButton.valueAPI, 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.
1602GamepadEventAPI, 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.
1603GamepadEvent.gamepadAPI, 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.
1604GamepadEvent()API, Constructor, Gamepad API, Games, Reference
The GamepadEvent() constructor creates a new GamepadEvent object.
1605GamepadHapticActuatorAPI, 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.
1606GamepadHapticActuator.pulse()API, Experimental, Gamepad, Gamepad API, GamepadHapticActuator, Method, Reference, pulse
The pulse() method of the GamepadHapticActuator interface makes the hardware pulse at a certain intensity for a specified duration.
1607GamepadHapticActuator.typeAPI, Experimental, Gamepad, Gamepad API, GamepadHapticActuator, Property, Reference, Type
The type read-only property of the GamepadHapticActuator interface returns an enum representing the type of the haptic hardware.
1608GamepadPoseAPI, Experimental, Gamepad, GamepadPose, Interface, Reference, VR, Virtual Reality, WebVR
The GamepadPose interface of the Gamepad API represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.)
1609GamepadPose.angularAccelerationAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, angularAcceleration
The angularAcceleration read-only property of the GamepadPose interface returns an array representing the angular acceleration vector of the Gamepad, in meters per second per second.
1610GamepadPose.angularVelocityAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, angularVelocity
The angularVelocity read-only property of the GamepadPose interface returns an array representing the angular velocity vector of the Gamepad, in radians per second.
1611GamepadPose.hasOrientationAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, hasOrientation
The hasOrientation read-only property of the GamepadPose interface returns a Boolean stating whether the Gamepad can track and return orientation information.
1612GamepadPose.hasPositionAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, hasPosition
The hasPosition read-only property of the GamepadPose interface returns a Boolean stating whether the Gamepad can track and return position information.
1613GamepadPose.linearAccelerationAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, linearAcceleration
The linearAcceleration read-only property of the GamepadPose interface returns an array representing the linear acceleration vector of the Gamepad, in meters per second per second.
1614GamepadPose.linearVelocityAPI, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, linearVelocity
The linearVelocity read-only property of the GamepadPose interface returns an array representing the linear velocity vector of the Gamepad, in meters per second.
1615GamepadPose.orientationAPI, Experimental, Gamepad API, GamepadPose, Orientation, Property, Reference, Virtual Reality, WebVR
The orientation read-only property of the GamepadPose interface returns the orientation of the Gamepad, as a quarternion value.
1616GamepadPose.positionAPI, Experimental, Gamepad API, GamepadPose, Position, Property, Reference, Virtual Reality, WebVR
The position read-only property of the GamepadPose interface returns the position of the Gamepad as a 3D vector.
1617Geolocation APIGeolocation API, Guide, Intermediate, Overview
The Geolocation API allows the user to provide their location to web applications if they so desire. For privacy reasons, the user is asked for permission to report location information.
1618Using the Geolocation APIGeolocation API, Guide, Tutorial
The Geolocation API is used to retrieve the user's location, so that it can for example be used to display their position using a mapping API. This article explains the basics of how to use it.
1619GeolocationAPI, Advanced, Geolocation API, Interface, Reference, Secure context
The Geolocation interface represents an object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.
1620Geolocation.clearWatch()API, Geolocation, Geolocation API, Method, NeedsExample, Reference, Secure context
The Geolocation.clearWatch() method is used to unregister location/error monitoring handlers previously installed using Geolocation.watchPosition().
1621Geolocation.getCurrentPosition()API, Geolocation, Geolocation API, Method, Reference, Secure context, getCurrentPosition
The Geolocation.getCurrentPosition() method is used to get the current position of the device.
1622Geolocation.watchPosition()API, Geolocation, Geolocation API, Method, Reference, Secure context
The Geolocation method watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes.
1623GeolocationCoordinatesAPI, Geolocation API, GeolocationCoordinates, Interface, Secure context
The GeolocationCoordinates interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.
1624GeolocationCoordinates.accuracyAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, accuracy
The GeolocationCoordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the GeolocationCoordinates.latitude and GeolocationCoordinates.longitude properties expressed in meters.
1625GeolocationCoordinates.altitudeAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, altitude
The GeolocationCoordinates.altitude read-only property is a double representing the altitude of the position in meters above the WGS84 ellipsoid (which defines the nominal sea level surface). This value is null if the implementation cannot provide this data.
1626GeolocationCoordinates.altitudeAccuracyAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, altitudeAccuracy
The GeolocationCoordinates.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.
1627GeolocationCoordinates.headingAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, heading
The GeolocationCoordinates.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 GeolocationCoordinates.speed is 0, heading is NaN. If the device is not able to provide heading information, this value is null.
1628GeolocationCoordinates.latitudeAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, latitude
The GeolocationCoordinates.latitude read-only property is a double representing the latitude of the position in decimal degrees.
1629GeolocationCoordinates.longitudeAPI, GPS, Geolocation, Geolocation API, GeolocationCoordinates, Global Positioning System, Property, Read-only, Reference, Secure context, longitude
The GeolocationCoordinates 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 GeolocationCoordinates object is part of the GeolocationPosition interface, which is the object type returned by Geolocation API functions that obtain and return a geographical position.
1630GeolocationCoordinates.speedAPI, Geolocation API, GeolocationCoordinates, Property, Secure context, speed
The GeolocationCoordinates.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.
1631GeolocationPositionAPI, Geolocation API, GeolocationPosition, Interface, Secure context
The GeolocationPosition interface represents the position of the concerned device at a given time. The position, represented by a GeolocationCoordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.
1632GeolocationPosition.coordsAPI, Geolocation API, GeolocationPosition, Property, Secure context, coords
The GeolocationPosition.coords read-only property returns a GeolocationCoordinates object representing a geographic position. It contains the location, that is longitude and latitude on the Earth, the altitude, and the speed of the object concerned, regrouped inside the returned value. It also contains accuracy information about these values.
1633GeolocationPosition.timestampAPI, Geolocation API, GeolocationPosition, Property, Secure context, timeStamp
The GeolocationPosition.timestamp read-only property returns a DOMTimeStamp object, represents the date and the time of the creation of the GeolocationPosition object it belongs to. The precision is to the millisecond.
1634GeolocationPositionErrorAPI, Geolocation API, GeolocationPositionError, Interface, Secure context
The GeolocationPositionError interface represents the reason of an error occurring when using the geolocating device.
1635GeolocationPositionError.codeAPI, Code, Geolocation API, GeolocationPositionError, Property, Secure context
The GeolocationPositionError.code read-only property is an unsigned short representing the error code.
1636GeolocationPositionError.messageAPI, Geolocation API, GeolocationPositionError, Property, Secure context, message
The GeolocationPositionError.message read-only property returns a human-readable DOMString describing the details of the error.
1637GeometryUtilsAPI, CSSOM View, Experimental, Interface
The GeometryUtils interface provides different utility function to retrieve geometry information about DOM nodes.
1638GestureEventAPI, DOM, Interface, Non-standard, Reference
The GestureEvent is a proprietary interface specific to WebKit which gives information regarding multi-touch gestures. Events using this interface include gesturestart, gesturechange, and gestureend.
1639getCandidateWindowClientRect
No summary!
1640GlobalEventHandlersAPI, GlobalEventHandlers, HTML DOM, Mixin, Reference, events
The GlobalEventHandlers mixin describes the event handlers common to several interfaces like HTMLElement, Document, or Window.
1641GlobalEventHandlers.onloadstart
The onloadstart property sets and returns the event handler for the loadstart event.
1642GlobalEventHandlers.onabortAPI, Event Handler, Experimental, GlobalEventHandlers, NeedsContent, NeedsHelp, NeedsUpdate, Property, Reference, Window
The onabort property of the GlobalEventHandlers mixin is the EventHandler for processing abort events sent to the window.
1643GlobalEventHandlers.onanimationcancelAPI, Animation, CSS Animations, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Web Animations, Window, onanimationcancel, web animations api
The onanimationcancel property of the GlobalEventHandlers mixin is the EventHandler for processing animationcancel events.
1644GlobalEventHandlers.onanimationendAPI, Animations, CSS, CSS Animations, CSS3 Animations, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Web Animations, Window, onanimationend, web animations api
The onanimationend property of the GlobalEventHandlers mixin is the EventHandler for processing animationend events.
1645GlobalEventHandlers.onanimationiterationAPI, Animation, CSS, CSS Animations, CSS Transitions, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Transitions, Web Animations, animationiteration, onanimationiteration, web animations api
The onanimationiteration property of the GlobalEventHandlers mixin is the EventHandler for processing animationiteration events.
1646GlobalEventHandlers.onanimationstartAPI, Animations, CSS Animations, CSS3 Animations, Document, Event Handler, GlobalEventHandlers, HTMLElement, Reference, Window, onanimationstart, onwebkitanimationstart
An event handler for the animationstart event. This event is sent when a CSS Animation starts to play.
1647GlobalEventHandlers.onauxclickAPI, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, auxclick
The onauxclick property of the GlobalEventHandlers mixin is an EventHandler for processing auxclick events.
1648GlobalEventHandlers.onblurAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onblur property of the GlobalEventHandlers mixin is the EventHandler for processing blur events. It's available on Element, Document, and Window.
1649GlobalEventHandlers.oncancelAPI, Dialog, Event Handler, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
The oncancel property of the GlobalEventHandlers mixin is an EventHandler for processing cancel events sent to a dialog element.
1650GlobalEventHandlers.oncanplayAPI, Event Handler, GlobalEventHandlers, Property, Reference
The oncanplay property of the GlobalEventHandlers mixin is the EventHandler for processing canplay events.
1651GlobalEventHandlers.oncanplaythroughAPI, Event Handler, GlobalEventHandlers, Property, Reference
The oncanplaythrough property of the GlobalEventHandlers mixin is the EventHandler for processing canplaythrough events.
1652GlobalEventHandlers.onchangeAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onchange property of the GlobalEventHandlers mixin is an EventHandler for processing change events.
1653GlobalEventHandlers.onclickAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onclick property of the GlobalEventHandlers mixin is the EventHandler for processing Element/click_event events on a given element.
1654GlobalEventHandlers.oncloseAPI, Dialog, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
The onclose property of the GlobalEventHandlers mixin is an EventHandler for processing close events sent to a dialog element.
1655GlobalEventHandlers.oncontextmenuAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The oncontextmenu property of the GlobalEventHandlers mixin is an EventHandler that processes contextmenu events.
1656GlobalEventHandlers.oncuechangeAPI, Event Handler, GlobalEventHandlers, Property, Reference, TextTrack, WebVTT, text track, track, vtt
The oncuechange property of the GlobalEventHandlers mixin is the EventHandler for processing cuechange events.
1657GlobalEventHandlers.ondblclickAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The ondblclick property of the GlobalEventHandlers mixin is an EventHandler that processes dblclick events on the given element.
1658GlobalEventHandlers.ondragAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the drag event.
1659GlobalEventHandlers.ondragendAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragend event.
1660GlobalEventHandlers.ondragenterAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragenter event.
1661GlobalEventHandlers.ondragleaveAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragleave event.
1662GlobalEventHandlers.ondragoverAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragover event.
1663GlobalEventHandlers.ondragstartAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragstart event.
1664GlobalEventHandlers.ondropAPI, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the drop event.
1665GlobalEventHandlers.ondurationchangeAPI, Event Handler, GlobalEventHandlers, Property, Reference
The ondurationchange property of the GlobalEventHandlers mixin is the EventHandler for processing durationchange events.
1666GlobalEventHandlers.onemptied
The onemptied property sets and returns the event handler for the emptied event.
1667GlobalEventHandlers.onendedAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onended property of the GlobalEventHandlers mixin is the EventHandler for processing ended events.
1668GlobalEventHandlers.onerrorAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.
1669GlobalEventHandlers.onfocusAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onfocus property of the GlobalEventHandlers mixin is an EventHandler that processes focus events on the given element.
1670GlobalEventHandlers.onformdataAPI, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The onformdata property of the GlobalEventHandlers mixin is the EventHandler for processing formdata events, fired after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData.FormData constructor. onformdata is available on HTMLFormElement.
1671GlobalEventHandlers.ongotpointercaptureAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, ongotpointercapture
The ongotpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes gotpointercapture events.
1672GlobalEventHandlers.oninputAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The oninput property of the GlobalEventHandlers mixin is an EventHandler that processes input events on the input, select, and textarea elements. It also handles these events on elements where HTMLElement.contentEditable or Document.designMode are turned on.
1673GlobalEventHandlers.oninvalidAPI, Event Handler, GlobalEventHandlers, Property, Reference
The oninvalid property of the GlobalEventHandlers mixin is an EventHandler that processes invalid events.
1674GlobalEventHandlers.onkeydownAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events
The onkeydown property of the GlobalEventHandlers mixin is an EventHandler that processes keydown events.
1675GlobalEventHandlers.onkeypressAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onkeypress property of the GlobalEventHandlers mixin is an EventHandler that processes keypress events.
1676GlobalEventHandlers.onkeyupAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onkeyup property of the GlobalEventHandlers mixin is an EventHandler that processes keyup events.
1677GlobalEventHandlers.onloadAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onload
The onload property of the GlobalEventHandlers mixin is an EventHandler that processes load events on a Window, XMLHttpRequest, img element, etc.
1678GlobalEventHandlers.onloadeddataAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onloadeddata property of the GlobalEventHandlers mixin is the EventHandler for processing loadeddata events.
1679GlobalEventHandlers.onloadedmetadataAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onloadedmetadata property of the GlobalEventHandlers mixin is the EventHandler for processing loadedmetadata events.
1680GlobalEventHandlers.onloadendAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadend
The onloadend property of the GlobalEventHandlers mixin is an EventHandler representing the code to be called when the loadend event is raised (when progress has stopped on the loading of a resource.)
1681GlobalEventHandlers.onloadstartAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadstart
The onloadstart property of the GlobalEventHandlers mixin is an EventHandler representing the code to be called when the loadstart event is raised (when progress has begun on the loading of a resource.)
1682GlobalEventHandlers.onlostpointercaptureAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, onlostpointercapture
The onlostpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes lostpointercapture events.
1683GlobalEventHandlers.onmousedownAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmousedown property of the GlobalEventHandlers mixin is an EventHandler that processes mousedown events.
1684GlobalEventHandlers.onmouseenterAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onmouseenter property of the GlobalEventHandlers mixin is the EventHandler for processing mouseenter events.
1685GlobalEventHandlers.onmouseleaveAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onmouseleave property of the GlobalEventHandlers mixin is the EventHandler for processing mouseleave events.
1686GlobalEventHandlers.onmousemoveAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmousemove property of the GlobalEventHandlers mixin is an EventHandler that processes mousemove events.
1687GlobalEventHandlers.onmouseoutAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseout property of the GlobalEventHandlers mixin is an EventHandler that processes mouseout events.
1688GlobalEventHandlers.onmouseoverAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseover property of the GlobalEventHandlers mixin is an EventHandler that processes mouseover events.
1689GlobalEventHandlers.onmouseupAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseup property of the GlobalEventHandlers mixin is an EventHandler that processes mouseup events.
1690GlobalEventHandlers.onmousewheel
The onmousewheel property sets and returns the event handler for the mousewheel event.
1691GlobalEventHandlers.onpauseAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onpause property of the GlobalEventHandlers mixin is the EventHandler for processing pause events.
1692GlobalEventHandlers.onplayAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onplay property of the GlobalEventHandlers mixin is the EventHandler for processing play events.
1693GlobalEventHandlers.onplayingAPI, Event Handler, GlobalEventHandlers, Property, Reference
The onplaying property of the GlobalEventHandlers mixin is the EventHandler for processing playing events.
1694GlobalEventHandlers.onpointercancelAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointercancel property of the GlobalEventHandlers mixin is an EventHandler that processes pointercancel events.
1695GlobalEventHandlers.onpointerdownAPI, Document, Element, GlobalEventHandlers, HTML DOM, Pointer Events, Pointer Events API, PointerEvent, Property, Reference, Window
The GlobalEventHandlers event handler onpointerdown is used to specify the event handler for the pointerdown event, which is fired when the pointing device is initially pressed. This event can be sent to Window, Document, and Element objects.
1696GlobalEventHandlers.onpointerenterAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerenter property of the GlobalEventHandlers mixin is an EventHandler that processes HTMLElement/pointerenter_event events.
1697GlobalEventHandlers.onpointerleaveAPI, GlobalEventHandlers, HTML DOM, NeedsBrowserCompatibility, Pointer Events, PointerEvent, Property, Reference, onpointerleave
The GlobalEventHandlers for the HTMLElement/pointerleave_event event, which is delivered to a Node when the pointer (mouse cursor, fingertip, etc.) exits its hit test area (for example, if the cursor exits an Element or Window's content area). This event is part of the Pointer Events API.
1698GlobalEventHandlers.onpointermoveAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointermove property of the GlobalEventHandlers mixin is an EventHandler that processes pointermove events.
1699GlobalEventHandlers.onpointeroutAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerout property of the GlobalEventHandlers mixin is an EventHandler that processes pointerout events.
1700GlobalEventHandlers.onpointeroverAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerover property of the GlobalEventHandlers mixin is an EventHandler that processes pointerover events.
1701GlobalEventHandlers.onpointerupAPI, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerup property of the GlobalEventHandlers mixin is an EventHandler that processes pointerup events.
1702GlobalEventHandlers.onresetAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onreset property of the GlobalEventHandlers mixin is an EventHandler that processes reset events.
1703GlobalEventHandlers.onresizeAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onresize
The onresize property of the GlobalEventHandlers interface is an EventHandler that processes resize events.
1704GlobalEventHandlers.onscrollAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onscroll property of the GlobalEventHandlers mixin is an EventHandler that processes scroll events.
1705GlobalEventHandlers.onselectAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onselect property of the GlobalEventHandlers mixin is an EventHandler that processes select events.
1706GlobalEventHandlers.onselectionchangeAPI, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectionchange
The onselectionchange property of the GlobalEventHandlers mixin is an EventHandler that processes selectionchange events.
1707GlobalEventHandlers.onselectstartAPI, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectstart
The onselectstart property of the GlobalEventHandlers mixin is an EventHandler that processes selectstart events.
1708GlobalEventHandlers.onsubmitAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onsubmit property of the GlobalEventHandlers mixin is an EventHandler that processes submit events.
1709GlobalEventHandlers.ontouchcancelAPI, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The ontouchcancel property of the GlobalEventHandlers mixin is an EventHandler that processes touchcancel events.
1710GlobalEventHandlers.ontouchendAPI, Experimental, HTML DOM, Reference, TouchEvent
The ontouchstart is a GlobalEventHandlers for the touchend event.
1711GlobalEventHandlers.ontouchmoveAPI, Experimental, HTML DOM, Reference
A GlobalEventHandlers for the touchmove event.
1712GlobalEventHandlers.ontouchstartAPI, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The ontouchstart property of the GlobalEventHandlers mixin is an EventHandler that processes touchstart events.
1713GlobalEventHandlers.ontransitioncancelAPI, CSS Transitions, CSS3 Transitions, Event Handler, GlobalEventHandlers, Property, Reference, ontransitioncancel
The ontransitioncancel property of the GlobalEventHandlers mixin is an EventHandler that processes transitioncancel events.
1714GlobalEventHandlers.ontransitionendAPI, CSS Transitions, CSS3 Transitions, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Window, ontransitionend
The ontransitionend property of the GlobalEventHandlers mixin is an EventHandler that processes transitionend events.
1715GlobalEventHandlers.onwheelAPI, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onwheel
The onwheel property of the GlobalEventHandlers mixin is an EventHandler that processes wheel events.
1716GyroscopeAPI, Generic Sensor API, Gyroscope, Gyroscope API, Interface, Reference, Sensor, Sensor APIs, Sensors
The Gyroscope interface of the Sensor APIs provides on each reading the angular velocity of the device along all three axes.
1717Gyroscope.Gyroscope()API, Constructor, Generic Sensor API, Gyroscope, Reference, Sensor, Sensor APIs, Sensors
The Gyroscope constructor creates a new Gyroscope object which provides on each reading the angular velocity of the device along all three axes.
1718Gyroscope.xAPI, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, x
The x read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its x axis.
1719Gyroscope.yAPI, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, y
The y read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its y axis.
1720Gyroscope.zAPI, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, z
The z read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its z axis.
1721HashChangeEventAPI, Event, HTML5, HashChange, Interface, Reference, events
The HashChangeEvent interface represents events that fire when the fragment identifier of the URL has changed.
1722HashChangeEvent.oldURLNeedsDeletion
This article is obsolete and should be deleted.
1723HashChangeEvent.newURLAPI, HashChangeEvent, Property, Reference, Web API
The newURL read-only property of the HashChangeEvent interface returns the new URL to which the window is navigating.
1724HashChangeEvent.oldURLAPI, HashChangeEvent, Property, Reference, Web API
The oldURL read-only property of the HashChangeEvent interface returns the previous URL from which the window was navigated.
1725HeadersAPI, Experimental, Fetch, Fetch API, Headers, Interface, Reference
The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing headers from the list of the request's headers.
1726Headers.append()API, Append, Experimental, Fetch, Method, Reference
The append() method of the Headers interface appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist.
1727Headers.delete()API, Experimental, Fetch, Method, Reference, delete
The delete() method of the Headers interface deletes a header from the current Headers object.
1728Headers.entries()API, Experimental, Fetch API, Headers, Method, Reference
The Headers.entries() method returns an Iteration_protocols allowing to go through all key/value pairs contained in this object. The both the key and value of each pairs are ByteString objects.
1729Headers.get()API, Experimental, Fetch, Headers, Method, Reference, get
The get() method of the Headers interface returns a byte string of all the values of a header within a Headers object with a given name. If the requested header doesn't exist in the Headers object, it returns null.
1730Headers.getAll()API, Experimental, Fetch, Headers, Method, Obsolete, Reference, getAll
The getAll() method of the Headers interface used to return an array of all the values of a header within a Headers object with a given name; in newer versions of the Fetch spec, it has been deleted, and Headers.get() has been updated to fetch all header values instead of only the first one.
1731Headers.has()API, Experimental, Fetch, Method, Reference, has
The has() method of the Headers interface returns a boolean stating whether a Headers object contains a certain header.
1732Headers()API, Constructor, Experimental, Fetch, Reference
The Headers() constructor creates a new Headers object.
1733Headers.keys()API, Experimental, Fetch API, Headers, Method, Reference
The Headers.keys() method returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are ByteString objects.
1734Headers.set()API, Experimental, Fetch, Method, Reference, set
The set() method of the Headers interface sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist.
1735Headers.values()API, Experimental, Fetch API, Headers, Method, Reference
The Headers.values() method returns an Iteration_protocols allowing to go through all values contained in this object. The values are ByteString objects.
1736History APIAPI, Advanced, HTML DOM, History, History API
The DOM Window object provides access to the browser's session history (not to be confused for WebExtensions history) through the Window.history object. It exposes useful methods and properties that let you navigate back and forth through the user's history, and manipulate the contents of the history stack.
1737Ajax navigation example
This is an example of an AJAX website composed only of three pages (first_page.php, second_page.php and third_page.php). To see how it works, please create the following files (or git clone https://github.com/giabao/mdn-ajax-nav-example.git ):
1738Working with the History APIAdvanced, DOM, History API, History API Tutorial
HTML5 introduced the History.pushState and History.replaceState methods for add and modifying history entries, respectively. These methods work in conjunction with the Window.onpopstate event.
1739HistoryAPI, HTML DOM, History API, Interface, Web
The History interface allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
1740History.back()API, HTML DOM, History, History API, Method, Reference, Web
The History.back() method causes the browser to move back one page in the session history.
1741History.forward()API, HTML DOM, History, History API, Method, Reference
The History.forward() method causes the browser to move forward one page in the session history. It has the same effect as calling History.go.
1742History.go()API, HTML DOM, History, History API, Method, Reference
The History.go() method loads a specific page from the session history. You can use it to move forwards and backwards through the history depending on the value of a parameter.
1743History.lengthAPI, HTML DOM, History, History API, Property, Read-only, Reference
The History.length read-only property returns an integer representing the number of elements in the session history, including the currently loaded page.
1744History.pushState()API, HTML DOM, History, History API, Location, Method, Reference, Session, URL, Web, pushState
In an HTML document, the history.pushState() method adds an entry to the browser's session history stack.
1745History.replaceState()API, HTML DOM, History, History API, Method, Reference
The History.replaceState() method modifies the current history entry, replacing it with the stateObj, title, and URL passed in the method parameters. This method is particularly useful when you want to update the state object or URL of the current history entry in response to some user action.
1746History.scrollRestorationAPI, HTML DOM, History, History API, Property, Reference
The scrollRestoration property of History interface allows web applications to explicitly set default scroll restoration behavior on history navigation.
1747History.stateAPI, HTML DOM, History, History API, Property, Reference
The History.state property returns a value representing the state at the top of the history stack.
1748HkdfParamsAPI, Dictionary, HkdfParams, Reference, Web Crypto API
The HkdfParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey(), when using the HKDF algorithm.
1749HmacImportParamsAPI, Dictionary, HmacImportParams, Reference, Web Crypto API
The HmacImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey(), when generating a key for the HMAC algorithm.
1750HmacKeyGenParamsAPI, Dictionary, HmacKeyGenParams, Reference, Web Crypto API
The HmacKeyGenParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey(), when generating a key for the HMAC algorithm.
1751HMDVRDeviceAPI, Experimental, Expérimental(2), HMDVRDevice, Interface, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
The HMDVRDevice interface of the WebVR API represents a head mounted display, providing access to information about each eye, and allowing us to modify the current field of view.
1752HMDVRDevice.getEyeParameters()API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
The getEyeParameters() method of the HMDVRDevice interface returns current parameters for the eye specified as its argument ("left" or "right") — stored in a VREyeParameters object.
1753HMDVRDevice.setFieldOfView()API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
The setFieldOfView() method of the HMDVRDevice interface can be used to set the field of view for one eye, or both eyes simultaneously.
1754The HTML DOM APIAPI, Beginner, DOM, Documents, Elements, HTML DOM, HTML DOM API, Nodes, Overview, Web, Windows, hierarchy
HTML DOM
1755Using microtasks in JavaScript with queueMicrotask()API, Batch, Guide, HTML DOM, JavaScript, Microtask, Queue, Reference, ServiceWorker, SharedWorker, Window, Worker, asynchronous, queueMicrotask
A microtask is a short function which is executed after the function or program which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used by the user agent to drive the script's execution environment.
1756In depth: Microtasks and the JavaScript runtime environmentAPI, Advanced, Guide, JavaScript, Microtasks, asynchronous, queueMicrotask, runtime
This page is very much a work in progress; it contains technical details that may be useful while considering using—and while using—microtasks, but it is not absolutely necessary for most people to know. Additionally, there may be errors here as this draft is just that rough. ~~Sheppy
1757HTML Drag and Drop APIAdvanced, Guide, HTML5, Overview, XUL, drag and drop, events
HTML Drag and Drop interfaces enable applications to use drag-and-drop features in browsers.
1758Drag OperationsAdvanced, Guide, HTML, HTML5, drag and drop
HTML Drag and Drop API
1759File drag and dropGuide, drag and drop, drop zone
HTML Drag and Drop API
1760Dragging and Dropping Multiple ItemsGecko, Guide, Non-standard, drag and drop
HTML Drag and Drop API
1761Recommended Drag TypesGuide, drag and drop
HTML Drag and Drop API
1762HTML Sanitizer APIHTML Sanitizer API, Landing, Web API, santitize
The HTML Sanitizer API allow developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM.
1763HTMLAnchorElementAPI, HTML DOM, Interface, Reference
The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to <a> element; not to be confused with <link>, which is represented by HTMLLinkElement)
1764HTMLAnchorElement.downloadAPI, HTML DOM, HTMLAnchorElement, Property, Reference, download
The HTMLAnchorElement.download property is a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value, if any, specifies the default file name for use in labeling the resource in a local file system. If the name is not a valid file name in the underlying OS, the browser will adjust it.
1765HTMLAnchorElement.referrerPolicyAPI, Experimental, HTMLAnchorElement, Property, Reference, Referrer Policy
The HTMLAnchorElement.referrerPolicy property reflect the HTML referrerpolicy attribute of the a element defining which referrer is sent when fetching the resource.
1766HTMLAnchorElement.relAPI, HTML DOM, HTMLAnchorElement, Property, Reference
The HTMLAnchorElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the a element and the current document.
1767HTMLAnchorElement.relListAPI, HTML DOM, HTMLAnchorElement, Property, Reference, relList
The HTMLAnchorElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the a element and the current document.
1768HTMLAreaElementAPI, HTML DOM, Interface, Reference
The HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements.
1769HTMLAreaElement.referrerPolicyAPI, Experimental, HTMLAreaElement, Property, Reference, Referrer Policy
The HTMLAreaElement.referrerPolicy property reflect the HTML referrerpolicy attribute of the area element defining which referrer is sent when fetching the resource.
1770HTMLAreaElement.relAPI, HTML DOM, HTMLAreaElement, Property, Reference
The HTMLAreaElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the area element and the current document.
1771HTMLAreaElement.relListAPI, HTML DOM, HTMLAreaElement, Property, Reference
The HTMLAreaElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the area element and the current document.
1772HTMLAudioElementAPI, Audio, HTML, HTML DOM, HTMLAudioElement, Interface, Media, Reference, sound
The HTMLAudioElement interface provides access to the properties of audio elements, as well as methods to manipulate them.
1773Audio()API, Audio, Constructor, DOM, HTML, HTML DOM, HTMLAudioElement, Reference, sound
The Audio() constructor creates and returns a new HTMLAudioElement which can be either attached to a document for the user to interact with and/or listen to, or can be used offscreen to manage and play audio.
1774msAudioCategory
The msAudioCategory property of the HTML <audio> element, is a read/write proprietary attribute, specific to Internet Explorer and Microsoft Edge.
1775msAudioDeviceTypemsAudioDeviceType
The msAudioDeviceType property of the HTML <audio> element, is a read/write proprietary attribute, specific to Internet Explorer and Microsoft Edge.
1776HTMLBaseElementAPI, HTML DOM, Interface, Reference
The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.
1777HTMLBaseFontElementAPI, HTML DOM, Interface, Obsolete, Reference
The HTMLBaseFontElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating basefont elements.
1778HTMLBodyElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLBodyElement interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating body elements.
1779HTMLBRElementAPI, HTML DOM, Interface, Reference
The HTMLBRElement interface represents a HTML line break element (br). It inherits from HTMLElement.
1780HTMLButtonElementAPI, HTML DOM, HTMLButtonElement, Interface, Reference
The HTMLButtonElement interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating button elements.
1781disabled
Is a Boolean indicating whether or not the control is disabled, meaning that it does not accept any clicks.
1782HTMLButtonElement.labelsAPI, HTML DOM, Property, Reference
The HTMLButtonElement.labels read-only property returns a NodeList of the label elements associated with the button element.
1783HTMLCanvasElementAPI, Canvas, HTML DOM, Interface, Reference
The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.
1784HTMLCanvasElement.captureStream()Canvas, Experimental, Frame Capture, HTMLCanvasElement, Interface, Media, Media Capture DOM Elements, Method, Reference, Web, captureStream
The HTMLCanvasElement captureStream() method returns a MediaStream which includes a CanvasCaptureMediaStreamTrack containing a real-time video capture of the canvas's contents.
1785HTMLCanvasElement.getContext()API, Canvas, HTMLCanvasElement, Method, Reference
The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported, or the canvas has already been set to a different context mode.
1786HTMLCanvasElement.heightAPI, Canvas, HTMLCanvasElement, Property
The HTMLCanvasElement.height property is a positive integer reflecting the height HTML attribute of the canvas element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 150 is used.
1787HTMLCanvasElement.mozFetchAsStream()API, Canvas, HTMLCanvasElement, Method, Obsolete, Reference
The HTMLCanvasElement.mozFetchAsStream() internal method used to create a new input stream that, when ready, would provide the contents of the canvas as image data. However, this non-standard and internal method has been removed.
1788HTMLCanvasElement.mozGetAsFile()API, Canvas, Firefox, HTMLCanvasElement, Method, Mozilla, Non-standard, Obsolete, Reference, mozGetAsFile
The non-standard, Firefox-specific the HTMLCanvasElement method HTMLCanvasElement.mozGetAsFile returns a memory-based File object representing the image contained in the canvas.
1789HTMLCanvasElement.mozOpaqueAPI, Canvas, Deprecated, HTMLCanvasElement, Non-standard, Property, Reference
The non-standard HTMLCanvasElement.mozOpaque property is a Boolean reflecting the moz-opaque HTML attribute of the canvas element. It lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized.
1790HTMLCanvasElement.toBlob()API, Canvas, HTMLCanvasElement, Method, Reference
The HTMLCanvasElement.toBlob() method creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent. If type is not specified, the image type is image/png. The created image is in a resolution of 96dpi.
1791HTMLCanvasElement.toDataURL()API, Canvas, HTMLCanvasElement, Method, Reference
The HTMLCanvasElement.toDataURL() method returns a data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG). The returned image is in a resolution of 96 dpi.
1792HTMLCanvasElement.transferControlToOffscreen()API, Experimental, HTMLCanvasElement, Method, OffscreenCanvas, Reference
The HTMLCanvasElement.transferControlToOffscreen() method transfers control to an OffscreenCanvas object, either on the main thread or on a worker.
1793HTMLCanvasElement: webglcontextcreationerror eventWebGL
The webglcontextcreationerror event of the WebGL API is fired if the user agent is unable to create a WebGLRenderingContext context.
1794HTMLCanvasElement: webglcontextlost eventEvent, Reference, WebGL
The webglcontextlost event of the WebGL API is fired if the user agent detects that the drawing buffer associated with a WebGLRenderingContext object has been lost.
1795HTMLCanvasElement: webglcontextrestored eventWebGL
The webglcontextrestored event of the WebGL API is fired if the user agent restores the drawing buffer for a WebGLRenderingContext object.
1796HTMLCanvasElement.widthAPI, Canvas, HTMLCanvasElement, Property
The HTMLCanvasElement.width property is a positive integer reflecting the width HTML attribute of the canvas element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 300 is used.
1797HTMLCollectionAPI, DOM, Element Lists, HTMLCollection, Interface, Reference
The HTMLCollection interface represents a generic collection (array-like object similar to Functions/arguments) of elements (in document order) and offers methods and properties for selecting from the list.
1798HTMLCollection.length
The HTMLCollection.length property returns the number of items in a HTMLCollection.
1799HTMLCollection.itemAPI, HTML DOM, HTMLCollection, Method, Reference, item
The HTMLCollection method item() returns the node located at the specified offset into the collection.
1800HTMLContentElementAPI, Deprecated, HTML DOM, Interface, Reference, Référence(2)
The HTMLContentElement interface represents a content HTML Element, which is used in Shadow DOM.
1801HTMLContentElement.getDistributedNodes()API, HTML DOM, Property, Reference, Référence(2), Web Components
The HTMLContentElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <content> element.
1802HTMLContentElement.selectAPI, HTML DOM, Property, Reference, Référence(2), Web Components
The HTMLContentElement.select property reflects the select attribute. It is a DOMString containing a space-separated list of CSS selectors that select the content to insert in place of the <content> element.
1803HTMLDataElementAPI, HTML DOM, HTMLDataElement, Interface, Reference, data
The HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating data elements.
1804HTMLDataElement.valueAPI, HTML DOM, HTMLDataElement, Property, Reference, data, value
The value property of the HTMLDataElement interface returns a DOMString reflecting the value HTML attribute.
1805HTMLDataListElementAPI, HTML DOM, Interface, Reference
The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate datalist elements and their content.
1806HTMLDetailsElementAPI, HTML, HTML DOM, HTMLDetailsElement, Interface, Reference
The HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating details elements.
1807HTMLDetailsElement: toggle eventEvent, HTMLDetailsElement, Reference, details, toggle
The toggle event fires when the open/closed state of a details element is toggled.
1808HTMLDialogElementAPI, Experimental, HTML DOM, HTMLDialogElement, Interface, Reference
The HTMLDialogElement interface provides methods to manipulate dialog elements. It inherits properties and methods from the HTMLElement interface.
1809HTMLDialogElement: cancel eventAPI, Event, HTML DOM, HTMLDialogElement, NeedsExample, cancel
The cancel event fires on a dialog when the user instructs the browser that they wish to dismiss the current open dialog. For example, the browser might fire this event when the user presses the Esc key or clicks a "Close dialog" button which is part of the browser's UI.
1810HTMLDialogElement: close eventAPI, Event, Experimental, HTML DOM, HTMLDialogElement, Reference, close
The close event is fired on an HTMLDialogElement object when the dialog it represents has been closed.
1811HTMLDialogElement.close()API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, close
Void.
1812HTMLDialogElement.openAPI, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, open
The open property of the HTMLDialogElement interface is a Boolean reflecting the open HTML attribute, indicating whether the dialog is available for interaction.
1813HTMLDialogElement.returnValueAPI, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, returnValue
The returnValue property of the HTMLDialogElement interface gets or sets the return value for the <dialog>, usually to indicate which button the user pressed to close it.
1814HTMLDialogElement.show()API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, show
The show() method of the HTMLDialogElement interface displays the dialog modelessly, i.e. still allowing interaction with content outside of the dialog.
1815HTMLDialogElement.showModal()API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, showModal
The showModal() method of the HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present. It displays into the top layer, along with a ::backdrop pseudo-element. Interaction outside the dialog is blocked and the content outside it is rendered inert.
1816HTMLDivElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements.
1817HTMLDListElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (dl) elements.
1818HTMLDocumentAPI, Document, HTML, HTML DOM, HTMLDocument, Interface, Reference
The HTMLDocument interface, which may be accessed through the Window.HTMLDocument property, extends the Window.HTMLDocument property to include methods and properties that are specific to HTML documents.
1819HTMLElementAPI, HTML DOM, HTMLElement, Interface, NeedsNewLayout, Reference
The HTMLElement interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
1820HTMLElement.accessKey
The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.
1821accessKeyLabel
The HTMLElement.accessKeyLabel read-only property returns a String containing the element's browser-assigned access key (if any); otherwise it returns an empty string.
1822HTMLElement: animationcancel eventAPI, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference, animationcancel
The animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an HTMLElement/animationend_event event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
1823HTMLElement: animationend eventAPI, Animation, AnimationEvent, CSS Animations, CSS3 Animations, Event, HTMLElement, Reference, animationend
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired.
1824HTMLElement: animationiteration eventAPI, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference
The animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the HTMLElement/animationend_event event, and therefore does not occur for animations with an animation-iteration-count of one.
1825HTMLElement: animationstart eventAPI, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference
The animationstart event is fired when a CSS Animation has started. If there is an animation-delay, this event will fire once the delay period has expired. A negative delay will cause the event to fire with an AnimationEvent/elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
1826HTMLElement: beforeinput eventAPI, Event, HTML DOM, HTMLElement, InputEvent, Reference, beforeinput
The DOM beforeinput event fires when the value of an input, select, or textarea element is about to be modified. The event also applies to elements with HTMLElement.contentEditable enabled, and to any element when Document.designMode is turned on.
1827HTMLElement: change eventChange, Event, HTML, HTML DOM, HTMLElement, Reference, Web
The change event is fired for input, select, and textarea elements when an alteration to the element's value is committed by the user. Unlike the HTMLElement/input_event event, the change event is not necessarily fired for each alteration to an element's value.
1828HTMLElement.click()API, HTML DOM, HTMLElement, Method, Reference
The HTMLElement.click() method simulates a mouse click on an element.
1829HTMLElement.contentEditableAPI, HTML DOM, HTMLElement, Property, Reference
The contentEditable property of the HTMLElement interface specifies whether or not the element is editable.
1830HTMLElement.contextMenuAPI, Deprecated, Element, HTML, HTML DOM, Property, Reference, UX
The HTMLElement.contextMenu property refers to the context menu assigned to an element using the contextmenu attribute. The menu itself is created using the menu element.
1831HTMLElement.dirAPI, HTML DOM, HTMLElement, Property, Reference
The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element.
1832HTMLElement.forceSpellCheck()API, Experimental, HTML DOM, HTMLElement, Method, NeedsExample, NeedsSpecTable, Reference
The forceSpellCheck() method of the HTMLElement interface forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides user agent behavior. The specific user interface of the check, for example whether red underlining appears, is determined by the user agent.
1833HTMLElement: gotpointercapture eventEvent, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference
The gotpointercapture event is fired when an element captures a pointer using setPointerCapture().
1834HTMLElement.hiddenAPI, Attribute, Element, HTML, HTML element, Property, Reference, hidden
The HTMLElement property hidden is a Boolean which is true if the element is hidden; otherwise the value is false. This is quite different from using the CSS property display to control the visibility of an element.
1835inert
The HTMLElement property inert is a Boolean that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. This can be useful when building UIs such as modals where you would want to "trap" the focus inside the modal when it's visible.
1836HTMLElement.innerTextAPI, HTML DOM, HTMLElement, Property, Reference
The innerText property of the HTMLElement interface represents the "rendered" text content of a node and its descendants.
1837HTMLElement: input eventContent, Edit, Event, Forms, HTML DOM, HTMLElement, Input, InputEvent, NeedsMobileBrowserCompatibility, Reference, data, value
The input event fires when the value of an input, select, or textarea element has been changed.
1838HTMLElement.isContentEditableAPI, Editing, HTML DOM, HTMLElement, Property, Read-only, Reference
The HTMLElement.isContentEditable read-only property returns a Boolean that is true if the contents of the element are editable; otherwise it returns false.
1839HTMLElement.langAPI, HTML DOM, HTMLElement, NeedsUpdate, Property, Reference
The HTMLElement.lang property gets or sets the base language of an element's attribute values and text content.
1840HTMLElement: lostpointercapture eventEvent, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference
The lostpointercapture event is fired when a captured pointer is released.
1841HTMLElement.offsetHeightAPI, CSSOM View, NeedsMarkupWork, NeedsNonDHMLImage, Property, Reference
The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders, as an integer.
1842HTMLElement.offsetLeftAPI, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
The HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.
1843HTMLElement.offsetParentAPI, CSSOM View, NeedsMarkupWork, Property, Reference
The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element. If there is no positioned ancestor element, the nearest ancestor td, th, table will be returned, or the body if there are no ancestor table elements either.
1844HTMLElement.offsetTopAPI, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
The HTMLElement.offsetTop read-only property returns the distance of the outer border of the current element relative to the inner border of the top of the HTMLelement.offsetParent node.
1845HTMLElement.offsetWidthAPI, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
The HTMLElement.offsetWidth read-only property returns the layout width of an element as an integer.
1846HTMLElement.oncopyAPI, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
The oncopy property of the HTMLElement interface is an EventHandler that processes Element/copy_event events.
1847HTMLElement.oncutAPI, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
The HTMLElement.oncut property of the HTMLElement interface is an EventHandler that processes cut events.
1848HTMLElement.onpasteAPI, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
The HTMLElement.onpaste property of the HTMLElement interface is an EventHandler that processes paste events.
1849HTMLElement.outerTextAPI, HTML DOM, HTMLElement, Non-standard, Property, Reference
HTMLElement.outerText is a non-standard property. As a getter, it returns the same value as Node.innerText. As a setter, it removes the current node and replaces it with the given text.
1850HTMLElement: pointercancel eventEvent, HTML DOM, HTMLElement, Pointer Events, PointerEvent, Reference, pointercancel, user input
The pointercancel event is fired when the browser determines that there are unlikely to be any more pointer events, or if after the pointerdown event is fired, the pointer is then used to manipulate the viewport by panning, zooming, or scrolling.
1851HTMLElement: pointerdown eventEvent, HTML DOM, HTMLElement, PointerEvent, Reference
The pointerdown event is fired when a pointer becomes active. For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer.
1852HTMLElement: pointerenter eventEvent, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference
The pointerenter event fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not support hover (see pointerdown).
1853HTMLElement: pointerleave eventEvent, HTML DOM, HTMLElement, PointerEvent, Reference
The pointerleave event is fired when a pointing device is moved out of the hit test boundaries of an element. For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
1854HTMLElement: pointermove eventEvent, HTML DOM, HTMLElement, PointerEvent, Reference
The pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action.
1855HTMLElement: pointerout eventEvent, HTML DOM, HTMLElement, PointerEvent, Reference
The pointerout event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not support hover (see pointerup); after firing the pointercancel event (see pointercancel); when a pen stylus leaves the hover range detectable by the digitizer.
1856HTMLElement: pointerover eventEvent, PointerEvent
The pointerover event is fired when a pointing device is moved into an element's hit test boundaries.
1857HTMLElement: pointerup eventEvent, HTML DOM, HTMLElement, PointerEvent, Reference
The pointerup event is fired when a pointer is no longer active.
1858HTMLElement.titleAPI, HTML DOM, HTMLElement, Property, Reference
The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.
1859HTMLElement: transitioncancel eventCSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitioncancel
The transitioncancel event is fired when a CSS transition is canceled.
1860HTMLElement: transitionend eventCSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitionend
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to none, then the event will not be generated.
1861HTMLElement: transitionrun eventCSS Transitions, Event, HTML DOM, HTMLElement, Reference, Transitions, Web, transitionrun
The transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
1862HTMLElement: transitionstart eventCSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitionstart
The transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
1863HTMLEmbedElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLEmbedElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating embed elements.
1864HTMLFieldSetElementAPI, HTML DOM, Interface, Reference
The HTMLFieldSetElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of fieldset elements.
1865HTMLFontElementAPI, HTML DOM, Interface, Obsolete, Reference
Implements the document object model (DOM) representation of the font element. The HTML Font Element font defines the font size, font face and color of text.
1866HTMLFontElement.colorAPI, HTML DOM, HTMLFontElement, Property, Reference
The obsolete HTMLFontElement.color property is a DOMString that reflects the color HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.
1867HTMLFontElement.faceAPI, HTML DOM, HTMLFontElement, Property, Reference
The obsolete HTMLFontElement.face property is a DOMString that reflects the face HTML attribute, containing a comma-separated list of one or more font names.
1868HTMLFontElement.sizeAPI, HTML DOM, HTMLFontElement, Property, Reference
The obsolete HTMLFontElement.size property is a DOMString that reflects the size HTML attribute. It contains either an integer number in the range of 1-7 or a relative value to increase/decrease the value of the size attribute of the basefont element.
1869HTMLFormControlsCollectionAPI, Collection, Form Collection, Form List, Forms, HTML DOM, HTML forms, HTMLFormControlsCollection, Interface, NeedsHTML5Update, Reference
The HTMLFormControlsCollection interface represents a collection of HTML form control elements.
1870HTMLFormControlsCollection.namedItem()API, HTML DOM, HTMLFormControlsCollection, Method, Reference
The HTMLFormControlsCollection.namedItem() method returns the RadioNodeList or the Element in the collection whose name or id match the specified name, or null if no node matches.
1871HTMLFormElementAPI, Form Element, Forms, HTML DOM, HTML forms, HTMLFormElement, Interface, Reference
The HTMLFormElement interface represents a form element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements.
1872HTMLFormElement.acceptCharsetAPI, HTML DOM, HTMLFormElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The HTMLFormElement.acceptCharset property represents a list of the supported character encodings for the given form element. This list can be comma-separated or space-separated.
1873HTMLFormElement.actionAPI, Forms, HTML DOM, HTMLFormElement, NeedsSpecTable, NeedsUpdate, Property, Reference
The HTMLFormElement.action property represents the action of the form element.
1874HTMLFormElement.elementsAPI, Elements, HTML DOM, HTMLFormControlsCollection, HTMLFormElement, Property, Reference
The HTMLFormElement property elements returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
1875HTMLFormElement.encodingAPI, HTML DOM, HTMLFormElement, NeedsContent, NeedsSpecTable, Property, Reference
The HTMLFormElement.encoding property is an alternative name for the HTMLFormElement.enctype element on the DOM HTMLFormElement object.
1876HTMLFormElement.enctypeAPI, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
The HTMLFormElement.enctype property is the MIME type of content that is used to submit the form to the server. Possible values are:
1877HTMLFormElement: formdata eventEvent, Forms, Reference, formevent
The formdata event fires after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData.FormData constructor.
1878HTMLFormElement.lengthAPI, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Read-only, Reference
The HTMLFormElement.length read-only property returns the number of controls in the form element.
1879HTMLFormElement.methodAPI, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
The HTMLFormElement.method property represents the HTTP method used to submit the form.
1880HTMLFormElement.nameAPI, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
The HTMLFormElement.name property represents the name of the current form element as a string.
1881HTMLFormElement.reportValidity()HTML, HTMLFormElement, Method, Reference
The HTMLFormElement.reportValidity() method returns true if the element's child controls satisfy their validation constraints. When false is returned, cancelable invalid events are fired for each invalid child and validation problems are reported to the user.
1882HTMLFormElement.requestSubmit()API, HTML, HTML DOM, HTMLFormElement, Input, Method, button, form, requestSubmit, submit
The HTMLFormElement method requestSubmit() requests that the form be submitted using a specific submit button.
1883HTMLFormElement: reset eventAPI, Event, Forms, HTML DOM, HTMLFormElement, Reference
The reset event fires when a form is reset.
1884HTMLFormElement.reset()API, HTML DOM, HTMLFormElement, Method, NeedsMarkupWork, NeedsSpecTable, Reference
The HTMLFormElement.reset() method restores a form element's default values. This method does the same thing as clicking the form's reset button.
1885HTMLFormElement: submit eventAPI, Event, Forms, HTML DOM, HTMLFormElement, Reference, submit
The submit event fires when a form is submitted.
1886HTMLFormElement.submit()API, HTML DOM, HTMLFormElement, Method, NeedsSpecTable, Reference
The HTMLFormElement.submit() method submits a given form.
1887HTMLFormElement.targetAPI, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
The target property of the HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output).
1888HTMLFrameSetElementAPI, HTML-DOM, HTMLFrameSetElement, Interface, Obsolete, Reference
The HTMLFrameSetElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating frameset elements.
1889HTMLHeadElementAPI, HTML DOM, Interface, Reference
The HTMLHeadElement interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.
1890HTMLHeadingElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLHeadingElement interface represents the different heading elements, <h1> through <h6>. It inherits methods and properties from the HTMLElement interface.
1891HTMLHRElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating hr elements.
1892HTMLHtmlElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.
1893HTMLHtmlElement.versionAPI, Deprecated, HTML DOM, NeedsContent, NeedsLayout, Property, Reference
Returns version information about the document type definition (DTD) of a document. While this property is recognized by Mozilla, the return value for this property is always an empty string.
1894HTMLHyperlinkElementUtilsAPI, Experimental, Mixin, URL API
The HTMLHyperlinkElementUtils mixin defines utility methods and properties to work with HTMLAnchorElement and HTMLAreaElement. These utilities allow to deal with common features like URLs.
1895HTMLHyperlinkElementUtils.hashAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.hash property returns a USVString containing a '#' followed by the fragment identifier of the URL.
1896HTMLHyperlinkElementUtils.hostAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.host property is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':', and the port of the URL.
1897HTMLHyperlinkElementUtils.hostnameAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.hostname property is a USVString containing the domain of the URL.
1898HTMLHyperlinkElementUtils.hrefAPI, Experimental, HTMLHyperlinkElementUtils, Location, Property, Reference, URL API
The HTMLHyperlinkElementUtils.href property is a stringifier that returns a USVString containing the whole URL, and allows the href to be updated.
1899HTMLHyperlinkElementUtils.originAPI, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, Reference, URL API
The HTMLHyperlinkElementUtils.origin read-only property is a USVString containing the Unicode serialization of the origin of the represented URL
1900HTMLHyperlinkElementUtils.passwordAPI, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, URL API
The HTMLHyperlinkElementUtils.password property is a USVString containing the password specified before the domain name.
1901HTMLHyperlinkElementUtils.pathnameAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.pathname property is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).
1902HTMLHyperlinkElementUtils.portAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.port property is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to ''.
1903HTMLHyperlinkElementUtils.protocolAPI, Experimental, HTMLHyperlinkElementUtils, Property, URL API
The HTMLHyperlinkElementUtils.protocol property is a USVString representing the protocol scheme of the URL, including the final ':'.
1904HTMLHyperlinkElementUtils.searchAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.search property is a search string, also called a query string, that is USVString containing a '?' followed by the parameters of the URL.
1905HTMLHyperlinkElementUtils.toString()API, Experimental, HTMLHyperlinkElementUtils, Location, Method, Stringifier, URL API
The HTMLHyperlinkElementUtils.toString() stringifier method returns a USVString containing the whole URL. It is a read-only version of HTMLHyperlinkElementUtils.href.
1906HTMLHyperlinkElementUtils.usernameAPI, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils.username property is a USVString containing the username specified before the domain name.
1907HTMLIFrameElementAPI, HTML DOM, Interface, Reference
The HTMLIFrameElement interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
1908HTMLIFrameElement.allowPaymentRequestAPI, HTML DOM, Payment Request, PaymentRequest, Property, Reference, Reference HTMLIFrameElement, allowPaymentRequest
The allowPaymentRequest property of the HTMLIFrameElement interface returns a Boolean indicating whether the Payment Request API may be invoked on a cross-origin iframe.
1909contentDocument
If the iframe and the iframe's parent document are Same Origin, returns a Document (that is, the active document in the inline frame's nested browsing context), else returns null.
1910HTMLIFrameElement.contentWindowAPI, HTML DOM, HTMLIFrameElement, Property, Read-only, Reference, Web
The contentWindow property returns the Window object of an HTMLIFrameElement. You can use this Window object to access the iframe's document and its internal DOM. This attribute is read-only, but its properties can be manipulated like the global Window object.
1911HTMLIFrameElement.cspAPI, CSP, Content Security Policy, HTML DOM, HTMLIFrameElement, Property, Reference
The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.
1912HTMLIFrameElement.featurePolicyAPI, Feature Policy, Feature-Policy, HTMLIFrameElement, Policy, Property
The featurePolicy read-only property of the HTMLIFrameElement interface returns the FeaturePolicy interface which provides a simple API for introspecting the feature policies applied to a specific frame.
1913HTMLIFrameElement.referrerPolicyAPI, HTMLIFrameElement, Property, Reference, Referrer Policy
The HTMLIFrameElement.referrerPolicy property reflects the HTML referrerpolicy attribute of the iframe element defining which referrer is sent when fetching the resource.
1914HTMLIFrameElement.src
The HTMLIFrameElement.src property reflects the HTML referrerpolicy attribute of the iframe element defining which referrer is sent when fetching the resource.
1915srcdoc
The srcdoc property of the HTMLIFrameElement specifies the content of the page.
1916HTMLImageElementAPI, Element, Graphic, HTML DOM, HTMLImageElement, Image, Interface, Reference, img, picture
The HTMLImageElement interface represents an HTML img element, providing the properties and methods used to manipulate image elements.
1917HTMLImageElement.alignAPI, Align, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, alignment, float, img
The obsolete align property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container.
1918HTMLImageElement.altAPI, Element, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, Text, alt, alternate, fallback
The HTMLImageElement property alt provides fallback (alternate) text to display when the image specified by the img element is not loaded.
1919HTMLImageElement.borderAPI, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, border, img
The obsolete HTMLImageElement property border specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn.
1920HTMLImageElement.completeAPI, Fetching, HTML, HTML DOM, HTMLImageElement, Loading, Property, Reference, complete
The read-only HTMLImageElement interface's complete attribute is a Boolean value which indicates whether or not the image has completely loaded.
1921HTMLImageElement.crossOriginAPI, CORS, Cross-Origin, Crossorigin, HTML DOM, HTMLImageElement, Image, Property, Reference, Security, origin
The HTMLImageElement interface's crossOrigin attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.
1922HTMLImageElement.currentSrcAPI, HTMLImageElement, Image, Property, Reference, URL, currentSrc, source
The read-only HTMLImageElement property currentSrc indicates the URL of the image which is currently presented in the img element it represents.
1923HTMLImageElement.decode()API, Decode, Graphics, HTML DOM, HTMLImageElement, Images, Loading, Method, Performance, Reference, async, asynchronous, decoding
The decode() method of the HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM. This can be used to initiate loading of the image prior to attaching it to an element in the DOM (or adding it to the DOM as a new element), so that the image can be rendered immediately upon being added to the DOM. This, in turn, prevents the rendering of the next frame after adding the image to the DOM from causing a delay while the image loads.
1924HTMLImageElement.decodingAPI, HTML DOM, HTMLImageElement, Property, Reference, decoding
The decoding property of the HTMLImageElement interface represents a hint given to the browser on how it should decode the image.
1925HTMLImageElement.heightAPI, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, dimensions, height, size
The height property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected height of the image.
1926HTMLImageElement.hspaceAPI, HTML, HTML DOM, HTMLImageElement, Horizontal, Image, Layout, Obsolete, Property, Reference, hspace, img, left, margin, right, spacing
The obsolete hspace property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the img element when laying out the page.
1927Image()API, Constructor, DOM, HTML, HTML DOM, HTMLImageElement, Image(), Reference, img
The Image() constructor creates a new HTMLImageElement instance. It is functionally equivalent to Document.createElement().
1928HTMLImageElement.isMapAPI, HTML, HTML DOM, HTMLImageElement, Image Map, Link, Reference, isMap, server-side
The HTMLImageElement proeprty isMap is a Boolean value which indicates that the image is to be used by a server-side image map. This may only be used on images located within an a element.
1929HTMLImageElement.loadingAPI, Content, Eager, Graphics, HTML DOM, HTMLImageElement, Images, Layout, Lazy, Lazy-loading, Loading, Performance, Pictures, Property, Reference, load, rendering
The HTMLImageElement property loading is a string whose value provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport.
1930HTMLImageElement.longDescAPI, HTML, HTML DOM, HTMLImageElement, Long description, Obsolete, Property, Reference, description, img, longDesc
The obsolete property longDesc on the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image.
1931HTMLImageElement.lowsrcAPI, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Performance, Property, Quality, Reference, img, lowSrc, speed
The HTMLImageElement interface's obsolete lowsrc property can be used to specify the URL of a reduced-quality or otherwise faster-loading version of the image specified by the HTMLImageElement.src property.
1932HTMLImageElement.nameAPI, Deprecated, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, img, name
The HTMLImageElement interface's deprecated name property specifies a name for the element. This has been replaced by the Element.id property available on all elements.
1933HTMLImageElement.naturalHeightAPI, HTMLImageElement, Intrinsic Height, Reference, Vertical, naturalHeight, size
The HTMLImageElement interface's naturalHeight property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixel.
1934HTMLImageElement.naturalWidthAPI, HTML, HTML DOM, HTMLImageElement, Intrinsic Width, Intrinsic size, Property, Reference, naturalWidth, size, width
The HTMLImageElement interface's read-only naturalWidth property returns the intrinsic (natural), density-corrected width of the image in CSS pixel.
1935HTMLImageElement.referrerPolicyAPI, Experimental, HTMLImageElement, Property, Referrer Policy
The HTMLImageElement.referrerPolicy property reflects the HTML referrerpolicy attribute of the img element defining which referrer is sent when fetching the resource.
1936HTMLImageElement.sizesAPI, HTML, HTML DOM, HTMLImageElement, Property, Reference, Responsive Design, Responsive Images, size, sizes, width
The HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions.
1937HTMLImageElement.src1x, API, HTML, HTML DOM, HTMLImageElement, Image, Reference, URL, fallback, source, src
The HTMLImageElement property src, which reflects the HTML src attribute, specifies the image to display in the img element.
1938HTMLImageElement.srcsetAPI, HTML, HTML DOM, HTMLImageElement, Image, Image Candidates, Property, Reference, Responsive Design, list, source, srcset
The HTMLImageElement property srcset is a string which identifies one or more image candidate strings, separated using commas (,) each specifying image resources to use under given circumstances.
1939HTMLImageElement.useMapAPI, DOM, HTML, HTML DOM, HTML WHATWG, HTMLImageElement, Image maps, Links, Property, Reference, interactive, useMap
The useMap property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image.
1940HTMLImageElement.vspaceAPI, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, Vertical, bottom, img, margin, space, spacing, top, vspace
The obsolete vspace property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom of the img element when laying out the page.
1941HTMLImageElement.widthAPI, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, size, width
The width property of the HTMLImageElement interface indicates the width at which an image is drawn in CSS pixel if it's being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected width of the image.
1942HTMLImageElement.xAPI, CSSOM, CSSOM View, Coordinate, Edge, HTML, HTML DOM, HTMLImageElement, Position, Reference, border, left, x
The read-only HTMLImageElement property x indicates the x-coordinate of the  img element's left border edge relative to the root element's origin.
1943HTMLImageElement.y
The read-only HTMLImageElement property y indicates the y-coordinate of the img element's top border edge relative to the root element's origin.
1944HTMLInputElementAPI, DOM, HTML DOM, HTMLInputElement, Input, Interface, NeedsContent, NeedsMarkupWork, Reference
The HTMLInputElement interface provides special properties and methods for manipulating the options, layout, and presentation of input elements.
1945HTMLInputElement: invalid eventAPI, Constraint Validation API, Constraint validation, Event, Forms, Reference, invalid
The invalid event fires when a submittable element has been checked for validity and doesn't satisfy its constraints.
1946HTMLInputElement.labelsAPI, HTML DOM, HTMLInputElement, Property, Reference
The HTMLInputElement.labels read-only property returns a NodeList of the label elements associated with the input element.
1947HTMLInputElement.mozGetFileNameArray()API, HTML DOM, HTMLInputElement, Method, NeedsBrowserCompatibility, Non-standard, Reference
The HTMLInputElement.mozGetFileNameArray() method returns an array of the names of the files that were selected by the user on an HTML input element.
1948HTMLInputElement.multipleAPI, HTML DOM, HTMLInputElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The HTMLInputElement.multiple property indicates if an input can have more than one value. Firefox currently only supports multiple for <input type="file">.
1949HTMLInputElement: search eventAPI, Event, HTMLInputElement, Non-standard, Reference, Search, Web
The search event is fired when a search is initiated usinng an input element of type="search".
1950HTMLInputElement.select()API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference
The HTMLInputElement.select() method selects all the text in a textarea element or in an input element that includes a text field.
1951HTMLInputElement.setRangeText()API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference, Text Field Selection API
The HTMLInputElement.setRangeText() method replaces a range of text in an input or textarea element with a new string.
1952HTMLInputElement.setSelectionRange()API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API
The HTMLInputElement.setSelectionRange() method sets the start and end positions of the current text selection in an input or textarea element.
1953HTMLInputElement.stepDown()API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API
The HTMLInputElement.stepDown([n]) method decrements the value of a numeric type of  input element by the value of the step attribute or up to n multiples of the step attribute if a number is passed as the parameter.
1954HTMLInputElement.stepUp()API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API
The HTMLInputElement.stepUp() method increments the value of a numeric type of  input element by the value of the step attribute, or the default step value if the step attribute is not explicitly set. The method, when invoked, increments the value by (step * n), where n defaults to 1 if not specified, and step defaults to the default value for step if not specified.
1955HTMLInputElement.webkitdirectoryAPI, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, Reference, Web, webkitdirectory
The HTMLInputElement.webkitdirectory is a property that reflects the webkitdirectory HTML attribute and indicates that the input element should let the user select directories instead of files. When a directory is selected, the directory and its entire hierarchy of contents are included in the set of selected items. The selected file system entries can be obtained using the HTMLInputElement.webkitEntries property.
1956HTMLInputElement.webkitEntriesAPI, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, webkitEntries
The read-only webkitEntries property of the HTMLInputElement interface contains an array of file system entries (as objects based on FileSystemEntry) representing files and/or directories selected by the user using an input element of type file, but only if that selection was made using drag-and-drop: selecting a file in the dialog will leave the property empty (bug
1957HTMLKeygenElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The keygen elements expose the HTMLKeygenElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of keygen elements.
1958HTMLLabelElementAPI, HTML DOM, HTMLLabelElement, Interface, Reference
The HTMLLabelElement interface gives access to properties specific to label elements. It inherits methods and properties from the base HTMLElement interface.
1959HTMLLabelElement.controlForms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, control
The read-only HTMLLabelElement.control property returns a reference to the control (in the form of an object of type HTMLElement or one of its derivatives) with which the label element is associated, or null if the label isn't associated with a control.
1960HTMLLabelElement.formForms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, form
The read-only HTMLLabelElement.form property returns an HTMLFormElement object which represents the form of which the label's associated control is a part, or null if there is either no associated control, or if that control isn't in a form.
1961HTMLLabelElement.htmlForForms, HTML DOM, HTMLLabelElement, Reference, htmlFor
The HTMLLabelElement.htmlFor property reflects the value of the for content property. That means that this script-accessible property is used to set and read the value of the content property for, which is the ID of the label's associated control element.
1962HTMLLegendElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLLegendElement is an interface allowing to access properties of the legend elements. It inherits properties and methods from the HTMLElement interface.
1963HTMLLIElementAPI, HTML DOM, HTML DOM Interface, Interface, Reference
The HTMLLIElement interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
1964HTMLLinkElementAPI, HTML DOM, HTMLLInkElement, Interface, Reference
The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa (corresponds to <link> element; not to be confused with <a>, which is represented by HTMLAnchorElement). This object inherits all of the properties and methods of the HTMLElement interface.
1965HTMLLinkElement.asAPI, Element, HTMLLInkElement, Link, Preload API, Property, Reference, as
The as property of the HTMLLinkElement interface returns a DOMString representing the type of content being loaded by the HTML link, one of "script", "style", "image", "video", "audio", "track", "font", "fetch".
1966HTMLLinkElement.referrerPolicyAPI, Experimental, HTMLLInkElement, Property, Reference
The HTMLLinkElement.referrerPolicy property reflect the HTML referrerpolicy attribute of the link element defining which referrer is sent when fetching the resource.
1967HTMLLinkElement.relAPI, HTML DOM, HTMLLInkElement, Property, Reference
The HTMLLinkElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the link element and the current document.
1968HTMLLinkElement.relListAPI, HTML DOM, HTMLLInkElement, Property, Read-only, Reference
The HTMLLinkElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the link element and the current document.
1969HTMLMapElementAPI, HTML DOM, Interface, Reference
The HTMLMapElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.
1970HTMLMarqueeElementAPI, Deprecated, HTML DOM, Interface, Reference
The HTMLMarqueeElement interface provides methods to manipulate marquee elements.
1971HTMLMediaElementAPI, Audio, HTML, HTML DOM, HTMLMediaElement, Interface, Media, Reference, Video
The HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.
1972HTMLMediaElement: abort eventAPI, Event, HTMLMediaElement, Reference, Web, abort
The abort event is fired when the resource was not fully loaded, but not as the result of an error.
1973HTMLMediaElement.audioTracksAPI, Audio, Audio Tracks, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Web, audiotracks
The read-only audioTracks property on HTMLMediaElement objects returns an AudioTrackList object listing all of the  AudioTrack objects representing the media element's audio tracks.
1974HTMLMediaElement.autoplayAPI, Audio, HTML DOM, HTMLMediaElement, Media, NeedsExample, Property, Video, Web, autoplay
The HTMLMediaElement.autoplay property reflects the autoplay HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption.
1975HTMLMediaElement.bufferedAPI, HTML DOM, HTMLMediaElement, Property, Read-only, Web
The HTMLMediaElement.buffered read-only property returns a new TimeRanges object that indicates the ranges of the media source that the browser has buffered (if any) at the moment the buffered property is accessed.
1976HTMLMediaElement: canplay eventAudio, Event, HTMLMediaElement, Reference, Video
The canplay event is fired when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
1977HTMLMediaElement: canplaythrough eventAudio, Event, HTMLMediaElement, Reference, Video
The canplaythrough event is fired when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
1978HTMLMediaElement.canPlayType()API, Audio, Capability, Compatibility, Format, HTML DOM, HTMLMediaElement, MIME Types, Media, Media Types, Method, Reference, Type, Video, Web, canPlayType, support
The HTMLMediaElement method canPlayType() reports how likely it is that the current browser will be able to play media of a given MIME type.
1979HTMLMediaElement.captureStream()API, Audio, HTML DOM, HTMLMediaElement, Media, Media Capture DOM Elements, Method, Reference, Video, captureStream
The captureStream() property of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
1980HTMLMediaElement.controllerAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.controller property represents the media controller assigned to the element.
1981HTMLMediaElement.controlsAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.controls property reflects the controls HTML attribute, which controls whether user interface controls for playing the media item will be displayed.
1982HTMLMediaElement.controlsListAPI, HTML DOM, HTMLMediaElement, Media, Property, Reference
The controlsList property of the HTMLMediaElement interface returns a DOMTokenList that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload, nofullscreen, and noremoteplayback.
1983HTMLMediaElement.crossOriginAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS settings attributes for details.
1984HTMLMediaElement.currentSrcAPI, HTML DOM, HTMLMediaElement, Property, Read-only, Web
The HTMLMediaElement.currentSrc property contains the absolute URL of the chosen media resource. This could happen, for example, if the web server selects a media file based on the resolution of the user's display. The value is an empty string if the networkState property is EMPTY.
1985HTMLMediaElement.currentTimeAPI, Audio, HTML DOM, HTMLMediaElement, Media, Property, Time, Video, Web, currentTime, offset, seconds, seek
The HTMLMediaElement interface's currentTime property specifies the current playback time in seconds.
1986HTMLMediaElement.defaultMutedAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.defaultMuted property reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default. This property has no dynamic effect. To mute and unmute the audio output, use the HTMLMediaElement.muted property.
1987HTMLMediaElement.defaultPlaybackRateAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.defaultPlaybackRate property indicates the default playback rate for the media.
1988HTMLMediaElement.disableRemotePlayback
The HTMLMediaElement.disableRemotePlayback property determines whether the media element is allowed to have a remote playback UI.
1989HTMLMediaElement.durationAPI, HTML DOM, HTMLMediaElement, Property, Read-only, Time, Web, duration, seconds
The read-only HTMLMediaElement property duration indicates the length of the element's media in seconds.
1990HTMLMediaElement: durationchange eventAudio, Event, HTMLMediaElement, Reference, Video
The durationchange event is fired when the duration attribute has been updated.
1991HTMLMediaElement: emptied eventAudio, Event, HTMLMediaElement, Reference, Video
The emptied event is fired when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.
1992HTMLMediaElement: ended eventAudio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended
The ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
1993HTMLMediaElement.endedAPI, HTML DOM, HTMLMediaElement, Property, Read-only, Web, ended
The HTMLMediaElement.ended indicates whether the media element has ended playback.
1994HTMLMediaElement: error eventAPI, Error, Event, HTMLMediaElement, Reference, Web
The error event is fired when the resource could not be loaded due to an error (for example, a network connectivity problem).
1995HTMLMediaElement.errorAPI, Audio, HTML DOM, HTMLMediaElement, Media, Property, Read-only, Reference, Video, Web
The HTMLMediaElement.error is the MediaError object for the most recent error, or null if there has not been an error. When an error event is received by the element, you can determine details about what happened by examining this object.
1996HTMLMediaElement.fastSeek()API, Audio, HTMLMediaElement, Media, Method, Reference, fastSeek
The HTMLMediaElement.fastSeek() method quickly seeks the media to the new time with precision tradeoff.
1997HTMLMediaElement.initialTimeAPI, HTML DOM, HTMLMediaElement, Obsolete, Property, Read-only, Web
The HTMLMediaElement.initialTime is the initial playback position in seconds. This property is obsolete, you can use a Media Fragments URI in the HTMLMediaElement.src attribute instead.
1998HTMLMediaElement.load()API, Audio, Element, HTML DOM, HTMLMediaElement, Media, Method, Reference, Video, load, reset
The HTMLMediaElement method load() resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.
1999HTMLMediaElement: loadeddata eventAudio, Event, HTMLMediaElement, Reference, Video
The loadeddata event is fired when the frame at the current playback position of the media has finished loading; often the first frame.
2000HTMLMediaElement: loadedmetadata eventAudio, Event, HTMLMediaElement, Reference, Video
The loadedmetadata event is fired when the metadata has been loaded.
2001HTMLMediaElement: loadstart eventAPI, Event, HTMLMediaElement, Reference, Web, loadstart
The loadstart event is fired when the browser has started to load a resource.
2002HTMLMediaElement.loopAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.loop property reflects the loop HTML attribute, which controls whether the media element should start over when it reaches the end.
2003HTMLMediaElement.mediaGroupAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.mediaGroup property reflects the mediaGroup HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common controller.
2004msClearEffectsmsClearEffects
The msClearEffects method of the HTMLMediaElement, is a proprietary method specific to Internet Explorer and Microsoft Edge.
2005HTMLMediaElement.msInsertAudioEffect()API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertAudioEffect
The HTMLMediaElement.msInsertAudioEffect() method inserts the specified audio effect into the media pipeline.
2006HTMLMediaElement.mutedAPI, HTML DOM, HTMLMediaElement, Property, Web
The HTMLMediaElement.muted indicates whether the media element muted.
2007HTMLMediaElement.networkStateAPI, HTML DOM, Property, Read-only, Web
The HTMLMediaElement.networkState property indicates the current state of the fetching of media over the network.
2008HTMLMediaElement.onencrypted
The onencrypted property of the HTMLMediaElement is an event handler, fired whenever an encrypted event occurs, denoting the media is encrypted.
2009HTMLMediaElement.onerrorAPI, Audio, Errors, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, Video, onerror
The onerror property of the HTMLMediaElement interface is the EventHandler for processing error events.
2010HTMLMediaElement.onwaitingforkey
The onwaitingforkey property of the HTMLMediaElement is an event handler, fired when a waitingforkey event  occurs, when playback is blocked while waiting for an encryption key.
2011HTMLMediaElement: pause eventAudio, Event, HTML, HTMLMediaElement, Media, Media Events, Pausing, Pausing Media, Pausing Speech, Speech Events, Video, Web Speech API, Web Speech Events, pause, speech
The pause event is sent when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the element's HTMLMediaElement.pause method.
2012HTMLMediaElement.pause()API, Audio, HTMLMediaElement, Method, Reference, Video
The HTMLMediaElement.pause() method will pause playback of the media, if the media is already in a paused state this method will have no effect.
2013HTMLMediaElement.pausedAPI, HTML DOM, HTMLMediaElement, Property, Read-only
The read-only HTMLMediaElement.paused property tells whether the media element is paused.
2014HTMLMediaElement: play eventAudio, Event, HTMLMediaElement, Reference, Video
The play event is fired when the paused property is changed from true to false, as a result of the play method, or the autoplay attribute.
2015HTMLMediaElement.play()API, Audio, HTMLMediaElement, Interface, Media, Method, Reference, Video, play
The HTMLMediaElement play() method attempts to begin playback of the media. It returns a Promise which is resolved when playback has been successfully started.
2016HTMLMediaElement.playbackRateAPI, HTML DOM, HTMLMediaElement, Property
The HTMLMediaElement.playbackRate property sets the rate at which the media is being played back. This is used to implement user controls for fast forward, slow motion, and so forth. The normal playback rate is multiplied by this value to obtain the current rate, so a value of 1.0 indicates normal speed.
2017HTMLMediaElement: playing eventAPI, HTMLMediaElement, Reference, playing
The playing event is fired when playback is ready to start after having been paused or delayed due to lack of data.
2018HTMLMediaElement: progress eventAPI, Event, HTMLMediaElement, Reference, Web, progress
The progress event is fired periodically as the browser loads a resource.
2019HTMLMediaElement: ratechange eventAPI, Audio, Event, HTMLMediaElement, Reference, Video
The ratechange event is fired when the playback rate has changed.
2020HTMLMediaElement.readyStateAPI, HTML DOM, HTMLMediaElement, Property, Read-only, Web
The HTMLMediaElement.readyState property indicates the readiness state of the media.
2021HTMLMediaElement.seekableAPI, Audio, Extensions, HTMLMediaElement, MSE, Media, Property, Reference, Video, seekable, source
The seekable read-only property of the HTMLMediaElement returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any.
2022HTMLMediaElement: seeked eventAPI, Audio, Event, HTMLMediaElement, Reference, Video
The seeked event is fired when a seek operation completed, the current playback position has changed, and the Boolean seeking attribute is changed to false.
2023HTMLMediaElement: seeking eventAPI, Audio, Event, HTMLMediaElement, Reference, Video
The seeking event is fired when a seek operation starts, meaning the Boolean seeking attribute has changed to true and the media is seeking a new position.
2024HTMLMediaElement.seekToNextFrame()API, Experimental, HTMLMediaElement, Method, Non-standard, Reference, Web, seekToNextFrame
The HTMLMediaElement.seekToNextFrame() method asynchronously advances the current play position to the next frame in the media.
2025HTMLMediaElement.setMediaKeys()API, Audio, EncryptedMediaExtensions, Experimental, HTMLMediaElement, Media, Method, Reference, Video
The setMediaKeys() property of the HTMLMediaElement interface returns a Promise that resolves to the passed MediaKeys, which are those used to decrypt media during playback.
2026HTMLMediaElement.setSinkId()API, Audio, Experimental, HTMLMediaElement, Media, Method, Reference, setSinkId
The HTMLMediaElement.setSinkId() method sets the ID of the audio device to use for output and returns a Promise. This only works when the application is authorized to use the specified device.
2027HTMLMediaElement.sinkIdAPI, Audio, Experimental, Extensions, HTMLMediaElement, Media, Property, Reference
The HTMLMediaElement.sinkId read-only property returns a DOMString that is the unique ID of the audio device delivering output. If it is using the user agent default, it returns an empty string. This ID should be one of the MediaDeviceInfo.deviceId values returned from MediaDevices.enumerateDevices(), id-multimedia, or id-communications.
2028HTMLMediaElement.srcAPI, HTML DOM, HTMLMediaElement, Property, Reference, src
The HTMLMediaElement.src property reflects the value of the HTML media element's src attribute, which indicates the URL of a media resource to use in the element.
2029HTMLMediaElement.srcObjectAPI, HTML, HTML DOM, HTMLMediaElement, Media, Property, Reference, srcObject
The srcObject property of the HTMLMediaElement interface sets or returns the object which serves as the source of the media associated with the HTMLMediaElement.
2030HTMLMediaElement: stalled eventAPI, Audio, Event, HTMLMediaElement, Reference, Video
The stalled event is fired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
2031HTMLMediaElement: suspend eventAPI, Audio, Event, HTMLMediaElement, Reference, Video
The suspend event is fired when media data loading has been suspended.
2032HTMLMediaElement.textTracksAPI, Audio, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Web, textTracks
The read-only textTracks property on HTMLMediaElement objects returns a TextTrackList object listing all of the TextTrack objects representing the media element's text tracks
2033HTMLMediaElement: timeupdate eventAudio, Event, HTMLMediaElement, Reference, Video
The timeupdate event is fired when the time indicated by the currentTime attribute has been updated.
2034HTMLMediaElement.videoTracksAPI, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Video Tracks, Web, videoTracks
The read-only videoTracks property on HTMLMediaElement objects returns a VideoTrackList object listing all of the VideoTrack objects representing the media element's video tracks.
2035HTMLMediaElement.volumeAPI, HTML DOM, HTMLMediaElement, Property, Reference, Volume
The HTMLMediaElement.volume property sets the volume at which the media will be played.
2036HTMLMediaElement: volumechange eventAPI, Audio, Event, HTMLMediaElement, Reference, Video, Web
The volumechange event is fired when the volume has changed.
2037HTMLMediaElement: waiting eventAudio, Event, HTMLMediaElement, Reference, Video, Web
The waiting event is fired when playback has stopped because of a temporary lack of data.
2038HTMLMenuElementAPI, Draft, Experimental, HTMLMenuElement, Interface, Reference
The HTMLMenuElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating menu elements.
2039HTMLMenuItemElementAPI, Deprecated, Draft, HTMLMenuItemElement, Interface, Reference
The HTMLMenuItemElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating menuitem elements.
2040HTMLMetaElementAPI, HTML DOM, Interface, Reference
The HTMLMetaElement interface contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.
2041HTMLMeterElementAPI, HTML DOM, HTMLMeterElement, Interface, Reference
The HTML meter elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of meter elements.
2042HTMLMeterElement.labelsAPI, HTML DOM, HTMLMeterElement, Property, Reference
The HTMLMeterElement.labels read-only property returns a NodeList of the label elements associated with the meter element.
2043HTMLModElementAPI, HTML DOM, Interface, Reference
The HTMLModElement interface provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is del and ins.
2044HTMLObjectElementAPI, HTML DOM, Interface, Reference
The HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of object element, representing external resources.
2045HTMLObjectElement.checkValidityAPI, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, checkValidity, checkValidity()
The checkValidity() method of the HTMLObjectElement interface returns a Boolean that always is true, because object objects are never candidates for constraint validation.
2046HTMLObjectElement.contentDocumentAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentDocument
The contentDocument read-only property of the HTMLObjectElement interface Returns a Document representing the active document of the object element's nested browsing context, if any; otherwise null.
2047HTMLObjectElement.contentWindowAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentWindow
The contentWindow read-only property of the HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.
2048HTMLObjectElement.dataAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, data
The data property of the HTMLObjectElement interface returns a DOMString that reflects the data HTML attribute, specifying the address of a resource's data.
2049HTMLObjectElement.formAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, form
The form read-only property of the HTMLObjectElement interface Retuns a HTMLFormElement representing the object element's form owner, or null if there isn't one.
2050HTMLObjectElement.heightAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, height
The height property of the HTMLObjectElement interface Returns a DOMString that reflects the height HTML attribute, specifying the displayed height of the resource in CSS pixels.
2051HTMLObjectElement.nameAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, name
The name property of the HTMLObjectElement interface returns a DOMString that reflects the name HTML attribute, specifying the name of the browsing context.
2052HTMLObjectElement.setCustomValidityAPI, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, setCustomValidity()
The setCustomValidity() method of the HTMLObjectElement interface sets a custom validity message for the element.
2053HTMLObjectElement.typeAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, Type
The type property of the HTMLObjectElement interface returns a DOMString that reflects the type HTML attribute, specifying the MIME type of the resource.
2054HTMLObjectElement.typeMustMatchAPI, HTML DOM, HTMLObjectElement, Property, Reference, typesMustMatch
The HTMLObjectElement.typeMustMatch property is a Boolean that reflects the typemustmatch attribute of the object element. It indicates if the resource linked by it must match the MIME type given by HTMLObjectElement.type in order for this resource to be used.
2055HTMLObjectElement.useMapAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, useMap
The useMap property of the HTMLObjectElement interface returns a DOMString that reflects the usemap HTML attribute, specifying a map element to use.
2056HTMLObjectElement.validationMessageAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validationMessage
The validationMessage read-only property of the HTMLObjectElement interface returns a DOMString representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
2057HTMLObjectElement.validityAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validity
The validity read-only property of the HTMLObjectElement interface returns a ValidityState with the validity states that this element is in.
2058HTMLObjectElement.widthAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, width
The width property of the HTMLObjectElement interface returns a DOMString that reflects the width HTML attribute, specifying the displayed width of the resource in CSS pixels.
2059HTMLObjectElement.willValidateAPI, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, willValidate
The willValidate read-only property of the HTMLObjectElement interface returns a Boolean that indicates whether the element is a candidate for constraint validation. Always false for HTMLObjectElement objects.
2060HTMLOListElementAPI, HTML DOM, Interface, Reference
The HTMLOListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.
2061HTMLOptGroupElementAPI, Forms, HTML DOM, Interface, NeedsBrowserCompatibility, Reference
The HTMLOptGroupElement interface provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of optgroup elements.
2062HTMLOptionElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLOptionElement interface represents option elements and inherits all classes and methods of the HTMLElement interface.
2063Option()API, Constructor, HTML DOM, HTMLOptionElement, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsSpecTable
The Option() constructor creates a new HTMLOptionElement.
2064HTMLOptionsCollectionAPI, HTML DOM, Interface, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Reference
This interface inherits the methods of its parent, HTMLCollection.
2065HTMLOrForeignElementAPI, HTML, HTMLElement, HTMLOrForeignElement, Interface, MathML, MathMLElement, Mixin, Reference, SVG, SVGElement
The HTMLOrForeignElement mixin describes several features common to the HTMLElement, SVGElement and MathMLElement interfaces.
2066HTMLElement.blur()API, HTML DOM, HTMLElement, Method, Reference
The HTMLElement.blur() method removes keyboard focus from the current element.
2067HTMLOrForeignElement.datasetAPI, HTML DOM, HTMLElement, HTMLOrForeignElement, Property, Read-only, Reference, SVG, SVG Custom Attributes, SVG2, SVGElement, dataset
The dataset read-only property of the HTMLOrForeignElement interface provides read/write access to custom data attributes (data-*) on elements.
2068HTMLElement.focus()API, Focus, HTML DOM, HTMLElement, Method, Reference, Scroll, View, activate
The HTMLElement.focus() method sets focus on the specified element, if it can be focused. The focused element is the element which will receive keyboard and similar events by default.
2069HTMLOrForeignElement.nonceAPI, Content Security Policy, Experimental, HTML DOM, HTMLElement, Property, Reference, nonce
The nonce property of the HTMLOrForeignElement interface returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.
2070HTMLOrForeignElement.tabIndexAPI, HTML DOM, HTMLElement, HTMLOrForeignElement, Property, Reference, tabIndex
The tabIndex property of the HTMLOrForeignElement interface represents the tab order of the current element.
2071HTMLOutputElementAPI, HTML DOM, Interface, Reference
The HTMLOutputElement interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of output elements.
2072HTMLOutputElement.labelsAPI, HTML DOM, HTMLOutputElement, Property, Reference
The HTMLOutputElement.labels read-only property returns a NodeList of the label elements associated with the output element.
2073HTMLParagraphElementAPI, HTML DOM, Interface, Reference
The HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating p elements.
2074HTMLParamElementAPI, HTML DOM, Interface, Reference
The HTMLParamElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating param elements, representing a pair of a key and a value that acts as a parameter for an object element.
2075HTMLPictureElementAPI, Experimental, HTML DOM, Interface, Reference
The HTMLPictureElement interface represents a picture HTML element. It doesn't implement specific properties or methods.
2076HTMLPreElementAPI, HTML DOM, Interface, Reference
The HTMLPreElement interface exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (pre).
2077HTMLProgressElementAPI, HTML DOM, Interface, Reference
The HTMLProgressElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of progress elements.
2078HTMLProgressElement.labelsAPI, HTML DOM, HTMLProgressElement, Property, Reference
The HTMLProgressElement.labels read-only property returns a NodeList of the label elements associated with the progress element.
2079HTMLQuoteElementAPI, HTML DOM, Interface, Reference
The HTMLQuoteElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like blockquote and q, but not the cite element.
2080HTMLScriptElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
HTML script elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface).
2081HTMLScriptElement.referrerPolicyAPI, HTMLScriptElement, Property, Reference, referrerPolicy
The referrerPolicy property of the HTMLScriptElement interface reflects the HTML referrerpolicy of the script element and fetches made by that script, defining which referrer is sent when fetching the resource.
2082HTMLSelectElementAPI, HTML DOM, HTMLSelectElement, Interface, Reference
The HTMLSelectElement interface represents a select HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.
2083HTMLSelectElement.add()API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.add() method adds an element to the collection of option elements for this select element.
2084HTMLSelectElement.autofocusAPI, HTML forms, HTMLSelectElement, Property, Reference
The HTMLSelectElement.autofocus property is a Boolean that reflects the autofocus HTML attribute, which indicates whether the associated select element  will get input focus when the page loads, unless the user overrides it.
2085HTMLSelectElement.checkValidity()API, Constraint Validation API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.checkValidity() method checks whether the element has any constraints and whether it satisfies them. If the element fails its constraints, the browser fires a cancelable invalid event at the element, and then returns false.
2086HTMLSelectElement.disabledAPI, HTML DOM, HTMLSelectElement, Property
The HTMLSelectElement.disabled is a Boolean that reflects the disabled HTML attribute, which indicates whether the control is disabled. If it is disabled, it does not accept clicks. A disabled element is unusable and un-clickable.
2087HTMLSelectElement.formAPI, HTMLSelectElement, Property, Read-only, Reference
The HTMLSelectElement.form read-only property returns a HTMLFormElement representing the form that this element is associated with. If the element is not associated with of a form element, then it returns null.
2088HTMLSelectElement.selectedIndex
placeholder
2089HTMLSelectElement.item()API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.item() method returns the Element corresponding to the HTMLOptionElement whose position in the options list corresponds to the index given in the parameter, or null if there are none.
2090HTMLSelectElement.labelsAPI, HTML DOM, HTMLSelectElement, Property, Reference
The HTMLSelectElement.labels read-only property returns a NodeList of the label elements associated with the select element.
2091HTMLSelectElement.namedItem()API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.namedItem() method returns the HTMLOptionElement corresponding to the HTMLOptionElement whose name or id match the specified name, or null if no option matches.
2092HTMLSelectElement.optionsAPI, HTMLSelectElement, Options, Property, Read-only, Web
The HTMLSelectElement.options read-only property returns a HTMLOptionsCollection of the option elements contained by the select element.
2093HTMLSelectElement.remove()API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.remove() method removes the element at the specified index from the options collection for this select element.
2094HTMLSelectElement.selectedIndexAPI, HTML DOM, HTML forms, HTMLSelectElement, Property, Reference
The HTMLSelectElement.selectedIndex is a long that reflects the index of the first or last selected option element, depending on the value of multiple. The value -1 indicates that no element is selected.
2095HTMLSelectElement.selectedOptionsAPI, HTML DOM, HTMLSelectElement, Options, Property, Read-only, Reference, Select, Web, selectedOptions
The read-only HTMLSelectElement property selectedOptions contains a list of the option elements contained within the select element that are currently selected. The list of selected options is an HTMLCollection object with one entry per currently selected option.
2096HTMLSelectElement.setCustomValidity()API, Constrain Validation API, HTML DOM, HTMLSelectElement, Method, Reference
The HTMLSelectElement.setCustomValidity() method sets the custom validity message for the selection element to the specified message. Use the empty string to indicate that the element does not have a custom validity error.
2097HTMLSelectElement.typeAPI, HTML DOM, HTMLSelectElement, Property, Read-only, Reference
The HTMLSelectElement.type read-only property returns the form control's type.
2098HTMLShadowElementAPI, HTML DOM, Interface, Obsolete, Reference
The HTMLShadowElement interface represents a shadow HTML Element, which is used in Shadow DOM.
2099HTMLShadowElement.getDistributedNodes()API, HTML DOM, Property, Reference, Web Components
The HTMLShadowElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <shadow> element.
2100HTMLSlotElementAPI, HTMLSlotElement, Interface, Reference, shadow dom
Fired on an HTMLSlotElement instance (<slot> element) when the node(s) contained in that slot change.
2101HTMLSlotElement.assignedElements()API, HTMLSlotElement, Method, Reference, Web Components, assignedElements, shadow dom
The assignedElements() property of the HTMLSlotElement interface returns a sequence of the elements assigned to this slot (and no other nodes). If the flatten option is set to true, it also returns the assigned elements of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content.
2102HTMLSlotElement.assignedNodes()API, HTMLSlotElement, Method, Reference, assignedNodes, shadow dom
The assignedNodes() property of the HTMLSlotElement interface returns a sequence of the nodes assigned to this slot, and if the flatten option is set to true, the assigned nodes of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content.
2103HTMLSlotElement.nameAPI, HTMLSlotElement, Property, Reference, name, shadow dom
The name property of the HTMLSlotElement interface returns or sets the slot name. A slot is a placeholder inside a web component that users can fill with their own markup.
2104HTMLSlotElement: slotchange eventEvent, Reference, Web Components, events, shadow dom, slotchange
The slotchange event is fired on an HTMLSlotElement instance (slot element) when the node(s) contained in that slot change.
2105HTMLSourceElementAPI, HTML DOM, Interface, Reference
The HTMLSourceElement interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating source elements.
2106HTMLSpanElementAPI, HTML DOM, Interface, Reference
The HTMLSpanElement interface represents a span element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
2107HTMLStyleElementAPI, HTML DOM, HTMLStyleElement, Interface, Reference
The HTMLStyleElement interface represents a style element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.
2108HTMLStyleElement.mediaAPI, HTML DOM, HTMLStyleElement, NeedsMarkupWork, Property, Reference
The HTMLStyleElement.media property specifies the intended destination medium for style information.
2109HTMLStyleElement.scopedAPI, HTML DOM, HTMLStyleElement, Non-standard, Obsolete, Property, Reference, scoped
The HTMLStyleElement.scoped property is a Boolean value indicating if the element applies to the whole document (false) or only to the parent's sub-tree (true).
2110HTMLStyleElement.typeAPI, HTML DOM, HTMLStyleElement, NeedsMarkupWork, NeedsSpecTable, Property, Read-only
The HTMLStyleElement.type read-only property returns the type of the current style.
2111HTMLTableCaptionElementAPI, HTML DOM, Interface, Reference
The HTMLTableCaptionElement interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
2112HTMLTableCellElementAPI, Cells, HTML DOM, HTMLTableCellElement, Interface, Reference, Table Cells, Tables
The HTMLTableCellElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
2113HTMLTableColElementAPI, HTML DOM, Interface, NeedsNewLayout, Reference
The HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
2114HTMLTableElementAPI, HTML DOM, Interface, Reference
The HTMLTableElement interface provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
2115HTMLTableElement.alignAPI, Deprecated, HTML DOM, HTMLTableElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The HTMLTableElement.align property represents the alignment of the table.
2116HTMLTableElement.bgColorAPI, Deprecated, HTML DOM, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The HTMLTableElement.bgcolor property represents the background color of the table.
2117HTMLTableElement.borderAPI, Deprecated, HTML DOM, NeedsSpecTable, Property, Reference
The HTMLTableElement.border property represents the border width of the table element.
2118HTMLTableElement.captionAPI, HTML DOM, Property, Reference
The HTMLTableElement.caption property represents the table caption. If no caption element is associated with the table, this property is null.
2119HTMLTableElement.cellPaddingAPI, HTML DOM, NeedsSpecTable, Property, Reference
The HTMLTableElement.cellPadding property represents the padding around the individual cells of the table.
2120HTMLTableElement.cellSpacingAPI, HTML DOM, HTMLTableElement, NeedsSpecTable, Obsolete, Property, Reference, cellSpacing
While you should instead use the CSS border-spacing property, the obsolete HTMLTableElement interface's cellSpacing property represents the spacing around the individual th and td elements representing a table's cells.
2121HTMLTableElement.createCaption()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The HTMLTableElement.createCaption() method returns the caption element associated with a given table. If no <caption> element exists on the table, this method creates it, and then returns it.
2122HTMLTableElement: createTBody()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The createTBody() method of HTMLTableElement objects creates and returns a new tbody element associated with a given table.
2123HTMLTableElement: createTFoot()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The createTFoot() method of HTMLTableElement objects returns the tfoot element associated with a given table. If no footer exists in the table, this method creates it, and then returns it.
2124HTMLTableElement: createTHead()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The createTHead() method of HTMLTableElement objects returns the thead element associated with a given table. If no header exists in the table, this method creates it, and then returns it.
2125HTMLTableElement.deleteCaption()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The HTMLTableElement.deleteCaption() method removes the caption element from a given table. If there is no <caption> element associated with the table, this method does nothing.
2126HTMLTableElement.deleteRow()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The HTMLTableElement.deleteRow() method removes a specific row (tr) from a given table.
2127HTMLTableElement.deleteTFoot()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The HTMLTableElement.deleteTFoot() method removes the tfoot element from a given table.
2128HTMLTableElement.deleteTHead()API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
The HTMLTableElement.deleteTHead() removes the thead element from a given table.
2129HTMLTableElement.frameAPI, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference, Tables
The HTMLTableElement interface's frame property is a string that indicates which of the table's exterior borders should be drawn.
2130HTMLTableElement.insertRow()API, HTML DOM, HTMLTableElement, Method, NeedsMobileBrowserCompatibility, Reference
The HTMLTableElement.insertRow() method inserts a new row (tr) in a given table, and returns a reference to the new row.
2131HTMLTableElement.rowsAPI, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Read-only, Reference, Table Rows, rows
The read-only HTMLTableElement property rows returns a live HTMLCollection of all the rows in the table, including the rows contained within any thead, tfoot, and tbody elements.
2132HTMLTableElement.rulesAPI, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
The HTMLTableElement.rules property indicates which cell borders to render in the table.
2133HTMLTableElement.summaryAPI, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
The HTMLTableElement.summary property represents the table description.
2134HTMLTableElement.tBodiesAPI, HTML DOM, HTMLTableElement, Property, Read-only, Reference
The HTMLTableElement.tBodies read-only property returns a live HTMLCollection of the bodies in a table.
2135HTMLTableElement.tFootAPI, HTML DOM, HTMLTableElement, Property, Reference
The HTMLTableElement.tFoot property represents the tfoot element of a table. Its value will be null if there is no such element.
2136HTMLTableElement.tHeadAPI, HTML DOM, HTMLTableElement, Property, Reference
The HTMLTableElement.tHead represents the thead element of a table . Its value will be null if there is no such element.
2137HTMLTableElement.widthAPI, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
The HTMLTableElement.width property represents the desired width of the table.
2138HTMLTableRowElementAPI, HTML DOM, Interface, Reference
The HTMLTableRowElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.
2139HTMLTableRowElement.insertCell()API, HTML DOM, HTMLTableRowElement, Method, Reference
The HTMLTableRowElement.insertCell() method inserts a new cell (td) into a table row (tr) and returns a reference to the cell.
2140HTMLTableRowElement.rowIndexAPI, HTML DOM, NeedsSpecTable, Property, Reference
The HTMLTableRowElement.rowIndex read-only property represents the position of a row in relation to the whole table.
2141HTMLTableSectionElementAPI, HTML DOM, Interface, Reference
The HTMLTableSectionElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.
2142HTMLTemplateElementAPI, HTML DOM, HTMLTemplateElement, Interface, Reference, Web Components
The HTMLTemplateElement interface enables access to the contents of an HTML template element.
2143HTMLTemplateElement.contentAPI, HTML DOM, HTMLTemplateElement, Property, Reference, Web Components
The HTMLTemplateElement.content property returns a <template> element's template contents (a DocumentFragment).
2144HTMLTextAreaElementAPI, HTML DOM, HTMLTextAreaElement, Interface, Reference
The HTMLTextAreaElement interface provides special properties and methods for manipulating the layout and presentation of textarea elements.
2145HTMLTextAreaElement.labelsAPI, HTML DOM, HTMLTextAreaElement, Property, Reference
The HTMLTextAreaElement.labels read-only property returns a NodeList of the label elements associated with the textArea element.
2146HTMLTimeElementAPI, HTML DOM, Interface, Reference
The HTMLTimeElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating time elements.
2147HTMLTimeElement.dateTimeAPI, HTML DOM, HTMLTimeElement, Property, Reference
The HTMLTimeElement.dateTime property is a DOMString that reflects the datetime HTML attribute, containing a machine-readable form of the element's date and time value.
2148HTMLTitleElementAPI, HTML DOM, Interface, Reference
The HTMLTitleElement interface contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
2149HTMLTrackElementAPI, HTML DOM, HTMLTrackElement, Interface, NeedsNewLayout, Reference
The HTMLTrackElement interface represents an HTML track element within the DOM. This element can be used as a child of either audio or video to specify a text track containing information such as closed captions or subtitles.
2150HTMLTrackElement: cuechange eventAPI, Accessibility, Audio, Chapters, Descriptions, HTMLTextTrack, Media, Reference, Text, TextTrack, Video, WebVTT, a11y, captions, cuechange, events, oncuechange, track, vtt
No summary!
2151HTMLTrackElement.srcHTML, HTML DOM, HTMLTrackElement, Property, Reference, Web, WebVTT, src
The HTMLTrackElement.src property reflects the value of the track element's src attribute, which indicates the URL of the text track's data.
2152HTMLUListElementAPI, HTML DOM, Interface, Reference
The HTMLUListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements.
2153HTMLUnknownElementAPI, HTML DOM, Interface, Reference
The HTMLUnknownElement interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
2154HTMLVideoElementAPI, HTML DOM, HTMLVideoElement, Interface, Reference, Video
The HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.
2155HTMLVideoElement.autoPictureInPictureAPI, HTML, HTML DOM, HTMLVideoElement, Media, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, pip
The HTMLVideoElement  autoPictureInPicture property reflects the HTML attribute indicating whether the video should enter or leave picture-in-picture mode automatically.
2156HTMLVideoElement.disablePictureInPictureAPI, HTML, HTML DOM, HTMLVideoElement, Media, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, pip
The HTMLVideoElement  disablePictureInPicture property reflects the HTML attribute indicating whether
2157HTMLVideoElement: enterpictureinpicture eventAPI, Event, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip
The enterpictureinpicture event is fired when the HTMLVideoElement enters picture-in-picture mode successfully.
2158HTMLVideoElement.getVideoPlaybackQuality()API, Experimental, Frames, HTML DOM, HTMLVideoElement, Media, Media Playback Quality, Media Playback Quality API, Method, Playback, Quality, Reference, Time, Video, getVideoPlaybackQuality
The HTMLVideoElement method getVideoPlaybackQuality() creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost.
2159HTMLVideoElement: leavepictureinpicture eventAPI, Event, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip
The leavepictureinpicture event is fired when the HTMLVideoElement leaves picture-in-picture mode successfully.
2160HTMLVideoElement.msFrameStep()API, API:Microsoft Extensions, Method, Non-standard, Reference, msFrameStep
The HTMLVideoElement.msFrameStep() method steps the video by one frame forward or one frame backward.
2161HTMLVideoElement.msHorizontalMirrorAPI, API:Microsoft Extensions, Non-standard, Property, Reference, msHorizontalMirror
msHorizontalMirror is a read/write property which gets or sets whether a video element is flipped horizontally in the display.
2162HTMLVideoElement.msInsertVideoEffect()API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertVideoEffect
The HTMLMediaElement.msInsertVideoEffect() method inserts the specified video effect into the media pipeline.
2163HTMLVideoElement.msIsLayoutOptimalForPlaybackAPI, API:Microsoft Extensions, Non-standard, Property, Reference, msIsLayoutOptimalForPlayback, onMSVideoOptimalLayoutChanged
msIsLayoutOptimalForPlayback is a read-only property which indicates whether the video can be rendered more efficiently.
2164HTMLVideoElement.msIsStereo3DAPI, API:Microsoft Extensions, Non-standard, Property, Reference, msIsStereo3D
msIsStereo3D is a read-only property which determines whether the system considers the loaded video source to be stereo 3-D or not.
2165msSetVideoRectanglemsSetVideoRectangle
The HTMLVideoElement.msSetVideoRectangle() method sets the dimensions of a sub-rectangle within a video.
2166msStereo3DPackingModemsStereo3DPackingMode
msStereo3DPackingMode is a read/write property which gets or sets the frame-packing mode for stereo 3-D video content.
2167msStereo3DRenderModemsStereo3DRenderMode
msStereo3DRenderMode is a read/write property which gets or sets whether the system display is set to stereo display (if stereo-capable).
2168HTMLVideoElement.msZoomAPI, API:Microsoft Extensions, Non-standard, Property, Reference, msZoom
msZoom is a read/write property which gets or sets whether the video frame is trimmed, on the top and bottom or left and right, to fit the video display.
2169HTMLVideoElement.onenterpictureinpictureAPI, Event Handler, Interface, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, events, pip
The onenterpictureinpicture property of the HTMLVideoElement interface is an EventHandler that processes HTMLVideoElement.enterpictureinpicture_event events.
2170HTMLVideoElement.onleavepictureinpictureAPI, Event Handler, Interface, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, events, pip
The onleavepictureinpicture property of the HTMLVideoElement interface is an EventHandler that processes HTMLVideoElement.leavepictureinpicture_event events.
2171onMSVideoFormatChangedonMsVideoFormatChanged
onMSVideoFormatChanged is an event which occurs when the video format changes.
2172onMSVideoFrameStepCompletedonMSVideoFrameStepCompleted
onMSVideoFrameStepCompleted is an event which occurs when the video frame has been stepped forward or backward one frame.
2173onMSVideoOptimalLayoutChangedonMSVideoOptimalLayoutChanged
onMSVideoOptimalLayoutChanged is an event which occurs when the msIsLayoutOptimalForPlayback state changes.
2174HTMLVideoElement.requestPictureInPicture()API, Experimental, HTML DOM, HTMLVideoElement, Media, Method, Picture-in-Picture, Picture-in-Picture API, Reference, Video, pip
The HTMLVideoElement method requestPictureInPicture() issues an asynchronous request to display the video in picture-in-picture mode.
2175HTMLVideoElement.videoHeightAPI, HTML, HTML DOM, HTMLVideoElement, Intrinsic Height, Intrinsic Width, Media, Property, Read-only, Reference, Video, Video Dimensions, dimension, height, size, videoHeight, videoWidth
The HTMLVideoElement interface's read-only videoHeight property indicates the intrinsic height of the video, expressed in CSS pixels. In simple terms, this is the height of the media in its natural size.
2176HTMLVideoElement.videoWidthAPI, HTML, HTML DOM, HTMLVideoElement, Intrinsic Width, Media, Property, Read-only, Reference, Video, size, videoWidth, width
The HTMLVideoElement interface's read-only videoWidth property indicates the intrinsic width of the video, expressed in CSS pixels. In simple terms, this is the width of the media in its natural size.
2177IDBCursorAPI, IDBCursor, IndexedDB, Interface, Reference, Storage
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
2178IDBCursor.advance()API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, advance
The advance() method of the IDBCursor interface sets the number of times a cursor should move its position forward.
2179IDBCursor.continue()API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, continue
The continue() method of the IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter. If no key is specified, the cursor advances to the immediate next position, based on its direction.
2180IDBCursor.continuePrimaryKey()API, IDBCursor, IndexedDB, Method, Reference, Storage, Web
The continuePrimaryKey() method of the IDBCursor interface advances the cursor to the to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
2181IDBCursor.delete()API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, delete
The delete() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position. Once the record is deleted, the cursor's value is set to null.
2182IDBCursor.directionAPI, Database, IDBCursor, IndexedDB, Property, Reference, Storage, direction
The direction read-only property of the IDBCursor interface is a DOMString that returns the direction of traversal of the cursor (set using IDBObjectStore.openCursor for example). See the Values section below for possible values.
2183IDBCursor.keyAPI, Database, IDBCursor, IndexedDB, Key, Property, Reference, Storage
The key read-only property of the IDBCursor interface returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to undefined. The cursor's key can be any data type.
2184IDBCursor.primaryKeyAPI, Database, IDBCursor, IndexedDB, Property, Reference, Storage, primaryKey
The primaryKey read-only property of the IDBCursor interface returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type.
2185IDBCursor.requestAPI, Database, IDBCursor, IndexedDB, Property, Reference, Storage, request
The request read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor.
2186IDBCursor.sourceAPI, Database, IDBCursor, IndexedDB, Property, Reference, Storage, source
The source read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.
2187IDBCursor.update()API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, Update
The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created.
2188IDBCursorSyncAPI, Experimental, IndexedDB, Interface, NeedsMarkupWork, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2189IDBCursorWithValueAPI, DOM Reference, Database, IDBCursorWithValue, IndexedDB, Interface, Reference, Référence(2), Storage
The IDBCursorWithValue interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property.
2190IDBCursorWithValue.valueAPI, Database, IDBCursorWithValue, IndexedDB, Property, Reference, Référence(2), Storage, value
The value read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
2191IDBDatabaseAPI, Database, IDBDatabase, IndexedDB, Interface, Reference, Storage, accessing data, asynchronous access, transactions
The IDBDatabase interface of the IndexedDB API provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
2192IDBDatabase: abort event
The abort event is fired on IDBDatabase when a transaction is aborted and bubbles up to the connection object.
2193IDBDatabase: close event
The close event is fired on IDBDatabase when the database connection is unexpectedly closed. This could happen, for example, if the underlying storage is removed or if the user clears the database in the browser's history preferences.
2194IDBDatabase.close()API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The close() method of the IDBDatabase interface returns immediately and closes the connection in a separate thread.
2195IDBDatabase.createObjectStore()API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The createObjectStore() method of the IDBDatabase interface creates and returns a new object store or index.
2196IDBDatabase.deleteObjectStore()API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The deleteObjectStore() method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it.
2197IDBDatabase: error event
The error event is fired on IDBDatabase when a request returns an error and the event bubbles up to the connection object.
2198IDBDatabase.nameAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, name
The name read-only property of the IDBDatabase interface is a DOMString that contains the name of the connected database.
2199IDBDatabase.objectStoreNamesAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, objectStoreNames
The objectStoreNames read-only property of the IDBDatabase interface is a DOMStringList containing a list of the names of the object stores currently in the connected database.
2200IDBDatabase.onabortAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onabort
The onabort event handler of the IDBDatabase interface handles the abort event, fired when a transaction is aborted and bubbles up to the connection object.
2201IDBDatabase.oncloseAPI, Event Handler, IDBDatabase, IndexedDB, Property, Reference, onclose
The onclose event handler of the IDBDatabase interface handles the close event, which is fired when the database is unexpectedly closed. This can happen, for example, when the application is shut down or access to the disk the database is stored on is lost while the database is open.
2202IDBDatabase.onerrorAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Référence(2), Storage, onerror
The onerror event handler of the IDBDatabase interface handles the error event, fired when a request returns an error and bubbles up to the connection object.
2203IDBDatabase.onversionchangeAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onversionchange
The onversionchange event handler of the IDBDatabase interface handles the versionchange event, fired when a database structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase) was requested elsewhere (most probably in another window/tab on the same computer).
2204IDBDatabase.transaction()API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The transaction method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
2205IDBDatabase.versionAPI, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, version
The version property of the IDBDatabase interface is a 64-bit integer that contains the version of the connected database. When a database is first created, this attribute is an empty string.
2206IDBDatabase: versionchange eventEvent, IDBDatabase, Reference, versionchange
The versionchange event is fired when a database structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase) was requested.
2207IDBDatabaseExceptionAPI, Obsolete, Reference
Obsolete: This interface was removed from the specification and was replaced by usage of DOMException.
2208IDBDatabaseSyncAPI, Experimental, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2209IDBEnvironmentAPI, DOM, Database, IDBEnvironment, IndexedDB, Interface, Obsolete, Reference, Référence(2), Storage, access, asynchronous, client-side
Important: The indexedDB property that was previously defined in this mixin is instead now WindowOrWorkerGlobalScope.indexedDB (that is, defined as a member of the WindowOrWorkerGlobalScope mixin).
2210IDBEnvironmentSyncAPI, Experimental, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2211IDBFactoryAPI, HTTP, IndexedDB, Interface, Offline, Reference, Storage
The IDBFactory interface of the IndexedDB API lets applications asynchronously access the indexed databases. The object that implements the interface is window.indexedDB. You open — that is, create and access — and delete a database with this object, and not directly with IDBFactory.
2212IDBFactory.cmp()API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, cmp
The cmp() method of the IDBFactory interface compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating.
2213databasesAPI, Database, IDBFactory, Method, Reference, Storage, databases
The databases method of the IDBFactory interface returns a list represening all the available databases, including their names and versions.
2214IDBFactory.deleteDatabase()API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, deleteDatabase
The deleteDatabase() method of the IDBFactory interface requests the deletion of a database. The method returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously.
2215IDBFactory.open()API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, open
The open() method of the IDBFactory interface requests opening a connection to a database.
2216IDBFactorySyncAPI, Experimental, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2217IDBIndexAPI, Database, IDBIndex, IndexedDB, Interface, Reference, Storage
IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
2218IDBIndex.count()API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, count
The count() method of the IDBIndex interface returns an IDBRequest object, and in a separate thread, returns the number of records within a key range.
2219IDBIndex.get()API, Database, IDBIndex, IndexedDB, Method, Reference, Storage
The get() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if key is set to an IDBKeyRange.
2220IDBIndex.getAll()API, IDBIndex, IndexedDB, Method, Reference, Storage
The getAll() method of the IDBIndex interface retrieves all objects that are inside the index.
2221IDBIndex.getAllKeys()API, IDBIndex, IndexedDB, Method, Reference
The getAllKeys() method of the IDBIndex interface instantly retrieves the primary keys of all objects inside the index, setting them as the result of the request object.
2222IDBIndex.getKey()API, Database, IDBIndex, IndexedDB, Method, Reference, Storage
The getKey() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if key is set to an IDBKeyRange.
2223IDBIndex.isAutoLocaleAPI, Database, Experimental, IDBIndex, IndexedDB, Property, Reference, Storage, isAutoLocale
The isAutoLocale read-only property of the IDBIndex interface returns a Boolean indicating whether the index had a locale value of auto specified upon its creation (see createIndex()'s optionalParameters.)
2224IDBIndex.keyPathAPI, Database, IDBIndex, IndexedDB, Property, Reference, Storage, keyPath
The keyPath property of the IDBIndex interface returns the key path of the current index. If null, this index is not auto-populated.
2225IDBIndex.localeAPI, Database, Experimental, IDBIndex, IndexedDB, Locale, Property, Reference, Storage
The locale read-only property of the IDBIndex interface returns the locale of the index (for example en-US, or pl) if it had a locale value specified upon its creation (see createIndex()'s optionalParameters.) Note that this property always returns the current locale being used in this index, in other words, it never returns "auto".
2226IDBIndex.multiEntryAPI, Database, IDBIndex, IndexedDB, Property, Reference, Storage, multiEntry
The multiEntry read-only property of the IDBIndex interface returns a boolean value that affects how the index behaves when the result of evaluating the index's key path yields an array.
2227IDBIndex.nameAPI, Database, IDBIndex, IndexedDB, Property, Reference, Storage, name
The name property of the IDBIndex interface contains a string which names the index.
2228IDBIndex.objectStoreAPI, Database, IDBIndex, IndexedDB, Property, Reference, Storage, objectStore
The objectStore property of the IDBIndex interface returns the name of the object store referenced by the current index.
2229IDBIndex.openCursor()API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openCursor
The openCursor() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range.
2230IDBIndex.openKeyCursor()API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openKeyCursor
The openKeyCursor() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
2231IDBIndex.uniqueAPI, Database, IDBIndex, IndexedDB, Property, Reference, Storage, unique
The unique read-only property returns a boolean that states whether the index allows duplicate keys.
2232IDBIndexSyncAPI, Experimental, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2233IDBKeyRangeAPI, Database, IDBKeyRange, IndexedDB, Interface, Reference, Storage
The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys. Records can be retrieved from IDBObjectStore and IDBIndex objects using keys or a range of keys. You can limit the range using lower and upper bounds. For example, you can iterate over all values of a key in the value range A–Z.
2234IDBKeyRange.bound()API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, bound
The bound() method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds. The bounds can be open (that is, the bounds exclude the endpoint values) or closed (that is, the bounds include the endpoint values). By default, the bounds are closed.
2235IDBKeyRange.includes()API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, includes
The includes() method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range.
2236IDBKeyRange.lowerAPI, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lower
The lower read-only property of the IDBKeyRange interface returns the lower bound of the key range.
2237IDBKeyRange.lowerBound()API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, lowerBound
The lowerBound() method of the IDBKeyRange interface creates a new key range with only a lower bound. By default, it includes the lower endpoint value and is closed.
2238IDBKeyRange.lowerOpenAPI, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lowerOpen
The lowerOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
2239IDBKeyRange.only()API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, only
The only() method of the IDBKeyRange interface creates a new key range containing a single value.
2240IDBKeyRange.upperAPI, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upper
The upper read-only property of the IDBKeyRange interface returns the upper bound of the key range.
2241IDBKeyRange.upperBound()API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, upperBound
The upperBound() method of the IDBKeyRange interface creates a new upper-bound key range. By default, it includes the upper endpoint value and is closed.
2242IDBKeyRange.upperOpenAPI, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upperOpen
The upperOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
2243IDBLocaleAwareKeyRangeAPI, Database, Experimental, IDBKeyRange, IndexedDB, Interface, Reference, Storage
The IDBLocaleAwareKeyRange interface of the IndexedDB API is a Firefox-specific version of IDBKeyRange — it functions in exactly the same fashion, and has the same properties and methods, but it is intended for use with IDBIndex objects when the original index had a locale value specified upon its creation (see createIndex()'s optionalParameters) — that is, it has locale aware sorting enabled.
2244IDBMutableFileAPI, DOM, Files, Reference
The IDBMutableFile interface provides access in read or write mode to a file, dealing with all the necessary locks.
2245FileHandle.getFile()API, Files, Method, Non Standard, Reference, WebAPI
The getFile method allows to retrieve a read-only snapshot of the handled file in the form of a File object.
2246FileHandle.nameAPI, Files, Non Standard, Property, Reference, WebAPI
Provides the name of the file.
2247FileHandle.onabortAPI, Files, Non Standard, Property, Reference, WebAPI
Specifies an event listener to receive abort events. These events occur when the associated locked file has been aborted with the LockedFile.abort() method.
2248FileHandle.onerrorAPI, Files, Non Standard, Property, Reference, WebAPI
Specifies an event listener to receive error events. These events occur when something goes wrong.
2249FileHandle.open()API, Files, Method, Non Standard, Reference, WebAPI
The open method returns a LockedFile object that allows to safely write in the file.
2250FileHandle.typeAPI, Files, Non Standard, Property, Reference, WebAPI
Provides the mime type of the file.
2251IDBObjectStoreAPI, IDBObjectStore, IndexedDB, Interface, Reference
The IDBObjectStore interface of the IndexedDB API represents an object store in a database. Records within an object store are sorted according to their keys. This sorting enables fast insertion, look-up, and ordered retrieval.
2252IDBObjectStore.add()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage
The add() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, creates a structured clone of the value, and stores the cloned value in the object store. This is for adding new records to an object store.
2253IDBObjectStore.autoIncrementAPI, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, autoIncrement
The autoIncrement read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
2254IDBObjectStore.clear()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, clear
The clear() method of the IDBObjectStore interface creates and immediately returns an IDBRequest object, and clears this object store in a separate thread. This is for deleting all the current data out of an object store.
2255IDBObjectStore.count()API, Database, IDBObjectStore, IndexedDB, Method, Reference, count, data
The count() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or IDBKeyRange. If no arguments are provided, it returns the total number of records in the store.
2256IDBObjectStore.createIndex()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, createIndex
The createIndex() method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database. It creates a new field/column defining a new data point for each database record to contain.
2257IDBObjectStore.delete()API, IndexedDB, Method, Reference
The delete() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
2258IDBObjectStore.deleteIndex()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, deleteIndex
The deleteIndex() method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
2259IDBObjectStore.get()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage
The get() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the object store selected by the specified key. This is for retrieving specific records from an object store.
2260IDBObjectStore.getAll()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, getAll
The getAll() method of the IDBObjectStore interface returns an IDBRequest object containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
2261IDBObjectStore.getAllKeys()API, IDBObjectStore, IndexedDB, Method, Reference, Storage
The getAllKeys() method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
2262IDBObjectStore.getKey()IBDObjectStore, IndexedDB, Method, Reference, Storage, Web API
The getKey() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query. This is for retrieving specific records from an object store.
2263IDBObjectStore.index()API, Database, IDBObjectStore, Index, IndexedDB, Method, NeedsExample, Reference, Storage
The index() method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example, return a series of records sorted by that index using a cursor.
2264IDBObjectStore.indexNamesAPI, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, indexNames
The indexNames read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
2265IDBObjectStore.keyPathAPI, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, keyPath
The keyPath read-only property of the IDBObjectStore interface returns the key path of this object store.
2266IDBObjectStore.nameAPI, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, name
The name property of the IDBObjectStore interface indicates the name of this object store.
2267IDBObjectStore.openCursor()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, openCursor
The openCursor() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object. Used for iterating through an object store with a cursor.
2268IDBObjectStore.openKeyCursor()API, Database, IDBObjectStore, Method, Reference, Storage, openKeyCursor
The openKeyCursor() method of the IDBObjectStore interface returns an IDBRequest object whose result will be set to an IDBCursor that can be used to iterate through matching results. Used for iterating through the keys of an object store with a cursor.
2269IDBObjectStore.put()API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, put
The put() method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist.
2270IDBObjectStore.transactionAPI, Database, IDBObjectStorage, IndexedDB, Property, Reference, Storage, transaction
The transaction read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
2271IDBObjectStoreSyncAPI, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2272IDBOpenDBRequestAPI, DOM Reference, Database, IDBOpenDBRequest, IndexedDB, Interface, Reference, Storage
The IDBOpenDBRequest interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes.
2273IDBOpenDBRequest: blocked eventEvent, IDBOpenDBRequest, Reference, blocked
The blocked handler is executed when an open connection to a database is blocking a versionchange transaction on the same database.
2274IDBOpenDBRequest.onblockedAPI, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onblocked
The onblockedevent handler of the IDBOpenDBRequest interface is the event handler for the blocked event. This event is triggered when the upgradeneeded should be triggered because of a version change but the database is still in use (that is, not closed) somewhere, even after the versionchange event was sent.
2275IDBOpenDBRequest.onupgradeneededAPI, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onupgradeneeded
The onupgradeneeded property of the IDBOpenDBRequest interface is the event handler for the upgradeneeded event, triggered when a database of a bigger version number than the existing stored database is loaded.
2276IDBOpenDBRequest: upgradeneeded eventEvent, IDBOpenDBRequest, Reference, upgradeneeded
The upgradeneeded event is fired when an attempt was made to open a database with a version number higher than its current version.
2277IDBRequestAPI, Database, IDBRequest, IndexedDB, Interface, Reference, Storage
The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes. Each reading and writing operation on a database is done using a request.
2278IDBRequest: error eventError, Event, IDBRequest, Reference
The error handler is executed when an error caused a request to fail.
2279IDBRequest.errorAPI, Database, Error, IDBRequest, IndexedDB, Property, Reference, Storage
The error read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
2280IDBRequest.onerrorAPI, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onerror
The onerror event handler of the IDBRequest interface handles the error event, fired when a request returns an error.
2281IDBRequest.onsuccessAPI, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onsuccess
The onsuccess event handler of the IDBRequest interface handles the success event, fired when the result of a request is successfully returned.
2282IDBRequest.readyStateAPI, Database, IDBRequest, IndexedDB, Property, Reference, Référence(2), Storage, readyState
The readyState read-only property of the IDBRequest interface returns the state of the request.
2283IDBRequest.resultAPI, Database, IDBRequest, IndexedDB, Property, Reference, Storage, result
The result read-only property of the IDBRequest interface returns the result of the request. If the request failed and the result is not available, an InvalidStateError exception is thrown.
2284IDBRequest.sourceAPI, Database, IDBRequest, IndexedDB, Property, Reference, Storage, source
The source read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store. If no source exists (such as when calling indexedDB.open), it returns null.
2285IDBRequest: success event
The success event is fired when an IDBRequest succeeds.
2286IDBRequest.transactionAPI, Database, IDBRequest, IndexedDB, Property, Reference, Storage, transaction
The transaction read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside.
2287IDBTransactionAPI, Database, IDBTransaction, IndexedDB, Interface, Reference, Storage
The IDBTransaction interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes. All reading and writing of data is done within transactions. You use IDBDatabase to start transactions, IDBTransaction to set the mode of the transaction (e.g. is it readonly or readwrite), and you access an IDBObjectStore to make a request. You can also use an IDBTransaction object to abort transactions.
2288IDBTransaction: abort eventEvent, IDBTransaction, Reference, abort
The abort event is fired when an IndexedDB transaction is aborted.
2289IDBTransaction.abort()API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, abort
The abort() method of the IDBTransaction interface rolls back all the changes to objects in the database associated with this transaction.
2290IDBTransaction.commit()API, IDBTransaction, Method, Reference, Web, commit
The commit() method of the IDBTransaction interface commits the transaction if it is called on an active transaction.
2291IDBTransaction: complete eventEvent, IDBTransaction, Reference, complete
The complete handler is executed when a transaction successfully completed.
2292IDBTransaction.dbAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db
The db read-only property of the IDBTransaction interface returns the database connection with which this transaction is associated.
2293IDBTransaction: error event
The error event is fired on IDBTransaction when a request returns an error and the event bubbles up to the transaction object.
2294IDBTransaction.errorAPI, Database, Error, IDBTransaction, IndexedDB, Property, Reference, Storage
The IDBTransaction.error property of the IDBTransaction interface returns one of several types of error when there is an unsuccessful transaction.
2295IDBTransaction.modeAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, mode
The mode read-only property of the IDBTransaction interface returns the current mode for accessing the data in the object stores in the scope of the transaction (i.e. is the mode to be read-only, or do you want to write to the object stores?) The default value is readonly.
2296IDBTransaction.objectStore()API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, objectStore
The objectStore() method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
2297IDBTransaction.objectStoreNamesAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db
The objectStoreNames read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
2298IDBTransaction.onabortAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onabort
The onabort event handler of the IDBTransaction interface handles the abort event, fired, when the current transaction is aborted via the IDBTransaction.abort method.
2299IDBTransaction.oncompleteAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, oncomplete
The oncomplete event handler of the IDBTransaction interface handles the complete event, fired when the transaction successfully completes.
2300IDBTransaction.onerrorAPI, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onerror
The onerror event handler of the IDBTransaction interface handles the error event, fired when a request returns an error and bubbles up to the transaction object.
2301IDBTransactionSyncAPI, Experimental, IndexedDB, Interface, Obsolete, Reference
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.
2302IDBVersionChangeEventAPI, DOM, Database, IDBVersionChangeEvent, IndexedDB, Interface, JavaScript, Reference, Storage
The IDBVersionChangeEvent interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.
2303IDBVersionChangeEvent.newVersionAPI, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, newVersion
The newVersion read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
2304IDBVersionChangeEvent.oldVersionAPI, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, oldVersion
The oldVersion read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
2305IDBVersionChangeEvent.versionAPI, Deprecated, IndexedDB, NeedsExample, Property, Reference, Référence(2)
The version property of the IDBVersionChangeEvent interface returns The new version of the database in a versionchange transaction.
2306IdleDeadlineAPI, Background Tasks API, IdleDeadline, Interface, Reference, requestIdleCallback
The IdleDeadline interface is used as the data type of the input parameter to idle callbacks established by calling Window.requestIdleCallback(). It offers a method, IdleDeadline.timeRemaining, which lets you determine how much longer the user agent estimates it will remain idle and a property, IdleDeadline.didTimeout, which lets you determine if your callback is executing because its timeout duration expired.
2307IdleDeadline.didTimeoutAPI, Background Tasks, HTML DOM, IdleDeadline, NeedsExample, Property, Reference, Window, didTimeout, requestIdleCallback
The read-only didTimeout property on the IdleDeadline interface is a Boolean value which indicates whether or not the idle callback is being invoked because the timeout interval specified when Window.requestIdleCallback() was called has expired.
2308IdleDeadline.timeRemaining()API, Background Tasks API, IdleDeadline, Method, Reference, timeRemaining
The timeRemaining() method on the IdleDeadline interface returns the estimated number of milliseconds remaining in the current idle period. The callback can call this method at any time to determine how much time it can continue to work before it must return. For example, if the callback finishes a task and has another one to begin, it can call timeRemaining() to see if there's enough time to complete the next task. If there isn't, the callback can just return immediately, or look for other work to do with the remaining time.
2309IIRFilterNodeAPI, Audio, IIRFilterNode, Interface, Reference, Web Audio API
The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed.
2310IIRFilterNode.getFrequencyResponse()API, Audio, IIRFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse
The getFrequencyResponse() method of the IIRFilterNode interface takes the current filtering algorithm's settings and calculates the frequency response for frequencies specified in a specified array of frequencies.
2311IIRFilterNode()API, Audio, Constructor, IIRFilterNode, Media, Reference, Web Audio API
The IIRFilterNode() constructor of the Web Audio API creates a new IIRFilterNode object which an AudioNode processor which implements a general infinite impulse response filter.
2312ImageBitmapAPI, Canvas, ImageBitmap, Interface, Reference
The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency. It can be created from a variety of source objects using the ImageBitmapFactories.createImageBitmap factory method. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.
2313ImageBitmap.close()API, Experimental, ImageBitmap, Method, OffscreenCanvas, Reference
The ImageBitmap.close() method disposes of all graphical resources associated with an ImageBitmap.
2314ImageBitmap.heightAPI, Canvas, ImageBitmap, Property, Reference
The read-only ImageBitmap.height property returns the ImageBitmap object's height in CSS pixels.
2315ImageBitmap.widthAPI, Canvas, ImageBitmap, Property, Reference
The read-only ImageBitmap.width property returns the ImageBitmap object's width in CSS pixels.
2316ImageBitmapRenderingContextAPI, Canvas, Experimental, Interface, OffscreenCanvas, Reference
The ImageBitmapRenderingContext interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap. Its context id (the first argument to HTMLCanvasElement.getContext() or OffscreenCanvas.getContext()) is "bitmaprenderer".
2317ImageBitmapRenderingContext.transferFromImageBitmap()API, Experimental, ImageBitmapRenderingContext, Method, OffscreenCanvas, Reference, transferFromImageBitmap
The ImageBitmapRenderingContext.transferFromImageBitmap() method displays the given ImageBitmap in the canvas associated with this rendering context. The ownership of the ImageBitmap is transferred to the canvas as well.
2318ImageCaptureAPI, Experimental, Image, Image Capture, ImageCapture, Interface, Media, MediaStream Image Capture API, Reference
The ImageCapture interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device. It provides an interface for capturing images from a photographic device referenced through a valid MediaStreamTrack.
2319ImageCapture.getPhotoCapabilities()API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoCapabilities
The getPhotoCapabilities() method of the ImageCapture interface returns a Promise that resolves with a PhotoCapabilities object containing the ranges of available configuration options.
2320ImageCapture.getPhotoSettings()API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoSettings
The getPhotoSettings() method of the ImageCapture interface returns a Promise that resolves with a PhotoSettings object containing the current photo configuration settings.
2321ImageCapture.grabFrame()API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, grapFrame
The grabFrame() method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with a ImageBitmap containing the snapshot.
2322ImageCapture() constructorAPI, Constructor, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Reference
The ImageCapture() constructor creates a new ImageCapture object.
2323ImageCapture.takePhoto()API, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Method, Reference, takePhoto
The takePhoto() method of the ImageCapture interface takes a single exposure using the video capture device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
2324ImageCapture.trackAPI, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Property, Read-only, Reference
The track read-only property of the ImageCapture interface returns a reference to the MediaStreamTrack passed to the ImageCapture.ImageCapture constructor.
2325ImageDataAPI, Canvas, ImageData, Images
The ImageData interface represents the underlying pixel data of an area of a canvas element.
2326ImageData.dataAPI, Canvas, ImageData, Property, Reference
The readonly ImageData.data property returns a Uint8ClampedArray that contains the ImageData object's pixel data. Data is stored as a one-dimensional array in the RGBA order, with integer values between 0 and 255 (inclusive).
2327ImageData.heightAPI, Canvas, ImageData, Property, Reference
The readonly ImageData.height property returns the number of rows in the ImageData object.
2328ImageData()API, Canvas, Constructor, ImageData, Reference
The ImageData() constructor returns a newly instantiated ImageData object built from the typed array given and having the specified width and height.
2329ImageData.widthAPI, Canvas, ImageData, Property, Reference
The readonly ImageData.width property returns the number of pixels per row in the ImageData object.
2330IndexedDB APIAPI, Advanced, Database, IndexedDB, Landing, Reference, Storage
IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data. IndexedDB provides a solution. This is the main landing page for MDN's IndexedDB coverage — here we provide links to the full API reference and usage guides, browser support details, and some explanation of key concepts.
2331Basic conceptsAdvanced, IndexedDB, concepts

IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, these applications can work both online and offline. IndexedDB is useful for applications that store a large amount of data (for example, a catalog of DVDs in a lending library) and applications that don't need persistent internet connectivity to work (for example, mail clients, to-do lists, and notepads).

2332Browser storage limits and eviction criteriaDatabase, IndexedDB, LRU, Storage, client-side, eviction, limit
There are a number of web technologies that store data of one kind or another on the client-side (i.e., on your local disk). The process by which the browser works out how much space to allocate to web data storage and what to delete when that limit is reached is not simple, and differs between browsers. This article describes how browsers determine what local content to purge and when in order to free up needed local storage space.
2333Checking when a deadline is dueApps, Date, Example, Guide, IndexedDB, deadline

In this article we look at a complex example involving checking the current time and date against a deadline stored via IndexedDB. The main complication here is checking the stored deadline info (month, hour, day, etc.) against the current time and date taken from a Date object.

2334Using IndexedDBAPI, Advanced, Database, Guide, IndexedDB, Storage, Tutorial, jsstore

IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline. 

2335InputDeviceCapabilities APIAPI, InputDeviceCapabilities, Overview, Reference
The InputDeviceCapabilities API provides details about the underlying sources of input events. The API attempts to describe how the device behaves rather than what it is. For example, the first version of the API indicates whether a device fires touch events rather than whether it is a touch screen.
2336InputDeviceCapabilitiesAPI, Experimental, InputDeviceCapabilities, Interface, Reference
The InputDeviceCapabilities interface of the Input Device Capabilities API provides information about the physical device or a group of related devices responsible for generating input events. Events caused by the same physical input device get the same instance of this object, but the converse isn't true. For example, two mice with the same capabilities in a system may appear as a single InputDeviceCapabilities instance.
2337firesTouchEventsneedsTags
The InputDeviceCapabilities.firesTouchEvents read-only property returns a Boolean that indicates whether the device dispatches touch events.
2338InputDeviceCapabilities
The InputDeviceCapabilities() constructor creates a new InputDeviceCapabilities object provides information about the physical device responsible for generating a touch event.
2339InputEventAPI, DOM, DOM Events, Input, Interface, Reference, events
The InputEvent interface represents an event notifying the user of editable content changes.
2340InputEvent.dataAPI, DOM Events, Experimental, Input, InputEvent, Property, Reference, data, events
The data read-only property of the InputEvent interface returns a DOMString with inserted characters. This may be an empty string if the change doesn't insert text, such as when characters are deleted.
2341InputEvent.dataTransferAPI, DOM Events, DataTransfer, Experimental, Input, InputEvent, Property, Reference, events
The dataTransfer read-only property of the InputEvent interface returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editible content.
2342InputEvent.getTargetRanges()API, DOM Events, Input, InputEvent, Method, Reference, events, getTargetRanges()
The getTargetRanges() method of the InputEvent interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.
2343InputEvent()API, Constructor, DOM, DOM Events, Experimental, Input, InputEvent, Reference, events
The InputEvent() constructor creates a new InputEvent.
2344InputEvent.inputTypeAPI, DOM, DOM Events, Input, InputEvent, Property, Reference, events, inputType
The inputType read-only property of the InputEvent interface returns the type of change made to editible content. Possible changes include for example inserting, deleting, and formatting text.
2345InputEvent.isComposingAPI, InputEvent, Property, Read-only, Reference
The InputEvent.isComposing read-only property returns a Boolean value indicating if the event is fired after compositionstart and before compositionend.
2346InstallEventAPI, InstallEvent, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorker, Workers
The parameter passed into the ServiceWorkerGlobalScope.oninstall handler, the InstallEvent interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
2347InstallEvent.activeWorkerAPI, InstallEvent, Property, Reference, Service Workers, ServiceWorker, activeWorker
The activeWorker read-only property of the InstallEvent interface returns the ServiceWorker that is currently actively controlling the page.
2348InstallEvent.InstallEvent()API, Constructor, Experimental, Expérimental(2), InstallEvent, Reference, Service Workers, ServiceWorker
The InstallEvent() constructor creates a new InstallEvent object.
2349InstallTriggerAPI, Add-ons, Apps, Extensions, Interface, Non-standard, Reference
The InstallTrigger interface is an interesting outlier in the Apps API; it's included in this API but are inherited from the old Mozilla XPInstall technology for installing add-ons. It is used for triggering the download and installation of an add-on (or anything packaged in an .xpi file) from a Web page, using JavaScript code to kick off the install process.
2350compareVersion
Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension.
2351enabled
Indicates whether or not Software Installation is enabled for this client machine.
2352getVersion
Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension.
2353install
Installs one or more XPI files on the local machine.
2354installChrome
Installs new skin or locale packages in Netscape 6 and Mozilla.
2355startSoftwareUpdate
Triggers the downloading and installation of the software at the specified URL.
2356Intersection Observer APIAPI, Clipping, Intersection, Intersection Observer API, IntersectionObserver, Overview, Performance, Reference, Web
The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
2357Timing element visibility with the Intersection Observer APIAPI, Example, Intermediate, Intersection Observer, Intersection Observer API, Tutorial
In this article, we'll build a mock blog which has a number of ads interspersed among the contents of the page, then use the Intersection Observer API to track how much time each ad is visible to the user. When an ad exceeds one minute of visible time, it will be replaced with a new one.
2358IntersectionObserverAPI, Interface, Intersection Observer API, IntersectionObserver, Reference, observers
provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
2359IntersectionObserver.disconnect()API, Disconnect, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference
The IntersectionObserver method disconnect() stops watching all of its target elements for visibility changes.
2360IntersectionObserver.IntersectionObserver()API, Constructor, Intersection Observer API, IntersectionObserver, Reference, Visibility, Visible
The IntersectionObserver() constructor creates and returns a new IntersectionObserver object.
2361IntersectionObserver.observe()API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, observe
The IntersectionObserver method observe() adds an element to the set of target elements being watched by the IntersectionObserver. One observer has one set of thresholds and one root, but can watch multiple target elements for visibility changes in keeping with those.
2362IntersectionObserver.rootAPI, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, root
The IntersectionObserver interface's read-only root property identifies the Element or Document whose bounds are treated as the bounding box of the viewport for the element which is the observer's target.
2363IntersectionObserver.rootMarginAPI, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, rootMargin
The IntersectionObserver interface's read-only rootMargin property is a string with syntax similar to that of the CSS margin property. Each side of the rectangle represented by rootMargin is added to the corresponding side in the IntersectionObserver.root element's bounding box before the intersection test is performed. This lets you, for example, adjust the bounds outward so that the target element is considered 100% visible even if a certain number of pixels worth of width or height is clipped away, or treat the target as partially hidden if an edge is too close to the edge of the root's bounding box.
2364IntersectionObserver.takeRecords()API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, NeedsExample, Reference, takeRecords
The IntersectionObserver method takeRecords() returns an array of IntersectionObserverEntry objects, one for each targeted element which has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback.
2365IntersectionObserver.thresholdsAPI, Draft, Intersection Observer, Intersection Observer API, IntersectionObserver, NeedsExample, Property, Reference
The IntersectionObserver interface's read-only thresholds property returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver.IntersectionObserver. If only one threshold ratio was provided when instanitating the object, this will be an array containing that single value.
2366IntersectionObserver.unobserve()API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, unobserve
The IntersectionObserver method unobserve() instructs the IntersectionObserver to stop observing the specified target element.
2367IntersectionObserverEntryAPI, Interface, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Reference
The IntersectionObserverEntry interface of the Intersection Observer API describes the intersection between the target element and its root container at a specific moment of transition.
2368IntersectionObserverEntry.boundingClientRectAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, boundingClientRect
The IntersectionObserverEntry interface's read-only boundingClientRect property returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element.
2369IntersectionObserverEntry.intersectionRatioAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRatio
The IntersectionObserverEntry interface's read-only intersectionRatio property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
2370IntersectionObserverEntry.intersectionRectAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRect
The IntersectionObserverEntry interface's read-only intersectionRect property is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root.
2371IntersectionObserverEntry.isIntersectingAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, isIntersecting
The IntersectionObserverEntry interface's read-only isIntersecting property is a Boolean value which is true if the target element intersects with the intersection observer's root. If this is true, then, the IntersectionObserverEntry describes a transition into a state of intersection; if it's false, then you know the transition is from intersecting to not-intersecting.
2372IntersectionObserverEntry.rootBoundsAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, rootBounds
The IntersectionObserverEntry interface's read-only rootBounds property is a DOMRectReadOnly corresponding to the IntersectionObserverEntry.target's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
2373IntersectionObserverEntry.targetAPI, Element, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, target
The IntersectionObserverEntry interface's read-only target property indicates which targeted Element has changed its amount of intersection with the intersection root.
2374IntersectionObserverEntry.timeAPI, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, Time
The IntersectionObserverEntry interface's read-only time property is a DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created.
2375InterventionReportBodyAPI, Experimental, Interface, InterventionReportBody, Reference, Reporting API
The InterventionReportBody interface of the Reporting API represents the body of an intervention report (the return value of its Report.body property).
2376Keyboard APIAPI, Experimental, Keyboard API, Keyboard Lock, Keyboard Map, Overview, Reference

The Keyboard API provides methods for working with a physical keyboard that is attached to a device running a browser. It provides several capabilities. Keyboard mapping provides an interface for retrieving the string generated by particular physical key on a keyboard to correctly identify that key to a user. Keyboard locking enables a web page to capture keys that are normally reserved by the user agent or the underlying operating system. The intended use of the Keyboard API is by web applications such as games or remote access apps that provide a full-screen immersive experience.

2377KeyboardAPI, Experimental, Interface, Keyboard API, Keyboard Lock, Keyboard Map, Reference, keyboard
The Keyboard interface of the Keyboard API provides functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.
2378Keyboard.getLayoutMap()API, Keyboard API, Keyboard Lock, Keyboard Map, Method, Reference, getLayoutMap(), keyboard
The getLayoutMap() method of the Keyboard interface returns a Promise that resolves with an instance of KeyboardLayoutMap which is a map-like object with functions for retrieving the strings associated with specific physical keys.
2379Keyboard.lock()API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, lock()
The lock() method of the Keyboard interface returns a Promise after enabling the capture of keypresses for any or all of the keys on the physical keyboard. This method can only capture keys that are granted access by the underlying operating system.
2380Keyboard.unlock()API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, unLock()
The unlock() method of the Keyboard interface unlocks all keys captured by the Keyboard.lock() method and returns synchronously.
2381KeyboardEventAPI, DOM, Event, Input, Interface, Key Events, Keyboard Events, KeyboardEvent, MakeBrowserAgnostic, Reference, UI Events, keyboard, user input
KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard.
2382KeyboardEvent.altKeyAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The KeyboardEvent.altKey read-only property is a Boolean that indicates if the alt key (Option or on OS X) was pressed (true) or not (false) when the event occurred.
2383KeyboardEvent.charCodeAPI, DOM, Deprecated, KeyboardEvent, Property, Reference
The charCode read-only property of the KeyboardEvent interface returns the Unicode value of a character key pressed during a keypress event.
2384KeyboardEvent.codeAPI, Code, DOM, DOM Events, KeyboardEvent, Property, Read-only, Reference, UI Events
The KeyboardEvent.code property represents a physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a value that isn't altered by keyboard layout or the state of the modifier keys.
2385KeyboardEvent: code values
The following tables show what code values are used for each native scancode or virtual keycode on major platforms. The reason is that some browsers choose to interpret physical keys differently, there are some differences in which keys map to which codes. These tables show those variations when known.
2386KeyboardEvent.ctrlKeyAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The KeyboardEvent.ctrlKey read-only property returns a Boolean that indicates if the control key was pressed (true) or not (false) when the event occurred.
2387KeyboardEvent.getModifierState()API, DOM, KeyboardEvent, Method, Reference, getModifierState
The KeyboardEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (that is the modifier key is pressed or locked), otherwise, false.
2388KeyboardEvent.initKeyboardEvent()API, Deprecated, KeyboardEvent, Method, Reference
The KeyboardEvent.initKeyboardEvent() method initializes the attributes of a keyboard event object. This method was introduced in draft of DOM Level 3 Events, but deprecated in newer draft. Gecko won't support this feature since implementing this method as experimental broke existing web apps (see 999645). Web applications should use constructor instead of this if it's available.
2389KeyboardEvent.initKeyEvent()API, DOM, Deprecated, KeyboardEvent, Method, Reference
The KeyboardEvent.initKeyEvent() method is used to initialize the value of an event created using document.createEvent("KeyboardEvent"). Events initialized in this way must have been created with the document.createEvent("KeyboardEvent") method. initKeyEvent() must be called to set the event before it is dispatched.
2390KeyboardEvent.isComposingAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The KeyboardEvent.isComposing read-only property returns a Boolean value indicating if the event is fired within a composition session, i.e. after Element/compositionstart_event and before Element/compositionend_event.
2391KeyboardEvent.keyAPI, DOM, KeyboardEvent, Property, Read-only, Reference, UI Events
The KeyboardEvent interface's key read-only property returns the value of the key pressed by the user, taking into consideration the state of modifier keys such as Shift as well as the keyboard locale and layout.
2392Key ValuesCharacters, DOM, Key Codes, Key Values, KeyboardEvent, Keycodes, Keypad, Keystrokes, Meta, Meta Keys, Modifier Keys, Modifiers, Reference, UI Events, events, keyboard, keys
The tables below list the standard key values in various categories of key, with an explanation of what the key is typically used for. Corresponding virtual keycodes for common platforms are included where available.
2393KeyboardEvent()API, Constructor, DOM, KeyboardEvent, Reference
The KeyboardEvent() constructor creates a new KeyboardEvent.
2394KeyboardEvent.keyCodeAPI, DOM, DOM Events, Deprecated, KeyboardEvent, Property, Read-only, Reference, keyCode
The deprecated KeyboardEvent.keyCode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key.
2395KeyboardEvent.keyIdentifierAPI, DOM, Deprecated, Non-standard, Property, Reference, events
The deprecated KeyboardEvent.keyIdentifier read-only property returns a "key identifier" string that can be used to determine what key was pressed. Its non-deprecated replacement is KeyboardEvent.key.
2396KeyboardEvent.locationAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device.
2397KeyboardEvent.metaKeyAPI, DOM, MouseEvent, Property, Read-only, Reference
The KeyboardEvent.metaKey read-only property returning a Boolean that indicates if the Meta key was pressed (true) or not (false) when the event occurred. Some operating systems may intercept the key so it is never detected.
2398KeyboardEvent.repeatAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The repeat read-only property of the KeyboardEvent interface returns a Boolean that is true if the given key is being held down such that it is automatically repeating.
2399KeyboardEvent.shiftKeyAPI, DOM, KeyboardEvent, Property, Read-only, Reference
The KeyboardEvent.shiftKey read-only property is a Boolean that indicates if the shift key was pressed (true) or not (false) when the event occurred.
2400KeyboardEvent.whichAPI, DOM, Deprecated, KeyboardEvent, Property, Read-only, Reference
The which read-only property of the KeyboardEvent interface returns the numeric keyCode of the key pressed, or the character code (charCode) for an alphanumeric key pressed.
2401KeyboardLayoutMapAPI, Experimental, Interface, Keyboard API, Keyboard Map, KeyboardLayoutMap, Reference, keyboard
The KeyboardLayoutMap interface of the Keyboard API is a map-like object with functions for retrieving the string associated with specific physical keys.
2402KeyboardLayoutMap.entriesAPI, Entries, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard
The entries read-only property of the KeyboardLayoutMap interface returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a Statements/for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
2403KeyboardLayoutMap.forEach()API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, forEach(), keyboard
The forEach() method of the KeyboardLayoutMap interface executes a provided function once for each element of the map.
2404KeyboardLayoutMap.get()API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, get(), keyboard
The get() method of the KeyboardLayoutMap interface returns the element with the given key.
2405KeyboardLayoutMap.has()API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, has(), keyboard
The has() method of the KeyboardLayoutMap interface returns a boolean indicating whether the object has an element with the specified key.
2406KeyboardLayoutMap.keysAPI, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, keys
The keys read-only property of the KeyboardLayoutMap interface returns a new
2407KeyboardLayoutMap.sizeAPI, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, size
The size read-only property of the KeyboardLayoutMap interface returns the number of elements in the map.
2408KeyboardLayoutMap.valuesAPI, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, values
The values read-only property of the KeyboardLayoutMap interface returns a new
2409KeyframeEffectAPI, Animation, Animations, Experimental, Interface, KeyframeEffect, Reference, Web Animations, web animations api
The KeyframeEffect interface of the Web Animations API lets us create sets of animatable properties and values, called keyframes. These can then be played using the Animation.Animation constructor.
2410KeyframeEffect.compositeAPI, Animation, Experimental, KeyframeEffect, Property, Reference, composite, waapi, web animations api
The composite property of a KeyframeEffect resolves how an element's animation impacts its underlying property values.
2411KeyframeEffect.getKeyframes()API, Animation, Experimental, KeyframeEffect, Method, Reference, getKeyframes, waapi, web animations api
The getKeyframes() method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets.
2412KeyframeEffect.iterationCompositeAPI, Animation, Experimental, KeyframeEffect, Property, Reference, iterationComposite, waapi, web animations api
The iterationComposite property of a KeyframeEffect resolves how the animation's property value changes accumulate or override each other upon each of the animation's iterations.
2413KeyframeEffect.KeyframeEffect()API, Animation, Constructor, Experimental, KeyframeEffect, Reference, waapi, web animations api
The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
2414KeyframeEffect.setKeyframes()API, Animations, Experimental, KeyframeEffect, Method, Reference, setKeyframes, waapi, web animations api
The setKeyframes() method of the KeyframeEffect interface replaces the keyframes that make up the affected KeyframeEffect with a new set of keyframes.
2415KeyframeEffect.targetAPI, Animation, Experimental, KeyframeEffect, Property, Reference, target, waapi, web animations api
The target property of a KeyframeEffect interface represents the element or pseudo-element being animated. It may be null for animations that do not target a specific element. It performs as both a getter and a setter, except with animations and transitions generated by CSS.
2416KeyframeEffectOptionsAPI, Dictionary, Draft, EffectTiming, Experimental, KeyframeEffect, KeyframeEffectOptions, NeedsCompatTable, Reference, Web Animations
The KeyframeEffectOptions dictionary, part of the Web Animations API, is used by Element.animate(), KeyframeEffectReadOnly.KeyframeEffectReadOnly and KeyframeEffect.KeyframeEffect to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play.
2417KHR_parallel_shader_compileAPI, Reference, Shader, WebGL, WebGL extension, parallel shader compile
The KHR_parallel_shader_compile extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
2418LargestContentfulPaintAPI, Interface, Largest Contentful Paint API, LargestContentfulPaint, Performance, Reference, Web Performance
The LargestContentfulPaint interface of the Largest Contentful Paint API provides details about the largest image or text paint before user input on a web page. The timing of this paint is a good heuristic for when the main page content is available during load.
2419LayoutShiftAPI, Interface, Layout Instability API, LayoutShift, Performance, Reference, Web Performance
The LayoutShift interface of the Layout Instability API provides insights into the stability of web pages based on movements of the elements on the page.
2420LayoutShiftAttributionAPI, Interface, Layout Instability API, LayoutShiftAttribution, NeedsExample, Performance, Reference, Web Performance
The LayoutShiftAttribution interface of the Layout Instability API provides debugging information about elements which have shifted.
2421LinearAccelerationSensorAPI, Accelerometer, Accelerometer API, Generic Sensor API, Interface, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors
The LinearAccelerationSensor interface of the Sensor APIs provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
2422LinearAccelerationSensor.LinearAccelerationSensor()API, Accelerometer, Constructor, Generic Sensor API, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors
The LinearAccelerationSensor constructor creates a new LinearAccelerationSensor object which provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
2423LinkStyleAPI, CSSOM, Interface, Reference
The LinkStyle interface provides access to the associated CSS style sheet of a node.
2424LocalFileSystemAPI, File API, File System API, Offline, Reference, Référence(2), filesystem
The LocalFileSystem interface of the File System API gives you access to a sandboxed file system.  The methods are implemented by window and worker objects.
2425LocalFileSystemSyncAPI, File API, File System API, Offline, Reference, Référence(2), filesystem
The LocalFileSystemSync interface of the File System API gives you access to a sandboxed file system. It is intended to be used with WebWorkers. The methods are implemented by worker objects.
2426LocalFileSystemSync.requestFileSystemSync()
The requestFileSystemSync method of the LocalFileSystemSync interface of the File System API creates a new a sandboxed file system. It is intended to be used with WebWorkers. The methods are implemented by worker objects.
2427LocalMediaStreamAPI, DOM, DOM Reference, Interface, LocalMediaStream, Media, Media Capture and Streams API, Media Stream API, Obsolete, Reference, WebRTC
Do not use LocalMediaStream; you need to update any code that does use it as soon as possible or your content or application will stop working. See /wiki/en-US/docs/Web/API/MediaStreamTrack to learn how.
2428LocationAPI, HTML DOM, Interface, Location, Reference
The Location interface represents the location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.
2429Location: ancestorOriginsAPI, Location, Property, Reference
The ancestorOrigins read-only property of the Location interface is a static DOMStringList containing, in reverse order, the origins of all ancestor browsing contexts of the document associated with the given Location object.
2430Location: assign()API, HTML-DOM, Location, Method, Reference
The Location.assign() method causes the window to load and display the document at the URL specified. After the navigation occurs, the user can navigate back to the page that called Location.assign() by pressing the "back" button.
2431Location: hashAPI, Location, Property, Reference
The hash property of the Location interface returns a USVString containing a '#' followed by the fragment identifier of the URL — the ID on the page that the URL is trying to target.
2432Location: hostAPI, Location, Property, Reference
The host property of the Location interface is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':', and the port of the URL.
2433Location: hostnameAPI, Location, Property, Reference
The hostname property of the Location interface is a USVString containing the domain of the URL.
2434Location: hrefAPI, Location, Property, Reference
The href property of the Location interface is a stringifier that returns a USVString containing the whole URL, and allows the href to be updated.
2435Location: originAPI, Location, Property, Reference
The origin read-only property of the Location interface is a USVString containing the Unicode serialization of the origin of the represented URL
2436Location: passwordAPI, Location, Property, Reference
The password property of the Location interface is a USVString containing the password specified before the domain name.
2437Location: pathnameAPI, Location, Property, Reference
The pathname property of the Location interface is a USVString containing an initial '/' followed by the path of the URL (or the empty string if there is no path).
2438Location: portAPI, Location, Property, Reference
The port property of the Location interface is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to ''.
2439Location: protocolAPI, Location, Property, Reference
The protocol property of the Location interface is a USVString representing the protocol scheme of the URL, including the final ':'.
2440Location: reload()API, HTML DOM, Location, Method, Reference
The Location.reload() method reloads the current URL, like the Refresh button.
2441Location: replace()API, HTML-DOM, Location, Method, Reference
The replace() method of the Location interface replaces the current resource with the one at the provided URL. The difference from the Location.assign method is that after using replace() the current page will not be saved in session History, meaning the user won't be able to use the back button to navigate to it.
2442Location: searchAPI, Location, Property
The search property of the Location interface is a search string, also called a query string; that is, a USVString containing a '?' followed by the parameters of the URL.
2443Location: toString()API, Location, Method, Reference, Stringifier
The toString() stringifier method of the Location interface returns a USVString containing the whole URL. It is a read-only version of Location.href.
2444Location: usernameAPI, Location, Property, Reference
The username property of the Location interface is a USVString containing the username specified before the domain name.
2445LockAPI, Experimental, Interface, Reference, Web Locks API, lock
The Lock interface of the Web Locks API provides the name and mode of a previously requested lock, which is received in the callback to LockManager.request.
2446Locks.modeAPI, Experimental, Property, Reference, Web Locks API, lock, mode
The mode read-only property of the Lock interface returns the access mode passed to LockManager.request() when the lock was requested. The mode is either "exclusive" (the default) or "shared".
2447Locks.nameAPI, Experimental, Property, Reference, Web Locks API, lock, mode, name
The name read-only property of the Lock interface returns the name passed to LockManager.request selected when the lock was requested.
2448LockedFileAPI, Files, Non Standard, Reference, WebAPI
The LockedFile interface provides tools to deal with a given file with all the necessary locks.
2449LockedFile.abort()API, Files, Method, Non Standard, Reference, WebAPI
The abort method is used to release the lock on the LockedFile object, making it inactive: its LockedFile.active property is set to false and all ongoing operations are canceled.
2450LockedFile.activeAPI, Files, Non-standard, Property, Reference, WebAPI
The active property allows to know if the LockedFile object is still usable (true) or not (false). If the object is inactive then it is impossible to perform any read or write operation with it. Typically, a LockedFile object becomes inactive when the LockedFile.abort() method is called or if an error occurs.
2451LockedFile.append()API, Files, Method, Non Standard, Reference, WebAPI
The append method is used to write some data at the end of the file.
2452LockedFile.fileHandleAPI, Files, Non Standard, Property, Reference, WebAPI
The fileHandle property gives access to the FileHandle object that produced the LockedFile object.
2453LockedFile.flush()API, Files, Method, Non Standard, Reference, WebAPI
The flush method is used to ensure any change made to a file is properly written on disk.
2454LockedFile.getMetadata()API, Files, Method, Non Standard, Reference, WebAPI
The getMetadata method allows to retrieve some metadata about the locked file.
2455LockedFile.locationAPI, Files, Non Standard, Property, Reference, WebAPI
The location property is a zero-based index representing the position of the read/write pointer within the file. Its value indicates at which bytes within the file any write or read operation will start.
2456LockedFile.modeAPI, Files, Non Standard, Property, Reference, WebAPI
The mode property provides the read/write status of the LockedFile file.
2457LockedFile.onabortAPI, Files, Non Standard, Property, Reference, WebAPI
Specifies an event listener to receive abort events. These events occur when the locked file has been aborted with the LockedFile.abort() method.
2458LockedFile.oncompleteAPI, Files, Non Standard, Property, Reference, WebAPI
Specifies an event listener to receive complete events. These events occur each time a read or write operation is successful.
2459LockedFile.onerrorAPI, Files, Non Standard, Property, Reference, WebAPI
Specifies an event listener to receive error events. These events occur when something goes wrong.
2460LockedFile.readAsArrayBuffer()API, Files, Method, Non Standard, Reference, WebAPI
The readAsArrayBuffer method is used to read the content of the LockedFile object and provide the result of that reading as an ArrayBuffer. In many ways, it performs like the FileReader.readAsArrayBuffer() method.
2461LockedFile.readAsText()API, Files, Method, Non Standard, Reference, WebAPI
The readAsText method is used to read the content of the LockedFile object and provide the result of that reading as a string. In many ways, it performs like the FileReader.readAsText() method.
2462LockedFile.truncate()API, Files, Method, Non Standard, Reference, WebAPI
The truncate method is used to remove some data within the file.
2463LockedFile.write()API, Files, Method, Non Standard, Reference, WebAPI
The write method is used to write some data within the file.
2464LockManagerAPI, Experimental, Interface, LockManager, Reference, Web Locks API, lock
The LockManager interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing Lock object. To get an instance of LockManager, call navigator.locks.
2465LockManager.query()API, Experimental, LockManager, Method, Reference, Web Locks API, query()
The query() method of the LockManager interface returns a Promise which resolves with an object containing information about held and pending locks.
2466LockManager.request()API, Experimental, LockManager, Method, Reference, Web Locks API, request()
The request() method of the LockManager interface requests a Lock object with parameters specifying its name and characteristics. The requested Lock is passed to a callback, while the function itself returns a Promise that resolves with undefined.
2467Long Tasks APIAPI, Experimental, Landing, Long Tasks API, NeedsContent, Overview, Performance, PerformanceLongTaskTiming, Reference, TaskAttributionTiming, Web Performance
Long Tasks
2468MagnetometerAPI, Generic Sensor API, Interface, Magnetometer, Reference, Sensor, Sensor APIs, Sensors
The Magnetometer interface of the Sensor APIs provides information about the magnetic field as detected by the device’s primary magnetometer sensor.
2469Magnetometer.Magnetometer()API, Constructor, Generic Sensor API, Magnetometer, Reference, Sensor, Sensor APIs, Sensors
The Magnetometer constructor creates a new Magnetometer object which returns information about the magnetic field as detected by a device’s primary magnetometer sensor.
2470Magnetometer.xAPI, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, x
The x read-only property of the Magnetometer interface returns a double precision integer containing the magnetic field around the device's x axis.
2471Magnetometer.yAPI, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, y
The y read-only property of the Magnetometer interface returns a double precision integer containing the magnetic field around the device's y axis.
2472Magnetometer.zAPI, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, z
The z read-only property of the Magnetometer interface returns a double-precision integer containing the magnetic field around the device's z axis.
2473MathMLElementAPI, Interface, MathML, MathMLElement, Reference
The MathMLElement interface represents any MathML element.
2474Media Capabilities APIAPI, Experimental, Media Capabilities, Overview, Reference
The Media Capabilities API allows developers to determine decoding and encoding abilities of the device, exposing information such as whether media is supported and whether playback should be smooth and power efficient, with real time feedback about playback to better enable adaptive streaming, and access to display property information.
2475Using the Media Capabilities APIAPI, Audio, Guide, Intermediate, Media, Media Capabilities, Media Capabilities API, Video, capabilities
The Media Capabilities API provides several key features to help you better decide how to handle media, but also to determine how well media is being handled, in real time.
2476Media Session APIAudio, Media, Media Session API, MediaMetadata, MediaSession, Overview, Reference, Video
The Media Session API provides a way to customize media notifications. It does this by providing metadata for display by the user agent for the media your web app is playing.
2477Media Source APIAPI, Audio, Experimental, Landing, MSE, Media Source Extensions, Reference, Video, streaming
The Media Source API, formally known as Media Source Extensions (MSE), provides functionality enabling plugin-free web-based streaming media. Using MSE, media streams can be created via JavaScript, and played using audio and video elements.
2478Transcoding assets for Media Source ExtensionsDASH, Dynamic Adaptive Streaming over HTTP, Encoding, MSE, Media Source Extensions, adaptive
When working with Media Source Extensions, it is likely that you need to condition your assets before you can stream them. This article takes you through the requirements and shows you a toolchain you can use to encode your assets appropriately.
2479Media Capture and Streams API (Media Stream)API, Audio, Media, Media Capture and Streams API, Media Streams API, Overview, Video
The Media Capture and Streams API, often called the Media Streams API or MediaStream API, is an API related to WebRTC which provides support for streaming audio and video data.
2480Capabilities, constraints, and settingsAdvanced, Audio, Constraints, Example, Guide, Media, Media Capture and Streams API, Media Streams API, Settings, Video, WebRTC
The twin concepts of constraints and capabilities let the browser and Web site or app exchange information about what constrainable properties the browser's implementation supports and what values it supports for each one. This article discusses capabilities and constraints, as well as media settings, and includes an example we call the Example Constraint exerciser.
2481MediaCapabilitiesAPI, Audio, Experimental, Interface, Media, MediaCapabilities, Reference, Video
The MediaCapabilities interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser. The API can be used to query the browser about the decoding abilities of the device based on codecs, profile, resolution, and bitrates. The information can be used to serve optimal media streams to the user and determine if playback should be smooth and power efficient.
2482MediaCapabilities.decodingInfo()API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, decodingInfo()
The MediaCapabilities.decodingInfo() method, part of the Media Capabilities API, returns a promise with the tested media configuration's mediaCapabilitiesInfo; this contains the three Boolean properties supported, smooth, and powerefficient, which describe whether decoding the media described would be supported, smooth, and powerefficient.
2483MediaCapabilities.encodingInfo()API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, encodingInfo
The MediaCapabilities.encodingInfo() method, part of the MediaCapabilities interface of the Media Capabilities API, returns a promise with the tested media configuration's MediaCapabilitiesInfo; this contains the three Boolean properties supported, smooth, and powerefficient, which describe how compatible the device is with the type of media.
2484MediaCapabilitiesInfo
The interface of the promise returned by the the mediaCapabilities's encodingInfo() and decodingInfo() methods returning whether the media configuration tested is  supported, smooth, and powerEfficient.
2485MediaCapabilitiesInfoAPI, Audio, Experimental, Interface, Media Capabilities API, MediaCapabilitiesInfo, Reference, Video
The MediaCapabilitiesInfo interface of the Media Capabilities API is made available when the promise returned by the MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() methods of the MediaCapabilities interface fulfills, providing information as to whether the media type is supported, and whether encoding or decoding such media would be smooth and power efficient.
2486MediaConfigurationAPI, Audio, Experimental, Interface, Media Capabilities API, MediaConfiguration, Reference, Video
The MediaConfiguration MediaCapabilities dictionary of the Media Capabilities API describes how media and audio files must be configured, or defined, to be passed as a parameter of the MediaCapabilities.encodingInfo() and MediaCapabilities.encodingInfo() methods.
2487MediaDecodingConfigurationAPI, Audio, Experimental, Interface, Media Capabilities API, MediaDecodingConfiguration, Reference, Video
The MediaDecodingConfiguration dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.decodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
2488MediaDeviceInfoAPI, Audio, Interface, Media, Media Device Info, Media Devices, MediaDevicesInfo, Reference, Video, WebRTC, WebRTC API
The MediaDeviceInfo interface contains information that describes a single media input or output device.
2489MediaDeviceInfo.deviceIdAPI, Experimental, Media, MediaDevicesInfo, Property, deviceId
The deviceId readonly property of the MediaDeviceInfo interface returns a DOMString that is an identifier for the represented device and is persisted across sessions.
2490MediaDeviceInfo.groupIdAPI, Device, Input, Media, MediaDevicesInfo, Property, groupId, output
The groupId readonly property of the MediaDeviceInfo interface returns a DOMString that is a group identifier.
2491MediaDeviceInfo.kindAPI, Experimental, Media, MediaDevicesInfo, Property, kind
The kind readonly property of the MediaDeviceInfo interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput".
2492MediaDeviceInfo.labelAPI, Media, Media Capture, Media Capture and Streams, Media Capture and Streams API, MediaDevicesInfo, Property, Reference, label
The label readonlyinline property of the MediaDeviceInfo interface returns a DOMString, that is a label describing this device (for example "External USB Webcam").
2493MediaDevicesAPI, Audio, Conference, Devices, Interface, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Screen Capture, Screen Capture API, Sharing, Video, WebRTC
The MediaDevices interface provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data.
2494MediaDevices: devicechange eventAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Video, events
A devicechange event is sent to a MediaDevices instance whenever a media device such as a camera, microphone, or speaker is connected to or removed from the system. It's a generic Event with no added properties.
2495MediaDevices.enumerateDevices()API, MediaDevices, Method, Reference, WebRTC
The MediaDevices method enumerateDevices() requests a list of the available media input and output devices, such as microphones, cameras, headsets, and so forth.
2496MediaDevices.getDisplayMedia()API, Capture, Conference, Media, MediaDevices, Method, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, getDisplayMedia, screen
The MediaDevices interface's getDisplayMedia() method prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream.
2497MediaDevices.getSupportedConstraints()API, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Reference, WebRTC, getSupportedConstraints
The getSupportedConstraints() method of the MediaDevices interface returns an object based on the MediaTrackSupportedConstraints dictionary, whose member fields each specify one of the constrainable properties the user agent understands.
2498MediaDevices.getUserMedia()API, Audio, Capture, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Photos, Reference, Video, WebRTC, getusermedia
The MediaDevices.getUserMedia() method prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media.
2499MediaDevices.ondevicechangeAPI, Audio, Event Handler, Media, Media Capture and Streams API, MediaDevices, Property, Reference, Video, ondevicechanged
The MediaDevices.ondevicechange property is an EventHandler which specifies a function to be called when the devicechange event occurs on a MediaDevices instance. This happens whenever the set of media devices available to the user agent and, by extension, to the web site or app has changed. You can at any time use MediaDevices.enumerateDevices to get the updated list of available devices.
2500MediaElementAudioSourceNodeAPI, Audio, AudioNode, Interface, MediaElementAudioSourceNode, Reference, Web Audio API
The MediaElementAudioSourceNode interface represents an audio source consisting of an HTML5 audio or video element. It is an AudioNode that acts as an audio source.
2501MediaElementAudioSourceNode.mediaElementAPI, MediaElementAudioSourceNode, Property, Reference, Web Audio API, mediaElement
The MediaElementAudioSourceNode interface's read-only mediaElement property indicates the HTMLMediaElement that contains the audio track from which the node is receiving audio.
2502MediaElementAudioSourceNode()API, Audio, Constructor, MediaElementAudioSourceNode, Reference, Web Audio API
The MediaElementAudioSourceNode() constructor creates a new MediaElementAudioSourceNode object instance.
2503MediaEncodingConfigurationAPI, Audio, Experimental, Interface, Media Capabilities API, MediaEncodingConfiguration, Reference, Video
The MediaEncodingConfiguration dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.encodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
2504MediaErrorAPI, Audio, Errors, HTML DOM, Interface, Media, MediaError, Reference, Video
The MediaError interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as audio or video.
2505MediaError.codeAPI, Audio, Code, Errors, HTML DOM, Media, MediaError, Property, Read-only, Reference, Video
The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element. To get a text string with specific diagnostic information, see MediaError.message.
2506MediaError.messageAPI, Audio, Errors, HTML DOM, Media, MediaError, Property, Video, message
The read-only property MediaError.message returns a DOMString which contains a human-readable string offering specific diagnostic details related to the error described by the MediaError object, or an empty string ("") if no diagnostic information can be determined or provided.
2507msExtendedCode
In the event of an error, the media element's error event will be fired. The element's error property will then contain an msExtendedCode read-only property with platform-specific error code information.
2508MediaImage
The Media Session API's MediaImage dictionary describes the images associated with a media resource's MediaMetadata.
2509MediaKeyMessageEventAPI, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference
The MediaKeyMessageEvent interface of the EncryptedMediaExtensions API contains the content and related data when the content decryption module generates a message for the session.
2510MediaKeyMessageEvent()API, Constructor, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference
The MediaKeyMessageEvent constructor creates a new MediaKeyMessageEvent object which creates a new instance of MediaKeyMessageEvent.
2511messageAPI, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, message
The MediaKeyMessageEvent.message read-only property returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system.
2512MediaKeyMessageEvent.messageTypeAPI, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, messageType
The MediaKeyMessageEvent.messageType read-only property indicates the type of message. It may be one of license-request, license-renewal, license-release, or individualization-request.
2513MediaKeysAPI, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeys, NeedsExample, Reference, Video
The MediaKeys interface of EncryptedMediaExtensions API represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
2514createSession()API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, createSession
The MediaKeys.createSession() method returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM).
2515setServerCertificate()API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, setServerCertificate
The MediaKeys.setServerCertificate() method provides a server certificate to be used to encrypt messages to the license server.
2516MediaKeySessionAPI, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySession, NeedsExample, Reference, Video
The MediaKeySession interface of the EncryptedMediaExtensions API represents a context for message exchange with a content decryption module (CDM).
2517close()API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, close
The MediaKeySession.close() method notifies that the current media session is no longer needed, and that the content decryption module should release any resources associated with this object and close it. Then, it returns a Promise.
2518MediaKeySession.closedAPI, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, closed
The MediaKeySession.closed read-only property returns a Promise signaling when a MediaKeySession closes. This promise can only be fulfilled and is never rejected. Closing a session means that licenses and keys associated with it are no longer valid for decrypting media data.
2519expirationAPI, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, expiration
The MediaKeySession.expiration read-only property returns the time after which the keys in the current session can no longer be used to decrypt media data, or NaN if no such time exists. This value is determined by the CDM and measured in milliseconds since January 1, 1970, UTC. This value may change during a session lifetime, such as when an action triggers the start of a window.
2520generateRequest()API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, generateRequest
The MediaKeySession.generateRequest() method returns a Promise after generating a media request based on initialization data.
2521keyStatusesAPI, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, keyStatuses
The MediaKeySession.keyStatuses read-only property returns a reference to a read-only MediaKeyStatusMap of the current session's keys and their statuses.
2522load()API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, load
The MediaKeySession.load() method returns a Promise that resolves to a boolean value after loading data for a specified session object.
2523MediaKeySession.onkeystatuseschange
The onkeystatuseschange property of the MediaKeySession is an event handler, fired whenever a keystatuschange event ocurrs, denoting there has been a change in the keys or their statuses within a session.
2524MediaKeySession.onmessage
The onmessage property of the MediaKeySession is an event handler, fired whenever a MediaKeyMessageEvent occurs, denoting a message is generated by the content decryption module.
2525remove()API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, remove
The MediaKeySession.remove() method returns a Promise after removing any session data associated with the current object.
2526sessionIdAPI, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, sessionId
The MediaKeySession.sessionId is a read-only property that contains a unique string generated by the content decryption module (CDM) for the current media object and its associated keys or licenses.
2527update()API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, Update
The MediaKeySession.update() method loads messages and licenses to the CDM, and then returns a Promise .
2528MediaKeyStatusMapAPI, EncryptedMediaExtensions, MediaKeyStatusMap, NeedsContent, Reference
The MediaKeyStatusMap interface of the EncryptedMediaExtensions API is a read-only map of media key statuses by key IDs.
2529MediaKeyStatusMap.entries()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, entries()
The entries() read-only property of the MediaKeyStatusMap interface returns a new Iterator object, containing an array of [key, value] pairs for each element in the status map, in insertion order.
2530MediaKeyStatusMap.forEach()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, forEach()
The forEach property of the MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order. If an argument is present it will be passed to the callback.
2531MediaKeyStatusMap.get()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, get()
The get property of the MediaKeyStatusMap interface returns the value associated with the given key, or undefined if there is none.
2532MediaKeyStatusMap.has()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, has()
The has property of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.
2533MediaKeyStatusMap.keys()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, keys()
The keys property of the MediaKeyStatusMap interface returns a new Iterator object, containing keys for each element in the status map, in insertion order
2534MediaKeyStatusMap.sizeAPI, EncryptedMediaExtensions, MediaKeyStatusMap, Property, Reference, size
The size read-only property of the MediaKeyStatusMap interface returns the number of key/value paIrs in the status map.
2535MediaKeyStatusMap.values()API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, values()
The values property of the MediaKeyStatusMap interface returns a new Iterator object, containing values for each element in the status map, in insertion order.
2536MediaKeySystemAccessAPI, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySystemAccess, NeedsExample, Reference, Référence(2), Video
The MediaKeySystemAccess interface of the EncryptedMediaExtensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method.
2537createMediaKeys()API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, createMediaKeys
The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.
2538getConfiguration()API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, getConfiguration
The MediaKeySystemAccess.getConfiguration() method returns a MediaKeySystemConfiguration object with the supported combination of configuration options.
2539keySystemAPI, EncryptedMediaExtensions, Experimental, MediaKeySystemAccess, NeedsExample, Property, Reference, keySystem
The MediaKeySystemAccess.keySystem read-only property returns a DOMString identifying the key system being used.
2540MediaKeySystemConfigurationAPI, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, Interface, MediaKeySystemConfiguration, NeedsContent, NeedsExample, Reference
The MediaKeySystemConfiguration dictionary holds configuration information about the media key system in use.
2541audioCapabilitiesAPI, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, initDataTypes
The MediaKeySystemConfiguration.audioCapabilities read-only property returns an array of supported audio type and capability pairs.
2542distinctiveIdentifierAPI, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, distinctiveIdentifier
The MediaKeySystemConfiguration.distinctiveIdentifier read-only property indicates whether a persistent distinctive identifier is required.
2543initDataTypesAPI, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes
The MediaKeySystemConfiguration.initDataTypes read-only property returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
2544persistentStateAPI, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, persistentState
The MediaKeySystemConfiguration.persistentState read-only property indicates whether the ability to persist state is required.
2545videoCapabilitiesAPI, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes
The MediaKeySystemConfiguration.videoCapabilities read-only property returns an array of supported video type and capability pairs.
2546MediaListAPI, CSSOM, Interface, MediaList, Reference
The MediaList interface represents the media queries of a stylesheet, e.g. those set using a link element's media attribute.
2547MediaList.mediaTextAPI, CSSOM, MediaList, Property, Reference, mediaText
The mediaText property of the MediaList interface is a stringifier that returns a DOMString representing the MediaList as text, and also allows you to set a new MediaList.
2548MediaMetadataAudio, Interface, Media, Media Session API, MediaMetadata, MediaSession, Reference, Video
The MediaMetadata interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI.
2549MediaMetadata.albumAPI, MediaMetadata, Property, Reference
The album property of the MediaMetaData interface returns or sets the name of the album or collection containing the media to be played.
2550MediaMetadata.artistAudio, Media, Media Session API, MediaMetadata, Property, Reference, Video, artist
The artist property of the MediaMetaData interface returns or sets the name of the artist, group, creator, etc., of the media to be played.
2551MediaMetadata.artworkAudio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork
The artwork property of the MediaMetaData interface returns or sets an array of MediaImage objects representing images associated with playing media.
2552MediaMetadata.MediaMetadata()Audio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork
The MediaMetadata() constructor creates a new MediaMetadata object.
2553MediaMetadata.titleAPI, Audio, Media, Media Session API, MediaMetadata, Property, Reference, Title, Video
The title property of the MediaMetaData interface returns or sets the title of the media to be played.
2554MediaPositionStateAPI, Audio, Dictionary, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Position, Reference, Video, direction, rate, speed
The Media Session API's MediaPositionState dictionary is used to represent the current playback position of a media session.
2555MediaPositionState.durationAPI, Audio, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Property, Reference, Time, Video, duration, length
The MediaPositionState dictionary's duration property is used when calling the MediaSession method MediaSession.setPositionState to provide the user agent with the overall total duration in seconds of the media currently being performed.
2556MediaPositionState.playbackRateAPI, Audio, Media, Media Session, Media Session API, MediaPositionState, MediaSession API, Playback, Property, Reference, Video, direction, playbackRate, rate, speed
The MediaPositionState dictionary's playbackRate property is used when calling the MediaSession method MediaSession.setPositionState to tell the user agent the rate at which media is currently being played.
2557MediaPositionState.positionAPI, Audio, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Position, Property, Reference, Time, Video
The MediaPositionState dictionary's position property is used when calling the MediaSession method MediaSession.setPositionState to provide the user agent with the current playback position, in seconds, of the currently-playing media.
2558MediaQueryListAPI, Adaptive Design, CSSOM View, DOM, Interface, Media Queries, MediaQueryList, Reference, query
A MediaQueryList object stores information on a media query applied to a document, with support for both immediate and event-driven matching against the state of the document.
2559MediaQueryList.addListener()API, CSSOM View, Media Queries, MediaQueryList, Method, Reference, addListener
The addListener() method of the MediaQueryList interface adds a listener to the MediaQueryListener that will run a custom callback function in response to the media query status changing.
2560MediaQueryList.matchesAPI, Adaptive Design, CSSOM, CSSOM View, DOM, Media Queries, MediaQueryList, Property, Reference, matches
The matches read-only property of the MediaQueryList interface is a Boolean that returns true if the document currently matches the media query list, or false if not.
2561MediaQueryList.mediaAPI, CSSOM View, Media, Media Queries, MediaQueryList, Property, Reference
The media read-only property of the MediaQueryList interface is a DOMString representing a serialized media query.
2562MediaQueryList.onchangeAPI, CSSOM View, Event Handler, MediaQueryList, Property, Reference, onchange
The onchange property of the MediaQueryList interface is an event handler property representing a function that is invoked when the MediaQueryList/change_event event fires, i.e when the status of media query support changes. The event object is a MediaQueryListEvent instance, which is recognised as a MediaListQuery instance in older browsers, for backwards compatibility purposes.
2563MediaQueryList.removeListener()API, CSSOM View, Media Queries, MediaQueryList, Method, Reference, removeListener
The removeListener() method of the MediaQueryList interface removes a listener from the MediaQueryListener.
2564MediaQueryListEventAPI, CSSOM View, Interface, Media Queries, MediaQueryListEvent, Reference
The MediaQueryListEvent object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a MediaQueryList.onchange property or MediaQueryList.addListener() call.
2565MediaQueryListEvent.matchesAPI, CSSOM View, Media Queries, MediaQueryListEvent, Property, Reference, matches
The matches read-only property of the MediaQueryListEvent interface is a Boolean that returns true if the document currently matches the media query list, or false if not.
2566MediaQueryListEvent.mediaAPI, CSSOM View, Media, Media Queries, MediaQueryListEvent, Property, Reference
The media read-only property of the MediaQueryListEvent interface is a DOMString representing a serialized media query.
2567MediaQueryListEvent.MediaQueryListEvent()API, CSSOM View, Constructor, Media Queries, MediaQueryListEvent, Reference
The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance.
2568MediaRecorderAPI, Audio, Interface, Media, Media Capture, Media Capture and Streams, Media Recorder API, MediaRecorder, Reference, Video
The MediaRecorder interface of the MediaStream Recording API provides functionality to easily record media. It is created using the MediaRecorder.MediaRecorder constructor.
2569MediaRecorder.audioBitsPerSecondAPI, Audio, Media Recorder API, MediaRecorder, Property, Reference
The audioBitsPerSecond read-only property of the MediaRecorder interface returns the audio encoding bit rate in use.
2570MediaRecorder: error eventEvent
The MediaRecorder interface's error event is fired when an error occurs: for example because recording wasn't allowed or was attempted using an unsupported codec.
2571MediaRecorder.ignoreMutedMediaAPI, Audio, Media Recorder API, MediaRecorder, Property, Reference, Video
The ignoreMutedMedia property of the MediaRecorder interface indicates whether the MediaRecorder instance will record input, when the input MediaStreamTrack is muted.
2572MediaRecorder.isTypeSupportedAPI, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, Video, canRecordMimeType
The MediaRecorder.isTypeSupported() static method returns a Boolean which is true if the MIME type specified is one the user agent should be able to successfully record.
2573MediaRecorder()API, Audio, Constructor, Media, Media Capture, Media Recorder API, MediaRecorder, Reference, Video
The MediaRecorder() constructor creates a new MediaRecorder object that will record a specified MediaStream.
2574MediaRecorder.mimeTypeAPI, Audio, Media, MediaRecorder, MediaRecorder API, MediaStream Recording, Property, Reference, Video, mimeType
The mimeType read-only property returns the MIME media type that was specified when creating the MediaRecorder object, or, if none was specified, which was chosen by the browser.
2575MediaRecorder.ondataavailableAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording API, Property, Reference, Video, ondataavailable
The MediaRecorder.ondataavailableevent handler (part of the MediaStream Recording API) handles the dataavailable event, letting you run code in response to Blob data being made available for use.
2576MediaRecorder.onerrorAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onerror
The MediaRecorder interface's onerror event handler is called by the MediaStream Recording API when an error occurs. You can provide an event handler to deal with errors that occur while creating or using a media recorder
2577MediaRecorder.onpauseAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onpause
The MediaRecorder.onpauseevent handler (part of the MediaRecorder API) handles the pause event, allowing you to run code in response to the media recording being paused.
2578MediaRecorder.onresumeAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onresume
The MediaRecorder.onresumeevent handler (part of the MediaRecorder API) handles the resume event, allowing you to run code in response to the media recording being resumed after pausing.
2579MediaRecorder.onstartAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstart
The MediaRecorder.onstartevent handler (part of the MediaRecorder API) handles the start event, allowing you to run code in response to media recording being started by a MediaRecorder.
2580MediaRecorder.onstopAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstop
The MediaRecorder.onstopevent handler (part of the MediaRecorder API) handles the stop event, allowing you to run code in response to media recording via a MediaRecorder being stopped.
2581MediaRecorder.onwarningAPI, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onwarning
The MediaRecorder.onwarningevent handler (part of the MediaRecorder API) handles the recordingwarning event, allowing you to run code in response to non-fatal errors being thrown during media recording via a MediaRecorder, which don't halt recording.
2582MediaRecorder.pause()API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, pause
The Media.pause() method (part of the MediaRecorder API) is used to pause recording of media streams.
2583MediaRecorder.requestData()API, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording, Method, Reference, Video, requestData
The MediaRecorder.requestData() method (part of the MediaRecorder API) is used to raise a dataavailable event containing a Blob object of the captured media as it was when the method was called.
2584MediaRecorder.resume()API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, resume
The MediaRecorder.resume() method (part of the MediaRecorder API) is used to resume media recording when it has been previously paused.
2585MediaRecorder.start()API, Audio, Media, Media Capture, MediaRecorder, MediaStream Recording, MediaStream Recording API, Method, NeedsExample, Recording Media, Reference, Video, start
The MediaRecorder method start(), which is part of the MediaStream Recording API, begins recording media into one or more Blob objects.
2586MediaRecorder.stateAPI, Media Recorder API, MediaRecording, Property, Reference, state
The MediaRecorder.state read-only property returns the current state of the current MediaRecorder object.
2587MediaRecorder.stop()API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, stop
The MediaRecorder.stop() method (part of the MediaRecorder API) is used to stop media capture.
2588MediaRecorder.streamAPI, Media Recorder API, MediaRecorder, Property, Reference, stream
The MediaRecorder.stream read-only property returns the stream that was passed into the MediaRecorder() constructor when the MediaRecorder was created.
2589MediaRecorder.videoBitsPerSecond
The videoBitsPerSecond read-only property of the MediaRecorder interface returns the video encoding bit rate in use.
2590MediaRecorderErrorEventAV, Audio, Error, Event, Interface, Media, MediaRecorderErrorEvent, MediaStream, MediaStream Recording, MediaStream Recording API, Recording Audio, Recording Media, Recording Video, Video, WebRTC
The MediaRecorderErrorEvent interface represents errors returned by the MediaStream Recording API. It is an Event object that encapsulates a reference to a DOMException describing the error that occurred.
2591MediaRecorderErrorEvent.errorAPI, Error, Error Handling, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Property, Reference
The read-only error property in the MediaRecorderErrorEvent interface is a DOMException object providing details about the exception that was thrown by a MediaRecorder instance.
2592MediaRecorderErrorEvent()API, Audio, Constructor, Media, Media Capture, Media Capture and Streams, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Recording, Video
The MediaRecorderErrorEvent() constructor creates a new MediaRecorderErrorEvent object that represents an error that occurred during the recording of media by the MediaStream Recording API.
2593MediaSessionAPI, Audio, Interface, Media, Media Session API, MediaSession, Reference, Video
The MediaSession interface of the Media Session API allows a web page to provide custom behaviors for standard media playback interactions, and to report metadata that can be sent by the user agent to the device or operating system for presentation in standardized user interface elements.
2594MediaSession.metadataAudio, Media, Media Session API, MediaSession, Property, Reference, Video, metadata
The metadata property of the MediaSession interface contains a MediaMetadata object  providing descriptive information about the currently playing media, or null if the metadata has not been set. This metadata is provided by the browser to the device for presentation in any standard media control user interface the device might offer.
2595MediaSession.playbackStateAudio, Media, Media Session API, MediaSession, Property, Reference, Video, playbackState
The playbackState property of the MediaSession interface indicates whether the current media session is playing or paused.
2596MediaSession.setActionHandler()API, Audio, Media, Media Session API, MediaSession, Method, Reference, UX, Video, setActionHandler
The setActionHandler() method of the MediaSession interface sets a handler for a media session action. These actions let a web app receive notifications when the user engages a device's built-in physical or onscreen media controls, such as play, stop, or seek buttons.
2597MediaSession.setPositionState()API, Audio, Media, Media Session API, MediaSession, Method, Playback, Position, Reference, Session, Video, rate, setPositionState, speed
The MediaSession method setPositionState() is used to update the current document's media playback position and speed for presentation by user's device in any kind of interface that provides details about ongoing media.
2598Media Session action typesAPI, Action Type, Enum, Enumerated Type, Media Session API, Media Sessionn Action Type, MediaSession API, MediaSessionAction, Reference, Type
The specific type of media session action to be handled on a MediaSession is identified using a string from the MediaSessionAction enumerated type.
2599MediaSessionActionDetailsAPI, Audio, Dictionary, Media, Media Session API, MediaSession, MediaSessionActionDetails, Reference, Video, forward, pause, play, reverse, seek
The Media Session API'MediaSessionActionDetails dictionary is the type used by the sole input parameter into the callback which is executed when a Media action types occurs.
2600MediaSessionActionDetails.actionAPI, Media, Media Session, Media Session API, MediaSessionActionDetails, Property, Reference, Session, action, details
The action property is the only required property MediaSessionActionDetails dictionary, specifying the type of media session action which the action handler callback is being executed for.
2601MediaSessionActionDetails.fastSeekAPI, Audio, Media, Media Session API, MediaSessionActionDetails, Property, Reference, Scrub, Video, action, fastSeek, seek
The Boolean property fastSeek in the MediaSessionActionDetails dictionary is an optional value which, when specified and true, indicates that the requested seekto operation is part of an ongoing series of seekto operations. Your handler should take steps to return as quickly as possible by skipping any steps of its operation which are only necessary when the seek operation is complete.
2602MediaSessionActionDetails.seekOffsetAPI, Audio, Media, Media Session API, MediaSession API, MediaSessionActionDetails, Property, Reference, Rewind, Scrub, Skip, Video, action, forward, offset, reverse, seek, seekOffset
The MediaSessionActionDetails dictionary's seekOffset property is an optional value passed into the action handler callback to provide the number of seconds the seekforward and seekbackward actions should move the playback time by.
2603MediaSessionActionDetails.seekTimeAPI, Audio, Media, Media Session API, MediaSession, MediaSessionActionDetails, Property, Reference, Scrub, Time, Video, absolute, forward, reverse, seek, seekTime
The MediaSessionActionDetails dictionary's seekTime property is always included when a seekto action is sent to the action handler callback. Its value is the absolute time, in seconds, to move the current play position to.
2604MediaSettingsRangeAPI, Image, ImageCapture, Interface, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Refernce
The MediaSettingsRange interface of the MediaStream Image Capture API provides the possible range and value size of PhotoCapabilities.imageHeight and PhotoCapabilities.imageWidth. A PhotoCapabilities object can be retrieved by calling ImageCapture.PhotoCapabilities.
2605MediaSettingsRange.maxAPI, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, max
The max read-only property of the MediaSettingsRange interface returns the maximum value of the settings range.
2606MediaSettingsRange.minAPI, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, min
The min read-only property of the MediaSettingsRange interface returns the minimum value of the settings range.
2607MediaSettingsRange.stepAPI, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, step
The step read-only property of the MediaSettingsRange interface returns the minimum difference between consecutive values of the settings range.
2608MediaSourceAPI, Audio, Experimental, Extensions, Interface, MSE, Media, MediaSource, MediaSource Extensions, Reference, Video
The MediaSource interface of the Media Source Extensions API represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent.
2609MediaSource.activeSourceBuffersAPI, Audio, Experimental, MSE, MediaSource, MediaSourceExtensions, Property, Reference, Video, activeSourceBuffers
The activeSourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing a subset of the SourceBuffer objects contained within MediaSource.sourceBuffers — the list of objects providing the selected video track, enabled audio tracks, and shown/hidden text tracks.
2610MediaSource.addSourceBuffer()API, Audio, MSE, Media, Media Source Extensions, MediaSource, Method, Reference, Video, addSourceBuffer
The addSourceBuffer() method of the MediaSource interface creates a new SourceBuffer of the given MIME type and adds it to the MediaSource's MediaSource.sourceBuffers list. The new SourceBuffer is also returned.
2611MediaSource.clearLiveSeekableRange()API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, clearLiveSeekableRange()
The clearLiveSeekableRange() method of the MediaSource interface clears a seekable range previously set with a call to MediaSource.setLiveSeekableRange().
2612MediaSource.durationAPI, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, duration
The duration property of the MediaSource interface gets and sets the duration of the current media being presented.
2613MediaSource.endOfStream()API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, endOfStream
The endOfStream() method of the MediaSource interface signals the end of the stream.
2614MediaSource.isTypeSupported()API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Static, Static Method, Video, isTypeSupported
The MediaSource.isTypeSupported() static method returns a Boolean value which is true if the given MIME type is likely to be supported by the current user agent.
2615MediaSource.MediaSource()API, Audio, Constructor, Experimental, MSE, Media Source Extensions, MediaSource, Reference, Video
The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
2616MediaSource.readyStateAPI, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, readyState
The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are:
2617MediaSource.removeSourceBuffer()API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, removeSourceBuffer
The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBuffers list associated with this MediaSource object.
2618MediaSource.setLiveSeekableRange()API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, setLiveSeekableRange()
The setLiveSeekableRange() method of the MediaSource interface sets the range that the user can seek to in the media element.
2619MediaSource.sourceBuffersAPI, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, sourceBuffers
The sourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource.
2620MediaStream Image Capture APIAPI, Image, MediaStream, MediaStream Image Capture API, Overview, Reference, Video
The MediaStream Image Capture API is an API for capturing images or videos from a photographic device. In addition to capturing data, it also allows you to retrieve information about device capabilities such as image size, red-eye reduction and whether or not there is a flash and what they are currently set to. Conversely, the API allows the capabilities to be configured within the constraints what the device allows.
2621MediaStream Recording APIAPI, Audio, Media, Media Capture and Streams, MediaStream Recording, MediaStream Recording API, Overview, Reference, Video
The MediaStream Recording API, sometimes referred to as the Media Recording API or the MediaRecorder API, is closely affiliated with the Media Capture and Streams API and the WebRTC API. The MediaStream Recording API makes it possible to capture the data generated by a MediaStream or HTMLMediaElement object for analysis, processing, or saving to disk. It's also surprisingly easy to work with.
2622Recording a media elementAPI, Audio, Example, Guide, Media, Media Recording, MediaStream Recording, Tutorial, Video
While the article Using the MediaStream Recording API demonstrates using the MediaRecorder interface to capture a MediaStream generated by a hardware device, as returned by MediaDevices.getUserMedia(), you can also use an HTML media element (namely audio or video) as the source of the MediaStream to be recorded. In this article, we'll look at an example that does just that.
2623Using the MediaStream Recording APIAPI, Example, Guide, MediaRecorder, MediaStream Recording API, NeedsUpdate, Tutorial

The MediaStream Recording API makes it easy to record audio and/or video streams. When used with MediaDevices.getUserMedia(), it provides an easy way to record from the user's input devices and instantly use the result in web apps. Both audio and video may be recorded, separately or together. This article aims to provide a basic guide on how to use the MediaRecorder interface, which provides this API.

2624MediaStreamAPI, Interface, Media Streams API, MediaStream, Reference, WebRTC
The MediaStream interface represents a stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack.
2625activeAPI, Media Capture and Streams, Media Streams API, MediaStream, Property, Reference, active
The active read-only property of the MediaStream interface returns a Boolean value which is true if the stream is currently active; otherwise, it returns false. A stream is considered active if at least one of its MediaStreamTracks is not in the MediaStreamTrack.ended state. Once every track has ended, the stream's active property becomes false.
2626MediaStream: addtrack eventEvent
The addtrack event is fired when a new MediaStreamTrack object has been added to a MediaStream.
2627MediaStream.addTrack()API, Media Streams API, Method, NeedsExample, Reference, addTrack
The MediaStream.addTrack() method adds a new track to the stream. The track is specified as a parameter of type MediaStreamTrack.
2628MediaStream.clone()API, Media Capture and Streams, Media Stream API, MediaStream, Method, Reference, clone
The clone() method of the MediaStream interface creates a duplicate of the MediaStream. This new MediaStream object has a new unique MediaStream.id and contains clones of every MediaStreamTrack contained by the MediaStream on which clone() was called.
2629MediaStream.endedAPI, Media Streams API, MediaStream, Obsolete, Property, Reference, ended
The ended read-only property of the MediaStream interface returns a Boolean value which is true if the stream has been completely read, or false if the end of the stream has not been reached. This value  once the ended event has been fired.
2630MediaStream.getAudioTracks()API, Audio, Experimental, Media, Media Capture and Streams API, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getAudioTracks, track
The getAudioTracks() method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set where MediaStreamTrack.kind is audio.
2631MediaStream.getTrackById()Media, MediaStream, MediaStream API, Method, Reference, WebRTC, getTrackById
The MediaStream.getTrackById() method returns a MediaStreamTrack object representing the track with the specified ID string. If there is no track with the specified ID, this method returns null.
2632MediaStream.getTracks()API, Experimental, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getTracks
The getTracks() method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set, regardless of MediaStreamTrack.kind.
2633MediaStream.getVideoTracks()API, Media, Media Capture and Streams API, Media Streams API, MediaStream, Method, Reference, Video, getVideoTracks, stream, track
The getVideoTracks() method of the MediaStream interface returns a sequence of MediaStreamTrack objects representing the video tracks in this stream.
2634MediaStream.idMediaStream, Property, Read-only, Reference, Web
The MediaStream.id() read-only property is a DOMString containing 36 characters denoting a unique identifier (GUID) for the object.
2635MediaStream()API, Audio, Constructor, Media, Media Capture and Streams, Media Capture and Streams API, MediaStream, Reference, Streams, Tracks, Video, WebRTC, streaming
The MediaStream() constructor returns a newly-created MediaStream, which serves as a collection of media tracks, each represented by a MediaStreamTrack object.
2636MediaStream.onaddtrackAPI, Event Handler, Media Streams API, MediaStream, Property, Reference
The MediaStream.onaddtrack property is an EventHandler which specifies a function to be called when the addtrack event occurs on a MediaStream instance. This happens when a new track of any kind is added to the media stream.
2637MediaStream.onremovetrackAPI, Event Handler, Media Streams API, MediaStream, Property, Reference, onremovetrack
The MediaStream.onremovetrack property is an EventHandler which specifies a function to be called when the removetrack event occurs on a MediaStream instance. This happens when a track of any kind is removed from the media stream.
2638MediaStream: removetrack eventEvent
The removetrack event is fired when a new MediaStreamTrack object has been removed from a MediaStream.
2639MediaStreamAudioDestinationNodeAPI, Interface, MediaStreamAudioDestinationNode, Reference, Web Audio API
The MediaStreamAudioDestinationNode interface represents an audio destination consisting of a WebRTC MediaStream with a single AudioMediaStreamTrack, which can be used in a similar way to a MediaStream obtained from Navigator.getUserMedia().
2640MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode()API, Audio, Constructor, MediaStreamAudioDestinationNode, Reference, Web Audio API
The MediaStreamAudioDestinationNode() constructor of the Web Audio API creates a new MediaStreamAudioDestinationNode object instance.
2641MediaStreamAudioDestinationNode.streamAPI, Audio, MediaStreamAudioDestinationNode, Property, Reference, Web Audio API, stream
The stream property of the AudioContext interface represents a MediaStream containing a single audio MediaStreamTrack with the same number of channels as the node itself.
2642MediaStreamAudioSourceNodeAPI, Audio, AudioNode, Interface, Media, MediaStream, MediaStreamAudioSourceNode, MediaStreamTrack, Reference, Web, Web Audio API, WebRTC, getusermedia, sound, stream, track
The MediaStreamAudioSourceNode interface is a type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs.
2643MediaStreamAudioSourceNode.mediaStreamAPI, Audio, Media, MediaStream, MediaStreamAudioSourceNode, Reference, Web, Web Audio, Web Audio API, stream
The MediaStreamAudioSourceNode interface's read-only mediaStream property indicates the MediaStream that contains the audio track from which the node is receiving audio.
2644MediaStreamAudioSourceNode()API, Audio, Constructor, MediaStreamAudioSourceNode, Reference, Web Audio API
The Web Audio API's MediaStreamAudioSourceNode() constructor creates and returns a new MediaStreamAudioSourceNode object which uses the first audio track of a given MediaStream as its source.
2645MediaStreamAudioSourceOptionsAPI, Audio, AudoNode, Dictionary, Media, MediaStream, MediaStreamAudioSourceOptions, Options, Reference, Web, Web Audio, Web Audio API, stream
The MediaStreamAudioSourceOptions dictionary provides configuration options used when creating a MediaStreamAudioSourceNode using its constructor.
2646MediaStreamAudioSourceOptions.mediaStreamAPI, Audio, Media, MediaStream, MediaStreamAudioSourceOptions, MediaStreamTrack, Options, Property, Reference, Web, Web Audio, Web Audio API
The MediaStreamAudioSourceOptions dictionary's mediaStream property must specify the MediaStream from which to retrieve audio data when instantiating a MediaStreamAudioSourceNode using the MediaStreamAudioSourceNode.MediaStreamAudioSourceNode constructor.
2647MediaStreamConstraintsAPI, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, WebRTC, getusermedia
The MediaStreamConstraints dictionary is used when calling MediaDevices.getUserMedia to specify what kinds of tracks should be included in the returned MediaStream, and, optionally, to establish constraints for those tracks' settings.
2648MediaStreamConstraints.audioAPI, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Web, WebRTC, getusermedia
The MediaStreamConstraints dictionary's audio property is used to indicate what kind of audio track, if any, should be included in the MediaStream returned by a call to MediaDevices.getUserMedia.
2649MediaStreamConstraints.videoAPI, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, getusermedia
The MediaStreamConstraints dictionary's video property is used to indicate what kind of video track, if any, should be included in the MediaStream returned by a call to MediaDevices.getUserMedia.
2650MediaStreamEventAPI, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC
The MediaStreamEvent interface represents events that occurs in relation to a MediaStream. Two events of this type can be thrown: addstream and removestream.
2651MediaStreamEvent()Constructor, Experimental, Expérimental(2), MediaStreamEvent, Reference, Référence(2), WebRTC
The MediaStreamEvent() constructor creates a new MediaStreamEvent.
2652MediaStreamEvent.streamExperimental, Expérimental(2), MediaStreamEvent, Property, Read-only, Reference, Référence(2), WebRTC
The read-only property MediaStreamEvent.stream returns the MediaStream associated with the event.
2653MediaStreamTrackAPI, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Reference, Video, WebRTC
The MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.
2654MediaStreamTrack.applyConstraints()API, Constraints, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, applyConstraints
The applyConstraints() method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the Web site or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancelation, and so forth.
2655MediaStreamTrack.clone()API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, clone
The clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack. This new MediaStreamTrack object is identical except for its unique MediaStreamTrack.id.
2656MediaStreamTrack.enabledMedia, Media Capture and Streams, MediaStreamTrack, Muting a Media Track, Muting a Track, Property, Reference, WebRTC, enabled
The enabled property on the MediaStreamTrack interface is a Boolean value which is true if the track is allowed to render the source stream or false if it is not. This can be used to intentionally mute a track.
2657MediaStreamTrack: ended eventAudio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended
The ended event of the MediaStreamTrack interface is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
2658MediaStreamTrack.getCapabilities()API, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, getCapabilities
The getCapabilities() method of the MediaStreamTrack interface returns a MediaTrackCapabilities object which specifies the values or range of values which each constrainable property, based upon the platform and user agent.
2659MediaStreamTrack.getConstraints()API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, getConstraints
The getConstraints() method of the MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to MediaStreamTrack.applyConstraints. These constraints indicate values and ranges of values that the Web site or application has specified are required or acceptable for the included constrainable properties.
2660MediaStreamTrack.getSettings()API, Constraints, Media Capture and Streams, MediaStreamTrack, Method, Reference
The getSettings() method of the MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current MediaStreamTrack.
2661MediaStreamTrack.idMedia Capture and Streams, MediaStreamTrack, Property, Read-only, Reference, WebRTC
The MediaStreamTrack.id read-only property returns a DOMString containing a unique identifier (GUID) for the track, which is generated by the user agent.
2662MediaStreamTrack.kindMedia Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference, WebRTC
The MediaStreamTrack.kind read-only property returns a DOMString set to "audio" if the track is an audio track and to "video", if it is a video track.
2663MediaStreamTrack.labelMedia Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference, WebRTC
The MediaStreamTrack.label read-only property returns a DOMString containing a user agent-assigned label that identifies the track source, as in "internal microphone".
2664MediaStreamTrack: mute eventAPI, Audio, Event, Media, Media Capture and Streams, MediaStreamTrack, Reference, Video, mute
The mute event is sent to a MediaStreamTrack when the track's source is temporarily unable to provide media data.
2665MediaStreamTrack.mutedAPI, Media Capture and Streams, MediaStreamTrack, Property, Read-only, Reference, muted
The muted read-only property of the MediaStreamTrack interface returns a Boolean value indicating whether or not the track is currently unable to provide media output.
2666MediaStreamTrack.onendedAPI, Event Handler, Media Streams API, MediaStreamTrack, Property, Reference, onended
The MediaStreamTrack.onended event handler is used to specify a function which serves as an EventHandler to be called when the ended event occurs on the track. This event occurs when the track will no longer provide data to the stream for any reason, including the end of the media input being reached, the user revoking needed permissions, the source device being removed, or the remote peer ending a connection.
2667MediaStreamTrack.onmuteEvent Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, mute, onmute
MediaStreamTrack's onmute event handler is called when the mute event is received.
2668MediaStreamTrack.onoverconstrainedAPI, Deprecated, Event Handler, Property, Reference, WebRTC
The MediaStreamTrack.onoverconstrained event handler is a property called when the overconstrained event is received. Such an event is sent when the track is again able to send data.
2669MediaStreamTrack.onunmuteAPI, Event Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, onunmute, unmute
MediaStreamTrack's onunmute event handler is called when the unmute event is received. Such an event is sent when the track is again able to send data.
2670MediaStreamTrack.readyStateAPI, Media Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference
The MediaStreamTrack.readyState read-only property returns an enumerated value giving the status of the track.
2671MediaStreamTrack.remoteDeprecated, MediaStreamTrack, Property, Read-only, Reference, WebRTC
The MediaStreamTrack.remote read-only property allows Javascript to know whether a WebRTC MediaStreamTrack is from a remote source or a local one. It returns a Boolean with a value of true if the track is sourced remotely (that is, sourced by an RTCPeerConnection), or false if it is sourced locally.
2672MediaStreamTrack.stop()API, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, Streams, WebRTC, stop
The MediaStreamTrack.stop() method stops the track.
2673MediaStreamTrack: unmute eventAudio, Event, Media, Media Capture and Streams, Media Streams, MediaStreamTrack, Reference, Video, unmute
The unmute event is sent to a MediaStreamTrack when the track's source is once again able to provide media data after a period of not being able to do so.
2674MediaStreamTrackAudioSourceNode
The MediaStreamTrackAudioSourceNode interface is a type of AudioNode which represents a source of audio data taken from a specific MediaStreamTrack obtained through the WebRTC or Media Capture and Streams APIs.
2675MediaStreamTrackAudioSourceNode()API, Audio, AudioSource, Interface, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Reference, Web Audio, Web Audio API, sound, source, track
The Web Audio API's MediaStreamTrackAudioSourceNode() constructor creates and returns a new MediaStreamTrackAudioSourceNode object whose audio is taken from the MediaStreamTrack specified in the given options object.
2676MediaStreamTrackAudioSourceOptionsAPI, Audio, Dictionary, Media, MediaStreamTrack, MediaStreamTrackAudioSourceOptions, Node, Options, Reference, Web Audio, Web Audio API, sound
The MediaStreamTrackAudioSourceOptions dictionary is used when specifying options to the MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioSourceNode constructor.
2677MediaStreamTrackAudioSourceOptions.mediaStreamTrackAPI, Audio, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Options, Property, Reference, Web Audio, Web Audio API, sound, source, track
The MediaStreamTrackAudioSourceOptions dictionary's mediaStreamTrack property must contain a reference to the MediaStreamTrack from which the MediaStreamTrackAudioSourceNode being created using the MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioSourceNode constructor.
2678MediaStreamTrackEventAPI, Event, Interface, Media, Media Streams API, MediaStreamTrackEvent, Reference, Streams, track
The MediaStreamTrackEvent interface represents events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur.
2679MediaStreamTrackEvent()API, Constructor, Media Streams API, MediaStreamTrackEvent, Reference
The MediaStreamTrackEvent() constructor returns a newly created MediaStreamTrackEvent object, which represents an event announcing that a MediaStreamTrack has been added to or removed from a MediaStream.
2680MediaTrackConstraintsAPI, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Reference, Screen Sharing, Screen Sharing API, Sharing, WebRTC, screen
The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into MediaStreamTrack.applyConstraints to allow a script to establish a set of exact (required) values or ranges and/or preferred values or ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling MediaStreamTrack.getConstraints.
2681MediaTrackConstraints.aspectRatioAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, aspectRatio, getusermedia
The MediaTrackConstraints dictionary's aspectRatio property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.aspectRatio constrainable property.
2682MediaTrackConstraints.autoGainControlAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, autoGainControl
The MediaTrackConstraints dictionary's autoGainControl property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.autoGainControl constrainable property.
2683MediaTrackConstraints.channelCountAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, channelCount
The MediaTrackConstraints dictionary's channelCount property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.channelCount constrainable property.
2684MediaTrackConstraints.cursorAPI, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen
The MediaTrackConstraints dictionary's cursor property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.cursor constrainable property, which is used to specify whether or not the cursor should be included in the captured video.
2685MediaTrackConstraints.deviceIdAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, deviceId, getusermedia
The MediaTrackConstraints dictionary's deviceId property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.deviceId constrainable property.
2686MediaTrackConstraints.displaySurfaceAPI, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen
The MediaTrackConstraints dictionary's displaySurface property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.displaySurface constrainable property.
2687MediaTrackConstraints.echoCancellationAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, echoCancellation
The MediaTrackConstraints dictionary's echoCancellation property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.echoCancellation constrainable property.
2688MediaTrackConstraints.facingModeAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, facingMode, getusermedia
The MediaTrackConstraints dictionary's facingMode property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.facingMode constrainable property.
2689MediaTrackConstraints.frameRateAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, frameRate
The MediaTrackConstraints dictionary's frameRate property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.frameRate constrainable property.
2690MediaTrackConstraints.groupIdAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, groupId
The MediaTrackConstraints dictionary's groupId property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.groupId constrainable property.
2691MediaTrackConstraints.heightAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, height
The MediaTrackConstraints dictionary's height property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.height constrainable property.
2692MediaTrackConstraints.latencyAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, latency
The MediaTrackConstraints dictionary's latency property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.latency constrainable property.
2693MediaTrackConstraints.logicalSurfaceAPI, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, logicalSurface, screen
The MediaTrackConstraints dictionary's logicalSurface property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.logicalSurface constrainable property.
2694MediaTrackConstraints.noiseSuppressionAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, noiseSuppression
The MediaTrackConstraints dictionary's noiseSuppression property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.noiseSuppression constrainable property.
2695MediaTrackConstraints.sampleRateAPI, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleRate
The MediaTrackConstraints dictionary's sampleRate property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.sampleRate constrainable property.
2696MediaTrackConstraints.sampleSizeAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleSize
The MediaTrackConstraints dictionary's sampleSize property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.sampleSize constrainable property.
2697MediaTrackControls.volumeAPI, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Volume, WebRTC, getusermedia
The MediaTrackConstraints dictionary's volume property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.volume constrainable property.
2698MediaTrackConstraints.widthAPI, Constraints, Media, Media Capture and Streams, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, width
The MediaTrackConstraints dictionary's width property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.width constrainable property.
2699MediaTrackSettingsAPI, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, NeedsExample, Reference, Video
The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack's settings. These values will adhere as closely as possible to any constraints previously described using a MediaTrackConstraints object and set using MediaStreamTrack.applyConstraints, and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched.
2700MediaTrackSettings.aspectRatioAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, aspectRatio
The MediaTrackSettings dictionary's aspectRatio property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.aspectRatio property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2701MediaTrackSettings.autoGainControlAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettngs, Property, Web, autoGainControl
The MediaTrackSettings dictionary's autoGainControl property is a Boolean value whose value indicates whether or not automatic gain control (AGC) is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.autoGainControl property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2702MediaTrackSettings.channelCountAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, channelCount
The MediaTrackSettings dictionary's channelCount property is an integer indicating how many audio channel the MediaStreamTrack is currently configured to have. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.channelCount property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2703MediaTrackSettings.cursorAPI, Capture, Constraints, Cursor, Media, Media Capture and Streaming, Media Capture and Streaming API, Property, Recording, Reference, Screen Capture, Screen Capture API, Settings, display, screen
The MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream returned by MediaDevices.getDisplayMedia.
2704MediaTrackSettings.deviceIdAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, deviceId
The MediaTrackSettings dictionary's deviceId property is a DOMString which uniquely identifies the source for the corresponding MediaStreamTrack for the origin corresponding to the browsing session. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.deviceId property you provided when calling either MediaDevices.getUserMedia.
2705MediaTrackSettings.displaySurfaceAPI, Capture, Media, Media Capture and Streaming, Media Capture and Streaming API, Monitor, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Surface, Video, display, displaySurface, screen
The MediaTrackSettings dictionary's displaySurface property indicates the type of display surface being captured.
2706MediaTrackSettings.echoCancellationAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, echoCancellation
The MediaTrackSettings dictionary's echoCancellation property is a Boolean value whose value indicates whether or not echo cancellation is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.echoCancellation property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2707MediaTrackSettings.facingModeAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, facingMode
The MediaTrackSettings dictionary's facingMode property is a DOMString indicating the direction in which the camera producing the video track represented by the MediaStreamTrack is currently facing. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.facingMode property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2708MediaTrackSettings.frameRateAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, frameRate
The MediaTrackSettings dictionary's frameRate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.frameRate property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2709MediaTrackSettings.groupIdAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, groupId
The MediaTrackSettings dictionary's groupId property is a browsing-session unique DOMString which identifies the group of devices which includes the source for the MediaStreamTrack. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.groupId property you provided when calling either MediaDevices.getUserMedia.
2710MediaTrackSettings.heightAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, height
The MediaTrackSettings dictionary's height property is an integer indicating the number of pixels tall MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.height property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2711MediaTrackSettings.latencyAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, latency
The MediaTrackSettings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.latency property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2712MediaTrackSettings.logicalSurfaceAPI, Capture, Logical Surface, Media, Media Capture and Streaming, Media Capture and Streaming API, MediaTrackSettings, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, logicalSurface, screen
The MediaTrackSettings dictionary's logicalSurface property indicates whether or not the display area being captured is a logical surface. Logical surfaces are those which are not necessarily entirely onscreen, or may even be off-screen, such as windows' backing buffers (where only part of the buffer is visible without scrolling the containing window) and offscreen rendering contexts.
2713MediaTrackSettings.noiseSuppressionAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Web, noiseSuppression
The MediaTrackSettings dictionary's noiseSuppression property is a Boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.noiseSuppression property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2714MediaTrackSettings.sampleRateAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleRate
The MediaTrackSettings dictionary's sampleRate property is an integer indicating how many audio samples per second the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleRate property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2715MediaTrackSettings.sampleSizeAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleSize
The MediaTrackSettings dictionary's sampleSize property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleSize property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2716MediaTrackSettings.volumeAPI, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Volume, WebRTC
The MediaTrackSettings dictionary's volume property is a double-precision floating-point number indicating the volume of the MediaStreamTrack as currently configured, as a value from 0.0 (silence) to 1.0 (maximum supported volume for the device). This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.volume property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2717MediaTrackSettings.widthAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, width
The MediaTrackSettings dictionary's width property is an integer indicating the number of pixels wide MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.width property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints().
2718MediaTrackSupportedConstraintsAPI, Capture, Constraints, Dictionary, Interface, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Reference, Screen Capture, Screen Capture API, screen
The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints().
2719MediaTrackSupportedConstraints.aspectRatioAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, aspectRatio
The MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the aspectRatio constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2720MediaTrackSupportedConstraints.autoGainControlAPI, Audio, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, Media Constraints, Media Streams, MediaTrackSupportedConstraints, Property, Volume, Web, autoGainControl
The MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the autoGainControl constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2721MediaTrackSupportedConstraints.channelCountAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, channelCount
The MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the channelCount constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2722MediaTrackSupportedConstraints.cursorAPI, Capture, Constraints, Cursor, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen
The MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the MediaTrackConstraints.cursor constraint is supported by the user agent and the device on which the content is being used.
2723MediaTrackSupportedConstraints.deviceIdAPI, Constraints, Media, Media Capture and Streams API, Media Stream API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, deviceId
The MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the deviceId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2724MediaTrackSupportedConstraints.displaySurfaceAPI, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen
The MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the MediaTrackConstraints.displaySurface constraint is supported by the user agent and the device on which the content is being used.
2725MediaTrackSupportedConstraints.echoCancellationAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, echoCancellation
The MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the echoCancellation constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2726MediaTrackSupportedConstraints.facingModeAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Web, WebRTC, facingMode
The MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the facingMode constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2727MediaTrackSupportedConstraints.frameRateAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, frameRate
The MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the MediaTrackConstraints.frameRate constraint.
2728MediaTrackSupportedConstraints.groupIdAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, groupId
The MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the groupId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2729MediaTrackSupportedConstraints.heightAPI, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, height
The MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the height constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2730MediaTrackSupportedConstraints.latencyAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, latency
The MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the latency constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2731MediaTrackSupportedConstraints.logicalSurfaceAPI, Capture, Logical, Media, Media Capture and Streams, Media Capture and Streams API, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, screen
The MediaTrackSupportedConstraints dictionary's logicalSurface property indicates whether or not the MediaTrackConstraints.logicalSurface constraint is supported by the user agent and the device on which the content is being used.
2732MediaTrackSupportedConstraints.noiseSuppressionAPI, Audio, Constraints, Media, Media Capture and Streams API, Media Constraints, Media Streams API, MediaStreamTrackSupportedConstraints, Property, noiseSuppression
The MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the noiseSuppression constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2733MediaTrackSupportedConstraints.sampleRateAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, sampleRate
The MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleRate constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2734MediaTrackSupportedConstraints.sampleSizeAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, WebRTC, sampleSize
The MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleSize constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2735MediaTrackSupportedConstraints.volumeAPI, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstriants, Property, Reference, Volume, WebRTC
The MediaTrackSupportedConstraints dictionary's volume property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the volume constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2736MediaTrackSupportedConstraints.width
The MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the width constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false.
2737MerchantValidationEventAPI, Commerce, Experimental, Interface, Merchant, Merchant Validation, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Payments, Reference, Secure context
The MerchantValidationEvent interface of the Payment Request API enables a merchant to verify themselves as allowed to use a particular payment handler.
2738MerchantValidationEvent.complete()API, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, Method, Payment Request, Payment Request API, Payments, Reference, complete
The MerchantValidationEvent method complete() takes merchant-specific information previously received from the MerchantValidationEvent.validationURL and uses it to validate the merchant.
2739MerchantValidationEvent()API, Commerce, Constructor, Merchant Validation, MerchantValidationEvent, Merchants, Payment Request API, Payment Requests, Payments, Reference
The MerchantValidationEvent() constructor creates a new MerchantValidationEvent object. You should not have to create these events yourself; instead, just handle the merchantvalidation event.
2740MerchantValidationEvent.methodNameAPI, Commerce, Identifier, Merchant, MerchantValidationEvent, NeedsExample, Payment Method, Payment Method Identifier, Payment Request, Payment Request API, Property, Reference, Validation, methodName, payment
The MerchantValidationEvent property methodName is a read-only value which returns a string indicating the payment method identifier which represents the payment handler that requires merchant validation.
2741MerchantValidationEvent.validationURLAPI, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, NeedsExample, Payment Request, Payment Request API, Payments, Property, Reference, validationURL
The MerchantValidationEvent property validationURL is a read-only string value providing the URL from which to fetch the payment handler-specific data needed to validate the merchant.
2742MessageChannelAPI, Channel Messaging API, Interface, MessageChannel, Reference, web messaging
The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
2743MessageChannel()API, Channel messaging, Constructor, MessageChannel, Reference
The MessageChannel() constructor of the MessageChannel interface returns a new MessageChannel object with two new MessagePort objects.
2744MessageChannel.port1API, Channel messaging, HTML5, Message Channel API, MessageChannel, Property, Reference
The port1 read-only property of the MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel.
2745MessageChannel.port2API, Channel messaging, HTML5, MessageChannel, Property, Reference, port2
The port2 read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.
2746MessageEventAPI, Channels, Interface, Reference, WebSockets, Window, Workers, messaging
The MessageEvent interface represents a message received by a target object.
2747MessageEvent.dataAPI, DOM, MessageEvent, Property, Reference, data, messaging
The data read-only property of the MessageEvent interface represents the data sent by the message emitter.
2748MessageEvent.lastEventIdAPI, DOM, MessageEvent, Property, Reference, lastEventID, messaging
The lastEventId read-only property of the MessageEvent interface is a DOMString representing a unique ID for the event.
2749MessageEvent.MessageEvent()API, Constructor, DOM, MessageEvent, Reference, messaging
The MessageEvent() constructor creates a new MessageEvent object instance.
2750MessageEvent.originAPI, DOM, MessageEvent, Property, Reference, messaging, origin
The origin read-only property of the MessageEvent interface is a USVString representing the origin of the message emitter.
2751MessageEvent.portsAPI, DOM, MessagingEvent, Property, Reference, messaging, ports
The ports read-only property of the MessageEvent interface is an array of MessagePort objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g. in channel messaging or when sending a message to a shared worker).
2752MessageEvent.sourceAPI, DOM, MessageEvent, Property, Reference, messaging, source
The source read-only property of the MessageEvent interface is a MessageEventSource (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
2753MessagePortAPI, Channel messaging, HTML5, Interface, MessagePort, Reference
The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
2754MessagePort.close()API, Channel messaging, MessagePort, Method, Reference, close
The close() method of the MessagePort interface disconnects the port, so it is no longer active. This stops the flow of messages to that port.
2755MessagePort: message eventEvent
The message event is fired on a MessagePort object when a message arrives on that channel.
2756MessagePort: messageerror eventEvent
The messageerror event is fired on a MessagePort object when it receives a message that can't be deserialized.
2757MessagePort.onmessageAPI, Channel messaging, MessagePort, Property, Reference, onmessage
The onmessage event handler of the MessagePort interface is an EventListener, called whenever an MessageEvent of type message is fired on the port — that is, when the port receives a message.
2758MessagePort.onmessageerrorAPI, Channel messaging, MessagePort, Property, Reference, events, onmessageerror
The onmessageerror event handler of the MessagePort interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the port—that is, when it receives a message that cannot be Deserialization.
2759MessagePort.postMessage()API, Channel messaging, MessagePort, Method, Reference, postMessage
The postMessage() method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
2760MessagePort.start()API, Channel messaging, MessagePort, Method, Reference, start
The start() method of the MessagePort interface starts the sending of messages queued on the port. This method is only needed when using EventTarget.addEventListener; it is implied when using MessageChannel.onmessage.
2761MetadataAPI, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference, metadata
The Metadata interface is used by the File and Directory Entries API to contain information about a file system entry. This metadata includes the file's size and modification date and time.
2762Metadata.modificationTimeAPI, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, modificationTime
The read-only modificationTime property of the Metadata interface is a Date object which specifies the date and time the file system entry (or the data referenced by the entry) was last modified.
2763Metadata.sizeAPI, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, size
The read-only size property of the Metadata interface specifies the size, in bytes, of the referenced file or other file system object on disk.
2764Microdata DOM API
Microdata were implemented in some browsers for a long time. Nowadays, they have been abandoned and removed from all browsers and are therefore deprecated. You can't use them anymore and this document is kept as information only.
2765Microsoft API extensionsAPI, API:Microsoft Extensions, Non-standard, Overview, Reference
Microsoft browsers (Internet Explorer, and in a few cases, Microsoft Edge) support a number of special Microsoft extensions to the otherwise standard DOM APIs. These extensions are prefixed with MS or ms.
2766MIDIAccessAPI, Interface, Reference, Web MIDI API
The MIDIAccess interface of the Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices.
2767MIDIConnectionEventAPI, Draft, Interface, MIDI, MIDIConnectionEvent, Reference, Web MIDI API
The MIDIConnectionEvent interface of the Web MIDI API is the event passed to the MIDIAccess.onstatechange event handler of the MIDIAccess interface and the MIDIPorts.onstatechange event of the MIDIPorts interface. This occurs any time a new port becomes available, or when a previously available port becomes unavailable. For example, this event is fired whenever a MIDI device is either plugged in to or unplugged from a computer.
2768MIDIInputAPI, Draft, Interface, MIDIInput, NeedsExample, Reference, Web MIDI API
Use the MIDIInput interface of the Web MIDI API to access and pass messages to a MIDI input port.
2769MIDIInputMapNeedsContent
The MIDIInputMap read-only interface of the Web MIDI API provides a Map-like interface to the currently available MIDI input ports. Though it works generally like a map, because it is read-only it does not contain clear(), delete(), or set() functions.
2770MIDIMessageEventAPI, Interface, MIDI, MIDIMessageEvent, Reference, Web MIDI API
The MIDIMessageEvent interface of the Web MIDI API represents the event passed to the MIDIInput.onmidimessage event handler of the MIDIInput interface. A midimessage event is fired every time a MIDI message is sent from a device represented by a MIDIInput, for example when a MIDI keyboard key is pressed, a knob is tweaked, or a slider is moved.
2771MIDIOutputMapAPI
The MIDIOutputMap read-only interface of the Web MIDI API provides a Map-like interface to the currently available MIDI output ports. Although it works like a map, because it is read-only, it does not contain clear(), delete(), or set() functions.
2772MimeTypeAPI, Interface, Plugins, Reference
The MimeType interface provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.
2773MimeTypeArrayAPI, Interface, Reference, mimeType
The MimeTypeArray interface returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes.
2774MouseEventAPI, DOM, DOM Events, Interface, MouseEvent, Reference, events, mouse
The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown.
2775MouseEvent.altKeyAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.altKey read-only property is a Boolean that indicates whether the alt key was pressed or not when a given mouse event occurs.
2776MouseEvent.buttonAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.button read-only property indicates which button was pressed on the mouse to trigger the event.
2777MouseEvent.buttonsAPI, DOM, DOM Events, Property, Read-only, Reference, UIEvent
The MouseEvent.buttons read-only property indicates which buttons are pressed on the mouse (or other input device) when a mouse event is triggered.
2778MouseEvent.clientXAPI, CSSOM View, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The clientX read-only property of the MouseEvent interface provides the horizontal coordinate within the application's viewport at which the event occurred (as opposed to the coordinate within the page).
2779MouseEvent.clientYAPI, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference
The clientY read-only property of the MouseEvent interface provides the vertical coordinate within the application's viewport at which the event occurred (as opposed to the coordinate within the page).
2780MouseEvent.ctrlKeyAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.ctrlKey read-only property is a Boolean that indicates whether the ctrl key was pressed or not when a given mouse event occurs.
2781MouseEvent.getModifierState()API, DOM, DOM Events, Method, MouseEvent, Reference, getModifierState
The MouseEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, false.
2782MouseEvent.initMouseEvent()API, DOM, DOM Events, Deprecated, Method, MouseEvent, Reference
The MouseEvent.initMouseEvent() method initializes the value of a mouse event once it's been created (normally using the Document.createEvent() method).
2783MouseEvent.metaKeyAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.metaKey read-only property is a Boolean that indicates whether the meta key was pressed or not when a given mouse event occurs.
2784MouseEvent()API, Constructor, DOM, MouseEvent, Reference, events
The MouseEvent() constructor creates a new MouseEvent.
2785MouseEvent.movementXAPI, DOM, DOM Events, MouseEvent, MovementX, Property, Read-only, Reference, mouse lock, pointer lock
The movementX read-only property of the MouseEvent interface provides the difference in the X coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementX = currentEvent.screenX - previousEvent.screenX.
2786MouseEvent.movementYAPI, DOM, DOM Events, MouseEvent, MovementY, Property, Read-only, Reference, mouse lock, pointer lock
The movementY read-only property of the MouseEvent interface provides the difference in the Y coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementY = currentEvent.screenY - previousEvent.screenY.
2787MouseEvent.mozInputSourceAPI, NeedsCompatTable, Non-standard, Property, Read-only
The MouseEvent.mozInputSource read-only property on MouseEvent provides information indicating the type of device that generated the event. This lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event).
2788MouseEvent.offsetXAPI, Experimental, MouseEvent, Property, Read-only, Reference
The offsetX read-only property of the MouseEvent interface provides the offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node.
2789MouseEvent.offsetYAPI, Experimental, MouseEvent, Property, Read-only, Reference
The offsetY read-only property of the MouseEvent interface provides the offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node.
2790MouseEvent.pageXAPI, CSSOM View, DOM, Mouse Events, MouseEvent, Property, Read-only, Reference, UI Events, events, pageX
The pageX read-only property of the MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document.
2791MouseEvent.pageYAPI, DOM, Property, Read-only, Reference
The pageY read-only property of the MouseEvent interface returns the Y (vertical) coordinate in pixels of the event relative to the whole document. This property takes into account any vertical scrolling of the page.
2792MouseEvent.regionAPI, Canvas, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.region read-only property returns the id of the canvas hit region affected by the event. If no hit region is affected, null is returned.
2793MouseEvent.relatedTargetAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.relatedTarget read-only property is the secondary target for the mouse event, if there is one. That is:
2794MouseEvent.screenXAPI, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference
The screenX read-only property of the MouseEvent interface provides the horizontal coordinate (offset) of the mouse pointer in global (screen) coordinates.
2795MouseEvent.screenYAPI, DOM Events, MouseEvent, Property, Read-only, Reference
The screenY read-only property of the MouseEvent interface provides the vertical coordinate (offset) of the mouse pointer in global (screen) coordinates.
2796MouseEvent.shiftKeyAPI, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
The MouseEvent.shiftKey read-only property is a Boolean that indicates whether the shift key was pressed or not when a given mouse event occurs.
2797MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWNAPI, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN
MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a force click.
2798MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWNAPI, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_MOUSE_DOWN
MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a normal click.
2799MouseEvent.webkitForceAPI, DOM, DOM Events, MouseEvent, Property, Reference
MouseEvent.webkitForce is a proprietary, WebKit-specific numeric property whose value represents the amount of pressure that is being applied on the touchpad or touchscreen.
2800MouseEvent.whichAPI, DOM Events, MouseEvent, Non-standard, Property, Read-only, Reference
The MouseEvent.which read-only property indicates which button was pressed on the mouse to trigger the event. The standard alternatives to this property are MouseEvent.button and MouseEvent.buttons.
2801MouseEvent.xAPI, DOM, Experimental, Property, Reference
The MouseEvent.x property is an alias for the MouseEvent.clientX property.
2802MouseEvent.yAPI, DOM, Experimental, Property, Reference
The MouseEvent.y property is an alias for the MouseEvent.clientY property.
2803MouseScrollEventAPI, DOM, DOM Events, Deprecated, Event, Interface, Reference
The MouseScrollEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.
2804MouseWheelEventAPI, DOM, Deprecated, Interface, Reference
The MouseWheelEvent interface represents events that occur due to the user turning a mouse wheel.
2805msCachingmsCaching
The msCaching read/write property specifies whether stream data downloaded using XMLHttpRequestis cached to disk or not.
2806msCachingEnabledmsCachingEnabled
The msCachingEnabled method gets the current caching state for an XMLHttpRequest.
2807MSCandidateWindowHide
MSCandidateWindowHide fires after the Input Method Editor (IME) candidate window closes and is fully hidden.
2808MSCandidateWindowShowMSCandidateWindowShow
MSCandidateWindowShow fires immediately after the Input Method Editor (IME) candidate window is set to appear, but before it renders.
2809MSCandidateWindowUpdateMSCandidateWindowUpdate
MSCandidateWindowUpdate fires after the Input Method Editor (IME) candidate window has been identified as needing to change size, but before any visual updates have rendered.
2810msCapsLockWarningOff
The msCapsLockWarningOff read/write property turns automatic caps lock warning on or off for validated password input fields.
2811msFirstPaintmsFirstPaint
msFirstPaint is a read-only property which gets the time when the document loaded by the window object began to be displayed to the user.
2812MSGestureEventAPI, DOM, Interface, Non-standard, Reference
The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart, MSGestureEnd, MSGestureTap, MSGestureHold, MSGestureChange, and MSInertiaStart.
2813msGetPropertyEnabledmsGetPropertyEnabled
The msGetPropertyEnabled returns whether a given property in the style object is enabled.
2814msGetRegionContentmsGetRegionContent
The msGetRegionContent returns an array of Range instances corresponding to the content from the region flow that is positioned in the region.
2815MSGraphicsTrustmsGraphicsTrust
The msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback.
2816msGraphicsTrustStatusmsGraphicsTrustStatus
msGraphicsTrustStatus is a read-only property which returns an object containing information on protected video playback.
2817msIsBoxedmsIsBoxed
msIsBoxed is a property which gets or sets when the video player control is in boxed (letterbox or pillarbox) mode.
2818MSManipulationEventAPI, API:Microsoft Extensions, Event, Event:Microsoft Extensions, Interface, MSManipulationEvent, Non-standard, Reference
MSManipulationEvent provides contextual information when contact is made to the screen and an element is manipulated.
2819MSManipulationEvent.initMSManipulationEvent()API, API:Microsoft Extensions, Deprecated, Method, Non-standard, Reference, initMSManipulationEvent
The initMSManipulationEvent method is used to create a MSManipulationEvent that can be called from JavaScript.
2820msPlayToDisabledmsPlayToDisabled
msPlayToDisabled is a read/write property which gets and sets if the PlayTo device is enabled or disabled.
2821msPlayToPreferredSourceUri
msPlayToPreferredSourceUri is a read/write property which gets or sets the path to the preferred media source. This enables the PlayTo target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.
2822msPlayToPrimarymsPlayToPrimary
msPlayToPrimary is a read/write property which gets or sets the primary DLNA PlayTo device.
2823msPlayToSourcemsPlayToSource
msPlayToSource is a read-only property which gets the source associated with the media element for use by the PlayToManager.
2824msPutPropertyEnabledmsPutPropertyEnabled
The msPutPropertyEnabled method sets whether a given property in the style object is enabled or disabled.
2825MSRangeCollectionMSRangeCollection
The MSRangeCollection object is an array of one or more Range objects.
2826msRealTimemsRealTime
msRealTime is a read/write property which specifies whether or not to enable low-latency playback on the media element.
2827msRegionOverflowInternet Explorer, msRegionOverflow
The msRegionOverflow read-only property determines if content fully fits into the region or not.
2828msSetMediaProtectionManagermsSetMediaProtectionManager
The msSetMediaProtectionManager method specifies the media protection manager for a given media pipeline.
2829MSSiteModeEvent
MSSiteModeEvent provides event properties that are specific to pinned site events.
2830mssitemodejumplistitemremoved
The mssitemodejumplistitemremoved event occurs when msSiteModeShowJumpList is called and an item has been removed from a Jump List by the user.
2831msthumbnailclickmsthumbnailclick
The msthumbnailclick event occurs when a user clicks a button or thumbnail icon in the taskbar.
2832msWriteProfilerMarkmsWriteProfilerMark
The msWriteProfilerMark method writes a profiling event.
2833MutationEventAPI, Deprecated, Interface, MutationEvent, Reference, events
The MutationEvent interface provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
2834MutationObserverAPI, DOM, DOM Reference, Interface, MutationObserver, NeedsContent, NeedsUpdate, Reference, mutation, observers, resize
The MutationObserver interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature, which was part of the DOM3 Events specification.
2835MutationObserver.disconnect()API, Changes, DOM, DOM Changes, DOM Reference, DOM Tree, Disconnect, Method, Mutation Observer, Mutation Observer API, MutationObserver, Observing, Reference, Watching, mutation, stop
The MutationObserver method disconnect() tells the observer to stop watching for mutations.
2836MutationObserver.MutationObserver()API, Changes, Constructor, DOM, DOM Changes, DOM Reference, DOM Tree, Mutation Observer API, MutationObserver, Observing, Reference
The DOM MutationObserver() constructor — part of the MutationObserver interface — creates and returns a new observer which invokes a specified callback when DOM events occur.
2837MutationObserver.observe()API, Attribute Changes, Changes, DOM, DOM Changes, DOM WHATWG, Element Changes, Method, Mutation Observer, Mutation Observer API, MutationObserver, Node Changes, Reference, observe
The MutationObserver method observe() configures the MutationObserver callback to begin receiving notifications of changes to the DOM that match the given options.
2838MutationObserver.takeRecords()API, Attribute Changes, Changes, DOM Changes, DOM WHATWG, Method, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserver API, Observer, mutation, takeRecords
The MutationObserver method takeRecords() returns a list of all matching DOM changes that have been detected but not yet processed by the observer's callback function, leaving the mutation queue empty.
2839MutationObserverInitAPI, Configuration, DOM, DOM WHATWG, Dictionary, Interface, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserverInit, Observer, mutation
The MutationObserverInit dictionary describes the configuration of a mutation observer. As such, it's primarily used as the type of the options parameter on the MutationObserver.observe() method.
2840MutationObserverInit.attributeFilterAPI, Attribute, Changes, DOM, DOM WHATWG, Mutation Observers, MutationObserverInit, Observer, Property, atttributeFilter, mutation
The MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes.
2841MutationObserverInit.attributeOldValueAPI, API Reference, Attributes, Changes, DOM, DOM WHATWG, Monitor, MutationObserverInit, Observer, Property, Reference, value
The MutationObserverInit dictionary's optional attributeOldValue property is used to specify whether or not to record the prior value of the altered attribute in MutationRecord objects denoting attribute value changes.
2842MutationObserverInit.attributesAPI, API Reference, Attributes, Changes, DOM, DOM WHATWG, MutationObserverInit, Observer, Property, Reference, mutation
The MutationObserverInit dictionary's optional attributes property is used to specify whether or not to watch for attribute value changes on the node or nodes being observed.
2843MutationObserverInit.characterDataAPI, Characters, DOM, DOM WHATWG, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Property, Reference, Text, Watching, characterData
The MutationObserverInit dictionary's optional characterData property is used to specify whether or not to monitor the node or nodes being observed for changes to their textual contents.
2844MutationObserverInit.characterDataOldValueAPI, Changes, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Reference, Textr, characterDataOldValue, mutation, value
The MutationObserverInit dictionary's optional characterDataOldValue property is used to specify whether or not the MutationRecord.oldValue property for DOM mutations should be set to the previous value of text nodes which changed.
2845MutationObserverInit.childListAPI, DOM, DOM WHATWG, Monitor, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Reference, Watching, childList, children, mutation
The MutationObserverInit dictionary's optional childList property indicates whether or not to monitor the specified node or nodes for the addition or removal of new child nodes.
2846MutationObserverInit.subtreeAPI, DOM, DOM WHATWG, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Observer, Reference, Watching, mutation, subtree
The MutationObserverInit dictionary's optional subtree property can be set to true to monitor the targeted node and all of its descendants.
2847MutationRecordAPI, Advanced, DOM, DOM Reference, NeedsContent, Reference
A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.
2848NamedNodeMapAPI, DOM, Interface, Reference
The NamedNodeMap interface represents a collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.
2849NamedNodeMap.getNamedItem()DOM, Method, NamedNodeMap, Reference
The getNamedItem() method of the NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute.
2850NameListAPI, DOM, Obsolete
The NameList interface provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented.
2851Navigation Timing APIAPI, Navigation Timing, Navigation Timing API, Optimization, Overview, Performance, Timing, Web, Web Performance
The Navigation Timing API provides data that can be used to measure the performance of a web site. Unlike JavaScript-based libraries that have historically been used to collect similar information, the Navigation Timing API can be much more accurate and reliable.
2852Using Navigation TimingGuide, Navigation Timing, Navigation Timing API, Optimization, Performance
The Navigation Timing API lets you easily obtain detailed and highly accurate timing information to help isolate performance problems with your site's code or resources.
2853NavigationPreloadManagerAPI, Interface, Navigation, NavigationPreloadManager, Offline, Reference, Service Workers
The NavigationPreloadManager interface of the Service Worker API provides methods for managing the preloading of resources with a service worker.
2854NavigatorAPI, DOM, Interface, Navigator, Reference, Web, Web Performance
The Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
2855Navigator.activeVRDisplaysAPI, Experimental, HTML DOM, Navigator, Property, Reference, VR, Virtual Reality, WebVR, activeVRDisplays
The activeVRDisplays read-only property of the Navigator interface returns an array containing every VRDisplay object that is currently presenting (VRDisplay.ispresenting is true).
2856Navigator.batteryAPI, Battery, Battery API, Deprecated, Device API, Navigator, Non-standard, Property, Reference
The battery read-only property returns a BatteryManager which provides information about the system's battery charge level and whether the device is charging and exposes events that fire when these parameters change. This interface was introduced in early drafts of the Battery Status API and but has been replaced with Promise-based Navigator.getBattery.
2857Navigator.buildIDAPI, Gecko, HTML DOM, Navigator, Property
Returns the build identifier of the browser. In modern browsers this property now returns a fixed timestamp as a privacy measure, e.g. 20181001000000 in Firefox 64 onwards.
2858Navigator.canShare()API, Method, Navigator, Reference, Share
The Navigator.canShare() method of the Web Share API returns true if a call to navigator.share() would succeed.
2859Navigator.clipboardAPI, Clip, Clipboard, Cut, Navigator, Pasteboard, Property, Read-only, Reference, copy, paste
The Clipboard API adds to the Navigator interface the read-only clipboard property, which returns the Clipboard object used to read and write the clipboard's contents.
2860Navigator.connectionAPI, Connection, Experimental, Navigator, Network Information API, Property, Reference
The Navigator.connection read-only property returns a NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered.
2861Navigator.contactsContact Picker API, Contacts, Navigator, PWA, Property, Read-only, contact picker
The contacts read-only property of the Navigator interface returns a ContactsManager interface which allows users to select entries from their contact list and share limited details of the selected entries with a website or application.
2862Navigator.cookieEnabledAPI, HTML DOM, Navigator, Property
navigator.cookieEnabled returns a Boolean value that indicates whether cookies are enabled or not.
2863Navigator.credentialsAPI, CredentialsContainer, Property, Reference, credentials
The credentials property of the Navigator interface returns the CredentialsContainer interface, which exposes methods to request credentials. The CredentialsContainer interface also notifies the user agent when an interesting event occurs, such as a successful sign-in or sign-out. This interface can be used for feature detection.
2864Navigator.deviceMemoryAPI, Device Memory API, Navigator, Property, Reference, deviceMemory, memory
The deviceMemory read-only property of the Navigator interface returns the approximate amount of device memory in gigabytes.
2865Navigator.doNotTrackAPI, Experimental, HTML DOM, Navigator, Property, Reference
The Navigator.doNotTrack property returns the user's Do Not Track setting, which indicates whether the user is requesting web sites and advertisers to not track them.
2866Navigator.geolocationAPI, Geolocation API, Navigator, Property, Reference, Secure context
The Navigator.geolocation read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.
2867Navigator.getBattery()API, Battery API, Device API, Method, Navigator, Reference, getBattery
The getBattery() method provides information about the system's battery. It returns a battery promise, which is resolved in a BatteryManager object providing also some new events you can handle to monitor the battery status. This implements the Battery Status API; see that documentation for additional details, a guide to using the API, and sample code.
2868Navigator.getGamepads()API, Experimental, Gamepad API, Games, Method, Navigator, Reference
The Navigator.getGamepads() method returns an array of Gamepad objects, one for each gamepad connected to the device.
2869Navigator.getUserMedia()API, Deprecated, Media, Media Capture and Streams API, Media Streams API, Method, Navigator, Reference, WebRTC, getusermedia
The deprecated Navigator.getUserMedia() method prompts the user for permission to use up to one video input device (such as a camera or shared screen) and up to one audio input device (such as a microphone) as the source for a MediaStream.
2870Navigator.getVRDisplays()API, Experimental, HTML DOM, Media, Method, Navigator, Reference, VR, Virtual Reality, WebVR, getVRDisplays()
The getVRDisplays() method of the Navigator interface returns a promise that resolves to an array of VRDisplay objects representing any available VR displays connected to the computer.
2871Navigator.keyboardAPI, Experimental, Keyboard API, Keyboard Map, Navigator, Property, Reference, keyboard
The keyboard read-only property of the Navigator interface returns a Keyboard object which provides access to functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.
2872Navigator.locksAPI, Experimental, LockManager, Property, Reference, Web Locks API, locks
The locks read-only property of the Navigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object.
2873Navigator.maxTouchPointsAPI, HTML DOM, Navigator, Property, Reference
The maxTouchPoints read-only property of the Navigator interface returns the maximum number of simultaneous touch contact points are supported by the current device.
2874Navigator.mediaCapabilitiesAPI, Experimental, Media, Media Capabilities API, MediaCapabilities, Navigator
The Navigator.mediaCapabilities read-only property returns a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given format and output capabilities as defined by the Media Capabilities API.
2875Navigator.mediaDevicesMedia, Media Capture and Streams API, Media Streams API, MediaDevices, Navigator, Property, Read-only, Reference, Web
The Navigator.mediaDevices read-only property returns a MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing.
2876Navigator.mediaSessionAPI, Audio, Device, Media, Media Session API, MediaSession, Navigator, Property, Read-only, Reference, UX, Video, metadata
The read-only Navigator property mediaSession returns a MediaSession object that can be used to share with the browser metadata and other information about the current playback state of media being handled by a document.
2877Navigator.mozIsLocallyAvailable()API, Method, Navigator, Non-standard, Obsolete
The Navigator.mozIsLocallyAvailable() method allows add-ons to determine whether or not a given resource is available.
2878Navigator.msLaunchUri()API, API:Microsoft Extensions, MSLaunchUri, Method, Non-standard, Reference
The msLaunchUri() method is a Microsoft extension to the Navigator interface, which starts a service or app, such as an email client, that handles a given protocol. The Uniform Resource Identifier (URI) contains the protocol for the default service or app, such as mailto://test@contoso.com.
2879msSaveBlob
The Navigator.msSaveBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveOrOpenBlob() except that this disables the file open option.
2880msSaveOrOpenBlob
The Navigator.msSaveOrOpenBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveBlob() except that this enables the file open option.
2881Navigator.oscpuAPI, Deprecated, HTML DOM, Navigator, NavigatorID, Property, Reference
The Navigator.oscpu property returns a string that identifies the current operating system.
2882Navigator.permissionsAPI, Experimental, Navigator, Permissions, Property, Reference
The Navigator.permissions read-only property returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API.
2883Navigator.presentation
The presentation property of Navigator serves as the entry point for the Presentation API and returns a reference to Presentation object.
2884Navigator.productSubAPI, Deprecated, HTML DOM, Navigator, Property, Read-only
The Navigator.productSub read-only property returns the build number of the current browser.
2885Navigator.registerContentHandler()API, MIME, Method, Navigator, Obsolete, Web-Based Protocol Handlers, registerContentHandler
Allows web sites to register themselves as possible handlers for content of a particular MIME type.
2886Navigator.registerProtocolHandler()API, HTML DOM, Method, Navigator, Reference, Web-Based Protocol Handlers, registerProtocolHandler
The Navigator method registerProtocolHandler() lets websites register their ability to open or handle particular URL schemes (aka protocols).
2887Web-based protocol handlersAdvanced, HTML5, Web-Based Protocol Handlers
It's fairly common to find web pages link to resources using non-http protocols. An example is the mailto: protocol:
2888Navigator.requestMediaKeySystemAccess()API, Audio, DOM Reference, EME, Encrypted Media Extensions, Encrypted Media Extensions API, HTML DOM, Method, Navigator, Reference, Video, requestMediaKeySystemAccess
The Navigator.requestMediaKeySystemAccess() method returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream. This method is part of the Encrypted Media Extensions API, which brings support for encrypted media and DRM-protected video to the web.
2889Navigator.sendBeacon()API, Beacon, Method, Navigator, NeedsExample, Networking, Reference, Web Performance, sendBeacon
The navigator.sendBeacon() method Asynchronous sends a small amount of data over HTTP to a web server.
2890Navigator.serviceWorkerAPI, Navigator, Property, Reference, Service Workers, Service worker API, ServiceWorker
The Navigator.serviceWorker read-only property returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.
2891Navigator.share()Method, Navigator, Reference, Share, Web
The navigator.share() method of the Web Share API invokes the native sharing mechanism of the device.
2892Navigator.vendorAPI, HTML DOM, Property, Read-only
The value of the Navigator vendor property is always either "Google Inc.", "Apple Computer, Inc.", or (in Firefox) the empty string.
2893Navigator.vendorSubAPI, Deprecated, HTML DOM, Property, Read-only
The value of the Navigator.vendorSub property is always the empty string, in any browser.
2894Navigator.vibrate()API, Method, Navigator, Reference, Vibration API
The Navigator.vibrate() method pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
2895Navigator.wakeLockAPI, Reference, Screen Wake Lock API
The wakeLock read-only property returns a WakeLock interface which allows a document to acquire a screen wake lock. While a screen wake lock is active, the user agent will try to prevent the device from dimming the screen, turning it off completely, or showing a screensaver.
2896Navigator.webdriverAPI, Navigator, Property, Reference, WebDriver, weblock
The webdriver read-only property of the navigator interface indicates whether the user agent is controlled by automation.
2897Navigator.xrAPI, AR, Augmented Reality, Getter, Graphics, Navigator, Property, Reference, VR, Virtual Reality, WebXR, XR
The read-only xr property provided by the Navigator or WorkerNavigator interface returns an XRSystem object which can be used to access the WebXR Device API.
2898NavigatorConcurrentHardwareAPI, Concurrency, HTML DOM, Interface, Navigator, NavigatorCPU, NavigatorConcurrentHardware, NeedsBrowserCompatibility, Reference, Threading, Threads, WorkerNavigator, Workers
The NavigatorConcurrentHardware mixin adds to the Navigator interface features which allow Web content to determine how many logical processors the user has available, in order to let content and Web apps optimize their operations to best take advantage of the user's CPU.
2899navigator.hardwareConcurrencyAPI, HTML DOM, Navigator, NavigatorConcurrentHardware, Property, Web Workers, Worker, WorkerNavigator, hardwareConcurrency
The navigator.hardwareConcurrency read-only property returns the number of logical processors available to run threads on the user's computer.
2900NavigatorIDAPI, HTML DOM, Interface, Navigator, NavigatorID, Reference
The NavigatorID interface contains methods and properties related to the identity of the browser.
2901NavigatorID.appCodeNameAPI, Deprecated, HTML DOM, NavigatorID, Property, Reference
The value of the NavigatorID.appCodeName property is always "Mozilla", in any browser. This property is kept only for compatibility purposes.
2902NavigatorID.appNameAPI, Deprecated, HTML DOM, NavigatorID, Property, Reference
The value of the NavigatorID.appName property is always "Netscape", in any browser. This property is kept only for compatibility purposes.
2903NavigatorID.appVersionAPI, Deprecated, NavigatorID, Property, Reference, Référence(2), appVersion
Returns either "4.0" or a string representing version information about the browser.
2904NavigatorID.platformAPI, Deprecated, HTML DOM, Navigator, NavigatorID, Property, Reference, platform
Returns a string representing the platform of the browser. The specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.
2905NavigatorID.productAPI, Deprecated, NavigatorID, Property, Reference
The value of the NavigatorID.product property is always "Gecko", in any browser. This property is kept only for compatibility purposes.
2906NavigatorID.taintEnabled()API, Deprecated, HTML DOM, Method, NavigatorID, Reference
The NavigatorID.taintEnabled() method always returns false.
2907NavigatorID.userAgentAPI, NavigatorID, Property, Read-only, Reference
The NavigatorID.userAgent read-only property returns the user agent string for the current browser.
2908NavigatorLanguageAPI, HTML-DOM, Reference
NavigatorLanguage contains methods and properties related to the language of the navigator.
2909NavigatorLanguage.languageAPI, Language, NavigatorLanguage, Property, Read-only, Reference
The NavigatorLanguage.language read-only property returns a string representing the preferred language of the user, usually the language of the browser UI.
2910NavigatorLanguage.languagesAPI, Experimental, Expérimental(2), NavigatorLanguage, Property, Read-only, Reference, Référence(2), languages
The NavigatorLanguage.languages read-only property returns an array of DOMStrings representing the user's preferred languages. The language is described using BCP 47 language tags. In the returned array they are ordered by preference with the most preferred language first.
2911NavigatorOnLineAPI, HTML-DOM
The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.
2912Online and offline eventsAJAX, DOM, HTML5, Intermediate, NeedsUpdate, Offline web applications, Web Development
Some browsers implement Online/Offline events from the WHATWG Web Applications 1.0 specification.
2913Navigator.onLineAPI, DOM Reference, NavigatorOnLine, Online, Property, Reference
Returns the online status of the browser. The property returns a boolean value, with true meaning online and false meaning offline. The property sends updates whenever the browser's ability to connect to the network changes. The update occurs when the user follows links or when a script requests a remote page. For example, the property should return false when users click links soon after they lose internet connection.
2914NavigatorPluginsAPI, Experimental, HTML DOM, Interface, Mixin, Navigator, NavigatorPlugins, Plugins, Reference
The NavigatorPlugins mixin adds to the Navigator interface methods and properties for discovering and interacting with plugins installed into the browser.
2915NavigatorPlugins.javaEnabled()API, Method, Reference, Référence(2)
This method indicates whether the current browser is Java-enabled or not.
2916NavigatorPlugins.mimeTypesAPI, Property, Reference
Returns a MimeTypeArray object, which contains a list of MimeType objects representing the MIME types recognized by the browser.
2917NavigatorPlugins.pluginsAPI, DOM, Navigator, NavigatorPlugins, Plugins, Property, Reference
Returns a PluginArray object, listing the Plugin objects describing the plugins installed in the application.
2918NavigatorStorageAPI, Interface, Mixin, Navigator, NavigatorStorage, Reference, Secure context, Storage, Storage Standard, WorkerNavigator
The NavigatorStorage mixin adds to the Navigator and WorkerNavigator interfaces the Navigator.storage property, which provides access to the StorageManager singleton used for controlling the persistence of data stores as well as obtaining information
2919NavigatorStorage.storageAPI, Navigator, NavigatorStorage, Property, Reference, Secure context, Storage, WorkerNavigator
The NavigatorStorage.storage read-only property returns the singleton StorageManager object used to access the overall storage capabilities of the browser for the current site or app.
2920NDEFMessageNDEF, Reference, Web NFC
The NDEFMessage interface of the Web NFC API is an abstract interface that represents message that can be received or sent to a to compatible NFC devices, e.g. NFC tags supporting NDEF.
2921NDEFMessage.recordsNDEF, Reference, Web NFC
The records property of NDEFMessage interface represents a list of NDEFRecords defining the NDEF message.
2922NDEFReaderNDEF, Reference, Web NFC
The NDEFReader interface of the Web NFC API is an abstract interface used to read data from compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field.
2923NDEFReader()NDEF, Reference, Web NFC
The NDEFReader() constructor of the Web NFC API returns a newly constructed NDEFReader object used to read NDEF messages from compatiable NFC devices, e.g. NDEF tags, within the reader's magnetic induction field.
2924NDEFReader.onreadingNDEF, Reference, Web NFC
The onreading property of NDEFReader interface of the Web NFC API is called whenever a new reading is available from compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field.
2925NDEFReader: onreadingerrorNDEF, Reference, Web NFC
The onreadingerror property of the NDEFReader interface of the Web NFC API is called whenever an error occurs during reading of NFC tags, e.g. when tags leave the reader's magnetic induction field.
2926NDEFReader.scan()NDEF, Reference, Web NFC
The scan() method of NDEFReader interface reads NDEF records from compatible NFC devices, e.g., NDEF NFC tags.
2927NDEFReader.write()NDEF, Reference, Web NFC
The write() method of NDEFReader interface writes a specified message to a compatiable NFC tag.
2928NDEFReadingEventNDEF, Reference, Web NFC
The NDEFReadingEvent interface represents events despatched on new NFC readings obtained by NDEFReader.
2929NDEFRecordNDEF, Reference, Web NFC
The NDEFRecord interface of the Web NFC API is an abstract interface that represents data that can be read from or written to compatible NFC devices, e.g. NFC tags supporting NDEF.
2930NDEFRecord.dataNDEF, Reference, Web NFC
The data property of the NDEFRecord interface is DataView providing access to the payload data of the record.
2931NDEFRecord.encodingEncoding, NDEF, Reference, Web NFC
The encoding property ofthe NDEFRecord interface is USVString containing the name of the encoding used to encode NDEF payload if it contains textual data.
2932NDEFRecord.idNDEF, NDEFRecord, Reference, Web NFC
The id property ofthe NDEFRecord interface is USVString containing the record identifier.
2933NDEFRecord.langNDEF, Reference, Web NFC
The lang property ofthe NDEFRecord interface is USVString containing the language tag of the record contents, if it is a vailable.
2934NDEFRecord.mediaTypeNDEF, Reference, Web NFC
The mediaType property ofthe NDEFRecord interface is USVString containing the MIME type of the record payload.
2935NDEFRecord()NDEF, Reference, Web NFC
The NDEFRecord() constructor of the Web NFC API returns a newly constructed NDEFRecord object that represents data that can be read from or written to compatible NFC devices, e.g. NFC tags supporting NDEF.
2936NDEFRecord.recordTypeNDEF, Reference, Web NFC
The recordType property ofthe NDEFRecord interface is USVString containing the NDEF record type.
2937NDEFRecord.toRecords()NDEF, Reference, Web NFC
The toRecords() method of the NDEFRecord interface of Web NFC API parses record payload NDEFRecord.data besed on NDEFRecord.recordType and returns the result.
2938Network Information APIAPI, Experimental, Network Information API, Reference, WebAPI
Network Information API
2939NetworkInformationAPI, Experimental, Interface, Network Information API, NetworkInformation, Reference
The NetworkInformation interface provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. The NetworkInformation interfaces cannot be instantiated. It is instead accessed through the connection property of the Navigator interface.
2940NetworkInformation.downlinkAPI, Experimental, Network Information API, NetworkInformation, Property, Reference, downlink
The downlink read-only property of the NetworkInformation interface returns the effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds. This value is based on recently observed application layer throughput across recently active connections, excluding connections made to a private address space. In the absence of recent bandwidth measurement data, the attribute value is determined by the properties of the underlying connection technology.
2941NetworkInformation.downlinkMaxAPI, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference
The NetworkInformation.downlinkMax read-only property returns the maximum downlink speed, in megabits per second (Mbps), for the underlying connection technology.
2942NetworkInformation.effectiveTypeAPI, Experimental, Network Information API, NetworkInformation, Reference, effectiveType
The effectiveType read-only property of the NetworkInformation interface returns the effective type of the connection meaning one of 'slow-2g', '2g', '3g', or '4g'. This value is determined using a combination of recently observed, round-trip time and downlink values.
2943NetworkInformation.onchangeAPI, Event Handler, Experimental, Network Information API, NetworkInformation, Property, Reference
The NetworkInformation.onchange event handler contains the code that is fired when connection information changes, and the change is received by the NetworkInformation object.
2944NetworkInformation.rttAPI, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, rtt
The NetworkInformation.rtt read-only property returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer RTT measurements across recently active connections. It excludes connections made to a private address space. If no recent measurement data is available, the value is based on the properties of the underlying connection technology.
2945NetworkInformation.saveDataAPI, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, saveData
The NetworkInformation.saveData read-only property of the NetworkInformation interface returns true if the user has set a reduced data usage option on the user agent.
2946NetworkInformation.typeAPI, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference
The NetworkInformation.type read-only property returns the type of connection a device is using to communicate with the network.
2947NodeAPI, DOM, Document, Element, Interface, Node, Reference, Structure, hierarchy
The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.
2948Node.appendChild()API, DOM, Method, Node, Reference
The Node.appendChild() method adds a node to the end of the list of children of a specified parent node. If the given child is a reference to an existing node in the document, appendChild() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node).
2949Node.baseURIAPI, HTML, NeedsSpecTable, Node, Property, Read-only
The baseURI read-only property returns the absolute base URL of a Node.
2950Node.childNodesAPI, DOM, DOM Reference, Property, Reference
The Node.childNodes read-only property returns a live NodeList of child Node of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments.
2951Node.cloneNode()API, DOM, DOM Reference, Method, NeedsBrowserCompatibility, Reference
The Node.cloneNode() method returns a duplicate of the node on which this method was called.
2952Node.compareDocumentPosition()API, Compare Nodes, DOM, Method, Node, Position, Reference, compareDocumentPosition
The Node.compareDocumentPosition() method reports the position of the given node relative to another node in any document — not just the given node’s document.
2953Node.contains()API, DOM, Method, Node
The Node.contains() method returns a Boolean value indicating whether a node is a descendant of a given node, i.e. the node itself, one of its direct children (Node.childNodes), one of the children's direct children, and so on.
2954Node.firstChildAPI, DOM, Node, Property, Reference
The Node.firstChild read-only property returns the node's first child in the tree, or null if the node has no children.
2955Node.getRootNode()API, DOM, Method, Node, Reference, getRootNode
The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.
2956Node.getUserData()API, DOM, Method, Node, Obsolete, Reference
The Node.getUserData() method returns any user DOMUserData set previously on the given node by Node.setUserData().
2957Node.hasChildNodes()API, DOM, Method, NeedsSpecTable, Node, Reference
The Node.hasChildNodes() method returns a Boolean value indicating whether the given Node has child nodes or not.
2958Node.insertBefore()API, DOM, Method, Node, Reference
The Node.insertBefore() method inserts a node before a reference node as a child of a specified parent node.
2959Node.isConnectedAPI, DOM, Node, Property, Reference
The isConnected read-only property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to the context object, for example the Document object in the case of the normal DOM, or the ShadowRoot in the case of a shadow DOM.
2960Node.isDefaultNamespace()API, DOM, Method, NeedsSpecTable, Node, Reference
The Node.isDefaultNamespace() method accepts a namespace URI as an argument and returns a Boolean with a value of true if the namespace is the default namespace on the given node or false if not.
2961Node.isEqualNode()API, DOM, Method, Node, Reference
The Node.isEqualNode() method tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.
2962Node.isSameNode()API, DOM, Method, Node, Reference
The isSameNode() method for Node objects tests whether two nodes are the same (that is, whether they reference the same object).
2963Node.isSupported()API, DOM, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Node, Obsolete, Reference
The Node.isSupported()returns a Boolean flag containing the result of a test whether the DOM implementation implements a specific feature and this feature is supported by the specific node.
2964Node.lastChildAPI, DOM, Property, Reference
The Node.lastChild read-only property returns the last child of the node. If its parent is an element, then the child is generally an element node, a text node, or a comment node. It returns null if there are no child elements.
2965Node.localNameAPI, DOM, Obsolete, Property
The Node.localName read-only property returns the local part of the qualified name of this node.
2966Node.lookupNamespaceURI()API, DOM, Method, NeedsSpecTable, Node, Reference
The Node.lookupNamespaceURI() method accepts a prefix and returns the namespace URI associated with it on the given node if found (and null if not).
2967Node.lookupPrefix()API, DOM, Method, Node, Reference
The Node.lookupPrefix() method returns a DOMString containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the result is implementation-dependent.
2968Node.namespaceURIAPI, DOM, Obsolete, Property, Reference
The Node.namespaceURI read-only property returns the namespace URI of the node, or null if the node is not in a namespace. When the node is a document, it returns the XML namespace for the current document.
2969Node.nextSiblingAPI, DOM, Node, Property
The Node.nextSibling read-only property returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.
2970Node.nodeNameAPI, DOM, Gecko, NeedsSpecTable, Node, Property, Read-only
The nodeName read-only property returns the name of the current Node as a string.
2971Node.nodeTypeAPI, DOM, Property, Reference
The read-only Node.nodeType property is an integer that identifies what the node is. It distinguishes different kind of nodes from each other, such as Element, Text and Comment.
2972Node.nodeValueAPI, DOM, NeedsSpecTable, Node, Property, Reference
The nodeValue property of the Node interface returns or sets the value of the current node.
2973Node.normalize()API, DOM, Method, NeedsSpecTable, Node, Reference
The Node.normalize() method puts the specified node and all of its sub-tree into a "normalized" form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.
2974Node.ownerDocumentAPI, DOM, Node, Property, Reference
The ownerDocument read-only property of the Node interface returns the top-level document object of the node.
2975Node.parentElementAPI, DOM, JavaScript, NeedsBrowserCompatibility, Node, Property
The Node.parentElement read-only property returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.
2976Node.parentNodeAPI, DOM, Gecko, Property
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
2977Node.prefixAPI, DOM, Obsolete, Property
The Node.prefix read-only property returns the namespace prefix of the specified node, or null if no prefix is specified.
2978Node.previousSiblingAPI, DOM, Gecko, Property
The Node.previousSibling read-only property returns the node immediately preceding the specified one in its parent's Node.childNodes list, or null if the specified node is the first in that list.
2979Node.removeChild()API, DOM, Method, NeedsSpecTable, Node, Reference
The Node.removeChild() method removes a child node from the DOM and returns the removed node.
2980Node.replaceChild()API, DOM, Method, Node, Reference
The Node.replaceChild() method replaces a child node within the given (parent) node.
2981Node.setUserData()API, DOM, Method, Node, Obsolete, Reference
The Node.setUserData() method allows a user to attach (or remove) data to an element, without needing to modify the DOM. Note that such data will not be preserved when imported via Node.importNode, as with Node.cloneNode() and Node.renameNode() operations (though Node.adoptNode does preserve the information), and equality tests in Node.isEqualNode() do not consider user data in making the assessment.
2982Node.textContentAPI, DOM, Node, Property, Reference
The textContent property of the Node interface represents the text content of the node and its descendants.
2983NodeFilterAPI, DOM, DOM Reference
A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker. A NodeFilter knows nothing about the document or traversing nodes; it only knows how to evaluate a single node against the provided filter.
2984NodeFilter.acceptNode()API, DOM, DOM Reference, Method, NodeFilter
The NodeFilter.acceptNode() method returns an unsigned short that will be used to tell if a given Node must be accepted or not by the NodeIterator or TreeWalker iteration algorithm. This method is expected to be written by the user of a NodeFilter. Possible return values are:
2985NodeIteratorAPI, DOM
The NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
2986NodeIterator.detach()API, DOM, Method, NodeIterator, Obsolete
The NodeIterator.detach() method is a no-op, kept for backward compatibility only.
2987NodeIterator.expandEntityReferencesAPI, DOM, Deprecated, NodeIterator, Property
The NodeIterator.expandEntityReferences read-only property returns a Boolean flag indicating whether or not the children of entity reference nodes are visible to the NodeIterator.
2988NodeIterator.filterAPI, DOM, NodeIterator, Property
The NodeIterator.filter read-only method returns a NodeFilter object, that is an object implement an acceptNode(node) method, used to screen nodes.
2989NodeIterator.nextNode()API, DOM, Method, NodeIterator
The NodeIterator.nextNode() method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set.  The first call to nextNode() returns the first node in the set.
2990NodeIterator.pointerBeforeReferenceNodeAPI, DOM, Experimental, Expérimental(2), NodeIterator, Property
The NodeIterator.pointerBeforeReferenceNode read-only property returns a Boolean flag that indicates whether the NodeFilter is anchored before (if this value is true) or after (if this value is false) the anchor node indicated by the NodeIterator.referenceNode property.
2991NodeIterator.previousNode()API, DOM, Method, NodeIterator
The NodeIterator.previousNode() method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set.
2992NodeIterator.referenceNodeAPI, DOM, Experimental, Expérimental(2), NodeIterator, Property
The NodeIterator.referenceNode read-only returns the Node to which the iterator is anchored; as new nodes are inserted, the iterator remains anchored to the reference node as specified by this property.
2993NodeIterator.rootAPI, DOM, NodeIterator, Property
The NodeIterator.root read-only property represents the Node that is the root of what the NodeIterator traverses.
2994NodeIterator.whatToShowAPI, DOM, NodeIterator, Property
The NodeIterator.whatToShow read-only property represents an unsigned integer representing a bitmask signifying what types of nodes should be returned by the NodeIterator.
2995NodeListAPI, DOM, Interface, NodeList
NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().
2996NodeList.entries()DOM, Iteration, Method, Node, NodeList
The NodeList.entries() method returns an Iteration_protocols allowing to go through all key/value pairs contained in this object. The values are Node objects.
2997NodeList.prototype.forEach()DOM, Iterable, Method, NodeList, Reference, Web
The forEach() method of the NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
2998NodeList.item()API, DOM, Method, NodeList, Reference
Returns a node from a NodeList by index. This method doesn't throw exceptions as long as you provide arguments. A value of null is returned if the index is out of range, and a TypeError is thrown if no argument is provided.
2999NodeList.keys()DOM, Iterator, Method, NodeList, Reference, Web
The NodeList.keys() method returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are unsigned integer.
3000NodeList.lengthAPI, DOM, Gecko, NeedsSpecTable, NodeList, Property, Reference
The NodeList.length property returns the number of items in a NodeList.
3001NodeList.values()DOM, Iterator, Method, NodeList, Reference, Web
The NodeList.values() method returns an Iteration_protocols allowing to go through all values contained in this object. The values are Node objects.
3002NonDocumentTypeChildNodeAPI, DOM, Interface, NonDocumentTypeChildNode, Reference
The NonDocumentTypeChildNode interface contains methods that are particular to Node objects that can have a parent, but not suitable for DocumentType.
3003NonDocumentTypeChildNode.nextElementSiblingAPI, DOM, NonDocumentTypeChildNode, Property
The NonDocumentTypeChildNode.nextElementSibling read-only property returns the element immediately following the specified one in its parent's children list, or null if the specified element is the last one in the list.
3004NonDocumentTypeChildNode.previousElementSiblingAPI, DOM, NonDocumentTypeChildNode, Property, Read-only, Reference
The NonDocumentTypeChildNode.previousElementSibling read-only property returns the Element immediately prior to the specified one in its parent's children list, or null if the specified element is the first one in the list.
3005NotationAPI, Obsolete, Reference, Référence(2)
Represents a DTD notation (read-only). May declare format of an unparsed entity or formally declare the document's processing instruction targets. Inherits methods and properties from Node. Its nodeName is the notation name. Has no parent.
3006NotificationAPI, Interface, Notifications, Notifications API, Reference
The Notification interface of the Notifications API is used to configure and display desktop notifications to the user.
3007Notification.actionsAPI, Notification, Notifications, Notifications API, Property, Reference, actions
The actions read-only property of the Notification interface returns the list of NotificationAction objects set using the actions option when creating the notification using the Notification.Notification constructor.
3008Notification.badgeAPI, Notification, Notifications, Notifications API, Property, Reference, badge
The badge property of the Notification interface returns the URL of the image used to represent the notification when there is not enough space to display the notification itself.
3009Notification.bodyAPI, BODY, Notification, Notifications, Notifications API, Property, Reference
The body read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification.Notification constructor.
3010Notification.close()API, Method, Notification, Notifications, Notifications API, Reference, close
The close() method of the Notification interface is used to close/remove a previously displayed notification.
3011Notification.dataAPI, Notification, Notifications, Notifications API, Property, Reference, data
The data read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the data option of the Notification.Notification constructor.
3012Notification.dirAPI, Notification, Notifications, Notifications API, Property, Reference, dir
The dir read-only property of the Notification interface indicates the text direction of the notification, as specified in the dir option of the Notification.Notification constructor.
3013Notification.iconAPI, Notification, Notifications, Notifications API, Property, Reference, icon
The icon read-only property of the Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the icon option of the Notification.Notification constructor.
3014Notification.imageAPI, Image, Notification, Notifications, Notifications API, Property, Reference
The image read-only property of the Notification interface contains the URL of an image to be displayed as part of the notification
3015Notification.langAPI, Notification, Notifications, Notifications API, Property, Reference
The lang read-only property of the Notification interface indicates the language used in the notification, as specified in the lang option of the Notification.Notification constructor.
3016Notification.maxActionsAPI, Notification, Notifications, Notifications API, Property, Reference, actions
The maxActions attribute of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
3017Notification.Notification()API, Constructor, Notification, Notifications, Notifications API, Reference
The Notification() constructor creates a new Notification object instance, which represents a user notification.
3018Notification.onclickAPI, Notification, Notifications, Notifications API, Property, Reference, onclick
The onclick property of the Notification interface specifies an event listener to receive click events. These events occur when the user clicks on a displayed Notification.
3019Notification.oncloseAPI, Notification, Notifications, Notifications API, Property, Reference, onclose
The onclose property of the Notification interface specifies an event listener to receive HTMLDialogElement/close_event events. These events occur when a Notification is closed.
3020Notification.onerrorAPI, Notification, Notifications, Notifications API, Property, Reference, onerror
The onerror property of the Notification interface specifies an event listener to receive HTMLElement/error_event events. These events occur when something goes wrong with a Notification (in many cases an error preventing the notification from being displayed.)
3021Notification.onshowAPI, Notification, Notifications, Notifications API, Property, Reference, onshow
The onshow property of the Notification interface specifies an event listener to receive Element/show_event events. These events occur when a Notification is displayed.
3022Notification.permissionAPI, Notification, Notifications, Notifications API, Property, Reference
The permission read-only property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
3023Notification.renotifyAPI, Experimental, Notifications, Property, Reference, renotify
The renotify read-only property of the Notification interface specifies whether the user should be notified after a new notification replaces an old one, as specified in the renotify option of the Notification.Notification constructor.
3024Notification.requestPermission()API, Method, Notification, Notifications, Notifications API, Reference
The requestPermission() method of the Notification interface requests permission from the user for the current origin to display notifications.
3025Notification.requireInteractionAPI, Notification, Notifications, Notifications API, Property, Reference, Web, requireInteraction
The requireInteraction read-only property of the Notification interface returns a Boolean indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.
3026Notification.silentAPI, Notification, Notifications, Notifications API, Property, Reference, silent
The silent read-only property of the Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued, regardless of the device settings. This is specified in the silent option of the Notification.Notification constructor.
3027Notification.tagAPI, Notification, Notifications, Notifications API, Property, Reference, tag
The tag read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the tag option of the Notification.Notification constructor.
3028Notification.timestampAPI, Notification, Notifications, Notifications API, Property, Reference, timeStamp
The timestamp read-only property of the Notification interface returns a DOMTimeStamp, as specified in the timestamp option of the Notification.Notification constructor.
3029Notification.titleAPI, Notification, Notifications, Notifications API, Property, Reference, Title
The title read-only property of the Notification interface indicates the title of the notification, as specified in the title parameter of the Notification.Notification constructor.
3030Notification.vibrateAPI, Device, Notification, Notifications, Notifications API, Property, Reference, vibrate
The vibrate read-only property of the Notification interface specifies a vibration pattern for the device's vibration hardware to emit when the notification fires. This is specified in the vibrate option of the Notification.Notification constructor.
3031NotificationAction
The NotificationAction interface of the Notifications API is used to represent action buttons the user can click to interact with notifications.
3032NotificationEventAPI, Experimental, Interface, NotificationEvent, Notifications, Reference, Service Workers, ServiceWorker
The parameter passed into the ServiceWorkerGlobalScope.onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
3033NotificationEvent.actionAPI, Experimental, NotificationEvent, Notifications, Property, Reference, Service Workers, ServiceWorker, action
Returns the string ID of the notification button the user clicked. This value returns an empty string if the user clicked the notification somewhere other than an action button, or the notification does not have a button. The notification id is set during the creation of the Notification via the actions array attribute and can't be modified unless the notification is replaced.
3034NotificationEvent.notificationAPI, Experimental, NotificationEvent, Notifications, Property, Reference, Service Workers, ServiceWorker
The notification read-only property of the NotificationEvent interface returns the instance of the Notification that was clicked to fire the event. The Notification provides read-only access to many properties that were set at the instantiation time of the Notification such as tag and data attributes that allow you to store information for defered use in the notificationclick event.
3035NotificationEvent.NotificationEvent()API, Constructor, Experimental, NotificationEvent, Reference, Service Workers, ServiceWorker
The NotificationEvent() constructor creates a new NotificationEvent object.
3036Notifications APILanding, Notifications, Notifications API, permission, system
The Notifications API allows web pages to control the display of system notifications to the end user. These are outside the top-level browsing context viewport, so therefore can be displayed even when the user has switched tabs or moved to a different app. The API is designed to be compatible with existing notification systems, across different platforms.
3037Using the Notifications APIAPI, Advanced, Guide, Notifications, Notifications API, Push, Tutorial
The Notifications API lets a web page or app send notifications that are displayed outside the page at the system level; this lets web apps send information to a user even if the application is idle or in the background. This article looks at the basics of using this API in your own apps.
3038NotifyAudioAvailableEventAPI, Audio, Deprecated, NeedsContent, Non-standard, Reference, Référence(2)
The non-standard, obsolete, NotifyAudioAvailableEvent interface defines the event sent to audio elements  when the audio buffer is full.
3039OES_element_index_uintAPI, Reference, WebGL, WebGL extension
The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().
3040OES_fbo_render_mipmapAPI, Reference, WebGL, WebGL extension, WebGL extensions
The OES_fbo_render_mipmap extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.
3041OES_standard_derivativesAPI, Reference, WebGL, WebGL extension
The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth.
3042OES_texture_float_linearAPI, Reference, WebGL, WebGL extension
The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
3043OES_texture_floatAPI, Reference, WebGL, WebGL extension
The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.
3044OES_texture_half_float_linearAPI, Reference, WebGL, WebGL extension
The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
3045OES_texture_half_floatAPI, Reference, WebGL, WebGL extension
The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
3046OES_vertex_array_objectAPI, Reference, WebGL, WebGL extension
The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data.
3047OES_vertex_array_object.bindVertexArrayOES()API, Method, Reference, VAO, WebGL, WebGL extension
The OES_vertex_array_object.bindVertexArrayOES() method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.
3048OES_vertex_array_object.createVertexArrayOES()API, Method, Reference, VAO, WebGL, WebGL extension
The OES_vertex_array_object.createVertexArrayOES() method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
3049OES_vertex_array_object.deleteVertexArrayOES()API, Method, Reference, VAO, WebGL, WebGL extension
The OES_vertex_array_object.deleteVertexArrayOES() method of the WebGL API deletes a given WebGLVertexArrayObject object.
3050OES_vertex_array_object.isVertexArrayOES()API, Method, Reference, VAO, WebGL, WebGL extension
The OES_vertex_array_object.isVertexArrayOES() method of the WebGL API returns true if the passed object is a WebGLVertexArrayObject object.
3051OfflineAudioCompletionEventAPI, Interface, OfflineAudioCompletionEvent, Reference, Référence(2), Web Audio API
The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface.
3052OfflineAudioCompletionEvent.OfflineAudioCompletionEvent()API, Audio, Constructor, OfflineAudioCompletionEvent, Reference, Web Audio API
The OfflineAudioCompletionEvent() constructor of the Web Audio API creates a new OfflineAudioCompletionEvent object instance.
3053OfflineAudioCompletionEvent.renderedBufferAPI, Audio, OfflineAudioCompletionEvent, Property, Reference, Web Audio API
The renderedBuffer read-only property of the OfflineAudioCompletionEvent interface is an AudioBuffer containing the result of processing an OfflineAudioContext.
3054OfflineAudioContextAPI, Audio, Interface, OfflineAudioContext, Reference, Web Audio API
The OfflineAudioContext interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer.
3055OfflineAudioContext: complete eventAPI, Event, OfflineAudioContext, Reference, Web Audio API, complete
Web Audio API
3056OfflineAudioContext.lengthAPI, NeedsExample, OfflineAudioContext, Property, Reference, Web Audio API
The length property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.
3057OfflineAudioContext.OfflineAudioContext()API, Audio, Audio Contexts, Constructor, OfflineAudioContext, Reference, Web Audio API
The OfflineAudioContext() constructor—part of the Web Audio API—creates and returns a new OfflineAudioContext object instance, which can then be used to render audio to an AudioBuffer rather than to an audio output device.
3058OfflineAudioContext.oncompleteAPI, OfflineAudioContext, Property, Reference, Référence(2), Web Audio API, oncomplete
The oncomplete event handler of the OfflineAudioContext interface is called when the audio processing is terminated, that is when the complete event (of type OfflineAudioCompletionEvent) is raised.
3059OfflineAudioContext.resume()API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, resume
The resume() method of the OfflineAudioContext interface resumes the progression of time in an audio context that has been suspended. The promise resolves immediately because the OfflineAudioContext does not require the audio hardware. If the context is not currently suspended or the rendering has not started, the promise is rejected with InvalidStateError.
3060OfflineAudioContext.startRendering()API, Method, OfflineAudioContext, Reference, Web Audio API, startRendering
The startRendering() method of the OfflineAudioContext Interface starts rendering the audio graph, taking into account the current connections and the current scheduled changes.
3061OfflineAudioContext.suspend()API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, suspend
The suspend() method of the OfflineAudioContext interface schedules a suspension of the time progression in the audio context at the specified time and returns a promise. This is generally useful at the time of manipulating the audio graph synchronously on OfflineAudioContext.
3062OffscreenCanvasAPI, Canvas, Experimental, Interface, Reference
The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts.
3063OffscreenCanvas.convertToBlob()API, Canvas, Experimental, Method, OffscreenCanvas, Reference
The OffscreenCanvas.convertToBlob()method creates a Blob object representing the image contained in the canvas.
3064OffscreenCanvas.getContext()API, Canvas, Experimental, Method, OffscreenCanvas, Reference
The OffscreenCanvas.getContext() method returns a drawing context for an offscreen canvas, or null if the context identifier is not supported.
3065OffscreenCanvas.heightAPI, Canvas, Experimental, OffscreenCanvas, Property, Reference
The height property returns and sets the height of an OffscreenCanvas object.
3066OffscreenCanvas.convertToBlob()Junk
See OffscreenCanvas.convertToBlob.
3067OffscreenCanvas()API, Canvas, Constructor, Experimental, OffscreenCanvas, Reference, WebGL
The OffscreenCanvas() constructor returns a newly instantiated OffscreenCanvas object.
3068OffscreenCanvas.convertToBlob()API, Canvas, Experimental, Method, OffscreenCanvas, Reference
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.
3069OffscreenCanvas.transferToImageBitmap()API, Canvas, Experimental, Method, OffscreenCanvas, Reference
The OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas.
3070OffscreenCanvas.widthAPI, Canvas, Experimental, OffscreenCanvas, Property, Reference
The width property returns and sets the width of an OffscreenCanvas object.
3071OrientationSensorAPI, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors
The OrientationSensor interface of the Sensor APIs is the base class for orientation sensors. This interface cannot be used directly. Instead it provides properties and methods accessed by interfaces that inherit from it.
3072OrientationSensor.populateMatrix()API, Generic Sensor API, Method, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors, populateMatrix()
The populateMatrix method of the OrientationSensor interface populates the given target matrix with the rotation matrix based on the latest sensor reading. The rotation matrix is shown below.
3073OrientationSensor.quaternionAPI, Generic Sensor API, Orientation Sensor API, OrientationSensor, Property, Reference, Sensor, Sensor APIs, Sensors
The quaternion read-only property of the OrientationSensor interface returns a four element Array whose elements contain the components of the unit quaternion representing the device's orientation.
3074OscillatorNodeAPI, Constructor, Interface, Media, OscillatorNode, Reference, Web Audio API
The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
3075OscillatorNode.detuneAPI, OscillatorNode, Property, Reference, Web Audio API, detune
The detune property of the OscillatorNode interface is an a-rate AudioParam representing detuning of oscillation in cents.
3076OscillatorNode.frequencyAPI, OscillatorNode, Property, Reference, Web Audio API, frequency
The frequency property of the OscillatorNode interface is an a-rate AudioParam representing the frequency of oscillation in hertz.
3077OscillatorNode.onendedAPI, OscillatorNode, Property, Reference, Web Audio API, onended
The onended property of the OscillatorNode interface is used to set the event handler for the ended event, which fires when the tone has stopped playing.
3078OscillatorNode.OscillatorNode()Audio, Constructor, Media, OscillatorNode, Reference, Web Audio, Web Audio API
The OscillatorNode() constructor of the Web Audio API creates a new OscillatorNode object which is an AudioNode that represents a periodic waveform, like a sine wave, optionally setting the node's properties' values to match values in a specified object.
3079OscillatorNode.setPeriodicWave()API, Method, OscillatorNode, Reference, Web Audio API, setPeriodicWave
The setPeriodicWave() method of the OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when OscillatorNode.type is custom.
3080OscillatorNode.start()API, Method, OscillatorNode, Reference, Web Audio API, start
The start method of the OscillatorNode interface specifies the exact time to start playing the tone. Its parameter is optional and default to 0.
3081OscillatorNode.stop()API, Method, OscillatorNode, Reference, Web Audio API, stop
The stop method of the OscillatorNode interface specifies the time to stop playing the tone. Its parameter is optional and defaults to 0.
3082OscillatorNode.typeAPI, OscillatorNode, Property, Reference, Type, Web Audio API
The type property of the OscillatorNode interface specifies what shape of waveform the oscillator will output. There are several common waveforms available, as well as an option to specify a custom waveform shape. The shape of the waveform will affect the tone that is produced.
3083OverconstrainedErrorAPI, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video
The OverconstrainedError interface of the Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied.
3084OverconstrainedError.constraintAPI, Audio, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Property, Reference, Video, constraint
The constraint read-only property of the OverconstrainedError interface returns the constraint that was supplied in the constructor, meaning the contraint that was not satisfied.
3085OverconstrainedError.OverconstrainedError()API, Audio, Constructor, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video
The OverconstrainedError constructor creates a new OverconstrainedError object which indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied.
3086OVR_multiview2API, WebGL, WebGL extensions
The OVR_multiview2 extension is part of the WebGL API and adds support for rendering into multiple views simultaneously. This especially useful for virtual reality (VR) and WebXR.
3087OVR_multiview2.framebufferTextureMultiviewOVR()API, Method, Multiview, VR, WebGL, WebGL extensions, WebVR, WebXR
The OVR_multiview2.framebufferTextureMultiviewOVR() method of the WebGL API attaches a multiview texture to a WebGLFramebuffer.
3088Page Visibility APIAPI, DOM, Documents, Hidden Pages, Hiding Pages, Intermediate, Page Visibility, Page Visibility API, Showing Pages, Tutorials, Visibility, Visible Pages
The Page Visibility API provides events you can watch for to know when a document becomes visible or hidden, as well as features to look at the current visibility state of the page.
3089PageTransitionEventAPI, Interface, PageTransitionEvent, Reference
The PageTransitionEvent event object is available inside handler functions for the pageshow and pagehide events, fired when a document is being loaded or unloaded.
3090PageTransitionEvent.persistedAPI, PageTransitionEvent, Property, Reference, Web API
The persisted read-only property indicates if a webpage is loading from a cache.
3091PaintWorkletAPI, CSS, CSS Paint API, Houdini, Interface, Painting, Reference, Worklet, paintWorklet
The PaintWorklet interface of the CSS Painting API programmatically generates an image where a CSS property expects a file. Access this interface through CSS.paintWorklet.
3092PaintWorkletGlobalScope.devicePixelRatioCSS Paint API, DPI, Houdini, NeedsBrowserCompatibility, NeedsExample, NeedsLiveSample, Property, Reference, Worklet, devicePixelRatio, paintWorklet
The PaintWorkletGlobalScope.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
3093PaintWorklet.devicePixelRatioAPI, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet
The PaintWorklet.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
3094PaintWorklet.devicePixelRatioAPI, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet
The PaintWorklet.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
3095PaintWorkletGlobalScope.registerPaintAPI, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, paintWorklet, registerPaint
The PaintWorkletGlobalScope.registerPaint() method of the PaintWorklet interface registers a class programmatically generate an image where a CSS property expects a file.
3096PannerNodeAPI, Interface, PannerNode, Reference, Web Audio API
The PannerNode interface represents the position and behavior of an audio source signal in space. It is an AudioNode audio-processing module describing its position with right-hand Cartesian coordinates, its movement using a velocity vector and its directionality using a directionality cone.
3097PannerNode.coneInnerAngleAPI, PannerNode, Property, Reference, Web Audio API, coneInnerAngle
The coneInnerAngle property of the PannerNode interface is a double value describing the angle, in degrees, of a cone inside of which there will be no volume reduction.
3098PannerNode.coneOuterAngleAPI, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterAngle
The coneOuterAngle property of the PannerNode interface is a double value describing the angle, in degrees, of a cone outside of which the volume will be reduced by a constant value, defined by the coneOuterGain property.
3099PannerNode.coneOuterGainAPI, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterGain
The coneOuterGain property of the PannerNode interface is a double value, describing the amount of volume reduction outside the cone, defined by the PannerNode.coneOuterAngle attribute.
3100PannerNode.distanceModelAPI, PannerNode, Property, Reference, Web Audio API, distanceModel
The distanceModel property of the PannerNode interface is an enumerated value determining which algorithm to use to reduce the volume of the audio source as it moves away from the listener.
3101PannerNode.maxDistanceAPI, PannerNode, Property, Reference, Web Audio API, maxDistance
The maxDistance property of the PannerNode interface is a double value representing the maximum distance between the audio source and the listener, after which the volume is not reduced any further. This value is used only by the linear distance model.
3102PannerNode.orientationXPannerNode, Property, Reference, Web Audio API, orientationX
The orientationX property of the PannerNode interface indicates the X (horizontal) component of the direction in which the audio source is facing, in a 3D Cartesian coordinate space.
3103PannerNode.orientationYAPI, PannerNode, Property, Reference, Web Audio API, orientationY
The orientationY property of the PannerNode interface indicates the Y (vertical) component of the direction the audio source is facing, in 3D Cartesian coordinate space.
3104PannerNode.orientationZAudio, PannerNode, Property, Web Audio
The orientationZ property of the PannerNode interface indicates the Z (depth) component of the direction the audio source is facing, in 3D Cartesian coordinate space.
3105PannerNode.PannerNode()API, Audio, Constructor, PannerNode, Reference, Web Audio API
The PannerNode() constructor of the Web Audio API creates a new PannerNode object instance.
3106PannerNode.panningModelAPI, PannerNode, Property, Reference, Web Audio API, panningModel
The panningModel property of the PannerNode interface is an enumerated value determining which spatialisation algorithm to use to position the audio in 3D space.
3107PannerNode.positionXAPI, PannerNode, Property, Reference, Web Audio API, positionX
The positionX property of the PannerNode interface specifies the X coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the horizontal axis (left-right).
3108PannerNode.positionYAPI, PannerNode, Property, Reference, Web Audio API, positionY
The positionY property of the PannerNode interface specifies the Y coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the vertical axis (top-bottom). The complete vector is defined by the position of the audio source, given as (PannerNode.positionX, PannerNode.positionY, PannerNode.positionZ), and the orientation of the audio source (that is, the direction in which it's facing), given as (PannerNode.orientationX, PannerNode.orientationY, PannerNode.orientationZ).
3109PannerNode.positionZAPI, PannerNode, Property, Reference, Web Audio API, positionZ
The positionZ property of the PannerNode interface specifies the Z coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the depth axis (behind-in front of the listener). The complete vector is defined by the position of the audio source, given as (PannerNode.positionX, PannerNode.positionY, PannerNode.positionZ), and the orientation of the audio source (that is, the direction in which it's facing), given as (PannerNode.orientationX, PannerNode.orientationY, PannerNode.orientationZ).
3110PannerNode.refDistanceAPI, PannerNode, Property, Reference, Référence(2), Web Audio API, refDistance
The refDistance property of the PannerNode interface is a double value representing the reference distance for reducing volume as the audio source moves further from the listener – i.e. the distance at which the volume reduction starts taking effect. This value is used by all distance models.
3111PannerNode.rolloffFactorAPI, PannerNode, Property, Reference, Web Audio API, rollOffFactor
The rolloffFactor property of the PannerNode interface is a double value describing how quickly the volume is reduced as the source moves away from the listener. This value is used by all distance models.The rolloffFactor property's default value is 1.
3112PannerNode.setOrientation()API, Method, PannerNode, Reference, Web Audio API, setOrientation
The setOrientation() method of the PannerNode Interface defines the direction the audio source is playing in.
3113PannerNode.setPosition()API, Method, PannerNode, Reference, Web Audio API, setPosition
The setPosition() method of the PannerNode Interface defines the position of the audio source relative to the listener (represented by an AudioListener object stored in the AudioContext.listener attribute.) The three parameters x, y and z are unitless and describe the source's position in 3D space using the right-hand Cartesian coordinate system.
3114PannerNode.setVelocity()API, Audio, Deprecated, Doppler Effect, Method, PannerNode, Reference, Web Audio API, setVelocity
The setVelocity() method of the PannerNode Interface defines the velocity vector of the audio source — how fast it is moving and in what direction.
3115ParentNodeAPI, DOM, Finding Elements, Finding Nodes, Interface, Locating Elements, Locating Nodes, Managing Elements, Managing Nodes, Mixin, Node, ParentNode, Reference, Selectors
The ParentNode mixin contains methods and properties that are common to all types of Node objects that can have children.
3116ParentNode.append()API, DOM, Method, Node, ParentNode, Reference
The ParentNode.append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode.
3117ParentNode.childElementCountAPI, DOM, ParentNode, Property, Reference
The ParentNode.childElementCount read-only property returns an unsigned long representing the number of child elements of the given element.
3118ParentNode.childrenAPI, Child, Child Nodes, DOM, HTMLCollection, Node, ParentNode, Property, children
The ParentNode property children is a read-only property that returns a live HTMLCollection which contains all of the child Element of the node upon which it was called.
3119ParentNode.firstElementChildAPI, DOM, ParentNode, Property
The ParentNode.firstElementChild read-only property returns the object's first child Element, or null if there are no child elements.
3120ParentNode.lastElementChildAPI, DOM, ParentNode, Property, Reference, polyfill
The ParentNode.lastElementChild read-only property returns the object's last child Element or null if there are no child elements.
3121ParentNode.prepend()API, DOM, Method, Node, ParentNode, Reference, prepend
The ParentNode.prepend() method inserts a set of Node objects or DOMString objects before the first child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.
3122ParentNode.querySelector()API, DOM, Draft, Method, NeedsExample, ParentNode, Reference, Selectors, querySelector
The ParentNode mixin defines the querySelector() method as returning an Element representing the first element matching the specified group of selectors which are descendants of the object on which the method was called.
3123ParentNode.querySelectorAll()API, DOM, Document, Finding Elements, Finding Nodes, Method, ParentNode, Reference, Searching Elements, Searching Nodes, Selectors, querySelectorAll
The ParentNode mixin defines the querySelectorAll() method as returning a NodeList representing a list of elements matching the specified group of selectors which are descendants of the object on which the method was called.
3124ParentNode.replaceChildren()API, DOM, Method, Node, ParentNode, Reference, replaceChildren
The ParentNode.replaceChildren() method replaces the existing children of a Node with a specified new set of children. These can be DOMString or Node objects.
3125PasswordCredentialAPI, Credential Management API, Interface, PasswordCredential, Reference, credential management
The interface of the Credential Management API provides information about a username/password pair. In supporting browsers an instance of this class may be passed in the credential member of the init object for global fetch.
3126PasswordCredential.additionalDataAPI, Credential Management API, PasswordCredential, Property, Reference, credential management
The additionalData property of the PasswordCredential interface takes one of a FormData instance, a URLSearchParams instance, or null.
3127PasswordCredential.iconURLAPI, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
The iconURL read-only property of the PasswordCredential interface returns a USVString containing a URL pointing to an image for an icon. This image is intended for display in a credential chooser. The URL must be accessible without authentication.
3128PasswordCredential.idNameAPI, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
The idName property of the PasswordCredential interface returns a USVString, representing the name that will be used for the ID field
3129PasswordCredential.nameAPI, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
The name read-only property of the PasswordCredential interface returns a USVSTring containing a human-readable public name for display in a credential chooser.
3130PasswordCredential.passwordAPI, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
The password read-only property of the PasswordCredential interface returns a USVString containing the password of the credential.
3131PasswordCredentialAPI, Constructor, Credential Management API, PasswordCredential, Reference, credential management
The PasswordCredential constructor creates a new PasswordCredential object.
3132PasswordCredential.passwordNameAPI, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
The passwordName property of the PasswordCredential interface returns a USVString, depicting the name used by the password field
3133Path2DAPI, Canvas, Interface, Path2D, Reference
The Path2D interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
3134Path2D.addPath()API, Canvas, Method, Path2D, Path2D.addPath, Reference
The Path2D.addPath() method of the Canvas 2D API adds one Path2D object to another Path2D object.
3135Path2D()API, Canvas, Constructor, Drawing, Graphics, Path2D, Paths, Reference
The Path2D() constructor returns a newly instantiated Path2D object, optionally with another path as an argument (creates a copy), or optionally with a string consisting of SVG path data.
3136PayerErrorsAPI, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress
The PayerErrors dictionary is used by the Payment Request API to indicate the presence of—and to explain how to correct—validation errors in the payer details.
3137PayerErrors.emailAPI, Commerce, Email, Errors, PayerErrors, Payment Request, Payment Request API, Reference, Shopping, Validation, payment
The email property is included in a PayerErrors object if the PaymentResponse.payerEmail property failed validation; in this case, the property should contain a string describing how to correct the problem. If the payer's email address passed validation, this property is not included in the PayerErrors object.
3138PayerErrors.nameAPI, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Property, Reference, Response, Validation, name, payment
The name property is included in a PayerErrors object if the PaymentResponse.payerName returned in the response couldn't be validated. The value is a string explaining the problem. If the payer's name validated successfully, the name property is omitted from the PayerErrors object.
3139PayerErrors.phoneAPI, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Reference, Response, Validation, payment
The phone property is found in a PayerErrors object if the PaymentResponse.payerPhone returned in the response couldn't be validated as a valid phone number. The value of this property is a string explaining the problem. If the payer's phone number validated successfully, the phone property is omitted from the PayerErrors object.
3140Payment Request APIAPI, Commerce, Credit Card, Intermediate, Landing, NeedsContent, Overview, Payment Request, Payment Request API, Reference, Secure context, payment
The Payment Request API provides a consistent user experience for both merchants and users. It is not a new way for paying for things; rather, it's a way for users to select their preferred way of paying for things, and make that information available to a merchant.
3141Payment processing conceptsAPI, Apple Pay, Commerce, Guide, Intermediate, Payee, Payer, Payment Handler, Payment Method, Payment Request API, Payments
In this article, we'll take a look at how the API operates and what each of its components does.
3142Using the Payment Request APIDemos, Examples, Guide, Payment Request API, PaymentRequest
This article is a guide to making use of the Payment Request API, with examples and suggested best practices.
3143PaymentAddressAPI, Interface, Payment Request, Payment Request API, PaymentRequest, Reference, paymentAddress
The PaymentAddress interface of the Payment Request API is used to store shipping or payment address information.
3144PaymentAddress.addressLineAPI, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, payment, paymentAddress
The addressLine read-only property of the PaymentAddress interface is an array of DOMString objects, each specifying a line of the address that is not covered by one of the other properties of PaymentAddress.
3145PaymentAddress.cityAPI, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, city, payment, paymentAddress, town, village
The city read-only property of the PaymentAddress interface returns a string containing the city or town portion of the address.
3146PaymentAddress.countryAPI, Address, Payment Request, Payment Request API, PaymentRequest, Property, Reference, country, payment, paymentAddress
The country read-only property of the PaymentAddress interface is a string identifying the address's country using the ISO 3166-1 alpha-2 standard. The string is always in its canonical upper-case form.
3147PaymentAddress.dependentLocalityAPI, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress
The read-only dependentLocality property of the PaymentAddress interface is a string containing a sublocality designation within a city, such as a  neighborhood, borough, district, or, in the United Kingdom, a dependent locality. Also known as a post town.
3148PaymentAddress.languageCodeAPI, Address, Deprecated, Language, LanguageCode, Locale, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc
The languageCode read-only property of the PaymentAddress interface returns a string containing the BCP-47 language code for the address.
3149PaymentAddress.organizationAPI, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, business, company, institution, organization, paymentAddress
The organization read-only property of the PaymentAddress interface returns a string containing the name of the organization, firm, company, or institution at the address.
3150PaymentAddress.phoneAPI, Address, Payment Request, Payment Request API, PaymentRequest, Phone, Phone Number, Property, Read-only, Reference, Téléphone, payment, paymentAddress
The read-only phone property of the PaymentAddress interface returns a string containing the telephone number of the recipient or contact person.
3151PaymentAddress.postalCodeAPI, Address, PIN, PIN Code, Payment Request, Payment Request API, PaymentRequest, Post Code, Postal Code, Property, Read-only, Reference, ZIP, ZIP Code, payment, paymentAddress, postalCode
The postalCode read-only property of the PaymentAddress interface returns a string containing a code used by a jurisdiction for mail routing, for example, the ZIP Code in the United States or the Postal Index Number (PIN code) in India.
3152PaymentAddress.recipientAPI, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress
The read-only recipient property of the PaymentAddress interface returns a string containing the name of the recipient, purchaser, or contact person at the payment address.
3153PaymentAddress.regionAPI, Address, County, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, state
The read-only region property of the PaymentAddress interface returns a string containing the top-level administrative subdivision of the country in which the address is located. For example, this may be a state, province, oblast, or prefecture.
3154PaymentAddress.regionCodeAPI, Address, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, regionCode, state
The regionCode read-only attribute of the PaymentAddress interface returns a one-, two-, or three-alphanumeric code (DOMString) representing the region of the address (e.g., "CA" for California, or "11" for Lisbon, Portugal).
3155PaymentAddress.sortingCodeAPI, Address, Payment Request, Payment Request API, Property, Read-only, Reference, Sorting Code, payment, paymentAddress, sortingCode
The sortingCode read-only property of the PaymentAddress interface returns a string containing a postal sorting code such as is used in France.
3156PaymentAddress.toJSON()API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress, toJSON
The toJSON() property of the PaymentAddress interface is a standard serializer that returns a JSON representation of the PaymentAddress object's properties.
3157PaymentCurrencyAmountAPI, Commerce, Currency, Dictionary, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Reference, Shipping, cost, payment, value
The PaymentCurrencyAmount dictionary describes an amount of money in terms of both a number of units and the currency (US dollars, Euro, yen, etc.), and is part of the Payment Request API.
3158PaymentCurrencyAmount.currencyAPI, Commerce, Currency, Monetary System, Money, Payment Request, Payment Request API, PaymentCurrencySystem, Reference, payment
The PaymentCurrencyAmount property currency is a string which specifies the currency in which the PaymentCurrencyAmount.value is specified.
3159PaymentCurrencyAmount.currencySystemAPI, Commerce, Currency, Currency System, Money, Obsolete, Payment Request, Payment Request API, PaymentCurrencyAmount, Property, Reference, payment
The obsolete PaymentCurrencyAmount property currencySystem is a string which specifies the standard being used to specify the PaymentCurrencyAmount.currency the PaymentCurrencyAmount.value is specified in.
3160PaymentCurrencyAmount.valueAPI, Commerce, Currency, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Property, Reference, cost, payment, value
The PaymentCurrencyAmount property value is a string containing the decimal numeric value of the payment, specified in the currency units indicated by the PaymentCurrencyAmount.currency property.
3161PaymentDetailsBaseAPI, Dictionary, Experimental, Interface, Mixin, PaymentDetailsBase, Payments, Reference, Web Payments, Web Payments API
The PaymentDetailsBase dictionary is a mixin used by the PaymentDetailsInit and PaymentDetailsUpdate dictionaries.
3162PaymentDetailsUpdateAPI, Dictionary, Interface, Payment Request, Payment Request API, PaymentDetailsUpdate, Reference, details, payment
The PaymentDetailsUpdate dictionary is used to provide updated information to the payment user interface after it has been instantiated.
3163PaymentDetailsUpdate.errorAPI, Error, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, payment
The PaymentDetailsUpdate dictionary's error property is a human-readable DOMString which provides an error message to be displayed if the specified information doesn't offer any valid shipping options.
3164PaymentDetailsUpdate.shippingAddressErrorsAPI, Address, Errors, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, Shipping, Validation, payment, shippingAddressErrors
The PaymentDetailsUpdate dictionary's shippingAddressErrors property, if present,  contains an AddressErrors object whose contents provide error messages for one or more of the values in the PaymentAddress specified as PaymentRequest.shippingAddress.
3165PaymentItemAPI, Commerce, Dictionary, Payment Request, Payment Request API, PaymentItem, Reference, payment
The PaymentItem dictionary is used by the Payment Request API to describe a single line item on a payment request.
3166PaymentMethodChangeEventAPI, Interface, Payment Handler, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, payment
The PaymentMethodChangeEvent interface of the Payment Request API describes the PaymentRequest/paymentmethodchange_event event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a "store" card to make a purchase while using Apple Pay).
3167PaymentMethodChangeEvent.methodDetailsAPI, Commerce, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodDetails, payment, paymentmethodchange
PaymentMethodChangeEvent interface is an object containing any data the payment handler may provide to describe the change the user has made to their payment method.
3168PaymentMethodChangeEvent.methodNameAPI, Commerce, Payment Handler, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodName, payment
PaymentMethodChangeEvent interface is a string which uniquely identifies the payment handler currently selected by the user.
3169PaymentMethodChangeEventAPI, Commerce, Interface, Payment Method, Payment Request API, PaymentMethodChangeEvent, Reference, payment
The PaymentMethodChangeEvent() constructor creates a new PaymentMethodChangeEvent object providing details about a paymentmethodchange event.
3170PaymentRequestAPI, Commerce, Interface, Merchants, Money, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context
The Payment Request API's PaymentRequest interface the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app.
3171PaymentRequest.abort()API, Experimental, Payment Request API, PaymentRequest, Reference, Secure context, abort
The PaymentRequest.abort() method of the PaymentRequest interface causes the user agent to end the payment request and to remove any user interface that might be shown.
3172PaymentRequest.canMakePayment()API, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, canMakePayment
The PaymentRequest method canMakePayment() determines whether or not the request is configured in a way that is compatible with at least one payment method supported by the user agent.
3173PaymentRequest.prototype.idAPI, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, id
The id read-only attribute of the PaymentRequest interface returns a unique identifier for a particular PaymentRequest instance.
3174PaymentRequest: merchantvalidation eventAPI, Commerce, Merchant, Payment Handler, Payment Request, Payment Request API, Reference, Sales, Validation, Web, events, merchantvalidation, payment
merchantvalidation events are delivered by the Payment Request API to a PaymentRequest object when a payment handler requires that the merchant requesting the purchase validate itself as permitted to use the payment handler.
3175PaymentRequest.onmerchantvalidationAPI, Commerce, Event Handler, Payment Method, Payment Request API, PaymentRequest, Property, Reference, onmerchantvalidation, payment
The PaymentRequest event handler onmerchantvalidation is invoked when the merchantvalidation
3176PaymentRequest.onpaymentmethodchangeAPI, Commerce, Event Handler, Payment Method, PaymentRequest, Property, Reference, onpaymentmethodchange, payment
The PaymentRequest event handler onpaymentmethodchange is invoked when the paymentmethodchange
3177PaymentRequest.onshippingaddresschangeAPI, Event Handler, Experimental, Payment Request, Payment Request API, Property, Reference, Secure context, onshippingaddresschange
The onshippingaddresschange event of the PaymentRequest interface is fired whenever the user changes their shipping address, including when an address is added by the user for the first time.
3178PaymentRequest.onshippingoptionchangeAPI, Event Handler, Experimental, Payment Request, Payment Request API, Reference, Secure context, onshippingoptionchange
The onshippingoptionchange event of the PaymentRequest interface is fired whenever the user changes a shipping option.
3179PaymentRequest: paymentmethodchange eventEvent, Payment Request, Payment Request API, PaymentMethodChangeEvent, events, payment, paymentmethodchange
paymentmethodchange events are delivered by the Payment Request API to a PaymentRequest object when the user changes payment methods within a given payment handler.
3180PaymentRequest.PaymentRequest()API, Constructor, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, payment
The PaymentRequest() constructor creates a new PaymentRequest object which will be used to handle the process of generating, validating, and submitting a payment request.
3181PaymentRequest.shippingAddressAPI, Experimental, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingAddress
The shippingAddress read-only property of the PaymentRequest interface returns the shipping address provided by the user. It is null by default.
3182PaymentRequest: shippingaddresschange eventAPI, Address, Commerce, Payment Request, Payment Request API, PaymentRequest, PaymentRequestUpdateEvent, Reference, Shipping, events, payment, shippingaddresschange
The shippingaddresschange event is sent to the PaymentRequest object when the user selects a shipping address or changes details of their shipping address.
3183PaymentRequest.shippingOptionAPI, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingOption
The shippingOption read-only attribute of the PaymentRequest interface returns either the id of a selected shipping option, null (if no shipping option was set to be selected) or a shipping option selected by the user. It is initially null by when no "selected" shipping options are provided.
3184PaymentRequest: shippingoptionchange eventAPI, Commerce, Payment Request, Payment Request API, PaymentRequest, Reference, Shipping, events, onshippingoptionchange, payment, shippingoptionchange
For payment requests that request shipping information, and for which shipping options are offered, the shippingoptionchange event is sent to the PaymentRequest whenever the user chooses a shipping option from the list of available options.
3185PaymentRequest.shippingTypeAPI, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, shippingType
The shippingType read-only property of the PaymentRequest interface returns one of "shipping", "delivery", "pickup", or null if one was not provided by the constructor.
3186PaymentRequest.show()API, Commerce, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context, show
The PaymentRequest interface's show() method instructs the user agent to begin the process of showing and handling the user interface for the payment request to the user.
3187PaymentRequestEventAPI, Experimental, Interface, Payment Request API, PaymentRequestEvent, Reference, payment
The PaymentRequestEvent interface of the Payment Request API is the object passed to a payment handler when a PaymentRequest is made.
3188PaymentRequestEvent.instrumentKey
The instrumentKey read-only property of the PaymentRequestEvent interface returns a PaymentInstrument object reflecting the payment instrument selected by the user or an empty string if the user has not registered or chosen a payment instrument.
3189PaymentRequestEvent.methodData
The methodData read-only property of the PaymentRequestEvent interface returns an array of PaymentMethodData objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.
3190PaymentRequestEvent.modifiers
The modifiers read-only property of the PaymentRequestEvent interface returns an array of objects containing changes to payment details.
3191PaymentRequestEvent.openWindow()API, Method, Payment Request API, PaymentRequestEvent, Reference, openWindow(), payment
The openWindow property of the PaymentRequestEvent interface opens the specified URL in a new window, if and only if the given URL is on the same origin as the calling page. It returns a Promise that resolves with a reference to a WindowClient.
3192PaymentRequestEvent()API, Constructor, Payment Request API, PaymentRequestEvent, Reference, payment
The PaymentRequestEvent constructor creates a new PaymentRequestEvent object which is a constructor for a PaymentRequestEvent which is the object passed to a payment handler when a PaymentRequest is made..
3193paymentRequestIdAPI, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestId
The paymentRequestId read-only property of the PaymentRequestEvent interface returns the ID of the PaymentRequest object.
3194PaymentRequestEvent.paymentRequestOriginAPI, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestOrigin
The paymentRequestOrigin read-only property of the PaymentRequestEvent interface returns the origin where the PaymentRequest object was initialized.
3195PaymentRequestEvent.respondWith()API, Method, Payment Request API, PaymentRequestEvent, Reference, payment, respondWith()
The respondWith property of the PaymentRequestEvent interface prevents the default event handling and allows you to provide a Promise for a PaymentResponse object yourself.
3196PaymentRequestEvent.topOriginAPI, Payment Request API, PaymentRequestEvent, Property, Reference, payment, topLevelOrigin
The topOrigin read-only property of the PaymentRequestEvent interface returns the top level payee origin where the PaymentRequest object was initialized.
3197PaymentRequestEvent.totalAPI, Payment Request API, PaymentRequestEvent, Property, Reference, payment, total
The total readonly property of the PaymentRequestEvent interface returns a PaymentCurrencyAmount object containing the total amount being requested for payment.
3198PaymentRequestUpdateEventAPI, Experimental, Interface, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context
The PaymentRequestUpdateEvent interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest. Those events are:
3199PaymentRequestUpdateEvent.PaymentRequestUpdateEvent()API, Constructor, Experimental, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context
The PaymentRequestUpdateEvent constructor creates a new PaymentRequestUpdateEvent object which enables a web page to update the details of a PaymentRequest in response to a user action. Actual updates are made by passing options to the PaymentRequestUpdateEvent.updateWith method.
3200PaymentRequestUpdateEvent.updateWith()API, Change, Experimental, Method, Payment Change, Payment Details, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, Web Payments, payment, updateWith
The updateWith() method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest.
3201PaymentResponseAPI, Experimental, Interface, Payment Request, PaymentResponse, Reference, Secure context
The PaymentResponse interface of the Payment Request API is returned after a user selects a payment method and approves a payment request.
3202PaymentResponse.complete()API, Experimental, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Secure context, complete
The PaymentRequest method complete() of the Payment Request API notifies the user agent that the user interaction is over, and causes any remaining user interface to be closed.
3203PaymentResponse.detailsAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, details
The details read-only property of the PaymentResponse interface returns a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer.
3204PaymentResponse.methodNameAPI, Commerce, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, methodName
The methodName read-only property of the PaymentResponse interface returns a string uniquely identifying the payment handler selected by the user.
3205PaymentResponse.onpayerdetailchangeAPI, Event Handler, Payer, Payer Details, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Web, onpayerdetailchange, payment, validate
The PaymentResponse object's onpayerdetailchange property is an event handler which is called to handle the payerdetailchange event, which is sent to the PaymentResponse when the user makes changes to their personal information while filling out a payment request form.
3206PaymentResponse: payerdetailchange eventCommerce, Payment Request API, PaymentResponse, Reference, Response, Validation, events, payerdetail, payment, validate
payerdetailchange events are delivered by the Payment Request API to a PaymentResponse object when the user makes changes to their personal information while filling out a payment request form.
3207PaymentResponse.payerEmailAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerEmail
The payerEmail read-only property of the PaymentResponse interface returns the email address supplied by the user. This option is only present when the requestPayerEmail option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor.
3208PaymentRequest.payerNameAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context
The payerName read-only property of the PaymentResponse interface returns the name supplied by the user. This option is only present when the requestPayerName option is set to true in the options parameter of the PaymentRequest.PaymentRequest constructor.
3209PayerResponse.payerPhoneAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerPhone
The payerPhone read-only property of the PaymentResponse interface returns the phone number supplied by the user. This option is only present when the requestPayerPhone option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor.
3210PaymentResponse.requestIdAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Secure context, requestId
The requestId read-only property of the PaymentResponse interface rreturns the free-form identifier supplied by the PaymentResponse() constructor by details.id.
3211PaymentResponse.retry()API, Commerce, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Web Payments, payment, retry
The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing.
3212PaymentResponse.shippingAddressAPI, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, shippingAddress
The shippingAddress read-only property of the PaymentRequest interface returns a PaymentAddress object containing the shipping address provided by the user.
3213PaymentResponse.shippingOptionAPI, Experimental, Payment Request, PaymentResponse, Property, Reference, Request Payment API, Secure context, shippingOption
The shippingOption read-only property of the PaymentRequest interface returns the ID attribute of the shipping option selected by the user. This option is only present when the requestShipping option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor.
3214PaymentValidationErrorsAPI, Commerce, Dictionary, Errors, Payment Request, Payment Request API, PaymentValidationErrors, Reference, Validation, payment
The PaymentValidationErrors dictionary represents objects providing information about any and all errors that occurred while processing a payment request. When validation of the PaymentResponse returned by the PaymentRequest.show() or PaymentResponse.retry() methods fails, your code creates a PaymentValidationErrors object to pass into retry() so that the user agent knows what needs to be fixed and what if any error messages to display to the user.
3215Pbkdf2ParamsAPI, Dictionary, Pbkdf2Params, Reference, Web Crypto API
The Pbkdf2Params dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey(), when using the PBKDF2 algorithm.
3216Performance APIGuide, NeedsContent, Overview, Performance, Web Performance
The High Resolution Time standard defines a Performance interface that supports client-side latency measurements within applications. The Performance interfaces are considered high resolution because they are accurate to a thousandth of a millisecond (subject to hardware or software constraints). The interfaces support a number of use cases including calculating frame-rates (potentially important in animations) and benchmarking (such as the time to load a resource).
3217Using the Performance APIGuide, Performance, Web Performance
A fundamental requirement of web performance is a precise and consistent definition of time. The DOMHighResTimeStamp type (a double) is used by all performance interfaces to hold such time values. Additionally, there must be a way to create a timestamp for a specific point in time; this is done with the Performance.now method.
3218Performance TimelineGuide, Overview, Web Performance
The Performance Timeline API defines extensions to the Performance interface to support client-side latency measurements within applications. The extensions provide interfaces to retrieve PerformanceEntry based on specific filter criteria. The standard also includes interfaces that allow an application to define Performance_Observers callbacks that are notified when specific performance events are added to the browser's performance timeline.
3219Using Performance TimelineGuide, Web Performance
The Performance Timeline standard defines extensions to the Performance interface to support client-side latency measurements within applications. The standard also includes interfaces that allow an application to be notified when specific performance events occur. Together, these interfaces can be used to help identify an application's performance bottlenecks.
3220PerformanceAPI, Interface, Navigation Timing, Performance, Reference, Web Performance
The Performance interface provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.
3221performance.clearMarks()API, Method, Reference, Web Performance
The clearMarks() method removes the named mark from the browser's performance entry buffer. If the method is called with no arguments, all PerformanceEntry with an PerformanceEntry.entryType of "mark" will be removed from the performance entry buffer.
3222performance.clearMeasures()API, Method, Reference, Web Performance
The clearMeasures() method removes the named measure from the browser's performance entry buffer. If the method is called with no arguments, all PerformanceEntry with an PerformanceEntry.entryType of "measure" will be removed from the performance entry buffer.
3223performance.clearResourceTimings()API, Method, Reference, Web Performance
The clearResourceTimings() method removes all PerformanceEntry with an PerformanceEntry.entryType of "resource" from the browser's performance data buffer and sets the size of the performance data buffer to zero. To set the size of the browser's performance data buffer, use the Performance.setResourceTimingBufferSize() method.
3224performance.getEntries()API, Method, Reference, Web Performance
The getEntries() method returns a list of all PerformanceEntry objects for the page. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time. If you are only interested in performance entries of certain types or that have certain names, see Performance.getEntriesByType and Performance.getEntriesByName.
3225performance.getEntriesByName()API, Method, Reference, Web Performance
The getEntriesByName() method returns a list of PerformanceEntry objects for the given name and type. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time.
3226performance.getEntriesByType()API, Method, Reference, Web Performance
The getEntriesByType() method returns a list of PerformanceEntry objects for a given type. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time.
3227performance.mark()API, Method, Reference, Web Performance
The mark() method creates a DOMHighResTimeStamp in the browser's performance entry buffer with the given name.
3228performance.measure()API, Method, Reference, Web Performance, Web Workers
The measure() method creates a named DOMHighResTimeStamp in the browser's performance entry buffer between marks, the navigation start time, or the current time. When measuring between two marks, there is a start mark and end mark, respectively. The named timestamp is referred to as a measure.
3229Performance.memory
None.
3230Performance.navigationAPI, Backwards compatibility, Deprecated, HTTP, Navigation Timing, Performance, Property, Read-only, legacy
This property is deprecated in the Navigation Timing Level 2 specification.
3231performance.now()API, Method, Performance, Reference, Web Performance API
The performance.now() method returns a DOMHighResTimeStamp, measured in milliseconds.
3232Performance.onresourcetimingbufferfullAPI, Property, Reference, Web Peformance
The onresourcetimingbufferfull property is an event handler that will be called when the resourcetimingbufferfull event is fired. This event is fired when the browser's resource timing performance buffer is full.
3233Performance: resourcetimingbufferfull eventAPI, DOM, Event, Performance, Reference, Web Performance, onresourcetimingbufferfull
The resourcetimingbufferfull event is fired when the browser's resource timing buffer is full.
3234performance.setResourceTimingBufferSize()API, Method, Reference, Web Performance
The setResourceTimingBufferSize() method sets the browser's resource timing buffer size to the specified number of "resource" PerformanceEntry.entryType objects.
3235Performance.timeOriginAPI, Experimental, High Resolution Time API, Performance, Property, Reference, timeOrigin
The timeOrigin read-only property of the Performance interface returns the high resolution timestamp of the start time of the performance measurement.
3236Performance.timingAPI, Backwards compatibility, Deprecated, Navigation Timing, Performance, Property, Read-only, legacy
This property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3237performance.toJSON()API, Method, Performance, Reference
The toJSON() method of the Performance interface is a standard serializer: it returns a JSON representation of the performance object's properties.
3238PerformanceEntryAPI, Interface, Performance Timeline API, PerformanceEntry, Reference, Web Performance
The PerformanceEntry object encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance PerformanceMark or PerformanceMeasure (for example by calling the Performance.mark method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
3239PerformanceEntry.durationAPI, Property, Reference, Web Performance
The duration property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.
3240PerformanceEntry.entryTypeAPI, Performance Timeline API, PerformanceEntry, Property, Reference, Web Performance
The entryType property returns a DOMString representing the type of performance metric such as, for example, "mark". This property is read only.
3241PerformanceEntry.nameAPI, Property, Reference, Web Performance
The name property of the PerformanceEntry interface returns a value that further specifies the value returned by the PerformanceEntry.entryType property. This property is read only.
3242PerformanceEntry.startTimeAPI, Property, Reference, Web Performance
The startTime property returns the first recorded DOMHighResTimeStamp of the PerformanceEntry.
3243PerformanceEntry.toJSON()API, Method, Reference, Web Performance
The toJSON() method is a serializer; it returns a JSON representation of the PerformanceEntry object.
3244PerformanceEventTimingAPI, Event Timing API, Interface, Performance, PerformanceEventTiming, Reference, Web Performance
The PerformanceEventTiming interface of the Event Timing API provides timing information for the event types listed below.
3245PerformanceFrameTimingAPI, Frame Timing API, Interface, Performance Timeline API, PerformanceFrameTiming, Reference, Web Performance
PerformanceFrameTiming is an abstract interface that provides frame timing data about the browser's event loop.
3246PerformanceLongTaskTimingAPI, Interface, Long Tasks API, PerformanceLongTaskTiming, Reference
The PerformanceLongTaskTiming interface of the Long Tasks API reports instances of long tasks.
3247PerformanceLongTaskTiming.attribution
The attribution readonly property of the PerformanceLongTaskTiming interface returns a sequence of TaskAttributionTiming instances.
3248PerformanceMarkAPI, Interface, Performance Timing API, Reference, Web Performance
PerformanceMark is an abstract interface for PerformanceEntry objects with an PerformanceEntry.entryType of "mark". Entries of this type are created by calling Performance.mark to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline.
3249PerformanceMeasureAPI, Interface, Performance Timeline API, Reference, Web Performance
PerformanceMeasure is an abstract interface for PerformanceEntry objects with an PerformanceEntry.entryType of "measure". Entries of this type are created by calling Performance.measure to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline.
3250PerformanceNavigationAPI, Backwards compatibility, Deprecated, Interface, Navigation Timing, Navigation Timing API, Performance, PerformanceNavigation, Reference, Timing, legacy
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3251PerformanceNavigation.redirectCountAPI, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3252PerformanceNavigation.typeAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3253PerformanceNavigationTimingAPI, Interface, Navigation Timing API, Performance Timeline API, Reference, Web Performance
The PerformanceNavigationTiming interface provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.
3254PerformanceNavigationTiming.domCompleteAPI, Property, Reference, Web Performance
The domComplete read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to complete.
3255PerformanceNavigationTiming.domContentLoadedEventEndAPI, Property, Reference, Web Performance
The domContentLoadedEventEnd read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately after the current document's DOMContentLoaded event completes.
3256PerformanceNavigationTiming.domContentLoadedEventStartAPI, Property, Reference, Web Performance
The domContentLoadedEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document.
3257PerformanceNavigationTiming.domInteractiveAPI, Property, Reference, Web Performance
The domInteractive read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive.
3258PerformanceNavigationTiming.loadEventEndAPI, Property, Reference, Web Performance
The loadEventEnd read-only property returns a DOMHighResTimeStamp which is equal to the time when the load event of the current document is completed.
3259PerformanceNavigationTiming.loadEventStartAPI, Property, Reference, Web Performance
The loadEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the load event of the current document is fired.
3260PerformanceNavigationTiming.redirectCountAPI, Property, Reference, Web Performance
The redirectCount property returns a DOMHighResTimeStamp representing the number of redirects since the last non-redirect navigation under the current browsing context.
3261PerformanceNavigationTiming.toJSON()API, Method, Reference, Web Performance
The toJSON() method is a serializer - it returns a JSON representation of the PerformanceNavigationTiming object.
3262PerformanceNavigationTiming.typeAPI, Property, Reference, Web Performance
The type read-only property returns a DOMString representing the type of navigation. The value must be one of the following:
3263PerformanceNavigationTiming.unloadEventEndAPI, Property, Reference, Web Performance
The unloadEventEnd read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately after the user agent finishes the unload event of the previous document. If there is no previous document, this property value is 0.
3264PerformanceNavigationTiming.unloadEventStartAPI, Property, Reference, Web Performance
The unloadEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent starts the unload event of the previous document. If there is no previous document, this property returns 0.
3265PerformanceObserverAPI, Interface, Performance Observer API, PerformanceObserver, Reference, Web Performance, observers
The PerformanceObserver interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser's performance timeline.
3266PeformanceObserver.disconnect()API, Method, Performance Observer API, PerformanceObserver, Reference, Web Performance, disconnect(), observers
The disconnect() method of the PerformanceObserver interface is used to stop the performance observer from receiving any PerformanceEntry events.
3267PerformanceObserver.observe()API, Method, Performance, PerformanceObserver, Reference, Web Performance
The observe() method of the PerformanceObserver interface is used to specify the set of performance entry types to observe.
3268PerformanceObserver()API, Constructor, PerformanceObserver, Reference, Web Performance
The PerformanceObserver() constructor creates a new PerformanceObserver object with the given observer callback. The observer callback is invoked when PerformanceEntry are recorded for the PerformanceEntry.entryType that have been registered, via the PerformanceObserver.observe method.
3269PerformanceObserver.takeRecords()API, Method, Performance Observer API, PerformanceObserver, Reference, observers, takeRecords()
The takeRecords() method of the PerformanceObserver interface returns the current list of PerformanceEntry stored in the performance observer, emptying it out.
3270PerformanceObserverEntryListAPI, Interface, Reference, Web Performance
The PerformanceObserverEntryList interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.
3271PerformanceObserverEntryList.getEntries()API, Method, PerformanceObserverEntryList, Reference, Web Performance
The getEntries() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given filter. The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback).
3272PerformanceObserverEntryList.getEntriesByName()API, Method, PerformanceObserverEntryList, Reference, Web Performance
The getEntriesByName() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType. The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback).
3273PerformanceObserverEntryList.getEntriesByType()API, Method, PerformanceObserverEntryList, Reference, Web Performance
The getEntriesByType() method of the PerformanceObserverEntryList returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.entryType. The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback).
3274PerformancePaintTimingAPI, Interface, Paint Timing, Performance Timeline API, PerformancePaintTiming, Reference, Web Performance
The PerformancePaintTiming interface of the Paint Timing API provides timing information about "paint" (also called "render") operations during web page construction. "Paint" refers to conversion of the render tree to on-screen pixels.
3275PerformanceResourceTimingDOM, Interface, Reference, Web Performance
The PerformanceResourceTiming interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, SVG, image, or script.
3276PerformanceResourceTiming.connectEndAPI, Property, Reference, Web Performance
The connectEnd read-only property returns the DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as SSL handshake and SOCKS authentication.
3277PerformanceResourceTiming.connectStartAPI, Property, Reference, Web Performance
The connectStart read-only property returns the DOMHighResTimeStamp immediately before the user agent starts establishing the connection to the server to retrieve the resource.
3278PerformanceResourceTiming.decodedBodySizeAPI, Property, Reference, Web Performance
The decodedBodySize read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body, after removing any applied content-codings. If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content-codings.
3279PerformanceResourceTiming.domainLookupEndAPI, Property, Reference, Web Performance
The domainLookupEnd read-only property returns the DOMHighResTimeStamp immediately after the browser finishes the domain name lookup for the resource.
3280PerformanceResourceTiming.domainLookupStartAPI, Property, Reference, Web Performance
The domainLookupStart read-only property returns the DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource.
3281PerformanceResourceTiming.encodedBodySizeAPI, Property, Reference, Web Performance
The encodedBodySize read-only property represents the size (in octets) received from the fetch (HTTP or cache), of the payload body, before removing any applied content-codings.
3282PerformanceResourceTiming.fetchStartAPI, Property, Reference, Web Performance
The fetchStart read-only property represents a DOMHighResTimeStamp immediately before the browser starts to fetch the resource.
3283PerformanceResourceTiming.initiatorTypeAPI, Property, Reference, Web Performance
The initiatorType read-only property is a DOMString that represents the type of resource that initiated the performance event.
3284PerformanceResourceTiming.nextHopProtocolAPI, Property, Reference, Resource Timing API, Web Performance
The nextHopProtocol read-only property is a DOMString representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301).
3285PerformanceResourceTiming.redirectEndAPI, Property, Reference, Web Performance
The redirectEnd read-only property returns a DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect.
3286PerformanceResourceTiming.redirectStartAPI, Property, Reference, Web Performance
The redirectStart read-only property returns a DOMHighResTimeStamp representing the start time of the fetch which that initiates the redirect.
3287PerformanceResourceTiming.requestStartAPI, Property, Reference, Web Performance
The requestStart read-only property returns a DOMHighResTimeStamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
3288PerformanceResourceTiming.responseEndAPI, Property, Reference, Web Performance
The responseEnd read-only property returns a DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
3289PerformanceResourceTiming.responseStartAPI, Property, Reference, Web Performance
The responseStart read-only property returns a DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server, cache, or local resource.
3290PerformanceResourceTiming.secureConnectionStartAPI, Property, Reference, Web Performance
The secureConnectionStart read-only property returns a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.
3291PerformanceResourceTiming.serverTimingAPI, PerformanceResourceTiming, Property, Reference, SecureContextOnly, ServerTiming
The serverTiming read-only property returns an array of PerformanceServerTiming entries containing server timing metrics.
3292PerformanceResourceTiming.toJSON()API, Method, Reference, Web Performance
The toJSON() method is a serializer that returns a JSON representation of the PerformanceResourceTiming object.
3293PerformanceResourceTiming.transferSizeAPI, Property, Reference, Web Performance
The transferSize read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230).
3294PerformanceResourceTiming.workerStartAPI, PerformanceResourceTiming, Property, Reference, Web Performance, workerStart
The workerStart read-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0.
3295PerformanceServerTimingAPI, Interface, Reference, ServerTiming
The PerformanceServerTiming interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.
3296PerformanceServerTiming.descriptionAPI, Property, Reference, ServerTiming
The description read-only property returns a DOMString value of the server-specified metric description, or an empty string.
3297PerformanceServerTiming.durationAPI, Property, Reference, ServerTiming
The duration read-only property returns a double that contains the server-specified metric duration, or value 0.0.
3298PerformanceServerTiming.nameAPI, Property, Reference, ServerTiming
The name read-only property returns a DOMString value of the server-specified metric name.
3299PerformanceServerTiming.toJSONAPI, Method, PerformanceServerTiming, Reference, ServerTiming, toJSON
The toJSON() method of the PerformanceServerTiming interface returns a DOMString that is the JSON representation of the PerformanceServerTiming object.
3300PerformanceTimingAPI, Backwards compatibilty, Deprecated, Interface, Navigation Timing, Navigation Timing API, Optimization, Performance, Reference, Timing, legacy
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3301PerformanceTiming.connectEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3302PerformanceTiming.connectStartAPI, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3303PerformanceTiming.domainLookupEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, fetchStart, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3304PerformanceTiming.domainLookupStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3305PerformanceTiming.domCompleteAPI, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3306PerformanceTiming.domContentLoadedEventEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventEnd, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3307PerformanceTiming.domContentLoadedEventStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventStart, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3308PerformanceTiming.domInteractiveAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domInteractive, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3309PerformanceTiming.domLoadingAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, domxref, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3310PerformanceTiming.fetchStartAPI, Backwards compatibility, Deprecated, HTTP request, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3311PerformanceTiming.loadEventEndAPI, Backwards compatibility, Deprecated, Event Handler, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface's  PerformanceNavigationTiming.loadEventEnd read-only property instead.
3312PerformanceTiming.loadEventStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface's  PerformanceNavigationTiming.loadEventStart read-only property instead..
3313PerformanceTiming.navigationStartAPI, Backwards compatibility, Deprecated, Navigation Timing, Performance, PerformanceTiming.navigationStart, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3314PerformanceTiming.redirectEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3315PerformanceTiming.redirectStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3316PerformanceTiming.requestStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3317PerformanceTiming.responseEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3318PerformanceTiming.responseStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3319PerformanceTiming.secureConnectionStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3320PerformanceTiming.unloadEventEndAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3321PerformanceTiming.unloadEventStartAPI, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
3322PeriodicSyncEventAPI, Background Sync, Interface, Offline, PeriodicSyncEvent, Reference, ServiceWorker, Workers
The PeriodicSyncEvent interface of the Web Periodic Background Synchronization API provides a way to run tasks in the service worker with network connectivity.
3323PeriodicSyncEvent()Constructor, Offline, PWA, PeriodicSyncEvent, Service Worker, Web Periodic Background Synchronization API, periodic sync
The PeriodicSyncEvent() constructor creates a new PeriodicSyncEvent object. This constructor is not typically used. The browser creates these objects itself and provides them to ServiceWorkerGlobalScope.onperiodicsync callback.
3324PeriodicSyncEvent.tagOffline, PWA, PeriodicSyncEvent, Property, Service Worker, Web Periodic Background Synchronization API, periodic sync
The tag read-only property of the PeriodicSyncEvent interface returns the developer-defined identifier for the PeriodicSyncEvent. This is specified when calling the PeriodicSyncManager.register() method of the PeriodicSyncManager interface. Multiple tags can be used by the web app to run different periodic tasks at different frequencies.
3325PeriodicSyncManagerAPI, Interface, Offline, PWA, Periodic Background Synchronization, PeriodicSyncManager, Reference, ServiceWorker
The PeriodicSyncManager interface of the Web Periodic Background Synchronization API provides a way to register tasks to be run in a service worker at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests. Access PeriodicSyncManager through the ServiceWorkerRegistration.periodicSync.
3326PeriodicSyncManager.getTags()Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API, periodic sync
The getTags() method of the PeriodicSyncManager interface returns a Promise that resolves with a list of String objects representing the tags that are currently registered for periodic syncing.
3327PeriodicSyncManager.register()Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API
The register() method of the PeriodicSyncManager interface registers a periodic sync request with the browser with the specified tag and options. It returns a Promise that resolves when the registration completes.
3328PeriodicSyncManager.unregister()Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API
The unregister() method of the PeriodicSyncManager interface unregisters the periodic sync request corresponding to the specified tag and returns a Promise that resolves when unregistration completes.
3329PeriodicWaveAPI, Audio, Interface, Media, PeriodicWave, Reference, Web Audio, Web Audio API, waveform
The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.
3330PeriodicWave.PeriodicWave()API, Audio, Constructor, PeriodicWave, Reference, Web Audio API
The PeriodicWave() constructor of the Web Audio API creates a new PeriodicWave object instance.
3331Permissions APIAPI, Introduction, Overview, Permissions, Permissions API, Web, access

The Permissions API provides a consistent programmatic way to query the status of API permissions attributed to the current context. For example, the Permissions API can be used to determine if permission to access a particular API has been granted or denied.

3332Using the Permissions APIAPI, Experimental, Geolocation, Guide, Permissions
This article provides a basic guide to using the W3C Permissions API, which provides a programmatic way to query the status of API permissions attributed to the current context.
3333PermissionsAPI, Experimental, Interface, Permissions, Permissions API, Reference
The Permissions interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
3334Permissions.query()API, Experimental, Method, Permissions, Reference
The Permissions.query() method of the Permissions interface returns the state of a user permission on the global scope.
3335Permissions.revoke()API, Experimental, Method, Permissions, Permissions API, Reference, revoke
The Permissions.revoke() method of the Permissions interface reverts a currently set permission back to its default state, which is usually prompt.
3336PermissionStatusAPI, Experimental, Interface, PermissionStatus, Permissions, Permissions API, Reference
The PermissionStatus interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
3337PermissionStatus.onchangeAPI, Event Handler, Experimental, PermissionStatus, Permissions, Property, Reference, onchange
The onchange event handler of the PermissionStatus interface is called whenever the PermissionStatus.state property changes.
3338PermissionStatus.stateAPI, Event Handler, Experimental, PermissionStatus, Permissions, Permissions API, Property, Reference, status
The state read-only property of the PermissionStatus interface returns the state of a requested permission. This property returns one of 'granted', 'denied', or 'prompt'.
3339PhotoCapabilitiesAPI, Experimental, Image, Image Capture, Interface, Media, MediaStream Image Capture API, PhotoCapabilities, Reference
The PhotoCapabilities interface of the MediaStream Image Capture API provides available configuration options for an attached photographic device. A PhotoCapabilities object is retrieved by calling ImageCapture.getPhotoCapabilities().
3340PhotoCapabilities.fillLightModeAPI, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Read-only, Reference
The fillLightMode read-only property of the PhotoCapabilities interface returns all available fill light options of the source device.
3341PhotoCapabilities.imageHeightAPI, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
The imageHeight read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image height range supported by the user agent.
3342imageWidthAPI, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
The imageWidth read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image width range supported by the user agent.
3343PhotoCapabilities.redEyeReductionAPI, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Read-only, Reference
The redEyeReduction read-only property of the PhotoCapabilities interface returns an enum indicating the red-eye reduction capability of the source.
3344Picture-in-Picture APIAPI, DOM, Graphics, Guide, Overview, Picture-in-Picture, Picture-in-Picture API, Reference, Video, View, pip
The Picture-in-Picture API allow websites to create a floating video window always on top of other windows so that users may continue consuming media while they interact with other content sites, or applications on their device.
3345PictureInPictureEventAPI, DOM, DOM Events, Event, Reference
The PictureInPictureEvent interface represents picture-in-picture-related events, including HTMLVideoElement/enterpictureinpicture_event, HTMLVideoElement/leavepictureinpicture_event and PictureInPictureWindow/resize_event
3346PictureInPictureEvent()
The PictureInPictureEvent() constructor returns a newly created PictureInPictureEvent 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.
3347PictureInPictureWindowAPI, Advanced, Interface, Picture-in-Picture, Picture-in-Picture API, Reference, Video, pip
The PictureInPictureWindow interface represents an object able to programmatically obtain the width and height and resize event of the floating video window.
3348PictureInPictureWindow.heightAPI, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip
The read-only PictureInPictureWindow property height returns the height of the floating video window in pixels.
3349PictureInPictureWindow.onresizeAPI, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip
The onresize property of the PictureInPictureWindow interface is an EventHandler that processes PictureInPictureWindow.resize_event events.
3350PictureInPictureWindow: resize eventAPI, Event, Picture-in-Picture, Picture-in-Picture API, Video, pip, resize
The resize event fires when the floating video window has been resized.
3351PictureInPictureWindow.widthAPI, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip
The read-only PictureInPictureWindow property width returns the width of the floating video window in pixels.
3352PluginAPI, Add-ons, DOM, NeedsContent, Plug-in, Plugins
The Plugin interface provides information about a browser plugin.
3353PluginArrayAPI, Add-ons, DOM, Experimental, NeedsContent, Plugins
The PluginArray interface is used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods.
3354PointAPI, CSS Transforms, CSS3 Transforms, Interface, Non-standard, Point, Reference
Point is an interface, which existed only briefly in the CSS3 Transforms specification, which represents a point in 2-dimensional space. It is non-standard, not broadly compatible, and should not be used.
3355Pointer eventsAPI, Interface, Landing, Overview, Pointer Events, Web, events
Pointer Events
3356Multi-touch interactionGuide, Pointer Events, touch
Pointer Events
3357Pinch zoom gesturesGuide, PointerEvent, touch
Adding gestures to an application can significantly improve the user experience. There are many types of gestures, from the simple single-touch swipe gesture to the more complex multi-touch twist gesture, where the touch points (aka pointers) move in different directions.
3358Using Pointer EventsGuide, Input, Pointer Events, PointerEvent, events, touch
Pointer Events
3359Pointer Lock APIAPI, Advanced, Games, Reference, mouse lock, pointer lock
The Pointer Lock API (formerly called Mouse Lock API) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view.
3360PointerEventAPI, DOM, Interface, Pointer Events, PointerEvent, Reference, events
The PointerEvent interface represents the state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.
3361PointerEvent.getCoalescedEvents()API, DOM, Method, Pointer Events, PointerEvent, Reference
The getCoalescedEvents() method of the PointerEvent interface returns a sequence of all PointerEvent instances that were coalesced into the dispatched pointermove event.
3362PointerEvent.heightAPI, DOM, Interface, PointerEvent, Property, Reference
The height read-only property of the PointerEvent interface represents the height of the pointer's contact geometry, along the y-axis (in CSS pixels). Depending on the source of the pointer device (for example a finger), for a given pointer, each event may produce a different value.
3363PointerEvent.isPrimaryAPI, DOM, Interface, PointerEvent, Property, Reference
The isPrimary read-only property of the PointerEvent interface indicates whether or not the pointer device that created the event is the primary pointer. It returns true if the pointer that caused the event to be fired is the primary device and returns false otherwise.
3364PointerEvent.PointerEvent()API, Constructor, PointerEvent, Reference
The PointerEvent() constructor creates a new synthetic and untrusted PointerEvent object instance.
3365PointerEvent.pointerIdAPI, DOM, Interface, PointerEvent, Property, Reference
The pointerId read-only property of the PointerEvent interface is an identifier assigned to a given pointer event. The identifier is unique, being different from the identifiers of all other active pointer events. Since the value may be randomly generated, it is not guaranteed to convey any particular meaning.
3366PointerEvent.pointerTypeAPI, DOM, Interface, PointerEvent, Property, Reference
The pointerType read-only property of the PointerEvent interface indicates the device type (mouse, pen, or touch) that caused a given pointer event.
3367PointerEvent.pressureAPI, DOM, Interface, PointerEvent, Property, Reference
The pressure read-only property of the PointerEvent interface indicates the normalized pressure of the pointer input.
3368PointerEvent.tangentialPressureAPI, DOM, Pointer Events, PointerEvent, Property, Reference, tangentialPressure
The tangentialPressure read-only property of the PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress).
3369PointerEvent.tiltXAPI, DOM, Interface, PointerEvent, Property, Reference
The tiltX read-only property of the PointerEvent interface is the angle (in degrees) between the Y-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type.
3370PointerEvent.tiltYAPI, DOM, Interface, PointerEvent, Property, Reference
The tiltY read-only property of the PointerEvent interface is the angle (in degrees) between the X-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type.
3371PointerEvent.twistAPI, DOM, Pointer Events, PointerEvent, Property, Reference, twist
The twist read-only property of the PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees.
3372PointerEvent.widthAPI, DOM, Interface, PointerEvent, Property, Reference
The width read-only property of the PointerEvent interface represents the width of the pointer's contact geometry along the x-axis, measured in CSS pixels. Depending on the source of the pointer device (such as a finger), for a given pointer, each event may produce a different value.
3373PopStateEventAPI, Interface, Reference
PopStateEvent is an event handler for the popstate event on the window.
3374PositionOptionsAPI, Dictionary, Geolocation API, PositionOptions, Reference, Secure context
The PositionOptions dictionary describes an object containing option properties to pass as a parameter of Geolocation.getCurrentPosition() and Geolocation.watchPosition().
3375PositionOptions.enableHighAccuracyAPI, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context
The PositionOptions.enableHighAccuracy property is a Boolean that indicates the application would like to receive the best possible results. If true and if the device is able to provide a more accurate position, it will do so. Note that this can result in slower response times or increased power consumption (with a GPS chip on a mobile device for example). On the other hand, if false (the default value), the device can take the liberty to save resources by responding more quickly and/or using less power.
3376PositionOptions.maximumAgeAPI, Geolocation API, NeedsExample, PositionOptions, Property, Secure context
The PositionOptions.maximumAge property is a positive long value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity the device must return a cached position regardless of its age.
3377PositionOptions.timeoutAPI, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context
The PositionOptions.timeout property is a positive long value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. The default value is Infinity, meaning that getCurrentPosition() won't return until the position is available.
3378PositionSensorVRDeviceAPI, Experimental, Expérimental(2), Interface, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
The PositionSensorVRDevice interface of the WebVR API represents VR hardware's position sensor. You can access information such as the current position and orientation of the sensor in relation to the head mounted display through the PositionSensorVRDevice.getState() method.
3379PositionSensorVRDevice.getImmediateState()API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
The getImmediateState() method of the VRDevice interface returns the current instantaneous position sensor state. This is intended to only be used rarely, for certain special uses, for example sampling the immediate position of a hand orientation sensor — or at least it will be, in the future.
3380PositionSensorVRDevice.getState()API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
The getState() method of the PositionSensorVRDevice interface returns the current state of the position sensor for the current frame (e.g. within the current window.requestAnimationFrame callback) or for the previous frame, contained with a VRPositionState object. This is the method you'd normally want to use, vs. PositionSensorVRDevice.getImmediateState.
3381PositionSensorVRDevice.resetSensor()API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR, resetSensor
The resetSensor() method of the VRDevice interface can be used to reset the sensor if desired, returning the position and orientation values to zero.
3382Presentation APIAPI, Experimental, NeedsContent, Presentation API, Reference
The Presentation API lets a user agent (such as a Web browser) effectively display web content through large presentation devices such as projectors and network-connected televisions.
3383PresentationAPI, Experimental, Interface, Presentation, Presentation API, Reference
The Presentation can be defined as two possible user agents in the context: Controlling user agent and Receiving user agent.
3384Presentation.defaultRequestAPI, Presentation, Property, Reference, Web
In a controlling user agent, the defaultRequest attribute MUST return the default presentation request if any, otherwise null. In a receiving browsing context, it MUST return null.
3385Presentation.receiverAPI, Presentation, Presentation API, Property, Read-only, Reference, receiver
The read-only Presentation attribute receiver, which is only available in browser contexts which are receiving a presentation, returns the PresentationReceiver object which can be used to access and communicate with the browser context which controls the presentation. This property is always null when accessed from outside a browser context which is receiving a presentation.
3386PresentationAvailabilityAPI, Experimental, Interface, Presentation API, PresentationAvailability, Reference
A PresentationAvailability object is associated with available presentation displays and represents the presentation display availability for a presentation request. If the controlling user agent can monitor the list of available presentation displays in the background (without a pending request to start()), the PresentationAvailability object MUST be implemented in a controlling browsing context.
3387onchange
The onchange attribute is an event handler whose corresponding event handler event type is change.
3388value
The value attribute MUST return the last value from which it was set. The value is updated by the monitor the list of available presentation displays algorithm.
3389PresentationConnectionAPI, Experimental, Interface, Presentation API, PresentationConnection, Reference
The PresentationConnection interface of the Presentation API provides methods and properties for managing a single presentation. Each presentation connection is represented by a PresentationConnection object. Both the controlling user agent and receiving user agent MUST implement PresentationConnection.
3390PresentationConnection.binaryTypeAPI, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, binaryType
When a PresentationConnection object is created, its binaryType IDL attribute MUST be set to the string "arraybuffer". Upon getting, the attribute MUST return its most recent value (the value it was last set as). Upon setting, the user agent MUST set the IDL attribute to the new value.
3391PresentationConnection.close()API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, PresentationConnection, Reference
When the close() method is called on a PresentationConnection, the user agent begins the process of closing the connection by sending an empty closeMessage with the closeReason set to closed.
3392PresentationConnection.idAPI, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, Web, id
The id attribute specifies the presentation identifier of a presentation connection.
3393PresentationConnection.send()API, Experimental, Method, NeedsContent, NeedsExample, Presentation API, PresentationConnection, Reference, send
The send() method of the PresentationConnection interface tells a controlling browsing context to send binary or text data to a presenting browsing context.
3394PresentationConnection.stateAPI, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, state
The state attribute reflects the presentation connection's current state. Depending on the current PresentationConnectionState, the state attribute can hold one of the following values.
3395PresentationConnection.terminate()API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, terminate
When the terminate() method is called on a PresentationConnection, the user agent begins the process of terminating the presentation. The exact process differs depending on whether terminate() is called in the controlling or the presenting context.
3396PresentationConnection.urlAPI, Experimental, Presentation, Presentation API, PresentationConnection, Property, Reference, URL
The url readonly property of the PresentationConnection interface returns the URL used to create or reconnect to the presentation.
3397PresentationConnectionAvailableEventAPI, Experimental, Presentation API, PresentationConnectionAvailableEvent, PresentationRequest, Reference, events
Presentation API
3398connection
When an incoming connection is created, a receiving user agent fires a trusted event, named connectionavailable, on a PresentationReceiver. The trusted event is fired at the presentation controller's monitor, using the PresentationConnectionAvailableEvent interface, with the connection attribute set to the PresentationConnection object that was created.
3399PresentationConnectionAvailableEventAPI, Constructor, Experimental, Presentation API, PresentationConnectionAvailableEvent, Reference
The PresentationConnectionAvailableInit() constructor creates a new PresentationConnectionAvailableEvent.
3400PresentationConnectionCloseEventAPI, Experimental, Presentation API, PresentationConnectionCloseEvent, PresentationRequest, Reference, events
The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.
3401PresentationConnectionListAPI, Experimental, Interface, Presentation, Presentation API, PresentationConnectionList, Reference
PresentationConnectionList is the collection ofincoming presentation connections.
3402PresentationReceiverAPI, Experimental, Interface, Presentation, Presentation API, PresentationReceiver, Reference
The PresentationReceiver interface of the Presentation API provides a means for a receiving browsing context to access controlling browsing contexts and communicate with them.
3403PresentationRequestAPI, Experimental, Interface, Presentation API, PresentationRequest, Reference
Presentation API
3404getAvailability
When the getAvailability() method is called, the user agent MUST run the following steps:
3405onconnectionavailable
The following are event handlers (and their corresponding event handler event types) which must be supported, as event handler IDL attributes, by objects implementing the PresentationRequest interface:
3406PresentationRequest.PresentationRequest()API, Constructor, Experimental, Presentation API, PresentationRequest, Reference
The PresentationRequest constructor creates a new PresentationRequest object which creates a new PresentationRequest.
3407reconnectPromise, controlled presentations, presentation identifier
When the reconnect(presentationId) method is called on a PresentationRequest presentationRequest, the user agent MUST run the following steps to reconnect to a presentation:
3408PresentationRequest.start()Experimental, Method, Presentation API, PresentationRequest, Reference, start()
The start() property of the PresentationRequest interface returns a Promise that resolves with a PresentationConnection after the user agent prompts the user to select a display and grant permission to use that display.
3409ProcessingInstructionAPI, DOM
The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction.
3410ProgressEventAPI, Interface, Progress Events, ProgressEvent, Reference
The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an img, audio, video, style or link).
3411ProgressEvent.initProgressEvent()API, Deprecated, Method, Progress Events, ProgressEvent
The ProgressEvent.initProgressEvent() method Initializes an animation event created using the deprecated Document.createEvent() method.
3412ProgressEvent.lengthComputableAPI, Progress Events, ProgressEvent, Property
The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the ProgressEvent.total property has no significant value.
3413ProgressEvent.loadedAPI, Progress Event, ProgressEvent, Property
The ProgressEvent.loaded read-only property is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and ProgressEvent.total. When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead.
3414ProgressEvent()API, Constructor, DOM Events, ProgressEvent
The ProgressEvent() constructor returns a newly created ProgressEvent, representing the current completion of a long process.
3415ProgressEvent.totalAPI, Progress Event, ProgressEvent, Property, Reference
The ProgressEvent.total read-only property is an unsigned 64-bit integer value indicating the total size of the data being processed or transmitted. In the case of an HTTP transmission, this is the size of the body of the message (the Content-Length), and does not include headers and other overhead.
3416PromiseRejectionEventAPI, HTML DOM, Interface, JavaScript, PromiseRejectionEvent, Promises, Reference, events
The PromiseRejectionEvent interface represents events which are sent to the global script context when JavaScript Promises are rejected.
3417PromiseRejectionEvent.promiseAPI, HTML DOM, JavaScript, Promise, Promise Rejection Events, PromiseRejectionEvent, Promises, Property, Reference, events
The PromiseRejectionEvent interface's promise read-only property indicates the JavaScript Promise which was rejected. You can examine the event's PromiseRejectionEvent.reason property to learn why the promise was rejected.
3418PromiseRejectionEvent()API, Constructor, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Reference, events
The PromiseRejectionEvent() constructor returns a newly created PromiseRejectionEvent, which represents events fired when a JavaScript Promise is rejected.
3419PromiseRejectionEvent.reasonAPI, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Property, Reference, events, reason
The PromiseRejectionEvent reason read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject(). This in theory provides information about why the promise was rejected.
3420Proximity EventsAPI, Experimental, Proximity Events, Reference
The proximity events are a handy way to know when a user is close to a device. These events make it possible to react to such a change, for example by shutting down the screen of a smartphone when the user is having a phone call with the device close to their ear.
3421PublicKeyCredentialAPI, Authentication, Interface, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
The PublicKeyCredential interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password. It inherits from Credential, and was created by the Web Authentication API extension to the Credential Management API. Other interfaces that inherit from Credential are PasswordCredential and FederatedCredential.
3422PublicKeyCredential.getClientExtensionResults()API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
getClientExtensionResults() is a method of the PublicKeyCredential interface that returns an ArrayBuffer which contains a map between the extensions identifiers and their results after having being processed by the client.
3423PublicKeyCredential.idAPI, Credential Management API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
The id read-only property of the PublicKeyCredential interface is a DOMString, inherited from Credential, which represents the identifier of the current PublicKeyCredential instance.
3424PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
isUserVerifyingPlatformAuthenticatorAvailable() is a static method of the PublicKeyCredential interface that returns a Promise which resolves to true if a user-verifying platform authenticator is available.
3425PublicKeyCredential.rawIdAPI, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
The rawId read-only property of the PublicKeyCredential interface is an ArrayBuffer object containing the identifier of the credentials.
3426PublicKeyCredential.responseAPI, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
The response read-only property of the PublicKeyCredential interface is an AuthenticatorResponse object which is sent from the authenticator to the user agent for the creation/fetching of credentials. The information contained in this response will be used by the relying party's server to verify the demand is legitimate.
3427PublicKeyCredentialCreationOptionsAPI, Dictionary, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The PublicKeyCredentialCreationOptions dictionary of the Web Authentication API holds options passed to CredentialsContainer.create() in order to create a PublicKeyCredential.
3428PublicKeyCredentialCreationOptions.attestationAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary. This is a string whose value indicates the preference regarding the attestation transport, between the authenticator, the client and the relying party.
3429PublicKeyCredentialCreationOptions.authenticatorSelectionAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
authenticatorSelection, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object giving criteria to filter out the authenticators to be used for the creation operation.
3430PublicKeyCredentialCreationOptions.challengeAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge. This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator, using its private key, and must be sent back for verification to the server as part of AuthenticatorAttestationResponse.attestationObject.
3431PublicKeyCredentialCreationOptions.excludeCredentialsAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
excludeCredentials, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an Array whose elements are descriptors for the public keys already existing for a given user. This is provided by the relying party's server if it wants to prevent creation of new credentials for an existing user.
3432PublicKeyCredentialCreationOptions.extensionsAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
extensions, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
3433PublicKeyCredentialCreationOptions.pubKeyCredParamsAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The pubKeyCredParams property of the PublicKeyCredentialCreationOptions dictionary is an Array whose elements are objects describing the desired features of the credential to be created. These objects define the type of public-key and the algorithm used for cryptographic signature operations.
3434PublicKeyCredentialCreationOptions.rpAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The rp property of the PublicKeyCredentialCreationOptions dictionary is an object describing the relying party which requested the credential creation (via CredentialsContainer.create()).
3435PublicKeyCredentialCreationOptions.timeoutAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The timeout property, of the PublicKeyCredentialCreationOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the creation operation.
3436PublicKeyCredentialCreationOptions.userAPI, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
The user property of the PublicKeyCredentialCreationOptions dictionary is an object describing the user account for which the credentials are generated (via CredentialsContainer.create()).
3437PublicKeyCredentialRequestOptionsAPI, Dictionary, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
The PublicKeyCredentialRequestOptions dictionary of the Web Authentication API holds the options passed to CredentialsContainer.get() in order to fetch a given PublicKeyCredential.
3438PublicKeyCredentialRequestOptions.allowCredentialsAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval. This is an Array of credential descriptors.
3439PublicKeyCredentialRequestOptions.challengeAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge. This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator's private key and produce AuthenticatorAssertionResponse.signature which should be sent back to the server as part of the response.
3440PublicKeyCredentialRequestOptions.extensionsAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
extensions, an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
3441PublicKeyCredentialRequestOptions.rpIdAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
The rpId property, of the PublicKeyCredentialRequestOptions dictionary, is an optional property which indicates the relying party's identifier as a USVString. Its value can only be a suffix of the current origin's domain. For example, if you are browsing on foo.example.com, the rpId value may be "example.com" but not "bar.org" or "baz.example.com".
3442PublicKeyCredentialRequestOptions.timeoutAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
The timeout property, of the PublicKeyCredentialRequestOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the retrieval operation.
3443PublicKeyCredentialRequestOptions.userVerificationAPI, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
userVerification is an optional property of the PublicKeyCredentialRequestOptions. This is a string which indicates how the user verification should be part of the authentication process.
3444Push APIAPI, Experimental, Landing, Notifications, Push, Reference, Service Workers
The Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. This lets developers deliver asynchronous notifications and updates to users that opt in, resulting in better engagement with timely new content.
3445Web Push API Notifications best practicesApps, Beginner, Best practices, Guide, Notifications, Push, Push API, Usability
This article provides a useful summary of best practices to keep in mind when developing web sites and applications that use Push Notifications for user engagement.
3446PushEventAPI, ExtendableEvent, Interface, Offline, Push, Push API, Reference, Service Workers, Workers
The PushEvent interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.
3447PushEvent.dataAPI, Experimental, Property, Push, PushEvent, Reference, data
The data read-only property of the PushEvent interface returns a reference to a PushMessageData object containing data sent to the PushSubscription.
3448PushEvent.PushEvent()API, Constructor, Experimental, Push, Push API, PushEvent, Reference, Service Workers
The PushEvent() constructor creates a new PushEvent object. Note that the this constructor is exposed only to a service worker context.
3449PushManagerAPI, Experimental, Interface, Push, Push API, Reference, Service Workers
The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
3450PushManager.getSubscription()API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers
The PushManager.getSubscription() method of the PushManager interface retrieves an existing push subscription.
3451PushManager.hasPermission()API, Deprecated, Method, PushManager, Reference
The PushManager.hasPermission() method of the PushManager interface returns a Promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted, denied, or default.
3452PushManager.permissionState()API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers, permissionState
The permissionState() method of the PushManager interface returns a Promise that resolves to a DOMString indicating the permission state of the push manager. Possible values are  'prompt', 'denied', or 'granted'.
3453PushManager.register()API, Deprecated, Method, Reference, Simple Push API
The register method is used to ask the system to request a new endpoint for notifications. This method has been superseded by PushManager.subscribe().
3454PushManager.registrations()API, Deprecated, Method, Reference, Simple Push API
The registrations method is used to ask the system about existing push endpoint registrations.
3455PushManager.subscribe()API, Experimental, Method, PushManager, Reference, Référence(2), WebAPI, subscribe
The subscribe() method of the PushManager interface subscribes to a push service.
3456PushManager.supportedContentEncodingsAPI, Experimental, Property, PushManager, Reference, Service Workers, supportedContentEncodings
The supportedContentEncodings read-only property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.
3457PushManager.unregister()API, Deprecated, Method, Reference, Simple Push API
The unregister() method was used to ask the system to unregister and delete the specified endpoint. In the updated API, a subscription is can be unregistered via the PushSubscription.unsubscribe() method.
3458PushMessageDataAPI, Experimental, Interface, Push, Push API, PushMessageData, Reference, Service Workers
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
3459PushMessageData.arrayBuffer()API, ArrayBuffer, Experimental, Method, Push, PushMessageData, Reference, Service Workers
The arrayBuffer()method of the PushMessageData interface extracts push message data as an ArrayBuffer object.
3460PushMessageData.blob()API, Blob, Experimental, Method, Push, PushMessageData, Reference, Service Workers
The blob()method of the PushMessageData interface extracts push message data as a Blob object.
3461PushMessageData.json()API, Experimental, JSON, Method, Push, PushMessageData, Reference, Service Workers
The json()method of the PushMessageData interface extracts push message data by parsing it as a JSON string and returning the result.
3462PushMessageData.text()API, Experimental, Method, Plain text, Push, PushMessageData, Reference, Service Workers, Text
The text()method of the PushMessageData interface extracts push message data as a plain text string.
3463PushRegistrationManagerAPI, Deprecated, Interface, NeedsBrowserCompatibility, NeedsExample, PushRegistrationManager, Reference, Référence(2)
Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration. This interface has been superseded by PushManager.
3464PushSubscriptionAPI, Experimental, Interface, Push, Push API, PushSubscription, Reference, Service Workers
The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service.
3465PushSubscription.endpointAPI, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, endPoint
The endpoint read-only property of the PushSubscription interface returns a USVString containing the endpoint associated with the push subscription.
3466PushSubscription.expirationTimeAPI, Experimental, Property, Push API, PushManager, PushSubscription, Reference, Service Worker
The expirationTime read-only property of the PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.
3467PushSubscription.getKey()API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, getKey
The getKey() method of the PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.
3468PushSubscription.optionsAPI, Experimental, Property, Push API, PushManager, Reference, Service Worker
The options read-only property of the PushSubscription interface is an object containing the options used to create the subscription.
3469PushSubscription.subscriptionIdAPI, Deprecated, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, subscriptionId
The endpoint read-only property of the PushSubscription interface returns a DOMString containing the subscription ID associated with the push subscription.
3470PushSubscription.toJSON()API, Experimental, Method, Push, Push API, PushSubscription, Reference, Serializer, Service Workers, toJSON
The toJSON() method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.
3471PushSubscription.unsubscribe()API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, unsubscribe
The unsubscribe() method of the PushSubscription interface returns a Promise that resolves to a Boolean when the current subscription is successfully unsubscribed.
3472RadioNodeListAPI, HTML DOM, Interface, RadioNodeList
The RadioNodeList interface represents a collection of radio elements in a form or a fieldset element.
3473RadioNodeList.valueHTML DOM, Property, RadioNodeList, Reference
If the underlying element collection contains radio buttons, the RadioNodeList.value property represents the checked radio button. On retrieving the value property, the value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked.
3474RangeAPI, DOM
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes.
3475Range.cloneContents()API, DOM, Method, Range
The Range.cloneContents() returns a DocumentFragment copying the objects of type Node included in the Range.
3476Range.cloneRange()API, DOM, Method, Range
The Range.cloneRange() method returns a Range object with boundary points identical to the cloned Range.
3477Range.collapse()API, DOM, Method, Range
The Range.collapse() method collapses the Range to one of its boundary points.
3478Range.collapsedAPI, DOM, DOM Reference, Property, Range, Reference
The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not.
3479Range.commonAncestorContainerAPI, DOM, Property, Range
The Range.commonAncestorContainer read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container.
3480Range.compareBoundaryPoints()API, DOM, Method, Range
The Range.compareBoundaryPoints() method compares the boundary points of the Range with those of another range.
3481Range.compareNode()API, DOM, DOM Reference, Method, Non-standard, Obsolete, Range, Reference, compareNode
The Range.compareNode() returns a constant indicating the position of the Node.
3482Range.comparePoint()API, DOM, DOM Reference, Experimental, Method, Range, Reference
The Range.comparePoint() method returns -1, 0, or 1 depending on whether the referenceNode is before, the same as, or after the Range.
3483Range.createContextualFragment()API, DOM, DOM Reference, Method, Range, Reference
The Range.createContextualFragment() method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html, for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
3484Range.deleteContents()API, DOM, Method, Range
The Range.deleteContents() method removes the contents of the Range from the Document.
3485Range.detach()API, DOM, Method, Range
The Range.detach() method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
3486Range.endContainerAPI, DOM, Property, Range
The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one.
3487Range.endOffsetAPI, DOM, Property, Range
The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.
3488Range.extractContents()API, DOM, Method, Range
The Range.extractContents() method moves contents of the Range from the document tree into a DocumentFragment.
3489Range.getBoundingClientRect()API, CSSOM View, Experimental, Method, Range, Reference
The Range.getBoundingClientRect() method returns a DOMRect object that bounds the contents of the range; this is a rectangle enclosing the union of the bounding rectangles for all the elements in the range.
3490Range.getClientRects()API, CSSOM View, Experimental, Method, Range, Reference
The Range.getClientRects() method returns a list of DOMRect objects representing the area of the screen occupied by the range. This is created by aggregating the results of calls to Element.getClientRects() for all the elements in the range.
3491Range.insertNode()API, DOM, Method, Range
The Range.insertNode() method inserts a node at the start of the Range.
3492Range.intersectsNode()API, DOM, Experimental, Method, Range, Reference
The Range.intersectsNode() method returns a boolean indicating whether the given Node intersects the Range.
3493Range.isPointInRange()API, DOM, Experimental, Method, Range, Reference
The Range.isPointInRange() method returns a boolean indicating whether the given point is in the Range. It returns true if the point (cursor position) at offset within ReferenceNode is within this range.
3494Range()API, Constructor, DOM, DOM Reference, Experimental, Range, Reference
The Range() constructor returns a newly created Range object whose start and end is the global Document object.
3495Range.selectNode()API, DOM, Method, Range
The Range.selectNode() method sets the Range to contain the Node and its contents. The parent Node of the start and end of the Range will be the same as the parent of the referenceNode.
3496Range.selectNodeContents()API, DOM, Method, Range, Reference
The Range.selectNodeContents() method sets the Range to contain the contents of a Node.
3497Range.setEnd()API, DOM, DOM API, End, Method, Range, Reference, setEnd
The Range.setEnd() method sets the end position of a Range to be located at the given offset into the specified node x.Setting the end point above (higher in the document) than the start point will result in a collapsed range with the start and end points both set to the specified end position.
3498Range.setEndAfter()API, DOM, Method, Range
The Range.setEndAfter() method sets the end position of a Range relative to another Node. The parent Node of end of the Range will be the same as that for the referenceNode.
3499Range.setEndBefore()API, DOM, Method, Range
The Range.setEndBefore() method sets the end position of a Range relative to another Node. The parent Node of end of the Range will be the same as that for the referenceNode.
3500Range.setStart()API, DOM, Method, Range
The Range.setStart() method sets the start position of a Range.
3501Range.setStartAfter()API, DOM, Method, Range
The Range.setStartAfter() method sets the start position of a Range relative to a Node. The parent Node of the start of the Range will be the same as that for the referenceNode.
3502Range.setStartBefore()API, DOM, Method, Range
The Range.setStartBefore() method sets the start position of a Range relative to another Node. The parent Node of the start of the Range will be the same as that for the referenceNode.
3503Range.startContainerAPI, DOM, Property, Range
The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods.
3504Range.startOffsetAPI, DOM, Property, Range
The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.
3505Range.surroundContents()API, DOM, Method, Range
The Range.surroundContents() method moves content of the Range into a new node, placing the new node at the start of the specified range.
3506Range.toString()API, DOM, Method, Range, Stringifier
The Range.toString() method is a stringifier returning the text of the Range.
3507ReadableByteStreamControllerAPI, Experimental, Fetch, Interface, ReadableByteStreamController, Reference, Streams
The ReadableByteStreamController interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue. Byte stream controllers are for byte streams.
3508ReadableByteStreamController.byobRequestAPI, Experimental, Property, ReadableByteStreamController, Reference, Streams, byobRequest
The byobRequest read-only property of the ReadableByteStreamController interface returns the current BYOB pull request, or undefined if there are no pending requests.
3509ReadableByteStreamController.close()API, Experimental, Method, ReadableByteStreamController, Reference, Streams, close
The close() method of the ReadableByteStreamController interface closes the associated stream.
3510ReadableByteStreamController.desiredSizeAPI, Experimental, Property, ReadableByteStreamController, Reference, Streams, desiredSize
The desiredSize read-only property of the ReadableByteStreamController interface returns the desired size required to fill the stream's internal queue.
3511ReadableByteStreamController.enqueue()API, Experimental, Method, ReadableByteStreamController, Reference, Streams, enqueue
The enqueue() method of the ReadableByteStreamController interface enqueues a given chunk in the associated stream.
3512ReadableByteStreamController.error()API, Error, Experimental, Method, ReadableByteStreamController, Reference, Streams
The error() method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error.
3513ReadableStreamAPI, Fetch, Fetch API, Files, HTTP, Interface, Networking, ReadableStream, Reference, Streams, data
The ReadableStream interface of the Streams API represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the Body.body property of a Response object.
3514ReadableStream.cancel()API, Method, ReadableStream, Reference, Streams, cancel
The cancel() method of the ReadableStream interface cancels the associated stream. The supplied reason parameter will be given to the underlying source, which may or may not use it.
3515ReadableStream.getReader()API, Method, ReadableStream, Reference, Streams, getReader
The getReader() method of the ReadableStream interface creates a reader and locks the stream to it. While the stream is locked, no other reader can be acquired until this one is released.
3516ReadableStream.lockedAPI, Property, ReadableStream, Reference, Streams, locked
The locked read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.
3517ReadableStream.pipeThrough()API, Experimental, Method, ReadableStream, Reference, Streams, pipeThrough
The pipeThrough() method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
3518ReadableStream.pipeTo()API, Experimental, Method, ReadableStream, Reference, Streams, pipeTo
The pipeTo() method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
3519ReadableStream.ReadableStream()API, Constructor, ReadableStream, Reference
The ReadableStream() constructor creates and returns a readable stream object from the given handlers.
3520ReadableStream.tee()API, Method, ReadableStream, Reference, Streams, tee
The tee() method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
3521ReadableStreamBYOBReaderAPI, Experimental, Fetch, Interface, ReadableStreamBYOBReader, Reference, Streams
The ReadableStreamBYOBReader interface of the Streams API represents a BYOB ("bring your own buffer") reader that can be used to read stream data supplied by the developer (e.g. a custom ReadableStream.ReadableStream constructor).
3522ReadableStreamBYOBReader.cancel()API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, cancel
The cancel() method of the ReadableStreamBYOBReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason parameter will be given to the underlying source, which may or may not use it.
3523ReadableStreamBYOBReader.closedAPI, Experimental, Property, ReadableStreamBYOBReader, Reference, Streams, closed
The closed read-only property of the ReadableStreamBYOBReader interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors.
3524ReadableStreamBYOBReader.read()API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, read
The read() method of the ReadableStreamBYOBReader interface returns a promise providing access to the next chunk in the byte stream's internal queue.
3525ReadableStreamBYOBReader.ReadableStreamBYOBReader()API, Constructor, Experimental, ReadableStreamBYOBReader, Reference, Streams
The ReadableStreamBYOBReader() constructor creates and returns a ReadableStreamBYOBReader object instance.
3526ReadableStreamBYOBReader.releaseLock()API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, releaseLock
The releaseLock() method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream. After the lock is released, the reader is no longer active.
3527ReadableStreamBYOBRequestAPI, Experimental, Fetch, Interface, ReadableStreamBYOBRequest, Reference, Steams
The ReadableStreamBYOBRequest interface of the Streams API represents a pull request into a ReadableByteStreamController view.
3528ReadableStreamBYOBRequest.respond()API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respond
The error() method of the ReadableStreamBYOBRequest interface xxx
3529ReadableStreamBYOBRequest.respondWithNewView()API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respondWithNewView
The respondWithNewView() method of the ReadableStreamBYOBRequest interface xxx
3530ReadableStreamBYOBRequest.viewAPI, Experimental, Property, ReadableStreamBYOBRequest, Reference, Streams, View
The view getter property of the ReadableStreamBYOBRequest interface returns the current view.
3531ReadableStreamDefaultControllerAPI, Fetch, Interface, ReadableStreamDefaultController, Reference, Streams
The ReadableStreamDefaultController interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue. Default controllers are for streams that are not byte streams.
3532ReadableStreamDefaultController.close()API, Method, ReadableStreamDefaultController, Reference, Streams, close
The close() method of the ReadableStreamDefaultController interface closes the associated stream.
3533ReadableStreamDefaultController.desiredSizeAPI, Property, ReadableStreamDefaultController, Reference, Streams, desiredSize
The desiredSize read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
3534ReadableStreamDefaultController.enqueue()API, Method, ReadableStreamDefaultController, Reference, Streams, enqueue
The enqueue() method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
3535ReadableStreamDefaultController.error()API, Error, Method, ReadableStreamDefaultController, Reference, Streams
The error() method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
3536ReadableStreamDefaultReaderAPI, Fetch, Interface, ReadableStreamDefaultReader, Reference, Streams
The ReadableStreamDefaultReader interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (e.g. a fetch request).
3537ReadableStreamDefaultReader.cancel()API, Method, ReadableStreamDefaultReader, Reference, Streams, cancel
The cancel() method of the ReadableStreamDefaultReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
3538ReadableStreamDefaultReader.closedAPI, Property, ReadableStreamDefaultReader, Reference, Streams, closed
The closed read-only property of the ReadableStreamDefaultReader interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors.
3539ReadableStreamDefaultReader.read()API, Method, ReadableStreamDefaultReader, Reference, Streams, read
The read() method of the ReadableStreamDefaultReader interface returns a promise providing access to the next chunk in the stream's internal queue.
3540ReadableStreamDefaultReader.ReadableStreamDefaultReader()API, Constructor, ReadableStreamDefaultReader, Reference, Streams
The ReadableStreamDefaultReader() constructor creates and returns a ReadableStreamDefaultReader object instance.
3541ReadableStreamDefaultReader.releaseLock()API, Method, ReadableStreamDefaultReader, Reference, Streams, releaseLock
The releaseLock() method of the ReadableStreamDefaultReader interface releases the reader's lock on the stream.
3542RelativeOrientationSensorAPI, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors
The RelativeOrientationSensor interface of the Sensor APIs describes the device's physical orientation without regard to the Earth's reference coordinate system.
3543RelativeOrientationSensor.RelativeOrientationSensor()API, Constructor, Generic Sensor API, Orientation Sensor API, OrientationSensor, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors
The RelativeOrientationSensor constructor creates a new RelativeOrientationSensor object which describes the device's physical orientation.
3544RenderingContextAPI, Canvas, Context, Graphics, Graphics Context, Helper, Reference, Rendering Context, Type, WebGL, WebGL2, rendering
RenderingContext is a WebIDL typedef which can refer to any one of the interfaces that represent a graphics rendering context within a canvas element: CanvasRenderingContext2D, WebGLRenderingContext, or WebGL2RenderingContext.
3545ReportAPI, Experimental, Interface, Reference, Report, Reporting API
The Report interface of the Reporting API represents a single report.
3546Report.bodyAPI, BODY, Experimental, Property, Reference, Report, Reporting API
The body read-only property of the Report interface returns the body of the report, which is a ReportBody object containing the detailed report information.
3547Report.typeAPI, Experimental, Property, Reference, Report, Reporting API, Type
The type read-only property of the Report interface returns the type of report generated, e.g. deprecation or intervention.
3548Report.urlAPI, Experimental, Property, Reference, Report, Reporting API, URL
The url read-only property of the Report interface returns the URL of the document that generated the report.
3549Reporting APIAPI, Experimental, Landing, Reference, Reporting, Secure context
The Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy, Feature-Policy, or feature deprecation reports) in a consistent manner.
3550ReportingObserverAPI, Experimental, Interface, Reference, Reporting API, ReportingObserver
The ReportingObserver interface of the Reporting API allows you to collect and access reports.
3551ReportingObserver.disconnect()API, Experimental, Method, Reference, Reporting API, ReportingObserver
The disconnect() method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
3552ReportingObserver.observe()API, Experimental, Method, Reference, Reporting API, ReportingObserver, observe
The observe() method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
3553ReportingObserver()API, Constructor, Experimental, Reference, Reporting API, ReportingObserver
The ReportingObserver() constructor of the Reporting API creates a new ReportingObserver object instance, which can be used to collect and access reports.
3554ReportingObserver.takeRecords()API, Experimental, Method, Reference, Reporting API, ReportingObserver
The takeRecords() method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
3555ReportingObserverOptionsAPI, Dictionary, Experimental, Reference, Reporting API, ReportingObserverOptions
The ReportingObserverOptions dictionary of the Reporting API allows options to be set in the constructor when creating a ReportingObserver.
3556RequestAPI, Fetch, Fetch API, Interface, Networking, Reference, request
The Request interface of the Fetch API represents a resource request.
3557Request.cacheAPI, Cache, Experimental, Fetch, Property, Reference, request
The cache read-only property of the Request interface contains the cache mode of the request. It controls how the request will interact with the browser's HTTP cache.
3558Request.clone()API, Experimental, Fetch, Method, Reference, clone, request
The clone() method of the Request interface creates a copy of the current Request object.
3559Request.contextAPI, Context, Experimental, Fetch, Property, Reference, request
The deprecated context read-only property of the Request interface contains the context of the Request (e.g., audio, image, iframe).
3560Request.credentialsAPI, Cookies, Fetch, Networking, Property, Reference, Security, credentials, request
The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests.
3561Request.destinationAPI, Experimental, Fetch, Fetch API, Files, Loading, Networking, Property, Read-only, Reference, data, destination, request
The destination read-only property of the Request interface returns a string describing the type of content being requested.
3562Request.headersAPI, Experimental, Fetch, Headers, Property, Reference, request
The headers read-only property of the Request interface contains the Headers object associated with the request.
3563Request.integrityAPI, Experimental, Fetch, Property, Reference, integrity, request
The integrity read-only property of the Request interface contains the subresource integrity value of the request.
3564Request.methodAPI, Experimental, Fetch, Property, Reference, request
The method read-only property of the Request interface contains the request's method (GET, POST, etc.)
3565Request.modeAPI, Experimental, Fetch, Property, Reference, mode, request
The mode read-only property of the Request interface contains the mode of the request (e.g., cors, no-cors, same-origin, or navigate.) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable.
3566Request.redirectAPI, Experimental, Fetch, Property, Redirect, Reference, request
The redirect read-only property of the Request interface contains the mode for how redirects are handled.
3567Request.referrerAPI, Experimental, Fetch, Property, Reference, referrer, request
The referrer read-only property of the Request interface is set by the user agent to be the referrer of the Request. (e.g., client, no-referrer, or a URL.)
3568Request.referrerPolicyAPI, Experimental, Fetch, Property, Reference, referrerPolicy, request
The referrerPolicy read-only property of the Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request.
3569Request()API, Constructor, Experimental, Fetch, Reference, request
The Request() constructor creates a new Request object.
3570Request.urlAPI, Experimental, Fetch, Property, Reference, URL, request
The url read-only property of the Request interface contains the URL of the request.
3571RequestDestinationAPI, Enum, Fetch, Fetch API, Interface, NeedsContent, RequestDestination, Type, destination
The RequestDestination enumerated type contains the permitted values for a request's Request.destination. These string values indicate potential types of content that a request may try to retrieve.
3572Resize Observer APIAPI, Draft, Element, Monitor, Overview, Reference, Resize Observer, Resize Observer API, observe, size
Resize Observer API
3573ResizeObserverAPI, Bounding Box, Experimental, Interface, Reference, Resize Observer API, ResizeObserver, content box, observers
The ResizeObserver interface reports changes to the dimensions of an Element's content or border box, or the bounding box of an SVGElement.
3574ResizeObserver.disconnect()API, Method, Reference, Resize Observer API, ResizeObserver, disconnect(), observers
The disconnect() method of the ResizeObserver interface unobserves all observed Element or SVGElement targets.
3575ResizeObserver.observe()API, Method, Reference, Resize Observer API, ResizeObserver, observe(), observers
The observe() method of the ResizeObserver interface starts observing the specified Element or SVGElement.
3576ResizeObserver()API, Constructor, Reference, Resize Observer API, ResizeObserver, observers
The ResizeObserver constructor creates a new ResizeObserver object, which can be used to report changes to the content or border box of an Element or the bounding box of an SVGElement.
3577ResizeObserver.unobserve()API, Method, Reference, Resize Observer API, ResizeObserver, observers, unobserve()
The unobserve() method of the ResizeObserver interface ends the observing of a specified Element or SVGElement.
3578ResizeObserverEntryAPI, Bounding Box, Interface, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers
The ResizeObserverEntry interface represents the object passed to the ResizeObserver.ResizeObserver constructor's callback function, which allows you to access the new dimensions of the Element or SVGElement being observed.
3579ResizeObserverEntry.borderBoxSizeAPI, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, borderBoxSize
The borderBoxSize read-only property of the ResizeObserverEntry interface returns an array containing the new border box size of the observed element when the callback is run.
3580ResizeObserverEntry.contentBoxSizeAPI, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, contentBoxSize
The contentBoxSize read-only property of the ResizeObserverEntry interface returns an array containing the new content box size of the observed element when the callback is run.
3581ResizeObserverEntry.contentRectAPI, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers
The contentRect read-only property of the ResizeObserverEntry interface returns a DOMRectReadOnly object containing the new size of the observed element when the callback is run. Note that this is better supported than ResizeObserverEntry.borderBoxSize or ResizeObserverEntry.contentBoxSize, but it is left over from an earlier implementation of the Resize Observer API, is still included in the spec for web compat reasons, and may be deprecated in future versions.
3582ResizeObserverEntry.targetAPI, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers, target
The target read-only property of the ResizeObserverEntry interface returns a reference to the Element or SVGElement that is being observed.
3583Resource Timing APIAPI, Guide, HTTP, Overview, Performance, Resource Timing API, Timing, Web Performance
The Resource Timing interfaces enable retrieving and analyzing detailed network timing data regarding the loading of an application's resource(s). An application can use the timing metrics to determine, for example, the length of time it takes to load a specific resource, such as an XMLHttpRequest, SVG, image, or script.
3584Using the Resource Timing APIAPI, Guide, NeedsExample, Performance, Resource Timing, Resource Timing API, Timing, Web, Web Development, Web Performance
The Resource Timing API provides a way to retrieve and analyze detailed network timing data regarding the loading of an application's resource(s). An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource such as an XMLHttpRequest, SVG, image, script, etc.).
3585ResponseAPI, Experimental, Fetch, Fetch API, Interface, Reference, Response
The Response interface of the Fetch API represents the response to a request.
3586Response.clone()API, Experimental, Fetch, Method, Reference, Response, clone
The clone() method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
3587Response.error()API, Error, Experimental, Fetch, Method, Reference, Response
The error() method of the Response interface returns a new Response object associated with a network error.
3588Response.headersAPI, Experimental, Fetch, Headers, Property, Reference, Response
The headers read-only property of the Response interface contains the Headers object associated with the response.
3589Response.okAPI, Experimental, Fetch, Property, Reference, Response, ok
The ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
3590Response.redirect()API, Experimental, Fetch, Method, Redirect, Reference, Response
The redirect() method of the Response interface returns a Response resulting in a redirect to the specified URL.
3591Response.redirectedAPI, Experimental, Fetch, Property, Read-only, Reference, Response, redirected
The read-only redirected property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.
3592Response()API, Constructor, Experimental, Fetch, Reference, Response
The Response() constructor creates a new Response object.
3593Response.statusAPI, Experimental, Fetch, Property, Reference, Response, status
The status read-only property of the Response interface contains the status code of the response (e.g., 200 for a success).
3594Response.statusTextAPI, Experimental, Fetch, Property, Reference, Response, statusText
The statusText read-only property of the Response interface contains the status message corresponding to the status code (e.g., OK for 200).
3595Response.typeAPI, Experimental, Fetch, Property, Reference, Response, Type
The type read-only property of the Response interface contains the type of the response. It can be one of the following:
3596Response.urlAPI, Experimental, Fetch, Property, Reference, Response, URL
The url read-only property of the Response interface contains the URL of the response. The value of the url property will be the final URL obtained after any redirects.
3597Response.useFinalURLAPI, Experimental, Fetch, Obsolete, Property, Reference, Response, useFinalURL
The useFinalURL property of the Response interface contains a boolean stating whether this is the final URL of the response.
3598RsaHashedImportParamsAPI, Dictionary, Reference, RsaHashedImportParams, Web Crypto API
The RsaHashedImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey(), when importing any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP.
3599RsaHashedKeyGenParamsAPI, Dictionary, Reference, RsaHashedKeyGenParams, Web Crypto API
The RsaHashedKeyGenParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey(), when generating any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP.
3600RsaOaepParamsAPI, Dictionary, Reference, RsaOaepParams, Web Crypto API
The RsaOaepParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt()SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(), when using the RSA_OAEP algorithm.
3601RsaPssParamsAPI, Dictionary, Reference, RsaPssParams, Web Crypto API
The RsaPssParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify(), when using the RSA-PSS algorithm.
3602RTCAnswerOptionsAPI, Dictionary, RTCAnswerOptions, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, answer, createAnswer, rtc
The RTCAnswerOptions dictionary is used to provide optional settings when creating an SDP answer using RTCPeerConnection.createOffer() after receiving an offer from a remote peer.
3603RTCCertificateAPI, Interface, RTCCertificate, Reference, WebRTC, real-time communications
The interface of the WebRTC API provides an object represents a certificate that an RTCPeerConnection uses to authenticate.
3604RTCConfigurationAPI, Configuration, Dictionary, RTCConfiguration, Reference, WebRTC, WebRTC API, WebRTC Device API, rtc
WebRTC
3605RTCConfiguration.bundlePolicyAPI, BUNDLE, Configuration, DTLS, Negotiation, Property, RTCConfiguration, RTCPeerConnection, RTP, Reference, SDP, WebRTC, WebRTC API, WebRTC Device API, bundlePolicy
WebRTC
3606RTCConfiguration.certificatesAPI, Configuration, DLTS, Property, RTCConfiguration, RTCPeerConnection, Reference, Security, Settings, WebRTC, WebRTC API, WebRTC Device API, certificates, parameters
The RTCConfiguration dictionary's optional certificates property is an array of RTCCertificate objects providing the security certificates available for use when authenticating duing the connection process.
3607RTCConfiguration.iceServersAPI, Configuration, ICE, JSEP, Negotiation, Property, RTCConfiguration, Reference, SDP, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, iceServers
WebRTC API
3608RTCConfiguration.iceTransportPolicyAPI, ICE, Policy, Property, RTCConfiguration, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API\, iceTransportPolicy
WebRTC API
3609RTCDataChannelAPI, Communication, Data Transfer, Experimental, Interface, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API
The RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data. Every data channel is associated with an RTCPeerConnection, and each peer connection can have up to a theoretical maximum of 65,534 data channels (the actual limit may vary from browser to browser).
3610RTCDataChannel.binaryTypeExperimental, Property, RTCDataChannel, Reference, WebRTC, binaryType
The property binaryType on the RTCDataChannel interface is a DOMString which specifies the type of JavaScript object which should be used to represent binary data received on the RTCDataChannel. Values allowed by the WebSocket.binaryType property are also permitted here: "blob" if Blob objects are being used or "arraybuffer" if ArrayBuffer objects are being used. The default is "blob".
3611RTCDataChannel.bufferedAmountExperimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, bufferedAmount
The read-only RTCDataChannel property bufferedAmount returns the number of bytes of data currently queued to be sent over the data channel.
3612RTCDataChannel: bufferedamountlow eventAPI, Buffer, Communication, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, bufferedamountlow, data, events, rtc
A bufferedamountlow event is sent to an RTCDataChannel when the number of bytes currently in the outbound data transfer buffer falls below the threshold specified in RTCDataChannel.bufferedAmountLowThreshold.
3613RTCDataChannel.bufferedAmountLowThresholdExperimental, Property, RTCDataChannel, Reference, WebRTC, bufferedAmountLowThreshold
The RTCDataChannel property bufferedAmountLowThreshold is used to specify the number of bytes of buffered outgoing data that is considered "low." The default value is 0.
3614RTCDataChannel: close eventAPI, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events
The close event is sent to the RTCDataChannel.onclose event handler on an RTCDataChannel instance when the data transport being used for the data channel has closed.
3615RTCDataChannel.close()API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, close
The RTCDataChannel.close() method closes the RTCDataChannel. Either peer is permitted to call this method to initiate closure of the channel.
3616RTCDataChannel: closing eventAPI, Communications, Connection, Disconnecting, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, WebRTC Device API, closing, events
The closing event is sent to an RTCDataChannel just before the channel begins the process of shutting down its underlying data transport.
3617RTCDataChannel: error eventAPI, Connectivity, Data Channel, Error, Error Handling, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, rtc
A WebRTC RTCDataChannel.error_event event is sent to an RTCDataChannel object's RTCDataChannel.onerror error handler when an error occurs on the data channel.
3618RTCDataChannel.idExperimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, id
The read-only RTCDataChannel property id returns an ID number (between 0 and 65,534) which uniquely identifies the RTCDataChannel.
3619RTCDataChannel.labelExperimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, label
The read-only RTCDataChannel property label returns a DOMString containing a name describing the data channel. These labels are not required to be unique.
3620RTCDataChannel.maxPacketLifeTimeExperimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxPacketLifeTime
The read-only RTCDataChannel property maxPacketLifeTime returns the amount of time, in milliseconds, the browser is allowed to take to attempt to transmit a message, as set when the data channel was created, or null.
3621RTCDataChannel.maxRetransmitsExperimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxRetransmits
The read-only RTCDataChannel property maxRetransmits returns the maximum number of times the browser should try to retransmit a message before giving up, as set when the data channel was created, or null, which indicates that there is no maximum.
3622RTCDataChannel: message eventAPI, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, message, messaging, rtc
The WebRTC message event is sent to the RTCDataChannel.onmessage event handler on an RTCDataChannel object when a message has been received from the remote peer.
3623RTCDataChannel.negotiatedNetworking, Property, RTCDataChannel, Read-only, Reference, WebRTC, WebRTC API, data, datachannel, negotiated
The read-only RTCDataChannel property negotiated indicates whether the RTCDataChannel's connection was negotiated by the Web app (true) or by the WebRTC layer (false).
3624RTCDataChannel.onbufferedamountlowEvent Handler, Experimental, Networking, Property, RTCDataChannel, Reference, WebRTC, buffering, onbufferedamountlow
The RTCDataChannel.onbufferedamountlow property is an EventHandler which specifies a function the browser calls when the bufferedamountlow event is sent to the RTCDataChannel. This event, which is represented by a simple Event object, is sent when the amount of data buffered to be sent falls to or below the threshold specified by the channel's RTCDataChannel.bufferedAmountLowThreshold.
3625RTCDataChannel.oncloseEvent Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onclose
The RTCDataChannel.onclose property is an EventHandler which specifies a function to be called by the browser when the close event is received by the RTCDataChannel. This is a simple Event which indicates that the data channel has closed down.
3626RTCDataChannel.onclosingEvent Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onclosing
The RTCDataChannel.onclosing property is an EventHandler which specifies a function to be called by the browser when the closing event is received by the RTCDataChannel. This is a simple Event which indicates that the data channel is being closed, that is, RTCDataChannel transitions to "closing" state. For example, after RTCDataChannel.close was called but the underlying data transport might not have been closed yet.
3627RTCDataChannel.onerrorEvent Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onerror
The RTCDataChannel.onerror property is an EventHandler which specifies a function to be called when the error event is received. When an error occurs on the data channel, the function receives as input an ErrorEvent object describing the error which occurred.
3628RTCDataChannel.onmessageEvent Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onmessage
The RTCDataChannel.onmessage property stores an EventHandler which specifies a function to be called when the message event is fired on the channel. This event is represented by the MessageEvent interface. This event is sent to the channel when a message is received from the other peer.
3629RTCDataChannel.onopenEvent Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onopen
The RTCDataChannel.onopen property is an EventHandler which specifies a function to be called when the open event is fired; this is a simple Event which is sent when the data channel's underlying data transport—the link over which the RTCDataChannel's messages flow—is established or re-established.
3630RTCDataChannel: open eventAPI, Connectivity, Connetion, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events, rtc
The WebRTC open event is sent to an RTCDataChannel object's RTCDataChannel.onopen event handler when the underlying transport used to send and receive the data channel's messages is opened or re-opened.
3631RTCDataChannel.orderedExperimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, ordered
The read-only RTCDataChannel property ordered indicates whether or not the data channel guarantees in-order delivery of messages; the default is true, which indicates that the data channel is indeed ordered.
3632RTCDataChannel.protocolExperimental, NeedsExample, Property, Protocol, RTCDataChannel, Read-only, Reference, WebRTC
The read-only RTCDataChannel property protocol returns a DOMString containing the name of the subprotocol in use. If no protocol was specified when the data channel was created, then this property's value is "" (the empty string).
3633RTCDataChannel.readyStateExperimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, readyState
The read-only RTCDataChannel property readyState returns an enum of type RTCDataChannelState which indicates the state of the data channel's underlying data connection.
3634RTCDataChannel.reliableExperimental, Obsolete, Property, RTCDataChannel, Read-only, WebRTC, reliable
The read-only RTCDataChannel property reliable indicates whether or not the data channel is reliable.
3635RTCDataChannel.send()API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, datachannel, send
The send() method of the RTCDataChannel interface sends data across the data channel to the remote peer.
3636RTCDataChannel.streamNon-standard, Obsolete, Property, RTCDataChannel, Read-only, Reference, WebRTC, stream
The deprecated (and never part of the official specification) read-only RTCDataChannel property stream returns an ID number (between 0 and 65,535) which uniquely identifies the RTCDataChannel.
3637RTCDataChannelEventAPI, Experimental, Interface, RTCDataChannelEvent, Reference, WebRTC, datachannel
The RTCDataChannelEvent() constructor returns a new RTCDataChannelEvent object, which represents a datachannel event. These events sent to an RTCPeerConnection when its remote peer is asking to open an RTCDataChannel between the two peers.
3638RTCDataChannelEvent.channelExperimental, Property, RTCDataChannelEvent, Read-only, Reference, WebRTC, channel
The read-only property RTCDataChannelEvent.channel returns the RTCDataChannel associated with the event.
3639RTCDataChannelEvent()Constructor, Experimental, RTCDataChannelEvent, Reference, WebRTC
The RTCDataChannelEvent() constructor creates a new RTCDataChannelEvent.
3640RTCDtlsTransportAPI, Draft, Experimental, Interface, NeedsContent, NeedsExample, RTCDtlsTransport, Reference
WebRTC
3641RTCDtlsTransport: error eventAPI, Connection, DTLS, Error, Networking, RTCDtlsTransport, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, events
An RTCDtlsTransport receives an error event when a transport-level error occurs on the RTCPeerConnection.
3642RTCDtlsTransport.iceTransportAPI, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCDtlsTransport, Read-only, Reference, iceTransport
The read-only RTCDtlsTransport property iceTransport contains a reference to the underlying RTCIceTransport.
3643RTCDtlsTransport.stateAPI, Property, RTCDtlsTransport, RTCDtlsTransportState, Read-only, Reference, WebRTC, state
WebRTC
3644RTCDTMFSenderAudio, DTMF, Interface, Media, PSTN, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API
The RTCDTMFSender interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection. You gain access to the connection's RTCDTMFSender through the RTCRtpSender.dtmf property on the audio track you wish to send DTMF with.
3645RTCDTMFSender.insertDTMF()API, DTMF, Media, Method, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, insertDTMF
The insertDTMF() method on the RTCDTMFSender interface starts sending
3646RTCDTMFSender.ontonechangeDTMF, Event Handler, Property, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, ontonechange
The ontonechange property of the RTCDTMFSender interface is used to set the event handler for the tonechange event, which is sent to the RTCDTMFSender each time a tone begins or ends. The event handler receives as input a single parameter of type RTCDTMFToneChangeEvent, which describes the change.
3647RTCDTMFSender.toneBufferAudio, DTMF, Media, Property, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, toneBuffer
The RTCDTMFSender interface's toneBuffer property returns a string containing a list of the DTMF tones currently queued for sending to the remote peer over the RTCPeerConnection. To place tones into the buffer, call RTCDTMFSender.insertDTMF.
3648RTCDTMFSender: tonechange eventDTMF, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, events, tonechange
The tonechange event is sent to an RTCDTMFSender by the WebRTC API to indicate when DTMF tones previously queued for sending (by calling RTCDTMFSender.insertDTMF()) begin and end.
3649RTCDTMFToneChangeEventDTMF, Reference, Touch-tone, WebRTC, WebRTC API, events
The RTCDTMFToneChangeEvent interface represents events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event.
3650RTCDTMFToneChangeEvent.RTCDTMFToneChangeEvent()Constructor, DTMF, Media, RTCDTMFToneChangeEvent, Reference, WebRTC, WebRTC API
The RTCDTMFToneChangeEvent() constructor creates a new RTCDTMFToneChangeEvent.
3651RTCDTMFToneChangeEvent.toneMedia, Property, RTCDTMFToneChangeEvent, Reference, Touch-, WebRTC, WebRTC API, tone
The read-only property RTCDTMFToneChangeEvent.tone returns the DTMF character which has just begun to play, or an empty string (""). if all queued tones have finished playing (that is, RTCDTMFSender.toneBuffer is empty).
3652RTCErrorAPI, Audio, Error, Error Handling, Interface, Media, RTCError, Reference, Video, WebRTC, WebRTC API, WebRTC Device API
WebRTC
3653RTCError.errorDetailAPI, Audio, Error, Error code, Media, Property, RTCError, Read-only, Reference, Type, Video, WebRTC, WebRTC API, WebRTC Device API, details, errorDetail, rtc
The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.
3654RTCError.receivedAlertAPI, DTLS, Error, Networking, Property, RTCError, Read-only, Reference, WebRTC, WebRTC API, WebRTC Device API, receivedAlert
The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer.
3655RTCError.sctpCauseCodeAPI, Error, Networking, Property, RTCError, Read-only, Reference, SCTP, WebRTC, WebRTC API, WebRTC Device API, sctpCauseCode
The read-only sctpCauseCode property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.
3656RTCError.sdpLineNumberAPI, Error, Networking, Property, RTCError, Read-only, Reference, SDP, WebRTC, WebRTC API, WebRTC Device API, sdpLineNumber
The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it.
3657RTCError.sentAlertAPI, DTLS, Error, Networking, Property, RTCError, Read-only, Reference, WebRTC, WebRTC API, WebRTC Device API, sentAlert
The read-only sentAlert property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error.
3658RTCErrorEventAPI, Error, Error Handling, ICE, Interface, RTCErrorEvent, WebRTC, WebRTC API, WebRTC Device API, rtc
WebRTC
3659RTCErrorEvent.errorAPI, Audio, Error, Error Handling, Media, Property, RTCError, RTCErrorEvent, Reference, Video, WebRTC, WebRTC API, WebRTC Device API
WebRTC
3660RTCIceCandidateAPI, Candidate, Connection, Connectivity, ICE, Interface, Media, RTCIceCandidate, Reference, SDP, Web RTC, WebRTC, WebRTC API
The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.
3661RTCIceCandidate.addressAPI, Address, Candidate, ICE, IP, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API
The RTCIceCandidate interface's read-only address property is a string providing the address of the device which is the source of the candidate.
3662RTCIceCandidate.candidateAPI, Candidate, Candidates, ICE, Media, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, a-line
The read-only property candidate on the RTCIceCandidate interface returns a DOMString describing the candidate in detail.
3663RTCIceCandidate.componentAPI, ICE, Property, RTCIceCandidate, RTCP, RTP, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, component
The read-only component property on the RTCIceCandidate interface is a string which indicates whether the candidate is an RTP or an RTCP candidate.
3664RTCIceCandidate.foundationAPI, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, foundation
The RTCIceCandidate interface's read-only foundation property is a string which uniquely identifies the candidate across multiple transports.
3665RTCIceCandidate.portAPI, Candidate, ICE, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, port
The RTCIceCandidate interface's read-only port property contains the port number on the device at the address given by RTCIceCandidate.ip at which the candidate's peer can be reached.
3666RTCIceCandidate.priorityAPI, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, priority
The RTCIceCandidate interface's read-only priority property specifies the candidate's priority according to the remote peer; the higher this value is, the better the remote peer considers the candidate to be.
3667RTCIceCandidate.protocolAPI, ICE, Property, Protocol, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API
The RTCIceCandidate interface's read-only protocol property is a string which indicates whether the candidate uses UDP or TCP as its transport protocol.
3668RTCIceCandidate.relatedAddressAPI, Address, IP, Property, RTCIceCandidate, Read-only, Reference, SDP, STUN, TURN, WebRTC, WebRTC API, relatedAddress
The RTCIceCandidate interface's read-only relatedAddress property is a string indicating the related address of a relay or reflexive candidate.
3669RTCIceCandidate.relatedPortAPI, Address, Candidate, ICE, IP, Media, Property, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, relatedPort
The RTCIceCandidate interface's read-only relatedPort property indicates the port number of reflexive or relay candidates.
3670RTCIceCandidate.RTCIceCandidate()API, Audio, Candidate, Constructor, ICE, Media, RTCIceCandidate, Video, WebRTC, WebRTC API, rtc
The RTCIceCandidate() constructor creates and returns a new RTCIceCandidate object, which can be configured to represent a single ICE candidate.
3671RTCIceCandidate.sdpMidAPI, ICE, Identification, Property, RTCIceCandidate, Read-only, SDP, WebRTC, WebRTC API, id, identification-tag, sdpMid, stream
The read-only property sdpMid on the RTCIceCandidate interface returns a DOMString specifying the media stream identification tag of the media component with which the candidate is associated.
3672RTCIceCandidate.sdpMLineIndexAPI, Candidate, Media Description, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex
The read-only sdpMLineIndex property on the RTCIceCandidate interface is a zero-based index of the m-line describing the media associated with the candidate.
3673RTCIceCandidate.tcpTypeAPI, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, tcpType
The RTCIceCandidate interface's read-only tcpType property is included on TCP candidates to provide additional details about the candidate type.
3674RTCIceCandidate. toJSON()API, Candidate, ICE, JSON, Method, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, toJSON
The RTCIceCandidate method toJSON() converts the RTCIceCandidate on which it's called into JSON in the form of an RTCIceCandidateInit object.
3675RTCIceCandidate.typeAPI, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, Type, WebRTC, WebRTC API
The RTCIceCandidate interface's read-only type specifies the type of candidate the object represents.
3676RTCIceCandidate.usernameFragmentAPI, Candidate, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment
The read-only usernameFragment property on the RTCIceCandidate interface is a string indicating the username fragment ("ufrag") that uniquely identifies a single ICE interaction session.
3677RTCIceCandidateInitAPI, Candidate, Dictionary, ICE, Interface, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API
The WebRTC API's RTCIceCandidateInit dictionary, which contains the information needed to fundamentally describe an RTCIceCandidate.
3678RTCIceCandidateInit.candidateAPI, Candidate, ICE, Media, Property, RTCIceCandidateInit, SDP, Signaling, WebRTC, WebRTC API, candidate-attribute
The optional property candidate in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.candidate property.
3679RTCIceCandidateInit.sdpMidAPI, ICE, Media, NeedsContent, Property, RTCIceCandidateInit, SDP, WebRTC, WebRTC API, m-line, sdpMid
The optional property sdpMid in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.sdpMid property.
3680RTCIceCandidateInit.sdpMLineIndexAPI, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex
The optional property sdpMLineIndex in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.sdpMLineIndex property.
3681RTCIceCandidateInit.usernameFragmentAPI, Candidate, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment
The optional property usernameFragment in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.usernameFragment property.
3682RTCIceCandidatePairAPI, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, Pair, Reference, WebRTC, WebRTC API
The RTCIceCandidatePair dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints.
3683RTCIceCandidatePair.localAPI, Candidate, Connectivity, ICE, Negotiation, Property, RTCIceCandidatePair, Reference, WebRTC, WebRTC API, local, rtc
The local property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection.
3684RTCIceCandidatePair.remoteAPI, Candidate, ICE, Negotiation, Pair, Property, RTCIceCandidatePair, Reference, Remote, WebRTC, WebRTC API, rtc
The remote property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection.
3685RTCIceCandidatePairStatsAPI, Candidate, Candidate Pair, Connection, Connectivity, Dictionary, ICE, Media, Networking, Pair, Reference, Statistics, Stats, WebRTC, WebRTC API, candidate-pair, rtc
The WebRTC RTCIceCandidatePairStats dictionary reports statistics which provide insight into the quality and performance of an RTCPeerConnection while connected and configured as described by the specified pair of ICE candidates.
3686RTCIceCandidatePairStats.availableIncomingBitrateAPI, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, Network, Pair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, availableIncomingBitrate, priority, speed
The RTCIceCandidatePairStats property availableIncomingBitrate returns a value indicative of the available inbound capacity of the network connection represented by the candidate pair.
3687RTCIceCandidatePairStats.availableOutgoingBitrateAPI, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, ICE, Network, Pair, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API
The RTCIceCandidatePairStats property availableOutgoingBitrate returns a value indicative of the available outbound capacity of the network connection represented by the candidate pair.
3688RTCIceCandidatePairStats.bytesReceivedAPI, Candidate, Candidate Pair, ICE, Network, Networking, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, data
The RTCIceCandidatePairStats property bytesReceived indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been received to date on the connection described by the candidate pair.
3689RTCIceCandidatePairStats.bytesSentAPI, Candidate, Candidate Pair, ICE, Pair, RTCIceCandidatePairStats, Sent, Statistics, Stats, Transmitted, WebRTC, WebRTC API, bytesSent, rtc
The RTCIceCandidatePairStats property bytesSent indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been sent so far on the connection described by the candidate pair.
3690RTCIceCandidatePairStats.circuitBreakerTriggerCountAPI, Circuit-Breaker, Connection, Property, Reference, Statistics, Stats, WebRTC, WebRTC API, circuitBreakerTriggerCount
The RTCIceCandidatePairStats property circuitBreakerTriggerCount indicates the number of times the circuit-breaker has been triggered to indicate a connection timeout or other unexpected connection abort on this specific connection configuration.
3691RTCIceCandidatePairStats.consentExpiredTimestampAPI, Binding, Connection, Connectivity, Consent, Property, RTCIceCandidatePairStats, Reference, STUN, WebRTC, WebRTC API, consentTimestampExpired, expiration, rtc, timeStamp
The RTCIceCandidatePairStats property consentExpiredTimestamp indicates the time at which the most recent STUN binding response expired.
3692RTCIceCandidatePairStats.consentRequestsSentAPI, Candidates, Connectivity, ICE, Networking, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, contentRequestsReceived, data, rtc
The RTCIceCandidatePairStats property consentRequestsSent specifies the number of consent requests that have been sent by this peer to the remote peer on the connection described by the pair of candidates.
3693RTCIceCandidatePairStats.currentRoundTripTimeAPI, Connectivity, ICE, Network, Performance, Ping, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, currentRoundTripTime, rtc, speed
The RTCIceCandidatePairStats property currentRoundTripTime is a floating-point value indicating the number of seconds it takes for data to be sent by this peer to the remote peer and back over the connection described by this pair of ICE candidates.
3694RTCIceCandidatePairStats.firstRequestTimestampAPI, Connectivity, ICE, Network, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, Timing, WebRTC, WebRTC API, firstRequestTimestamp, timeStamp
The RTCIceCandidatePairStats property firstRequestTimestamp specifies the time at which the first STUN request was sent on the described candidate pair.
3695RTCIceCandidatePairStats.lastPacketReceivedTimestampAPI, ICE, Networking, Packet, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, lastPacketReceivedTimestamp, timeStamp
The RTCIceCandidatePairStats property lastPacketReceivedTimestamp indicates the time at which the connection described by the candidate pair last received a packet. STUN packets are not included.
3696RTCIceCandidateStats.lastPacketSentTimestampAPI, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp
The RTCIceCandidatePairStats property lastPacketSentTimestamp indicates the time at which the connection described by the candidate pair last sent a packet, not including STUN packets.
3697RTCIceCandidatePairStats.lastRequestTimestampAPI, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, lastRequestTimestamp, timeStamp
The RTCIceCandidatePairStats property lastRequestTimestamp indicates the time at which the most recent STUN request was sent on the described candidate pair.
3698RTCIceCandidateStats.lastResponseTimestampAPI, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Response, Statistics, Stats, WebRTC, WebRTC API, lastResponseTimestamp, timeStamp
The RTCIceCandidatePairStats property lastResponseTimestamp indicates the time at which the last STUN response was received on the described candidate pair.
3699RTCIceCandidateStats.localCandidateIdAPI, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, local, localCandidateId
The RTCIceCandidatePairStats property localCandidateId is a string that uniquely identifies the local ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates.
3700RTCIceCandidatePairStats.nominatedAPI, Flag, ICE, Negotiation, Networking, Property, RTCIceCandidatePairStats, Reference, WebRTC, WebRTC API, nominated
The RTCIceCandidatePairStats property nominated specifies whether or not the candidate pair described by the underlying RTCIceCandidatePair has been nominated to be used as the configuration for the WebRTC connection.
3701RTCIceCandidatePairStats.packetsReceivedAPI, Communication, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsReceived
The RTCIceCandidatePairStats dictionary's packetsReceived property indicates the total number of packets of any kind that have been received on the connection described by the pair of candidates.
3702RTCIceCandidatePairStats.packetsSentAPI, Candidate, Connectivity, ICE, Networking, Packets, Property, RTCIceCandidatePairStats, Reference, Sent, Statistics, Stats, WebRTC, WebRTC API
The RTCIceCandidatePairStats dictionary's packetsSent property indicates the total number of packets which have been sent on the connection described by the pair of candidates.
3703RTCIceCandidatePairStats.priorityAPI, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, priority
The obsolete RTCIceCandidatePairStats property priority reports the priority of the candidate pair as an integer value.
3704RTCIceCandidatePairStats.readableAPI, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, readable
The obsolete RTCIceCandidatePairStats property readable reports whether or not the connection described by the candidate pair has received at least one valid incoming ICE request.
3705RTCIceCandidatePairStats.remoteCandidateIdAPI, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id
The RTCIceCandidatePairStats property remoteCandidateId is a string that uniquely identifies the remote ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates.
3706RTCIceCandidatePairStats.requestsReceivedAPI, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, request, requestsReceived
The RTCIceCandidatePairStats dictionary's requestsReceived property indicates the total number of STUN connectivity check requests that have been received so far on the connection described by this pairing of candidates.
3707RTCIceCandidatePairStats.requestsSentAPI, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, requestsSent
The RTCIceCandidatePairStats dictionary's requestsSent property indicates the total number of STUN connectivity check requests that have been sent so far on the connection described by this pair of candidates.
3708RTCIceCandidatePairStats.responsesReceivedAPI, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesReceived
The responsesReceived property in the RTCIceCandidatePairStats dictionary indicates the total number of STUN connectivity check responses that have been received on the connection described by this pair of candidates.
3709RTCIceCandidatePairStats.responsesSentAPI, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesSent
The RTCIceCandidatePairStats dictionary's responsesSent property indicates the total number of STUN connectivity check responses that have been sent so far on the connection described by this pair of candidates.
3710RTCIceCandidatePairStats.retransmissionsReceivedAPI, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Retransmissions, STUN, Statistics, Stats, WebRTC, WebRTC API, retransmissionsReceived
The RTCIceCandidatePairStats dictionary's retransmissionsReceived property indicates the total number of STUN connectivity check request retransmissions that have been received so far on the pair of candidates.
3711RTCIceCandidatePairStats.retransmissionsSent
The RTCIceCandidatePairStats dictionary's retransmissionsSent property indicates the total number of STUN connectivity check request retransmissions that have been sent so far on the pair of candidates.
3712RTCIceCandidatePairStats.selected
The non-standard, Firefox-specific RTCIceCandidatePairStats property selected indicates whether or not the candidate pair described by the object is the one currently being used to communicate with the remote peer.
3713RTCIceCandidatePairStats.stateAPI, Candidate, CandidatePair, Check List, ICE, Pair, Property, RTCIceCandidatePair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, state
The state property in an RTCIceCandidatePairStats object indicates the state of the check list of which the candidate pair is a member.
3714RTCIceCandidatePairStats.totalRoundTripTimeAPI, Candidate, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, round-trip, rount trip time, rtt, totalRoundTripTime
The RTCIceCandidatePairStats dictionary's totalRoundTripTime property is the total time that has elapsed between sending STUN requests and receiving the responses, for all such requests that have been made so far on the pair of candidates described by this RTCIceCandidatePairStats object.
3715RTCIceCandidatePairStats.transportIdAPI, ICE, Networking, Property, RTCIceCandidatePairStats, RTCIceTransport, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, transportID
The transportId property uniquely identifies the RTCIceTransport that was inspected to obtain the transport-related statistics contained in the RTCIceCandidatePairStats object.
3716RTCIceCandidatePairStats.writableAPI, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, writable
The obsolete RTCIceCandidatePairStats property writable reports whether or not the connection described by the candidate pair is writable.
3717RTCIceCandidateStatsAPI, Candidate, Dictionary, ICE, Ice Candidate, RTCIceCandidate, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API
The WebRTC API's RTCIceCandidateStats dictionary provides statistics related to an RTCIceCandidate.
3718RTCIceCandidateStats.addressAPI, Address, Domain, Domain Name, FQDN, IP, IPv4, IPv6, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API
The address property of the RTCIceCandidateStats dictionary indicates the address of the ICE candidate. While it's preferred that the address be specified as an IPv4 or IPv6 numeric address, a fully-qualified domain name can be used as well.
3719RTCIceCandidateStats.candidateTypeAPI, Candidate, ICE, Networking, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, candidateType, rtc
The RTCIceCandidateStats interface's candidateType property is a string which indicates the type of ICE candidate the object represents.
3720RTCIceCandidateStats.deletedAPI, Candidate, Property, RTCIceCandidateStats, Reference, WebRTC, WebRTC API, deleted
The RTCIceCandidateStats dictionary's deleted property indicates whether or not the candidate has been deleted or released.
3721RTCIceCandidateStats.mozLocalTransportAPI, Candidate, ICE, Media, Non-standard, Obsolete, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Relay, Statistics, Stats, Transport, WebRTC, WebRTC API, mozLocalTransport
The non-standard Mozilla extension to the RTCIceCandidateStats dictionary, mozLocalTransport, has been supplanted by the standard RTCIceCandidateStats.relayProtocol property.
3722RTCIceCandidateStats.networkTypeAPI, Candidate, Connection, Connectivity, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, networkType
The RTCIceCandidateStats dictionary's networkType property specifies the type of network used by a local candidate to communicate with a remote peer.
3723RTCIceCandidateStats.portAPI, Candidate, Connection, ICE, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, port
The RTCIceCandidateStats dictionary's port property specifies the network port used by the candidate.
3724RTCIceCandidateStats.priority
The RTCIceCandidateStats dictionary's priority property is a positive integer value indicating the priority (or desirability) of the described candidate.
3725RTCIceCandidateStats.protocolAPI, Candidate, ICE, Media, Property, Protocol, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API
The RTCIceCandidateStats dictionary's protocol  property specifies the protocol the specified candidate would use for communication with the remote peer.
3726RTCIceCandidateStats.relayProtocolAPI, Candidate, ICE, Media, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Statistics, Stats, WebRTC, WebRTC API, relayProtocol, rtc
The RTCIceCandidateStats dictionary's relayProtocol property specifies the protocol being used by a local ICE candidate to communicate with the TURN server.
3727RTCIceCandidateStats.transportIdAPI, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, rtc, transportID
The RTCIceCandidateStats dictionary's transportId property is a string that uniquely identifies the transport that produced the RTCTransportStats from which information about this candidate was taken.
3728RTCIceCandidateStats.urlAPI, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, URL, WebRTC, WebRTC API, rtc
The RTCIceCandidateStats dictionary's url property specifies the URL of the ICE server from which the described candidate was obtained. This property is only available for local candidates.
3729RTCIceCandidateTypeAPI, Enum, Enumerated Type, ICE, Media, RTCIceCandidateType, Reference, SDP, Type, WebRTC, WebRTC API
The WebRTC API's RTCIceCandidateType enumerated type provides a set of DOMString values representing the types of ICE candidate that can arrive.
3730RTCIceComponentAPI, Enum, Enumerated, Enumeration, ICE, RTCIceComponent, RTCP, RTP, Reference, SDP, Transport, Type, component
The WebRTC API's RTCIceComponent enumerated type contains DOMString values that each identify a specific ICE component; these are "rtp" and "rtcp".
3731RTCIceCredentialType
The WebRTC API's RTCIceCredentialType enumerated string type defines the authentication method used to gain access to an ICE server identified by an RTCIceServer object.
3732RTCIceGathererStateAPI, Enum, Enumerated Type, Gathering, ICE, RTCIceGathererState, Read-only, Reference, Type, WebRTC, rtc, state
The RTCIceGathererState enumerated type provides the string values which can be returned by an RTCIceTransport object's RTCIceTransport.gatheringState.
3733RTCIceParametersAPI, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, RTCIceParameters, Reference, Transport, WebRTC, WebRTC API, password, ufrag, username
The RTCIceParameters dictionary specifies the username fragment and password assigned to an ICE session.
3734RTCIceParameters.passwordAPI, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceParameters, Reference, WebRTC, WebRTC API, password
The RTCIceParameters dictionary's password property specifies the ICE password that, in tandem with the RTCIceParameters.usernameFragment, uniquely identifies an ICE session for its entire duration.
3735RTCIceParameters.usernameFragmentAPI, Candidate, ICE, Negotiation, Property, RTCIceParameters, Reference, Web RTC API, WebRTC, ice-ufrag, parameters, rtc, ufrag, username, usernameFragment
The RTCIceParameters dictionary's usernameFragment property specifies the username fragment ("ufrag") that uniquely identifies the corresponding ICE session for the duration of the current ICE session.
3736RTCIceProtocolAPI, Enumerated Type, ICE, Media, RTCIceProtocol, Reference, SDP, TCP, Type, UDP, WebRTC, WebRTC API
The WebRTC API's RTCIceProtocol enumerated type provides a set of DOMString values representing the names of the transport protocols ICE candidates can use.
3737RTCIceRoleAPI, Controlled Agent, Controlling Agent, Enumerated Type, Enumeration, ICE, Media, RTCIceRole, Reference, Rôle, Type, WebRTC, WebRTC API, agent, rtc
The RTCIceRole enumerated type lists the string values that identify whether a connection's ICE agent is serving as the controlling agent or the controlled agent, as indicated by RTCIceTransport.role.
3738RTCIceServerAuthentication, Configuration, Dictionary, Experimental, ICE, RTCIceServer, WebRTC
WebRTC
3739RTCIceServer.credentialCredential, Experimental, Property, RTCIceServer, Reference, TURN, WebRTC
The RTCIceServer dictionary's credential property is a string providing the credential to use when connecting to the described server. This is typically a password, key, or other secret.
3740RTCIceServer.credentialTypeAuthentication, ICE, OAuth, Property, RTCIceServer, Reference, WebRTC, WebRTC API, credentialType, credentials, password
The RTCIceServer dictionary's credentialType property is a string value from the RTCIceCredentialType enum which indicates what type of credential the RTCIceServer.credential value is. The default is password.
3741RTCIceServer.urlExperimental, Obsolete, Property, RTCIceServer, Reference, URL, WebRTC
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback.
3742RTCIceServers.urlsExperimental, Property, RTCIceServer, Reference, WebRTC, urls
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback.
3743RTCIceServer.usernameExperimental, Property, RTCIceServer, Reference, WebRTC, username
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback.
3744RTCIceTcpCandidateTypeAPI, Enum, Enumerated Type, RTCIceTcpCandidateType, Reference, TCP Type, Type, WebRTC, WebRTC API
The WebRTC API's RTCIceTcpCandidateType enumerated type provides a set of DOMString values representing the types of TCP candidates.
3745RTCIceTransportAPI, Audio, Interface, Media, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, rtc
The RTCIceTransport interface provides access to information about the ICE transport layer over which the data is being sent and received.
3746RTCIceTransport.componentAPI, ICE, Media, Property, RTCIceTransport, RTCP, RTP, Read-only, Reference, Transport, Video, WebRTC, WebRTC API, component
The read-only RTCIceTransport property component specifies whether the object is serving to transport RTP or RTCP. The value is one of the strings in RTCIceComponent.
3747RTCIceTransport.gatheringStateAPI, Gatherer, Property, RTCIceTransport, Read-only, Reference, WebRTC, WebRTC API, gatheringState, state
The read-only RTCIceTransport property gatheringState returns a DOMString from the enumerated type RTCIceGathererState that indicates what gathering state the ICE agent is currently in: "new", "gathering", or "complete".
3748RTCIceTransport: gatheringstatechange eventConnection, Connectivity, Gathering, ICE, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, events, gatheringSstate, gatheringstatechange
A gatheringstatechange event is sent to an RTCIceTransport when its ICE candidate gathering state changes.
3749RTCIceTransport.getLocalCandidates()API, Candidates, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, getLocalCandidates, rtc
The RTCIceTransport method getLocalCandidates() returns an array of RTCIceCandidate objects, one for each of the candidates that have been gathered by the local device during the current ICE agent session.
3750RTCIceTransport.getLocalParameters()API, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, getLocalParameters, parameters, password, ufrag, username, usernameFragment
The RTCIceTransport method getLocalParameters() returns an RTCIceParameters object which provides information uniquely identifying the local peer for the duration of the ICE session.
3751RTCIceTransport.getRemoteCandidates()API, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceTransport, Reference, Remote, WebRTC, WebRTC API, getRemoteCandidates, rtc
The RTCIceTransport method getRemoteCandidates() returns an array which contains one RTCIceCandidate for each of the candidates that have been received from the remote peer so far during the current ICE gathering session.
3752RTCIceTransport.getRemoteParameters()
The RTCIceTransport method getRemoteParameters() returns an RTCIceParameters object which provides information uniquely identifying the remote peer for the duration of the ICE session.
3753RTCIceTransport.getSelectedCandidatePair()API, Candidates, Connectivity, Gathering, ICE, Method, Negotiation, Pair, RTCIceTransport, Reference, WebRTC, WebRTC API, getSelectedCandidatePair
The RTCIceTransport method getSelectedCandidatePair() returns an RTCIceCandidatePair object containing the current best-choice pair of ICE candidates describing the configuration of the endpoints of the transport.
3754RTCIceTransport.ongatheringstatechangeAPI, Candidates, Connectivity, Event Handler, Gathering, ICE, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, ongatheringstatechange
The ongatheringstatechange event handler for the RTCIceTransport interface specifies an event handler that is to be called when the gatheringstatechange event occurs on the transport.
3755RTCIceTransport.onselectedcandidatepairchangeAPI, Candidate, Candidate Pair, Connectivity, Event Handler, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, onselectedcandidatepairchange, selectedcandidatepairchange
The RTCIceTransport interface's onselectedcandidatepairchange event handler specifies a function to be called to handle the selectedcandidatepairchange event, which is fired when the ICE agent selects a new candidate pair to be used for the connection.
3756RTCIceTransport.onstatechangeAPI, Audio, Change, Event Handler, Media, Property, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, onstatechange, rtc, state, statechange
The onstatechange event handler for the RTCIceTransport interface is a property which specifies a function to serve as the EventHandler for the statechange event that is fired whenever the transport's RTCIceTransport.state changes.
3757RTCIceTransport.roleAPI, Audio, Candidates, ICE, Media, Negotiation, Property, RTCIceTransport, Read-only, Reference, Rôle, Video, WebRTC, WebRTC API, rtc
The read-only RTCIceTransport property role indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
3758RTCIceTransport: selectedcandidatepairchange eventConnectivity, ICE, Negotiation, RTCIceCandidate, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, events, onselectedcandidatepairchange, selectedcandidatepairchange
A selectedcandidatepairchange event is sent to an RTCIceTransport when the ICE agent selects a new pair of candidates that describe the endpoints of a viable connection.
3759RTCIceTransport.stateAPI, Enumerated Type, Enumeration, ICE, Media, Property, RTCIceTransportState, Read-only, Reference, Transport, Type, WebRTC, WebRTC API, state
The read-only RTCIceTransport property state returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
3760RTCIceTransport: statechange eventICE, Negotiation, RTCIceTransport, Reference, SDP, Transport, WebRTC, WebRTC API, events, rtc, state, statechange
A statechange event occurs when the RTCIceTransport changes state. The RTCIceTransport.state can be used to determine how far through the process of examining, verifying, and selecting a valid candidate pair is prior to successfully connecting the two peers for WebRTC communications.
3761RTCIceTransportStateAPI, Candidate, Enum, Enumerated Type, Enumeration, ICE, Media, RTCIceTransportState, Reference, Transport, Type, WebRTC, WebRTC API, state
The RTCIceTransportState enumerated type defines the string values which may be returned by the RTCiceTransport.state property on RTCIceTransport objects. The transport state indicates which stage of the candidate gathering process is currently underway.
3762RTCIdentityAssertionAPI, Experimental, Interface, RTCIdentityAssertion, Reference, WebRTC, WebRTC API
The RTCIdentityAssertion interface of the WebRTC API represents the identity of the a remote peer of the current connection. If no peer has yet been set and verified this interface returns null. Once set it can't be changed.
3763RTCIdentityErrorEventAPI, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC
The RTCIdentityErrorEvent interface represents an error associated with the identity provider (idP). This is usually for an RTCPeerConnection. Two events are sent with this type: idpassertionerror and idpvalidationerror.
3764RTCIdentityErrorEvent.idpExperimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.idp returns the DOMString describing the domain name of the identity provider (idp) generating the error response event.
3765RTCIdentityErrorEvent.loginUrlExperimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.loginUrl is a DOMString giving the URL where the user can complete the authentication. It can be null and is provided by the identity provider (idp).
3766RTCIdentityErrorEvent.protocolExperimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.protocol is a DOMString describing the Idp protocol in use.
3767RTCIdentityEventAPI, Experimental, Interface, RTCIdentityEVent, Reference, WebRTC, WebRTC API
The RTCIdentityEvent interface represents an identity assertion generated by an identity provider (idP). This is usually for an RTCPeerConnection. The only event sent with this type is identityresult..
3768RTCIdentityEvent.assertionExperimental, Expérimental(2), Property, RTCIdentyEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityEvent.assertion returns the DOMString containing a blob being the coded assertion associated with the event.
3769RTCInboundRtpStreamStatsAPI, Dictionary, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, local, receiver
The WebRTC API's RTCInboundRtpStreamStats dictionary, based upon RTCReceivedRtpStreamStats and RTCStats, contains statistics related to the receiving end of an RTP stream on the local end of the RTCPeerConnection.
3770RTCInboundRtpStreamStats.averageRtcpIntervalAPI, Packet, Property, RTCInboundRtpStreamStats, RTCP, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate
The averageRtcpInterval property of the RTCInboundRtpStreamStats dictionary is a floating-point value indicating the average RTCP transmission interval, in seconds.
3771RTCInboundRtpStreamStats.bytesReceivedAPI, Media, Networking, Performance, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, stream
The RTCInboundRtpStreamStats dictionary's bytesReceived property is an integer value which indicates the total number of bytes received so far from this synchronization source (SSRC).
3772RTCInboundRtpStreamStats.fecPacketsDiscardedAPI, Errors, FEC, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, fecPacketsDiscarded
The fecPacketsDiscarded property of the RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of RTP Forward Error Correction (FEC) packets that have been discarded.
3773RTCInboundRtpStreamStats.fecPacketsReceived
The fecPacketsReceived property of the RTCInboundRtpStreamStats dictionary indicates how many Forward Error Correction (FEC) packets have been received by this RTP receiver from the remote peer.
3774RTCInboundRtpStreamStats.firCountAPI, FIR, Frames, Property, RTCIncomingRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, firCount, stream
The firCount property of the RTCInboundRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) packets have been sent by the receiver to the sender.
3775RTCInboundRtpStreamStats.framesDecodedAPI, Decode, Frames, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, decoding, framesDecoded, stream
The framesDecoded property of the RTCInboundRtpStreamStats dictionary indicates the total number of frames which have been decoded successfully for this media source.
3776RTCInboundRtpStreamStats.lastPacketReceivedTimestampAPI, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Time, Time stamp, WebRTC, WebRTC API, lastPacketReceivedTimestamp, stream, timeStamp
The lastPacketReceivedTimestamp property of the RTCInboundRtpStreamStats dictionary indicates the time at which the most recently received packet arrived from this source.
3777RTCInboundRtpStreamStats.nackCountAPI, NACK, Packet Loss, Property, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream
The nackCount property of the RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender.
3778RTCInboundRtpStreamStats.packetsDuplicatedAPI, Duplicate, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Repeat, Statistics, Stats, WebRTC, WebRTC API, packetsDuplicated, stream
The packetsDuplicated property of the RTCInboundRtpStreamStats dictionary indicates the total number of packets discarded because they were duplicates of previously-received packets.
3779RTCInboundRtpStreamStats.packetsFailedDecryptionAPI, Decryption, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsFailedDecryption, stream
The packetsFailedDecryption property of the RTCInboundRtpStreamStats dictionary indicates the total number of RTP packets which failed to be decrypted successfully after being received by the local end of the connection during this session.
3780RTCInboundRtpStreamStats.perDscpPacketsReceivedAPI, DCSP, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDcspPacketsReceived
The perDscpPacketsReceived property of the RTCInboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets received for that DCSP.
3781RTCInboundRtpStreamStats.pliCountAPI, Media, PLI, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream
The pliCount property of the RTCInboundRtpStreamStats dictionary states the number of times the RTCRtpReceiver described by these statistics sent a Picture Loss Indication (PLI) packet to the sender.
3782RTCInboundRtpStreamStats.qpSumAPI, Property, QP, Quantization, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, qpSum, stream
The qpSum property of the RTCInboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame sent or received to date on the video track corresponding to this RTCInboundRtpStreamStats object.
3783RTCInboundRtpStreamStats.receiverIdAPI, Audio, Media, Property, RTCInboundRtpStreamStats, RTP, RTP Receiver, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, receiver, receiverId
The receiverId property of the RTCInboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCAudioReceiverStats or RTCVideoReceiverStats object representing the RTCRtpReceiver receiving the stream.
3784RTCInboundRtpStreamStats.remoteIdAPI, Media, Property, RTCInboundRtpStreamStats, RTCRtpSender, RTP, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId, sender, stream
The remoteId property of the RTCInboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCRemoteOutboundRtpStreamStats object representing the remote peer's RTCRtpSender which is sending the media to the local peer.
3785RTCInboundRtpStreamStats.sliCountAPI, Corruption, Errors, Property, RTCInboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream
The sliCount property of the RTCInboundRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets the RTCRtpReceiver for which this object provdes statistics sent to the remote RTCRtpSender.
3786RTCInboundRtpStreamStats.trackIdAPI, Audio, Media, MediaStreamTrack, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, trackId
The trackId property of the RTCInboundRtpStreamStats dictionary indicates the RTCStats.id of the RTCReceiverAudioTrackAttachmentStats or RTCReceiverVideoTrackAttachmentStats object representing the MediaStreamTrack which is receiving the incoming media.
3787RTCNetworkTypeAPI, Connection, Enum, Enumerated Type, Enumeration, Network, Obsolete, RTCNetworkType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, networkType
The WebRTC RTCNetworkType enumerated type defines a set of strings used to identify the type of network used by a connection between two peers.
3788RTCOfferAnswerOptionsConfiguration, Dictionary, Options, RTCOfferAnswerOptions, Reference, Settings, WebRTC, WebRTC API, createAnswer, createOffer
The WebRTC API's RTCOfferAnswerOptions dictionary is used to specify options that configure and control the process of creating WebRTC offers or answers.
3789RTCOfferAnswerOptions.voiceActivityDetectionAudio, Configuration, Offer, Options, Property, RTCOfferAnswerOptions, RTCPeerConnection, Reference, SDP, Voice, WebRTC, WebRTC API, answer, detection
The voiceActivityDetection property of the RTCOfferAnswerOptions dictionary is used to specify whether or not to use automatic voice detection for the audio on an RTCPeerConnection. The default value, true, indicates that voice detection should be used and that if possible, the user agent should automatically disable or mute outgoing audio when the audio source is not sensing a human voice.
3790RTCOfferOptionsDictionary, Media, Offer, RTCOfferOptions, Reference, SDP, WebRTC, WebRTC API, rtc
The RTCOfferOptions dictionary is used to provide optional settings when creating an RTCPeerConnection offer with the RTCPeerConnection.createOffer method.
3791RTCOfferOptions.iceRestartConfiguration, ICE, ICE Restart, Offer, Option, Property, RTCOfferOptions, Reference, SDP, Setting, WebRTC, WebRTC API, iceRestart
The iceRestart property of the RTCOfferOptions dictionary is a Boolean value which, when true, tells the RTCPeerConnection to start ICE renegotiation.
3792RTCOutboundRtpStreamStatsAPI, Dictionary, Outbound, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, stream
The RTCOutboundRtpStreamStats dictionary is the RTCStats-based object which provides metrics and statistics related to an outbound RTP stream being sent by an RTCRtpSender.
3793RTCOutboundRtpStreamStats.averageRtcpIntervalAPI, Media, Packets, Property, RTCOutboundRtpStreamStats, RTCP, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate, sender, stream
The averageRtcpInterval property of the RTCOutboundRtpStreamStats dictionary is a floating-point value indicating the average time that should pass between transmissions of RTCP packets on this stream.
3794RTCOutboundRtpStreamStats.firCountAPI, FIR, Frames, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Skipped Frames, Statistics, Stats, Video, WebRTC, WebRTC API, firCount
The firCount property of the RTCOutboundRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) that the remote RTCRtpReceiver has sent to this RTCRtpSender.
3795RTCOutboundRtpStreamStats.framesEncodedAPI, Encoding, Frames, Media, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, encode, framesEncoded, stream
The framesEncoded property of the RTCOutboundRtpStreamStats dictionary indicates the total number of frames that have been encoded by this RTCRtpSender for this media source.
3796RTCOutboundRtpStreamStats.lastPacketSentTimestampAPI, Packet, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp, timeStamp
The lastPacketSentTimestamp property of the RTCOutboundRtpStreamStats dictionary indicates the time at which the RTCRtpSender described by this RTCOutboundRtpStreamStats object last transmitted a packet to the remote receiver.
3797RTCOutboundRtpStreamStats.nackCountAPI, Audio, Media, NACK, Packet Loss, Packets, Property, RTCOutboundRtpStreamStats, Reference, Reliability, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream
The nackCount property of the RTCOutboundRtpStreamStats dictionary is a numeric value indicating the number of times the RTCRtpSender described by this object received a NACK packet from the remote receiver.
3798RTCOutboundRtpStreamStats.perDscpPacketsSentAPI, DSCP, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDscpPacketsSent
The perDscpPacketsSent property of the RTCOutboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets sent for that DCSP.
3799RTCOutboundRtpStreamStats.pliCountAPI, Media, PLI, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream
The pliCount property of the RTCOutboundRtpStreamStats dictionary states the number of times the remote peer's RTCRtpReceiver sent a Picture Loss Indication (PLI) packet to the RTCRtpSender for which this object provides statistics.
3800RTCOutboundRtpStreamStats.qpSumAPI, Encoding, Media, Property, QP, Quantization, RTCOutboundRtpStreamStats, RTCRtpSender, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, stream
The qpSum property of the RTCOutboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame this sender has produced to date on the video track corresponding to this RTCOutboundRtpStreamStats object.
3801RTCOutboundRtpStreamStats.qualityLimitationReasonAPI, Media, Property, Quality, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, WebRTC, WebRTC API, qualityLimitationReason, reason, stream
The qualityLimitationReason property of the RTCOutboundRtpStreamStats dictionary is a string indicating the reason why the media quality in the stream is currently being reduced by the codec during encoding, or none if no quality reduction is being performed.
3802RTCOutboundRtpStreamStats.remoteIdAPI, Property, RTCOutboundRtpStreamStats, RTCRtpReceiver, RTCRtpSender, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId
The remoteId property of the RTCOutboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCRemoteInboundRtpStreamStats object representing the remote peer's RTCRtpReceiver which is sending the media to the local peer for this SSRC.
3803RTCOutboundRtpStreamStats.sliCountAPI, Corruption, Errors, Property, RTCOutboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream
The sliCount property of the RTCOutboundRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets the RTCRtpSender received from the remote RTCRtpReceiver for the RTP stream described by this object.
3804RTCOutboundRtpStreamStats.trackIdAPI, Audio, Media, MediaStreamTrack, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, id, stream, track, trackId
The trackId property of the RTCOutboundRtpStreamStats dictionary indicates the RTCStats.id of the RTCSenderAudioTrackAttachmentStats or RTCSenderVideoTrackAttachmentStats object representing the MediaStreamTrack which is being sent on this stream.
3805RTCPeerConnection: idpvalidationerror eventAuthentication, Error, IdP, Identification, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror
An idpvalidationerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to validate an identity assertion.
3806RTCPeerConnectionAPI, Audio, Communication, Interface, Media, NeedsUpdate, Networking, RTCPeerConnection, Reference, Telecom, Video, WebRTC, WebRTC API
The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.
3807RTCPeerConnection.addIceCandidate()API, ICE, Media, Method, RTCPeerConnection, Reference, SDP, Web, WebRTC, WebRTC API, addIceCandidate
When a web site or app using RTCPeerConnection receives a new ICE candidate from the remote peer over its signaling channel, it delivers the newly-received candidate to the browser's ICE agent by calling RTCPeerConnection.addIceCandidate().
3808RTCPeerConnection: addstream eventEvent, Media, MediaStream, Obsolete, RTCPeerConnection, Reference, Streams, WebRTC, WebRTC API, addStream, events
The obsolete addstream event is sent to an RTCPeerConnection when new media, in the form of a MediaStream object, has been added to it.
3809RTCPeerConnection.addStream()Deprecated, Experimental, Method, RTCPeerConnection, Reference, WebRTC, addStream
The obsolete RTCPeerConnection method addStream() adds a MediaStream as a local source of audio or video. Instead of using this obsolete method, you should instead use RTCPeerConnection.addTrack once for each track you wish to send to the remote peer.
3810RTCPeerConnection.addTrack()API, Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, addTrack
The RTCPeerConnection method addTrack() adds a new media track to the set of tracks which will be transmitted to the other peer.
3811RTCPeerConnection.addTransceiver()API, Audio, Media, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceivers, Video, addTransceiver
The RTCPeerConnection method addTransceiver() creates a new RTCRtpTransceiver and adds it to the set of transceivers associated with the RTCPeerConnection.
3812RTCPeerConnection.canTrickleIceCandidatesAPI, ICE, Media, Property, RTCPeerConnection, Reference, Trickle, Trickling, WebRTC, WebRTC API, canTrickleIceCandidates
The read-only RTCPeerConnection property canTrickleIceCandidates returns a Boolean which indicates whether or not the remote peer can accept trickled ICE candidates.
3813RTCPeerConnection.close()Experimental, Method, RTCPeerConnection, Reference, WebRTC, close
The RTCPeerConnection.close() method closes the current peer connection.
3814RTCPeerConnection.connectionStateExperimental, Property, RTCPeerConnection, Reference, WebRTC, connectionState
The read-only connectionState property of the RTCPeerConnection interface indicates the current state of the peer connection by returning one of the string values specified by the enum RTCPeerConnectionState.
3815RTCPeerConnection: connectionstatechange event
The connectionstatechange event is sent to the RTCPeerConnection.ontrack event handler on an RTCPeerConnection object after a new track has been added to an RTCRtpReceiver which is part of the connection.
3816RTCPeerConnection.createAnswer()API, Experimental, Media, Method, RTCPeerConnection, Reference, Video, Web, WebRTC, createAnswer
The createAnswer() method on the RTCPeerConnection interface creates an SDP answer to an offer received from a remote peer during the offer/answer negotiation of a WebRTC connection. The answer contains information about any media already attached to the session, codecs and options supported by the browser, and any ICE candidates already gathered. The answer is delivered to the returned Promise, and should then be sent to the source of the offer to continue the negotiation process.
3817RTCPeerConnection.createDataChannel()API, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, createDataChannel
The createDataChannel() method on the RTCPeerConnection interface creates a new channel linked with the remote peer, over which any kind of data may be transmitted.
3818RTCPeerConnection.createOffer()API, Media, Method, RTCPeerConnection, Reference, SDP, WebRTC, createOffer
The createOffer() method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer.
3819RTCPeerConnection.currentLocalDescriptionAPI, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentLocalConnection
The read-only property RTCPeerConnection.currentLocalDescription returns an RTCSessionDescription object describing the local end of the connection as it was most recently successfully negotiated since the last time the  RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated.
3820RTCPeerConnection.currentRemoteDescriptionAPI, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentRemoteDescription
The read-only property RTCPeerConnection.currentRemoteDescription returns an RTCSessionDescription object describing the remote end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated.
3821RTCPeerConnection: datachannel eventChannels, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, data, datachannel, events, rtc
A datachannel event is sent to an RTCPeerConnection instance when an RTCDataChannel has been added to the connection, as a result of the remote peer calling RTCPeerConnection.createDataChannel().
3822RTCPeerConnection.generateCertificate() static functionAPI, Media, Method, RTCPeerConnection, Reference, Security, Static Method, WebRTC, WebRTC API, generateCertificate
The static  RTCPeerConnection.generateCertificate() function creates an X.509 certificate and corresponding private key, returning a promise that resolves with the new RTCCertificate once it's generated.
3823RTCPeerConnection.getConfiguration()API, Experimental, Interface, Method, RTCConfiguration, Reference, WebRTC, getConfiguration
The RTCPeerConnection.getConfiguration() method returns an RTCConfiguration object which indicates the current configuration of the RTCPeerConnection on which the method is called.
3824RTCPeerConnection.getDefaultIceServers()Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, getDefaultIceServers
The getDefaultIceServers() method of the RTCPeerConnection interface returns an array of objects based on the RTCIceServer dictionary, which indicates what, if any, ICE servers the browser will use by default if none are provided to the RTCPeerConnection in its RTCConfiguration. However, browsers are not required to provide any default ICE servers at all.
3825RTCPeerConnection.getIdentityAssertion()Experimental, Method, RTCPeerConnection, Reference, WebRTC
The RTCPeerConnection.getIdentityAssertion() method initiates the gathering of an identity assertion. This has an effect only if the RTCPeerConnection.signalingState is not "closed".
3826RTCPeerConnection.getReceivers()Experimental, Media, Method, RTCPeerConnection, RTP, Reference, WebRTC, WebRTC API, getReceivers
The RTCPeerConnection.getReceivers() method returns an array of RTCRtpReceiver objects, each of which represents one RTP receiver. Each RTP receiver manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection
3827RTCPeerConnection.getSenders()Media, Method, NeedsExample, RTCPeerConnection, RTCRtpSender, RTP, Reference, WebRTC, WebRTC API, getSenders
The RTCPeerConnection method getSenders() returns an array of RTCRtpSender objects, each of which represents the RTP sender responsible for transmitting one track's data.
3828RTCPeerConnection.getStats()API, Connection, Method, RTCPeerConnection, RTCStats, RTCStatsReport, Reference, Statistics, Stats, WebRTC, WebRTC API, WebRTC Stats, getStats, rtc
The RTCPeerConnection method getStats() returns a promise which resolves with data providing statistics about either the overall connection or about the specified MediaStreamTrack.
3829RTCPeerConnection.getStreamById()Experimental, Method, RTCPeerConnection, Reference, WebRTC
The RTCPeerConnection.getStreamById() method returns the MediaStream with the given id that is associated with local or remote end of the connection. If no stream matches, it returns null.
3830RTCPeerConnection.getTransceivers()API, Media, Method, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceiver, WebRTC, getTransceivers
The RTCPeerConnection interface's getTransceivers() method returns a list of the RTCRtpTransceiver objects being used to send and receive data on the connection.
3831RTCPeerConnection: icecandidate eventAPI, Candidate, Connectivity, ICE, Reference, SDP, WebRTC, WebRTC API, events, icecandidate
An icecandidate event is sent to an RTCPeerConnection  when an RTCIceCandidate has been identified and added to the local peer by a call to RTCPeerConnection.setLocalDescription(). The event handler should transmit the candidate to the remote peer over the signaling channel so the remote peer can add it to its set of remote candidates.
3832RTCPeerConnection: icecandidateerror eventAPI, Connection, Connectivity, Event, Failure, ICE, Networking, RTCPeerConnection, Reference, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, icecandidateerror
WebRTC
3833RTCPeerConnection.iceConnectionStateAPI, Audio, Connection, ICE, Media, Property, RTCPeerConnection, Read-only, Reference, Video, WebRTC, WebRTC API, iceConnectionState, state
The read-only property RTCPeerConnection.iceConnectionState returns an enum of type RTCIceConnectionState which state of the ICE agent associated with the RTCPeerConnection.
3834RTCPeerConnection: iceconnectionstatechange eventAPI, Connection, Connectivity, Disconnect, ICE, Media, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, iceConnectionState, iceconnectionstatechange
An iceconnectionstatechange event is sent to an RTCPeerConnection object each time the ICE connection state changes during the negotiation process.
3835RTCPeerConnection.iceGatheringStateExperimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, iceGatheringState
The read-only property RTCPeerConnection.iceGatheringState returns an enum of type RTCIceGatheringState that describes connection's ICE gathering state. This lets you detect, for example, when collection of ICE candidates has finished.
3836RTCPeerConnection: icegatheringstatechange eventAPI, Connection, Connectivity, Gathering, ICE, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, icegatheringstatechange, state
The icegatheringstatechange event is sent to the RTCPeerConnection.onicegatheringstatechange event handler on an RTCPeerConnection when the state of the ICE candidate gathering process changes.
3837RTCPeerConnection: identityresult eventAPI, Authentication, Event, Identity, Obsolete, RTCPeerConnection, Reference, WebRTC, WebRTC API, identityresult
An identityresult event is sent to an RTCPeerConnection object's RTCPeerConnection.onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (IdP) during the process of creating an SDP offer or answer.
3838RTCPeerConnection: idpassertionerror eventAssertion, Authentication, Error, IdP, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, idpassertionerror
An idpassertionerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to generate an identity assertion.
3839RTCPeerConnection: idpvalidationerror eventAPI, Authentication, Error, IdP, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror
An idpvalidationerror event informs the target, a RTCPeerConnection object's RTCPeerConnection.onidpvalidationerror event handler, that the identity provider (IdP) encountered an error while validating an identity assertion.
3840RTCPeerConnection.localDescriptionExperimental, Expérimental(2), Property, RTCPeerConnection, Read-only, Reference, Référence(2), WebRTC, localDescription
The read-only property RTCPeerConnection.localDescription returns an RTCSessionDescription describing the session for the local end of the connection. If it has not yet been set, this is null.
3841RTCPeerConnection: negotiationneeded eventAPI, Event, Negotiation, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, negotiationneeded, rtc
A negotiationneeded event is sent to the RTCPeerConnection when negotiation of the connection through the signaling channel is required.
3842RTCPeerConnection.onaddstreamDeprecated, Event Handler, MediaStream, Property, RTCPeerConnection, SDP, Streams, WebRTC, WebRTC API, onaddstream, rtc
The RTCPeerConnection.onaddstream event handler is a property containing the code to execute when the addstream event, of type MediaStreamEvent, is received by this RTCPeerConnection. Such an event is sent when a MediaStream is added to this connection by the remote peer. The event is sent immediately after the call RTCPeerConnection.setRemoteDescription and doesn't wait for the result of the SDP negotiation.
3843RTCPeerConnection.onconnectionstatechangeAPI, Connection State, Event Handler, ICE, Property, RTCPeerConnection, Reference, WebRTC, onconnectionstatechange
The RTCPeerConnection.onconnectionstatechange property specifies an EventHandler which is called to handle the connectionstatechange event when it occurs on an instance of RTCPeerConnection. This happens whenever the aggregate state of the connection changes.
3844RTCPeerConnection.ondatachannelEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ondatachannel
The RTCPeerConnection.ondatachannel property is an EventHandler which specifies a function which is called when the datachannel event occurs on an RTCPeerConnection. This event, of type RTCDataChannelEvent, is sent when an RTCDataChannel is added to the connection by the remote peer calling RTCPeerConnection.createDataChannel.
3845RTCPeerConnection.onicecandidateAPI, Candidate, Event Handler, ICE, Negotiation, Property, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, onicecandidate
The RTCPeerConnection property RTCPeerConnection.onicecandidate property is an EventHandler which specifies a function to be called when the icecandidate event occurs on an RTCPeerConnection instance. This happens whenever the local ICE agent needs to deliver a message to the other peer through the signaling server.
3846RTCPeerConnection.onicecandidateerrorExperimental, ICE, RTCPeerConnection, Reference, WebRTC, onicecandidateerror
The RTCPeerConnection.onicecandidateerror property is an EventHandler which specifies a function which is called to handle the icecandidateerror event when it occurs on an RTCPeerConnection instance. This event is fired when an error occurs during the ICE candidate gathering process.
3847RTCPeerConnection.oniceconnectionstatechangeEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, oniceconnectionstatechange
The RTCPeerConnection.oniceconnectionstatechange property is an event handler which specifies a function to be called when the iceconnectionstatechange event is fired on an RTCPeerConnection instance. This happens when the state of the connection's ICE agent, as represented by the RTCPeerConnection.iceConnectionState property, changes.
3848RTCPeerConnection.onicegatheringstatechangeEvent Handler, Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, onicegatheringstatechange
The RTCPeerConnection.onicegatheringstatechange property is an EventHandler which specifies a function to be called when the icegatheringstatechange event is sent to an RTCPeerConnection instance. This happens when the ICE gathering state—that is, whether or not the ICE agent is actively gathering candidates—changes.
3849RTCPeerConnection.onidentityresultEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC
The RTCPeerConnection.onidentityresult event handler is a property containing the code to execute when the identityresult event, of type RTCIdentityEvent, is received by this RTCPeerConnection. Such an event is sent when an identity assertion is generated, via RTCPeerConnection.getIdentityAssertion() or during the creation of an offer or an answer.
3850RTCPeerConnection.onidpassertionerrorAuthentication, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, WebRTC, WebRTC API
The RTCPeerConnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type RTCIdentityErrorEvent, is received by this RTCPeerConnection. Such an event is sent when the associated identity provider (IdP) encounters an error while generating an identity assertion.
3851RTCPeerConnection.onidpvalidationerrorAuthentication, Error, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onidpvalidationerror
The RTCPeerConnection.onidpvalidationerror event handler is a property containing the code to execute whent the idpvalidationerror event, of type RTCIdentityErrorEvent, is received by this RTCPeerConnection. Such an event is sent when the associated identity provider (IdP) encounters an error while validating an identity assertion.
3852RTCPeerConnection.onnegotiationneededEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, onnegotiationneeded
The RTCPeerConnection interface's onnegotiationneeded property is an EventListener which specifies a function which is called to handle the negotiationneeded event when it occurs on an RTCPeerConnection instance. This event is fired when a change has occurred which requires session negotiation. This negotiation should be carried out as the offerer, because some session changes cannot be negotiated as the answerer.
3853RTCPeerConnection.onpeeridentityAPI, Authentication, Event Handler, IdP, Identity, Obsolete, Peer, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onpeeridentity
The RTCPeerConnection.onpeeridentity event handler is a property containing the code to execute whent the peeridentity event, of type Event, is received by this RTCPeerConnection. Such an event is sent when an identity assertion, received from a peer, has been successfully validated.
3854RTCPeerConnection.onremovestreamEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC
The removestream event has been removed from the WebRTC specification in favor of the existing removetrack event on the remote MediaStream and the corresponding MediaStream.onremovetrack event handler property of the remote MediaStream. The RTCPeerConnection API is now track-based, so having zero tracks in the remote stream is equivalent to the remote stream being removed and the old removestream event.
3855RTCPeerConnection.onsignalingstatechangeAPI, Connectivity, Event Handler, ICE, Offer, Property, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, answer, onsignalingstatechange
The onsignalingstatechange event handler property of the RTCPeerConnection interface specifies a function to be called when the signalingstatechange event occurs on an RTCPeerConnection interface.
3856RTCPeerConnection.ontrackEvent Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ontrack
The RTCPeerConnection property ontrack is an EventHandler which specifies a function to be called when the track event occurs, indicating that a track has been added to the RTCPeerConnection.
3857RTCPeerConnection: peeridentity eventAuthentication, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, peeridentity
The peeridentity event is sent to the connection concerned when peer identity has been set and verified on it. The new identiy can be access using the RTCPeerConnection.peerIdentity property.
3858RTCPeerConnection.peerIdentityAPI, Authentication, Identification, Identity, Peer, Property, RTCPeerConnection, Read-only, Reference, WebRTC, WebRTC API
The read-only RTCPeerConnection property peerIdentity returns a JavaScript Promise that resolves to an RTCIdentityAssertion which contains a DOMString identifying the remote peer.
3859RTCPeerConnection.pendingLocalDescriptionAPI, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingLocalDescription
The read-only property RTCPeerConnection.pendingLocalDescription returns an RTCSessionDescription object describing a pending configuration change for the local end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentLocalDescription or RTCPeerConnection.localDescription to get the current state of the endpoint. For details on the difference, see /wiki/en-US/docs/Web/API/WebRTC_API/Connectivity.
3860RTCPeerConnection.pendingRemoteDescriptionAPI, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingRemoteDescription
The read-only property RTCPeerConnection.pendingRemoteDescription returns an RTCSessionDescription object describing a pending configuration change for the remote end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentRemoteDescription or RTCPeerConnection.remoteDescription to get the current session description for the remote endpoint. For details on the difference, see /wiki/en-US/docs/Web/API/WebRTC_API/Connectivity.
3861RTCPeerConnection.remoteDescriptionExperimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, remoteDescription
The read-only property RTCPeerConnection.remoteDescription returns a RTCSessionDescription describing the session (which includes configuration and media information) for the remote end of the connection. If this hasn't been set yet, this is null.
3862RTCPeerConnection: removestream eventAPI, Event, Managing Streams, Media, MediaStream, RTCPeerConnection, Reference, Removing Streams, Streams, WebRTC, WebRTC API, removeStream
The obsolete removestream event was sent to an RTCPeerConnection to inform it that a MediaStream had been removed from the connection.
3863RTCPeerConnection.removeStream()Deprecated, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, removeStream
The RTCPeerConnection.removeStream() method removes a MediaStream as a local source of audio or video. If the negotiation already happened, a new one will be needed for the remote peer to be able to use it. Because this method has been deprecated, you should instead use RTCPeerConnection.removeTrack if your target browser versions have implemented it.
3864RTCPeerConnection.removeTrack()Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, removeTrack
The RTCPeerConnection.removeTrack() method tells the local end of the connection to stop sending media from the specified track, without actually removing the corresponding RTCRtpSender from the list of senders as reported by RTCPeerConnection.getSenders().
3865RTCPeerConnection.restartIce()API, ICE, ICE Restarts, Media, Method, Negotiation, RTCPeerConnection, Reference, Signaling, WebRTC, WebRTC API, restartIce
The WebRTC API's RTCPeerConnection interface offers the restartIce() method to allow a web application to easily request that ICE candidate gathering be redone on both ends of the connection.
3866RTCPeerConnection()API, Constructor, Experimental, RTCPeerConnection, Reference, WebRTC
The RTCPeerConnection() constructor returns a newly-created RTCPeerConnection, which represents a connection between the local device and a remote peer.
3867RTCPeerConnection.sctpExperimental, Property, RTCPeerConnection, Reference, SCTP, WebRTC
The read-only sctp property on the RTCPeerConnection interface returns an RTCSctpTransport describing the SCTP transport over which SCTP data is being sent and received. If SCTP hasn't been negotiated, this value is null.
3868RTCPeerConnection.setConfiguration()Configuration, Experimental, Method, RTCPeerConnection, Reference, WebRTC, setConfiguration
The RTCPeerConnection.setConfiguration() method sets the current configuration of the RTCPeerConnection based on the values included in the specified RTCConfiguration object. This lets you change the ICE servers used by the connection and which transport policies to use.
3869RTCPeerConnection.setIdentityProvider()Experimental, Method, RTCPeerConnection, Reference, WebRTC
The RTCPeerConnection.setIdentityProvider() method sets the Identity Provider (IdP) to the triplet given in parameter: its name, the protocol used to communicate with it (optional) and an optional username. The IdP will be used only when an assertion is needed.
3870RTCPeerConnection.setLocalDescription()API, Descriptions, Media, Method, Offer, RTCPeerConnection, Reference, SDP, WebRTC, answer, setLocalDescription
The RTCPeerConnection method RTCPeerConnection.setLocalDescription changes the local description associated with the connection. This description specifies the properties of the local end of the connection, including the media format.
3871RTCPeerConnection.setRemoteDescription()API, ICE, Method, Negotiation, Offer, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, answer, setRemoteDescription
The RTCPeerConnection method setRemoteDescription() sets the specified session description as the remote peer's current offer or answer. The description specifies the properties of the remote end of the connection, including the media format.
3872RTCPeerConnection.signalingStateAPI, ICE, Media, Negotiation, Property, RTCPeerConnection, Read-only, Reference, Signaling, WebRTC, WebRTC API, signalingState, state
The read-only signalingState property on the RTCPeerConnection interface returns one of the string values specified by the RTCSignalingState enum; these values describe the state of the signaling process on the local end of the connection while connecting or reconnecting to another peer. See /wiki/en-US/docs/Web/API/WebRTC_API/Session_lifetime for more details about the signaling process.
3873RTCPeerConnection: signalingstatechange eventAPI, Event, Media, Reference, Signaling, WebRTC, WebRTC API, signalingState, signalingstatechange, state
An signalingstatechange event is sent to an RTCPeerConnection to notify it that its signaling state, as indicated by the RTCPeerConnection.signalingState property, has changed.
3874RTCPeerConnection: track eventDOM, DOM Event Reference, Event Reference, Media, MediaStreamTrack, Reference, WebRTC, WebRTC API, events, track
The track event is sent to the RTCPeerConnection.ontrack event handler on RTCPeerConnections after a new track has been added to an RTCRtpReceiver which is part of the connection.
3875RTCPeerConnectionIceErrorEventAPI, Communication, Error, Interface, Media, Networking, RTCPeerConnectionIceErrorEvent, Reference, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, rtc
WebRTC API
3876RTCPeerConnectionIceErrorEvent.addressAPI, Address, ICE, IP, Negotiation, Networking, Property, RTCPeerConnectionIceErrorEvent, Reference, WebRTC, WebRTC API, WebRTC Device API
WebRTC
3877RTCPeerConnectionIceEventAPI, Experimental, Interface, RTCIceCandidateEvent, Reference, WebRTC
The RTCPeerConnectionIceEvent interface represents events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection.
3878RTCPeerConnectionIceEvent.candidateCandidate, Negotiation, Networking, Property, RTCPeerConnectionIceEvent, Reference, SDP, WebRTC, WebRTC API, rtc
The read-only candidate property of the RTCPeerConnectionIceEvent interface returns the RTCIceCandidate associated with the event.
3879RTCPeerConnectionIceEvent()API, Constructor, Experimental, RTCPeerConnectionIceEvent, Reference, WebRTC
The RTCPeerConnectionIceEvent() constructor creates a new RTCPeerConnectionIceEvent.
3880RTCRemoteOutboundRtpStreamStatsAPI, Dictionary, Identifiers, Media, RTCRemoteOutboundRtpStreamStats, RTCStats, RTCStatsReport, RTP, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, WebRTC Device API, stream
WebRTC
3881RTCRemoteOutboundRtpStreamStats.localIdAPI, Media, Outbound, Property, RTCRemoteOutboundRtpStreamStats, RTP, Reference, Remote, Statistics, Stats, Streams, WebRTC, WebRTC API, WebRTC Device API, id, localId
The RTCRemoteOutboundRtpStreamStats dictionary's  localId property is a string which can be used to identify the RTCInboundRtpStreamStats object whose RTCInboundRtpStreamStats.remoteId matches this value.
3882RTCRemoteOutboundRtpStreamStats.remoteTimestampAPI, Property, RTCRemoteOutboundRtpStreamStats, Reference, Remote, Statistics, Stats, Timer, Timing, WebRTC, WebRTC API, WebRTC Device API, remoteTimestamp, timeStamp
The RTCRemoteOutboundRtpStreamStats property remoteTimestamp indicates the timestamp on the remote peer at which these statistics were sent. This differs from timestamp, which indicates the time at which the statistics were generated or received locally.
3883RTCRemoteOutboundRtpStreamStats.reportsSentAPI, Property, RTCP, RTCRemoteOutboundRtpStreamStats, RTP, Reference, SR, Sender Reports, Statistics, Stats, WebRTC, WebRTC API, WebRTC Device API, reportsSent, sender
The RTCRemoteOutboundRtpStreamStats dictionary's reportsSent property provides the number of Sender Reports (SRs) the remote peer has transmitted to the local peer.
3884RTCRtcpParametersAPI, Configuration, Dictionary, Media, Options, RTCP, RTCRtcpParameters, WebRTC, WebRTC API, WebRTC Device API, parameters
WebRTC
3885RTCRtpCapabilitiesAPI, Audio, Codec, Dictionary, Media, Negotiation, RTCRtpCapabilities, RTP, Reference, Video, WebRTC, WebRTC API, WebRTC Device API
WebRTC
3886RTCRtpCodecCapabilityAPI, Capability, Codecs, Dictionary, Media, Negotiation, RTCRtpCodecCapability, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API
WebRTC
3887RTCRtpCodecParametersAPI, Codec Configuration, Codec Parameters, Codec Preferences, Dictionary, Interface, Media, RTCRtpCodecParameters, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, SDP, WebRTC, setCodecPreferences
The RTCRtpCodecParameters dictionary, part of the WebRTC API, is used to describe the configuration parameters for a single media codec.
3888RTCRtpContributingSourceAPI, Contributing Source, Dictionary, Interface, Media, RTCRtpContributingSource, RTP, Reference, WebRTC
The RTCRtpContributingSource dictionary of the WebRTC API is used by RTCRtpReceiver.getContributingSources to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out.
3889RTCRtpContributingSource.audioLevelAPI, Media, MediaStreamTrack, Property, RTCRtpContributingSource, RTP, Reference, WebRTC, audioLevel
The read-only audioLevel property of the RTCRtpContributingSource interface indicates the audio level contained in the last RTP packet played from the described source.
3890RTCRtpContributingSource.rtpTimestampAPI, Audio, Media, Property, RTCRtpContributingSource, Reference, Stamp, Time, Video, WebRTC, WebRTC API, receiver, rtpTimestamp
The read-only rtpTimestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the source-generated time at which the media contained int he packet was first sampled or obtained.
3891RTCRtpContributingSource.sourceAPI, Media, Property, RTCRtpContributingSource, Reference, WebRTC, source
The read-only source property of the RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets.
3892RTCRtpContributingSource.timestampAPI, Media, Property, RTCRtpContributingSource, Reference, WebRTC, timeStamp
The read-only timestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source.
3893RTCRtpEncodingParametersAPI, Codec, Codec Configuration, Dictionary, Encoding, RTCRtpEncodingParameters, RTP, Reference, Settings, WebRTC, WebRTC API, parameters
An instance of the WebRTC API's RTCRtpEncodingParameters dictionary describes a single configuration of a codec for an RTCRtpSender.
3894RTCRtpEncodingParameters.maxBitrateAPI, BPS, Bandwidth, Bit Rate, Codec, Encoding, Property, RTCRtpEncodingParameters, Reference, Settings, WebRTC, WebRTC API, maxBitrate, parameters
The RTCRtpEncodingParameters dictionary's maxBitrate property specifies the maximum number of bits per second to allow a track encoded with this encoding to use.
3895RTCRtpEncodingParameters.scaleResolutionDownByAPI, Codec, Encoding, Media, RTCRtpEncodingParameters, RTP, Reference, Scale, Scaling, Settings, Video, WebRTC, WebRTC API, parameters, rtc, scaleResolutionDownBy, size
The RTCRtpEncodingParameters dictionary's scaleResolutionDownBy property can be used to specify a factor by which to reduce the size of a video track during encoding.
3896RTCRtpParametersAPI, Configuration, Dictionary, Media, Negoatiation, Options, RTCRtpParameters, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, parameters
WebRTC
3897RTCRtpReceiveParametersAPI, Configuration, Dictionary, Media, Options, RTCRtpReceiveParameters, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, parameters
WebRTC
3898RTCRtpReceiverAPI, Interface, Media, RTCRtpReceiver, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API
The RTCRtpReceiver interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
3899RTCRtpReceiver.getCapabilities() static functionAPI, Audio, Codecs, Compatibility, Media, Method, Negotiation, RTCRtpReceiver, Reference, Static, Static Function, Video, WebRTC, WebRTC API, WebRTC Device API, capabilities, getCapabilities
WebRTC
3900RTCRtpReceiver.getContributingSources()API, CSRC, Contributing Sources, Media, Method, RTCRtpReceiver, Reference, WebRTC, getContributingSources
The getContributingSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.
3901RTCRtpReceiver.getParameters()API, Configuration, Media, Method, Options, RTCRtpReceiver, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, getParameters, parameters, rtc
The getParameters() method of the RTCRtpReceiver interface returns an RTCRtpReceiveParameters object describing the current configuration for the encoding and transmission of media on the receiver's RTCRtpReceiver.track.
3902RTCRtpReceiver.getStats()API, Media, Method, RTCRtpReceiver, Reference, WebRTC, WebRTC API, WebRTC Statistics, WebRTC Statistics API, getStats
The RTCRtpReceiver method getStats() asynchronously requests an RTCStatsReport object which provides statistics about incoming traffic on the owning RTCPeerConnection, returning a Promise whose fulfillment handler will be called once the results are available.
3903RTCRtpReceiver.getSynchronizationSources()API, Media, Method, RTCRtpReceiver, RTP, Web, WebRTC, getSynchronizationSources
The getSynchronizationSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.
3904RTCRtpReceiver.trackAPI, Audio, Media, Property, RTCRtpReceiver, Reference, Video, WebRTC, WebRTC API, track
The track read-only property of the RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver instance.
3905RTCRtpReceiver.transportAPI, Communications, DTLS, Media, Networking, RTCP, RTCRtpReceiver, RTP, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, receiver
WebRTC
3906RTCRtpSenderAPI, Audio, DTLS, DTMF, Interface, Media, NeedsExample, RTCRtpSender, RTP, Reference, Video, WebRTC, WebRTC API, WebRTC Device API
The RTCRtpSender interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.
3907RTCRtpSender.dtmfDTMF, Media, NeedsExample, Property, RTCRtpSender, Read-only, Reference, WebRTC, WebRTC API
The read-only dtmf property on the RTCRtpSender interface returns a RTCDTMFSender object which can be used to send DTMF tones over the RTCPeerConnection . See Using DTMF for details on how to make use of the returned RTCDTMFSender object.
3908RTCRtpSender.getCapabilities() static functionAPI, Audio, Codecs, Media, Method, RTCRtpSender, Reference, Static Function, Video, WebRTC, WebRTC API, WebRTC Device API, capabilities, getCapabilities
WebRTC
3909RTCRtpSender.getParameters()API, Audio, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, getParameters()
The getParameters() method of the RTCRtpSender interface returns an RTCRtpSendParameters object describing the current configuration for the encoding and transmission of media on the sender's RTCRtpSender.track.
3910RTCRtpSender.getStats()API, Media, Method, RTCRtpSender, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API, getStats
The RTCRtpSender method getStats() asynchronously requests an RTCStatsReport object which provides statistics about outgoing traffic on the RTCPeerConnection which owns the sender, returning a Promise which is fulfilled when the results are available.
3911RTCRtpSender.replaceTrack()Audio, Media, Method, RTCRtpSender, RTP, Reference, Video, WebRTC, WebRTC API, replace, replaceTrack, track
The RTCRtpSender method replaceTrack() replaces the track currently being used as the sender's source with a new MediaStreamTrack.
3912RTCRtpSender.setParameters()API, Audio, Codec, Encoding, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, parameters, sender, setParameters
The setParameters() method of the RTCRtpSender interface applies changes the configuration of sender's RTCRtpSender.track, which is the MediaStreamTrack for which the RTCRtpSender is responsible.
3913RTCRtpSender.setStreams()API, Audio, Media, MediaStream, Method, RTCRtpSender, RTP, Reference, Streams, Video, WebRTC, WebRTC API, WebRTC API Reference, setStreams
WebRTC API
3914RTCRtpSender.trackAPI, Audio, DTMF, Property, RTCRtpSender, Reference, Video, Web, WebRTC API, track
The track read-only property of the RTCRtpSender interface returns the MediaStreamTrack which is being handled by the RTCRtpSender.
3915RTCRtpSender.transportAPI, Connectivity, DTLS, Networking, Property, RTCP, RTCRtpSender, RTP, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, sender
WebRTC
3916RTCRtpSendParametersAPI, Audio, Codec, Dictionary, Encoding, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, Video, WebRTC, WebRTC API, parameters, sender
The WebRTC API's RTCRtpSendParameters dictionary is used to specify the parameters for an RTCRtpSender when calling its RTCRtpSender.setParameters method.
3917RTCRtpSendParameters.encodingsAPI, Codec, Configuration, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, WebRTC, WebRTC API, encodings, parameters, rtc, sender
The RTCRtpSendParameters dictionary's encodings property is an RTCRtpEncodingParameters object providing configuration settings for the encoder being used for the RTCRtpSender's RTCRtpSender.track.
3918RTCRtpStreamStatsAPI, Dictionary, Interface, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc
The RTCRtpStreamStats dictionary is returned by the RTCPeerConnection.getStats(), RTCRtpSender.getStats(), and RTCRtpReceiver.getStats() methods to provide detailed statistics about WebRTC connectivity.
3919RTCRtpStreamStats.codecIdAPI, Codec, Dictionary, Interface, Property, RTCRtpStreamStats, RTP, Reference, Statistics, WebRTC, WebRTC API, WebRTC Statistics, codecId, id, rtc
The RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream.
3920RTCRtpStreamStats.firCountAPI, Dropped Frames, Frames, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, firCount, rtc, stream
The firCount property of the RTCRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) packets have been sent by the receiver to the sender.
3921RTCRtpStreamStats.kindAPI, Audio, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, kind, rtc
The kind property of the RTCRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.
3922RTCRtpStreamStats.nackCountAPI, Acknowledgement, Generic NACK, NACK, Negative Acknowledgement, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, nackCount, rtc
The nackCount property of the RTCRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender.
3923RTCRtpStreamStats.pliCountAPI, Data Loss, Media, PLI, Packet Loss, Packet Loss Indication, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Streams, WebRTC, WebRTC API, pliCount, rtc
The pliCount property of the RTCRtpStreamStats dictionary states the number of times the stream's receiving end sent a Picture Loss Indication (PLI) packet to the sender.
3924RTCRtpStreamStats.qpSumAPI, Media, Parameter, Property, QP, Quantization, Quantization Parameter, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, rtc
The qpSum property of the RTCRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame sent or received to date on the video track corresponding to this RTCRtpStreamStats object.
3925RTCRtpStreamStats.sliCountAPI, Media, Packet, Property, RTCRtpStream, RTP, Reference, Reliability, SLI, Slice Loss Indication, Transmisison, WebRTC, WebRTC API, compression, rtc, sliCount, slice
The sliCount property of the RTCRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets were received by the sender.
3926RTCRtpStreamStats.ssrcAPI, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc, source, ssrc
The RTCRtpStreamStats dictionary's ssrc property provides the Synchronization Source (SSRC), an integer which uniquely identifies the source of the RTP packets whose statistics are covered by the RTCStatsReport that includes this RTCRtpStreamStats dictionary.
3927RTCRtpStreamStats.trackIdAPI, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc, track, trackId
The RTCRtpStreamStats dictionary's trackId property is a string which uniquely identifies the RTCMediaStreamTrackStats object which contains the track statistics for the MediaStreamTrack for which statistics are provided in this object.
3928RTCRtpStreamStats.transportIdAPI, Property, RTCRtpStreamStats, RTP, Reference, Transport, WebRTC, WebRTC API, id, rtc, transportID
The RTCRtpStreamStats dictionary's transportId property is a string which uniquely identifies the object from which the statistics contained in the RTCTransportStats properties in the RTCStatsReport.
3929RTCRtpSynchronizationSourceAPI, Dictionary, Interface, Media, RTCRtpSynchronizationSource, RTP, Reference, Synchronization Source, WebRTC
The RTCRtpSynchronizationSource dictionary of the WebRTC API is used by RTCRtpReceiver.getSynchronizationSources to describe a particular synchronization source (SSRC).
3930RTCRtpSynchronizationSource.voiceActivityFlagAPI, Media, Property, RTCRtpSynchronizationSource, RTP, Voice Activity Detection, Voice Detection, WebRTC, voiceActivityFlag
The read-only voiceActivityFlag property of the RTCRtpSynchronizationSource interface indicates whether or not the most recent RTP packet on the source includes voice activity.
3931RTCRtpTransceiverAPI, Interface, Media, MediaStreamTrack, RTCRtpTransceiver, RTP, Reference, SDP, Transceiver, WebRTC
The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state.
3932RTCRtpTransceiver.currentDirectionAPI, Media, Property, RTCRtpTransceiver, RTP, Read-only, Reference, Transceiver, WebRTC, currentDirection
The read-only RTCRtpTransceiver property currentDirection is a string which indicates the current directionality of the transceiver.
3933RTCRtpTransceiver.directionAPI, Media, Property, RTCRtpTransceiver, RTP, Reference, Transceiver, Transceiver Direction, WebRTC, direction
The RTCRtpTransceiver property direction is a string which indicates the transceiver's preferred directionality.
3934RTCRtpTransceiver.midAPI, Media, Media ID, Property, RTCRtpTransceiver, RTP, Read-only, Reference, SDP, WebRTC, mid
The read-only RTCRtpTransceiver interface's mid property specifies the negotiated media ID (mid) which the local and remote peers have agreed upon to uniquely identify the stream's pairing of sender and receiver.
3935RTCRtpTransceiver.receiverAPI, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, receiver
The read-only  receiver property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpReceiver responsible for receiving and decoding incoming media data for the transceiver's stream.
3936RTCRtpTransceiver.senderAPI, Media, Property, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, WebRTC, sender
The read-only  sender property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpSender responsible for encoding and sending outgoing media data for the transceiver's stream.
3937RTCRtpTransceiver.setCodecPreferences()API, Codec, Codec Configuration, Codec Parameters, Codec Preferences, Media, Method, RTCRtpTransceiver, Reference, Settings, WebRTC, setCodecPreferences
The RTCRtpTransceiver method setCodecPreferences() configures the transceiver's codecs given a list of RTCRtpCodecCapability objects specifying the new preferences for each codec.
3938RTCRtpTransceiver.stop()API, Media, Method, RTCRtpTransceiver, RTP, Reference, Stopping a Transceiver, WebRTC, stop
The stop() method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver.
3939RTCRtpTransceiver.stoppedAPI, Deprecated, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, stopped
The read-only stopped property on the RTCRtpTransceiver interface indicates whether or not the transceiver's associated sender and receiver have both been stopped.
3940RTCRtpTransceiverDirectionAPI, Audio, Media, RTCRtpTransceiver, RTCRtpTransceiverDirection, RTP, Reference, Transceiver, Transceiver Directionality, Video, WebRTC, inactive, recvonly, sendonly, sendrecv
The RTCRtpTransceiverDirection type is an enumerated set of strings which are used to describe the directionality of a RTCRtpTransceiver instance.
3941RTCRtpTransceiverInitAPI, Dictionary, Interface, Media, RTCRtpTransceiver, RTCRtpTransceiverInit, Reference, Transceiver, WebRTC
The RTCRtpTransceiverInit dictionary is used when calling the WebRTC function RTCPeerConnection.addTransceiver() to provide configuration options for the new transceiver.
3942RTCSctpTransportExperimental, Interface, NeedsExample, RTCSctpTransport, Reference, Unimplemented, WebRTC
The RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security (DTLS) transport over which SCTP packets for all of an RTCPeerConnection's data channels are sent and received.
3943RTCSctpTransport.stateAPI, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCSctpTransport, RTCSctpTransportState, Read-only, Reference, WebRTC, state
The state read-only property of the RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state.
3944RTCSessionDescriptionAPI, Audio, Experimental, Interface, Media, Reference, Video, Web, WebRTC
The RTCSessionDescription interface describes one end of a connection—or potential connection—and how it's configured. Each RTCSessionDescription consists of a description RTCSessionDescription.type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session.
3945RTCSessionDescription()Constructor, Deprecated, Experimental, Media, RTCSessionDescription, Reference, SDP, WebRTC
The RTCSessionDescription() constructor creates a new RTCSessionDescription with its properties initialized as described in the specified object.
3946RTCSessionDescription.sdpExperimental, Property, RTCSessionDescription, Reference, SDP, WebRTC
The property RTCSessionDescription.sdp is a read-only DOMString containing the SDP which describes the session.
3947RTCSessionDescription.toJSON()Experimental, Expérimental(2), Method, RTCSessionDescription, Reference, Référence(2), Serializer, WebRTC
The RTCSessionDescription.toJSON() method generates a JSON description of the object. Both properties, RTCSessionDescription.type and RTCSessionDescription.sdp, are contained in the generated JSON.
3948RTCSessionDescription.typeExperimental, Property, RTCSessionDescription, Reference, SDP, Type, WebRTC
The property RTCSessionDescription.type is a read-only value of type RTCSdpType which describes the description's type.
3949RTCSessionDescriptionCallbackAPI, Deprecated, Interface, NeedsBrowserCompatibility, NeedsSpecification, RTCSessionDescriptionCallback, Reference, SDP, WebRTC
The RTCSessionDescriptionCallback type is used to represent the callback function passed into the deprecated callback-based version of RTCPeerConnection.createOffer or RTCPeerConnection.createAnswer when using them to create offers or answers.
3950RTCStatsAPI, Dictionary, RTCStats, Reference, Report, Statistics, Stats, WebRTC, rtc
The RTCStats dictionary is the basic statistics object used by WebRTC's statistics monitoring model, providing the properties required of all statistics data objects.
3951RTCStats.idAPI, Property, RTCStats, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc
The id property of the RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics.
3952RTCStats.timestampAPI, Property, RTCStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, rtc, timeStamp
The timestamp property of the RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
3953RTCStats.typeAPI, Property, RTCStats, Report, Statistics, Stats, Type, WebRTC, WebRTC API, rtc
The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType.
3954RTCStatsIceCandidatePairStateAPI, Candidate, CandidatePair, Check List, Enum, ICE, RTCIceCandidatePair, RTCStatsIceCandidatePairState, Reference, Type, WebRTC, WebRTC API, state
The RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats object's RTCIceCandidatePairStats.state property.
3955RTCStatsReportAPI, Dictionary, Draft, Interface, Media, NeedsContent, RTCStatsReport, Reference, WebRTC
The RTCStatsReport interface provides a statistics report obtained by calling one of the RTCPeerConnection.getStats(), RTCRtpReceiver.getStats(), and RTCRtpSender.getStats() methods.
3956RTCStatsTypeAPI, Media, RTCStatsType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, WebRTC Statistics Identifiers, rtc
The RTCStatsType enumerated type (enum) is a set of strings which define the RTCStats.type of statistics reported in a record found in the RTCStatsReport object.
3957RTCTrackEventAPI, Interface, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, rtc, track
The WebRTC API interface RTCTrackEvent represents the track event, which is sent when a new MediaStreamTrack is added to an RTCRtpReceiver which is part of the RTCPeerConnection.
3958RTCTrackEvent.receiverAPI, Media, Property, RTCRtpReceiver, RTCTrackEvent, RTP, Read-only, Reference, WebRTC, WebRTC API, events, receiver, track
The read-only receiver property of the RTCTrackEvent interface indicates the RTCRtpReceiver which is used to receive data containing media for the RTCTrackEvent.track to which the event refers.
3959RTCTrackEvent()API, Constructor, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, track
The RTCTrackEvent() constructor creates and returns a new RTCTrackEvent object, configured to describe the track which has been added to the RTCPeerConnection.
3960RTCTrackEvent.streamsAPI, Media, Property, RTCTrackEvent, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track
The WebRTC API interface RTCTrackEvent's read-only streams property specifies an array of MediaStream objects, one for each of the streams that comprise the track being added to the RTCPeerConnection.
3961RTCTrackEvent.trackAPI, Media, Property, RTCTrackEvent, RTP, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track
The WebRTC API interface RTCTrackEvent's read-only track property specifies the MediaStreamTrack that has been added to the RTCPeerConnection.
3962RTCTrackEvent.transceiverAPI, Media, Property, RTCTrackEvent, RTP, Reference, Transceiver, WebRTC, WebRTC API, events
The WebRTC API interface RTCTrackEvent's read-only transceiver property indicates the RTCRtpTransceiver affiliated with the event's RTCTrackEvent.track.
3963RTCTrackEventInitAPI, Dictionary, Interface, Media, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track
The WebRTC API's RTCTrackEventInit dictionary is used to provide information describing an RTCTrackEvent when instantiating a new track event using RTCTrackEvent.RTCTrackEvent.
3964RTCTrackEventInit.receiverAPI, Property, RTCTrackEventInit, RTP, Reference, WebRTC, WebRTC API, events, receiver, track
The RTCTrackEventInit dictionary's receiver property specifies the RTCRtpReceiver associated with the event.
3965RTCTrackEventInit.streamsAPI, Media, Property, RTCTrackEvent, Reference, Streams, WebRTC, WebRTC API, events, track
The RTCTrackEventInit dictionary's optional streams property provides an array containing a MediaStream object for each of the streams associated with the event's track.
3966RTCTrackEventInit.trackAPI, Media, Property, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track
The RTCTrackEventInit dictionary's track property specifies the MediaStreamTrack associated with the track event.
3967RTCTrackEventInit.transceiverAPI, Media, RTCTrackEventInit, RTP, Reference, Transceiver, WebRTC, WebRTC API, events
The RTCTrackEventInit dictionary's transceiver property specifies the RTCRtpTransceiver associated with the track event.
3968SanitizerHTML Sanitizer API, Interface, sanitize
The Sanitizer interface of the HTML Sanitizer API allows developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM.
3969Sanitizer.sanitize()HTML Sanitizer API, Method, sanitize
The sanitize() method of the sanitizer interface returns a sanitized DocumentFragment from an input, removing any offending elements or attributes.
3970Sanitizer()Constructor, HTML Sanitizer API, sanitize
The Sanitizer() constructor creates a new sanitizer object which allows developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM.
3971Sanitizer.sanitizeToString()HTML Sanitizer API, Method, sanitize
The sanitizeToString() method of the Sanitizer interface returns a sanitized String from an input, removing any offending elements or attributes.
3972Screen Capture APIAPI, MediaDevices, MediaStream, Overview, Reference, Screen Capture, Screen Capture API, Screen Sharing, getDisplayMedia
The Screen Capture API introduces additions to the existing Media Capture and Streams API to let the user select a screen or portion of a screen (such as a window) to capture as a media stream.
3973Using the Screen Capture APIAPI, Capture, Conference, Guide, Media, Screen Capture, Screen Capture API, Sharing, Video, WebRTC, display, getDisplayMedia, screen
In this article, we will examine how to use the Screen Capture API and its MediaDevices.getDisplayMedia method to capture part or all of a screen for streaming, recording, or sharing during a WebRTC conference session.
3974Screen Orientation APIAPI, Draft, Experimental, NeedsContent, Overview, Screen Orientation
Screen Orientation API
3975Screen Wake Lock APIAPI, Overview, Reference, Screen Wake Lock API, Wake Lock, WakeLock, screen
The Screen Wake Lock API provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.
3976ScreenAPI, CSSOM View, Interface, Reference
The Screen interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen.
3977Screen.availHeightAPI, CSSOM View, Property, Reference, Screen size, availHeight
The read-only Screen interface's availHeight property returns the height, in CSS pixels, of the space available for Web content on the screen. Since Screen is exposed on the Window interface's Window.screen property, you access availHeight using window.screen.availHeight.
3978Screen.availLeftAPI, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Returns the first available pixel available from the left side of the screen.
3979Screen.availTopAPI, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features.
3980Screen.availWidthAPI, CSSOM View, Property, Reference
The Screen.availWidth property returns the amount of horizontal space (in pixels) available to the window.
3981Screen.colorDepthAPI, CSSOM View, Property, Reference
The Screen.colorDepth read-only property returns the color depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the browser compatibility section for those that don't.
3982Screen.heightAPI, CSSOM View, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference
The Screen.height read-only property returns the height of the screen in pixels.
3983Screen.leftAPI, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Returns the distance in pixels from the left side of the main screen to the left side of the current screen.
3984Screen.lockOrientation()API, CSSOM View, Deprecated, Method, NeedsUpdate, Screen Orientation, screen
The lockOrientation() method of the Screen interface locks the screen into a specified orientation. The ScreenOrientation.lock() method should be used instead.
3985Screen.mozBrightnessAPI, API:Mozilla Extensions, Deprecated, Non-standard, Property
Indicates how bright the screen's backlight is, on a scale from 0 (very dim) to 1 (full brightness); this value is a double-precision float.
3986Screen.mozEnabledAPI, API:Mozilla Extensions, DOM, Deprecated, Non-standard, Property, Reference
This Boolean attribute controls the device's screen. Setting it to false will turn off the screen.
3987Screen.onorientationchangeAPI, CSSOM View, Deprecated, Event Handler, Property, Screen Orientation
An event handler for the Window/orientationchange_event events sent to the screen object.
3988Screen.orientationAPI, CSSOM View, Experimental, Property, Read-only, Screen Orientation, screen
The orientation read-only property of the Screen interface returns the current orientation of the screen.
3989Screen.pixelDepthAPI, CSSOM View, NeedsMarkupWork, Property, Reference
Returns the bit depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the Browser compatibility section for those that don't.
3990Screen.topAPI, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property, Window
Returns the distance in pixels from the top side of the current screen.
3991Screen.unlockOrientation()API, CSSOM View, Deprecated, Method, NeedsMarkupWork, Screen Orientation
The Screen.unlockOrientation() method removes all the previous screen locks set by the page/app. The ScreenOrientation.unlock() method should be used instead.
3992Screen.widthAPI, CSSOM View, Property, Reference
The Screen.width read-only property returns the width of the screen in pixels.
3993ScreenOrientationAPI, Interface, Reference, Screen Orientation API, ScreenOrientation, screen
The ScreenOrientation interface of the Screen Orientation API provides information about the current orientation of the document.
3994ScreenOrientation.angleAPI, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, angle
The angle read-only property of the ScreenOrientation interface returns the document's current orientation angle.
3995ScreenOrientation.lock()API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, lock
The lock() property of the ScreenOrientation interface locks the orientation of the containing document to its default orientation.
3996ScreenOrientation.onchangeAPI, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock
The onchange property of the ScreenOrientation is an event handler fired whenever is the EventHandler called when the screen changes orientation.
3997ScreenOrientation.typeAPI, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Type
The type read-only property of the ScreenOrientation interface returns the document's current orientation type, one of "portrait-primary", "portrait-secondary", "landscape-primary", or "landscape-secondary".
3998ScreenOrientation.unlock()API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock
The unlock() property of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
3999ScriptProcessorNodeAPI, Deprecated, Interface, Reference, ScriptProcessorNode, Web Audio API
The ScriptProcessorNode interface allows the generation, processing, or analyzing of audio using JavaScript.
4000ScriptProcessorNode: audioprocess eventScriptProcessorNode, Web Audio API, audioprocess, events
The audioprocess event of the ScriptProcessorNode interface is fired when an input buffer of a script processor is ready to be processed.
4001ScriptProcessorNode.bufferSizeAPI, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, bufferSize
The bufferSize property of the ScriptProcessorNode interface returns an integer representing both the input and output buffer size, in sample-frames. Its value can be a power of 2 value in the range 25616384.
4002ScriptProcessorNode.onaudioprocessAPI, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, onaudioprocess
The onaudioprocess event handler of the ScriptProcessorNode interface represents the EventHandler to be called for the audioprocess event that is dispatched to ScriptProcessorNode node types. An event of type AudioProcessingEvent will be dispatched to the event handler.
4003ScrollToOptionsAPI, CSSOM View, Dictionary, Reference, ScrollToOptions
The ScrollToOptions dictionary of the CSSOM View spec contains properties specifying where an element should be scrolled to, and whether the scrolling should be smooth.
4004ScrollToOptions.behaviorAPI, Property, Reference, ScrollToOptions, behavior
The behavior property of the ScrollToOptions dictionary specifies whether the scrolling should animate smoothly, or happen instantly in a single jump.
4005ScrollToOptions.leftAPI, Property, Reference, ScrollToOptions, left
The left property of the ScrollToOptions dictionary specifies the number of pixels along the X axis to scroll the window or element.
4006ScrollToOptions.topAPI, Property, Reference, ScrollToOptions, top
The top property of the ScrollToOptions dictionary specifies the number of pixels along the Y axis to scroll the window or element.
4007SecurityPolicyViolationEventAPI, CSP, Experimental, HTTP, Interface, Reference, Security, SecurityPolicyViolationEvent
The SecurityPolicyViolationEvent interface inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated.
4008SecurityPolicyViolationEvent.blockedURIAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent
The blockedURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the resource that was blocked because it violates a policy.
4009SecurityPolicyViolationEvent.columnNumberAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, columnNumber
The columnNumber read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker at which the violation occurred.
4010SecurityPolicyViolationEvent.dispositionAPI, CSP, Disposition, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent
The disposition read-only property of the SecurityPolicyViolationEvent interface indicates how the violated policy is configured to be treated by the user agent.
4011SecurityPolicyViolationEvent.documentURIAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, documentURI
The documentURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found.
4012SecurityPolicyViolationEvent.effectiveDirectiveAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, effectiveDirective
The effectiveDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation.
4013SecurityPolicyViolationEvent.lineNumberAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, lineNumber
The lineNumber read-only property of the SecurityPolicyViolationEvent interface is the line number in the document or worker at which the violation occurred.
4014SecurityPolicyViolationEvent.originalPolicyAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, originalPolicy
The originalPolicy read-only property of the SecurityPolicyViolationEvent interface is a DOMString containing the policy whose enforcement uncovered the violation.
4015SecurityPolicyViolationEvent.referrerAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, referrer
The referrer read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the referrer of the resources whose policy was violated. This will be a URL or null.
4016SecurityPolicyViolationEvent.sampleAPI, CSP, Experimental, HTTP, Property, Reference, Sample, Security, SecurityPolicyViolationEvent
The sample read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing a sample of the resource that caused the violation.
4017SecurityPolicyViolationEvent.SecurityPolicyViolationEvent()API, CSP, Constructor, Experimental, HTTP, Reference, Security, SecurityPolicyViolationEvent
The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance.
4018SecurityPolicyViolationEvent.sourceFileAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, sourceFile
The sourceFile read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found.
4019SecurityPolicyViolationEvent.statusCodeAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, Statuscode
The statusCode read-only property of the SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the document or worker in which the violation occurred.
4020SecurityPolicyViolationEvent.violatedDirectiveAPI, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, violatedDirective
The violatedDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation.
4021Selection APIAPI, Junk, Landing, Reference, Selection, Selection API, Text

The Selection API provides functionality for reading and manipulating the range of text selected by the user.

4022SelectionAPI, Experimental, Interface, Reference, Selection
A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or manipulation, call window.getSelection().
4023Selection.addRange()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.addRange() method adds a Range to a Selection.
4024Selection.anchorNodeAPI, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.anchorNode read-only property returns the Node in which the selection begins.
4025Selection.anchorOffsetAPI, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.anchorOffset read-only property returns the number of characters that the selection's anchor is offset within the Selection.anchorNode.
4026Selection.collapse()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.collapse() method collapses the current selection to a single point. The document is not modified. If the content is focused and editable, the caret will blink there.
4027Selection.collapseToEnd()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.collapseToEnd() method collapses the selection to the end of the last range in the selection. If the content of the selection is focused and editable, the caret will blink there.
4028Selection.collapseToStart()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.collapseToStart() method collapses the selection to the start of the first range in the selection. If the content of the selection is focused and editable, the caret will blink there.
4029Selection.containsNode()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.containsNode() method indicates whether a specfied node is part of the selection.
4030Selection.deleteFromDocument()API, Experimental, HTML Editing, Method, Reference, Selection, deleteFromDocument
The deleteFromDocument() method of the Selection interface deletes the selected text from the document's DOM.
4031Selection.extend()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.extend() method moves the focus of the selection to a specified point. The anchor of the selection does not move. The selection will be from the anchor to the new focus, regardless of direction.
4032Selection.focusNodeAPI, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.focusNode read-only property returns the Node in which the selection ends.
4033Selection.focusOffsetAPI, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.focusOffset read-only property returns the number of characters that the selection's focus is offset within the Selection.focusNode.
4034Selection.getRangeAt()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.getRangeAt() method returns a range object representing one of the ranges currently selected.
4035Selection.isCollapsedAPI, DOM, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.isCollapsed read-only property returns a Boolean which indicates whether or not there is currently any text selected. No text is selected when the selection's start and end points are at the same position in the content.
4036Selection.modify()API, API:Mozilla Extensions, API:WebKit Extensions, HTML Editing, Method, Non-standard, Reference, Selection
The Selection.modify() method applies a change to the current selection or cursor position, using simple textual commands.
4037Selection.rangeCountAPI, Experimental, HTML Editing, Property, Read-only, Reference, Selection
The Selection.rangeCount read-only property returns the number of ranges in the selection.
4038Selection.removeAllRanges()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.removeAllRanges() method removes all ranges from the selection, leaving the Selection.anchorNode and Selection.focusNode properties equal to null and leaving nothing selected.
4039Selection.removeRange()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.removeRange() method removes a range from a selection.
4040Selection.selectAllChildren()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.selectAllChildren() method adds all the children of the specified node to the selection. Previous selection is lost.
4041Selection.selectionLanguageChange()
Selection.selectionLanguageChange() method is a Gecko/Firefox internal method that was exposed to web pages until Firefox 29. It was removed in 949445 and should not be used.
4042Selection.setBaseAndExtent()API, Experimental, Method, Reference, Selection, setBaseAndExtent
The setBaseAndExtent() method of the Selection interface sets the selection to be a range including all or parts of two specified DOM nodes, and any content located between them.
4043Selection.toString()API, Experimental, HTML Editing, Method, Reference, Selection
The Selection.toString() method returns a string currently being represented by the selection object, i.e. the currently selected text.
4044Selection.typeAPI, Experimental, Property, Reference, Selection, Type
The type read-only property of the Selection interface returns a DOMString describing the type of the current selection.
4045Sensor APIsAPI, Generic Sensor API, Overview, Reference, Sensor, Sensor APIs, Sensors

The Sensor APIs are a set of interfaces built to a common design that expose device sensors in a consistent way to the web platform.

4046SensorAPI, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
The Sensor interface of the Sensor APIs is the base class for all the other sensor interfaces. This interface cannot be used directly. Instead it provides properties, event handlers, and methods accessed by interfaces that inherit from it.
4047Sensor.activatedAPI, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activated
The activated read-only property of the Sensor interface returns a Boolean indicating whether the sensor is active.
4048Sensor.hasReadingAPI, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, hasReading
The hasReading read-only property of the Sensor interface returns a Boolean indicating whether the sensor has a reading.
4049Sensor.onactivateAPI, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activate, onactivate
The onactivate EventHandler is called when one of the Sensor interface's child interfaces becomes active.
4050Sensor.onerrorAPI, Error, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onerror
The onerror EventHandler is called when an error occurs on one of the child interfaces of the Sensor interface.
4051Sensor.onreadingAPI, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onreading, reading
The onreading EventHandler is called when a reading is taken on one of the child interfaces of the Sensor interface.
4052Sensor.start()API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, start()
The start method activates one of the sensors based on Sensor.
4053Sensor.stop()API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, stop()
The stop method of the Sensor interface deactivates the current sensor.
4054Sensor.timestampAPI, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, timeStamp
The timestamp read-only property of the Sensor interface returns the time stamp of the latest sensor reading.
4055SensorErrorEventAPI, Error, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
The SensorErrorEvent interface of the Sensor APIs provides information about errors thrown by a Sensor or related interface.
4056SensorErrorEvent.errorAPI, Error, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
The error read-only property of the SensorErrorEvent interface returns the DOMException object passed in the event's contructor.
4057SensorErrorEvent.SensorErrorEvent()API, Constructor, Error, Generic Sensor API, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
The SensorErrorEvent constructor creates a new SensorErrorEvent object which provides information about errors thrown by any of the interfaces based on Sensor.
4058Server-sent eventsAPI, Overview, SSE, Server-sent events
Server Sent Events
4059Using server-sent eventsAdvanced, Communication, DOM, Guide, SSE, Server Sent Events, Server-sent events, messaging

Developing a web application that uses server-sent events is straightforward. You'll need a bit of code on the server to stream events to the front-end, but the client side code works almost identically to websockets in part of handling incoming events. This is one-way connection, so you can't send events from a client to a server.

4060Service Worker APIAPI, Landing, Offline, Overview, Reference, Service Workers, Workers
Service workers essentially act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network requests and take appropriate action based on whether the network is available, and update assets residing on the server. They will also allow access to push notifications and background sync APIs.
4061Using Service WorkersGuide, Service, ServiceWorker, Workers, basics

This article provides information on getting started with service workers, including basic architecture, registering a service worker, the install and activation process for a new service worker, updating your service worker, cache control and custom responses, all in the context of a simple app with offline functionality. 

4062ServiceWorkerAPI, Interface, Offline, Reference, Service Workers, ServiceWorker, Workers
The ServiceWorker interface of the Service Worker API provides a reference to a service worker. Multiple browsing context (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.
4063ServiceWorker.onstatechangeAPI, Property, Reference, Référence(2), Service Workers, ServiceWorker, onstatechange
An EventListener property called whenever an event of type statechange is fired; it is basically fired anytime the ServiceWorker.state changes.
4064ServiceWorker.scriptURLAPI, Property, Reference, Service Workers, ServiceWorker, scriptURL
Returns the ServiceWorker serialized script URL defined as part of ServiceWorkerRegistration. Must be on the same origin as the document that registers the ServiceWorker.
4065ServiceWorker.stateAPI, Property, Reference, Service Workers, ServiceWorker, state
The state read-only property of the ServiceWorker interface returns a string representing the current state of the service worker. It can be one of the following values: installing, installed, activating, activated, or redundant.
4066ServiceWorkerContainerAPI, Draft, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerContainer, Workers
The ServiceWorkerContainer interface of the Service Worker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.
4067ServiceWorkerContainer.controllerAPI, Controller, Property, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerController
The controller read-only property of the ServiceWorkerContainer interface returns a ServiceWorker object if its state is activating or activated (the same object returned by ServiceWorkerRegistration.active). This property returns null if the request is a force refresh (Shift + refresh) or if there is no active worker.
4068ServiceWorkerContainer.getRegistration()API, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
The getRegistration() method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided document URL.  The method returns a Promise that resolves to a ServiceWorkerRegistration or undefined.
4069ServiceWorkerContainer.getRegistrations()API, Experimental, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
The getRegistrations() method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a ServiceWorkerContainer, in an array. The method returns a Promise that resolves to an array of ServiceWorkerRegistration.
4070ServiceWorkerContainer: message eventAPI, Event, Reference, Service Workers
The message event is used in a page controlled by a service worker to receive messages from the service worker.
4071ServiceWorkerContainer.oncontrollerchangeAPI, Experimental, Interface, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onchange
The oncontrollerchange property of the ServiceWorkerContainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker.
4072ServiceWorkerContainer.onerrorAPI, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onerror
The onerror property of the ServiceWorkerContainer interface is an event handler fired whenever an error event occurs in the associated service workers.
4073ServiceWorkerContainer.onmessageAPI, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
The onmessage property of the ServiceWorkerContainer interface is an event handler fired whenever a message event occurs — when incoming messages are received to the ServiceWorkerContainer object (e.g., via a Client.postMessage() call).
4074ServiceWorkerContainer.readyAPI, Property, Reference, Service worker API, ServiceWorker, ServiceWorkerContainer
The ready read-only property of the ServiceWorkerContainer interface provides a way of delaying code execution until a service worker is active. It returns a Promise that will never reject, and which waits indefinitely until the ServiceWorkerRegistration associated with the current page has an ServiceWorkerRegistration.active worker. Once that condition is met, it resolves with the ServiceWorkerRegistration.
4075ServiceWorkerContainer.register()API, Method, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerContainer, register
The register() method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scriptURL.
4076ServiceWorkerContainer.startMessages()API, Experimental, Reference, Service Workers, ServiceWorkerContainer, startMessages
The startMessages() method of the ServiceWorkerContainer interface explicitly starts the flow of messages being dispatched from a service worker to pages under its control (e.g. sent via Client.postMessage()). This can be used to react to sent messages earlier, even before that page's content has finished loading.
4077ServiceWorkerGlobalScopeAPI, Interface, Offline, Reference, Service Workers, ServiceWorkerGlobalScope
The ServiceWorkerGlobalScope interface of the Service Worker API represents the global execution context of a service worker.
4078ServiceWorkerGlobalScope: activate eventAPI, Event, Reference, Service Workers, ServiceWorkerGlobalScope
The activate event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker.
4079ServiceWorkerGlobalScope.cachesAPI, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope
The caches read-only property of the ServiceWorkerGlobalScope interface returns the CacheStorage object associated with the service worker.
4080ServiceWorkerGlobalScope.clientsAPI, Clients, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope
The clients read-only property of the ServiceWorkerGlobalScope interface returns the Clients object associated with the service worker.
4081ServiceWorkerGlobalScope: contentdelete eventContent Index API, ServiceWorkerGlobalScope, content indexing, contentdelete, delete, events
The contentdelete event of the ServiceWorkerGlobalScope interface is fired when an item is removed from the indexed content via the user agent.
4082ServiceWorkerGlobalScope: install eventAPI, Event, Reference, Service worker API, ServiceWorkerGlobalScope, install
The install event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.installing worker.
4083ServiceWorkerGlobalScope: message eventEvent, Reference, Service worker API, ServiceWorkerGlobalScope, message
The message event of the ServiceWorkerGlobalScope interface occurs when incoming messages are received. Controlled pages can use the ServiceWorker.postMessage() method to send messages to service workers.
The service worker can optionally send a response back via the Client.postMessage(), corresponding to the controlled page.
4084ServiceWorkerGlobalScope: notificationclick eventEvent, Notifications, Service Worker, ServiceWorkerGloablScope, events, notificationclick
The notificationclick event is fired to indicate that a system notification spawned by ServiceWorkerRegistration.showNotification() has been clicked.
4085ServiceWorkerGlobalScope.onactivateAPI, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onactivate
The onactivate property of the ServiceWorkerGlobalScope interface is an event handler fired whenever an activate event occurs (when the service worker activates). This happens after installation, when the page to be controlled by the service worker refreshes.
4086ServiceWorkerGlobalScope.oncontentdeleteContent Index API, Event Handler, ServiceWorkerGlobalScope, content indexing, delete
The oncontentdelete property of the ServiceWorkerGlobalScope interface is an event handler fired when an item is removed from the indexed content via the user agent.
4087ServiceWorkerGlobalScope.onfetchAPI, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onfetch
The onfetch property of the ServiceWorkerGlobalScope interface is an event handler fired whenever a fetch event occurs (usually when the WindowOrWorkerGlobalScope.fetch() method is called.)
4088ServiceWorkerGlobalScope.oninstallAPI, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope
The oninstall property of the ServiceWorkerGlobalScope interface is an event handler fired whenever an ServiceWorkerGlobalScope/install_event event occurs (when the service worker installs). This happens before activation.
4089ServiceWorkerGlobalScope.onmessageAPI, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onmessage
The onmessage property of the ServiceWorkerGlobalScope interface is an event handler fired whenever a ServiceWorkerGlobalScope.message_event event occurs — when incoming messages are received.
4090ServiceWorkerGlobalScope.onnotificationclickAPI, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclick
The ServiceWorkerGlobalScope.onnotificationclick property is an event handler called whenever the notificationclick event is dispatched on the ServiceWorkerGlobalScope object, that is when a user clicks on a displayed notification spawned by ServiceWorkerRegistration.showNotification().
4091onnotificationcloseAPI, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclose
The ServiceWorkerGlobalScope.onnotificationclose property is an event handler called whenever the notificationclose event is dispatched on the ServiceWorkerGlobalScope object, that is when a user closes a displayed notification spawned by ServiceWorkerRegistration.showNotification().
4092ServiceWorkerGlobalScope.onperiodicsyncBackground Sync, PWA, Periodic Background Synchronization API, Property, ServiceWorkerGlobalScope
The onperiodicsync property of the ServiceWorkerGlobalScope interface is an event handler fired at timed intervals, specified when registering a PeriodicSyncManager.
4093ServiceWorkerGlobalScope.onpushAPI, Property, Push, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope, onpush
The ServiceWorkerGlobalScope.onpush event of the ServiceWorkerGlobalScope interface is fired whenever a push message is received by a service worker via a push server.
4094ServiceWorkerGlobalScope.onpushsubscriptionchangeAPI, NeedsExample, Property, Push, Reference, Service Workers, ServiceWorkerGlobalScope, onpushsubscriptionchange
The ServiceWorkerGlobalScope.onpushsubscriptionchange event of the ServiceWorkerGlobalScope interface is fired to indicate a change in push subscription that was triggered outside the application's control, e.g. when browser refresh the push subscription.
4095ServiceWorkerGlobalScope.onsync
The ServiceWorkerGlobalScope.onsync event of the ServiceWorkerGlobalScope interface is fired whenever a SyncEvent event occurs. This is triggered when a call to SyncManager.register is made from a service worker client page. The attempt to sync is made either immediately if the network is available or as soon as the network becomes available. 
4096ServiceWorkerGlobalScope: push eventAPI, Event, Notifications, Push, Push API, PushEvent, Reference, Service Workers, ServiceWorkerGlobalScope, messaging
The push event is sent to a service worker's global scope (represented by the ServiceWorkerGlobalScope interface) when the service worker has received a push message.
4097ServiceWorkerGlobalScope: pushsubscriptionchange eventAPI, Event, Push, Push API, PushSubscriptionChangeEvent, Reference, Service Workers, ServiceWorkerGlobalScope, Subscription
The pushsubscriptionchange event is sent to the global scope of a ServiceWorker to indicate a change in push subscription that was triggered outside the application's control.
4098ServiceWorkerGlobalScope.registrationAPI, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope, registration
The registration read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker's registration.
4099ServiceWorkerGlobalScope.skipWaiting()API, Method, Reference, Service Workers, Service worker API, ServiceWorker, skipWaiting
The ServiceWorkerGlobalScope.skipWaiting() method of the ServiceWorkerGlobalScope forces the waiting service worker to become the active service worker.
4100ServiceWorkerMessageEventAPI, Deprecated, Experimental, Interface, Offline, Référence(2), Service Workers, ServiceWorkerMessageEvent, Workers
Important: In modern browsers, this interface has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4101ServiceWorkerMessageEvent.dataAPI, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, data
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4102ServiceWorkerMessageEvent.lastEventIdAPI, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, lastEventID
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4103ServiceWorkerMessageEvent.originAPI, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, origin
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4104ServiceWorkerMessageEvent.portsAPI, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, ports
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4105ServiceWorkerMessageEvent.ServiceWorkerMessageEvent()API, Constructor, Deprecated, Experimental, Reference, Service Workers, ServiceWorkerMessageEvent
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4106ServiceWorkerMessageEvent.sourceAPI, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, source
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
4107ServiceWorkerRegistrationAPI, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerRegistration, Workers
The ServiceWorkerRegistration interface of the Service Worker API represents the service worker registration. You register a service worker to control one or more pages that share the same origin.
4108ServiceWorkerRegistration.activeAPI, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, active
The active property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is activating or activated. This property is initially set to null.
4109ServiceWorkerRegistration.getNotifications()API, Experimental, Method, Notifications, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerRegistration, getNotifications
The getNotifications() method of the ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration. Origins can have many active but differently-scoped service worker registrations. Notifications created by one service worker on the same origin will not be available to other active services workers on that same origin.
4110ServiceWorkerRegistration.indexContent, Content Index API, Index, PWA, Property, ServiceWorker, ServiceWorkerRegistration, content index, content indexing
The index read-only property of the ServiceWorkerRegistration interface returns a reference to the ContentIndex interface, which allows for indexing of offline content.
4111ServiceWorkerRegistration.installingAPI, Installing, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration
The installing property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installing. This property is initially set to null.
4112ServiceWorkerRegistration.navigationPreloadAPI, NavigationPreloadManager, Offline, Property, Service Workers, ServiceWorkerRegistration, Workers
The navigationPreload read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.
4113ServiceWorkerRegistration.onupdatefoundAPI, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, onupdatefound
The onupdatefound property of the ServiceWorkerRegistration interface is an EventListener property called whenever an event of type statechange is fired; it is fired any time the ServiceWorkerRegistration.installing property acquires a new service worker.
4114ServiceWorkerRegistration.periodicSyncAPI, Experimental, PeriodicSyncManager, Property, Reference, Service Workers, ServiceWorkerRegistration, periodicSync
The periodicSync read-only property of the ServiceWorkerRegistration interface returns a reference to the PeriodicSyncManager interface, which allows for registering of tasks to run at specific intervals.
4115ServiceWorkerRegistration.pushManagerAPI, Property, Push, PushManager, Reference, Service Workers, ServiceWorkerRegistration
The pushManager property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
4116ServiceWorkerRegistration.scopeAPI, Property, Reference, Service Workers, ServiceWorkerRegistration, scope
The scope read-only property of the ServiceWorkerRegistration interface returns a unique identifier for a service worker registration. The service worker must be on the same origin as the document that registers the ServiceWorker.
4117ServiceWorkerRegistration.showNotification()API, Experimental, Method, NeedsExample, Reference, Service Workers, ServiceWorker, ServiceWorkerRegistration, showNotification
The showNotification() method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
4118ServiceWorkerRegistration.syncAPI, Experimental, Property, Reference, Service Workers, ServiceWorkerRegistration, Sync
The sync property of the ServiceWorkerRegistration interface returns a reference to the SyncManager interface, which manages background synchronization processes.
4119ServiceWorkerRegistration.unregister()API, Method, Reference, Service Workers, ServiceWorkerRegistration, unregister
The unregister() method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise. The promise will resolve to false if no registration was found, otherwise it resolves to true irrespective of whether unregistration happened or not (it may not unregister if someone else just called ServiceWorkerContainer.register() with the same scope.) The service worker will finish any ongoing operations before it is unregistered.
4120ServiceWorkerRegistration.update()API, Method, Reference, Service Workers, ServiceWorkerRegistration, Update
The update() method of the ServiceWorkerRegistration interface attempts to update the service worker. It fetches the worker's script URL, and if the new worker is not byte-by-byte identical to the current worker, it installs the new worker. The fetch of the worker bypasses any browser caches if the previous fetch occurred over 24 hours ago.
4121ServiceWorkerRegistration.waitingAPI, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, waiting
The waiting property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installed. This property is initially set to null.
4122ServiceWorkerStateAPI, Interface, Reference, Service Workers, ServiceWorkerState
The ServiceWorkerState is associated with its ServiceWorker's state.
4123ShadowRootAPI, Interface, Reference, ShadowRoot, Web Components, shadow dom
The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree.
4124ShadowRoot.delegatesFocusAPI, Non-standard, Property, Reference, ShadowRoot, Web Components, delegatesFocus, shadow dom
The delegatesFocus read-only property of the ShadowRoot interface returns a boolean that indicates whether delegatesFocus was set when the shadow was attached (see Element.attachShadow()).
4125ShadowRoot.hostAPI, Host, Property, Reference, ShadowRoot, shadow dom
The host read-only property of the ShadowRoot returns a reference to the DOM element the ShadowRoot is attached to.
4126ShadowRoot.innerHTMLAPI, Property, Reference, ShadowRoot, innerHTML, shadow dom
The innerHTML property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the ShadowRoot.
4127ShadowRoot.modeAPI, Property, Reference, ShadowRoot, mode, shadow dom
The mode property of the ShadowRoot specifies its mode — either open or closed. This defines whether or not the shadow root's internal features are accessible from JavaScript.
4128SharedWorkerAPI, Interface, Reference, SharedWorker, Web Workers, Workers
The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope.
4129SharedWorker.portAPI, Property, Reference, SharedWorker, Web Workers, port
The port property of the SharedWorker interface returns a MessagePort object used to communicate and control the shared worker.
4130SharedWorker()API, Constructor, Reference, SharedWorker, Web Workers
The SharedWorker() constructor creates a SharedWorker object that executes the script at the specified URL. This script must obey the same-origin policy.
4131SharedWorkerGlobalScopeAPI, Interface, Reference, SharedWorkerGlobalScope, Web Workers
The SharedWorkerGlobalScope object (the SharedWorker global scope) is accessible through the window.self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See the complete list of functions available to workers.
4132SharedWorkerGlobalScope.applicationCacheAPI, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, applicationCache
Important: Application Cache is deprecated as of Firefox 44, and is no longer available in insecure contexts from Firefox 60 onwards (1354175, currently Nightly/Beta only). Don't use it to make offline websites — consider using service workers instead.
4133SharedWorkerGlobalScope.close()API, DOM, Method, Reference, SharedWorkerGlobalScope, Web Workers, close
The close() method of the SharedWorkerGlobalScope interface discards any tasks queued in the SharedWorkerGlobalScope's event loop, effectively closing this particular scope.
4134SharedWorkerGlobalScope: connect eventAPI, Event, Reference, SharedWorkerGlobalScope, connect, events
The connect event is fired in shared workers at their SharedWorkerGlobalScope when a new client connects.
4135SharedWorkerGlobalScope.nameAPI, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, name
The name read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created. This is the name that the SharedWorker.SharedWorker constructor can pass to get a reference to the SharedWorkerGlobalScope.
4136SharedWorkerGlobalScope.onconnectAPI, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, onconnect
The onconnect property of the SharedWorkerGlobalScope interface is an event handler representing the code to be called when the connect event is raised — that is, when a MessagePort connection is opened between the associated SharedWorker and the main thread.
4137SlottableAPI, Interface, Reference, Slottable, Web Components, shadow dom
The Slottable mixin defines features that allow nodes to become the contents of a slot element — the following features are included in both Element and Text.
4138Slottable: assignedSlotAPI, Property, Reference, Slottable, Web Components, assignedSlot, shadow dom
The assignedSlot read-only property of the Slottable interface returns an HTMLSlotElement representing the slot element the node is inserted in.
4139SourceBufferAPI, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBuffer, Video
The SourceBuffer interface represents a chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments.
4140SourceBuffer.abort()API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, abort
The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.
4141SourceBuffer.appendBuffer()API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendBuffer
The appendBuffer() method of the SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer.
4142SourceBuffer.appendBufferAsync()API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, appendBufferAsync
The appendBufferAsync() method of the SourceBuffer interface begins the process of asynchronously appending media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer.
4143SourceBuffer.appendStream()API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendstream
The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer.
4144SourceBuffer.appendWindowEndAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowEnd
The appendWindowEnd property of the SourceBuffer interface controls the timestamp for the end of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
4145SourceBuffer.appendWindowStartAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowStart
The appendWindowStart property of the SourceBuffer interface controls the timestamp for the start of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
4146SourceBuffer.audioTracksAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, audiotracks
The audioTracks read-only property of the SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer.
4147SourceBuffer.bufferedAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, buffered
The buffered read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer as a normalized TimeRanges object.
4148SourceBuffer.changeType()API, Audio, MSE, Media, Media Source, Media Source Extensions, Method, Non-standard, SourceBuffer, Video, changeType
The changeType() method of the SourceBuffer interface sets the MIME type that future calls to SourceBuffer.appendBuffer should expect the new media data to conform to.
4149SourceBuffer.modeAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, mode
The mode property of the SourceBuffer interface controls whether media segments can be appended to the SourceBuffer in any order, or in a strict sequence.
4150SourceBuffer.remove()API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, remove
The remove() method of the SourceBuffer interface removes media segments within a specific time range from the SourceBuffer. This method can only be called when SourceBuffer.updating equals false. If SourceBuffer.updating is not equal to false, call SourceBuffer.abort().
4151SourceBuffer.removeAsync()API, Audio, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, removeAsync
The removeAsync() method of the SourceBuffer interface starts the process of asynchronously removing from the SourceBuffer media segments found within a specific time range.
4152SourceBuffer.textTracksAPI, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, textTracks
The textTracks read-only property of the SourceBuffer interface returns a list of the text tracks currently contained inside the SourceBuffer.
4153SourceBuffer.timestampOffsetAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, timestampOffset
The timestampOffset property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the SourceBuffer.
4154SourceBuffer.trackDefaultsAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, trackDefaults
The trackDefaults property of the SourceBuffer interface specifies the default values to use if kind, label, and/or language information is not available in the initialization segment of the media to be appended to the SourceBuffer.
4155SourceBuffer.updatingAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Updating, Video
The updating read-only property of the SourceBuffer interface indicates whether the SourceBuffer is currently being updated — i.e. whether an SourceBuffer.appendBuffer()SourceBuffer.appendStream(), or SourceBuffer.remove() operation is currently in progress.
4156SourceBuffer.videoTracksAPI, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, videoTracks
The videoTracks read-only property of the SourceBuffer interface returns a list of the video tracks currently contained inside the SourceBuffer.
4157SourceBufferListAPI, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBufferList, Video
The SourceBufferList interface represents a simple container list for multiple SourceBuffer objects.
4158SourceBufferList.lengthAPI, Audio, MSE, Media Source Extensions, Property, Reference, SourceBufferList, Video, length
The length read-only property of the SourceBufferList interface returns the number of SourceBuffer objects in the list.
4159SourceBufferList: indexed property getterAPI, Audio, Experimental, Getter, MSE, Media Source Extensions, Method, Reference, SourceBuffer, SourceBufferList, Video
The indexed property getter of the SourceBufferList interface allows the SourceBuffer objects in the list to be accessed with an array operator (i.e. [].)
4160SpeechGrammarAPI, Experimental, Interface, Reference, SpeechGrammar, Web Speech API, recognition, speech
The SpeechGrammar interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize.
4161SpeechGrammar.SpeechGrammar()API, Constructor, Experimental, Reference, SpeechGrammar, Web, Web Speech API, speech
The SpeechGrammar constructor of the SpeechGrammar interface creates a new SpeechGrammar object instance.
4162SpeechGrammar.srcAPI, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, src
The src property of the SpeechGrammar interface sets and returns a string containing the grammar from within in the SpeechGrammar object.
4163SpeechGrammar.weightAPI, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, weight
The optional weight property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object.
4164SpeechGrammarListAPI, Experimental, Interface, Reference, SpeechGrammarList, Web Speech API, recognition, speech
The SpeechGrammarList interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize.
4165SpeechGrammarList.addFromString()API, Experimental, Method, Reference, SpeechGrammarList, Web Speech, addFromString, recognition, speech
The addFromString() method of the SpeechGrammarList interface takes a grammar present in a specific DOMString within the code base (e.g. stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object.
4166SpeechGrammarList.addFromURI()API, Experimental, Method, Reference, SpeechGrammarList, Web Speech API, addFromURI, recognition, speech
The addFromURI() method of the SpeechGrammarList interface takes a grammar present at a specific URI and adds it to the SpeechGrammarList as a new SpeechGrammar object.
4167SpeechGrammarList.item()API, Experimental, Getter, Method, Reference, SpeechGrammarList, Web Speech API, item, recognition, speech
The item getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax.
4168SpeechGrammarList.lengthAPI, Experimental, Property, Reference, SpeechGrammarList, Web Speech API, length, recognition, speech
The length read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList.
4169SpeechGrammarList.SpeechGrammarList()API, Constructor, Experimental, Reference, SpeechGrammarList, Web Speech API, recognition, speech
The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance.
4170SpeechRecognitionAPI, Experimental, Interface, Reference, SpeechRecognition, Web Speech API, recognition, speech
The SpeechRecognition interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service.
4171SpeechRecognition.abort()API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, abort, recognition, speech
The abort() method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult.
4172SpeechRecognition: audioend eventEvent, Reference, Web Speech API
The audioend event of the Web Speech API is fired when the user agent has finished capturing audio for speech recognition.
4173SpeechRecognition: audiostart eventEvent, Reference, SpeechRecognition, Web Speech API, audiostart, onaudiostart
The audiostart event of the Web Speech API is fired when the user agent has started to capture audio for speech recognition.
4174SpeechRecognition.continuousAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, continuous, recognition, speech
The continuous property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result.
4175SpeechRecognition: end eventEvent, Reference, Web Speech API
The end event of the Web Speech API SpeechRecognition object is fired when the speech recognition service has disconnected.
4176SpeechRecognition: error eventEvent, Reference, Web Speech API
The error event of the Web Speech API SpeechRecognition object is fired when a speech recognition error occurs.
4177SpeechRecognition.grammarsAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, grammars, recognition, speech
The grammars property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition.
4178SpeechRecognition.interimResultsAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, speech
The interimResults property of the SpeechRecognition interface controls whether interim results should be returned (true) or not (false.) Interim results are results that are not yet final (e.g. the SpeechRecognitionResult.isFinal property is false.)
4179SpeechRecognition.langAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, lang, recognition, speech
The lang property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either.
4180SpeechRecognition.maxAlternativesAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, maxAlternatives, recognition, speech
The maxAlternatives property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult.
4181SpeechRecognition: nomatch eventEvent, Reference, Web Speech API
The nomatch event of the Web Speech API is fired when the speech recognition service returns a final result with no significant recognition.
4182SpeechRecognition.onaudioendAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudioend, recognition, speech
The onaudioend property of the SpeechRecognition interface represents an event handler that will run when the user agent has finished capturing audio (when the audioend event fires.)
4183SpeechRecognition.onaudiostartAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudiostart, recognition, speech
The onaudiostart property of the SpeechRecognition interface represents an event handler that will run when the user agent has started to capture audio (when the audiostart event fires.)
4184SpeechRecognition.onendAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onend, recognition, speech
The onend property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service has disconnected (when the end event fires.)
4185SpeechRecognition.onerrorAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onerror, recognition, speech
The onerror property of the SpeechRecognition interface represents an event handler that will run when a speech recognition error occurs (when the error event fires.)
4186SpeechRecognition.onnomatchAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onnomatch, recognition, speech
The onnomatch property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a final result with no significant recognition (when the nomatch event fires.)
4187SpeechRecognition.onresultAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onresult, recognition, speech
The onresult property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app (when the result event fires.)
4188SpeechRecognition.onsoundendAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundend, recognition, speech
The onsoundend property of the SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has stopped being detected (when the soundend event fires.)
4189SpeechRecognition.onsoundstartAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundstart, recognition, speech
The onsoundstart property of the SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has been detected (when the soundstart event fires.)
4190SpeechRecognition.onspeechendAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechend, recognition, speech
The onspeechend property of the SpeechRecognition interface represents an event handler that will run when speech recognised by the speech recognition service has stopped being detected (when the speechend event fires.)
4191SpeechRecognition.onspeechstartAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechstart, recognition, speech
The onspeechstart property of the SpeechRecognition interface represents an event handler that will run when sound recognised by the speech recognition service as speech has been detected (when the speechstart event fires.)
4192SpeechRecognition.onstartAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onstart, recognition, speech
The onstart property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition (when the start event fires.)
4193SpeechRecognition: result eventEvent, Reference, Web Speech API
The result event of the Web Speech API is fired when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app
4194SpeechRecognition.serviceURIAPI, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, serviceURI, speech
The serviceURI property of the SpeechRecognition interface specifies the location of the speech recognition service used by the current SpeechRecognition to handle the actual recognition. The default is the user agent's default speech service.
4195SpeechRecognition: soundend eventEvent, Reference, Web Speech API
The soundend event of the Web Speech API is fired when any sound — recognisable speech or not — has stopped being detected.
4196SpeechRecognition: soundstart eventEvent, Reference, Web Speech API
The soundstart event of the Web Speech API is fired when any sound — recognisable speech or not — has been detected.
4197SpeechRecognition: speechend eventEvent, Reference, Web Speech API
The speechend event of the Web Speech API is fired when speech recognized by the speech recognition service has stopped being detected.
4198SpeechRecognition()API, Constructor, Experimental, Reference, SpeechRecognition, Web Speech API, recognition, speech
The SpeechRecognition() constructor creates a new SpeechRecognition object instance.
4199SpeechRecognition: speechstart eventEvent, Reference, Web Speech API
The speechstart event of the Web Speech API is fired when sound recognized by the speech recognition service as speech has been detected.
4200SpeechRecognition: start eventEvent, Reference, Web Speech API
The start event of the Web Speech API SpeechRecognition object is fired when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition.
4201SpeechRecognition.start()API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, start
The start() method of the Web Speech API starts the speech recognition service listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition.
4202SpeechRecognition.stop()API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, stop
The stop() method of the Web Speech API stops the speech recognition service from listening to incoming audio, and attempts to return a SpeechRecognitionResult using the audio captured so far.
4203SpeechRecognitionAlternativeAPI, Experimental, Interface, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech
The SpeechRecognitionAlternative interface of the Web Speech API represents a single word that has been recognised by the speech recognition service.
4204SpeechRecognitionAlternative.confidenceAPI, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, confidence, recognition, speech
The confidence read-only property of the SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.
4205SpeechRecognitionAlternative.transcriptAPI, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech, transcript
The transcript read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognised word(s).
4206SpeechRecognitionErrorAPI, Experimental, Interface, Reference, SpeechRecognitionError, Web Speech API, recognition, speech
The SpeechRecognitionError interface of the Web Speech API represents error messages from the recognition service.
4207SpeechRecognitionError.errorAPI, Error, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, recognition, speech
The error read-only property of the SpeechRecognitionError interface returns the type of error raised.
4208SpeechRecognitionError.messageAPI, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, message, recognition, speech
The message read-only property of the SpeechRecognitionError interface returns a message describing the error in more detail.
4209SpeechRecognitionErrorEvent
The SpeechRecognitionErrorEvent interface of the Web Speech API represents error messages from the recognition service.
4210SpeechRecognitionErrorEvent.errorAPI, Error, Experimental, Property, Reference, SpeechRecognitionErrorEvent, Web Speech API, recognition, speech
The error read-only property of the SpeechRecognitionErrorEvent interface returns the type of error raised.
4211SpeechRecognitionErrorEvent.messageAPI, Experimental, Property, Reference, SpeechRecognitionErrorEvent, Web Speech API, message, recognition, speech
The message read-only property of the SpeechRecognitionErrorEvent interface returns a message describing the error in more detail.
4212SpeechRecognitionEventAPI, Experimental, Interface, Reference, SpeechRecognitionEvent, Web Speech API, recognition, speech
The SpeechRecognitionEvent interface of the Web Speech API represents the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.
4213SpeechRecognitionEvent.emmaAPI, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, emma, recognition, speech
The emma read-only property of the SpeechRecognitionEvent interface returns an Extensible MultiModal Annotation markup language (EMMA) — XML — representation of the result.
4214SpeechRecognitionEvent.interpretationAPI, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, interpretation, recognition, speech
The interpretation read-only property of the SpeechRecognitionEvent interface returns the semantic meaning of what the user said.
4215SpeechRecognitionEvent.resultIndexAPI, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, resultIndex, speech
The resultIndex read-only property of the SpeechRecognitionEvent interface returns the lowest index value result in the SpeechRecognitionResultList "array" that has actually changed.
4216SpeechRecognitionEvent.resultsAPI, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, results, speech
The results read-only property of the SpeechRecognitionEvent interface returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session.
4217SpeechRecognitionResultAPI, Experimental, Interface, Reference, SpeechRecognitionResult, Web Speech API, recognition, speech
The SpeechRecognitionResult interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
4218SpeechRecognitionResult.isFinalAPI, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, isFinal, recognition, speech
The isFinal read-only property of the SpeechRecognitionResult interface is a Boolean that states whether this result is final (true) or not (false) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.
4219SpeechRecognitionResult.item()API, Experimental, Getter, Method, Reference, SpeechRecognitionResult, Web Speech API, item, recognition, speech
The item getter of the SpeechRecognitionResult interface is a standard getter that allows SpeechRecognitionAlternative objects within the result to be accessed via array syntax.
4220SpeechRecognitionResult.lengthAPI, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, length, recognition, speech
The length read-only property of the SpeechRecognitionResult interface returns the length of the "array" — thenumber of SpeechRecognitionAlternative objects contained in the result (also referred to as "n-best alternatives".)
4221SpeechRecognitionResultListAPI, Experimental, Interface, Reference, SpeechRecognitionResultList, Web Speech API, recognition, speech
The SpeechRecognitionResultList interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
4222SpeechRecognitionResultList.item()API, Experimental, Getter, Method, Reference, SpeechRecognitionResultList, Web Speech API, item, recognition, speech
The item getter of the SpeechRecognitionResultList interface is a standard getter — it allows SpeechRecognitionResult objects in the list to be accessed via array syntax.
4223SpeechRecognitionResultList.lengthAPI, Experimental, Property, Reference, SpeechRecognitionResultList, Web Speech API, length, recognition, speech
The length read-only property of the SpeechRecognitionResultList interface returns the length of the "array" — thenumber of SpeechRecognitionResult objects in the list.
4224SpeechSynthesisAPI, Experimental, Interface, Reference, SpeechSynthesis, Web Speech API, speech, synthesis
The SpeechSynthesis interface of the Web Speech API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.
4225SpeechSynthesis.cancel()API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, cancel, speech, synthesis
The cancel() method of the SpeechSynthesis interface removes all utterances from the utterance queue.
4226SpeechSynthesis.getVoices()API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, getVoices, speech, synthesis
The getVoices() method of the SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device.
4227SpeechSynthesis.onvoiceschangedAPI, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, onvoiceschanged, speech, synthesis
The onvoiceschanged property of the SpeechSynthesis interface represents an event handler that will run when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)
4228SpeechSynthesis.pause()API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, pause, speech, synthesis
The pause() method of the SpeechSynthesis interface puts the SpeechSynthesis object into a paused state.
4229SpeechSynthesis.pausedAPI, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, paused, speech, synthesis
The paused read-only property of the SpeechSynthesis interface is a Boolean that returns true if the SpeechSynthesis object is in a paused state, or false if not.
4230SpeechSynthesis.pendingAPI, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, pending, speech, synthesis
The pending read-only property of the SpeechSynthesis interface is a Boolean that returns true if the utterance queue contains as-yet-unspoken utterances.
4231SpeechSynthesis.resume()API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, resume, speech, synthesis
The resume() method of the SpeechSynthesis interface puts the SpeechSynthesis object into a non-paused state: resumes it if it was already paused.
4232SpeechSynthesis.speak()API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, speak, speech, synthesis
The speak() method of the SpeechSynthesis interface adds an SpeechSynthesisUtterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.
4233SpeechSynthesis.speakingAPI, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, speaking, speech, synthesis
The speaking read-only property of the SpeechSynthesis interface is a Boolean that returns true if an utterance is currently in the process of being spoken — even if SpeechSynthesis is in a SpeechSynthesis/pause() state.
4234SpeechSynthesis: voiceschanged eventEvent, Reference, Web Speech API
The voiceschanged event of the Web Speech API is fired when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)
4235SpeechSynthesisErrorEventAPI, Experimental, Interface, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis
The SpeechSynthesisErrorEvent interface of the Web Speech API contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service.
4236SpeechSynthesisErrorEvent.errorAPI, Error, Experimental, Property, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis
The error property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt.
4237SpeechSynthesisEventAPI, Experimental, Interface, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis
The SpeechSynthesisEvent interface of the Web Speech API contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.
4238SpeechSynthesisEvent.charIndexAPI, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, charIndex, speech, synthesis
The charIndex read-only property of the SpeechSynthesisUtterance interface returns the index position of the character in the SpeechSynthesisUtterance.text that was being spoken when the event was triggered.
4239SpeechSynthesisEvent.elapsedTimeAPI, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, elapsedTime, speech, synthesis
The elapsedTime read-only property of the SpeechSynthesisUtterance interface returns the elapsed time in seconds after the SpeechSynthesisUtterance.text started being spoken that the event was triggered at.
4240SpeechSynthesisEvent.nameAPI, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, name, speech, synthesis
The name read-only property of the SpeechSynthesisUtterance interface returns the name associated with certain types of events occuring as the SpeechSynthesisUtterance.text is being spoken: the name of the SSML marker reached in the case of a mark event, or the type of boundary reached in the case of a boundary event.
4241SpeechSynthesisEvent.utteranceAPI, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis, utterance
The utterance read-only property of the SpeechSynthesisUtterance interface returns the SpeechSynthesisUtterance instance that the event was triggered on.
4242SpeechSynthesisUtteranceAPI, Experimental, Interface, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis
The SpeechSynthesisUtterance interface of the Web Speech API represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)
4243SpeechSynthesisUtterance: boundary eventEvent, Reference, Web Speech API
The boundary event of the Web Speech API is fired when the spoken utterance reaches a word or sentence boundary.
4244SpeechSynthesisUtterance: end eventEvent, Reference, Web Speech API
The end event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance has finished being spoken.
4245SpeechSynthesisUtterance: error eventEvent, Reference, Web Speech API
The error event of the Web Speech API SpeechSynthesisUtterance object is fired when an error occurs that prevents the utterance from being succesfully spoken.
4246SpeechSynthesisUtterance.langAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, lang, speech, synthesis
The lang property of the SpeechSynthesisUtterance interface gets and sets the language of the utterance.
4247SpeechSynthesisUtterance: mark eventEvent, Reference, Web Speech API
The mark event of the Web Speech API SpeechSynthesisUtterance object is fired when the spoken utterance reaches a named SSML "mark" tag.
4248SpeechSynthesisUtterance.onboundaryAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onboundary, speech, synthesis
The onboundary property of the SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a word or sentence boundary (when the boundary event fires.)
4249SpeechSynthesisUtterance.onendAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onend, speech, synthesis
The onend property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has finished being spoken (when the end event fires.)
4250SpeechSynthesisUtterance.onerrorAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, onerror, speech, synthesis
The onerror property of the SpeechSynthesisUtterance interface represents an event handler that will run when an error occurs that prevents the utterance from being succesfully spoken (when the error_(SpeechSynthesis) event fires.)
4251SpeechSynthesisUtterance.onmarkAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onmark, speech, synthesis
The onmark property of the SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a named SSML mark tag (when the mark event fires.)
4252SpeechSynthesisUtterance.onpauseAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onpause, speech, synthesis
The onpause property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance is paused part way through (when the pause_(SpeechSynthesis) event fires.)
4253SpeechSynthesisUtterance.onresumeAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onresume, speech, synthesis
The onresume property of the SpeechSynthesisUtterance interface represents an event handler that will run when a paused utterance is resumed (when the resume event fires.)
4254SpeechSynthesisUtterance.onstartAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onstart, speech, synthesis
The onstart property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has begun to be spoken (when the start event fires.)
4255SpeechSynthesisUtterance: pause eventEvent, Reference, Web Speech API
The pause event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance is paused part way through.
4256SpeechSynthesisUtterance.pitchAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, pitch, speech, synthesis
The pitch property of the SpeechSynthesisUtterance interface gets and sets the pitch at which the utterance will be spoken at.
4257SpeechSynthesisUtterance.rateAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, rate, speech, synthesis
The rate property of the SpeechSynthesisUtterance interface gets and sets the speed at which the utterance will be spoken at.
4258SpeechSynthesisUtterance: resume eventEvent, Reference, Web Speech API
The resume event of the Web Speech API SpeechSynthesisUtterance object is fired when a paused utterance is resumed.
4259SpeechSynthesisUtterance.SpeechSynthesisUtterance()API, Constructor, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis
The SpeechSynthesisUtterance() constructor of the SpeechSynthesisUtterance interface returns a new SpeechSynthesisUtterance object instance.
4260SpeechSynthesisUtterance: start eventEvent, Reference, Web Speech API
The start event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance has begun to be spoken.
4261SpeechSynthesisUtterance.textAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Text, Web Speech API, speech, synthesis
The text property of the SpeechSynthesisUtterance interface gets and sets the text that will be synthesised when the utterance is spoken.
4262SpeechSynthesisUtterance.voiceAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Voice, Web Speech API, speech, synthesis
The voice property of the SpeechSynthesisUtterance interface gets and sets the voice that will be used to speak the utterance.
4263SpeechSynthesisUtterance.volumeAPI, Experimental, Property, Reference, SpeechSynthesisUtterance, Volume, Web Speech API, speech, synthesis
The volume property of the SpeechSynthesisUtterance interface gets and sets the volume that the utterance will be spoken at.
4264SpeechSynthesisVoiceAPI, Experimental, Interface, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis
The SpeechSynthesisVoice interface of the Web Speech API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.
4265SpeechSynthesisVoice.defaultAPI, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, default, speech, synthesis
The default read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is the default voice for the current app (true), or not (false.)
4266SpeechSynthesisVoice.langAPI, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, lang, speech, synthesis
The lang read-only property of the SpeechSynthesisVoice interface returns a BCP 47 language tag indicating the language of the voice.
4267SpeechSynthesisVoice.localServiceAPI, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, localService, speech, synthesis
The localService read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)
4268SpeechSynthesisVoice.nameAPI, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, name, speech, synthesis
The name read-only property of the SpeechSynthesisVoice interface returns a human-readable name that represents the voice.
4269SpeechSynthesisVoice.voiceURIAPI, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis, voiceURI
The voiceURI read-only property of the SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice.
4270StaticRangeAPI, Content Range, DOM, DOM API, DOM Tree, Interface, Reference, Static Range API, StaticRange
The DOM StaticRange interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree.
4271StaticRange.collapsedAPI, DOM, DOM API, Empty, Property, Range, Reference, Static Range API, StaticRange, collapsed
The collapsed read-only property of the StaticRange interface returns true if the range's start position and end position are the same.
4272StaticRange.endContainerAPI, DOM, DOM API, Property, Reference, Static Range API, StaticRange, endContainer
The endContainer property of the StaticRange interface returns the end Node for the range.
4273StaticRange.endOffsetAPI, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, endOffset, offset, startContainer
The endOffset property of the StaticRange interface returns the offset into the end node of the range's end position.
4274StaticRange.startContainerAPI, DOM, DOM API, Property, Range, Read-only, Reference, Static Range API, StaticRange, container, start, startContainer
The read-only startContainer property of the StaticRange interface returns the start Node for the range.
4275StaticRange.startOffsetAPI, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, startContainer
The read-only startOffset property of the StaticRange interface returns the offset into the start node of the range's start position.
4276StaticRange.StaticRange()API, Constructor, DOM, DOM API, Range, Reference, StaticRange
The StaticRange() constructor creates a new StaticRange object representing a span of content within the DOM.
4277StaticRange.toRange()API, Experimental, Method, Reference, Static Range API, StaticRange, toRange()
The toRange() property of the StaticRange interface converts the StaticRange object to a Range object.
4278StereoPannerNodeAPI, Audio, Interface, Reference, StereoPannerNode, Web Audio API
The StereoPannerNode interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right. It is an AudioNode audio-processing module that positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm.
4279StereoPannerNode.panAPI, Property, Read-only, Reference, StereoPannerNode, Web Audio API
The pan property of the StereoPannerNode interface is an a-rate AudioParam representing the amount of panning to apply. The value can range between -1 (full left pan) and 1 (full right pan).
4280StereoPannerNode.StereoPannerNode()API, Audio, Constructor, Media, Reference, StereoPannerNode, Web Audio API
The StereoPannerNode() constructor of the Web Audio API creates a new StereoPannerNode object which is an AudioNode that represents a simple stereo panner node that can be used to pan an audio stream left or right.
4281Storage Access APIAPI, Reference, Storage, Storage Access API
The Storage Access API provides a way for embedded, cross-origin content to gain unrestricted access to storage that it would normally only have access to in a first-party context (we refer to this as an origin’s first-party storage).
4282Using the Storage Access APIAPI, DOM, Guide, Reference, Storage, Storage Access API
The Storage Access API should be used by embedded cross-origin documents to verify whether they have access to their first-party storage and, if not, to request access. We’ll briefly look at a common storage access scenario.
4283Storage APIAPI, Overview, Quotas, Reference, Secure context, Storage, Storage API, Usage
Storage
4284StorageAPI, Interface, Reference, Storage, Web Storage, data
The Storage interface of the Web Storage API provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
4285Storage.clear()API, Method, Reference, Storage, Web Storage
The clear() method of the Storage interface clears all keys stored in a given Storage object.
4286Storage.getItem()API, Method, Reference, Storage, Web Storage
The getItem() method of the Storage interface, when passed a key name, will return that key's value, or null if the key does not exist, in the given Storage object.
4287Storage.key()API, Method, Reference, Storage, Web Storage
The key() method of the Storage interface, when passed a number n, returns the name of the nth key in a given Storage object. The order of keys is user-agent defined, so you should not rely on it.
4288Storage.lengthAPI, Property, Read-only, Reference, Storage, Web Storage
The length read-only property of the Storage interface returns the number of data items stored in a given Storage object.
4289Storage.removeItem()API, Method, Reference, Storage, Web Storage
The removeItem() method of the Storage interface, when passed a key name, will remove that key from the given Storage object if it exists. The Storage interface of the Web Storage API provides access to a particular domain's session or local storage.
4290Storage.setItem()API, Method, Reference, Storage, Web Storage
The setItem() method of the Storage interface, when passed a key name and value, will add that key to the given Storage object, or update that key's value if it already exists.
4291StorageEstimateAPI, Dictionary, Interface, Quotas, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage
The StorageEstimate dictionary is used by the StorageManager to provide estimates of the size of a site's or application's data store and how much of it is in use. The StorageManager.estimate method returns an object that conforms to this dictionary when its Promise resolves.
4292StorageEstimate.quotaAPI, Property, Quota, Quotas, Reference, Secure context, StorageEstimate
The StorageEstimate dictionary's quota property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less. This value is an estimate to help prevent its use for fingerprinting—that is, identifying a device using an amalgamation of the values of seemingly innocuous properties.
4293StorageEstimate.usageAPI, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage
The StorageEstimate dictionary's usage property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less. The value is an estimate because the user agent may use compression, duplication prevention techniques, and other methods to improve storage efficiency.
4294StorageEventAPI, Event, Reference, StorageEvent, Web Storage API
A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document.
4295StorageManagerAPI, Interface, Persistence, Quotas, Reference, Secure context, Storage, Storage API, StorageManager, Usage
The StorageManager interface of the Storage API provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either navigator.storage or WorkerNavigator.storage.
4296StorageManager.estimate()API, Method, Quota, Reference, Secure context, Storage, Storage API, StorageManager, Usage, estimate
The estimate() method of the StorageManager interface asks the Storage Manager for how much storage the current origin takes up (usage), and how much space is available (quota).
4297StorageManager.persist()Method, Reference, Secure context, Storage API, persist()
The persist() method of the StorageManager interface requests permission to use persistent storage, and returns a Promise that resolves to true if permission is granted and box mode is persistent, and false otherwise.
4298StorageManager.persisted()Method, Reference, Secure context, Storage API, persisted()
The persisted() method of the StorageManager interface returns a Promise that resolves to true if box mode is persistent for your site's storage.
4299StorageQuotaInterface, Obsolete, Quota Management API, Reference, StorageQuota
The storageQuota property of the Navigator interface of the Quota Management API provides means to query and request storage usage and quota information.
4300StorageQuota.queryInfoProperty, Quota Management API, Reference, StorageQuota
The queryInfo() property of the StorageQuota interface returns a StorageInfo object containting the current data usage and available quota information for the application.
4301StorageQuota.requestPersistentQuotaProperty, Quota Management API, Reference, StorageQuota
The requestPersistentQuota() property of the StorageQuota interface requests persistent storage for the requesting application and returns a Promise to an instance of StorageInfo.
4302StorageQuota.supportedTypesProperty, Quota Management API, Reference, StorageQuota
The supportedTypes read-only property of the StorageQuota interface returns a list of the available storage types.
4303Streams APIAPI, Experimental, JavaScript, Landing, Reference, Streams
The Streams API allows JavaScript to programmatically access streams of data received over the network and process them as desired by the developer.
4304Streams API conceptsAPI, Streams, concepts
The Streams API adds a very useful set of tools to the web platform, providing objects allowing JavaScript to programmatically access streams of data received over the network and process them as desired by the developer. Some of the concepts and terminology associated with streams might be new to you — this article explains all you need to know.
4305Using readable streamsAPI, Controller, Fetch, Guide, ReadableStreams, Streams, pipe chains, readable streams, reader, tee
As a JavaScript developer, programmatically reading and manipulating streams of data received over the network, chunk by chunk, is very useful! But how do you use the Streams API’s readable stream functionality? This article explains the basics.
4306Using writable streamsAPI, Controller, Guide, Streams, WritableStream, writable streams, writer
As a JavaScript developer, programmatically writing data to a stream is very useful! This article explains the Streams API’s writable stream functionality.
4307StylePropertyMapAPI, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMap
The StylePropertyMap interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
4308StylePropertyMap.append()API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, append()
The append() method of the StylePropertyMap interface adds the passed CSS value to the StylePropertyMap with the given property.
4309StylePropertyMap.clear()API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, clear()
The clear() method of the StylePropertyMap interface removes all declarations in the StylePropertyMap.
4310StylePropertyMap.delete()API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, delete()
The delete() method of the StylePropertyMap interface removes the CSS declaration with the given property.
4311StylePropertyMap.set()API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, set()
The set() method of the StylePropertyMap interface changes the CSS declaration with the given property.
4312StylePropertyMapReadOnlyAPI, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMapReadOnly
The StylePropertyMapReadOnly interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. Retrieve an instance of this interface using Element.computedStyleMap.
4313StylePropertyMapReadOnly.entries()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, entries()
The StylePropertyMapReadOnly.entries() method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a Statements/for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
4314StylePropertyMapReadOnly.forEach()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, forEach()
The StylePropertyMapReadOnly.forEach() method executes a provided function once for each element of StylePropertyMapReadOnly.
4315StylePropertyMapReadOnly.get()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, get()
The get() method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
4316StylePropertyMapReadOnly.getAll()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, getAll()
The getAll() method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
4317StylePropertyMapReadOnly.has()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, has()
The has() method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the StylePropertyMapReadOnly object.
4318StylePropertyMapReadOnly.keys()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, keys()
The StylePropertyMapReadOnly.keys() method returns a new Array Iterator containing the keys for each item in StylePropertyMapReadOnly
4319StylePropertyMapReadOnly.sizeAPI, CSS Typed Object Model API, Experimental, Houdini, Property, Reference, StylePropertyMapReadOnly, size
The size read-only property of the StylePropertyMapReadOnly interface returns an unsinged long integer containing the size of the StylePropertyMapReadOnly object.
4320StylePropertyMapReadOnly.values()API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, values()
The StylePropertyMapReadOnly.values() method returns a new Array Iterator containing the values for each index in the StylePropertyMapReadOnly object.
4321StyleSheetAPI, CSS, CSSOM, DOM, Interface, Reference, StyleSheet
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.
4322StyleSheet.disabledAPI, CSS, CSSOM, Disabled, Property, Reference
The disabled property of the StyleSheet interface determines whether the style sheet is prevented from applying to the document.
4323Stylesheet.hrefAPI, CSSOM, Property, Reference
The href property of the StyleSheet interface returns the location of the style sheet.
4324StyleSheet.mediaAPI, CSSOM, Property, Reference
The media property of the StyleSheet interface specifies the intended destination media for style information. It is a read-only, array-like MediaList object and can be removed with deleteMedium() and added with appendMedium().
4325StyleSheet.ownerNodeAPI, CSSOM, NeedsSpecTable, Property, Reference
The ownerNode property of the StyleSheet interface returns the node that associates this style sheet with the document.
4326StyleSheet.parentStyleSheetAPI, CSSOM, NeedsSpecTable, Property, Reference
The parentStyleSheet property of the StyleSheet interface returns the style sheet, if any, that is including the given style sheet.
4327StyleSheet.titleAPI, CSSOM, NeedsSpecTable, Property, Reference
The title property of the StyleSheet interface returns the advisory title of the current style sheet.
4328StyleSheet.typeAPI, CSSOM, NeedsSpecTable, Property, Reference
The type property of the StyleSheet interface specifies the style sheet language for the given style sheet.
4329StyleSheetListAPI, CSSOM, NeedsContent, NeedsUpdate
The StyleSheetList interface represents a list of StyleSheet.
4330SubmitEventAPI, Form Submission, Forms, HTML DOM, Interface, Reference, SubmitEvent, Web, events, submit
The SubmitEvent interface defines the object used to represent an HTML form's HTMLFormElement.submit_event event. This event is fired at the form when the form's submit action is invoked.
4331SubmitEvent()API, Allocate, Constructor, Event, Forms, HTML DOM, Initialize, Reference, SubmitEvent, submit
The SubmitEvent() constructor creates and returns a new SubmitEvent object, which is used to represent a HTMLFormElement.submit_event event fired at an HTML form.
4332SubmitEvent.submitterAPI, Forms, HTML, HTML DOM, Property, Read-only, Reference, SubmitEvent, submission, submitter
The read-only submitter property found on the SubmitEvent interface specifies the submit button or other element that was invoked to cause the form to be submitted.
4333SubtleCryptoAPI, Advanced, Cryptography, Encryption, Interface, Reference, SubtleCrypto, Web Crypto API
The SubtleCrypto interface of the Web Crypto API provides a number of low-level cryptographic functions. Access to the features of SubtleCrypto is obtained through the Crypto.subtle property of the Crypto object you get from Window.crypto.
4334SubtleCrypto.decrypt()API, Decrypt, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API
The decrypt() method of the SubtleCrypto interface decrypts some encrypted data. It takes as arguments a key to decrypt with, some optional extra parameters, and the data to decrypt (also known as "ciphertext"). It returns a Promise which will be fulfilled with the decrypted data (also known as "plaintext").
4335SubtleCrypto.deriveBits()API, Crypto, Method, Reference, SubtleCrypto, deriveBits
The deriveBits() method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
4336SubtleCrypto.deriveKey()API, Crypto, Method, Reference, SubtleCrypto, Web, deriveKey
The deriveKey() method of the SubtleCrypto interface can be used to derive a secret key from a master key.
4337SubtleCrypto.digest()API, Method, Reference, SubtleCrypto, WebCrypto API, digest
The digest() method of the SubtleCrypto interface generates a digest of the given data. A digest is a short fixed-length value derived from some variable-length input. Cryptographic digests should exhibit collision-resistance, meaning that it's hard to come up with two different inputs that have the same digest value.
4338SubtleCrypto.encrypt()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, encrypt
The encrypt() method of the SubtleCrypto interface encrypts data.
4339SubtleCrypto.exportKey()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, exportKey
The exportKey() method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.
4340SubtleCrypto.generateKey()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, generateKey
Use the generateKey() method of the SubtleCrypto interface to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
4341SubtleCrypto.importKey()API, Method, Reference, SubtleCrypto, Web Crypto API, importKey
The importKey() method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
4342SubtleCrypto.sign()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, sign
The sign() method of the SubtleCrypto interface generates a digital signature.
4343SubtleCrypto.unwrapKey()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, unwrapKey
The unwrapKey() method of the SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web Crypto API.
4344SubtleCrypto.verify()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, verify
The verify() method of the SubtleCrypto interface verifies a digital signature.
4345SubtleCrypto.wrapKey()API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, wrapKey
The wrapKey() method of the SubtleCrypto interface "wraps" a key. This means that it exports the key in an external, portable format, then encrypts the exported key. Wrapping a key helps protect it in untrusted environments, such as inside an otherwise unprotected data store or in transmission over an unprotected network.
4346SVGAElementAPI, Reference, SVG, SVGAElement
The SVGAElement interface provides access to the properties of a element, as well as methods to manipulate them.
4347SVGAElement.targetAPI, NeedsBrowserCompatibility, Property, Reference, SVG
The SVGAElement.target read-only property of SVGAElement returns an SVGAnimatedString object that specifies the portion of a target window, frame, pane into which a document is to be opened when a link is activated.
4348SVGAltGlyphDefElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGAltGlyphDefElement interface corresponds to the altGlyphDef element.
4349SVGAltGlyphElementAPI, Deprecated, NeedsExample, Reference, SVG, SVGAltGlyphElement
The SVGAltGlyphElement interface represents an altglyph element. This interface makes it possible to implement more sophisticated and particular glyph characters. For some textal representations as: ligatures (e.g. æ, ß, etc ), special-purpose fonts (e.g. musical symbols) or even alternate glyphs such as Asian text strings it is required that a different set of glyphs be used than the normal given character data.
4350format
The SVGAltGlyphElement.format property is a DOMString that defines the format of the given font. It has the same meaning as the 'format' property of SVGGlyphRefElement property. If the font is in one of the formats listed in CSS2([CSS2], section15.3.5), then its value is the corresponding <string> parameter of the font.
4351SVGAltGlyphElement.glyphRefAPI, Deprecated, Property, Reference, SVG, SVGAltGlyphElement, SVGAltGlyphRefElement
The SVGAltGlyphElement.glyphRef property is a DOMString representing a glyph identifier. It has the same meaning as the ‘glyphRef’ property on the SVGGlyphRefElement interface of the glyphRef element.
4352SVGAltGlyphItemElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGAltGlyphItemElement interface corresponds to the altGlyphItem element.
4353SVGAngleAPI, Reference, SVG, SVG DOM
The SVGAngle interface is used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only.
4354SVGAnimateColorElementAPI, Deprecated, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimateColorElement interface corresponds to the animateColor element.
4355SVGAnimatedAngleAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedAngle interface is used for attributes of basic type <angle> which can be animated.
4356SVGAnimatedBooleanAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.
4357SVGAnimatedEnumerationAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated.
4358SVGAnimatedIntegerAPI, NeedsBrowserCompatibility, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated.
4359SVGAnimatedLengthAPI, Reference, Référence(2), SVG
The SVGAnimatedLength interface is used for attributes of basic type <length> which can be animated.
4360SVGAnimatedLengthListAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedLengthList interface is used for attributes of type SVGLengthList which can be animated.
4361SVGAnimatedNumberAPI, HTML, NeedsExample, SVG, SVG DOM
The SVGAnimatedNumber interface is used for attributes of basic type <Number> which can be animated.
4362SVGAnimatedNumberListAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated.
4363SVGAnimatedPointsAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute.
4364SVGAnimatedPreserveAspectRatioAPI, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedPreserveAspectRatio interface is used for attributes of type SVGPreserveAspectRatio which can be animated.
4365SVGAnimatedRectAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated.
4366SVGAnimatedStringAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this.
4367SVGAnimatedString.animVal
AnimVal attribute or animVal property contains the same value as the baseVal property.If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal
4368SVGAnimatedString.baseVal
BaseVal gets or sets the base value of the given attribute before any animations are applied.The base value of the given attribute before applying any animations. Setter throws DOMException.
4369SVGAnimatedTransformListAPI, Reference, Référence(2), SVG, SVG DOM
The SVGAnimatedTransformList interface is used for attributes which take a list of numbers and which can be animated.
4370SVGAnimateElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimateElement interface corresponds to the animate element.
4371SVGAnimateMotionElementAPI, Reference, SVG, SVG DOM
The SVGAnimateMotionElement interface corresponds to the animateMotion element.
4372SVGAnimateTransformElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimateTransformElement interface corresponds to the animateTransform element.
4373SVGAnimationElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement, SVGSetElement, SVGAnimateColorElement, SVGAnimateMotionElement and SVGAnimateTransformElement.
4374SVGAnimationElement: beginEvent eventAPI, Reference, SVG Animation, SVGAnimationElement, beginEvent, events
The beginEvent event of the SVGAnimationElement interface is fired when the element local timeline begins to play. It will be raised each time the element begins the active duration (i.e., when it restarts, but not when it repeats).
4375SVGAnimationElement: endEvent eventAPI, Reference, SMIL, SVG animations, SVGAnimationElement, events
The endEvent event of the SVGAnimationElement interface is fired when at the active end of the animation is reached.
4376SVGAnimationElement.onbeginAPI, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGAnimationElement.onbegin property refers to the event handler for the beginEvent.
4377SVGAnimationElement.onendAPI, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGAnimationElement.onend property refers to the event handler for the endEvent.
4378SVGAnimationElement.onrepeatAPI, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGAnimationElement.onrepeat property refers to the event handler for the repeatEvent.
4379SVGAnimationElement: repeatEvent eventAPI, Reference, SMIL, SVG animations, SVGAnimationElement, events
The repeatEvent event of the SVGAnimationElement interface is fired when the element's local timeline repeats. It will be fired each time the element repeats, after the first iteration.
4380targetElementAPI, DOM, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGAnimationElement.targetElement property refers to the element which is being animated. If no target element is being animated (for example, because the href attribute specifies an unknown element), the value returned is null.
4381SVGCircleElementAPI, DOM, Interface, JavaScript, SVG, SVGCircleElement
The SVGCircleElement interface is an interface for the circle element.
4382cxAPI, Property, Reference, SVG, SVGCircleElement, cx
The cx read-only property of the SVGCircleElement interface reflects the cx attribute of a circle element and by that defines the x-coordinate of the circleʼs center.
4383cyAPI, Property, Reference, SVG, SVGCircleElement, cy
The cy read-only property of the SVGCircleElement interface reflects the cy attribute of a circle element and by that defines the y-coordinate of the circleʼs center.
4384rAPI, Property, Reference, SVG, SVGCircleElement, r
The r read-only property of the SVGCircleElement interface reflects the r attribute of a circle element and by that defines the radius of the circle.
4385SVGClipPathElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGClipPathElement interface provides access to the properties of clipPath elements, as well as methods to manipulate them.
4386SVGColorProfileElementAPI, Deprecated, NeedsExample, Reference, SVG, SVG DOM
The SVGColorProfileElement interface corresponds to the color-profile element.
4387SVGComponentTransferFunctionElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGComponentTransferFunctionElement interface defines a base interface used by the component transfer function interfaces.
4388SVGCursorElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGCursorElement interface provides access to the properties of cursor elements, as well as methods to manipulate them.
4389SVGDefsElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGDefsElement interface corresponds to the defs element.
4390SVGDescElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGDescElement interface corresponds to the desc element.
4391SVGElementAPI, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGElement
All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface.
4392SVGElement: abort eventAPI, Reference, SVGElement, abort, events
The abort event is fired when page loading is stopped before an SVG element has been allowed to load completely. This basically implements the standard abort DOM event.
4393SVGElement: error eventAPI, Error, Reference, SVGElement, events
The error event is fired when an SVG element does not load properly or when an error occurs during script execution.
4394SVGElement: load eventAPI, Reference, SVGElement, events, load
The load event fires on an SVGElement when it is loaded in the browser, e.g. in the DOM in the case of an embedded <svg>. It is basically the same as the standard load DOM event.
4395SVGElement: resize eventAPI, Reference, SVGElement, events, resize
The resize event is fired when an SVG document is being resized. This event is only applicable to outermost SVG elements and is dispatched after the resize operation has taken place.
4396SVGElement: scroll eventAPI, Reference, SVGElement, Scroll, events
The scroll event is fired when an SVG document view is being shifted along the X and/or Y axes. This basically implements the standard scroll DOM event.
4397SVGElement: unload eventAPI, Reference, SVGElement, events, unload
The unload event is fired when the DOM implementation removes an SVG document from a window or frame.
4398SVGEllipseElementAPI, Reference, SVG, SVG DOM
The SVGEllipseElement interface provides access to the properties of ellipse elements.
4399SVGEventAPI, Reference, SVG, WebAPI
The SVGEvent interface represents the event object for most SVG-related events.
4400SVGExternalResourcesRequiredAPI, Deprecated, Reference, SVG, SVG DOM
The SVGExternalResourcesRequired interface defines an interface which applies to all elements where this element or one of its descendants can reference an external resource.
4401SVGFEBlendElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEBlendElement interface corresponds to the feBlend element.
4402SVGFEColorMatrixElementAPI, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Reference, SVG, SVG DOM
The SVGFEColorMatrixElement interface corresponds to the feColorMatrix element.
4403SVGFEComponentTransferElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEComponentTransferElement interface corresponds to the feComponentTransfer element.
4404SVGFECompositeElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFECompositeElement interface corresponds to the feComposite element.
4405SVGFEConvolveMatrixElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEConvolveMatrixElement interface corresponds to the feConvolveMatrix element.
4406SVGFEDiffuseLightingElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEDiffuseLightingElement interface corresponds to the feDiffuseLighting element.
4407SVGFEDisplacementMapElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEDisplacementMapElement interface corresponds to the feDisplacementMap element.
4408SVGFEDistantLightElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEDistantLightElement interface corresponds to the feDistantLight element.
4409SVGFEDropShadowElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEDropShadowElement interface corresponds to the feDropShadow element.
4410SVGFEFloodElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEFloodElement interface corresponds to the feFlood element.
4411SVGFEFuncAElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEFuncAElement interface corresponds to the feFuncA element.
4412SVGFEFuncBElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEFuncBElement interface corresponds to the feFuncB element.
4413SVGFEFuncGElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEFuncGElement interface corresponds to the feFuncG element.
4414SVGFEFuncRElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEFuncRElement interface corresponds to the feFuncR element.
4415SVGFEGaussianBlurElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEGaussianBlurElement interface corresponds to the feGaussianBlur element.
4416SVGFEImageElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEImageElement interface corresponds to the feImage element.
4417SVGFEMergeElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEMergeElement interface corresponds to the feMerge element.
4418SVGFEMergeNodeElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEMergeNodeElement interface corresponds to the feMergeNode element.
4419SVGFEMorphologyElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEMorphologyElement interface corresponds to the feMorphology element.
4420SVGFEOffsetElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEOffsetElement interface corresponds to the feOffset element.
4421SVGFEPointLightElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFEPointLightElement interface corresponds to the fePointLight element.
4422SVGFESpecularLightingElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFESpecularLightingElement interface corresponds to the feSpecularLighting element.
4423SVGFESpotLightElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFESpotLightElement interface corresponds to the feSpotLight element.
4424SVGFETileElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFETileElement interface corresponds to the feTile element.
4425SVGFETurbulenceElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFETurbulenceElement interface corresponds to the feTurbulence element.
4426SVGFilterElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFilterElement interface provides access to the properties of filter elements, as well as methods to manipulate them.
4427SVGFilterPrimitiveStandardAttributesAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGFilterPrimitiveStandardAttributes interface defines the set of DOM attributes that are common across the filter primitive interfaces.
4428SVGFontElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontElement interface corresponds to the font elements.
4429SVGFontFaceElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontFaceElement interface corresponds to the font-face elements.
4430SVGFontFaceFormatElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontFaceFormatElement interface corresponds to the font-face-format elements.
4431SVGFontFaceNameElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontFaceNameElement interface corresponds to the font-face-name elements.
4432SVGFontFaceSrcElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontFaceSrcElement interface corresponds to the font-face-src elements.
4433SVGFontFaceUriElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGFontFaceUriElement interface corresponds to the font-face-uri elements.
4434SVGForeignObjectElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGForeignObjectElement interface provides access to the properties of foreignObject elements, as well as methods to manipulate them.
4435SVGGElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGGElement interface corresponds to the g element.
4436SVGGeometryElementAPI, DOM, NeedsExample, Reference, SVG, SVG DOM
The SVGGeometryElement interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.
4437SVGGeometryElement.getPointAtLength()API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM
The SVGGeometryElement.getPointAtLength() method returns the point at a given distance along the path.
4438SVGGeometryElement.getTotalLength()API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM
The SVGGeometryElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units.
4439SVGGeometryElement.isPointInFill()API, DOM, Method, Reference, SVG, SVG DOM
The SVGGeometryElement.isPointInFill() method determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the fill. The point argument is interpreted as a point in the local coordinate system of the element.
4440SVGGeometryElement.isPointInStroke()API, DOM, Method, Reference, SVG, SVG DOM
The SVGGeometryElement.isPointInStroke() method determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke. The point argument is interpreted as a point in the local coordiante system of the element.
4441SVGGeometryElement.pathLengthAPI, DOM, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGGeometryElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units.
4442SVGGlyphElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGGlyphElement interface corresponds to the glyph element.
4443SVGGlyphRefElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGGlyphRefElement interface corresponds to the glyphRef elements.
4444SVGGradientElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
4445SVGGraphicsElementAPI, NeedsExample, Reference, SVG, SVG OM
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
4446SVGGraphicsElement: copy eventAPI, Event, Reference, SVG, SVG OM
The copy event fires on SVGGraphicsElement when the user initiates a copy action through the browser's user interface.
4447SVGGraphicsElement: cut eventAPI, Event, NeedsExample, Reference, SVG, SVG OM
The cut event is fired on an SVGGraphicsElement when the user has initiated a "cut" action through the browserʼs user interface.
4448getBBox()API, Method, Reference, SVG, SVG DOM, SVGGraphicsElement
The SVGGraphicsElement.getBBox() allows us to determine the coordinates of the smallest rectangle in which the object fits. The coordinates returned are with respect to the current SVG space (after the application of all geometry attributes on all the elements contained in the target element).
4449SVGGraphicsElement: paste eventAPI, Event, Reference, SVG, SVG OM
The paste event is fired on an SVGGraphicsElement when the user has initiated a "paste" action through the browser's user interface.
4450SVGHKernElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGHKernElement interface corresponds to the hkern elements.
4451SVGImageElementAPI, Image, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement
The SVGImageElement interface corresponds to the image element.
4452SVGImageElement.decodeAPI, Decode, Experimental, Image, Method, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement, asynchronous
The decode() method of the SVGImageElement interface initiates asynchronous decoding of an image, returning a Promise that
4453SVGImageElement.decodingAPI, Image, Property, Reference, SVG, SVG DOM, SVGImageElement, decoding
The decoding property of the SVGImageElement interface represents a hint given to the browser on how it should decode the image.
4454SVGImageElement.heightAPI, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, height
The height read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the height attribute of the given image element.
4455SVGImageElement.preserveAspectRatioAPI, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, preserveAspectRatio
The preserveAspectRatio read-only property of the SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given image element.
4456SVGImageElement.widthAPI, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, width
The width read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the width attribute of the given image element.
4457SVGImageElement.xAPI, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, x
The x read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the x attribute of the given image element.
4458SVGImageElement.yAPI, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, y
The y read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the y attribute of the given image element.
4459SVGLengthAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGLength interface correspond to the <length> basic data type.
4460SVGLengthListAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGLengthList defines a list of SVGLength objects.
4461SVGLinearGradientElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGLinearGradientElement interface corresponds to the linearGradient element.
4462SVGLineElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGLineElement interface provides access to the properties of line elements, as well as methods to manipulate them.
4463SVGMaskElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGMaskElement interface provides access to the properties of mask elements, as well as methods to manipulate them.
4464SVGMatrixAPI, Deprecated, Reference, SVG, SVG DOM
Many of SVG's graphics operations utilize 2x3 matrices of the form:
4465SVGMetadataElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGMetadataElement interface corresponds to the metadata element.
4466SVGMissingGlyphElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGMissingGlyphElement interface corresponds to the missing-glyph elements.
4467SVGMPathElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGMPathElement interface corresponds to the mpath element.
4468SVGNumberAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGNumber interface corresponds to the <number> basic data type.
4469SVGNumberListAPI, Reference, Référence(2), SVG, SVG DOM
The SVGNumberList defines a list of SVGNumber objects.
4470SVGPathElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGPathElement interface corresponds to the path element.
4471SVGPathElement.getPointAtLength()API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM
The SVGPathElement.getPointAtLength() method returns the point at a given distance along the path.
4472SVGPathElement.getTotalLength()API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM
The SVGPathElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units.
4473SVGPathElement.pathLengthAPI, DOM, Deprecated, NeedsExample, Property, Reference, SVG, SVG DOM
The SVGPathElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units.
4474SVGPatternElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGPatternElement interface corresponds to the pattern element.
4475SVGPointAPI, DOM, NeedsContent, SVG
An SVGPoint represents a 2D or 3D point in the SVG coordinate system.
4476SVGPolygonElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGPolygonElement interface provides access to the properties of polygon elements, as well as methods to manipulate them.
4477SVGPolylineElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGPolylineElement interface provides access to the properties of polyline elements, as well as methods to manipulate them.
4478SVGPreserveAspectRatioAPI, Reference, Référence(2), SVG, SVG DOM
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
4479SVGRadialGradientElementAPI, Reference, SVG, SVG DOM
The SVGRadialGradientElement interface corresponds to the RadialGradient element.
4480SVGRectAPI, Reference, SVG, SVG DOM
The SVGRect represents a rectangle. Rectangles consist of an x and y coordinate pair identifying a minimum x value, a minimum y value, and a width and height, which are constrained to be non-negative.
4481The 'X' property
The x property describes the horizontal coordinate of the position of the element.
4482SVGRectElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGRectElement interface provides access to the properties of rect elements, as well as methods to manipulate them.
4483SVGRenderingIntentAPI, Deprecated, Reference, SVG, SVG DOM
The SVGRenderingIntent interface defines the enumerated list of possible values for rendering-intent attributes or descriptors.
4484SVGScriptElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGScriptElement interface corresponds to the SVG script element.
4485SVGSetElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGSetElement interface corresponds to the set element.
4486SVGSolidcolorElementAPI, Experimental, NeedsExample, Reference, SVG, SVG DOM
The SVGSolidcolorElement interface corresponds to the solidcolor element.
4487SVGStopElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGStopElement interface corresponds to the stop element.
4488SVGStringListAPI, Reference, SVG, SVG DOM
The SVGStringList defines a list of DOMString objects.
4489SVGStylableAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style, class and presentation attributes specified on them.
4490SVGStyleElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGStyleElement interface corresponds to the SVG style element.
4491SVGSVGElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGSVGElement interface provides access to the properties of svg elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
4492SVGSwitchElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGSwitchElement interface corresponds to the switch element.
4493SVGSymbolElementAPI, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGSymbolElement
The SVGSymbolElement interface corresponds to the symbol element.
4494SVGTestsAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTests interface is used to reflect conditional processing attributes and is mixed into other interfaces for elements that support these attributes.
4495SVGTextContentElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTextContentElement interface is implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement.
4496SVGTextElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTextElement interface corresponds to the text elements.
4497SVGTextPathElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTextPathElement interface corresponds to the textPath element.
4498SVGTextPositioningElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTextPositioningElement interface is implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement.
4499SVGTitleElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTitleElement interface corresponds to the title element.
4500SVGTransformAPI, Reference, Référence(2), SVG, SVG DOM
SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.
4501SVGTransformableAPI, NeedsExample, Reference, Référence(2), SVG, SVG DOM
Interface SVGTransformable contains properties and methods that apply to all elements which have attribute transform.
4502SVGTransformListAPI, Reference, Référence(2), SVG, SVG DOM
The SVGTransformList defines a list of SVGTransform objects.
4503SVGTRefElementAPI, Deprecated, NeedsExample, Reference, SVG, SVG DOM
The SVGTRefElement interface corresponds to the tref elements.
4504SVGTSpanElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGTSpanElement interface represents a tspan element.
4505SVGUnitTypesAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGUnitTypes interface defines a commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes.
4506SVGURIReferenceAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGURIReference interface is used to reflect the href attribute and the deprecated xlink:href attribute.
4507SVGUseElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGUseElement interface corresponds to the use element.
4508SVGViewElementAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGViewElement interface provides access to the properties of view elements, as well as methods to manipulate them.
4509SVGVKernElementAPI, Deprecated, Reference, SVG, SVG DOM
The SVGVKernElement interface corresponds to the vkern elements.
4510SVGZoomAndPanAPI, NeedsExample, Reference, SVG, SVG DOM
The SVGZoomAndPan interface is used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute.
4511SyncEventAPI, Background Sync, Interface, Non-standard, Offline, Reference, ServiceWorker, SyncEvent, Workers
The SyncEvent interface represents a sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. 
4512SyncEvent.lastChanceAPI, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, lastChance
The SyncEvent.lastChance read-only property of the SyncEvent interface returns true if the user agent will not make further synchronization attempts after the current attempt. This is the value passed in the lastChance parameter of the SyncEvent.SyncEvent constructor.
4513registrationDOM, Junk, Property
The registration read-only property of the SyncEvent interface returns a reference to a SyncRegistration object.
4514SyncEvent.SyncEvent()API, Background Sync, Constructor, Experimental, Reference, ServiceWorker, SyncEvent
The SyncEvent() constructor creates a new SyncEvent object.
4515SyncEvent.tagAPI, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, tag
The SyncEvent.tag read-only property of the SyncEvent interface returns the developer-defined identifier for this SyncEvent. This is the value passed in the tag parameter of the SyncEvent.SyncEvent constructor.
4516SyncManagerAPI, Interface, Non-standard, Reference, ServiceWorker, SyncManager
The SyncManager interface of the ServiceWorker API provides an interface for registering and listing sync registrations.
4517SyncManager.getTags()API, Experimental, Method, Reference, ServiceWorker, SyncManager, getTags
The SyncManager.getTags method of the SyncManager interface returns a list of developer-defined identifiers for SyncManager registrations.
4518SyncManager.register()API, Experimental, Method, Reference, ServiceWorker, SyncManager, register
The SyncManager.register method of the SyncManager interface returns a Promise that resolves to a SyncRegistration instance.
4519TaskAttributionTimingAPI, Experimental, Interface, Long Tasks API, Performance, TaskAttributionTiming
The TaskAttributionTiming interface of the Long Tasks API returns information about the work involved in a long task and its associate frame context. The frame context, also called the container, is the iframe, embed or object that is being implicated, on the whole, for a long task.
4520TaskAttributionTiming.containerIdAPI, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
The containerId readonly property of the TaskAttributionTiming interface returns the container's id attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4521TaskAttributionTiming.containerNameAPI, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
The containerName readonly property of the TaskAttributionTiming interface returns the container's name attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4522TaskAttributionTiming.containerSrcAPI, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
The containerSrc readonly property of the TaskAttributionTiming interface returns the container's src attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4523TaskAttributionTiming.containerTypeAPI, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
The containerType readonly property of the TaskAttributionTiming interface returns the type of frame container, one of iframe, embed, or object.
4524TextAPI, DOM, Interface, Reference
The Text interface represents the textual content of Element or Attr.
4525HTMLSlotElement.assignedSlotAPI, Property, Reference, Text, assignedSlot, shadow dom
The assignedSlot property of the Text interface returns the HTMLSlotElement object associated with the element.
4526Text.isElementContentWhitespaceAPI, DOM, Obsolete, Property, Text
The Text.isElementContentWhitespace read-only property returns a Boolean flag indicating whether or not the text node's content consists solely of whitespace.
4527Text.replaceWholeText()API, DOM, Method, Obsolete, Text
The Text.replaceWholeText() method replaces the text of the node and all of its logically adjacent text nodes with the specified text. The replaced nodes are removed, including the current node, unless it was the recipient of the replacement text.
4528Text.splitText()API, DOM, Method, Text, splitText
The Text.splitText() method breaks the Text node into two nodes at the specified offset, keeping both nodes in the tree as siblings.
4529Text()API, Constructor, DOM, Experimental, Reference, Text
The Text() constructor returns a newly created Text object with the optional DOMString given in parameter as its textual content.
4530Text.wholeTextAPI, DOM, Property, Text
The Text.wholeText read-only property returns the full text of all Text nodes logically adjacent to the node.
4531TextDecoderAPI, DOM, Encoding, Experimental, Interface, Reference, TextDecoder
The TextDecoder interface represents a decoder for a specific text encoding, such as UTF-8, ISO-8859-2, KOI8-R, GBK, etc. A decoder takes a stream of bytes as input and emits a stream of code points.
4532TextDecoder.prototype.decode()API, Encoding, Experimental, Method, TextDecoder
The TextDecoder.prototype.decode() method returns a DOMString containing the text, given in parameters, decoded with the specific method for that TextDecoder object.
4533TextDecoder.prototype.encodingAPI, Encoding, Experimental, Property, Read-only, TextDecoder
The TextDecoder.prototype.encoding read-only property returns a DOMString containing the name of the decoding algorithm used by the specific decoder.
4534TextDecoder()API, Constructor, Encoding, Experimental, Reference, TextDecoder
The TextDecoder() constructor returns a newly created TextDecoder object for the encoding specified in parameter.
4535TextEncoderAPI, Encoding, Experimental, Interface, Reference, TextEncoder
TextEncoder takes a stream of code points as input and emits a stream of UTF-8 bytes.
4536TextEncoder.prototype.encode()API, Encoding, Method, Reference, TextEncoder, encode
The TextEncoder.prototype.encode() method takes a USVString as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
4537TextEncoder.prototype.encodeInto()API, Experimental, Method, Reference, TextEncoder, encodeInto
The TextEncoder.prototype.encodeInto() method takes a USVString to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding. This is potentially more performant than the older encode() method especially when the target buffer is a view into a Wasm heap.
4538TextEncoder.encodingAPI, Encoding, Property, Read-only, Reference, TextEncoder
The TextEncoder.encoding read-only property returns a DOMString containing the name of the encoding algorithm used by the specific encoder.
4539TextEncoder()API, Constructor, Encoding, Reference, TextEncoder
The TextEncoder() constructor returns a newly created utf-8 TextEncoder object.
4540TextMetricsAPI, Canvas, Reference, TextMetrics
The TextMetrics interface represents the dimensions of a piece of text in the canvas; a TextMetrics instance can be retrieved using the CanvasRenderingContext2D.measureText() method.
4541TextMetrics.actualBoundingBoxAscentAPI, Experimental, Property, Reference, TextMetrics
The read-only actualBoundingBoxAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the bounding rectangle used to render the text, in CSS pixels.
4542TextMetrics.actualBoundingBoxDescentAPI, Experimental, Property, Reference, TextMetrics
The read-only actualBoundingBoxDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle used to render the text, in CSS pixels.
4543TextMetrics.actualBoundingBoxLeftAPI, Experimental, Property, Reference, TextMetrics
The read-only actualBoundingBoxLeft property of the TextMetrics interface is a double giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the left side of the bounding rectangle of the given text, in CSS pixels.
4544TextMetrics.actualBoundingBoxRightAPI, Experimental, Property, Reference, TextMetrics
The read-only actualBoundingBoxRight property of the TextMetrics interface is a double giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the right side of the bounding rectangle of the given text, in CSS pixels.
4545TextMetrics.alphabeticBaselineAPI, Experimental, Property, Reference, TextMetrics
The read-only alphabeticBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the alphabetic baseline of the line box, in CSS pixels.
4546TextMetrics.emHeightAscentAPI, Experimental, Property, Reference, TextMetrics
The read-only emHeightAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the top of the em square in the line box, in CSS pixels.
4547TextMetrics.emHeightDescentAPI, Experimental, Property, Reference, TextMetrics
The read-only emHeightDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the bottom of the em square in the line box, in CSS pixels.
4548TextMetrics.fontBoundingBoxAscentAPI, Experimental, Property, Reference, TextMetrics
The read-only fontBoundingBoxAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the highest bounding rectangle of all the fonts used to render the text, in CSS pixels.
4549TextMetrics.fontBoundingBoxDescentAPI, Experimental, Property, Reference, TextMetrics
The read-only fontBoundingBoxDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle of all the fonts used to render the text, in CSS pixels.
4550TextMetrics.hangingBaselineAPI, Experimental, Property, Reference, TextMetrics
The read-only hangingBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the hanging baseline of the line box, in CSS pixels.
4551TextMetrics.ideographicBaselineAPI, Experimental, Property, Reference, TextMetrics
The read-only ideographicBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the ideographic baseline of the line box, in CSS pixels.
4552TextMetrics.widthAPI, Canvas, Property, Reference, TextMetrics
The read-only width property of the TextMetrics interface contains the text's advance width (the width of that inline box) in CSS pixels.
4553TextRangeAPI, DHTML, DOM, TextRange
TextRange object represents a fragment of text in a document, similar to the standard defined Range interface.
4554TextTrackAPI, Interface, Media, Reference, TextTrack, Web, WebVTT
The TextTrack interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular track element.
4555TextTrack: cuechange eventAPI, Event, Reference, TextTrack, WebVTT, cuechange, oncuechange, track
The cuechange event fires when a TextTrack has changed the currently displaying cues.
4556TextTrack.modeAccessibility, NeedsExample, Property, TextTrack, Web, WebVTT, mode
The TextTrack interface's mode property is a string specifying and controlling the text track's mode: disabled, hidden, or showing.
4557TextTrackCueAPI, Accessibility, Draft, HTML5, Interface, Media, NeedsContent, TextTrack, TextTrackCue, WebVTT, a11y, cue, track, vtt
TextTrackCue is an abstract class which is used as the basis for the various derived cue types, such as VTTCue; you will instead work with those derived types.
4558TextTrackListAPI, HTML DOM, HTMLMediaElement, Interface, Media, Reference, TextTrackList, Track List, Tracks, list
The TextTrackList interface is used to represent a list of the text tracks defined by the track element, with each track represented by a separate textTrack object in the list.
4559TextTrackList: addtrack eventAPI, Reference, TextTrack, TextTrackList, addTrack, addTrack Event, events
The addtrack event is fired when a track is added to a TextTrackList.
4560TextTrackList: change eventEvent, TextTrack, TextTrackList, change event
The change event is fired when a text track is made active or inactive, or a textTrackList is otherwise changed.
4561getTrackById()API, HTML DOM, HTMLMediaElement, Media, Method, Reference, TextTrack, TextTrackList, Track ID, Track List, Tracks, getTrackById, id, track
The TextTrackList method getTrackById() returns the first TextTrack object from the track list whose id matches the specified string.
4562TextTrackList.lengthAPI, HTML DOM, Media, Property, Read-only, Reference, TextTrackList, length, list, track
The read-only TextTrackList property length returns the number of entries in the TextTrackList, each of which is a TextTrack representing one track in the media element.
4563TextTrackList.onaddtrackAPI, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, addTrack, onaddtrack, track
The TextTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new text track has been added to the media element whose text tracks the TextTrackList represents.
4564TextTrackList.onchangeAPI, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, TextTrack, TextTrackList, addTrack, onchange, text track, track
The TextTrackList property onchange is an event handler which is called when the change event occurs, indicating that a change has occurred on a TextTrack in the VideoTrackList.
4565TextTrackList.onremovetrackAPI, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, TextTrack, TextTrackList, VideoTrackList, onremovetrack, remove, removeTrack, track
The TextTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a text track has been removed from the media element, and therefore also from the TextTrackList.
4566TextTrackList: removeTrack eventAPI, Media Streams API, MediaStreamTrackEvent, Reference, Removing Tracks, events, removeTrack
The removetrack event is fired when a track is removed from a TextTrackList.
4567TimeEventAPI, Interface, NeedsMarkupWork, SVG
The TimeEvent interface, a part of SVG SMIL animation, provides specific contextual information associated with Time events.
4568TimeRangesAPI, HTML DOM, Interface, Media, NeedsExample, Reference
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the audio and video elements.
4569TimeRanges.end()API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges
Returns the time offset at which a specified time range ends.
4570TimeRanges.lengthAPI, HTML DOM, Media, Property, Read-only, Reference, TimeRanges
The TimeRanges.length read-only property returns the number of ranges in the object.
4571TimeRanges.start()API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges
Returns the time offset at which a specified time range begins.
4572Touch eventsAdvanced, DOM, Event, Guide, Mobile, Overview, touch
To provide quality support for touch-based user interfaces, touch events offer the ability to interpret finger (or stylus) activity on touch screens or trackpads.
4573Multi-touch interactionGuide, TouchEvent, touch
Touch Events
4574Supporting both TouchEvent and MouseEventGuide, TouchEvent, touch
Touch Events
4575Using Touch EventsGuide, TouchEvent, touch
Touch Events
4576TouchAPI, DOM, Interface, Reference, TouchEvent, touch
The Touch interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.
4577Touch.clientXAPI, DOM, Property, Read-only, Reference, touch
The Touch.clientX read-only property returns the X coordinate of the touch point relative to the viewport, not including any scroll offset.
4578Touch.clientYAPI, DOM, Property, Read-only, Reference, touch
The Touch.clientY read-only property returns the Y coordinate of the touch point relative to the browser's viewport, not including any scroll offset.
4579Touch.forceAPI, Experimental, Property, Read-only, touch
The Touch.force read-only property returns the amount of pressure the user is applying to the touch surface for a Touch point.
4580Touch.identifierAPI, DOM, Identifier, Property, Read-only, Reference, touch
The Touch.identifier returns a value uniquely identifying this point of contact with the touch surface. This value remains consistent for every event involving this finger's (or stylus's) movement on the surface until it is lifted off the surface.
4581msManipulationViewsEnabledmsManipulationViesEnabled
The msManipulationViewsEnabled read-only property returns true if manipulation features are support available, such as touch panning and zooming using CSS rules.
4582Touch.pageXAPI, Property, Read-only, Reference, touch
The Touch.pageX read-only property returns the X coordinate of the touch point relative to the viewport, including any scroll offset.
4583Touch.pageYAPI, Property, Read-only, Reference, touch
The Touch.pageY read-only property returns the Y coordinate of the touch point relative to the viewport, including any scroll offset.
4584Touch.radiusXAPI, DOM, Experimental, Mobile, Property, touch
Returns the X radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX.
4585Touch.radiusYAPI, DOM, Experimental, Mobile, Property, touch
Returns the Y radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX.
4586Touch.rotationAngleAPI, DOM, Experimental, Mobile, Property, touch
Returns the rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY. The value may be between 0 and 90. Together, these three values describe an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a relatively large ellipse representing the contact between a fingertip and the screen or a small area representing the tip of a stylus, for example.
4587Touch.screenXAPI, DOM, Mobile, Property, touch
Returns the X coordinate of the touch point relative to the screen, not including any scroll offset.
4588Touch.screenYAPI, DOM, Mobile, Property, touch
Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
4589Touch.targetAPI, DOM, EventTarget, Mobile, Property, touch
Returns the Element (EventTarget) on which the touch contact started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that element or even been removed from the document. Note that if the target element is removed from the document, events will still be targeted at it, and hence won't necessarily bubble up to the window or document anymore. If there is any risk of an element being removed while it is being touched, the best practice is to attach the touch listeners directly to the target.
4590Touch()API, Constructor, Experimental, Reference, touch
The Touch() constructor creates a new Touch object.
4591TouchEventAPI, DOM, Interface, Reference, TouchEvent, touch
The TouchEvent interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.
4592TouchEvent.altKeyAPI, DOM, Mobile, Property, TouchEvent, touch
A Boolean value indicating whether or not the alt (Alternate) key is enabled when the touch event is created. If the alt key is enabled, the attribute's value is true. Otherwise, it is false.
4593TouchEvent.changedTouchesAPI, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
The changedTouches read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
4594TouchEvent.ctrlKeyAPI, DOM, Mobile, Property, TouchEvent, touch
A Boolean value indicating whether the control (Control) key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.
4595TouchEvent.metaKeyAPI, DOM, Mobile, Property, TouchEvent, touch
A Boolean value indicating whether or not the Meta key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.
4596TouchEvent.shiftKeyAPI, DOM, Mobile, Property, TouchEvent, touch
A Boolean value indicating whether or not the shift key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.
4597TouchEvent.targetTouchesAPI, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
The targetTouches read-only property is a TouchList listing all the Touch objects for touch points that are still in contact with the touch surface and whose touchstart event occurred inside the same target element as the current target element.
4598TouchEvent.touchesAPI, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
touches is a read-only TouchList listing all the Touch objects for touch points that are currently in contact with the touch surface, regardless of whether or not they've changed or what their target element was at touchstart time.
4599TouchEvent()API, Constructor, DOM, Reference, events, touch
The TouchEvent() constructor creates a new TouchEvent.
4600TouchListAPI, DOM, DOM Reference, Mobile, Reference, Touch Event, TouchList, touch
The TouchList interface represents a list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries.
4601TouchList.identifiedTouch()API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch
The identifiedTouch() method returns the first Touch item in the TouchList that matches the specified identifier.
4602TouchList.item()API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch
The item() method returns the Touch object at the specified index in the TouchList.
4603TouchList.lengthAPI, DOM, DOM Reference, Mobile, Property, Reference, TouchList, touch
The length read-only property indicates the number of items (touch points) in a given TouchList.
4604TrackDefaultAPI, Audio, Experimental, Interface, MSE, MediaSourceExtensions, Reference, TrackDefault, Video
The TrackDefault interface provides a SourceBuffer with kind, label, and language information for tracks that do not contain this information in the initialization segments of a media chunk.
4605TrackDefault.byteStreamTrackIDAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, byteStreamTrackID
The byteStreamTrackID read-only property of the TrackDefault interface returns the ID of the specific track that the SourceBuffer should apply to.
4606TrackDefault.kindsAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, kinds
The kinds read-only property of the TrackDefault interface returns default kinds for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track.
4607TrackDefault.labelAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, label
The label read-only property of the TrackDefault interface returns the default label for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track.
4608TrackDefault.languageAPI, Audio, Experimental, Language, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video
The language read-only property of the TrackDefault interface returns a default language for an associated SourceBuffer to use when an initialization segment does not contain language information for a new track.
4609TrackDefault.TrackDefault()API, Audio, Constructor, Experimental, MSE, Media Source Extensions, Reference, TrackDefault, Video
The TrackDefault() constructor of the TrackDefault interface constructs and returns a new TrackDefault object.
4610TrackDefault.typeAPI, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Type, Video
The type read-only property of the TrackDefault interface returns the type of track that this SourceBuffer's media segment data relates to (i.e. audio, video, or text track.)
4611TrackDefaultListAPI, Audio, Experimental, Extensions, Interface, MSE, Media, Reference, TrackDefaultList, Video, source
The TrackDefaultList interface represents a simple container list for multiple TrackDefault objects.
4612TrackDefaultList.lengthAPI, Audio, Experimental, Extensions, MSE, Media, Property, Reference, TrackDefaultList, Video, length, source
The length read-only property of the TrackDefaultList interface returns the number of TrackDefault objects in the list.
4613TrackDefaultList.TrackDefault()API, Audio, Extensions, Getter, MSE, Media, Method, Reference, Video, source
The TrackDefault() getter method of the TrackDefaultList interface allows the TrackDefault objects in the list to be accessed with an array operator (i.e. [].)
4614TrackDefaultList.TrackDefaultList()API, Audio, Constructor, Experimental, Extensions, MSE, Media, Reference, TrackDefaultList, Video, source
The TrackDefaultList() constructor of the TrackDefaultList interface constructs and returns a new TrackDefaultList object.
4615TrackEventAPI, Audio, HTML DOM, Interface, Media, Reference, TrackEvent, Video
The TrackEvent interface, which is part of the HTML DOM specification, is used for events which represent changes to a set of available tracks on an HTML media element; these events are addtrack and removetrack.
4616TrackEvent.trackAPI, Audio, Event, HTML DOM, Media, Property, Read-only, Reference, TrackEvent, Video, track
The read-only track property of the TrackEvent interface specifies the media track object to which the event applies.
4617TrackEvent()API, Audio, Constructor, HTML DOM, Media, Reference, TrackEvent, Tracks, Video
The TrackEvent() constructor creates and returns a new TrackEvent object describing an event which occurred on a list of tracks (AudioTrackList, VideoTrackList, or TextTrackList).
4618TransferableAPI, Interface, Reference, Transferable, Web Workers
The Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers.
4619TransformStreamStreams API
The TransformStream interface of the Streams API represents a set of transformable data.
4620TransitionEventAPI, CSS, CSS3 Transitions, CSSOM, Experimental, Reference
The TransitionEvent interface represents events providing information related to transitions.
4621TransitionEvent.transitionNameAPI, CSS, CSS3 Transitions, Experimental, Property, Reference, TransitionEvent
The TransitionEvent.transitionName read-only property is a DOMString containing the name of the CSS property associated with the transition.
4622TransitionEvent.elapsedTimeAPI, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent
The TransitionEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired. This value is not affected by the transition-delay property.
4623TransitionEvent.initTransitionEvent()API, CSS, CSS3 Transitions, CSSOM, Deprecated, Experimental, Method, Reference, TransitionEvent
The TransitionEvent.initTransitionEvent() method Initializes a transition event created using the deprecated Document.createEvent() method.
4624TransitionEvent.pseudoElementAPI, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent
The TransitionEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''.
4625TransitionEvent()API, CSS, CSS3 Transitions, CSSOM, Constructor, Experimental, Reference, TransitionEvent
The TransitionEvent() constructor returns a newly created TransitionEvent, representing an event in relation with an transition.
4626TreeWalkerAPI, DOM
The TreeWalker object represents the nodes of a document subtree and a position within them.
4627TreeWalker.currentNodeAPI, DOM, Property, TreeWalker
The TreeWalker.currentNode property represents the Node on which the TreeWalker is currently pointing at.
4628TreeWalker.expandEntityReferencesAPI, DOM, Obsolete, Property, TreeWalker
The TreeWalker.expandEntityReferences read-only property returns a Boolean flag indicating whether or not the children of entity reference nodes are visible to the TreeWalker.
4629TreeWalker.filterAPI, DOM, Property, TreeWalker
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
4630TreeWalker.firstChild()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
4631TreeWalker.lastChild()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
4632TreeWalker.nextNode()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed.
4633TreeWalker.nextSibling()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
4634TreeWalker.parentNode()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker's root node, returns null and the current node is not changed.
4635TreeWalker.previousNode()API, DOM, DOM Reference, Method, TreeWalker
The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
4636TreeWalker.previousSibling()API, DOM, DOM Reference, Method, TreeWalker, createTreeWalker, treeWalker.previousSibling
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
4637TreeWalker.rootAPI, DOM, Property, TreeWalker
The TreeWalker.root read-only property returns the node that is the root of what the TreeWalker traverses.
4638TreeWalker.whatToShowAPI, DOM, Property, TreeWalker
The TreeWalker.whatToShow read-only property returns an unsigned long being a bitmask made of constants describing the types of Node that must to be presented. Non-matching nodes are skipped, but their children may be included, if relevant. The possible values are:
4639TypeInfoAPI, DOM, DOM Reference, Interface, NeedsContent, Obsolete, Reference, TypeInfo, Web
The obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema.
4640UDP Socket APIUDPSocket, mozUDPSocket
//TODO: docs are missing, see https://bugzilla.mozilla.org/show_bug.cgi?id=745283
4641UIEventAPI, DOM, Event, Interface, Reference, UIEvent, events
The UIEvent interface represents simple user interface events.
4642UIEvent.cancelBubbleAPI, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, UIEvent
The UIEvent.cancelBubble property indicates if event bubbling for this event has been canceled or not. It is set to false by default, allowing the event to bubble up the DOM, if it is a bubbleable event. Setting this property to true stops the event from bubbling up the DOM. Not all events are allowed to bubble up the DOM.
4643UIEvent.detailAPI, DOM, Property, Read-only, Reference
The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.
4644UIEvent.initUIEvent()API, DOM, Deprecated, Event, Method, UIEvent
The UIEvent.initUIEvent() method initializes a UI event once it's been created.
4645UIEvent.isCharAPI, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UIEvent, isChar
The UIEvent.isChar read-only property returns a Boolean indicating whether the event produced a key character or not.
4646UIEvent.layerXAPI, DOM, Property, Read-only, Reference, UIEvent
The UIEvent.layerX read-only property returns the horizontal coordinate of the event relative to the current layer.
4647UIEvent.layerYAPI, DOM, Property, Read-only, Reference, UIEvent
The UIEvent.layerY read-only property returns the vertical coordinate of the event relative to the current layer.
4648UIEvent.pageXAPI, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UI Events, UIEvent, events, pageX
The non-standard, read-only UIEvent property pageX returns the horizontal coordinate of the event relative to the whole document.
4649UIEvent.pageYAPI, DOM, Property, Read-only, Reference, UIEvent
The UIEvent.pageY read-only property returns the vertical coordinate of the event relative to the whole document.
4650sourceCapabilitiesAPI, DOM, Property, Reference, UIEvent
The UIEvent.sourceCapabilities read-only property returns an instance of the InputDeviceCapabilities interface which provides information about the physical device responsible for generating a touch event. If no input device was responsible for the event, it returns null.
4651UIEvent()API, Constructor, Reference, UIEvent
The UIEvent() constructor creates a new UIEvent.
4652UIEvent.viewAPI, DOM, NeedsLiveExample, Property, Read-only, Reference, UIEvent
The UIEvent.view read-only property returns the WindowProxy object from which the event was generated. In browsers, this is the Window object the event happened in.
4653ULongRangeAPI, Constraints, Dictionary, Interface, LongRange, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
The ULongRange dictionary is used to define a range of permitted integer values for a property, with either or both a maximum and minimum value specified. The ConstrainULongRange dictionary is based on this, augmenting it to support exact and ideal values as well.
4654URL APIAPI, Address, Domain, Forms, Host, IP, Overview, URL, URL API, Web, hostname
The URL API is a component of the URL standard, which defines what constitutes a valid URL and the API that accesses and manipulates URLs.
4655URLAPI, Address, Domain, Interface, Location, Networking, Reference, URI, URL, URL API, Web, hostname, href, origin
The URL interface is used to parse, construct, normalize, and encode URL. It works by providing properties which allow you to easily read and modify the components of a URL.
4656URL.createObjectURL()API, Blob, DOM, File, Method, Object URL, URL, URL API, createObjectURL
The URL.createObjectURL() static method creates a DOMString containing a URL representing the object given in the parameter.
4657URL.hashAPI, Property, Reference, URL, URL API
The hash property of the URL interface is a USVString containing a '#' followed by the fragment identifier of the URL.
4658URL.hostAPI, Property, Reference, URL, URL API
The host property of the URL interface is a USVString containing the host, that is the URL.hostname, and then, if the port of the URL is nonempty, a ':', followed by the URL.port of the URL.
4659URL.hostnameAPI, Property, Reference, URL, URL API
The hostname property of the URL interface is a USVString containing the domain name of the URL.
4660URL.hrefAPI, Property, Reference, URL, URL API
The href property of the URL interface is a USVString containing the whole URL.
4661URL.originAPI, Property, Read-only, Reference, URL, URL API, origin
The origin read-only property of the URL interface returns a USVString containing the Unicode serialization of the origin of the represented URL.
4662URL.passwordAPI, Property, Reference, URL, URL API, password
The password property of the URL interface is a USVString containing the password specified before the domain name.
4663URL.pathnameAPI, Property, Reference, URL, URL API
The pathname property of the URL interface is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).
4664URL.portAPI, Property, Reference, URL, URL API, port
The port property of the URL interface is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to ''.
4665URL.protocolAPI, Property, Reference, URL, URL API
The protocol property of the URL interface is a USVString representing the protocol scheme of the URL, including the final ':'.
4666URL.revokeObjectURL()API, Method, URL, URL API, revokeObjectURL
The URL.revokeObjectURL() static method releases an existing object URL which was previously created by calling URL.createObjectURL().
4667URL.searchAPI, Property, Reference, URL, URL API
The search property of the URL interface is a search string, also called a query string, that is a USVString containing a '?' followed by the parameters of the URL.
4668URL.searchParamsAPI, Property, Read-only, Reference, URL, URLSearchParams
The searchParams readonly property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
4669URL.toJSON()API, Method, Reference, URL, URL API
The toJSON() method of the URL interface returns a USVString containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
4670URL.toString()API, Method, Reference, Stringifier, URL, URL API
The URL.toString() stringifier method returns a USVString containing the whole URL. It is effectively a read-only version of URL.href.
4671URL()API, Constructor, Reference, URL, URL API
The URL() constructor returns a newly created URL object representing the URL defined by the parameters.
4672URL.usernameAPI, Property, Reference, URL, URL API, username
The username property of the URL interface is a USVString containing the username specified before the domain name.
4673URLSearchParamsAPI, Interface, Landing, Reference, URL API, URLSearchParams
The URLSearchParams interface defines utility methods to work with the query string of a URL.
4674URLSearchParams.append()API, Append, Method, URL API, URLSearchParams
The append() method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.
4675URLSearchParams.delete()API, Method, URL API, URLSearchParams, delete
The delete() method of the URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters.
4676URLSearchParams.entries()API, Method, Reference, URL API, URLSearchParams
The entries() method of the URLSearchParams interface returns an Iteration_protocols allowing iteration through all key/value pairs contained in this object. The key and value of each pair are USVString objects.
4677URLSearchParams.forEach()API, Method, Reference, URLSearchParams, forEach
The forEach() method of the URLSearchParams interface allows iteration through all values contained in this object via a callback function.
4678URLSearchParams.get()API, Method, URL API, URLSearchParams, get
The get() method of the URLSearchParams interface returns the first value associated to the given search parameter.
4679URLSearchParams.getAll()API, Method, URL API, URLSearchParams, getAll
The getAll() method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.
4680URLSearchParams.has()API, Method, URL API, URLSearchParams, has
The has() method of the URLSearchParams interface returns a Boolean that indicates whether a parameter with the specified name exists.
4681URLSearchParams.keys()API, Method, Reference, URL API, URLSearchParams
The keys() method of the URLSearchParams interface returns an Iteration_protocols allowing iteration through all keys contained in this object. The keys are USVString objects.
4682URLSearchParams.set()API, Method, URL API, URLSearchParams, set
The set() method of the URLSearchParams interface sets the value associated with a given search parameter to the given value. If there were several matching values, this method deletes the others. If the search parameter doesn't exist, this method creates it.
4683URLSearchParams.sort()API, Method, Reference, URLSearchParams, sort
The URLSearchParams.sort() method sorts all key/value pairs contained in this object in place and returns undefined. The sort order is according to unicode code points of the keys. This method uses a stable sorting algorithm (i.e. the relative order between key/value pairs with equal keys will be preserved).
4684URLSearchParams.toString()API, Method, URL API, URLSearchParams, toString
The toString() method of the URLSearchParams interface returns a query string suitable for use in a URL.
4685URLSearchParams()API, Constructor, Reference, URL API, URLSearchParams
The URLSearchParams() constructor creates and returns a new URLSearchParams object.
4686URLSearchParams.values()API, Iterator, Method, Reference, URL API, URLSearchParams
The values() method of the URLsearchParams interface returns an Iteration_protocols allowing iteration through all values contained in this object. The values are USVString objects.
4687URLUtilsReadOnlyAPI, Interface, Obsolete, Reference, URL API
The obsolete URLUtilsReadOnly interface previously defined utility methods for working with URLs. These were then inherited by other interfaces, such as WorkerLocation.
4688URLUtilsReadOnly.hashAPI, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly
The URLUtilsReadOnly.hash read-only property returns a DOMString containing a '#' followed by the fragment identifier of the URL. The hash is not percent encoded.
4689URLUtilsReadOnly.hostAPI, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly
The URLUtilsReadOnly.host read-only property returns a DOMString containing the host, that is the hostname, a ':', and the port of the URL.
4690URLUtilsReadOnly.hostnameAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.hostname read-only property returns a DOMString containing the domain of the URL.
4691URLUtilsReadOnly.hrefAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.href read-only property is a stringifier that returns a DOMString containing the whole URL.
4692URLUtilsReadOnly.originAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.origin read-only property is a DOMString containing the Unicode serialization of the origin of the represented URL, that is, for http and https, the scheme followed by '://', followed by the domain, followed by ':', followed by the port (the default port, 80 and 443 respectively, if explicitely specified). For URL using file: scheme, the value is browser dependant.
4693URLUtilsReadOnly.pathnameAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.pathname read-only property returns a USVString containing an initial '/' followed by the path of the URL, not including the query string or fragment.
4694URLUtilsReadOnly.portAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.port read-only property returns a DOMString containing the port number of the URL.
4695URLUtilsReadOnly.protocolAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.protocol read-only property returns a DOMString containing the protocol scheme of the URL, including the final ':'.
4696URLUtilsReadOnly.searchAPI, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.search read-only property returns a DOMString containing a '?' followed by the parameters of the URL.
4697URLUtilsReadOnly.toString()API, Experimental, Expérimental(2), Method, Stringifier, URL API, URLUtilsReadOnly
The URLUtilsReadOnly.toString() stringifier method returns a DOMString containing the whole URL. It is a synonym for URLUtilsReadOnly.href.
4698USBAPI, Interface, Reference, USB, WebUSB, WebUSB API
The USB interface of the WebUSB API provides attributes and methods for finding and connecting USB devices from a web page.
4699USB.getDevices()API, Method, Reference, USB, WebUSB, WebUSB API, getDevices()
The getDevices method of the USB interface returns a Promise that resolves with an array of USBDevice objects for paired attached devices. For information on pairing devices, see USB.requestDevice().
4700USB.onconnectAPI, Method, Reference, USB, WebUSB, WebUSB API, onconnect
The onconnect property of the USB interface is an event handler called whenever a paired device is connected.
4701USB.ondisconnectAPI, Method, Reference, USB, WebUSB, WebUSB API, ondisconnect
The ondisconnect property of the USB is an event handler called whenever a paired device is disconnected.
4702USB.requestDevice()API, Method, Reference, USB, WebUSB, WebUSB API, getDevices()
The requestDevice() method of the USB interface returns a Promise that resolves with an instance of USBDevice if the specified device is found. Calling this function triggers the user agent's pairing flow.
4703USBAlternateInterfaceAPI, Experimental, Interface, NeedsExample, Reference, USBAlternateInterface, WebUSB, WebUSB API
The USBAlternateInterface interface of the WebUSB API provides information about a particular configuration of an interface provided by the USB device. An interface includes one or more alternate settings which can configure a set of endpoints based on the operating mode of the device.
4704USBConfigurationAPI, Interface, Reference, USB, USBConfiguration, WebUSB, WebUSB API
WebUSB API
4705USBConfiguration.configurationNameAPI, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API, configurationName
The configurationName read-only property of the USBConfiguration interface returns the name provided by the device to describe this configuration. This is equal to the value of the string descriptor with the index provided in the iConfiguration field of the configuration descriptor defining this configuration.
4706USBConfiguration.configurationValueAPI, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API, configurationValue
The configurationValue read-only property of the USBConfiguration interface null
4707USBConfiguration.interfacesAPI, Interfaces, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API
The interfaces read-only property of the USBConfiguration interface returns an array containing instances of the USBInterface describing each interface supported by this configuration.
4708USBConfiguration.USBConfiguration()API, Constructor, Experimental, NeedsE, Reference, USB, USBConfiguration, WebUSB, WebUSB API
The USBConfiguration() constructor creates a new USBConfiguration object which contains information about the configuration on the provided USBDevice with the given configuration value.
4709USBDeviceAPI, Interface, Reference, USBDevice, WebUSB, WebUSB API
The USBDevice interface of the WebUSB API provides access to metadata about a paired USB device and methods for controlling it.
4710USBDevice.claimInterface()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, claimInterface
The claimInterface() method of the USBDevice interface returns a promise that resolves when the requested interface is claimed for exclusive access.
4711USBDevice.clearHalt()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, clearHalt
The clearHalt() method of the USBDevice interface returns a promise that resolves when a halt condition is cleared. A halt condition is when a data tranfer to or from the device has a status of 'stall', which requires the web page (the host system, in USB terminology) to clear that condition. See the for details.
4712USBDevice.close()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, close
The close() method of the USBDevice interface returns a promise that resolves when all open interfaces are released and the device session has ended.
4713USBDevice.configurationAPI, Configuration, Property, Reference, USB, USBDevice, WebUSB, WebUSB API
The configuration read only property of the USBDevice interface returns a USBConfiguration object for the currently selected interface for a paired USB device.
4714USBDevice.configurationsAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, configurations
The configurations read only property of the USBDevice interface an array of device-specific interfaces for controlling a paired USB device.
4715USBDevice.controlTransferIn()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferIn
The controlTransferIn() method of the USBDevice interface returns a promise that resolves with a USBInTransferResult when the result of a command or status request has been received from the USB device.
4716USBDevice.controlTransferOut()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferOut
The controlTransferOut() method of the USBDevice interface returns a promise that resolves with a USBOutTransferResult when a command or status operation has been transmitted to the USB device.
4717USBDevice.deviceClassAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass
The deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol.
4718USBDevice.deviceProtocolAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceProtocol
The deviceProtocol read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceSubclass.
4719USBDevice.deviceSubclassAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceSubclass
The deviceSubclass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceProtocol.
4720USBDevice.deviceVersionMajorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMajor
The deviceVersionMajor read only property of the USBDevice interface he major version number of the device in a semantic versioning scheme.
4721USBDevice.deviceVersionMinorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMinor
The deviceVersionMinor read only property of the USBDevice interface the minor version number of the device in a semantic versioning scheme.
4722USBDevice.deviceVersionSubminorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionSubminor
The deviceVersionSubminor read only property of the USBDevice interface the patch version number of the device in a semantic versioning scheme.
4723USBDevice.isochronousTransferIn()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferIn
The isochronousTransferIn() method of the USBDevice interface returns a promise that resolves with a USBIsochronousInTransferResult when time sensitive information has been transmitted received from the USB device.
4724USBDevice.isochronousTransferOut()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferOut
The isochronousTransferOut() method of the USBDevice interface returns a promise that resolves with a USBIsochronousOutTransferResult when time sensitive information has been transmitted to the USB device.
4725USBDevice.manufacturerNameAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, manufacturerName
The manufacturerName read only property of the USBDevice interface the of the organization that manufactured the USB device.
4726USBDevice.open()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, open
The open() method of the USBDevice interface returns a promise that resolves when a device session has started.
4727USBDevice.openedAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, opened
The opened read only property of the USBDevice interface indicates whether a session has been started with a paired USB device. A device must be opened before it can be controlled by a web page.
4728USBDevice.productIdAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productID
The productId read only property of the USBDevice interface the manufacturer-defined code that identifies a USB device.
4729USBDevice.productNameAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productName
The productName read only property of the USBDevice interface the manufacturer-defined name that identifies a USB device.
4730USBDevice.releaseInterface()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, releaseInterface
The releaseInterface() method of the USBDevice interface returns a promise that resolves when a cliamed interface is released from exclusive access.
4731USBDevice.reset()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, reset
The reset() method of the USBDevice interface returns a promise that resolves when the device is reset and all app operations canceled and their promises rejected.
4732USBDevice.selectAlternateInterface()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectAlternateInterface
The selectAlternateInterface() method of the USBDevice interface returns a promise that resolves when the specified alternative endpoint is selected.
4733USBDevice.selectConfiguration()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectConfiguration
The selectConfiguration() method of the USBDevice interface returns a promise that resolves when the specified configuration is selected.
4734USBDevice.serialNumberAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, serialNumber
The serialNumber read only property of the USBDevice interface is the manufacturer-defined serial number for the specific USB device.
4735USBDevice.transferIn()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferIn
The transferIn() method of the USBDevice interface returns a promise that resolves with a USBTransferInResult when bulk or interrupt data is received from the USB device.
4736USBDevice.transferOut()API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferOut
The transferOut() method of the USBDevice interface returns a promise that resolves with a USBTransferOutResult when bulk or interrupt data is sent to the USB device.
4737USBDevice.deviceClassAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass
The deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol.
4738USBDevice.usbVersionMajorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMajor
The usbVersionMajor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMinor and USBDevice.usbVersionSubminor.
4739USBDevice.usbVersionMinorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMinor
The usbVersionMinor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionSubminor.
4740USBDevice.usbVersionSubminorAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionSubminor
The usbVersionSubminor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionMinor.
4741USBDevice.vendorIdAPI, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, vendorID
The vendorId read only property of the USBDevice interface is the official usg.org-assigned vendor ID.
4742USBEndpointAPI, Interface, Reference, USB, USBEndpoint, Web USB API
The USBEndpoint interface of the WebUSB API provides information about an endpoint provided by the USB device. An endpoint represents a unidirectional data stream into or out of a device.
4743USBInterfaceAPI, Experimental, Interface, NeedsExample, Reference, USBInterface, WebUSB, WebUSB API
The USBInterface interface of the WebUSB API provides information about an interface provided by the USB device. An interface represents a feature of the device which implements a particular protocol and may contain endpoints for bidirectional communication.
4744USBInTransferResultAPI, Experimental, Interface, NeedsExample, Reference, USBInTransferResult, WebUSB, WebUSB API
The USBInTransferResult interface of the WebUSB API provides the result from a call to the transferIn() and controlTransferIn() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.
4745USBIsochronousInTransferPacketAPI, Experimental, Interface, NeedsExample, Reference, USBIsochronousInTransferPacket, WebUSB, WebUSB API
The USBIsochronousInTransferPacket interface of the WebUSB API is part of the response from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB device to the USB host over an isochronous endpoint.
4746USBIsochronousInTransferResultAPI, Experimental, Interface, NeedsExample, Reference, USBIsochronousInTransferResult, WebUSB, WebUSB API
The USBIsochronousInTransferResult interface of the WebUSB API provides the result from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.
4747USBIsochronousOutTransferPacketAPI, Experimental, Interface, NeedsExample, Reference, USBIsochronousOutTransferPacket, WebUSB, WebUSB API
The USBIsochronousOutTransferPacket interface of the WebUSB API is part of the response from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB host to the USB device over an isochronous endpoint.
4748USBIsochronousOutTransferResultAPI, Experimental, Interface, NeedsExample, Reference, USBIsochronousOutTransferResult, WebUSB, WebUSB API
The USBIsochronousOutTransferResult interface of the WebUSB API provides the result from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.
4749USBOutTransferResultAPI, CSSUnparsedValue, Experimental, Interface, NeedsExample, Reference, USBOutTransferResult, WebUSB, WebUSB API
The USBOutTransferResult interface of the WebUSB API provides the result from a call to the transferOut() and controlTransferOut() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.
4750User Timing APIGuide, Overview, Web Performance
The User Timing interface allows the developer to create application specific DOMHighResTimeStamp that are part of the browser's performance timeline. There are two types of user defined timing event types: the "mark" PerformanceEntry.entryType and the "measure" PerformanceEntry.entryType.
4751Using the User Timing APIGuide, Web Performance
The User Timing interface allows the developer to create application specific DOMHighResTimeStamp that are part of the browser's performance timeline. There are two types of user defined timing entry types: the "mark" PerformanceEntry.entryType and the "measure" PerformanceEntry.entryType.
4752UserDataHandlerAPI, DOM, NeedsMarkupWork, Obsolete
When associating user data with a key on a node, Node.setUserData() can also accept, in its third argument, a handler which will be called when the object is cloned, imported, deleted, renamed, or adopted. Per the specification, exceptions should not be thrown in a UserDataHandler. In both document.importNode() and Node.cloneNode(), although user data is not copied over, the handler will be called.
4753UserProximityEventAPI, Experimental, Interface, Proximity Events, Reference
The UserProximityEvent indicates whether a nearby physical object is present by using the proximity sensor of a device.
4754UserProximityEvent.nearAPI, Experimental, NeedsContent, NeedsExample, NeedsSyntax, Property, Proximity
The near property tell if there is an object close to the device (true) or not (false).
4755USVStringAPI, DOM, Reference, String, WebIDL
USVString is a sequence of Unicode scalar values. This definition differs from that of DOMString or the JavaScript String type in that it always represents a valid sequence suitable for text processing, while the latter can contain surrogate code points. The USVString type is generally found in APIs that perform text processing, while DOMString is used by most other APIs.
4756ValidityStateAPI, Constraint Validation API, Forms, HTML DOM, Interface
The ValidityState interface represents the validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
4757validityState.badInputAPI, Constraints API, HTML DOM, Property, Read-only, ValidityState
The read-only badInput property of a ValidityState object indicates if the user has provided input that the browser is unable to convert. For example, if you have a number input element whose content is a string. Note: While this is unsupported in Internet Explorer, any non-numeric value will be dismissed from the field if it is a number input.
4758ValidityState.patternMismatchAPI, Constraint Validation API, DOM, Property, Reference
The read-only patternMismatch property of a ValidityState object indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element's pattern attribute.
4759ValidityState.rangeOverflowAPI, Constraint Validation API, DOM, Property, Reference
The read-only rangeOverflow property of a ValidityState object indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element's max attribute.
4760ValidityState.rangeUnderflowAPI, Constraint Validation API, DOM, Property, Reference
The read-only rangeUnderflow property of a ValidityState object indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element's min attribute.
4761ValidityState.stepMismatchAPI, Constraint Validation API, DOM, Property, Reference
The read-only stepMismatch property of a ValidityState object indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element's step attribute.
4762validityState.tooLongAPI, Constraint Validation API, DOM, NeedsExample, Property, Reference
The read-only tooLong property of a ValidityState object indicates if the value of an input or textarea, after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength attribute.
4763validityState.tooShort
The read-only tooShort property of a ValidityState object indicates if the value of an input, button, select, output, fieldset or textarea, after having been edited by the user, is less than the minimum code-unit length established by the element's minlength attribute.
4764ValidityState.typeMismatchAPI, Constraint Validation API, DOM, Property, Reference
The read-only typeMismatch property of a ValidityState object indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element's type attribute.
4765Vibration APIAPI, Beginner, Mobile, Vibration
Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it.
4766VideoConfigurationAPI, Audio, Experimental, Interface, Media Capabilities API, Reference, Video, VideoConfiguration
The VideoConfiguration dictionary of the Media Capabilities API is used to define the video file being tested when calling the MediaCapabilities methods MediaCapabilities.encodingInfo and MediaCapabilities.decodingInfo to determine whether or not the described video configuration is supported, and how smoothly and how smoooth and power-efficient it can be handled.
4767VideoPlaybackQualityAPI, Experimental, Frames, HTML DOM, Interface, Media, Media Playback Quality, Media Playback Quality API, Playback, Quality, Reference, Video, VideoPlaybackQuality
A VideoPlaybackQuality object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.
4768VideoPlaybackQuality.corruptedVideoFramesAPI, Corruption, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, corruptedVideoFrames
The VideoPlaybackQuality interface's read-only corruptedVideoFrames property the number of corrupted video frames that have been received since the video element was last loaded or reloaded.
4769VideoPlaybackQuality.creationTimeAPI, Experimental, Media, Media Playback Quality, Media Playback Quality API, Property, Quality, Reference, Video, VideoPlaybackQuality, creationTime
The read-only creationTime property on the VideoPlaybackQuality interface reports the number of milliseconds since the browsing context was created this quality sample was recorded.
4770VideoPlaybackQuality.droppedVideoFramesAPI, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, droppedVideoFrames
The read-only droppedVideoFrames property of the VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement.
4771VideoPlaybackQuality.totalFrameDelayAPI, Experimental, Media Source Extensions, Obsolete, Property, Reference, Video, VideoPlaybackQuality, totalFrameDelay
The VideoPlaybackQuality.totalFrameDelay read-only property returns a double containing the sum of the frame delay since the creation of the associated HTMLVideoElement. The frame delay is the difference between a frame's theoretical presentation time and its effective display time.
4772VideoPlaybackQuality.totalVideoFramesAPI, Experimental, Frames, HTML DOM, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, totalVideoFrames
The VideoPlaybackQuality interface's totalVideoFrames read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.
4773VideoTrackHTML, HTML DOM, Interface, Media, Reference, Video, VideoTrack, track
The VideoTrack interface represents a single video track from a video element.
4774VideoTrack.idAPI, HTML DOM, Interface, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track
The id property contains a string which uniquely identifies the track represented by the VideoTrack.
4775VideoTrack.kindAPI, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track
The kind property contains a string indicating the category of video contained in the VideoTrack.
4776VideoTrack.labelAPI, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, label, metadata, track
The read-only VideoTrack property label returns a string specifying the video track's human-readable label, if one is available; otherwise, it returns an empty string.
4777Videotrack.languageAPI, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Video, VideoTrack, track
The read-only VideoTrack property language returns a string identifying the language used in the video track.
4778VideoTrack.selectedHTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, VideoTrack, selected, track
The VideoTrack property selected controls whether or not a particular video track is active.
4779VideoTrack.sourceBufferAPI, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, Video, VideoTrack, track
The read-only VideoTrack 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.
4780VideoTrackListAPI, HTML DOM, Interface, Media, Reference, Track List, Tracks, Video, VideoTrackList, list
The VideoTrackList interface is used to represent a list of the video tracks contained within a video element, with each track represented by a separate VideoTrack object in the list.
4781VideoTrackList: addtrack eventAPI, Reference, events
The addtrack event is fired when a track is added to a VideoTrackList.
4782VideoTrackList: change eventEvent
The change event is fired when a video track is made active or inactive, for example by changing the track's selected property.
4783getTrackByIdAPI, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, Video, VideoTrackList, getTrackById, id, track
The VideoTrackList method getTrackById() returns the first VideoTrack object from the track list whose VideoTrack.id matches the specified string.
4784VideoTrackList.lengthAPI, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, length, list, track
The read-only VideoTrackList property length returns the number of entries in the VideoTrackList, each of which is a VideoTrack representing one video track in the media element.
4785VideoTrackList.onaddtrackAPI, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onaddtrack, track
The VideoTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new video track has been added to the media element whose video tracks the VideoTrackList represents.
4786VideoTrackList.onchangeAPI, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onchange, track
The VideoTrackList property onchange is an event handler which is called when the change event occurs, indicating that a VideoTrack in the VideoTrackList has been made active.
4787VideoTrackList.onremovetrackAPI, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, Removing Video Tracks, Video, VideoTrackList, onremovetrack, remove, removeTrack, track
The VideoTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a video track has been removed from the media element, and therefore also from the VideoTrackList.
4788VideoTrackList: removetrack eventAPI, Media Streams API, MediaStreamTrackEvent, NeedsBrowserCompatibility, Reference, Removing Tracks, events, removeTrack
The removetrack event is fired when a track is removed from a VideoTrackList.
4789VideoTrackList.selectedIndexAPI, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, track
The read-only VideoTrackList property selectedIndex returns the index of the currently selected track, if any, or -1 otherwise.
4790Visual Viewport APIAPI, Experimental, Layout, Overview, Reference, layout viewport, viewport, visual, visual viewport
The Visual Viewport API provides an explicit mechanism for querying and modifying the properties of the window's visual viewport. The visual viewport is the visual portion of a screen excluding on-screen keyboards, areas outside of a pinch-zoom area, or any other on-screen artifact that doesn't scale with the dimensions of a page.
4791VisualViewportAPI, Experimental, Interface, Reference, Visual Viewport API, VisualViewport, viewport
The VisualViewport interface of the Visual Viewport API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window.
4792VisualViewport.heightAPI, Property, Reference, Visual Viewport API, VisualViewport, height, viewport
The height read-only property of the VisualViewport interface returns the height of the visual viewport, in CSS pixels.
4793VisualViewport.offsetleftAPI, Property, Reference, Visual Viewport API, VisualViewport, offsetleft, viewport
The offsetLeft read-only property of the VisualViewport interface returns the offset of the left edge of the visual viewport from the left edge of the layout viewport in CSS pixels.
4794VisualViewport.offsetTopAPI, Property, Reference, Visual Viewport API, VisualViewport, offsetTop, viewport
The offsetTop read-only property of the VisualViewport interface returns the offset of the top edge of the visual viewport from the top edge of the layout viewport in CSS pixels.
4795VisualViewport.onresizeAPI, Event, Experimental, Reference, Visual Viewport API, VisualViewport, onresize, resize, viewport
The onresize event handler of the VisualViewport interface is called when a viewport is resized, i.e. when the resize event is fired.
4796VisualViewport.onscrollAPI, Event, Experimental, Reference, Scroll, Visual Viewport API, VisualViewport, onscroll, viewport
The onscroll event handler of the VisualViewport interface is called when a viewport is scrolled, i.e. when the scroll event is fired.
4797VisualViewport.pageLeftAPI, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport
The pageLeft read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels.
4798VisualViewport.pageTopAPI, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport
The pageTop read-only property of the VisualViewport interface returns the y coordinate of the top edge of the visual viewport relative to the initial containing block origin, in CSS pixels.
4799VisualViewport: resize eventAPI, Experimental, Reference, VisualViewport, events, resize
The resize event of the VisualViewport interface is fired when the visual viewport is resized.
4800VisualViewport.scaleAPI, Property, Reference, Visual Viewport API, VisualViewport, size, viewport
The scale read-only property of the VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport.
4801VisualViewport: scroll eventAPI, Experimental, Reference, Scroll, VisualViewport, events
The scroll event of the VisualViewport interface is fired when the visual viewport is scrolled.
4802VisualViewport.widthAPI, Property, Reference, Visual Viewport API, VisualViewport, viewport, width
The width read-only property of the VisualViewport interface returns the width of the visual viewport, in CSS pixels.
4803VRDisplayAPI, DOM, Experimental, Interface, Media, Reference, VR, VRDisplay, Virtual Reality, WebVR
The VRDisplay interface of the WebVR API represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality.
4804VRDisplay.cancelAnimationFrame()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, cancelAnimationFrame()
The cancelAnimationFrame() method of the VRDisplay interface is a special implementation of Window.cancelAnimationFrame that unregisters callbacks registered with VRDisplay.requestAnimationFrame().
4805VRDisplay.capabilitiesAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, capabilities
The capabilities read-only property of the VRDisplay interface returns a VRDisplayCapabilities object that indicates the various capabilities of the VRDisplay.
4806VRDisplay.depthFarAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthFar
The depthFar property of the VRDisplay interface gets and sets the z-depth defining the far plane of the eye view frustum, i.e. the furthest viewable boundary of the scene.
4807VRDisplay.depthNearAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthNear
The depthNear property of the VRDisplay interface gets and sets the z-depth defining the near plane of the eye view frustum, i.e. the nearest viewable boundary of the scene.
4808VRDisplay.displayIdAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayId
The displayId read-only property of the VRDisplay interface returns an identifier for this particular VRDisplay, which is also used as an association point in the Gamepad API (see Gamepad.displayId).
4809VRDisplay.displayNameAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayName
The displayName read-only property of the VRDisplay interface returns a human-readable name to identify the VRDisplay.
4810VRDisplay.exitPresent()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, exitPresent()
The exitPresent() method of the VRDisplay interface stops the VRDisplay presenting a scene.
4811VRDisplay.getEyeParameters()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getEyeParameters()
The getEyeParameters() method of the VRDisplay interface returns the VREyeParameters object containing the eye parameters for the specified eye.
4812VRDisplay.getFrameData()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getFrameData
The getFrameData() method of the VRDisplay interface accepts a VRFrameData object and populates it with the information required to render the current frame.
4813VRDisplay.getImmediatePose()API, Experimental, Method, Obsolete, Reference, VR, VRDisplay, Virtual Reality, WebVR, getImmediatePose()
The getImmediatePose() method of the VRDisplay interface returns a VRPose object defining the current pose of the VRDisplay, with no prediction applied.
4814VRDisplay.getLayers()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getLayers()
The getLayers() method of the VRDisplay interface returns the layers currently being presented by the VRDisplay.
4815VRDisplay.getPose()API, Deprecated, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getPose()
The getPose() method of the VRDisplay interface returns a VRPose object defining the future predicted pose of the VRDisplay as it will be when the current frame is actually presented.
4816VRDevice.hardwareUnitIdAPI, Experimental, Obsolete, Property, Reference, VR, VRDevice, Virtual Reality, WebVR, hardwareUnitId
The hardwareUnitId read-only property of the VRDevice interface returns the distinct hardware ID for the overall hardware unit that this VRDevice is a part of. All devices that are part of the same physical piece of hardware will have the same hardwareUnitId.
4817VRdisplay.isConnectedAPI, Deprecated, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isConnected
The isConnected read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is connected to the computer.
4818VRDisplay.isPresentingAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isPresenting
The isPresenting read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is currently having content presented through it.
4819VRDisplay.requestAnimationFrame()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, requestAnimationFrame()
The requestAnimationFrame() method of the VRDisplay interface is a special implementation of Window.requestAnimationFrame containing a callback function that will be called every time a new frame of the VRDisplay presentation is rendered:
4820VRDisplay.requestPresent()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Display, WebVR, requestPresent()
The requestPresent() method of the VRDisplay interface starts the VRDisplay presenting a scene.
4821VRDevice.resetPose()API, Deprecated, Experimental, Method, Reference, VR, VRDevice, Virtual Reality, WebVR, resetPose()
The resetPose() method of the VRDisplay interface resets the pose for the VRDisplay, treating its current VRPose.position and VRPose.orientation as the "origin/zero" values.
4822VRDisplay.stageParametersAPI, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, stageParameters
The stageParameters read-only property of the VRDisplay interface returns a VRStageParameters object containing room-scale parameters, if the VRDisplay is capable of supporting room-scale experiences.
4823VRDisplay.submitFrame()API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, submitFrame()
The submitFrame() method of the VRDisplay interface captures the current state of the VRLayerInit currently being presented and displays it on the VRDisplay.
4824VRDisplayCapabilitiesAPI, Experimental, Interface, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR
The VRDisplayCapabilities interface of the WebVR API describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information.
4825VRDisplayCapabilities.canPresentAPI, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, canPresent
The canPresent read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is capable of presenting content (e.g. through an HMD).
4826VRDisplayCapabilities.hasExternalDisplayAPI, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasExternalDisplay
The hasExternalDisplay read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is separate from the device's primary display.
4827VRDisplayCapabilities.hasOrientationAPI, Deprecated, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasOrientation
The hasOrientation read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return orientation information.
4828VRDisplayCapabilities.hasPositionAPI, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasPosition
The hasPosition read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return position information.
4829VRDisplayCapabilities.maxLayersAPI, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, maxLayers
The maxLayers read-only property of the VRDisplayCapabilities interface returns a number indicating the maximum number of VRLayers that the VR display can present at once (e.g. the maximum length of the array that Display.requestPresent() can accept.)
4830VRDisplayEventAPI, Experimental, Interface, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR
The VRDisplayEvent interface of the WebVR API represents the event object of WebVR-related events (see the list of WebVR window extensions).
4831VRDisplayEvent.displayAPI, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, display
The display read-only property of the VRDisplayEvent interface returns the VRDisplay associated with this event.
4832VRDisplayEvent.reasonAPI, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, reason
The reason read-only property of the VRDisplayEvent interface returns a human-readable reason why the event was fired.
4833VRDisplayEvent.VRDisplayEvent()API, Constructor, Experimental, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR
The VRDisplayEvent constructor creates a VRDisplayEvent object instance.
4834VREyeParametersAPI, Experimental, Landing, Reference, VR, VREyeParameters, Virtual Reality, WebVR
The VREyeParameters interface of the WebVR API represents all the information required to correctly render a scene for a given eye, including field of view information.
4835VREyeParameters.fieldOfViewAPI, Deprecated, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, fieldOfView
The fieldOfView read-only property of the VREyeParameters interface returns a VRFieldOfView object describing the current field of view for the eye, which can vary as the user adjusts their interpupillary distance (IPD).
4836VREyeParameters.maximumFieldOfViewAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, maximumFieldOfView
The maximumFieldOfView read-only property of the VREyeParameters interface describes the maximum supported field of view for the current eye.
4837VREyeParameters.minimumFieldOfViewAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, minimumFieldOfView
The minimumFieldOfView read-only property of the VREyeParameters interface describes the minimum supported field of view for the current eye.
4838VREyeParameters.offsetAPI, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, offset
The offset read-only property of the VREyeParameters interface represents the offset from the center point between the user's eyes to the center of the eye, measured in meters.
4839VREyeParameters.recommendedFieldOfViewAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, recommendedFieldOfView
The recommendedFieldOfView read-only property of the VREyeParameters interface describes the recommended field of view for the current eye — ideally based on user calibration.
4840VREyeParameters.renderHeightAPI, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderHeight
The renderHeight read-only property of the VREyeParameters interface describes the recommended render target height of each eye viewport, in pixels.
4841VREyeParameters.renderRectAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, renderRect
The renderRect read-only property of the VREyeParameters interface specifies the viewport of a canvas into which visuals for the current eye should be rendered.
4842VREyeParameters.renderWidthAPI, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderWidth
The renderWidth read-only property of the VREyeParameters interface describes the recommended render target width of each eye viewport, in pixels.
4843VRFieldOfViewAPI, Experimental, Interface, Reference, VR, VRFieldOfView, Virtual Reality, WebVR
The VRFieldOfView interface of the WebVR API represents a field of view defined by 4 different degree values describing the view from a center point.
4844VRFieldOfView.downDegreesAPI, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, downDegrees
The downDegrees read-only property of the VRFieldOfView interface returns the number of degrees downwards that the field of view extends in.
4845VRFieldOfView.leftDegreesAPI, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, leftDegrees
The leftDegrees read-only property of the VRFieldOfView interface returns the number of degrees to the left that the field of view extends in.
4846VRFieldOfView.rightDegreesAPI, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, rightDegrees
The rightDegrees read-only property of the VRFieldOfView interface returns the number of degrees to the right that the field of view extends in.
4847VRFieldOfView.upDegreesAPI, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, upDegrees
The upDegrees read-only property of the VRFieldOfView interface returns the number of degrees upwards that the field of view extends in.
4848VRFieldOfView.VRFieldOfView()API, Constructor, Obsolete, Reference, VR, VRFieldOfView, Virtual Reality, WebVR
The VRFieldOfView() constructor creates a new VRFieldOFView object.
4849VRFrameDataAPI, Experimental, Interface, Reference, VR, VRFrameData, Virtual Reality, WebVR
The VRFrameData interface of the WebVR API represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData().
4850VRFrameData.leftProjectionMatrixAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftProjectionMatrix
The leftProjectionMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the left eye’s rendering.
4851VRFrameData.leftViewMatrixAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftViewMatrix
The leftViewMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the left eye’s rendering.
4852VRFrameData.poseAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, pose
The pose read-only property of the VRFrameData interface returns the VRPose of the VRDisplay at the current VRFrameData.timestamp.
4853VRFrameData.rightProjectionMatrixAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightProjectionMatrix
The rightProjectionMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the right eye’s rendering.
4854VRFrameData.rightViewMatrixAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightViewMatrix
The rightViewMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the right eye’s rendering.
4855VRFrameData.timestampAPI, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, timeStamp
The timestamp read-only property of the VRFrameData interface returns a constantly increasing timestamp value representing the time a frame update occurred.
4856VRFrameData.VRFrameData()API, Constructor, Experimental, Reference, VR, VRFrameData, Virtual Reality, WebVR
The VRFrameData constructor creates a VRFrameData object instance.
4857VRLayerInitAPI, Dictionary, Experimental, Interface, Reference, VR, VRLayerInit, Virtual Reality, WebVR
The VRLayerInit interface (dictionary) of the WebVR API represents a content layer (an HTMLCanvasElement or OffscreenCanvas) that you want to present in a VR display.
4858VRLayerInit.leftBoundsAPI, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, leftBounds
The leftBounds property of the VRLayerInit interface (dictionary) defines the left texture bounds of the canvas whose contents will be presented by the VRDisplay.
4859VRLayerInit.rightBoundsAPI, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, rightBounds
The rightBounds property of the VRLayerInit interface (dictionary) defines the right texture bounds of the canvas whose contents will be presented by the VRDisplay.
4860VRLayerInit.sourceAPI, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, source
The source property of the VRLayerInit interface (dictionary) defines the canvas whose contents will be presented by the VRDisplay.
4861VRPoseAPI, Experimental, Landing, Reference, VR, VRPose, Virtual Reality, WebVR
The VRPose interface of the WebVR API represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.)
4862VRPose.angularAccelerationAPI, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularAcceleration
The angularAcceleration read-only property of the VRPose interface returns an array representing the angular acceleration vector of the VRDisplay at the current VRPose.timestamp, in meters per second per second.
4863VRPose.angularVelocityAPI, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularVelocity
The angularVelocity read-only property of the VRPose interface returns an array representing the angular velocity vector of the VRDisplay at the current VRPose.timestamp, in radians per second.
4864VRPose.hasOrientationAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasOrientation
The hasOrientation read-only property of the VRPositionState interface returns a boolean indicating whether the VRPositionState.orientation property is valid (i.e. if the hardware is currently registering a valid orientation). If it is false, the orientation property will return null.
4865VRPose.hasPositionAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasPosition
The hasPosition read-only property of the VRPositionState interface returns a boolean indicating whether the VRPositionState.position property is valid (i.e. if the hardware is currently registering a valid position). If it is false, the position property will return null.
4866VRPose.linearAccelerationAPI, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearAcceleration
The linearAcceleration read-only property of the VRPose interface returns an array representing the linear acceleration vector of the VRDisplay at the current VRPose.timestamp, in meters per second per second.
4867VRPose.linearVelocityAPI, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearVelocity
The linearVelocity read-only property of the VRPose interface returns an array representing the linear velocity vector of the VRDisplay at the current VRPose.timestamp, in meters per second.
4868VRPose.orientationAPI, Experimental, Expérimental(2), Orientation, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR
The orientation read-only property of the VRPositionState interface returns the orientation of the sensor at the current VRPose.timestamp, as a quarternion value.
4869VRPose.positionAPI, Experimental, Expérimental(2), Position, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR
The position read-only property of the VRPose interface returns the position of the VRDisplay at the current VRPose.timestamp as a 3D vector.
4870VRPose.timestampAPI, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, timeStamp
The timestamp read-only property of the VRPose interface returns the current time stamp of the system — a monotonically increasing value representing the time since the current app was started.
4871VRStageParametersAPI, Experimental, Interface, Reference, VR, VRStageParameters, Virtual Reality, WebVR
The VRStageParameters interface of the WebVR API represents the values describing the stage area for devices that support room-scale experiences.
4872VRStageParameters.sittingToStandingTransformAPI, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sittingToStandingTransform
The sittingToStandingTransform read-only property of the VRStageParameters interface contains a matrix that transforms the sitting-space view matrices of VRFrameData to standing-space.
4873VRStageParameters.sizeXAPI, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeX
The sizeX read-only property of the VRStageParameters interface returns the width of the play-area bounds in meters.
4874VRStageParameters.sizeYAPI, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeY
The sizeY read-only property of the VRStageParameters interface returns the depth of the play-area bounds in meters.
4875VTTCueVTTCue, text track, vtt

The VTTCue interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular track element.
4876VTTCue()API, Accessibility, Constructor, Reference, VTTCue, WebVTT, WebVTT API, a11y, captions, vtt
The VTTCue() constructor creates and returns a new VTTCue object.
4877VTTRegionAPI, VTTRegion, WebVTT
The VTTRegion interface—part of the API for handling WebVTT (text tracks on media presentations)—describes a portion of the video to render a VTTCue onto.
4878WakeLockInterface, Reference, Screen Wake Lock API, Wake Lock, screen
The WakeLock interface of the Screen Wake Lock API prevents device screens from dimming or locking when an application needs to keep running.
4879WakeLock.request()API, Method, Reference, Screen Wake Lock API, WakeLock
The request() method of the WakeLock interface returns a Promise that resolves with a WakeLockSentinel object, which allows control over screen dimming and locking.
4880WakeLockSentinelAPI, Interface, Reference, Screen Wake Lock API, Wake Lock, screen
The WakeLockSentinel interface of the Screen Wake Lock API provides a handle to the underlying platform wake lock and can be manually released and reacquired. An Object representing the wake lock is returned via the WakeLock.request() method.
4881WakeLockSentinel.onreleaseEvent Handler, Property, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen, screen wake lock
The onrelease property of the WakeLockSentinel is fired when the sentinel object's handle has been released.
4882WakeLockSentinel.release()API, Method, Reference, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen
The release() method of the WakeLockSentinel interface releases the WakeLockSentinel, returning a Promise that is resolved once the sentinel has been successfully released.
4883WakeLockSentinel.releasedProperty, Read-only, Screen Wake Lock API, WakeLockSentinel
The read-only released property of the WakeLockSentinel interface returns a boolean that indicates whether a WakeLockSentinel has been released yet.
4884WakeLockSentinel.typeProperty, Read-only, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen
The read-only type property of the WakeLockSentinel interface returns a String representation of the currently acquired WakeLockSentinel type.
4885WaveShaperNodeAPI, Interface, Reference, WaveShaperNode, Web Audio API
The WaveShaperNode interface represents a non-linear distorter. It is an AudioNode that uses a curve to apply a wave shaping distortion to the signal. Beside obvious distortion effects, it is often used to add a warm feeling to the signal.
4886WaveShaperNode.curveAPI, Property, Reference, WaveShaperNode, Web Audio API, curve
The curve property of the WaveShaperNode interface is a Float32Array of numbers describing the distortion to apply.
4887WaveShaperNode.oversampleAPI, Property, Reference, WaveShaperNode, Web Audio API, oversample
The oversample property of the WaveShaperNode interface is an enumerated value indicating if oversampling must be used. Oversampling is a technique for creating more samples (up-sampling) before applying a distortion effect to the audio signal.
4888WaveShaperNode.WaveShaperNode()API, Audio, Constructor, Media, Reference, WaveShaperNode, Web Audio API
The WaveShaperNode() constructor of the Web Audio API creates a new WaveShaperNode object which is an AudioNode that represents a non-linear distorter.
4889Web Animations APIAPI, Animation, Landing, Reference, Web Animations
Web Animations
4890Keyframe FormatsAPI, Animation, Experimental, KeyframeEffect(), Reference, animate(), setKeyframes(), waapi, web animations api
Element.animate(), KeyframeEffect.KeyframeEffect(), and KeyframeEffect.setKeyframes() all accept objects formatted to represent a set of keyframes. There are several options to this format, which are explained below.
4891Using the Web Animations APIAlice, Animations, Beginner, CSS, Guide, JavaScript, Timing, Tutorial, animate, duration, keyframes, pause, play, reverse, web animations api
The Web Animations API lets us construct animations and control their playback with JavaScript. This article will start you off in the right direction with fun demos and tutorials featuring Alice in Wonderland.
4892Web Animations API ConceptsAnimations, Beginner, CSS, Guide, JavaScript, animate, concepts, web animations api
The Web Animations API (WAAPI) provides JavaScript developers access to the browser’s animation engine and describes how animations should be implemented across browsers. This article will introduce you to the important concepts behind the WAAPI, providing you with a theoretical understanding of how it works so you can use it effectively. To learn how to put the API to use, check out its sister article, Using the Web Animations API.
4893Web Audio APIAPI, Audio, Example, Landing, Overview, Web Audio API, sound
The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more.
4894Advanced techniques: Creating and sequencing audioAPI, Advanced, Audio, Guide, Reference, Web Audio API, sequencer
In this tutorial, we're going to cover sound creation and modification, as well as timing and scheduling. We're going to introduce sample loading, envelopes, filters, wavetables, and frequency modulation. If you're familiar with these terms and you're looking for an introduction to their application within with the Web Audio API, you've come to the right place.
4895Basic concepts behind Web Audio APIAudio, Beginner, Guide, Introduction, Media, Web Audio, Web Audio API, concepts, sound

This article explains some of the audio theory behind how the features of the Web Audio API work, to help you make informed decisions while designing how audio is routed through your app. It won't turn you into a master sound engineer, but it will give you enough background to understand why the Web Audio API works like it does.

4896Web Audio API best practicesAudio, Best practices, Guide, Web Audio API
There's no strict right or wrong way when writing creative code. As long as you consider security, performance, and accessibility, you can adapt to your own style. In this article, we'll share a number of best practices — guidelines, tips, and tricks for working with the Web Audio API.
4897Controlling multiple parameters with ConstantSourceNodeAudio, Example, Guide, Intermediate, Media, Tutorial, Web Audio, Web Audio API
This article demonstrates how to use a ConstantSourceNode to link multiple parameters together so they share the same value, which can be changed by setting the value of the ConstantSourceNode.offset parameter.
4898Migrating from webkitAudioContextAPI, Audio, Guide, Migrating, Migration, Updating, Web Audio API, porting, webkitAudioContext
In this article, we cover the differences in Web Audio API since it was first implemented in WebKit and how to update your code to use the modern Web Audio API.
4899Example and tutorial: Simple synth keyboardAudio, Example, Guide, Media, Oscillator, Piano, Synthesizer, Tutorial, Web Audio API
This article presents the code and working demo of a video keyboard you can play using the mouse. The keyboard allows you to switch among the standard waveforms as well as one custom waveform, and you can control the master gain using a volume slider beneath the keyboard. This example makes use of the following Web API interfaces: AudioContext, OscillatorNode, PeriodicWave, and GainNode.
4900Tools for analyzing Web Audio usageAPI, Audio, Debugging, Media, Tools, Web, Web Audio, Web Audio API, sound
While working on your Web Audio API code, you may find that you need tools to analyze the graph of nodes you create or to otherwise debug your work. This article discusses tools available to help you do that.
4901Background audio processing using AudioWorkletAPI, Audio, AudioWorklet, Background, Examples, Guide, Processing, Web Audio, Web Audio API, WebAudio API, sound
The process of creating an audio processor using JavaScript, establishing it as an audio worklet processor, and then using that processor within a Web Audio application is the topic of this article.
4902Using IIR filtersAPI, Audio, Guide, IIRFilter, Using, Web Audio API
The IIRFilterNode interface of the Web Audio API is an AudioNode processor that implements a general infinite impulse response (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers, and the filter response parameters can be specified, so that it can be tuned as needed. This article looks at how to implement one, and use it in a simple example.
4903Using the Web Audio APIAPI, Audio, Guide, Playback, Using, Web, Web Audio, Web Audio API, basics, sound
Let's take a look at getting started with the Web Audio API. We'll briefly look at some concepts, then study a simple boombox example that allows us to load an audio track, play and pause it, and change its volume and stereo panning.
4904Visualizations with Web Audio APIAPI, Web Audio API, analyser, fft, visualisation, visualization, waveform

One of the most interesting features of the Web Audio API is the ability to extract frequency, waveform, and other data from your audio source, which can then be used to create visualizations. This article explains how, and provides a couple of basic use cases.

4905Web audio spatialization basicsPannerNode, Web Audio API, panning

As if its extensive variety of sound processing (and other) options wasn't enough, the Web Audio API also includes facilities to allow you to emulate the difference in sound as a listener moves around a sound source, for example panning as you move around a sound source inside a 3D game. The official term for this is spatialization, and this article will cover the basics of how to implement such a system.

4906Web Authentication API2FA, API, Authentication, Landing, Reference, Web Authentication API, WebAuthn
The Web Authentication API is an extension of the Credential Management API that enables strong authentication with public key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts.
4907Attestation and AssertionAPI, Guide, Web Authentication API, WebAuthn
Web Authentication API
4908Web Bluetooth APIAPI, Bluetooth, Overview, Reference, Web Bluetooth API
The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals.
4909Web Budget APIAPI, BudgetService, BudgetState, Landing, NeedsContent, Overview, Reference, Web Budget API
TBD
4910Web Crypto APIAPI, Overview, Reference, Web Crypto API
The Web Crypto API is an interface allowing a script to use cryptographic primitives in order to build systems using cryptography.
4911Web Locks APIAPI, Experimental, LockManager, Overview, Reference, Web Locks API, lock
The Web Locks API allows scripts running in one tab or worker to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script executing in the same origin can acquire the same lock, which allows a web app running in multiple tabs or workers to coordinate work and the use of resources.
4912Web NFC APINDEF, Reference, Web NFC
The Web NFC API allows exchanging data over NFC via light-weight NFC Data Exchange Format (NDEF) messages.
4913Web Periodic Background Synchronization APIAPI, Background, Landing, Offline, Overview, PWA, Service Workers, Sync, Web Periodic Background Synchronization API, periodic
The Web Periodic Background Synchronization API provides a way to register tasks to be run in a Service Worker API at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests.
4914Web Speech APIAPI, Experimental, Landing, Reference, Web Speech API, recognition, speech, synthesis

The Web Speech API enables you to incorporate voice data into web apps. The Web Speech API has two parts: SpeechSynthesis (Text-to-Speech), and SpeechRecognition (Asynchronous Speech Recognition.)

4915Using the Web Speech APIAPI, Guide, Tutorial, Using, Web Speech API, recognition, speech, synthesis
The Web Speech API provides two distinct areas of functionality — speech recognition, and speech synthesis (also known as text to speech, or tts) — which open up interesting new possibilities for accessibility, and control mechanisms. This article provides a simple introduction to both areas, along with demos.
4916Web Storage APIAPI, Reference, Storage, Web Storage, Web Storage API, localStorage, sessionStorage
The Web Storage API provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookie.
4917Using the Web Storage APIAPI, Guide, Storage, Web Storage API, localStorage, sessionStorage
The Web Storage API provides mechanisms by which browsers can securely store key/value pairs.
4918Web Workers APIAPI, Overview, Reference, Web Workers
Web Workers makes it possible to run a script operation in a background thread separate from the main execution thread of a web application. The advantage of this is that laborious processing can be performed in a separate thread, allowing the main (usually the UI) thread to run without being blocked/slowed down.
4919Functions and classes available to Web WorkersReference, Web
In addition to the standard JavaScript set of functions (such as String, Array, Object, JSON, etc), there are a variety of functions available from the DOM to workers. This article provides a list of those.
4920The structured clone algorithmAdvanced, DOM, HTML5, JavaScript, Reference
The structured clone algorithm copies complex JavaScript objects. It is used internally to transfer data between Workers via Worker.postMessage(), storing objects with IndexedDB, or copying objects for other APIs.
4921Using Web WorkersAdvanced, Firefox, Guide, HTML5, JavaScript, WebWorkers, Workers
Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null) or fetch (with no such restrictions). Once created, a worker can send messages to the JavaScript code that created it by posting messages to an event handler specified by that code (and vice versa).
4922WebGL: 2D and 3D graphics for the web3D, 3D Graphics, API, Advanced, Graphics, JavaScript, Media, Overview, Reference, WebGL, WebGL API

WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML5 canvas elements. This conformance makes it possible for the API to take advantage of hardware graphics acceleration provided by the user's device.

4923A basic 2D WebGL animation example2D Animation, 2D Graphics, Animation, Drawing, Example, Graphics, WebGL, WebGL API
In this WebGL example, we create a canvas and within it render a rotating square using WebGL. The coordinate system we use to represent our scene is the same as the canvas's coordinate system. That is, (0, 0) is at the top-left corner and the bottom-right corner is at (600, 460).
4924WebGL by exampleBeginner, Example, Graphics, Learn, WebGL

WebGL by example is a series of live samples with short explanations that showcase WebGL concepts and capabilities. The examples are sorted according to topic and level of difficulty, covering the WebGL rendering context, shader programming, textures, geometry, user interaction, and more.

4925Basic scissoringBeginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL, scissor

In this example, we see how to draw simple rectangles and squares using WebGL scissoring operations. Scissoring establishes a clipping region outside which drawing will not occur.

4926Boilerplate 1Beginner, Example, Learn, Tutorial, WebGL

This example describes repeated pieces of code that will be hidden from now on, as well as defining a JavaScript utility function to make WebGL initialization easier.

4927Canvas size and WebGLBeginner, Example, Learn, Tutorial, WebGL

This WebGL example explores the effect of setting (or not setting) the canvas size to its element size in CSS pixels, as it appears in the browser window.

4928Clearing by clickingBeginner, Example, Graphics, Learn, Tutorial, WebGL

This example demonstrates how to combine user interaction with WebGL graphics operations by clearing the rendering context with a random color when the user clicks.

4929Clearing with colorsBeginner, Example, Graphics, Learn, Tutorial, WebGL

An example showing how to clear a WebGL rendering context to a solid color.

4930Color maskingBeginner, Example, Graphics, Learn, Tutorial, WebGL

This WebGL example modifies random colors by applying color masking to limit the range of displayed colors to specific shades.

4931Detect WebGLBeginner, Example, Graphics, Learn, Tutorial, WebGL

This example demonstrates how to detect a WebGL rendering context and reports the result to the user.

4932Hello GLSLBeginner, Example, GLSL, Graphics, Learn, Shaders, Tutorial, WebGL

This WebGL example demonstrates a very basic GLSL shader program that draws a solid color square.

4933Hello vertex attributesBeginner, Example, Graphics, Learn, Tutorial, WebGL

This WebGL example demonstrates how to combine shader programming and user interaction by sending user input to the shader using vertex attributes.

4934Raining rectanglesBeginner, Example, Game, Graphics, Learn, Scissoring, Tutorial, WebGL

A simple WebGL game that demonstrates clearing with solid colors, scissoring, animation, and user interaction.

4935Scissor animationAnimation, Beginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL

A simple WebGL example in which we have some animation fun using scissoring and clearing operations.

4936Simple color animationBeginner, Example, Graphics, Learn, Tutorial, WebGL

A very basic color animation created using WebGL, performed by clearing the drawing buffer with a different random color every second.

4937Textures from codeBeginner, Example, Graphics, Learn, Procedural Texturing, Shaders, Textures, Texturing, Tutorial, WebGL

This WebGL example provides a simple demonstration of procedural texturing with fragment shaders. That is, using code to generate textures for use in shading WebGL objects.

4938Video texturesAdvanced, Example, Graphics, Learn, NeedsContent, Tutorial, WebGL

This example demonstrates how to use video files as textures for WebGL surfaces.

4939Compressed texture formats
The WebGL API provides methods to use compressed texture formats. These are useful to increase texture detail while limiting the additional video memory necessary. By default, no compressed formats are available: a corresponding compressed texture format extension must first be enabled.
4940WebGL constantsAPI, Reference, WebGL, constants
The WebGL API provides several constants that are passed into or returned by functions. All constants are of type GLenum.
4941Data in WebGL3D, 3D Graphics, Attributes, Drawing, Graphics, Guide, Intermediate, NeedsContent, NeedsExample, Uniforms, Varyings, WebGL, WebGL API
Shader programs have access to three kinds of data storage, each of which has a specific use case. Each kind of variable is accessible by one or both types of shader program (depending on the data store type) and possibly by the site's JavaScript code, depending on the specific type of variable.
4942Matrix math for the web3D, 3D2D, Animation, CSS, GLSL, Graphics, Guide, WebGL, WebXR, matrices, matrix, rendering, transform3d
Matrices can be used to represent transformations of objects in space, and are used for performing many key types of computation when constructing images and visualizing data on the Web. This article explores how to create matrices and how to use them with CSS transforms and the matrix3d transform type.
4943WebGL tutorialOverview, Tutorial, WebGL, WebGL API

WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins. WebGL programs consist of control code written in JavaScript and special effects code (shader code) that is executed on a computer's Graphics Processing Unit (GPU). WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background.

4944Adding 2D content to a WebGL context2D Graphics, 3D, 3D Graphics, Drawing, Graphics, Intermediate, Shaders, Tutorial, WebGL, WebGL API
Once you've successfully created a WebGL context, you can start rendering into it. A simple thing we can do is draw a simple square untextured plane, so let's start there, by building code to draw a square plane.
4945Animating objects with WebGLTutorial, WebGL
In this example, we'll actually rotate our square plane.
4946Animating textures in WebGLMedia, Tutorial, Video, WebGL
Tutorial
4947Creating 3D objects using WebGL3D, Drawing, Graphics, Guide, Tutorial, WebGL, rendering
Tutorial
4948Getting started with WebGLTutorial, WebGL
WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 2D and 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins.
4949Lighting in WebGL3D, Fragments, Graphics, Guide, Light Sources, Shaders, Shading, Tutorial, Vertexes, WebGL, lighting, vertices
Tutorial
4950Using shaders to apply color in WebGLGraphics, Tutorial, WebGL
Tutorial
4951Using textures in WebGLTutorial, WebGL
Tutorial
4952WebGL typesReference, Types, WebGL
The following types are used in WebGL interfaces.
4953Using WebGL extensionsAdvanced, WebGL
WebGL, like its sister APIs (OpenGL and OpenGL ES), supports extensions. A complete list of extensions is available in the khronos webgl extension registry.
4954WebGL best practices2D, 3D, Advanced, Best practices, Drawing, GL, Graphics, Guide, OpenGL, WebGL
WebGL is a complicated API, and it's often not obvious what the recommended ways to use it are. This page tackles recommendations across the spectrum of expertise, and not only highlights dos and don'ts, but also details why. You can rely on this document to guide your choice of approach, and ensure you're on the right track no matter what browser or hardware your users run.
4955WebGL model view projection3D, Graphics, Guide, Model, Scale, Transformation, View, WebGL, matrix, projection, render, rotation
This article explores how to take data within a WebGL project, and project it into the proper spaces to display it on the screen. It assumes a knowledge of basic matrix math using translation, scale, and rotation matrices. It explains the three core matrices that are typically used when composing a 3D scene: the model, view and projection matrices.
4956WEBGL_color_buffer_floatAPI, Reference, WebGL, WebGL extension
The WEBGL_color_buffer_float extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.
4957WEBGL_compressed_texture_astcAPI, Reference, WebGL, WebGL extension, WebGL extensions
The WEBGL_compressed_texture_astc extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
4958WEBGL_compressed_texture_astc.getSupportedProfiles()API, Method, Reference, WebGL, WebGL extension, WebGL extensions
The WEBGL_compressed_texture_astc.getSupportedProfiles() method returns an array of strings containing the names of the ASTC profiles supported by the implementation.
4959WEBGL_compressed_texture_atcAPI, Reference, WebGL, WebGL extensions
The WEBGL_compressed_texture_atc extension is part of the WebGL API and exposes 3 ATC compressed texture formats. ATC is a proprietary compression algorithm for compressing textures on handheld devices.
4960WEBGL_compressed_texture_etcAPI, Reference, WebGL, WebGL extension
The WEBGL_compressed_texture_etc extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
4961WEBGL_compressed_texture_etc1API, Reference, WebGL, WebGL extension
The WEBGL_compressed_texture_etc1 extension is part of the WebGL API and exposes the ETC1 compressed texture format.
4962WEBGL_compressed_texture_pvrtcAPI, Reference, WebGL, WebGL extension
The WEBGL_compressed_texture_pvrtc extension is part of the WebGL API and exposes four PVRTC compressed texture formats.
4963WEBGL_compressed_texture_s3tc_srgbAPI, Reference, WebGL, WebGL extension
The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
4964WEBGL_compressed_texture_s3tcAPI, Reference, WebGL, WebGL extension
The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.
4965WEBGL_debug_renderer_infoAPI, Reference, WebGL, WebGL extension
The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
4966WEBGL_debug_shadersAPI, Reference, WebGL, WebGL extension
The WEBGL_debug_shaders extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.
4967WEBGL_debug_shaders.getTranslatedShaderSource()API, Method, Reference, WebGL, WebGL extension
The WEBGL_debug_shaders.getTranslatedShaderSource() method is part of the WebGL API and allows you to debug a translated shader.
4968WEBGL_depth_textureAPI, Reference, WebGL, WebGL extension
The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
4969WEBGL_draw_buffersAPI, Reference, WebGL, WebGL extension
The WEBGL_draw_buffers extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.
4970WEBGL_draw_buffers.drawBuffersWEBGL()API, Method, Reference, WebGL
The WEBGL_draw_buffers.drawBuffersWEBGL() method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
4971WEBGL_lose_contextAPI, Reference, WebGL, WebGL extension
The WEBGL_lose_context extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.
4972WEBGL_lose_context.loseContext()API, Method, Reference, WebGL, WebGL extension
The WEBGL_lose_context.loseContext() method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
4973WEBGL_lose_context.restoreContext()API, Method, Reference, WebGL, WebGL extension
The WEBGL_lose_context.restoreContext() method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
4974WEBGL_multi_drawAPI, Reference, WebGL, WebGL extension
The WEBGL_multi_draw extension is part of the WebGL API and allows to render more than one primitive with a single function call. This can improve a WebGL application's performance as it reduces binding costs in the renderer and speeds up GPU thread time with uniform data.
4975WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()Method, Reference, WebGL, WebGL extension
The WEBGL_multi_draw.multiDrawArraysInstancedWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArraysInstanced() method.
4976WEBGL_multi_draw.multiDrawArraysWEBGL()Method, Reference, WebGL, WebGL extension
The WEBGL_multi_draw.multiDrawArraysWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArrays() method.
4977WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()Method, Reference, WebGL, WebGL extension
The WEBGL_multi_draw.multiDrawElementsWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElementsInstanced() method.
4978WEBGL_multi_draw.multiDrawElementsWEBGL()Method, Reference, WebGL, WebGL extension
The WEBGL_multi_draw.multiDrawElementsWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElements() method.
4979WebGL2RenderingContextAPI, Reference, WebGL, WebGL2
The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.
4980WebGL2RenderingContext.beginQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.beginQuery() method of the WebGL 2 API starts an asynchronous query. The target parameter indicates which kind of query to begin.
4981WebGL2RenderingContext.beginTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.beginTransformFeedback() method of the WebGL 2 API starts a transform feedback operation.
4982WebGL2RenderingContext.bindBufferBase()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.bindBufferBase() method of the WebGL 2 API binds a given WebGLBuffer to a given binding point (target) at a given index.
4983WebGL2RenderingContext.bindBufferRange()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.bindBufferRange() method of the WebGL 2 API binds a range of a given WebGLBuffer to a given binding point (target) at a given index.
4984WebGL2RenderingContext.bindSampler()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.bindSampler() method of the WebGL 2 API binds a passed WebGLSampler object to the texture unit at the passed index.
4985WebGL2RenderingContext.bindTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.bindTransformFeedback() method of the WebGL 2 API binds a passed WebGLTransformFeedback object to the current GL state.
4986WebGL2RenderingContext.bindVertexArray()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.bindVertexArray() method of the WebGL 2 API binds a passed WebGLVertexArrayObject object to the buffer.
4987WebGL2RenderingContext.blitFramebuffer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.blitFramebuffer() method of the WebGL 2 API transfers a block of pixels from the read framebuffer to the draw framebuffer. Read and draw framebuffers are bound using WebGLRenderingContext.bindFramebuffer().
4988WebGL2RenderingContext.clearBuffer[fiuv]()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.clearBuffer[fiuv]() methods of the WebGL 2 API clear buffers from the currently bound framebuffer.
4989WebGL2RenderingContext.clientWaitSync()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.clientWaitSync() method of the WebGL 2 API blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed.
4990WebGL2RenderingContext.compressedTexSubImage3D()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.compressedTexSubImage3D() method of the WebGL API specifies a three-dimensional sub-rectangle for a texture image in a compressed format.
4991WebGL2RenderingContext.copyBufferSubData()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.copyBufferSubData() method of the WebGL 2 API copies part of the data of a buffer to another buffer.
4992WebGL2RenderingContext.copyTexSubImage3D()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.copyTexSubImage3D() method of the WebGL API copies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image.
4993WebGL2RenderingContext.createQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.createQuery() method of the WebGL 2 API creates and initializes WebGLQuery objects, which provide ways to asynchronously query for information.
4994WebGL2RenderingContext.createSampler()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.createSampler() method of the WebGL 2 API creates and initializes WebGLSampler objects.
4995WebGL2RenderingContext.createTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.createTransformFeedback() method of the WebGL 2 API creates and initializes WebGLTransformFeedback objects.
4996WebGL2RenderingContext.createVertexArray()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.createVertexArray() method of the WebGL 2 API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
4997WebGL2RenderingContext.deleteQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.deleteQuery() method of the WebGL 2 API deletes a given WebGLQuery object.
4998WebGL2RenderingContext.deleteSampler()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.deleteSampler() method of the WebGL 2 API deletes a given WebGLSampler object.
4999WebGL2RenderingContext.deleteSync()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.deleteSync() method of the WebGL 2 API deletes a given WebGLSync object.
5000WebGL2RenderingContext.deleteTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.deleteTransformFeedback() method of the WebGL 2 API deletes a given WebGLTransformFeedback object.
5001WebGL2RenderingContext.deleteVertexArray()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.deleteVertexArray() method of the WebGL 2 API deletes a given WebGLVertexArrayObject object.
5002WebGL2RenderingContext.drawArraysInstanced()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.drawArraysInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
5003WebGL2RenderingContext.drawBuffers()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.drawBuffers() method of the WebGL 2 API defines draw buffers to which fragment colors are written into. The draw buffer settings are part of the state of the currently bound framebuffer or the drawingbuffer if no framebuffer is bound.
5004WebGL2RenderingContext.drawElementsInstanced()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.drawElementsInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawElements() method. In addition, it can execute multiple instances of a set of elements.
5005WebGL2RenderingContext.drawRangeElements()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.drawRangeElements() method of the WebGL API renders primitives from array data in a given range.
5006WebGL2RenderingContext.endQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.endQuery() method of the WebGL 2 API marks the end of a given query target.
5007WebGL2RenderingContext.endTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.endTransformFeedback() method of the WebGL 2 API ends a transform feedback operation.
5008WebGL2RenderingContext.fenceSync()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.fenceSync() method of the WebGL 2 API creates a new WebGLSync object and inserts it into the GL command stream.
5009WebGL2RenderingContext.framebufferTextureLayer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.framebufferTextureLayer() method of the WebGL 2 API attaches a single layer of a texture to a framebuffer.
5010WebGL2RenderingContext.getActiveUniformBlockName()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getActiveUniformBlockName() method of the WebGL 2 API retrieves the name of the active uniform block at a given index within a WebGLProgram.
5011WebGL2RenderingContext.getActiveUniformBlockParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getActiveUniformBlockParameter() method of the WebGL 2 API retrieves information about an active uniform block within a WebGLProgram.
5012WebGL2RenderingContext.getActiveUniforms()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getActiveUniforms() method of the WebGL 2 API retrieves information about active uniforms within a WebGLProgram.
5013WebGL2RenderingContext.getBufferSubData()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getBufferSubData() method of the WebGL 2 API reads data from a buffer binding point and writes them to an ArrayBuffer or SharedArrayBuffer.
5014WebGL2RenderingContext.getFragDataLocation()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getFragDataLocation() method of the WebGL 2 API returns the binding of color numbers to user-defined varying out variables.
5015WebGL2RenderingContext.getIndexedParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getIndexedParameter() method of the WebGL 2 API returns indexed information about a given target.
5016WebGL2RenderingContext.getInternalformatParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getInternalformatParameter() method of the WebGL 2 API returns information about implementation-dependent support for internal formats.
5017WebGL2RenderingContext.getQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getQuery() method of the WebGL 2 API returns the currently active WebGLQuery for the target, or null.
5018WebGL2RenderingContext.getQueryParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getQueryParameter() method of the WebGL 2 API returns parameter information of a WebGLQuery object.
5019WebGL2RenderingContext.getSamplerParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getSamplerParameter() method of the WebGL 2 API returns parameter information of a WebGLSampler object.
5020WebGL2RenderingContext.getSyncParameter()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getSyncParameter() method of the WebGL 2 API returns parameter information of a WebGLSync object.
5021WebGL2RenderingContext.getTransformFeedbackVarying()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getTransformFeedbackVarying() method of the WebGL 2 API returns information about varying variables from WebGLTransformFeedback buffers.
5022WebGL2RenderingContext.getUniformBlockIndex()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getUniformBlockIndex() method of the WebGL 2 API retrieves the index of a uniform block within a WebGLProgram.
5023WebGL2RenderingContext.getUniformIndices()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.getUniformIndices() method of the WebGL 2 API retrieves the indices of a number of uniforms within a WebGLProgram.
5024WebGL2RenderingContext.invalidateFramebuffer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.invalidateFramebuffer() method of the WebGL 2 API invalidates the contents of attachments in a framebuffer.
5025WebGL2RenderingContext.invalidateSubFramebuffer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.invalidateSubFramebuffer() method of the WebGL 2 API invalidates portions of the contents of attachments in a framebuffer.
5026WebGL2RenderingContext.isQuery()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.isQuery() method of the WebGL 2 API returns true if the passed object is a valid WebGLQuery object.
5027WebGL2RenderingContext.isSampler()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.isSampler() method of the WebGL 2 API returns true if the passed object is a valid WebGLSampler object.
5028WebGL2RenderingContext.isSync()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.isSync() method of the WebGL 2 API returns true if the passed object is a valid WebGLSync object.
5029WebGL2RenderingContext.isTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.isTransformFeedback() method of the WebGL 2 API returns true if the passed object is a valid WebGLTransformFeedback object.
5030WebGL2RenderingContext.isVertexArray()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.isVertexArray() method of the WebGL API returns true if the passed object is a valid WebGLVertexArrayObject object.
5031WebGL2RenderingContext.pauseTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.pauseTransformFeedback() method of the WebGL 2 API pauses a transform feedback operation.
5032WebGL2RenderingContext.readBuffer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.readBuffer() method of the WebGL 2 API selects a color buffer as the source for pixels for subsequent calls to WebGLRenderingContext.copyTexImage2D, WebGLRenderingContext.copyTexSubImage2D, WebGL2RenderingContext.copyTexSubImage3D or WebGLRenderingContext.readPixels.
5033WebGL2RenderingContext.renderbufferStorageMultisample()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.renderbufferStorageMultisample() method of the WebGL 2 API returns creates and initializes a renderbuffer object's data store and allows specifying a number of samples to be used.
5034WebGL2RenderingContext.resumeTransformFeedback()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.resumeTransformFeedback() method of the WebGL 2 API resumes a transform feedback operation.
5035WebGL2RenderingContext.samplerParameter[if]()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.samplerParameter[if]() methods of the WebGL 2 API set WebGLSampler parameters.
5036WebGL2RenderingContext.texImage3D()API, Method, Reference, WebGL, WebGL2
The WebGLRenderingContext.texImage3D() method of the WebGL API specifies a three-dimensional texture image.
5037WebGL2RenderingContext.texStorage2D()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.texStorage2D() method of the WebGL API specifies all levels of two-dimensional texture storage.
5038WebGL2RenderingContext.texStorage3D()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.texStorage3D() method of the WebGL API specifies all levels of a three-dimensional texture or two-dimensional array texture.
5039WebGL2RenderingContext.texSubImage3D()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.texSubImage3D() method of the WebGL API specifies a sub-rectangle of the current texture.
5040WebGL2RenderingContext.transformFeedbackVaryings()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.transformFeedbackVaryings() method of the WebGL 2 API specifies values to record in WebGLTransformFeedback buffers.
5041WebGL2RenderingContext.uniform[1234][uif][v]()API, Method, Reference, WebGL, WebGL2, WebGL2RenderingContext
The WebGL2RenderingContext.uniform[1234][uif][v]() methods of the WebGL API specify values of uniform variables.
5042WebGL2RenderingContext.uniformBlockBinding()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.uniformBlockBinding() method of the WebGL 2 API assigns binding points for active uniform blocks.
5043WebGL2RenderingContext.uniformMatrix[234]x[234]fv()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.uniformMatrix[234]x[234]fv() methods of the WebGL 2 API specify matrix values for uniform variables.
5044WebGL2RenderingContext.vertexAttribDivisor()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.vertexAttribDivisor() method of the WebGL 2 API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with WebGL2RenderingContext.drawArraysInstanced() and WebGL2RenderingContext.drawElementsInstanced().
5045WebGL2RenderingContext.vertexAttribI4[u]i[v]()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.vertexAttribI4[u]i[v]() methods of the WebGL 2 API specify integer values for generic vertex attributes.
5046WebGL2RenderingContext.vertexAttribIPointer()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.vertexAttribIPointer() method of the WebGL 2 API specifies integer data formats and locations of vertex attributes in a vertex attributes array.
5047WebGL2RenderingContext.waitSync()API, Method, Reference, WebGL, WebGL2
The WebGL2RenderingContext.waitSync() method of the WebGL 2 API returns immediately, but waits on the GL server until the given WebGLSync object is signaled.
5048WebGLActiveInfoAPI, Reference, WebGL
The WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
5049WebGLActiveInfo.nameAPI, Property, Reference, WebGL
The read-only WebGLActiveInfo.name property represents the name of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.
5050WebGLActiveInfo.sizeAPI, Property, Reference, WebGL
The read-only WebGLActiveInfo.size property is a Number representing the size of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.
5051WebGLActiveInfo.typeAPI, Property, Reference, WebGL
The read-only WebGLActiveInfo.type property represents the type of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.
5052WebGLBufferAPI, Reference, WebGL
The WebGLBuffer interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
5053WebGLContextEventAPI, Interface, Reference, WebGL, WebGLContextEvent
The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
5054WebGLContextEvent.statusMessageAPI, Property, Read-only, Reference, WebGL, WebGLContextEvent
The read-only WebGLContextEvent.statusMessage property contains additional event status information, or is an empty string if no additional information is available.
5055WebGLFramebufferAPI, Reference, WebGL
The WebGLFramebuffer interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
5056WebGLProgramAPI, GL, GLSL, Graphics, Interface, Program, Reference, Shader, WebGL, WebGLProgram
The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
5057WebGLQueryAPI, Experimental, Reference, WebGL, WebGL2
The WebGLQuery interface is part of the WebGL 2 API and provides ways to asynchronously query for information. By default, occlusion queries and primitive queries are available.
5058WebGLRenderbufferAPI, Reference, WebGL
The WebGLRenderbuffer interface is part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation.
5059WebGLRenderingContext2D, 3D, API, Canvas, Context, Drawing, GL, Graphics, Interface, Reference, WebGL, WebGLRenderingContext, rendering
The WebGLRenderingContext interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.
5060WebGLRenderingContext.activeTexture()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.activeTexture() method of the WebGL API specifies which texture unit to make active.
5061WebGLRenderingContext.attachShader()Method, WebGL
The WebGLRenderingContext.attachShader() method of the WebGL API attaches either a fragment or vertex WebGLShader to a WebGLProgram.
5062WebGLRenderingContext.bindAttribLocation()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bindAttribLocation() method of the WebGL API binds a generic vertex index to an attribute variable.
5063WebGLRenderingContext.bindBuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bindBuffer() method of the WebGL API binds a given WebGLBuffer to a target.
5064WebGLRenderingContext.bindFramebuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bindFramebuffer() method of the WebGL API binds a given WebGLFramebuffer to a target.
5065WebGLRenderingContext.bindRenderbuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bindRenderbuffer() method of the WebGL API binds a given WebGLRenderbuffer to a target, which must be gl.RENDERBUFFER.
5066WebGLRenderingContext.bindTexture()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bindTexture() method of the WebGL API binds a given WebGLTexture to a target (binding point).
5067WebGLRenderingContext.blendColor()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.blendColor() method of the WebGL API is used to set the source and destination blending factors.
5068WebGLRenderingContext.blendEquation()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.blendEquation() method of the WebGL API is used to set both the RGB blend equation and alpha blend equation to a single equation.
5069WebGLRenderingContext.blendEquationSeparate()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.blendEquationSeparate() method of the WebGL API is used to set the RGB blend equation and alpha blend equation separately.
5070WebGLRenderingContext.blendFunc()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.blendFunc() method of the WebGL API defines which function is used for blending pixel arithmetic.
5071WebGLRenderingContext.blendFuncSeparate()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.blendFuncSeparate() method of the WebGL API defines which function is used for blending pixel arithmetic for RGB and alpha components separately.
5072WebGLRenderingContext.bufferData()API, Buffer, Graphics, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.bufferData() method of the WebGL API initializes and creates the buffer object's data store.
5073WebGLRenderingContext.bufferSubData()API, Method, Reference, WebGL, WebGLRenderingContext, bufferSubData
The WebGLRenderingContext.bufferSubData() method of the WebGL API updates a subset of a buffer object's data store.
5074WebGLRenderingContext.canvasProperty, Read-only, WebGL, WebGLRenderingContext
The WebGLRenderingContext.canvas property is a read-only reference to the HTMLCanvasElement or OffscreenCanvas object that is associated with the context. It might be null if it is not associated with a canvas element or an OffscreenCanvas object.
5075WebGLRenderingContext.checkFramebufferStatus()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.checkFramebufferStatus() method of the WebGL API returns the completeness status of the WebGLFramebuffer object.
5076WebGLRenderingContext.clear()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.clear() method of the WebGL API clears buffers to preset values.
5077WebGLRenderingContext.clearColor()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.clearColor() method of the WebGL API specifies the color values used when clearing color buffers.
5078WebGLRenderingContext.clearDepth()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.clearDepth() method of the WebGL API specifies the clear value for the depth buffer.
5079WebGLRenderingContext.clearStencil()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.clearStencil() method of the WebGL API specifies the clear value for the stencil buffer.
5080WebGLRenderingContext.colorMask()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.colorMask() method of the WebGL API sets which color components to enable or to disable when drawing or rendering to a WebGLFramebuffer.
5081WebGLRenderingContext.commit()API, Experimental, Method, OffscreenCanvas, Reference, WebGL
The WebGLRenderingContext.commit() method pushes frames back to the original HTMLCanvasElement, if the context is not directly fixed to a specific canvas.
5082WebGLRenderingContext.compileShader()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.compileShader() method of the WebGL API compiles a GLSL shader into binary data so that it can be used by a WebGLProgram.
5083WebGLRenderingContext.compressedTexImage[23]D()API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext
The WebGLRenderingContext.compressedTexImage2D()  and WebGL2RenderingContext.compressedTexImage3D() methods of the WebGL API specify a two- or three-dimensional texture image in a compressed format.
5084WebGLRenderingContext.compressedTexSubImage2D()API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext
The WebGLRenderingContext.compressedTexSubImage2D() method of the WebGL API specifies a two-dimensional sub-rectangle for a texture image in a compressed format.
5085WebGLRenderingContext.copyTexImage2D()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.copyTexImage2D() method of the WebGL API copies pixels from the current WebGLFramebuffer into a 2D texture image.
5086WebGLRenderingContext.copyTexSubImage2D()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.copyTexSubImage2D() method of the WebGL API copies pixels from the current WebGLFramebuffer into an existing 2D texture sub-image.
5087WebGLRenderingContext.createBuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.createBuffer() method of the WebGL API creates and initializes a WebGLBuffer storing data such as vertices or colors.
5088WebGLRenderingContext.createFramebuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.createFramebuffer() method of the WebGL API creates and initializes a WebGLFramebuffer object.
5089WebGLRenderingContext.createProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.createProgram() method of the WebGL API creates and initializes a WebGLProgram object.
5090WebGLRenderingContext.createRenderbuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.createRenderbuffer() method of the WebGL API creates and initializes a WebGLRenderbuffer object.
5091WebGLRenderingContext.createShader()API, Graphics, Method, Reference, Shader, WebGL
The WebGLRenderingContext method createShader() of the WebGL API creates a WebGLShader that can then be configured further using WebGLRenderingContext.shaderSource() and WebGLRenderingContext.compileShader().
5092WebGLRenderingContext.createTexture()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.createTexture() method of the WebGL API creates and initializes a WebGLTexture object.
5093WebGLRenderingContext.cullFace()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.cullFace() method of the WebGL API specifies whether or not front- and/or back-facing polygons can be culled.
5094WebGLRenderingContext.deleteBuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteBuffer() method of the WebGL API deletes a given WebGLBuffer. This method has no effect if the buffer has already been deleted.
5095WebGLRenderingContext.deleteFramebuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteFramebuffer() method of the WebGL API deletes a given WebGLFramebuffer object. This method has no effect if the frame buffer has already been deleted.
5096WebGLRenderingContext.deleteProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteProgram() method of the WebGL API deletes a given WebGLProgram object. This method has no effect if the program has already been deleted.
5097WebGLRenderingContext.deleteRenderbuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteRenderbuffer() method of the WebGL API deletes a given WebGLRenderbuffer object. This method has no effect if the render buffer has already been deleted.
5098WebGLRenderingContext.deleteShader()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteShader() method of the WebGL API marks a given WebGLShader object for deletion. It will then be deleted whenever the shader is no longer in use. This method has no effect if the shader has already been deleted, and the WebGLShader is automatically marked for deletion when it is destroyed by the garbage collector.
5099WebGLRenderingContext.deleteTexture()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.deleteTexture() method of the WebGL API deletes a given WebGLTexture object. This method has no effect if the texture has already been deleted.
5100WebGLRenderingContext.depthFunc()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.depthFunc() method of the WebGL API specifies a function that compares incoming pixel depth to the current depth buffer value.
5101WebGLRenderingContext.depthMask()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.depthMask() method of the WebGL API sets whether writing into the depth buffer is enabled or disabled.
5102WebGLRenderingContext.depthRange()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.depthRange() method of the WebGL API specifies the depth range mapping from normalized device coordinates to window or viewport coordinates.
5103WebGLRenderingContext.detachShader()Method, WebGL
The WebGLRenderingContext.detachShader() method of the WebGL API detaches a previously attached WebGLShader from a WebGLProgram.
5104WebGLRenderingContext.disable()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.disable() method of the WebGL API disables specific WebGL capabilities for this context.
5105WebGLRenderingContext.disableVertexAttribArray()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.disableVertexAttribArray() method of the WebGL API turns the generic vertex attribute array off at a given index position.
5106WebGLRenderingContext.drawArrays()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.drawArrays() method of the WebGL API renders primitives from array data.
5107WebGLRenderingContext.drawElements()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.drawElements() method of the WebGL API renders primitives from array data.
5108WebGLRenderingContext.drawingBufferHeightAPI, Property, Read-only, Reference, WebGL, WebGLRenderingContext
The read-only WebGLRenderingContext.drawingBufferHeight property represents the actual height of the current drawing buffer. It should match the height attribute of the canvas element associated with this context, but might differ if the implementation is not able to provide the requested height.
5109WebGLRenderingContext.drawingBufferWidthAPI, Property, Read-only, Reference, WebGL, WebGLRenderingContext
The read-only WebGLRenderingContext.drawingBufferWidth property represents the actual width of the current drawing buffer. It should match the width attribute of the canvas element associated with this context, but might differ if the implementation is not able to provide the requested width.
5110WebGLRenderingContext.enable()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.enable() method of the WebGL API enables specific WebGL capabilities for this context.
5111WebGLRenderingContext.enableVertexAttribArray()3D, API, Attribute Array, Graphics, Method, Reference, Vertex Attributes, WebGL, WebGL API, WebGLRenderingContext, enableVertexAttribArray, vertex, vertex shader
The WebGLRenderingContext method enableVertexAttribArray(), part of the WebGL API, turns on the generic vertex attribute array at the specified index into the list of attribute arrays.
5112WebGLRenderingContext.finish()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.finish() method of the WebGL API blocks execution until all previously called commands are finished.
5113WebGLRenderingContext.flush()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.flush() method of the WebGL API empties different buffer commands, causing all commands to be executed as quickly as possible.
5114WebGLRenderingContext.framebufferRenderbuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.framebufferRenderbuffer() method of the WebGL API attaches a WebGLRenderbuffer object to a WebGLFramebuffer object.
5115WebGLRenderingContext.framebufferTexture2D()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.framebufferTexture2D() method of the WebGL API attaches a texture to a WebGLFramebuffer.
5116WebGLRenderingContext.frontFace()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.frontFace() method of the WebGL API specifies whether polygons are front- or back-facing by setting a winding orientation.
5117WebGLRenderingContext.generateMipmap()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.generateMipmap() method of the WebGL API generates a set of mipmaps for a WebGLTexture object.
5118WebGLRenderingContext.getActiveAttrib()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getActiveAttrib() method of the WebGL API returns a WebGLActiveInfo object containing size, type, and name of a vertex attribute. It is generally used when querying unknown attributes either for debugging or generic library creation.
5119WebGLRenderingContext.getActiveUniform()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getActiveUniform() method of the WebGL API returns a WebGLActiveInfo object containing size, type, and name of a uniform attribute. It is generally used when querying unknown uniforms either for debugging or generic library creation.
5120WebGLRenderingContext.getAttachedShaders()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getAttachedShaders() method of the WebGL API returns a list of WebGLShader objects attached to a WebGLProgram.
5121WebGLRenderingContext.getAttribLocation()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getAttribLocation() method of the WebGL API returns the location of an attribute variable in a given WebGLProgram.
5122WebGLRenderingContext.getBufferParameter()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getBufferParameter() method of the WebGL API returns information about the buffer.
5123WebGLRenderingContext.getContextAttributes()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getContextAttributes() method returns a WebGLContextAttributes object that contains the actual context parameters. Might return null, if the context is lost.
5124WebGLRenderingContext.getError()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getError() method of the WebGL API returns error information.
5125WebGLRenderingContext.getExtension()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getExtension() method enables a WebGL extension.
5126WebGLRenderingContext.getFramebufferAttachmentParameter()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getFramebufferAttachmentParameter() method of the WebGL API returns information about a framebuffer's attachment.
5127WebGLRenderingContext.getParameter()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getParameter() method of the WebGL API returns a value for the passed parameter name.
5128WebGLRenderingContext.getProgramInfoLog()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getProgramInfoLog returns the information log for the specified WebGLProgram object. It contains errors that occurred during failed linking or validation of WebGLProgram objects.
5129WebGLRenderingContext.getProgramParameter()API, Method, Reference, WebGL, WebGL2, WebGLRenderingContext
The WebGLRenderingContext.getProgramParameter() method of the WebGL API returns information about the given program.
5130WebGLRenderingContext.getRenderbufferParameter()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getRenderbufferParameter() method of the WebGL API returns information about the renderbuffer.
5131WebGLRenderingContext.getShaderInfoLog()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getShaderInfoLog returns the information log for the specified WebGLShader object. It contains warnings, debugging and compile information.
5132WebGLRenderingContext.getShaderParameter()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getShaderParameter() method of the WebGL API returns information about the given shader.
5133WebGLRenderingContext.getShaderPrecisionFormat()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getShaderPrecisionFormat() method of the WebGL API returns a new WebGLShaderPrecisionFormat object describing the range and precision for the specified shader numeric format.
5134WebGLRenderingContext.getShaderSource()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getShaderSource() method of the WebGL API returns the source code of a WebGLShader as a DOMString.
5135WebGLRenderingContext.getSupportedExtensions()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getSupportedExtensions() method returns a list of all the supported WebGL extensions.
5136WebGLRenderingContext.getTexParameter()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getTexParameter() method of the WebGL API returns information about the given texture.
5137WebGLRenderingContext.getUniform()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getUniform() method of the WebGL API returns the value of a uniform variable at a given location.
5138WebGLRenderingContext.getUniformLocation()API, Method, Reference, Uniform Variables, Uniforms, Variables, Variables in WebGL, WebGL, WebGLRenderingContext, getUniformLocation
Part of the WebGL API, the WebGLRenderingContext method getUniformLocation() returns the location of a specific uniform variable which is part of a given WebGLProgram.
5139WebGLRenderingContext.getVertexAttrib()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getVertexAttrib() method of the WebGL API returns information about a vertex attribute at a given position.
5140WebGLRenderingContext.getVertexAttribOffset()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.getVertexAttribOffset() method of the WebGL API returns the address of a specified vertex attribute.
5141WebGLRenderingContext.hint()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.hint() method of the WebGL API specifies hints for certain behaviors. The interpretation of these hints depend on the implementation.
5142WebGLRenderingContext.isBuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isBuffer() method of the WebGL API returns true if the passed WebGLBuffer is valid and false otherwise.
5143WebGLRenderingContext.isContextLost()API, Context, Lost, Method, Reference, WebGL, WebGLRenderingContext, isContextLost
The WebGLRenderingContext.isContextLost() method returns a Boolean indicating whether or not the WebGL context has been lost and must be re-established before rendering can resume.
5144WebGLRenderingContext.isEnabled()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isEnabled() method of the WebGL API tests whether a specific WebGL capability is enabled or not for this context.
5145WebGLRenderingContext.isFramebuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isFramebuffer() method of the WebGL API returns true if the passed WebGLFramebuffer is valid and false otherwise.
5146WebGLRenderingContext.isProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isProgram() method of the WebGL API returns true if the passed WebGLProgram is valid, false otherwise.
5147WebGLRenderingContext.isRenderbuffer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isRenderbuffer() method of the WebGL API returns true if the passed WebGLRenderbuffer is valid and false otherwise.
5148WebGLRenderingContext.isShader()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isShader() method of the WebGL API returns true if the passed WebGLShader is valid, false otherwise.
5149WebGLRenderingContext.isTexture()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.isTexture() method of the WebGL API returns true if the passed WebGLTexture is valid and false otherwise.
5150WebGLRenderingContext.lineWidth()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.lineWidth() method of the WebGL API sets the line width of rasterized lines.
5151WebGLRenderingContext.linkProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext interface's linkProgram() method links a given WebGLProgram, completing the process of preparing the GPU code for the program's fragment and vertex shaders.
5152WebGLRenderingContext.makeXRCompatible()3D, API, AR, Context, Mixed, Reality, Reference, VR, Virtual, WebGL, WebGL API, WebGLRenderingContext, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, makeXRCompatible
The WebGLRenderingContext method makeXRCompatible() ensures that the rendering context described by the WebGLRenderingContext is ready to render the scene for the immersive WebXR device on which it will be displayed. If necessary, the WebGL layer may reconfigure the context to be ready to render to a different device than it originally was.
5153WebGLRenderingContext.pixelStorei()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.pixelStorei() method of the WebGL API specifies the pixel storage modes.
5154WebGLRenderingContext.polygonOffset()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.polygonOffset() method of the WebGL API specifies the scale factors and units to calculate depth values.
5155WebGLRenderingContext.readPixels()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.readPixels() method of the WebGL API reads a block of pixels from a specified rectangle of the current color framebuffer into an ArrayBufferView object.
5156WebGLRenderingContext.renderbufferStorage()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.renderbufferStorage() method of the WebGL API creates and initializes a renderbuffer object's data store.
5157WebGLRenderingContext.sampleCoverage()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.sampleCoverage() method of the WebGL API specifies multi-sample coverage parameters for anti-aliasing effects.
5158WebGLRenderingContext.scissor()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.scissor() method of the WebGL API sets a scissor box, which limits the drawing to a specified rectangle.
5159WebGLRenderingContext.shaderSource()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.shaderSource() method of the WebGL API sets the source code of a WebGLShader.
5160WebGLRenderingContext.stencilFunc()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilFunc() method of the WebGL API sets the front and back function and reference value for stencil testing.
5161WebGLRenderingContext.stencilFuncSeparate()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilFuncSeparate() method of the WebGL API sets the front and/or back function and reference value for stencil testing.
5162WebGLRenderingContext.stencilMask()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilMask() method of the WebGL API controls enabling and disabling of both the front and back writing of individual bits in the stencil planes.
5163WebGLRenderingContext.stencilMaskSeparate()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilMaskSeparate() method of the WebGL API controls enabling and disabling of front and/or back writing of individual bits in the stencil planes.
5164WebGLRenderingContext.stencilOp()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilOp() method of the WebGL API sets both the front and back-facing stencil test actions.
5165WebGLRenderingContext.stencilOpSeparate()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.stencilOpSeparate() method of the WebGL API sets the front and/or back-facing stencil test actions.
5166WebGLRenderingContext.texImage2D()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.texImage2D() method of the WebGL API specifies a two-dimensional texture image.
5167WebGLRenderingContext.texParameter[fi]()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.texParameter[fi]() methods of the WebGL API set texture parameters.
5168WebGLRenderingContext.texSubImage2D()API, Method, Reference, Textures, WebGL, WebGLRenderingContext
The WebGLRenderingContext.texSubImage2D() method of the WebGL API specifies a sub-rectangle of the current texture.
5169WebGLRenderingContext.uniform[1234][fi][v]()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.uniform[1234][fi][v]() methods of the WebGL API specify values of uniform variables. All active uniform variables defined in a program object are initialized to 0 when the program object is linked successfully. They retain the values assigned to them by a call to this method until the next successful link operation occurs on the program object, when they are once again initialized to 0.
5170WebGLRenderingContext.uniformMatrix[234]fv()API, Method, Reference, Uniform Variables, Uniforms, WebGL, WebGL API, WebGLRenderingContext, matrices, matrix, uniformMatrix2fv, uniformMatrix3fv, uniformMatrix4fv
The WebGLRenderingContext.uniformMatrix[234]fv() methods of the WebGL API specify matrix values for uniform variables.
5171WebGLRenderingContext.useProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.useProgram() method of the WebGL API sets the specified WebGLProgram as part of the current rendering state.
5172WebGLRenderingContext.validateProgram()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.validateProgram() method of the WebGL API validates a WebGLProgram. It checks if it is successfully linked and if it can be used in the current WebGL state.
5173WebGLRenderingContext.vertexAttrib[1234]f[v]()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.vertexAttrib[1234]f[v]() methods of the WebGL API specify constant values for generic vertex attributes.
5174WebGLRenderingContext.vertexAttribPointer()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.vertexAttribPointer() method of the WebGL API binds the buffer currently bound to gl.ARRAY_BUFFER to a generic vertex attribute of the current vertex buffer object and specifies its layout.
5175WebGLRenderingContext.viewport()API, Method, Reference, WebGL, WebGLRenderingContext
The WebGLRenderingContext.viewport() method of the WebGL API sets the viewport, which specifies the affine transformation of x and y from normalized device coordinates to window coordinates.
5176WebGLSamplerAPI, Experimental, Reference, WebGL, WebGL2
The WebGLSampler interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
5177WebGLShaderReference, WebGL, WebGLShader
The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.
5178WebGLShaderPrecisionFormatAPI, Reference, WebGL
The WebGLShaderPrecisionFormat interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
5179WebGLShaderPrecisionFormat.precisionAPI, Property, Reference, WebGL
The read-only WebGLShaderPrecisionFormat.precision property returns the number of bits of precision that can be represented.
5180WebGLShaderPrecisionFormat.rangeMaxAPI, Property, Reference, WebGL
The read-only WebGLShaderPrecisionFormat.rangeMax property returns the base 2 log of the absolute value of the maximum value that can be represented.
5181WebGLShaderPrecisionFormat.rangeMinAPI, Property, Reference, WebGL
The read-only WebGLShaderPrecisionFormat.rangeMin property returns the base 2 log of the absolute value of the minimum value that can be represented.
5182WebGLSyncAPI, Experimental, Reference, WebGL, WebGL2
The WebGLSync interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
5183WebGLTextureAPI, Reference, WebGL
The WebGLTexture interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
5184WebGLTransformFeedbackAPI, Interface, Reference, WebGL, WebGL2
The WebGLTransformFeedback interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times.
5185WebGLUniformLocationAPI, Reference, WebGL
The WebGLUniformLocation interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
5186WebGLVertexArrayObjectAPI, Reference, WebGL, WebGL2
The WebGLVertexArrayObject interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.
5187WebRTC APIAPI, Audio, Conferencing, Landing, Media, Networking, Video, WebRTC, WebRTC API, streaming
WebRTC (Web Real-Time Communication) is a technology which enables Web applications and sites to capture and optionally stream audio and/or video media, as well as to exchange arbitrary data between browsers without requiring an intermediary.
5188Improving compatibility using WebRTC adapter.jsAPI, Audio, Guide, Video, WebRTC
The WebRTC organization provides on GitHub the WebRTC adapter to work around compatibility issues in different browsers' WebRTC implementations. The adapter is a JavaScript shim which lets your code to be written to the specification so that it will "just work" in all browsers with WebRTC support.
5189Building an Internet-Connected Phone with PeerJS
Recently I’ve been fiddling around with WebRTC. WebRTC is a group of API endpoints and protocols that make it possible to send data (in the form of audio, video or anything else really) from one peer/device to another without the need of a traditional server. The issue is, WebRTC is pretty complicated to use and develop with in and of itself, handling the signalling service and knowing when to call the right endpoint can get confusing. But I come bearing good news; PeerJS is a WebRTC framework that abstracts all of the ice and signalling logic so that you can focus on the functionality of your application. There are two parts to PeerJS, the client-side framework and the server, we’ll be using both but most of our work will be handling the client-side code.
5190Building the Server
The server file will look like a regular Express server file with one difference, the Peer server.
5191Connecting the Peers
This is the part you’ve been waiting for, actually creating the peer connection and call logic. This is going to be an involved process so strap in. First up, create a script.js file, this is where all your logic will live.
5192Answering a Call
The peerJS framework makes the .on('call') event available to use so let’s use it here.
5193Creating a Peer Connection
Next, you want to ensure your users have a way of connecting their peers. In order to connect two peers, you’ll need the peer ID for one of them. You can create a variable with let then assign it in a function to be called later.
5194Creating a Call
Now you’ll want to give your users the ability to create calls. First get the call button that’s defined in the HTML:
5195Ending a Call
The last thing you want to do, is ensure your callers have a way of ending the call. The most graceful way of doing this is closing the connection using the close , which you can do in an event listener for the hang up button.
5196Getting Browser Microphone Permission
After you’ve created the peer, you’ll want to get the browser’s permission to access the microphone. We’ll be using the getUserMedia function on the navigator.MediaDevices object, which is part of the Media Devices Web interface. The getUserMedia endpoint takes a constraints object which specifies which permissions are needed. getUserMedia is a promise which when successfully resolved returns a MediaStream object. In this case this is going to be the audio from our stream. If the promise isn’t successfully resolved, you’ll want to catch and display the error.
5197Showing and Hiding the HTML
Alright, so you’ve got the permissions, now you’ll want to make sure each user knows what their peer ID is so that they can make connections. The peerJS framework gives us a bunch of event listeners we can call on the peer we created earlier on. So when the peer is open, display the peer’s ID:
5198Deployment and Further Reading
The easiest place to deploy this app would be Glitch, since you don’t have to fiddle with configuring the port for the peer server.
5199Setup
Web/API/WebRTC_API/build_a_phone_with_peerjs
5200WebRTC coding guide
Once you have an overall understanding of what WebRTC does and how it works, your mind likely turns to implementation. How do you create a Web application that uses two-way video or data streams without having to do all the hard work of compressing frames, building streams, and so forth by yourself? This coding guide will explain in depth how WebRTC works, and will dive into actual code that uses WebRTC to do useful things.
5201WebRTC connectivityAPI, Advanced, Audio, Draft, Guide, Media, Video, WebRTC
This article describes how the various WebRTC-related protocols interact with one another in order to create a connection and transfer data and/or media among peers.
5202High-level guidesAPI, Audio, Landing, Media, Video, WebAPI, WebRTC
WebRTC (Web Real-Time Communications) is a broad, multi-component system for setting up and operating complex audio, video, and data channels across networks among two or more peers on the Web. The high-level guides listed below introduce WebRTC technology from a top-down perspective, describing the overall architecture, the life cycle of a WebRTC connection, and basic security and technological issues you might run into as you explore and build Web content or apps using the WebRTC API.
5203Introduction to the Real-time Transport Protocol (RTP)API, Connectivity, Guide, Intermediate, Protocols, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, WebRTC
The Real-time Transport Protocol (RTP), defined in 3550, is an IETF standard protocol to enable real-time connectivity for exchanging data that needs real-time priority. This article provides an overview of what RTP is and how it functions in the context of WebRTC.
5204Establishing a connection: The WebRTC perfect negotiation patternAPI, Configure, Connection, Connectivity, Guide, Intermediate, Negotiation, Perfect Negotiation, Setup, Startup, WebRTC, WebRTC API
This article introduces WebRTC perfect negotiation, describing how it works and why it's the recommended way to negotiate a WebRTC connection between peers, and provides sample code to demonstrate the technique.
5205Introduction to WebRTC protocolsAPI, Audio, Beginner, Draft, Guide, ICE, Media, NAT, SDP, STUN, TURN, Video, WebRTC, WebRTC API
This article introduces the protocols on top of which the WebRTC API is built.
5206Lifetime of a WebRTC sessionAdvanced, Guide, NeedsContent, WebRTC

WebRTC lets you build peer-to-peer communication of arbitrary data, audio, or video—or any combination thereof—into a browser application. In this article, we'll look at the lifetime of a WebRTC session, from establishing the connection all the way through closing the connection when it's no longer needed.

5207Signaling and video callingAPI, Audio, Calling, Example, Guide, Media, Signaling, Tutorial, Video, WebRTC
WebRTC allows real-time, peer-to-peer, media exchange between two devices. A connection is established through a discovery and negotiation process called signaling. This tutorial will guide you through building a two-way video-call.
5208A simple RTCDataChannel sampleAPI, Communication, Example, Tutorial, WebRTC
The RTCDataChannel interface is a feature of the WebRTC API which lets you open a channel between two peers over which you may send and receive arbitrary data. The API is intentionally similar to the WebSocket API, so that the same programming model can be used for each.
5209Taking still photos with WebRTCAPI, Advanced, Example, Photos, Sample code, Still Photos, Video, WebRTC, camera, getusermedia, webcam
This article shows how to use WebRTC to access the camera on a computer or mobile phone with WebRTC support and take a photo with it.
5210Using WebRTC data channelsCommunications, Data Transfer, Draft, Guide, NeedsContent, Networking, RTCDataChannel, WebRTC, WebRTC API, buffering
In this guide, we'll examine how to add a data channel to a peer connection, which can then be used to securely exchange arbitrary data; that is, any kind of data we wish, in any format we choose.
5211Using DTMF with WebRTCAPI, DTMF, Example, Guide, Media, RTCDTMFSender, RTCPeerConnection, Touch-tone, WebRTC, WebRTC API
In order to more fully support audio/video conferencing, WebRTC supports sending DTMF to the remote peer on an RTCPeerConnection. This article offers a brief high-level overview of how DTMF works over WebRTC, then provides a guide for everyday developers about how to send DTMF over an RTCPeerConnection. The DTMF system is often referred to as "touch tone," after an old trade name for the system.
5212WebRTC Statistics APIAPI, Draft, Identifiers, Identifiers for WebRTC Statistics API, Landing, RTP, Statistics, Stats, WebRTC, WebRTC Statistics API
WebRTC
5213WebSocketAPI, Interface, NeedsContent, WebSocket, WebSockets
The WebSocket object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
5214WebSocket.binaryTypeAPI, Property, Reference, Web API, WebSocket
The WebSocket.binaryType property returns the type of binary data being transmitted by the connection.
5215WebSocket.bufferedAmountAPI, Property, Reference, Web API, WebSocket
The WebSocket.bufferedAmount read-only property returns the number of bytes of data that have been queued using calls to send but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send, this will continue to climb.
5216WebSocket: close eventReference, Web, WebSocket, close, events
The close event is fired when a connection with a WebSocket is closed.
5217WebSocket.close()API, Method, Reference, Web API, WebSocket
The WebSocket.close() method closes the WebSocket connection or connection attempt, if any. If the connection is already CLOSED, this method does nothing.
5218WebSocket: error eventAPI, Error, Event, Reference, Web, WebSocket
The error event is fired when a connection with a WebSocket has been closed due to an error (some data couldn't be sent for example).
5219WebSocket.extensionsAPI, Property, Reference, Web API, WebSocket
The WebSocket.extensions read-only property returns the extensions selected by the server. This is currently only the empty string or a list of extensions as negotiated by the connection.
5220WebSocket: message eventEvent, Reference, WebSocket, message
The message event is fired when data is received through a WebSocket.
5221WebSocket.oncloseAPI, Property, Reference, Web API, WebSocket
The WebSocket.onclose property is an EventHandler that is called when the WebSocket connection's WebSocket.readyState changes to WebSocket.readyState. It is called with a CloseEvent.
5222WebSocket.onerrorAPI, Connection, Error, Error Handler, Networking, Property, Reference, Web API, WebSocket, onerror
The WebSocket interface's onerror event handler property is a function which gets called when an error occurs on the WebSocket.
5223WebSocket.onmessageAPI, Property, Reference, Web API, WebSocket
The WebSocket.onmessage property is an EventHandler that is called when a message is received from the server. It is called with a MessageEvent.
5224WebSocket.onopenAPI, Property, Reference, Web API, WebSocket
The WebSocket.onopen property is an EventHandler that is called when the WebSocket connection's WebSocket.readyState changes to WebSocket.readyState; this indicates that the connection is ready to send and receive data. It is called with an Event.
5225WebSocket: open eventAPI, WebSocket, events, open
The open event is fired when a connection with a WebSocket is opened.
5226WebSocket.protocolAPI, Property, Reference, Web API, WebSocket
The WebSocket.protocol read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the protocols parameter when creating the WebSocket object, or the empty string if no connection is established.
5227WebSocket.readyStateAPI, Property, Reference, Web API, WebSocket
The WebSocket.readyState read-only property returns the current state of the WebSocket connection.
5228WebSocket.send()API, Method, Reference, Web API, WebSocket
The WebSocket.send() method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of bufferedAmount by the number of bytes needed to contain the data. If the data can't be sent (for example, because it needs to be buffered but the buffer is full), the socket is closed automatically.
5229WebSocket.urlAPI, Property, Reference, Web API, WebSocket
The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
5230WebSocket()API, Constructor, Reference, Web API, WebSocket
The WebSocket() constructor returns a new WebSocket object.
5231The WebSocket API (WebSockets)API, Client, Communication, Overview, Server, Two-Way, WebSocket, WebSocket API, WebSockets, data, interactive
Websockets API
5232Writing a WebSocket server in JavaHTML5, Handshaking, NeedsMarkupWork, Tutorial, WebSockets
This example shows you how to create a WebSocket API server using Oracle Java.

Although other server-side languages can be used to create a WebSocket server, this example uses Oracle Java to simplify the example code.
5233Writing WebSocket client applicationsClient, Example, Guide, Networking, Web Sockets API, WebSocket, WebSocket API, WebSockets
WebSocket client applications use the WebSocket API to communicate with WebSocket servers using the WebSocket protocol.
5234Writing a WebSocket server in C#HTML5, NeedsMarkupWork, Tutorial, WebSockets
If you would like to use the WebSocket API, it is useful if you have a server. In this article I will show you how to write one in C#. You can do it in any server-side language, but to keep things simple and more understandable, I chose Microsoft's language.
5235Writing WebSocket serversGuide, HTML5, NeedsContent, NeedsExample, NeedsMarkupWork, Tutorial, WebSocket, WebSocket API, WebSockets
A WebSocket server is nothing more than an application listening on any port of a TCP server that follows a specific protocol. The task of creating a custom server tends to scare people; however, it can be straightforward to implement a simple WebSocket server on your platform of choice.
5236WebVR APIAPI, Deprecated, Experimental, Landing, Obsolete, Reference, VR, Virtual Reality, WebVR
WebVR provides support for exposing virtual reality devices — for example, head-mounted displays like the Oculus Rift or HTC Vive — to web apps, enabling developers to translate position and movement information from the display into movement around a 3D scene. This has numerous, interesting applications, from virtual product tours and interactive training apps to immersive first-person games.
5237WebVR conceptsAcceleration, Apps, FOV, Guide, Orientation, Position, VR, Virtual Reality, WebVR, concepts, velocity
This article discusses some of the concepts and theory behind virtual reality (VR). If you are a newcomer to the area, it is worthwhile getting an understanding of these topics before you start diving into code.
5238Using the WebVR API1.1, API, Canvas, Tutorial, VR, Virtual Reality, WebGL, WebVR
The WebVR API is a fantastic addition to the web developer's toolkit, allowing WebGL scenes to be presented in virtual reality displays such as the Oculus Rift and HTC Vive. But how do you get started with developing VR apps for the Web? This article will guide you through the basics.
5239Using VR controllers with WebVRExperimental, Gamepad API, Guide, VR, Virtual Reality, WebGL, WebVR, controllers
Many WebVR hardware setups feature controllers that go along with the headset. These can be used in WebVR apps via the Gamepad API, and specifically the Gamepad Extensions API that adds API features for accessing controller pose, haptic actuators, and more. This article explains the basics.
5240Web Video Text Tracks Format (WebVTT)API, Intermediate, Media, NeedsMarkupWork, NeedsUpdate, Reference, Video, Web Video Text Tracks, WebVTT, captions, subtitles, text tracks
Web Video Text Tracks Format (WebVTT) is a format for displaying timed text tracks (such as subtitles or captions) using the track element.
5241WebXR Device APIAPI, AR, Augmented Reality, Graphics, Overview, VR, Virtual Reality, WebXR, WebXR API, WebXR Device API, XR
WebXR is a group of standards which are used together to support rendering 3D scenes to hardware designed for presenting virtual worlds (virtual reality, or VR), or for adding graphical imagery to the real world, (augmented reality, or AR).
5242Using bounded reference spaces3D, Graphics, Guide, Reference Space, WebXR, WebXR Device API, XRBoundedReferenceSpace, space
This article examines bounded reference spaces as represented by XRBoundedReferenceSpace, describing what they are and how they're used.
5243Viewpoints and viewers: Simulating cameras in WebXR3D, API, AR, Advanced, Cameras, Coordinates, Guide, Location, Motion, Position, VR, Viewers, Viewpoints, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRPose, XRView, XRViewerPose, rotation, transform
In this guide we show how use WebGL to simulate camera movements without having a camera to move. These techniques can be used in any WebGL (or WebXR) project.
5244Fundamentals of WebXRAPI, AR, Getting Started, Guide, Reality, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, basics, memory
In this guide, we provide a fundamental overview of what WebXR is and how it works, as well as providing a foundation for what you'll need to know before you even begin to learn to develop augmented reality and virtual reality experiences for the web.
5245Geometry and reference spaces in WebXRAPI, Geometry, Guide, Math, Orientation, Placement, Position, Reference Spaces, Spaces, WebXR, WebXR API, WebXR Device API
In this article, we introduce the ways in which WebXR expands upon the geometry of WebGL, and how the positions and orientations of objects—both physical and virtual—are described in relation to one another using spaces and, in particular, reference spaces.
5246Inputs and input sourcesAPI, AR, Controls, Graphics, Guide, Input, Input Sources, Inputs, Sources, VR, WebXR, WebXR API, WebXR Device API, XR, controllers
In this guide, we'll look at how to use WebXR's input device management features to determine what input sources are available and how to then monitor those sources for inputs in order to handle user interactivity with your virtual or augmented environment.
5247WebXR application life cycleAPI, Application, Draft, Guide, Life Cycle, Lifecycle, NeedsContent, Outline, Plan, Web, WebXR, WebXR API, WebXR Device API
In this guide, we'll get a birds-eye view of what's involved in creating and driving a WebXR application, without diving down to the code level in detail.
5248Lighting a WebXR setting3D, API, Graphics, Light, Shading, Shadows, WebGL, WebXR, WebXR Device API, lighting, rendering
However, there are issues and details to keep in mind while creating your lighting code, especially for augmented reality (AR) applications. This guide discusses these topics.
5249Movement, orientation, and motion: A WebXR example3D, API, AR, Example, Guide, Reality, Tutorial, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, rendering
In this article, we'll make use of information introduced in the previous articles in our WebXR tutorial series to construct an example which animates a rotating cube around which the user can move freely using a VR headset, keyboard, and/or mouse.
5250WebXR performance guideAPI, Guide, Performance, Quality, Scale, Scaling, WebXR, WebXR API, WebXR Device API, detail, effects, frame rate, frameRate, rendering, resolution, size, speed
WebXR Device API
5251WebXR permissions and security
The variety of hardware and software involved in XR brings multiple APIs and technologies into play. In this guide, we'll cover how to ensure your app has the permissions it needs to provide a secure and private XR experience.
5252A perspective retrospective for WebXR developers3D, API, AR, Graphics, Guide, Mixed, Reality, VR, Virtual, WebXR, WebXR Device API, XR, augmented, perspective
In this article, we examine scenarios in which the way your project calculates, applies, and thinks about perspective may differ from code written for non-XR applications.
5253Rendering and the WebXR frame animation callbackAPI, AR, Animation, Drawing, Frames, Games, Guide, Intermediate, Reality, Scene, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, display, rendering, requestAnimationFrame
This article covers the process of driving the frames of the XR scene to the device in the rendering loop, using the XRSession to obtain an XRFrame object representing each frame, which is then used to prepare the framebuffer for delivery to the XR device.
5254Spaces and reference spaces: Spatial tracking in WebXR3D, API, AR, Guide, Motion, NeedsContent, NeedsExample, Orientation, Poses, Position, Spaces, Spatial tracking, VR, WebXR, WebXR API, WebXR Device API, XR, movement, tracking
In this guide, we'll explore how WebXR uses spaces and, more specifically, reference spaces, to track the positions, orientations, and movements of objects and of the user's body in the virtual world.
5255Starting up and shutting down a WebXR session3D, API, AR, Beginner, Guide, Initialization, Mixed, Preparation, Reality, Setup, Shutdown, Startup, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented
Before you can begin to render your augmented or virtual reality scenario, you need to create and set up the WebXR session, and you should know how to shut it down properly as well. You will learn how to do these things in this article.
5256Targeting and hit detectionDraft
WebXR Device API
5257WheelEventAPI, DOM, Interface, Reference, WheelEvent
The WheelEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.
5258WheelEvent.deltaModeAPI, DOM, Property, Read-only, Reference, WheelEvent
The WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount. Permitted values are:
5259WheelEvent.deltaXAPI, DOM, Property, Read-only, Reference, Référence(2), WheelEvent
The WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit.
5260WheelEvent.deltaYAPI, DOM, Property, Read-only, Reference, Référence(2), WheelEvent
The WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit.
5261WheelEvent.deltaZAPI, DOM, Interface, Property, Read-only, Reference, Référence(2), WheelEvent
The WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.
5262WheelEvent()Constructor, DOM, Interface, Reference, WheelEvent
The WheelEvent() constructor returns a newly created WheelEvent object.
5263WindowAPI, Browser, HTML DOM, Interface, Reference, Tab, Window, global, global scope, scope
The Window interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window.
5264Window: afterprint eventEvent, Reference
The afterprint event is fired after the associated document has started printing or the print preview has been closed.
5265Window.alert()API, HTML DOM, Method, Reference, Window, alert
The Window.alert() method displays an alert dialog with the optional specified content and an OK button.
5266Window: animationcancel eventAPI, Animation, CSS Animations, Event, Reference, Window
The animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an Window/animationend_event event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
5267Window: animationend eventAPI, Animation, CSS Animations, Event, Reference, Window
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired.
5268Window: animationiteration eventAPI, Animation, CSS Animations, Event, Reference, Window
The animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the Window/animationend_event event, and therefore does not occur for animations with an animation-iteration-count of one.
5269Window: animationstart eventAPI, Animation, CSS Animations, Reference, Web, Window
The animationstart event is fired when a CSS Animation has started. If there is an animation-delay, this event will fire once the delay period has expired. A negative delay will cause the event to fire with an AnimationEvent/elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
5270Window: appinstalled eventAPI, Manifest, Reference, Web, appinstalled, events, web manifest
The appinstalled event of the Web Manifest API is fired when the browser has successfully installed a page as an application.
5271Window.applicationCacheAPI, Deprecated, HTML DOM, NeedsCompatTable, NeedsExample, NeedsSpecTable, Property, Reference, Window
Returns a reference to the application cache object for the window.
5272Window.back()API, Firefox, Gecko, HTML DOM, Method, Non-standard, Obsolete, Window, back
The obsolete and non-standard method back() on the window interface returns the window to the previous item in the history. This was a Firefox-specific method and was removed in Firefox 31.
5273Window: beforeprint eventEvent, Reference
The beforeprint event is fired when the associated document is about to be printed or previewed for printing.
5274Window: beforeunload eventEvent, Reference, Window
The beforeunload event is fired when the window, the document and its resources are about to be unloaded.
5275Window: blur eventAPI, Event, FocusEvent, Reference, Web, Window, blur, onblur
The blur event fires when an element has lost focus.
5276Window.blur()API, DOM, Gecko, Method
Shifts focus away from the window.
5277window.cancelAnimationFrame()API, Animation, DOM, Experimental, Method, Reference, Window
The window.cancelAnimationFrame() method cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame().
5278window.cancelIdleCallback()API, HTML DOM, JavaScript timers, Method, Reference, Window, cancelIdleCallback
The window.cancelIdleCallback() method cancels a callback previously scheduled with window.requestIdleCallback().
5279Window.captureEvents()API, Gecko, HTML DOM, Method, Non-standard
The Window.captureEvents() method registers the window to capture all events of the specified type.
5280Window.clearImmediate()API, HTML DOM, Method, Window
This method clears the action specified by window.setImmediate.
5281Window: clipboardchange eventAPI, Clipboard API, Reference, clipboardchange, events
The clipboardchange event fires when the system clipboard content changes.
5282Window.close()API, Gecko, HTML DOM, Method, Reference, Window
The Window.close() method closes the current window, or the window on which it was called.
5283Window.closedAPI, HTML DOM, NeedsCompatTable, Property, Reference, Window
The Window.closed read-only property indicates whether the referenced window is closed or not.
5284Window.confirm()API, HTML DOM, Method, Reference, Window, confirm
The Window.confirm() method displays a modal dialog with an optional message and two buttons: OK and Cancel.
5285Window.consoleAPI, Property, Read-only, Reference, Window, console
The Window.console property returns a reference to the Console object, which provides methods for logging information to the browser's console. These methods are intended for debugging purposes only and should not be relied on for presenting information to end users.
5286Window.content
Returns a Window object for the primary content window. This is useful in XUL windows that have a <browser> (or tabbrowser or <iframe>) with type="content-primary" attribute on it — the most famous example is Firefox main window, browser.xul. In such cases, content returns a reference to the Window object for the document currently displayed in the browser. It is a shortcut for browserRef.contentWindow.
5287Window.controllersAPI, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, Non-standard, Property, Reference, Window
The controllers property of the Window interface returns the XUL controllers of the chrome window.
5288Window.convertPointFromNodeToPage()API, HTML DOM, Method, Non-standard, Point, Reference, Safari, WebKit, Window
Given a Point specified in a particular DOM Node's coordinate system, the Window method convertPointFromNodeToPage() returns a Point which specifies the same position in the page's coordinate system. This method is non-standard and should not be used.
5289Window.convertPointFromPageToNodeAPI, Method, Non-standard, Point, Reference, Safari, WebKit, Window, convertPointFromPageToNode
Given a Point specified in the page's coordinate system, the Window method convertPointFromPageToNode() returns a Point object specifying the same location in the coordinate system of the specified DOM Node.
5290Window: copy eventAPI, Clippboard API, Event, Reference, Web, Window, copy
The copy event fires when the user initiates a copy action through the browser's user interface.
5291Window.cryptoAPI, Crypto, Cryptography, Encoding, Encryption, HTML DOM, Property, Read-only, Reference, Security, Window
The read-only Window.crypto property returns the Crypto object associated to the global object. This object allows web pages access to certain cryptographic related services.
5292Window.customElementsAPI, CustomElementRegistry, Property, Reference, Web Components, Window, custom elements, customElements
The customElements read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
5293Window: cut eventAPI, Clippboard API, Cut, Event, Reference, Web, Window
The cut event is fired when the user has initiated a "cut" action through the browser's user interface.
5294Window.defaultStatusAPI, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
Gets/sets the status bar text for the given window.
5295Window: devicemotion eventAPI, Device Orientation API, Sensors, events
The devicemotion event is fired at a regular interval and indicates the amount of physical force of acceleration the device is receiving at that time. It also provides information about the rate of rotation, if available.
5296Window: deviceorientation eventDevice Orientation API, Sensors, Window Event, events
The deviceorientation event is fired when fresh data is available from an orientation sensor about the current orientation of the device as compared to the Earth coordinate frame. This data is gathered from a magnetometer inside the device.
5297Window.devicePixelRatioAPI, Adaptive Design, Property, Read-only, Reference, Window, devicePixelRatio, ratio, resolution
The devicePixelRatio of Window interface returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
5298Window.dialogArgumentsAPI, Deprecated, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
The dialogArguments property returns the parameters that were passed into the window.showModalDialog() method.
5299Window.directoriesAPI, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
Returned the window personalbar toolbar object. Use the window.personalbar instead.
5300Window.documentAPI, HTML DOM, Property, Reference, Window
window.document returns a reference to the document contained in the window.
5301Window: DOMContentLoaded eventEvent, Reference, Web, Window, events
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading.
5302Window.dump()API, HTML DOM, Method, Non-standard, Window
Window.dump() prints messages to the (native) console.
5303Window: error eventAPI, Event, UI Events, Window
The error event is fired on a Window object when a resource failed to load or couldn't be used — for example if a script has an execution error.
5304Window.eventAPI, Event, Event Handler, HTML DOM, Property, Read-only, Window
The read-only Window property event returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
5305Window.externalAPI, Deprecated, Window, external
The external property of the Window API returns an instance of the External interface, which was intended to contain functions related to adding external search providers to the browser. However, this is now deprecated, and the contained methods are now dummy functions that do nothing as per spec.
5306Window.find()API, HTML DOM, Method, NeedsCompatTable, NeedsContent, Non-standard, Reference, Window, find
The Window.find() method finds a string in a window.
5307Window: focus eventAPI, Event, Focus, FocusEvent, Reference, Web, Window, onfocus
The focus event fires when an element has received focus.
5308Window.focus()API, Gecko, HTML DOM, Method, Window
Makes a request to bring the window to the front. It may fail due to user settings and the window isn't guaranteed to be frontmost before this method returns.
5309Window.forward()API, Deprecated, Firefox, HTML DOM, Method, Non-standard, Obsolete, Window, forward
Moves the window one document forward in history. This was a Firefox-specific method and was removed in Firefox 31.
5310Window.frameElementAPI, DOM, Property, Reference, Window
The Window.frameElement property returns the element (such as iframe or object) in which the window is embedded.
5311Window.framesAPI, Gecko, HTML DOM, NeedsContent, NeedsUpdate, Property, Reference, Window
Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.
5312Window.fullScreenAPI, HTML DOM, NeedsMarkupWork, Non-standard, Property, Reference, Window
The fullScreen property of the Window interface indicates whether the window is displayed in full screen mode or not.
5313Window: gamepadconnected event
The gamepadconnected event is fired when the browser detects that a gamepad has been connected or the first time a button/axis of the gamepad is used.
5314Window: gamepaddisconnected event
The gamepaddisconnected event is fired when the browser detects that a gamepad has been disconnected.
5315Window.getAttention()API, Gecko, HTML DOM, Method, Reference, Window
The Window.getAttention() method attempts to get the user's attention. The mechanism for this happening depends on the specific operating system and window manager.
5316Window.getComputedStyle()API, CSSOM View, Method, Reference, Window, getComputedStyle
The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain. Individual CSS property values are accessed through APIs provided by the object, or by indexing with CSS property names.
5317Window.getDefaultComputedStyle()API, CSS, Method, Reference
The getDefaultComputedStyle() method gives the default computed values of all the CSS properties of an element, ignoring author styling. That is, only user-agent and user styles are taken into account.
5318Window.getSelection()API, HTML DOM, Method, Reference, Selection, Selection API, Window
The Window.getSelection() method returns a Selection object representing the range of text selected by the user or the current position of the caret.
5319Window: hashchange eventAPI, Event, HTML DOM, Reference, Window
The hashchange event is fired when the fragment identifier of the URL has changed (the part of the URL beginning with and following the # symbol).
5320Window.historyAPI, HTML DOM, History API, Property, Reference, Window
The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).
5321Window.home()API, Gecko, HTML DOM, Method, Obsolete, Reference, Window
The Window.home() method returns the window to the home page.
5322Window.innerHeightAPI, CSSOM, CSSOM View, HTML DOM, NeedsInteractiveExample, Property, Reference, View, Window, height, innerHeight
The read-only innerHeight property of the Window interface returns the interior height of the window in pixels, including the height of the horizontal scroll bar, if present.
5323Window.innerWidthAPI, CSSOM View, HTML DOM, Layout, Property, Reference, Window, innerWidth, width
The read-only Window property innerWidth returns the interior width of the window in pixels. This includes the width of the vertical scroll bar, if one is present.
5324Window.isSecureContextAPI, Property, Reference, Security, Window
Thewindow.isSecureContext read-only property indicates whether a context is capable of using features that require secure contexts.
5325Window: languagechange eventEvent, Experimental, HTML DOM, Reference, Window
The languagechange event is fired at the global scope object when the user's preferred language changes.
5326Window.lengthAPI, Gecko, HTML DOM, Property, Reference, Window
Returns the number of frames (either frame or iframe elements) in the window.
5327Window: load eventEvent, HTML DOM, Reference, Window, load
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets and images. This is in contrast to Document/DOMContentLoaded_event, which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading.
5328Window.localStorageAPI, Property, Read-only, Reference, Storage, Web Storage, Window, WindowLocalStorage, localStorage
The read-only localStorage property allows you to access a Storage object for the Document's origin; the stored data is saved across browser sessions.
5329Window.locationAPI, HTML, NeedsExample, Property, Reference, Window
The Window.location read-only property returns a Location object with information about the current location of the document.
5330Window.locationbarAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Returns the locationbar object, whose visibility can be checked.
5331Window.matchMedia()API, CSSOM View, HTML DOM, JavaScript, Media Queries, Method, Reference, Window
The Window interface's matchMedia() method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.
5332Window.menubarAPI, HTML DOM, Property, Reference, Window
The Window.menubar property returns the menubar object, whose visibility can be checked.
5333Window: message eventEvent
The message event is fired on a Window object when the window receives a message, for example from a call to Window.postMessage() from another browsing context.
5334Window: messageerror eventAPI, Event, MessageEvent, Reference, Window
The messageerror event is fired on a Window object when it receives a message that can't be deserialized.
5335Window.minimize()API, HTML DOM, Method, NeedsContent, NeedsExample, Reference, Window
The Window.minimize() method sets the window to a minimized state.
5336Window.moveBy()API, CSSOM View, Method, Reference, Window
The moveBy() method of the Window interface moves the current window by a specified amount.
5337Window.moveTo()API, CSSOM View, Method, Reference, Window
The moveTo() method of the Window interface moves the current window to the specified coordinates.
5338Window.mozAnimationStartTimeAPI, HTML DOM, Obsolete, Property, Reference, Window
Returns the time, in milliseconds since the epoch, at which animations started now should be considered to have started. This value should be used instead of, for example, Date.now(), because this value will be the same for all animations started in this window during this refresh interval, allowing them to remain in sync with one another.
5339Window.mozInnerScreenXAPI, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Gets the X coordinate of the top-left corner of the window's viewport, in screen coordinates.
5340Window.mozInnerScreenYAPI, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Gets the Y coordinate of the top-left corner of the window's viewport, in screen coordinates.
5341Window.mozPaintCountAPI, API:Mozilla Extensions, Deprecated, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Non-standard, Property, Reference, Window
Returns the number of times the current document has been painted to the screen in this window.
5342Window.nameAPI, HTML DOM, Property, Reference
The Window.name property gets/sets the name of the window's browsing context.
5343Window.navigatorAPI, HTML DOM, Property, Read-only, Reference, Window
The Window.navigator read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
5344Window: offline eventAPI, Event, Offline, Reference, Window
The offline event of the Window interface is fired when the browser has lost access to the network and the value of Navigator.onLine switches to false.
5345Window.onappinstalledAPI, Event Handler, Manifest, Obsolete, Property, Reference, Window, onappinstalled, web manifest
The onappinstalled attribute of the Window object serves as an event handler for the appinstalled event, which is dispatched once the web application is successfully installed as a progressive web app. The event that is fired is a "simple event" that implements the Event interface.
5346Window.onbeforeinstallpromptAPI, Event Handler, Manifest, Property, Reference, Window, onbeforeinstallprompt
The Window.onbeforeinstallprompt property is an event handler for processing a beforeinstallprompt, which is dispatched on devices when a user is about to be prompted to "install" a web application. Its associated event may be saved for later and used to prompt the user at a more suitable time.
5347Window.ondevicelightAPI, Ambient Light Events, Experimental, NeedsMarkupWork, Property, Reference
Specifies an event listener to receive devicelight events. These events occur when the device's light level sensor detects a change in the intensity of the ambient light level.
5348Window.ondevicemotionAPI, Device Orientation, Event Handler, Mobile, Motion, Orientation, Property, Reference
An event handler for the Window/devicemotion_event events sent to the window.
5349Window.ondeviceorientationAPI, Device Orientation, Mobile, Orientation, Property
An event handler for the deviceorientation event, which contains information about a relative device orientation change.
5350Window.ondeviceorientationabsoluteAPI, Device Orientation, Mobile, Orientation, Property
An event handler for the deviceorientationabsolute event containing information about an absolute device orientation change.
5351Window.ondeviceproximityAPI, Event Handler, Experimental, NeedsMarkupWork, Property, Proximity Events, Reference, Window
The ondeviceproximity property of the Window interface specifies an EventHandler to receive deviceproximity events. These events occur when the device sensor detects that an object becomes closer to or farther from the device.
5352Window.ondragdropAPI, HTML DOM, Obsolete, Property, Window, ondragdrop
Removed in Firefox 50, and never implemented in any other browser. Use the modern standard HTML5 drag and drop feature instead.
5353Window.ongamepadconnectedAPI, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepadconnected
The ongamepadconnected property of the Window interface represents an event handler that will run when a gamepad is connected (when the gamepadconnected event fires).
5354Window.ongamepaddisconnectedAPI, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepaddisconnected
The ongamepaddisconnected property of the Window interface represents an event handler that will run when a gamepad is disconnected (when the gamepaddisconnected event fires).
5355Window: online eventAPI, Event, Online, Reference, Window
The online event of the Window interface is fired when the browser has gained access to the network and the value of Navigator.onLine switches to true.
5356Window.onmozbeforepaintAPI, Event Handler, Mozilla, Non-standard, Obsolete, Property, Window, onmozbeforepaint
An event handler for the MozBeforePaint event. This is used in concert with the window.mozRequestAnimationFrame() method to perform smooth, synchronized animations from JavaScript code.
5357Window.onpaintAPI, Event Handler, HTML DOM, Non-standard, Property
Window.onpaint is an event handler for the paint event on the window.
5358Window.onuserproximityAPI, Experimental, NeedsBetterSpecLink, Property, Proximity Events, Reference, Window
The Window.onuserproxymity property represents an EventHandler, that is a function to be called when the userproximity event occurs. These events are of type UserProximityEvent and occur when the device sensor detects that an object becomes nearby.
5359Window.onvrdisplayactivateAPI, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayactivate
The onvrdisplayactivate property of the Window interface represents an event handler that will run when a display is able to be presented to (when the vrdisplayactivate event fires), for example if an HMD has been moved to bring it out of standby, or woken up by being put on.
5360Window.onvrdisplayblurAPI, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayblur
The onvrdisplayblur property of the Window interface represents an event handler that will run when presentation to a display has been paused for some reason by the browser, OS, or VR hardware (when the vrdisplayblur event fires) — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience.
5361Window.onvrdisplayconnectAPI, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayconnect
The onvrdisplayconnect property of the Window interface represents an event handler that will run when a compatible VR display has been connected to the computer (when the vrdisplayconnect event fires).
5362Window.onvrdisplaydeactivateAPI, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydeactivate
The onvrdisplaydeactivate property of the Window interface represents an event handler that will run when a display can no longer be presented to (when the vrdisplaydeactivate event fires), for example if an HMD has gone into standby or sleep mode due to a period of inactivity.
5363Window.onvrdisplaydisconnectAPI, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydisconnect
The onvrdisplaydisconnect event handler property of the Window interface is called when a compatible VR display has been disconnected from the computer (when the vrdisplaydisconnect event fires).
5364Window.onvrdisplayfocusAPI, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayfocus
The onvrdisplayfocus property of the Window interface represents an event handler that will run when presentation to a display has resumed after being blurred (when the vrdisplayfocus event fires).
5365Window.onvrdisplaypointerrestrictedEvent Handler, Experimental, Property, Reference, Window, onvrdisplaypointerrestricted
The onvrdisplaypointerrestricted property of the Window interface represents an event handler that will run when the VR display's pointer input is restricted to consumption via a pointerlocked element.
5366Window.onvrdisplaypointerunrestrictedEvent Handler, Experimental, Property, WebVR, Window, onvrdisplaypointerunrestricted
The onvrdisplaypointerunrestricted property of the Window interface represents an event handler that will run when the VR display's pointer input is no longer restricted to consumption via a pointerlocked element.
5367Window.onvrdisplaypresentchangeAPI, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaypresentchange
The onvrdisplaypresentchange property of the Window interface represents an event handler that will run when the presenting state of a VR display changes — i.e. goes from presenting to not presenting, or vice versa (when the vrdisplaypresentchange event fires).
5368Window.open()API, DOM, Method, NeedsMarkupWork, NeedsUpdate, Reference, Window, open
The Window interface's open() method loads the specified resource into the new or existing browsing context (window, iframe or tab) with the specified name. If the name doesn't exist, then a new browsing context is opened in a new tab or a new window, and the specified resource is loaded into it.
5369Obsolete features
This page lists the obsolete windowFeatures parameter of window.open function.
5370Privileged features
This page lists the windowFeatures parameter of window.open function that requires chrome-privilege in Firefox.
5371Window.openDialog()API, Gecko, HTML DOM, Method, Non-standard, Reference, Window
window.openDialog() is an extension to window.open(). It behaves the same, except that it can optionally take one or more parameters past windowFeatures, and windowFeatures itself is treated a little differently.
5372Window.openerAPI, HTML DOM, NeedsExample, Property, Reference, Window, opener
The Window interface's opener property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a target attribute.
5373Window.orientationNeedsContent
Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.
5374Window: orientationchange eventAPI, Event, Reference, Sensors, Window, onorientationchange
The orientationchange event is fired when the orientation of the device has changed.
5375Window.outerHeightAPI, CSSOM View, NeedsContent, Property, Reference
The Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.
5376Window.outerWidthAPI, CSSOM View, NeedsContent, Property, Reference
Window.outerWidth read-only property returns the width of the outside of the browser window. It represents the width of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles.
5377Window: pagehide eventAPI, Event, History, Navigation, Reference, Window, pagehide
The pagehide event is sent to a Window when the browser hides the current page in the process of presenting a different page from the session's history.
5378Window: pageshow eventAPI, Document, Event, History, Navigation, Page, PageTransitionEvent, Reference, Window, pageshow, show
The pageshow event is sent to a Window when the browser displays the window's document due to navigation.
5379Window.pageXOffsetAPI, Alias, CSSOM View, CSSOM View API, NeedsMobileBrowserCompatibility, Property, Window, scrolling
The read-only Window property pageXOffset is an alias for scrollX.
5380Window.pageYOffsetAPI, Alias, CSSOM View, CSSOM View API, Property, Scrolling Documents, Scrolling Windows, Vertical, Window, scrolling
The read-only Window property pageYOffset is an alias for Window.scrollY; as such, it returns the number of pixels the document is currently scrolled along the vertical axis (that is, up or down) with a value of 0.0, indicating that the top edge of the Document is currently aligned with the top edge of the window's content area.
5381Window.parentAPI, HTML DOM, NeedsSpecTable, Property, Reference, Window
The Window.parent property is a reference to the parent of the current window or subframe.
5382Window: paste eventAPI, Event, Reference, Web, Window, paste
The paste event is fired when the user has initiated a "paste" action through the browser's user interface.
5383Window.performanceAPI, HTML DOM, High Resolution Time, High Resolution Time API, Navigation Timing, Navigation Timing API, Optimization, Performance, Property, Reference, Telemetry, Window
The Window interface's performance property returns a Performance object, which can be used to gather performance information about the current document. It serves as the point of exposure for the Performance Timeline API, the High Resolution Time API, the Navigation Timing API, the User Timing API, and the Resource Timing API.
5384Window.personalbarAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Returns the personalbar object, whose visibility can be toggled in the window.
5385Window.pkcs11API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
Returns the pkcs11 object, which is used to install drivers and other software associated with the pkcs11 protocol. If pkcs11 isn't supported, this property returns null.
5386Window: popstate eventAPI, Event, HTML DOM, History, History API, Location, Navigation, Reference, URL, Window, popstate
The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. It changes the current history entry to that of the last page the user visited or, if history.pushState() has been used to add a history entry to the history stack, that history entry is used instead.
5387Window.postMessage()API, Cross-origin Communication, HTML DOM, Method, Reference, Window, postMessage
The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
5388Window.print()API, HTML DOM, Method, Reference, Window
Opens the Print Dialog to print the current document.
5389Window.prompt()API, HTML DOM, MakeBrowserAgnostic, Method, Reference, Window, prompt
The Window.prompt() displays a dialog with an optional message prompting the user to input some text.
5390Window: rejectionhandled eventAPI, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Window, Worker, events, global, onrejectionhandled, rejectionhandled
The rejectionhandled event is sent to the script's global scope (usually window but also Worker) whenever a JavaScript Promise is rejected but after the promise rejection has been handled.
5391Window.releaseEvents()API, DOM, DOM_0, Method, Non-standard, Reference, Window, releaseEvents
Releases the window from trapping events of a specific type.
5392Window.requestAnimationFrame()API, Animations, Drawing, Games, Graphics, HTML DOM, Intermediate, JavaScript timers, Method, Performance, Reference, Scheduling, Window, requestAnimationFrame
The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation before the next repaint. The method takes a callback as an argument to be invoked before the repaint.
5393Window.requestFileSystem()API, Deprecated, File, File System, File System API, File and Directory Entry API, Files, Method, Non-standard, Reference, Window, filesystem, requestFileSystem
The non-standard Window method requestFileSystem() method is a Google Chrome-specific method which lets a web site or app gain access to a sandboxed file system for its own use. The returned FileSystem is then available for use with the other file system APIs.
5394window.requestIdleCallback()API, HTML DOM, JavaScript timers, Method, Reference, Window, requestIdleCallback
The window.requestIdleCallback() method queues a function to be called during a browser's idle periods. This enables developers to perform background and low priority work on the main event loop, without impacting latency-critical events such as animation and input response. Functions are generally called in first-in-first-out order; however, callbacks which have a timeout specified may be called out-of-order if necessary in order to run them before the timeout elapses.
5395Window: resize eventAPI, Reference, Web, Window, events, resize
The resize event fires when the document view (window) has been resized.
5396Window.resizeBy()API, CSSOM View, Method, NeedsMarkupWork, Reference, Window
The Window.resizeBy() method resizes the current window by a specified amount.
5397Window.resizeTo()API, CSSOM View, Method, Reference, Window
The Window.resizeTo() method dynamically resizes the window.
5398Window.routeEvent()API, Method, Obsolete, Reference, Window, routeEvent
The Window method routeEvent(), which is obsolete and no longer available, used to be called to forward an event to the next object that has asked to capture events.
5399Window.screenAPI, CSSOM View, HTML DOM, Property, Window
The Window property screen returns a reference to the screen object associated with the window. The screen object, implementing the Screen interface, is a special object for inspecting properties of the screen on which the current window is being rendered.
5400Window.screenLeftAPI, CSSOM View, Property, Read-only, Reference, Window, screenLeft
The Window.screenLeft read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen.
5401Window.screenTopAPI, CSSOM View, Property, Read-only, Reference, Window, screenTop
The Window.screenTop read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.
5402Window.screenXAPI, CSSOM View, Property, Read-only, Reference, Window, screenX
The Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen.
5403Window.screenYAPI, CSSOM View, Property, Read-only, Reference, Window
The Window.screenY read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen.
5404Window.scroll()API, CSSOM View, Method, NeedsMarkupWork, Reference
The Window.scroll() method scrolls the window to a particular place in the document.
5405Window.scrollbarsAPI, HTML DOM, NeedsExample, Property, Reference, Window
The Window.scrollbars property returns the scrollbars object, whose visibility can be checked.
5406Window.scrollBy()API, CSSOM View, Method, Reference
The Window.scrollBy() method scrolls the document in the window by the given amount.
5407Window.scrollByLines()API, HTML DOM, Method, Non-standard, Reference, Window
The Window.scrollByLines() method scrolls the document by the specified number of lines.
5408Window.scrollByPages()API, HTML DOM, Method, Non-standard, Reference, Window, scrollByPages, scrolling
The Window.scrollByPages() method scrolls the current document by the specified number of pages.
5409Window.scrollMaxXAPI, Gecko, HTML DOM, Non-standard, Property, Window
The Window.scrollMaxX read-only property returns the maximum number of pixels that the document can be scrolled horizontally.
5410Window.scrollMaxYAPI, DOM_0, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Non-standard, Property, Reference, Window
The Window.scrollMaxY read-only property returns the maximum number of pixels that the document can be scrolled vertically.
5411Window.scrollTo()API, CSSOM View, Method, NeedsMarkupWork, Reference
Window.scrollTo() scrolls to a particular set of coordinates in the document.
5412Window.scrollXAPI, CSSOM View, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference
The read-only scrollX property of the Window interface returns the number of pixels that the document is currently scrolled horizontally. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number. You can get the number of pixels the document is scrolled vertically from the Window.scrollY property.
5413Window.scrollYAPI, CSSOM View, NeedsMarkupWork, Property, Reference, Window, scrollY
The read-only scrollY property of the Window interface returns the number of pixels that the document is currently scrolled vertically.
5414Window.selfAPI, HTML DOM, Property, Read-only, Reference, Window
The Window.self read-only property returns the window itself, as a WindowProxy. It can be used with dot notation on a window object (that is, window.self) or standalone (self). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Worker. By using self, you can refer to the global scope in a way that will work not only in a window context (self will resolve to window.self) but also in a worker context (self will then resolve to WorkerGlobalScope.self).
5415Window.sessionStorageAPIs, Property, Reference, Storage, Window, WindowSessionStorage, sessionStorage
The read-only sessionStorage property accesses a session Storage object for the current origin. sessionStorage is similar to Window.localStorage; the difference is that while data in localStorage doesn't expire, data in sessionStorage is cleared when the page session ends.
5416Window.setCursor()API, DOM_0, Method, Non-standard, Reference, Window
The Window.setCursor() method sets the cursor for the current window.
5417Window.setImmediate()API, HTML DOM, Method, Non-standard, Reference, Window, setImmediate
This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates.
5418Window.showDirectoryPicker()Directory, File, File System Access API, Method, Window, working with files
The showDirectoryPicker() method of the Window interface displays a directory picker which allows the user to select a directory.
5419Window.showModalDialog()API, Deprecated, HTML DOM, Method, Window
The Window.showModalDialog() created and displayed a modal dialog box containing a specified HTML document.
5420Window.showOpenFilePicker()File, File System Access API, Method, Window, working with files
The showOpenFilePicker() method of the Window interface shows a file picker that allows a user to select a file or multiple files and returns a handle for the file(s).
5421Window.showSaveFilePicker()Directory, File, File System Access API, Method, Window, working with files
The showSaveFilePicker() method of the Window interface shows a file picker that allows a user to save a file. Either by selecting an existing file, or entering a name for a new file.
5422Window.sidebarHTML DOM, Non-standard, Property, Reference, Window
Returns a sidebar object which contains several methods for registering add-ons with the browser.
5423Window.sizeToContent()API, HTML DOM, Method, Reference, Window
The Window.sizeToContent() method sizes the window according to its content. In order for it to work, the DOM content should be loaded when this function is called—for example, once the DOMContentLoaded event has been thrown.
5424Window.speechSynthesisAPI, Experimental, Property, Reference, SpeechSynthesis, Window
The speechSynthesis read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.
5425Window.statusAPI, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference, Window
The status property of the Window interface was originally intended to set the text in the status bar at the bottom of the browser window. However, the HTML standard now requires setting window.status to have no effect on the text displayed in the status bar.
5426Window.statusbarAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
The Window.statusbar property returns the statusbar object, whose visibility can be toggled in the window.
5427Window.stop()API, DOM, HTML DOM, Method, Reference, Window, stop
The window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
5428Window: storage eventAPI, Event, Reference, Storage, Web Storage, Window
The storage event of the Window interface fires when a storage area (localStorage) has been modified in the context of another document.
5429Window.toolbarAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
The Window.toolbar property returns the toolbar object, whose visibility can be toggled in the window.
5430Window.topAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Returns a reference to the topmost window in the window hierarchy.
5431Window: transitioncancel eventAPI, Event, Reference, Web, Window, events, transitioncancel
The transitioncancel event is fired when a CSS transition is canceled.
5432Window: transitionend eventAPI, Reference, Web, Window, events, transitionend
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to none, then the event will not be generated.
5433Window: transitionrun eventAPI, Reference, Web, Window, events, transitionrun
The transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
5434Window: transitionstart eventAPI, Reference, Web, Window, events, transitionstart
The transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
5435Window: unhandledrejection eventAPI, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Rejection, Window, Worker, events, global scope, unhandledrejection
The unhandledrejection event is sent to the global scope of a script when a JavaScript Promise that has no rejection handler is rejected; typically, this is the window, but may also be a Worker.
5436Window: unload eventEvent, Reference, Window, events
The unload event is fired when the document or a child resource is being unloaded.
5437Window.updateCommands()API, HTML DOM, Method, Reference, Window, XUL command nodes, sCommandName, updateCommands
Updates the state of commands of the current chrome window (UI).
5438Window.visualViewportAPI, Experimental, Property, Reference, Visual Viewport API, VisualViewport, Window
The visualViewport read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window.
5439Window: vrdisplayactivate eventReference, WebVR, events, onvrdisplayactivate, vrdisplayactivate
The vrdisplayactivate event of the WebVR API is fired when a VR display is able to be presented to, for example if an HMD has been moved to bring it out of standby, or woken up by being put on.
5440Window: vrdisplayblur eventExperimental, Reference, WebVR, events, onvrdisplayblur, vrdisplayblur
The vrdisplayblur event of the WebVR API is fired when presentation to a VR display has been paused for some reason by the browser, OS, or VR hardware — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience.
5441Window: vrdisplayconnect eventEvent, Reference, WebVR, onvrdisplayconnect, vrdisplayconnect
The vrdisplayconnect event of the WebVR API is fired when a compatible VR display is connected to the computer.
5442Window: vrdisplaydeactivate eventReference, WebVR, events, onvrdisplaydeactivate, vrdisplaydeactivate
The vrdisplaydeactivate event of the WebVR API is fired when a VR display can no longer be presented to, for example if an HMD has gone into standby or sleep mode due to a period of inactivity.
5443Window: vrdisplaydisconnect eventEvent, Reference, WebVR, onvrdisplaydisconnect, vrdisplaydisconnect
The vrdisplaydisconnect event of the WebVR API is fired when a compatible VR display is disconnected from the computer.
5444Window: vrdisplayfocus eventReference, WebVR, events, onvrdisplayfocus, vrdisplayfocus
The vrdisplayfocus event of the WebVR API is fired when presentation to a VR display has resumed after being blurred.
5445Window: vrdisplaypointerrestricted eventReference, Web VR, Window, events, vrdisplaypointerrestricted
The vrdisplaypointerrestricted event of the WebVR API is fired when the VR display's pointer input is restricted to consumption via a pointerlocked element.
5446Window: vrdisplaypointerunrestricted eventReference, WebVR, Window, events, vrdisplaypointerunrestricted
The vrdisplaypointerunrestricted event of the WebVR API is fired when the VR display's pointer input is no longer restricted to consumption via a pointerlocked element.
5447Window: vrdisplaypresentchange eventEvent, Reference, WebVR, onvrdisplaypresentchange, vrdisplaypresentchange
The vrdisplaypresentchange event of the WebVR API is fired when the presenting state of a VR display changes — i.e. goes from presenting to not presenting, or vice versa.
5448Window.windowAPI, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
The window property of a Window object points to the window object itself.
5449WindowClientAPI, Client, Experimental, Interface, Reference, Service Workers, ServiceWorker, WindowClient
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
5450WindowClient.focus()API, Client, Experimental, Focus, Method, Reference, Service Workers, WindowClient
The focus() method of the WindowClient interface gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient.
5451WindowClient.focusedAPI, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, focused
The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus.
5452WindowClient.navigate()API, Client, Experimental, Method, Navigate, Reference, Service Workers, WindowClient
The navigate() method of the WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient.
5453WindowClient.visibilityStateAPI, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, visibilityState
The visibilityState read-only property of the WindowClient interface indicates the visibility of the current client. This value can be one of "hidden", "visible", or "prerender".
5454WindowEventHandlersAPI, HTML-DOM, Interface, Mixin, Reference, WindowEventHandlers
The WindowEventHandlers mixin describes the event handlers common to several interfaces like Window, or HTMLBodyElement and HTMLFrameSetElement. Each of these interfaces can implement additional specific event handlers.
5455WindowEventHandlers.onafterprintAPI, Event Handler, HTML DOM, Property, Reference, Window, printing
The onafterprint property of the WindowEventHandlers mixin is the EventHandler for processing afterprint events for the current window. These events are raised after the user prints, or if they abort the print dialog.
5456WindowEventHandlers.onbeforeprintAPI, Event Handler, HTML DOM, Property, Reference, Wiindow, printing
The onbeforeprint property of the WindowEventHandlers mixin is the EventHandler for processing beforeprint events for the current window. These events are raised before the print dialog window is opened.
5457WindowEventHandlers.onbeforeunloadAPI, Event Handler, HTML DOM, Property, Reference, Window
The onbeforeunload property of the WindowEventHandlers mixin is the EventHandler for processing beforeunload events. These events fire when a window is about to unload its resources. At this point, the document is still visible and the event is still cancelable.
5458WindowEventHandlers.onhashchangeEvent Handler, HTML-DOM, Hash, Property, Reference, URL & Hash, WindowEventHandlers
The WindowEventHandlers.onhashchange property of the WindowEventHandlers mixin is the EventHandler for processing hashchange events.
5459WindowEventHandlers.onlanguagechangeAPI, Event Handler, Experimental, Property, Reference, WindowEventHandlers
The onlanguagechange property of the WindowEventHandlers mixin is the EventHandler for processing languagechange events.
5460WindowEventHandlers.onmessageAPI, Event Handler, HTML-DOM, Property, Reference, Window, WindowEventHandlers, events, onmessage
The onmessage property of the WindowEventHandlers mixin is the EventHandler called whenever an object receives a message event.
5461WindowEventHandlers.onmessageerrorAPI, Event Handler, HTML-DOM, Property, Reference, Window, onmessageerror
The onmessageerror event handler of the WindowEventHandlers interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on a window—that is, when it receives a message that cannot be Deserialization.
5462WindowEventHandlers.onpopstateAPI, Event Handler, HTML DOM, HTML5, NeedsSpecTable, Property, Window, events
The onpopstate property of the WindowEventHandlers mixin is the EventHandler for processing popstate events on the window.
5463WindowEventHandlers.onrejectionhandledAPI, Event Handler, HTML DOM, JavaScript, Promises, Property, Reference, WindowEventHandlers, events, onrejectionhandled
The onrejectionhandled property of the WindowEventHandlers mixin is the EventHandler for processing rejectionhandled events. These events are raised when Promises are rejected.
5464WindowEventHandlers.onstorageAPI, Event Handler, Property, Reference, Web Storage, WindowEventHandlers
The onstorage property of the WindowEventHandlers mixin is an EventHandler for processing storage events.
5465WindowEventHandlers.onunhandledrejectionAPI, Event Handler, HTML DOM, Promises, Property, Reference, WindowEventHandlers, events, onunhandledrejection
The onunhandledrejection property of the WindowEventHandlers mixin is the EventHandler for processing unhandledrejection events. These events are raised for unhandled Promise rejections.
5466WindowEventHandlers.onunloadAPI, Event Handler, MakeBrowserAgnostic, Property, Reference, WindowEventHandlers
The onunload property of the WindowEventHandlers mixin is the EventHandler for processing unload events. These events fire when the window is unloading its content and resources. The resource removal is processed after the unload event occurs.
5467WindowOrWorkerGlobalScopeAPI, HTML DOM, Service Worker, Window, WindowOrWorkerGlobalScope, Worker, WorkerGlobalScope
The WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope interfaces.
5468WindowOrWorkerGlobalScope.atob()API, HTML DOM, Method, Reference, WindowOrWorkerGlobalScope, atob
The WindowOrWorkerGlobalScope.atob() function decodes a string of data which has been encoded using Base64 encoding. You can use the WindowOrWorkerGlobalScope.btoa method to encode and transmit data which may otherwise cause communication problems, then transmit it and use the atob() method to decode the data again. For example, you can encode, transmit, and decode control characters such as ASCII values 0 through 31.
5469WindowOrWorkerGlobalScope.btoa()API, HTML DOM, Method, Reference, Web, WindowOrWorkerGlobalScope, btoa, data, strings
The WindowOrWorkerGlobalScope.btoa() method creates a Base64-encoded ASCII string from a binary string (i.e., a String object in which each character in the string is treated as a byte of binary data).
5470WindowOrWorkerGlobalScope.cachesAPI, Experimental, Property, Read-only, Reference, Service Workers, Web Workers, Window, WindowOrWorkerGlobalScope
The caches read-only property of the WindowOrWorkerGlobalScope interface returns the CacheStorage object associated with the current context. This object enables functionality such as storing assets for offline use, and generating custom responses to requests.
5471WindowOrWorkerGlobalScope.clearInterval()API, HTML DOM, JavaScript timers, Method, Reference, WindowOrWorkerGlobalScope, clearInterval
The clearInterval() method of the WindowOrWorkerGlobalScope mixin cancels a timed, repeating action which was previously established by a call to WindowOrWorkerGlobalScope.setInterval.
5472WindowOrWorkerGlobalScope.clearTimeout()API, HTML DOM, Method, Reference, WindowOrWorkerGlobalScope, clearTimeout
The clearTimeout() method of the WindowOrWorkerGlobalScope mixin cancels a timeout previously established by calling WindowOrWorkerGlobalScope.setTimeout.
5473self.createImageBitmap()API, Canvas, DOM, Method, Reference, WindowOrWorkerGlobalScope, createImageBitmap
The createImageBitmap() method creates a bitmap from a given source, optionally cropped to contain only a portion of that source. The method exists on the global scope in both windows and workers. It accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap.
5474WindowOrWorkerGlobalScope.crossOriginIsolatedAPI, Experimental, Property, Reference, WindowOrWorkerGlobalScope, crossOriginIsolated
The crossOriginIsolated read-only property of the WindowOrWorkerGlobalScope interface returns a boolean value that indicates whether a SharedArrayBuffer can be sent via a Window.postMessage() call.
5475WindowOrWorkerGlobalScope.fetch()API, Experimental, Fetch, Fetch API, GlobalFetch, Method, Reference, WindowOrWorkerGlobalScope, request
The fetch() method of the WindowOrWorkerGlobalScope mixin starts the process of fetching a resource from the network, returning a promise which is fulfilled once the response is available.
5476WindowOrWorkerGlobalScope.indexedDBAPI, Database, IndexedDB, Property, Read-only, Reference, Storage, WindowOrWorkerGlobalScope
The indexedDB read-only property of the WindowOrWorkerGlobalScope mixin provides a mechanism for applications to asynchronously access the capabilities of indexed databases.
5477WindowOrWorkerGlobalScope.isSecureContextAPI, HTML DOM, Property, Reference, Web, WindowOrWorkerGlobalContext, Workers, isSecureContext
The isSecureContext read-only property of the WindowOrWorkerGlobalScope interface returns a boolean indicating whether the current context is secure (true) or not (false).
5478WindowOrWorkerGlobalScope.originAPI, HTML DOM, Property, Reference, Web, Window, WindowOrWorkerGlobalScope, Worker, origin
The origin read-only property of the WindowOrWorkerGlobalScope interface returns the origin of the global scope, serialized as a string.
5479WindowOrWorkerGlobalScope.queueMicrotask()API, HTML DOM, Intervals, JavaScript, Method, Microtask, Performance, Reference, Scheduling, ServiceWorker, SharedWorker, Tasks, Timers, Window, WindowOrWorkerGlobalScope, Worker, asynchronous, queueMicrotask, setTimeout
The queueMicrotask() method, which is exposed on the Window or Worker interface, queues a microtask to be executed at a safe time prior to control returning to the browser's event loop.
5480WindowOrWorkerGlobalScope.setInterval()API, Gecko, HTML DOM, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, Timers, WindowOrWorkerGlobalScope, setInterval
The setInterval() method, offered on the Window and Worker interfaces, repeatedly calls a function or executes a code snippet, with a fixed time delay between each call.
5481WindowOrWorkerGlobalScope.setTimeout()API, HTML DOM, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, NeedsUpdate, Reference, Timers, WindowOrWorkerGlobalScope, setTimeout
The setTimeout() method of the WindowOrWorkerGlobalScope mixin (and successor to Window.setTimeout()) sets a timer which executes a function or specified piece of code once the timer expires.
5482WorkerAPI, DOM, Interface, JavaScript, Reference, Web Workers, Worker, Workers
The Worker interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.
5483Worker: message eventEvent
The message event is fired on a Worker object when the worker's parent receives a message from its worker (i.e. when the worker sends a message using DedicatedWorkerGlobalScope.postMessage()).
5484Worker: messageerror eventEvent
The messageerror event is fired on a Worker object when it receives a message that can't be deserialized.
5485Worker.onmessageAPI, EventHandler, Property, Reference, Référence(2), Web Workers, Worker, onmessage
The onmessage property of the Worker interface represents an EventHandler, that is a function to be called when the message event occurs. These events are of type MessageEvent and will be called when the worker's parent receives a message (i.e. from the DedicatedWorkerGlobalScope.postMessage method).
5486Worker.onmessageerrorAPI, Event Handler, Property, Reference, Worker, onmessageerror
The onmessageerror event handler of the Worker interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the Worker instance — that is, when it receives a message that cannot be Deserialization.
5487Worker.prototype.postMessage()API, JavaScript, Method, Reference, Référence(2), Web Workers, Worker, postMessage
The postMessage() method of the Worker interface sends a message to the worker's inner scope. 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.
5488Worker.terminate()API, Method, Reference, Référence(2), Web Workers, Worker, terminate
The terminate() method of the Worker interface immediately terminates the Worker. This does not offer the worker an opportunity to finish its operations; it is stopped at once.
5489Worker()API, Constructor, Reference, Web Workers, Worker
The Worker() constructor creates a Worker object that executes the script at the specified URL. This script must obey the same-origin policy.
5490WorkerGlobalScopeAPI, Interface, Reference, WorkerGlobalScope, Workers
The WorkerGlobalScope interface of the Web Workers API is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop.
5491WorkerGlobalScope.close()API, Deprecated, Method, Reference, Référence(2), Web Workers, WorkerGlobalScope, close
The close() method of the WorkerGlobalScope interface discards any tasks queued in the WorkerGlobalScope's event loop, effectively closing this particular scope.
5492WorkerGlobalScope.consoleAPI, Property, Read-only, Reference, Référence(2), Web Workers, WorkerGlobalScope
The console read-only property of the WorkerGlobalScope interface returns a Console object providing access to the browser console for the worker.
5493WorkerGlobalScope.dump()API, Method, Reference, Web Workers, WorkerGlobalScope, dump
The dump() method of the WorkerGlobalScope interface allows you to write a message to stdout — i.e. in your terminal, in Firefox only. This is the same as Firefox's window.dump, but for workers.
5494WorkerGlobalScope.importScripts()API, Method, Reference, Web Workers, WorkerGlobalScope, importScripts
The importScripts() method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
5495WorkerGlobalScope: languagechange eventAPI, Event, Reference, WorkerGlobalScope
The languagechange event is fired at the global scope object when the user's preferred language changes.
5496WorkerGlobalScope.locationAPI, Location, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope
The location read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
5497WorkerGlobalScope.navigatorAPI, Navigator, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope
The navigator read-only property of the WorkerGlobalScope interface returns the WorkerNavigator associated with the worker. It is a specific navigator object, mostly a subset of the Navigator for browsing scopes, but adapted to workers.
5498WorkerGlobalScope.oncloseAPI, Event Handler, Non-standard, Obsolete, Property, Reference, Web Workers, WorkerGlobalScope, onclose
The onclose property of the WorkerGlobalScope interface represents an EventHandler to be called when the close event occurs and bubbles through the Worker.
5499WorkerGlobalScope.onerrorAPI, EventHandler, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onerror
The onerror property of the WorkerGlobalScope interface represents an EventHandler to be called when the error event occurs and bubbles through the Worker.
5500WorkerGlobalScope.onlanguagechangeAPI, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onlanguagechange
The onlanguagechange property of the WorkerGlobalScope interface represents an EventHandler to be called when the languagechange event occurs and bubbles through the Worker.
5501WorkerGlobalScope.onofflineAPI, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onoffline
The onoffline property of the WorkerGlobalScope interface represents an EventHandler to be called when the offline event occurs and bubbles through the Worker.
5502WorkerGlobalScope.ononlineAPI, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, ononline
The ononline property of the WorkerGlobalScope interface represents an EventHandler to be called when the online event occurs and bubbles through the Worker.
5503WorkerGlobalScope.performanceAPI, CheckExample, Performance, Property, Read-only, Reference, Référence(2), WorkerGlobalScope
The  performance read-only property of the WorkerGlobalScope interface returns a Performance object to be used on the worker.
5504WorkerGlobalScope.selfAPI, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, self
The self read-only property of the WorkerGlobalScope interface returns a reference to the WorkerGlobalScope itself. Most of the time it is a specific scope like DedicatedWorkerGlobalScopeSharedWorkerGlobalScope, or ServiceWorkerGlobalScope.
5505WorkerLocationAPI, Web Workers
The WorkerLocation interface defines the absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location.
5506WorkerNavigatorAPI, HTML DOM, Interface, Reference, Web Workers, WorkerNavigator, Workers
The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.
5507WorkerNavigator.connectionAPI, Connection, Experimental, Property, Reference, WorkerNavigator
The WorkerNavigator.connection read-only property returns a NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered. This could be used to select high definition content or low definition content based on the user's connection.
5508WorkerNavigator.locksAPI, Experimental, LockManager, Property, Reference, Web Locks API
The locks read-only property of the WorkerNavigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object.
5509WorkerNavigator.permissionsAPI, Experimental, Permissions, Property, Reference, Web Workers, WorkerNavigator, Workers
The WorkerNavigator.permissions read-only property returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API.
5510WorkletAPI, Interface, Reference, Worklet, Worklets
The Worklet interface is a lightweight version of Worker and gives developers access to low-level parts of the rendering pipeline. With Worklets, you can run JavaScript and WebAssembly code to do graphics rendering or audio processing where high performance is required.
5511Worklet.addModule()API, Background, Experimental, Houdini, Method, Multiprocessor, Processes, Reference, Tasks, Worklets, addModule
The addModule() method of the Worklet interface loads the module in the given JavaScript file and adds it to the current Worklet.
5512WritableStreamAPI, Experimental, Interface, Reference, Streams, WritableStream
The WritableStream interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
5513WritableStream.abort()API, Experimental, Method, Reference, Streams, WritableStream, abort
The abort() method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
5514WritableStream.getWriter()API, Experimental, Method, Reference, Streams, WritableStream, getWriter
The getWriter() method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance. While the stream is locked, no other writer can be acquired until this one is released.
5515WritableStream.lockedAPI, Experimental, Property, Reference, Streams, WritableStream, locked
The locked read-only property of the WritableStream interface returns a boolean indicating whether the WritableStream is locked to a writer.
5516WritableStream.WritableStream()API, Constructor, Experimental, Reference, Streams, WritableStream
The WritableStream() constructor creates a new WritableStream object instance.
5517WritableStreamDefaultControllerAPI, Experimental, Fetch, Interface, Reference, Streams, WritableStreamDefaultController
The WritableStreamDefaultController interface of the Streams API represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
5518WritableStreamDefaultController.error()API, Error, Experimental, Method, Reference, Streams, WritableStreamDefaultController
The error() method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
5519WritableStreamDefaultWriterAPI, Experimental, Interface, Reference, Streams, Streams API, WritableStream
The WritableStreamDefaultWriter interface of the Streams API is the object returned by WritableStream.getWriter() and once created locks the writer to the WritableStream ensuring that no other streams can write to the underlying sink.
5520WritableStreamDefaultWriter.abort()API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, abort
The abort() method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
5521WritableStreamDefaultWriter.close()API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, close
The close() method of the WritableStreamDefaultWriter interface closes the associated writable stream.
5522WritableStreamDefaultWriter.closedAPI, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, closed
The closed read-only property of the WritableStreamDefaultWriter interface returns a promise that fulfills if the stream becomes closed or the writer's lock is released, or rejects if the stream errors.
5523WritableStreamDefaultWriter.desiredSizeAPI, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, desiredSize
The desiredSize read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
5524WritableStreamDefaultWriter.readyAPI, Method, Ready, Reference, Streams, Streams API, WritableStream, WritableStreamDefaultWriter
The ready read-only property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
5525WritableStreamDefaultWriter.releaseLock()API, Experimental, Method, Reference, Streams, WritiableStream, releaseLock
The releaseLock() method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream. After the lock is released, the writer is no longer active. If the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed.
5526WritableStreamDefaultWriter.WritableStreamDefaultWriter()API, Constructor, Experimental, Reference, Streams, WritableStreamDefaultWriter
The WritableStreamDefaultWriter() constructor creates a new WritableStreamDefaultWriter object instance.
5527WritableStreamDefaultWriter.write()API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, write
The write() property of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
5528XDomainRequestAJAX, API, IE, JavaScript, Microsoft, Obsolete, Web
XDomainRequest is an implementation of HTTP access control (CORS) that worked in Internet Explorer 8 and 9. It was removed in Internet Explorer 10 in favor of using XMLHttpRequest with proper CORS; if you are targeting Internet Explorer 10 or later, or wish to support any other browser, you need to use standard HTTP access control.
5529XDomainRequest.abort()API, DOM, IE, Method, Microsoft, Obsolete, Reference
Aborts an XDomainRequest.
5530XDomainRequest.onerrorAJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler which is called when an XDomainRequest encounters an error.
5531XDomainRequest.onloadAJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler for when an XDomainRequest has finished receiving the response from the server. You can find the entire server response in the XDomainRequest.responseText property.
5532XDomainRequest.onprogressAJAX, API, DOM, Event, IE, Microsoft, Obsolete, Property, Reference
This method is called periodically as an event handler for progress events on XDomainRequests, so that code can monitor progress while loading content.
5533XDomainRequest.ontimeoutAJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler which is called when a pending XDomainRequest times out.
5534XDomainRequest.open()AJAX, IE, JavaScript, Method, Microsoft, Obsolete, Reference
Opens an XDomainRequest which is configured to use a given method (GET/POST) and URL.
5535XDomainRequest.responseTextAJAX, IE, Microsoft, Obsolete, Property, Reference
Returns the response body of an XDomainRequest as a string.
5536XDomainRequest.send()API, DOM, IE, Method, Microsoft, Obsolete, Reference
Sends an XDomainRequest which has previously been opened calling XDomainRequest.open().
5537XDomainRequest.timeoutAJAX, IE, Microsoft, Obsolete, Property, Reference, Référence(2)
Gets or sets the amount of time in milliseconds until an XDomainRequest times out.
5538XMLDocumentAPI, DOM, Interface, Reference, XMLDocument
The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.
5539XMLDocument.asyncAPI, 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.
5540XMLDocument.load()API, DOM, Deprecated, Method, Non-standard, Reference, load
document.load() is a part of an old version of the W3C DOM Level 3 Load & Save module. Can be used with document.async to indicate whether the request is synchronous or asynchronous (the default). As of at least Gecko 1.9, this no longer supports cross-site loading of documents (Use XMLHttpRequest or WindowOrWorkerGlobalScope.fetch instead).
5541XMLHttpRequestAJAX, API, Communication, HTTP, Interface, Reference, Web, XHR, XMLHttpRequest
XMLHttpRequest (XHR) objects are used to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing.
5542XMLHttpRequest: abort eventAPI, Event, ProgressEvent, Web, XMLHttpRequest, abort
The abort event is fired when a request has been aborted, for example because the program called XMLHttpRequest.abort().
5543XMLHttpRequest.abort()AJAX, API, Abort XHR, Cancel XHR, HTTP, HttpRequest, Method, Reference, Stop XHR, XHR, XMLHttpRequest, abort, cancel, stop
The XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its XMLHttpRequest.readyState is changed to XMLHttpRequest.UNSENT (0) and the request's XMLHttpRequest.status code is set to 0.
5544XMLHttpRequest.channelAPI, Non-standard, Property, Reference, XHR, XMLHttpRequest, channel, nsIChannel
XMLHttpRequest.channel is an nsIChannel that used by the object when performing the request. This is null if the channel hasn't been created yet. In the case of a multi-part request, this is the initial channel, not the different parts in the multi-part request. Requires elevated privileges to access.
5545XMLHttpRequest: error eventAPI, Error, Event, ProgressEvent, Web, XMLHttpRequest
The error event is fired when the request encountered an error.
5546XMLHttpRequest.getAllResponseHeaders()API, Fetch Headers, Get Headers, HTTP, HTTP Header, Method, Reference, Response Header, XHR, XMLHttpRequest, getAllResponseHeaders
The XMLHttpRequest method getAllResponseHeaders() returns all the response headers, separated by CRLF, as a string, or returns null if no response has been received.
5547XMLHttpRequest.getResponseHeader()API, Examine Header, Get Header, HTTP, HTTP Header, Headers, Method, Reference, XHR, XHR Header, XMLHttpRequest, getResponseHeader
The XMLHttpRequest method getResponseHeader() returns the string containing the text of a particular header's value.
5548How to check the security state of an XMLHTTPRequest over SSL
Here is a an example Javascript function that prints the security details of an XMLHTTPRequest sent over SSL. The function is passed the channel property of an XMLHTTPRequest to extract the following information:
5549HTML in XMLHttpRequestAPI, Guide, HTML, HTML with XMLHttpRequest, Loading HTML, Parsing HTML, Web, XMLHttpRequest
The W3C XMLHttpRequest specification adds HTML parsing support to XMLHttpRequest, which originally supported only XML parsing. This feature allows Web apps to obtain an HTML resource as a parsed DOM using XMLHttpRequest.
5550XMLHttpRequest: load eventAPI, Event, ProgressEvent, Web, XMLHttpRequest, load
The load event is fired when an XMLHttpRequest transaction completes successfully.
5551XMLHttpRequest: loadend eventAPI, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Reference, Web, events, loadend
The loadend event is fired when a request has completed, whether successfully (after XMLHttpRequest/load_event) or unsuccessfully (after XMLHttpRequest/abort_event or XMLHttpRequest/error_event).
5552XMLHttpRequest: loadstart eventAPI, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Web, XMLHttpRequest, events, loadstart
The loadstart event is fired when a request has started to load data.
5553XMLHttpRequest.mozAnonAPI, Authentication, Cookies, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozAnon
XMLHttpRequest.mozAnon is a boolean. If true, the request will be sent without cookies or authentication headers.
5554XMLHttpRequest.mozBackgroundRequestAPI, Background Service, Mozilla, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozBackgroundRequest
XMLHttpRequest.mozBackgroundRequest is a Boolean, indicating if the object represents a background service request.
5555XMLHttpRequest.mozResponseArrayBufferAPI, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozResponseArrayBufer
Is an ArrayBuffer response to the request, written as a JavaScript typed array.
5556XMLHttpRequest.mozSystemAP, Non-standard, Property, Reference, Same Origin Policy, XHR, XMLHttpRequest, mozSystem, origin
mozSystem is a boolean. If true, the same origin policy is not enforced on the request.
5557XMLHttpRequest.multipartAPI, Gecko, Mozilla, Non-standard, Obsolete, Property, Reference, XMLHttpRequest, multipart
This boolean indicates if the response is expected to be a stream of possibly multiple XML documents.
5558XMLHttpRequest.onreadystatechangeAPI, Event, Handler, Property, Reference, XHR, XMLHttpRequest
An EventHandler that is called whenever the readyState attribute changes. The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange property contains the event handler to be called when the Document/readystatechange_event event is fired, that is every time the XMLHttpRequest.readyState property of the XMLHttpRequest changes.
5559XMLHttpRequest.open()API, HTTP, Method, NeedsExample, Reference, XHR, XMLHttpRequest, open
The XMLHttpRequest method open() initializes a newly-created request, or re-initializes an existing one.
5560XMLHttpRequest.openRequest()API, DOM, Firefox, Gecko, Method, Non-standard, XHR, XMLHttpRequest, openRequest
This Mozilla-specific method is available only from within privileged code, and is only called from a C++ context in order to initialize an XMLHttpRequest.
5561XMLHttpRequest.overrideMimeType()API, File Type, MIME Type, Method, Reference, XHR, XHR MIME Type, XMLHttpRequest, overrideMimeType
The XMLHttpRequest method overrideMimeType() specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request.
5562XMLHttpRequest: progress eventAPI, Event, ProgressEvent, Reference, Web, XMLHttpRequest, progress
The progress event is fired periodically when a request receives more data.
5563XMLHttpRequest.readyStateAJAX, Property, Reference, XMLHttpRequest
The XMLHttpRequest.readyState property returns the state an XMLHttpRequest client is in. An XHR client exists in one of the following states:
5564XMLHttpRequest.responseAJAX, API, Fetching Content, Fetching Data, Loading Data, Property, Read-only, Reading Data, Reference, Response, Server, XMLHttpRequest
The XMLHttpRequest response property returns the response's body content as an ArrayBuffer, Blob, Document, JavaScript Object, or DOMString, depending on the value of the request's XMLHttpRequest.responseType property.
5565XMLHttpRequest.responseTextAPI, Fetching Text, Loading Text, Property, Read-only, Reference, XMLHttpRequest, responseText
The read-only XMLHttpRequest property responseText returns the text received from a server following a request being sent.
5566XMLHttpRequest.responseTypeAJAX, API, HTTP, HTTP Response, HTTP Response Type, Property, Reference, Response, XHR, XMLHttpRequest, responseType
The XMLHttpRequest property responseType is an enumerated string value specifying the type of data contained in the response.
5567XMLHttpRequest.responseURLAJAX, Property, Read-only, Reference, URL, XMLHttpRequest, responseURL
The read-only XMLHttpRequest.responseURL property returns the serialized URL of the response or the empty string if the URL is null. If the URL is returned, any URL fragment present in the URL will be stripped away. The value of responseURL will be the final URL obtained after any redirects.
5568XMLHttpRequest.responseXMLAJAX, API, Fetching XML, Loading XML, Property, Read-only, Reading XML, Reference, Transfer, XML, XMLHttpRequest, download, responseXML, upload
The XMLHttpRequest.responseXML read-only property returns a Document containing the HTML or XML retrieved by the request; or null if the request was unsuccessful, has not yet been sent, or if the data can't be parsed as XML or HTML.
5569XMLHttpRequest.send()AJAX, API, HTTP request, Method, NeedsContent, NeedsExample, Reference, XHR, XHR Request, XMLHttpRequest, send
The XMLHttpRequest method send() sends the request to the server.
5570XMLHttpRequest.sendAsBinary()Binary Data, HTTP, Method, Non-standard, Obsolete, Reference, Sending Binary Data, XHR, XMLHttpRequest, sendAsBinary
The obsolete XMLHttpRequest method sendAsBinary() is a variant of the XMLHttpRequest.send method that sends binary data. The send() method now supports binary data and should now be used instead.
5571Sending and Receiving Binary DataAJAX, FileReader, MIME, XMLHttpRequest
The responseType property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), "arraybuffer", "blob", "document", "json", and "text". The response property will contain the entity body according to responseType, as an ArrayBuffer, Blob, Document, JSON, or string. This is null if the request is not complete or was not successful.
5572XMLHttpRequest.setRequestHeader()API, HTTP, HTTP Header, Method, NeedsExample, Reference, Request header, XHR, XHR Request, XMLHttpRequest, header, request, setRequestHeader
The XMLHttpRequest method setRequestHeader() sets the value of an HTTP request header. When using setRequestHeader(), you must call it after calling XMLHttpRequest.open, but before calling XMLHttpRequest.send. If this method is called several times with the same header, the values are merged into one single request header.
5573XMLHttpRequest.statusAPI, Error, Property, Reference, XMLHttpRequest, XMLHttpRequest Status, result, status
The read-only XMLHttpRequest.status property returns the numerical HTTP status code of the XMLHttpRequest's response.
5574XMLHttpRequest.statusTextAJAX, API, Property, Read-only, Reference, XMLHttpRequest, XMLHttpRequest Status
The read-only XMLHttpRequest.statusText property returns a DOMString containing the response's status message as returned by the HTTP server. Unlike XMLHTTPRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in UNSENT or OPENED state, the value of statusText will be an empty string.
5575Synchronous and asynchronous requestsCommunication, DOM, Guide, Intermediate, Networking, Synchronous, XMLHttpRequest, asynchronous
XMLHttpRequest supports both synchronous and asynchronous communications. In general, however, asynchronous requests should be preferred to synchronous requests for performance reasons.
5576XMLHttpRequest: timeout eventAPI, Event, Reference, XHR, XMLHttpRequest, events, timeout
The timeout event is fired when progression is terminated due to preset time expiring.
5577XMLHttpRequest.timeoutAJAX, Asynchronous XHR, Asynchronous XMLHttpRequest, Property, Reference, XHR, XMLHttpRequest, timeout
The XMLHttpRequest.timeout property is an unsigned long representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, which means there is no timeout. Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception. When a timeout happens, a timeout event is fired.
5578XMLHttpRequest.uploadAJAX, API, Monitoring XMLHttpRequest, Property, Read-only, Reference, Sending Files, Uploading, XHR, XHR Uploads, XMLHttpRequest, XMLHttpRequest Uploads, XMLHttpRequestUpload, upload
The XMLHttpRequest upload property returns an XMLHttpRequestUpload object that can be observed to monitor an upload's progress.
5579Using XMLHttpRequest in IE6Web Development, Web Standards
XMLHttpRequest was first introduced by Microsoft in Internet Explorer 5.0 as an ActiveX control. However, in IE7 and other browsers XMLHttpRequest is a native JavaScript object.
5580Using XMLHttpRequestAJAX, AJAXfile, Advanced, DOM, Guide, HTTP, JXON, MakeBrowserAgnostic, Tutorial, XHR, XML, XMLHttpRequest
In this guide, we'll take a look at how to use XMLHttpRequest to issue HTTP requests in order to exchange data between the web site and a server
5581XMLHttpRequest.withCredentialsAJAX, API, Property, Reference, Security, XHR, XMLHttpRequest, credentials, withCredentials
The XMLHttpRequest.withCredentials property is a Boolean that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests.
5582init()
Initializes the object for use from C++ code.
5583XMLHttpRequest()API, Constructor, Creating an XMLHttpRequest, Fetching Data, Loading Data, NeedsBrowserCompatibility, NeedsExample, NeedsSpecTable, Reading Data, Reference, Server Access, XHR, XMLHttpRequest
The XMLHttpRequest() constructor creates a new XMLHttpRequest.
5584XMLHttpRequestEventTargetAJAX, API, NeedsBrowserCompatibility, NeedsContent, Reference, XMLHttpRequest
XMLHttpRequestEventTarget is the interface that describes the event handlers you can implement in an object that will handle events for an XMLHttpRequest.
5585XMLHttpRequestEventTarget.onabortAPI, Event Handler, Property, Reference, Web, XHMLHttpRequestEventTarget
The XMLHttpRequestEventTarget.onabort is the function called when an XMLHttpRequest transaction is aborted, such as when the XMLHttpRequest.abort() function is called.
5586XMLHttpRequestEventTarget.onerrorAPI, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
The XMLHttpRequestEventTarget.onerror is the function called when an XMLHttpRequest transaction fails due to an error.
5587XMLHttpRequestEventTarget.onloadAPI, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
The XMLHttpRequestEventTarget.onload is the function called when an XMLHttpRequest transaction completes successfully.
5588XMLHttpRequestEventTarget.onloadstartAPI, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
The XMLHttpRequestEventTarget.onloadstart is the function called when an XMLHttpRequest transaction starts transferring data.
5589XMLHttpRequestEventTarget.onprogressEvent Handler, Property, Reference, Web, XHR, XMLHttpRequestEventTarget
The XMLHttpRequestEventTarget.onprogress is the function called periodically with information when an XMLHttpRequest before success completely.
5590XMLHttpRequestResponseTypeDefinition, Enum, Enumerated, Response, Response Type, Type, XMLHttpRequest, XMLHttpRequestResponseType
The XMLHttpRequestResponseType type is an enumerated set of strings which are used to specify the type of data contained in the XMLHttpRequest.response of an XMLHttpRequest.
5591XMLSerializerConverting, DOM Parsing, Interface, Parsing, Reference, Serialization, Serializing, XML, XMLSerializer, conversion
The XMLSerializer interface provides the XMLSerializer.serializeToString method to construct an XML string representing a DOM tree.
5592XMLSerializer.serializeToString()API, DOM, DOM Parsing, DOM to HTML, DOM to XML, Parsing, Reference, Serialize, Serializing DOM, XML, XMLSerializer, serializeToString
The XMLSerializer method serializeToString() constructs a string representing the specified DOM tree in XML form.
5593XPathEvaluatorAPI, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathEvaluator
The XPathEvaluator interface allows to compile and evaluate XPath expressions.
5594XPathEvaluator.createExpression()API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator
This method compiles an XPathExpression which can then be used for (repeated) evaluations of the XPath expression.
5595XPathEvaluator.createNSResolver()API, DOM, DOM XPath API, Method, NeedsExample, Reference, XPath, XPathEvaluator
This method adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.
5596XPathEvaluator.evaluate()API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult.
5597XPathExceptionAPI, DOM, DOM XPath API, Exception, Reference, XPath
In the DOM XPath API the XPathException interface represents exception conditions that can be encountered while performing XPath operations.
5598XPathException.codeAPI, DOM, DOM XPath API, Property, Reference, XPath, XPathException
The code read-only property of the XPathException interface returns a short that contains one of the error code constants.
5599XPathExpressionAPI, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathExpression
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information from its DOM tree.
5600XPathExpression.evaluate()API, DOM XPath API, Method, Reference, XPath, XPathExpression
The evaluate() method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult.
5601XPathNSResolverAPI, DOM, DOM XPath API, Interface, Reference, XML, XPath, XPathNSResolver
The XPathNSResolver interface permits prefix strings in an XPath expression to be properly bound to namespace URI strings.
5602XPathNSResolver.lookupNamespaceURI()API, DOM, DOM XPath API, Method, Reference, XPath, XPathNSResolver
The lookupNamespaceURI method looks up the namespace URI associated to the given namespace prefix within an XPath expression evaluated by the XPathEvaluator interface.
5603XPathResultAPI, DOM XPath API, Interface, Reference, XPath, XPathResult
The XPathResult interface represents the results generated by evaluating an XPath expression within the context of a given node.
5604XPathResult.booleanValueAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only booleanValue property of the XPathResult interface returns the boolean value of a result with XPathResult.resultType being BOOLEAN_TYPE.
5605XPathResult.invalidIteratorStateAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only invalidIteratorState property of the XPathResult interface signifies that the iterator has become invalid. It is true if XPathResult.resultType is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE and the document has been modified since this result was returned.
5606XPathResult.iterateNext()API, DOM XPath API, Method, Reference, XPath, XPathResult
The iterateNext() method of the XPathResult interface iterates over a node set result and returns the next node from it or null if there are no more nodes.
5607XPathResult.numberValueAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only numberValue property of the XPathResult interface returns the numeric value of a result with XPathResult.resultType being NUMBER_TYPE.
5608XPathResult.resultTypeAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only resultType property of the XPathResult interface represents the type of the result, as defined by the type constants.
5609XPathResult.singleNodeValueAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only singleNodeValue property of the XPathResult interface returns a Node value or null in case no node was matched of a result with XPathResult.resultType being ANY_UNORDERED_NODE_TYPE or FIRST_ORDERED_NODE_TYPE.
5610XPathResult.snapshotItem()API, DOM XPath API, Method, Reference, XPath, XPathResult
The snapshotItem() method of the XPathResult interface returns an item of the snapshot collection or null in case the index is not within the range of nodes. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated.
5611XPathResult.snapshotLengthAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only snapshotLength property of the XPathResult interface represents the number of nodes in the result snapshot.
5612XPathResult.stringValueAPI, DOM XPath API, Property, Reference, XPath, XPathResult
The read-only stringValue property of the XPathResult interface returns the string value of a result with XPathResult.resultType being STRING_TYPE.
5613XRBoundedReferenceSpaceAPI, AR, Boundary, Interface, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRBoundedReferenceSpace, augmented
The WebXR Device API's XRBoundedReferenceSpace interface describes a virtual world reference space which has preset boundaries. This extends XRReferenceSpace, which describes an essentially unrestricted space around the viewer's position.
5614XRBoundedReferenceSpace.boundsGeometryAPI, AR, Boundary, Edges, Geometry, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRBoundedReferenceSpace, augmented, boundsGeometry, space
The read-only XRBoundedReferenceSpace property boundsGeometry is an array of DOMPointReadOnly objects which specifies the points making up a polygon inside which the viewer is allowed to move.
5615XREnvironmentBlendModeAPI, AR, Enum, Enumerated Type, Graphics, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented
The WebXR API's enumerated type XREnvironmentBlendMode defines strings used to identify if and how to blend the rendered virtual content with the real world. Its values are used by the XRSession interface's XRSession.environmentBlendMode property.
5616XREyeAPI, AR, Enumerated Type, Reality, Reference, Type, VR, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XREye, augmented
The XREye enumerated type is used to identify which eye a particular XRView represents: left or right; or, if the view doesn't represent a single eye, the value may be none.
5617XRFrame3D, API, AR, Animation, Augmented Reality, Frame, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame
A WebXR Device API XRFrame object is passed into the XRSession.requestAnimationFrame callback function and provides access to the information needed in order to render a single frame of animation for an XRSession describing a VR or AR sccene. Events which communicate the tracking state of objects also provide an XRFrame reference as part of their structure.
5618XRFrame.getPose()API, AR, Augmented Reality, Interface, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame, getPose
The XRFrame method getPose() returns the relative position and orientation—the pose—of one XRSpace to that of another space. With this, you can observe the motion of objects relative to each other and to fixed locations throughout the scene.
5619XRFrame.getViewerPose()API, AR, Augmented Reality, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame, getViewerPose, pose
The getViewerPose() method, a member of the XRFrame interface, returns a XRViewerPose object which describes the viewer's pose (position and orientation) relative to the specified reference space.
5620XRFrame.sessionAPI, AR, Augmented Reality, Property, Reference, Session, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame
An XRFrame object's read-only session property returns the XRSession object that generated the frame.
5621XRFrameRequestCallbackFixup spec table
The XRFrameRequestCallback is a callback function passed into XRSession.requestAnimationFrame (part of WebXR API) to obtain the current time and the current XRFrame.
5622XRHandednessAPI, AR, Enum, Enumerated Type, Handedness, Reference, Type, VR, WebXR, WebXR Device API, XRHandedness, hand, left, right
The WebXR enumerated type XRHandedness provides values which identify which of a user's hands is being used to operate a particular input controller attached to the XR input device being used. XRHandedness is used as the value of the the XRInputSource property XRInputSource.handedness.
5623XRInputSourceAPI, AR, Augmented Reality, Experimental, Input, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSource, control
The WebXR Device API's XRInputSource interface describes a single source of control input which is part of the user's WebXR-compatible virtual or augmented reality system.
5624XRInputSource.gripSpaceAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSession, gripSpace
The read-only XRInputSource property gripSpace returns an XRSpace whose native origin tracks the pose used to render virtual objects so they appear to be held in (or part of) the user's hand. For example, if a user were holding a virtual straight rod, the native origin of this XRSpace would be located at the approximate center of mass of the user's fist.
5625XRInputSource.handednessAPI, AR, Controller, Handedness, Input, Property, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, hand, left, right
The read-only XRInputSource property handedness indicates which of the user's hands the WebXR input source is associated with, or if it's not associated with a hand at all.
5626XRInputSource.profilesAPI, AR, Configuration, Input, Property, Read-only, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, augmented, profile
The read-only XRInputSource property profiles returns an array of strings, each describing a configuration profile for the input source.
5627XRInputSource.targetRayModeAPI, AR, Pointing, Property, Ray, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, direction, pointer, target, targetRayMode
The read-only XRInputSource property targetRayMode indicates the method by which the target ray for the input source should be generated and how it should be presented to the user.
5628XRInputSource.targetRaySpaceAPI, AR, Controller, Input, Mixed, Property, Ray, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRReferenceSpace, XRSpace, augmented, source, space, target
The read-only XRInputSource property targetRaySpace returns an XRSpace (typically an XRReferenceSpace) representing the position and orientation of the target ray in the virtual space.
5629XRInputSourceArrayAPI, AR, Input Sources, Inputs, Interface, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, list
The interface XRInputSourceArray represents a live list of WebXR input sources, and is used as the return value of the XRSession property XRSession.inputSources.
5630XRInputSourceArray.entries()API, AR, Entries, Input Sources, Inputs, Iterator, Method, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray
The XRInputSourceArray interface's entries() method returns a JavaScript iterator which can then be used to iterate over the key/value pairs in the input source array.
5631XRInputSourceArray.forEach()API, AR, Input Sources, Inputs, Method, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, forEach
The XRInputSourceArray method forEach() executes the specified callback once for each input source in the array, starting at index 0 and progressing until the end of the list.
5632XRInputSourceArray.keys()API, AR, Devices, Input Sources, Inputs, Iterator, Method, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, keys
The keys() method in the XRInputSourceArray interface returns a JavaScript iterator which can then be used to iterate over the keys used to reference each item in the array of input sources.
5633XRInputSourceArray.lengthAPI, AR, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, controllers, count
The read-only length property returns an integer value indicating the number of items in the input source list represented by the XRInputSourceArray object.
5634XRInputSourceArray.values()API, AR, Input Sources, Inputs, Iterator, Method, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR API Reference, XR, XRInputSourceArrray, augmented, values
The XRInputSourceArray method  values() returns a JavaScript iterator that can walk over the list of XRInputSource objects contained in the array, from first to last.
5635XRInputSourceEvent3D, API, AR, Graphics, Input Sources, Inputs, Interface, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events
The WebXR Device API's XRInputSourceEvent interface describes an event which has occurred on a WebXR user input device such as a hand controller, gaze tracking system, or motion tracking system.
5636XRInputSourceEvent.frameAPI, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, events
The read-only XRInputSourceEvent property frame specifies an XRFrame object representing the event frame during which a WebXR user input occurred.
5637XRInputSourceEvent.inputSourceAPI, AR, Controller, Input, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, inputSource, source
The XRInputSourceEvent interface's read-only inputSource property specifies the XRInputSource which generated the input event.
5638XRInputSourceEvent()API, AR, Constructor, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events
The XRInputSourceEvent() constructor creates and returns a new XRInputSourceEvent object describing an event (state change) which has occurred on a WebXR user input device represented by an XRInputSource.
5639XRInputSourceEventInitAPI, AR, Dictionary, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEventInit, augmented, events
The XRInputSourceEventInit dictionary is used when calling the XRInputSourceEvent.XRInputSourceEvent constructor to provide configuration options for the newly-created XRInputSourceEvent object to take on.
5640XRInputSourceEventInit.frameAPI, AR, Augmetned, Configuration, Dictionary, Frame, Input, Input Source, Mixed, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEventInit, source
The XRInputSourceEventInit dictionary's property frame specifies an XRFrame providing information about the timestamp at which the new input source event took place, as well as access to the XRFrame method XRFrame.getPose which can be used to map the coordinates of any XRReferenceSpace to the space in which the event took place.
5641XRInputSourceEventInit.inputSourceAPI, Coordinate, Input Sources, Inputs, Property, Reference, Setting, Sources, WebXR, WebXR API, WebXR Device API, XRInputSourceEventInit, controllers, inputSource, value
The XRInputSourceEventInit dictionary's inputSource property is used when calling the XRInputSourceEvent.XRInputSourceEvent constructor to specify the XRInputSource from which the newly-created event is being sent.
5642XRInputSourcesChangeEventAPI, AR, Input Sources, Inputs, Interface, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented, events, inputsourceschange
The WebXR Device API interface XRInputSourcesChangeEvent is used to represent the XRSession.inputsourceschange_event event sent to an XRSession when the set of available WebXR input controllers changes.
5643XRInputSourcesChangeEvent.addedAPI, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, XR, XRInputSource, XRInputSourcesChangeEvent, augmented
The read-only XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.added is a list of zero or more input sources, each identified using an XRInputSource object, which have been newly made available for use.
5644XRInputSourcesChangeEvent.removedAPI, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented, controllers, removed
The read-only XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.removed is an array of zero or more XRInputSource objects representing the input sources which have been removed from the XRSession.
5645XRInputSourcesChangeEvent.sessionAPI, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented
The XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.session specifies the XRSession to which the input source list change event applies.
5646XRInputSourcesChangeEvent()API, AR, Change, Constructor, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented
The XRInputSourcesChangeEvent() constructor creates and returns a new XRInputSourcesChangeEvent object, representing an update to the list of available WebXR input devices.
5647XRInputSourcesChangeEventInitAPI, AR, Dictionary, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRInputSourcesChangeEventInit, augmented
The XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent.XRInputSourcesChangeEvent constructor in order to set the initial state of the new XRInputSourcesChangeEvent object.
5648XRInputSourcesChangeEventInit.addedAPI, AR, Added, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRInputSourcesChangeEventInit, augmented
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.added specifies a list of input sources, each identified using an XRInputSource object, which the represented XRSession.inputsourceschange_event event is to indicate are newly available for use.
5649XRInputSourcesChangeEventInit.removedAPI, AR, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEventInit, augmented, removed
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.removed is an array of zero or more XRInputSource objects, each representing one input source which has been removed from the XRSession.
5650XRInputSourcesChangeEventInit.sessionAPI, AR, Mixed, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEventInit, augmented
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.session specifies the XRSession to which the input source list change event applies.
5651XRPermissionDescriptorAPI, AR, Dictionary, Mixed, Permissions, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, descriptor
User permissions in the WebXR Device API are managed using the Permissions API. To that end, the XRPermissionDescriptor dictionary is used to describe the WebXR features the app needs to use, as well as those features it would like ot use if permision is granted.
5652XRPermissionDescriptor.modeAPI, AR, Mixed, Permissions, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, XRSessionMode, augmented, mode
The mode property of the XRPermissionDescriptor dictionary is a string taken from the XRSessionMode enumerated type, specifying which Web XR session mode (inlineimmersive-vr, or immersive-ar) the described permissions will be used for.
5653XRPermissionDescriptor.optionalFeaturesAPI, AR, Mixed, Permissions, Property, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, descriptor
The XRPermissionDescriptor dictionary's optionalFeatures property is used to specify a list of WebXR features which your app or site would like to use but can operate without if permission isn't granted to use them.
5654XRPermissionDescriptor.requiredFeaturesAPI, AR, Mixed, Permissions, Property, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, features, requiredFeatures
The XRPermissionDescriptor dictionary's requiredFeatures property should be set prior to calling permissions.query to a list of WebXR features which must be supported for the app to work.
5655XRPermissionStatusAPI, AR, Interface, Mixed, Permissions, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionStatus, augmented
The XRPermissionStatus interface defines the object returned by calling Permissions.query for the xr permission name; it indicates whether or not the app or site has permission to use WebXR, an may be monitored over time for changes to that permissions tate.
5656XRPermissionStatus.grantedAPI, AR, Mixed, Permissions, Property, Reality, Reference, VR, Virtual, WebXR API, WebXR Device API, WenXR, XR, XRPermissionStatus, augmented, granted
The WebXR Device API's XRPermissionStatus interface's granted property is an array of strings, each identifying one of the WebXR features for which permission has been granted as of the time at which the Permission API's Permissions.query method was called.
5657XRPose3DoF, 6DoF, API, AR, Interface, NeedsExample, Orientation, Position, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPose, augmented, pose, space, transform
XRPose is a WebXR API interface representing a position and orientation in the 3D space, relative to the XRSpace within which it resides.
5658XRPose.emulatedPositionAPI, AR, Orientation, Position, Property, Read-only, Reality, Reference, VR, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPose, augmented, emulatedPosition, offset, pose, tracking
The emulatedPosition read-only attribute of the XRPose interface is a Boolean value indicating whether or not both the XRRigidTransform.position component of the pose's XRPose.transform is directly taken from the XR device, or it's simulated or computed based on other sources.
5659XRPose.transformAPI, AR, Orientation, Position, Property, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRPose, transform
The transform read-only attribute of the XRPose interface is a XRRigidTransform object providing the position and orientation of the pose relative to the base XRSpace as specified when the pose was obtained by calling XRFrame.getPose().
5660XRReferenceSpaceAPI, AR, Augmented Reality, Distances, Interface, Mixed Reality, Offsets, Reference, Spaces, VR, Virtual Reality, WebXR API, WebXR Device API, WebXR\, XR, XRReferenceSpace, matrix, transform
The WebXR Device API's XRReferenceSpace interface describes the coordinate system for a specific tracked entity or object within the virtual world using a specified tracking behavior.
5661XRReferenceSpace.getOffsetReferenceSpace()API, AR, Mixed, Orientation, Position, Reality, Reference, Rotate, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, getOffsetReferenceSpace, move, movement
The XRReferenceSpace interface's getOffsetReferenceSpace() method returns a new reference space object which describes the relative difference in position between the object on which the method is called and a given point in 3D space.
5662XRReferenceSpace.onresetAPI, AR, Event Handler, Property, Reality, Reference, Spatial, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, onreset, reset, tracking
The XRReferenceSpace interface's onreset event handler property can be set to a function which is called when the XRReferenceSpace receives a XRReferenceSpace.reset_event event, signaling that the  XR device has experienced a discontinuity large enough to require that the position and/or orientation of the origin be significantly altered to compensate.
5663XRReferenceSpace: reset eventAPI, AR, Event, Graphics, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, reset
The reset event is sent to an XRReferenceSpace object when a discontinuity is detected in either the native origin or the effective origin, causing a jump in the position or orientation of objects oriented using the reference space.
5664XRReferenceSpaceEventAPI, AR, Event, Interface, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented
The WebXR Device API interface XRReferenceSpaceEvent represents an event sent to an XRReferenceSpace. Currently, the only event  that uses this type is the XRReferenceSpace.reset_event event.
5665XRReferenceSpaceEvent.referenceSpaceAPI, AR, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented, events, referenceSpace, source
The read-only XRReferenceSpaceEvent property referenceSpace specifies the reference space which is the originator of the event.
5666XRReferenceSpaceEvent.transformAPI, AR, Coordinate System, Coordinates, Event, Mixed, Orientation, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, reset, transform
The read-only XRReferenceSpaceEvent property transform indicates the position and orientation of the affected XRReferenceSpaceEvent.referenceSpace's native origin after the changes the event represents are applied.
5667XRReferenceSpaceEvent()API, AR, Constructor, Eventss, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented, events
The XRReferenceSpaceEvent() constructor is used to create a new XRReferenceSpaceEvent object, which represents an event regarding the state of a WebXR reference space object, XRReferenceSpace.
5668XRReferenceSpaceEventInitAPI, AR, Configuration, Dictionary, Mixed, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented
The XRReferenceSpaceEventInit dictionary is used when calling the XRReferenceSpaceEvent.XRReferenceSpaceEvent constructor to provide the values for its properties. Since the properties are read-only, this is the only opportunity available to set their values.
5669XRReferenceSpaceEventInit.referenceSpaceAPI, AR, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented, referenceSpace
The XRReferenceSpaceEventInit property referenceSpace is used to establish the value of a newly-constructed XRReferenceSpaceEvent object when calling the XRReferenceSpaceEvent.XRReferenceSpaceEvent constructor.
5670XRReferenceSpaceEventInit.transformAPI, AR, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented, transform
The XRReferenceSpaceEventInit property transform indicates the position and orientation of the affected reference space's native origin after the changes the event represents are applied.
5671XRReferenceSpaceTypeAPI, AR, Enumerated, Enumerated Type, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, XRReferenceSpaceType, augmented, space, tracking
The XRReferenceSpaceType enumerated type defines the strings which identify the types of reference spaces supported by WebXR.
5672XRRenderStateAPI, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState
The XRRenderState interface of the WebXR Device API contains configurable values which affect how the imagery generated by an XRSession gets composited.
5673XRRenderState.baseLayerAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, baseLayer
The read-only baseLayer property of the XRRenderState interface returns the XRWebGLLayer instance that is the source of bitmap images and a description of how the image is to be rendered in the device.
5674XRRenderState.depthFarAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, depthFar
The depthFar read-only property of the XRRenderState interface returns the distance in meters of the far clip plane from the viewer.
5675XRRenderState.depthNearAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, depthNear
The depthNear read-only property of the XRRenderState interface returns the distance in meters of the near clip plane from the viewer.
5676XRRenderState.inlineVerticalFieldOfViewAPI, Field of View, Vertical Field of View, WebXR, WebXR Device API
The read-only inlineVerticalFieldOfView property of the XRRenderState interface returns the default vertical field of view for "inline" sessions and null for all immersive sessions.
5677XRRenderState.inlineVerticalFieldOfView'Augmented Reality, API, AR, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, inlineVerticalFieldOfView
The inlineVerticalFieldOfView read-only property of the XRRenderState interface defines the angle of the field of view in radians used when computing projection matrices for "inline" XRSession objects. This option must be null for immersive sessions.
5678XRRenderStateInitAPI, AR, Dictionary, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRenderStateInit, augmented, render, state
The XRRenderStateInit dictionary is a writeable version of the XRRenderState interface, and is used when calling an XRSession's XRSession.updateRenderState method to apply changes to the render state prior to rendering the next frame.
5679XRRigidTransformAPI, AR, Interface, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, XRRigidTransform, augmented, space, transform
The XRRigidTransform is a WebXR API interface that represents the 3D geometric transform described by a position and orientation.
5680XRRigidTransform.inverseAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, inverse, transform
The read-only inverse property of the XRRigidTransform interface returns another XRRigidTransform object which is the inverse of its owning transform.
5681XRRigidTransform.matrixAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, matrix, transform
The read-only XRRigidTransform property matrix returns the transform matrix represented by the object. The returned matrix can then be premultiplied with a column vector to rotate the vector by the 3D rotation specified by the XRRigidTransform.orientation, then translate it by the XRRigidTransform.position.
5682XRRigidTransform.orientationAPI, AR, Orientation, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, rotation
The read-only XRRigidTransform property orientation is a DOMPointReadOnly containing a normalized quaternion (also called a unit quaternion or versor) specifying the rotational component of the transform represented by the object.
5683XRRigidTransform.position3D, API, AR, Coordinates, Location, Point, Position, Property, Reference, VR, WebXR, WebXR API, XR, XRRigidTransform, transform
The read-only XRRigidTransform property position is a DOMPointReadOnly object which provides the 3D point, specified in meters, describing the translation component of the transform.
5684XRRigidTransform()API, AR, Constructor, Mixed Reality, Orientation, Position, Reality, Reference, VR, Virtual, WebXR, XR, XRRigidTransform, augmented, transform
The XRRigidTransform() constructor creates and returns a new XRRigidTransform object, representing the position and orientation of a point or object.
5685XRSessionAPI, AR, Augmented Reality, Interface, Reference, VR, Virtual Reality, WebXR Device API, XRSession
The WebXR Device API's XRSession interface represents an ongoing XR session, providing methods and properties used to interact with and control the session. To open a WebXR session, use the XRSystem interface's XRSystem.requestSession method.
5686XRSession.cancelAnimationFrame()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, cancelAnimationFrame()
The cancelAnimationFrame() method of the XRSession interface cancels an animation frame which was previously requested by calling XRSession.requestAnimationFrame.
5687XRSession: end eventAPI, AR, End, Event end, Finish, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR Device API, XR, XRSession, augmented, events, stop, terminate
An end event is fired at an XRSession object when the WebXR session has ended, either because the web application has chosen to stop the session, or because the user agent terminated the session.
5688XRSession.end()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, end()
The end() method shuts down the XRSession on which it's called, returning a promise which resolves once the session has fully shut down.
5689XRSession.environmentBlendModeAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR Augmented Reality, WebXR Augmented Reality API, XRSession, augmented, environmentBlendMode
The XRSession interface's read-only environmentBlendMode property identifies if—and to  what degree—the computer-generated imagery is overlaid atop the real world.
5690XRSession.inputSourcesAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, inputSources
The read-only inputSources property of the XRSession interface returns an XRInputSourceArray object which lists all controllers and input devices which are expressly associated with the XR device and are currently available.
5691XRSession: inputsourceschange eventAPI, AR, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSources, XRSession, augmented, events, inputsourceschange
The inputsourceschange event is sent to an XRSession when the set of available WebXR input devices changes.
5692XRSession.onendAPI, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, onend
The onend attribute of the XRSession object is the event handler for the XRSession.end_event event, which is dispatched after the XR session ends and all related hardware-specific routines are completed.
5693XRSession.oninputsourceschangeAPI, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, oninputsourceschange
The oninputsourcechange attribute of the XRSession object is the event handler for the XRSession.inputsourcechange_event event, which is dispatched when session's list of active XR input sources has changed. The list itself is accessible via XRSession.inputSources.
5694XRSession.onselectAPI, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, onselect
The onselect property of the XRSession object is the event handler for the XRSession.select_event event, which is dispatched when a primary action is completed successfully by the user.
5695XRSession.onselectendAPI, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onselectend
The onselectend attribute of the XRSession object is the event handler for the XRSession.selectend_event event, which is dispatched when user finishes making some sort of selection by releasing a trigger, touchpad, or button, finishes speaking a command, or makes a hand gesture. For example, this might include releasing a button or joystick.
5696XRSession.onselectstartAPI, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, onselectstart
The onselectstart attribute of the XRSession object is the event handler for the XRSession.selectstart_event event, which is dispatched when user starts making some sort of selection by pressing a trigger, touchpad, or button, speaking a command, or making a hand gesture. For example, this might include pressing a button or moving a joystick.
5697XRSession.onsqueezeAPI, AR, Event Handler, Mixed, Primary Squeeze Action, Reality, Reference, Squeeze Action, VR, Virtual, WebXR, XR, XRSession, actions, augmented, onsqueeze, squeeze
The XRSession interface's onsqueeze event handler property can be set to a function which is then invoked to handle the XRSession.squeeze_event event that's sent when the user successfully completes a primary squeeze action on a WebXR input device.
5698XRSession.onsqueezeendAPI, AR, Event Handler, Primary, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, action, augmented, onsqueezeend, squeeze
The XRSession interface's onsqueezeend event handler property is a function to be invokedn when the XRSession.squeezeend_event event sent to an XRSession when a primary squeeze action ends.
5699XRSession.onsqueezestartAPI, AR, Event Handler, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, actions, augmented, onsqueezestart
The XRSession interface's onsqueezestart event handler property can be set to a function which is then invoked to handle the XRSession.squeezestart_event event that's sent when the user successfully begins a primary squeeze action on a WebXR input device.
5700XRSession.onvisibilitychangeAPI, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onvisibilitychange
The onvisibilitychange attribute of the XRSession object is the event handler for the XRSession.visibilitychange_event event, which is dispatched when the visibility state of the XR session changes. The visibility state of the session is accessible via XRSession.visibilityState.
5701XRSession.renderStateAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, renderState
The read-only renderState property of an XRSession object indicates the returns a XRRenderState object describing how the user's environment which should be rendered.
5702XRSession.requestAnimationFrame()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, requestAnimationFrame()
The XRSession method requestAnimationFrame(), much like the Window method of the same name, schedules a callback to be executed the next time the browser is ready to paint the session's virtual environment to the XR display.
5703XRSession.requestReferenceSpace()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, requestReferenceSpace, space, tracking
The requestReferenceSpace() method of the XRSession interface returns a promise that resolves with an instance of either XRReferenceSpace or XRBoundedReferenceSpace as appropriate given the type of reference space requested.
5704XRSession: select eventAPI, AR, Input Source, Inputs, Mixed, Reality, Reference, Select, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events, target
The WebXR event select is sent to an XRSession when one of the session's input sources has completed a primary action.
5705XRSession: selectend eventAPI, AR, Event, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, selectend
The WebXR event selectend is sent to an XRSession when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnected without successfully completing the action.
5706XRSession: selectstart eventAPI, AR, Event, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, selectstart
The WebXR event selectstart is sent to an XRSession when the user begins a primary action on one of its input sources.
5707XRSession: squeeze eventAPI, AR, Event, Input Sources, Inputs, Mixed, Primary Squeeze Action, Reality, Reference, Squeeze Action, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, squeeze
The WebXR event squeeze is sent to an XRSession when one of the session's input sources has completed a primary squeeze action.
5708XRSession: squeezeend eventAPI, AR, Event, Input Sources, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, actions, augmented, squeezeend
The WebXR event squeezeend is sent to an XRSession when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnected without successfully completing the action.
5709XRSession: squeezestart eventAPI, AR, Event, Input Sources, Inputs, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, squeezestart
The WebXR event squeezestart is sent to an XRSession when the user begins a primary squeeze action on one of its input sources.
5710XRSession.updateRenderState()API, AR, Augmented Reality, Experimental, Method, Reference, Update, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, render, state, updateRenderState()
The updateRenderState() method of the XRSession interface of WebXR API schedules changes to be applied to the active render state prior to rendering of the next frame.
5711XRSession: visibilitychange eventAPI, AR, Blurred, Mixed, Reality, Reference, VR, Virtual, Visibility, Visible, WebXR, WebXR API, WebXR Device API, XR, XRSession, active, augmented, events, focused, hidden, visibilitychange
The visibilitychange event is sent to an XRSession to inform it when it becomes visible or hidden, or when it becomes visible but not currently focused.
5712XRSession.visibilityStateAPI, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, visibilityState
The read-only visibilityState property of the XRSession interface is a string indicating whether the WebXR content is currently visible to the user, and if it is, whether it's the primary focus.
5713XRSessionEventAPI, AR, Event, Interface, Mixed, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionEvent, augmented
The WebXR Device API's XRSessionEvent interface describes an event which indicates the change of the state of an XRSession.
5714XRSessionEvent.sessionAPI, AR, Mixed, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionEvent, augmented, events, sessions
The read-only XRSessionEvent interface's session property indicates which XRSession the event is about.
5715XRSessionEvent()API, Constructor, Mixed, Reality, Reference, Session, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEvent, augmented, events
The WebXR Device API's XRSessionEvent() constructor creates and returns a new XRSessionEvent object.
5716XRSessionEventInitAPI, AR, Configuration, Dictionary, Init, Mixed, Options, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEventInit, augmented, events, sessions
The XRSessionEventInit dictionary is used when calling the XRSessionEvent.XRSessionEvent constructor to provide the new event's initial values.
5717XRSessionEventInit.sessionAPI, AR, Event, Mixed, Options, Reality, Reference, Session, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEventInit, augmented
The XRSessionEventInit dictionary's session property specifies the XRSession for which the event describes a state change.
5718XRSessionInitAPI, AR, Dictionary, Reality, Reference, Session, VR, Virtual, WebXR API, WebXR Device API, WehXR, XR, XRSessionInit, augmented
The WebXR Device API dictionary XRSessionInit specifies required and/or optional features when requesting a new XRSession by calling the XRSystem.requestSession method.
5719XRSessionModeAPI, AR, Enum, Graphics, Reference, Session, Type, VR, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionMode
The WebXR Device API's XRSessionMode enumerated type defines the string values used to identify the possible kinds of session mode that can be used.
5720XRSpaceAPI, AR, Augmented Realty, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSpace
The XRSpace interface of the WebXR Device API is an abstract interface providing a common basis for every class which represents a virtual coordinate system within the virtual world, in which its origin corresponds to a physical location. Spatial data in WebXR is always expressed relative to an object based upon one of the descendant interfaces of XRSpace, at the time at which a given XRFrame takes place.
5721XRSystemAPI, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem
The WebXR Device API interface XRSystem provides methods which let you get access to an XRSession object representing a WebXR session. With that XRSession in hand, you can use it to interact with the Augmented Reality (AR) or Virtual Reality (VR) device.
5722XRSystem: devicechange eventAPI, AR, Augmented Reality, Reference, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, devicechange
A devicechange event is fired on an XRSystem object whenever the whenever the availability of immersive XR devices has changed; for example, a VR headset or AR goggles have been connected or disconnected.
5723XRSystem: isSessionSupported()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, isSessionSupported
The XRSystem method isSessionSupported() returns a promise which resolves to true if the specified WebXR session mode is supported by the user's WebXR device. Otherwise, the promise resolves with false.
5724XRSystem: ondevicechangeAR, Augmented Reality, Event Handler, Experimental, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, ondevicechange
The ondevicechange property of the XRSystem interface is passed a devicechange event whenever availability of an immersive device changes. The event that is fired is a "simple event" that implements the Event interface.
5725XRSystem: requestSession()API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, requestSession
The XRSystem interface's requestSession() method returns a promise which resolves to an XRSession object through which you can manage the requested type of WebXR session.
5726XRTargetRayMode3D, API, AR, Enum, Enumerated Type, Input, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRTargetRayMode, augmented, source, target
The WebXR Device API enumerated type XRTargetRayMode describes the method by an input controller's targeting ray is being produced.
5727XRViewAPI, AR, Eye, Interface, Orientation, Position, Reference, VR, View, WebXR, WebXR API, WebXR Device API, XR, XRView, camera
The WebXR Device API's XRView interface provides information describing a single view into the XR scene for a specific frame, providing orientation and position information for the viewpoint.
5728XRView.eyeAPI, AR, Eye, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRView, augmented
The XRView interface's read-only eye property is a string taken from the XREye enumerated type, indicating which eye's viewpoint the XRView represents: left or right. For views which represent neither eye, such as monoscopic views, this property's value is none.
5729XRView.projectionMatrixAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR DeviceAPI, XR, XRView, augmented, perspective, projectionMatrix
The XRView interface's read-only projectionMatrix property specifies the projection matrix to apply to the underlying view. This should be used to integrate perspective to everything in the scene, in order to ensure the result is consistent with what the eye expects to see.
5730XRView.transformAPI, AR, Orientation, Position, Property, Read-only, Reality, Reference, VR, View, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRView, augmented, camera, transform
The read-only transform property of the XRView interface is an XRRigidTransform object which provides the position and orientation of the viewpoint relative to the XRReferenceSpace specified when the XRFrame.getViewerPose() method was called to obtain the view object.
5731XRViewerPose3D, API, AR, Graphics, Mixed Reality, Overview, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented
The WebXR Device API interface XRViewerPose represents the pose (the position and orientation) of a viewer's point of view on the scene. Each XRViewerPose can have multiple views to represent, for example, the slight separation between the left and right eye.
5732XRViewerPose.views3D, API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR Device API, XR, XRViewerPose, augmented, pose, views
The read-only XRViewerPose property views returns an array which contains every XRView which must be rendered in order to fully represent the scene from the viewpoint defined by the viewer pose. For monoscopic devices, this array contains a single view.
5733XRViewportAPI, AR, Graphics, Interface, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, render, viewport
The WebXR Device API's XRViewport interface provides properties used to describe the size and position of the current viewport within the XRWebGLLayer being used to render the 3D scene.
5734XRViewport.heightAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, height, size, viewport
The read-only XRViewport property height specifies the height, in pixels, of the viewport onto the drawing surface within which the WebXR view is to be rendered.
5735XRViewport.widthAPI, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, size, viewport, width
The read-only XRViewport property width specifies the width of the viewport, in pixels, onto the drawing surface the 3D scene is to be rendered into.
5736XRViewport.xAPI, AR, Coordinate, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, left, origin, viewport, x
The read-only XRViewport interface's x property indicates the offset from the left edge of the destination surface (typically a XRWebGLLayer to the left edge of the viewport within the surface into which WebXR content is to be rendered.
5737XRViewport.yAPI, AR, Horizontal, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, origin, viewport, y
The read-only XRViewport interface's y property indicates the offset from the bottom edge of the destination surface (typically a XRWebGLLayer to the bottom edge of the viewport within the surface into which WebXR content is to be rendered.
5738XRVisibilityStateAPI, AR, Enum, Enumerated Type, Focus, Reality, Reference, Type, VR, Virtual, Visibility, XR, XRVisibilityState, augmented, blur, hidden
The XRVisibilityState enumerated type defines the string values which are valid for the XRSession interface's XRSession.visibilityState property, which indicates whether or not an XR session is currently visible to the user, and if it is, whether or not it's currently the primary focus.
5739XRWebGLLayerAPI, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRWebGLLayer
The XRWebGLLayer interface of the WebXR Device API provides a linkage between the WebXR device (or simulated XR device, in the case of an inline session) and a WebGL context used to render the scene for display on the device. In particular, it provides access to the WebGL framebuffer and viewport to ease access to the context.
5740XRWebGLLayer.antialiasAPI, AR, Drawing, Graphics, Quality, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, anti-aliasing, antialias, appearance, augmented, rendering
The read-only XRWebGLLayer property antialias is a Boolean value which is true if the rendering layer's frame buffer supports antialiasing.
5741XRWebGLLayer.framebufferAPI, AR, Buffer, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebuffer
The read-only XRWebGLLayer property framebuffer is an opaque WebGLFramebuffer which is used to buffer the rendered image if the XR compositor is being used. Otherwise, this property's value is null.
5742XRWebGLLayer.framebufferHeightAPI, AR, Buffer, Frame, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebufferHeight, height, size
The read-only XRWebGLLayer property framebufferHeight indicates the height of the framebuffer, in pixels.
5743XRWebGLLayer.framebufferWidthAPI, AR, Buffer, Frame, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebufferWidth, width
The read-only XRWebGLLayer property framebufferWidth specifies the width of the framebuffer, in pixels.
5744XRWebGLLayer.getNativeFramebufferScaleFactor() static methodAPI, AR, Effective, Factor, Reality, Reference, Scaling, Static, Static Method, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebuffer, getNativeFramebufferScaleFactor, native, resolution
The static method XRWebGLLayer.getNativeFramebufferScaleFactor() returns a floating-point scaling factor by which one can multiply the specified XRSession's resolution to get the native resolution of the WebXR device's frame buffer.
5745XRWebGLLayer.getViewport()API, AR, Layer, Method, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, getViewport, viewport
The XRWebGLLayer interface's getViewport() method returns the XRViewport that should be used to render the specified XRView into the WebGL layer.
5746XRWebGLLayer.ignoreDepthValues3D, API, AR, Depth, Property, Read-only, Reality, Reference, VR, Virtual, WebGL, WebGL API, WebGL Device API, XR, XRWebGLLayer, augmented, ignoreDepthValues
The read-only XRWebGLLayer property ignoreDepthValues is a Boolean value which is true if the session has been configured to ignore the values in the depth buffer while rendering the scene. If the depth buffer is being used to determine the position of vertices, this property is false.
5747XRWebGLLayer()API, AR, Constructor, Context, Create, Initialize, Layer, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, new
The WebXR Device API XRWebGLLayer() constructor creates and returns a new XRWebGLLayer object, providing the linkage between the WebXR device and the WebGL graphics layer used to render the 3D scene.
5748XRWebGLLayerInitAPI, AR, Configuration, Dictionary, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented
The WebXR Device API's XRWebGLLayerInit dictionary is used to provide configuration options when creating a new XRWebGLLayer object with the XRWebGLLayer.XRWebGLLayer constructor.
5749XRWebGLLayerInit.alphaAPI, Alpha, Property, Reference, See-through, Translucent, Transparent, WebXR, WebXR API, WebXR Device API, XRWebGLLayerInit, color
The alpha property is a Boolean value which, if present and set to true in the XRWebGLLayerInit dictionary passed into the XRWebGLLayer.XRWebGLLayer constructor, specifies that the new layer's color buffer is to include an alpha.
5750XRWebGLLayerInit.antialiasAPI, AR, Graphics, Property, Quality, Reality, Reference, Smoothing, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, anti-aliasing, antialias, augmented, detail, rendering
The Boolean antialias property, if present and set to true in the XRWebGLLayerInit object provided as the XRWebGLLayer.XRWebGLLayer constructor's layerInit parameter, requests that the new WebGL rendering layer support anti-aliasing. If this property is missing or is false, anti-aliasing is not desired.
5751XRWebGLLayerInit.depthAPI, AR, Buffer, Compositing, Depth, Distance, Property, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, rendering
When using the XRWebGLLayer.XRWebGLLayer constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose depth property is false will request that the new layer be created without a depth buffer.
5752XRWebGLLayerInit.framebufferScaleFactorAPI, AR, Buffer, Factor, Frame buffer, Property, Reality, Reference, Scale, Scaling, VR, Virtual, WeXR API, WebXR, WebXR Device API, XR, XRWebGLLayerInit, augmented, framebuffer, framebufferScaleFactor, resolution, size
The XRWebGLLayerInit dictionary's framebufferScaleFactor property, when specified upon instantiating a new XRWebGLLayer using its constructor, XRWebGLLayer.XRWebGLLayer, specifies the scaling factor to use when determining the size of the frame buffer to use when rendering the scene, relative to the default XR device display resolution.
5753XRWebGLLayerInit.ignoreDepthValuesAPI, AR, Compositing, Depth, Distance, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, ignoreDepthValues
The XRWebGLLayerInit dictionary's Boolean ignoreDepthValues property can be provided in the options passed into the XRWebGLLayer.XRWebGLLayer constructor to indicate that the depth buffer, if it exists, should be ignored while composing the scene.
5754XRWebGLLayerInit.stencilAPI, AR, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, stencil
When using the XRWebGLLayer.XRWebGLLayer constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose stencil property is false requests that the new layer be created without a stencil buffer.
5755XSLTProcessorAPI, DOM, DOM Reference, Reference, XSLT
An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
5756XSLT Basic ExampleXSLT
This first example demonstrates the basics of setting up an XSLT transformation in a browser. The example will take an XML document that contains information (title, list of authors and body text) about an article and present it in an human readable form.
5757Browser Differences
Netscape 7.x (all platforms) and Internet Explorer 6 (Windows) support the W3C XSLT 1.0 standard (http://www.w3.org/TR/xslt). IE 5.0 and 5.5 (both Windows) supported only the working draft of XSLT, and thus are not compatible with XSLT 1.0 stylesheets. Netscape 6.x only partially supported XSLT 1.0.
5758Generating HTML
One common application of XSLT in the browser is to transform XML into HTML on the client. The second example will transform the input document (example2.xml), which again contains information about an article, into an HTML document.
5759Introduction
One noticeable trend in W3C standards has been the effort to separate content from style. This would allow the same style to be reused for multiple content, as well as simplify maintenance and allow a quick (only modify one file) way to change the look of content.
5760Resources
No summary!
5761XSL Transformations in Mozilla FAQGuide, XSLT
Make sure the mime type for both source and stylesheet are set to an XML mimetype, namely text/xml or application/xml. The XSLT namespace is http://www.w3.org/1999/XSL/Transform. Use the <?xml-stylesheet ?> processing instruction instead of the non-standard xml:stylesheet. The most common cause is the MIME type handling. To find out which MIME type your server sends, look at Page Info, use extensions like LiveHTTPHeaders or a download manager like wget. Mozilla won't load XSLT stylesheets from a different domain for security reasons.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:87 次

字数:3120482

最后编辑:8年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文