Index

Found 6021 pages:

# Page Tags and summary
1 Web APIs API, 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.
2 AbortController API, 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.
3 AbortController.abort() API, AbortController, Experimental, Fetch, Method, Reference, abort()
The abort() method of the AbortController interface aborts a DOM request before it has completed. This is able to abort fetch requests, the consumption of any response bodies, or streams.
4 AbortController() API, AbortController, Constructor, Experimental, Fetch, Reference
The AbortController() constructor creates a new AbortController object instance.
5 AbortController.signal API, AbortController, Experimental, Fetch, Property, Reference, signal
The signal read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort a DOM request as desired.
6 AbortSignal API, AbortSignal, DOM, Experimental, Interface, Reference
The AbortSignal interface represents a signal object that allows you to communicate with a DOM request (such as a fetch request) and abort it if required via an AbortController object.
7 AbortSignal: abort event API, AbortSignal, DOM, Event, abort
The abort event of the Fetch API is fired when a fetch request is aborted, i.e. using AbortController.abort().
8 AbortSignal.abort() API, AbortSignal, Method, Reference, abort
The static AbortSignal.abort() method returns an AbortSignal that is already set as aborted (and which does not trigger an abort event).
9 AbortSignal.aborted API, AbortSignal, Experimental, Property, Reference, aborted
The aborted read-only property returns a value that indicates whether the DOM requests the signal is communicating with are aborted (true) or not (false).
10 AbortSignal.onabort API, AbortSignal, Event Handler, Experimental, Fetch, Property, Reference, onabort
The onabort read-only property of the AbortSignal interface is an event handler invoked when an abort_(cancellable_fetch) event fires, i.e. when the fetch requests the signal is communicating with are aborted.
11 AbsoluteOrientationSensor API, AbsoluteOrientationSensor, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors
The AbsoluteOrientationSensor interface of the Sensor APIs describes the device's physical orientation in relation to the Earth's reference coordinate system.
12 AbsoluteOrientationSensor() API, AbsoluteOrientationSensor, Constructor, Generic Sensor API, Orientation Sensor API, Reference, Sensor, Sensor APIs, Sensors
The AbsoluteOrientationSensor() constructor creates a new AbsoluteOrientationSensor object which describes the device's physical orientation in relation to the Earth's reference coordinate system.
13 AbstractRange API, 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.
14 AbstractRange.collapsed API, 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.
15 AbstractRange.endContainer API, 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.
16 AbstractRange.endOffset API, 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.
17 AbstractRange.startContainer API, 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.
18 AbstractRange.startOffset API, 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.
19 Accelerometer API, Accelerometer, Accelerometer API, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
The Accelerometer interface of the Sensor APIs provides on each reading the acceleration applied to the device along all three axes.
20 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.
21 Accelerometer.x API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, x
The x read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its x axis.
22 Accelerometer.y API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, y
The y read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its y axis.
23 Accelerometer.z API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, z
The z read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its z axis.
24 AddressErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress
The AddressErrors dictionary is used by the Payment Request API to report validation errors in a physical address (typically a billing address or a shipping address).
25 AddressErrors.addressLine API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, addressLine, payment
An object based on AddressErrors includes an addressLine property when validation of the address finds one or more errors in the array of strings in the address's PaymentAddress.addressLine. The returned string explains the error and should offer suggestions for how to correct it.
26 AddressErrors.city API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, city, payment
An object based on AddressErrors includes a city property when validation of the address fails for the value given for the address's PaymentAddress.city property. The returned string explains the error and should offer suggestions for how to correct it.
27 AddressErrors.country API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, country, payment
An object based on AddressErrors includes a country property if during validation of the address the specified value of PaymentAddress.country was determined to be invalid. The value is a string describing the error and should offer suggestions for how to correct it.
28 AddressErrors.dependentLocality API, AddressErrors, Error, Locality, Payment Request, Payment Request API, Property, Read-only, Reference, dependentLocality, payment
An object based on AddressErrors includes a dependentLocality property when the address's PaymentAddress.dependentLocality property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
29 AddressErrors.languageCode API, Address, AddressErrors, Deprecated, Language, LanguageCode, Locale, Payment Request, Payment Request API, Property, Reference, payment
An object based on AddressErrors includes a languageCode property when the address's PaymentAddress.languageCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
30 AddressErrors.organization API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, organization, payment
An object based on AddressErrors includes an organization property when the address's PaymentAddress.organization property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
31 AddressErrors.phone API, Address, AddressErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Read-only, Reference, Telephone Number, Téléphone, Validation, payment
An object based on AddressErrors includes a phone property when the address's PaymentAddress.phone property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
32 AddressErrors.postalCode API, Address, AddressErrors, Payment Request, Payment Request API, Post Code, Postal Code, Property, Read-only, Reference, Validation, ZIP, ZIP Code, payment, postalCode
An object based on AddressErrors includes a postalCode property when the address's PaymentAddress.postalCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
33 AddressErrors.recipient API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, name, payment
An object based on AddressErrors includes a recipient property when the address's PaymentAddress.recipient property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
34 AddressErrors.region API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, region
An object based on AddressErrors includes a region property when the address's PaymentAddress.region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
35 AddressErrors.sortingCode API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, sortingCode
An object based on AddressErrors includes a sortingCode property when the address's PaymentAddress.sortingCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
36 AesCbcParams API, 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.
37 AesCtrParams API, 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.
38 AesGcmParams API, 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.
39 AesKeyGenParams API, 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.
40 AmbientLightSensor API, 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.
41 AmbientLightSensor() API, Ambient Light Sensor API, AmbientLightSensor, Constructor, Reference
The AmbientLightSensor() constructor creates a new AmbientLightSensor object, which returns the current light level or illuminance of the ambient light around the hosting device.
42 AmbientLightSensor.illuminance API, Ambient Light Level API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, illuminance
The illuminance property of the AmbientLightSensor interface returns the current light level in lux of the ambient light level around the hosting device.
43 AnalyserNode API, AnalyserNode, Interface, Reference, Web Audio API
The AnalyserNode interface represents a node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations.
44 AnalyserNode() API, AnalyserNode, Audio, Constructor, Media, Reference, Web Audio API
The AnalyserNode() constructor of the Web Audio API creates a new AnalyserNode object instance.
45 AnalyserNode.fftSize API, AnalyserNode, Property, Reference, Web Audio API, fftSize
The fftSize property of the AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.
46 AnalyserNode.frequencyBinCount API, AnalyserNode, Property, Reference, Web Audio API, frequencyBinCount
The frequencyBinCount read-only property of the AnalyserNode interface is an unsigned integer half that of the AnalyserNode.fftSize. This generally equates to the number of data values you will have to play with for the visualization.
47 AnalyserNode.getByteFrequencyData() API, AnalyserNode, Method, Reference, Web Audio API
The getByteFrequencyData() method of the AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it.
48 AnalyserNode.getByteTimeDomainData() API, AnalyserNode, Method, Reference, 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.
49 AnalyserNode.getFloatFrequencyData() API, AnalyserNode, Method, Reference, Web Audio API
The getFloatFrequencyData() method of the AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it.
50 AnalyserNode.getFloatTimeDomainData() API, AnalyserNode, Method, Reference, 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.
51 AnalyserNode.maxDecibels API, AnalyserNode, Property, Reference, Web Audio API, maxDecibels
The maxDecibels property of the AnalyserNode interface is a double value representing the maximum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte values — basically, this specifies the maximum value for the range of results when using getByteFrequencyData().
52 AnalyserNode.minDecibels API, AnalyserNode, Property, Reference, 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 values — basically, this specifies the minimum value for the range of results when using getByteFrequencyData().
53 AnalyserNode.smoothingTimeConstant API, AnalyserNode, Property, Reference, 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.
54 ANGLE_instanced_arrays API, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
55 ANGLE_instanced_arrays.drawArraysInstancedANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.drawArraysInstancedANGLE() method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
56 ANGLE_instanced_arrays.drawElementsInstancedANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.drawElementsInstancedANGLE() method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawElements() method. In addition, it can execute multiple instances of a set of elements.
57 ANGLE_instanced_arrays.vertexAttribDivisorANGLE() ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension
The ANGLE_instanced_arrays.vertexAttribDivisorANGLE() method of the WebGL API  modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ANGLE_instanced_arrays.drawArraysInstancedANGLE() and ANGLE_instanced_arrays.drawElementsInstancedANGLE().
58 Animation API, 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.
59 Animation() API, Animation, Animations, Constructor, Reference, web animations api
The Animation() constructor of the Web Animations API returns a new Animation object instance.
60 Animation.cancel() API, Animation, Method, Reference, Web Animations, cancel, waapi, web animations api
The Web Animations API's cancel() method of the Animation interface clears all KeyframeEffects caused by this animation and aborts its playback.
61 Animation.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.
62 Animation.currentTime API, Animation, Animations, Property, Reference, Web Animations, web animations api
The Animation.currentTime property of the Web Animations API returns and sets the current time value of the animation in milliseconds, whether running or paused.
63 Animation.effect API, Animation, Experimental, Property, Reference, Web Animations, effect, web animations api
The Animation.effect property of the Web Animations API gets and sets the target effect of an animation. The target effect may be either an effect object of a type based on AnimationEffect, such as KeyframeEffect, or null.
64 Animation.finish() API, Animation, Finish, Interface, Method, Reference, Web Animations, waapi, web animations api
The finish() method of the Web Animations API's Animation Interface sets the current playback time to the end of the animation corresponding to the current playback direction.
65 Animation.finished API, Animation, Experimental, Property, Reference, Web Animations, finished, web animations api
The Animation.finished read-only property of the Web Animations API returns a Promise which resolves once the animation has finished playing.
66 Animation.id API, Animation, Property, Reference, id, web animations api
The Animation.id property of the Web Animations API returns or sets a string used to identify the animation.
67 Animation.oncancel API, 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.
68 Animation.onfinish API, Animation, Event Handler, Property, Reference, Web Animations, events, onfinish, waapi, web animations api
The Animation interface's onfinish property (from the Web Animations API) is the event handler for the finish event. This event is sent when the animation finishes playing.
69 Animation.onremove API, 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).
70 Animation.pause() Animation, Method, Reference, Web Animations, pause, waapi, web animations api
The pause() method of the Web Animations API's Animation interface suspends playback of the animation.
71 Animation.pending API, Animation, Animations, Property, Reference, Web Animations, web animations api
The read-only Animation.pending property of the Web Animations API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.
72 Animation.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.
73 Animation.play() API, Animation, Interface, Method, Reference, Web Animations, play, waapi, web animations api
The play() method of the Web Animations API's Animation Interface starts or resumes playing of an animation. If the animation is finished, calling play() restarts the animation, playing it from the beginning.
74 Animation.playbackRate API, Animation, Interface, Property, Reference, Web Animations, playbackRate, web animations api
The Animation.playbackRate property of the Web Animations API returns or sets the playback rate of the animation.
75 Animation.playState API, Animation, Property, Reference, Web Animations, playState, web animations api
The Animation.playState property of the Web Animations API returns and sets an enumerated value describing the playback state of an animation.
76 Animation.ready API, Animation, Experimental, Property, Ready, Ready Promise, Reference, Web Animations, web animations api
The read-only Animation.ready property of the Web Animations API returns a Promise which resolves when the animation is ready to play. A new promise is created every time the animation enters the "pending" play state as well as when the animation is canceled, since in both of those scenarios, the animation is ready to be started again.
77 Animation.replaceState API, 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.
78 Animation.reverse() API, Animation, Interface, Method, Reference, Web Animations, reverse, waapi, web animations api
The Animation.reverse() method of the Animation Interface reverses the playback direction, meaning the animation ends at its beginning. If called on an unplayed animation, the whole animation is played backwards. If called on a paused animation, the animation will continue in reverse. 
79 Animation.startTime API, Animation, Interface, Property, Reference, Web Animations, startTime, web animations api
The Animation.startTime property of the Animation interface is a double-precision floating-point value which indicates the scheduled time when an animation's playback should begin. 
80 Animation.timeline API, Animation, Experimental, Property, Reference, Web Animations, timeline, web animations api
The Animation.timeline property of the Animation interface returns or sets the 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.
81 Animation.updatePlaybackRate() API, Animation, Experimental, Interface, Method, Reference, Web Animations, playbackRate, updatePlaybackRate, waapi, web animations api
The updatePlaybackRate() method of the Web Animations API's Animation Interface sets the speed of an animation after first synchronizing its playback position.
82 AnimationEffect API, 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 KeyframeEffect (which is used by CSS Animations and Transitions).
83 AnimationEffect.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.
84 AnimationEffect.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.
85 AnimationEffect.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.
86 AnimationEvent API, Experimental, Interface, Reference, Web Animations
The AnimationEvent interface represents events providing information related to animations.
87 AnimationEvent() API, AnimationEvent, CSSOM, Constructor, Experimental, Reference, Web Animations
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation.
88 AnimationEvent.animationName API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.
89 AnimationEvent.elapsedTime API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an 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).
90 AnimationEvent.initAnimationEvent() API, AnimationEvent, CSSOM, Deprecated, Method, Web Animations
The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent() method.
91 AnimationEvent.pseudoElement API, AnimationEvent, CSS, CSSOM, Experimental, Property, Reference, Web Animations
The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.
92 AnimationPlaybackEvent API, Animation, AnimationPlaybackEvent, Experimental, Interface, Reference, events, waapi, web animations api
The AnimationPlaybackEvent interface of the Web Animations API represents animation events.
93 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.
94 AnimationPlaybackEvent.currentTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, currentTime, waapi, web animations api
The currentTime read-only property of the AnimationPlaybackEvent interface represents the current time of the animation that generated the event at the moment the event is queued. This will be unresolved if the animation was idle at the time the event was generated.
95 AnimationPlaybackEvent.timelineTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, timelineTime, waapi, web animations api
The timelineTime read-only property of the AnimationPlaybackEvent interface represents the time value of the animation's 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.
96 AnimationTimeline API, 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.
97 AnimationTimeline.currentTime API, 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.
98 ArrayBufferView API, Interface, JavaScript, Reference, Typed Arrays
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types:
99 Attr API, 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.
100 Attr.localName API, DOM, Property, Reference
The Attr.localName read-only property returns the local part of the qualified name of an attribute.
101 Attr.namespaceURI API, DOM, Property, Reference
The Attr.namespaceURI read-only property returns the namespace URI of the attribute, or null if the element is not in a namespace.
102 Attr.prefix API, DOM, Property, Reference
The Attr.prefix read-only property returns the namespace prefix of the specified attribute, or null if no prefix is specified.
103 AudioBuffer API, AudioBuffer, Interface, Reference, Web Audio API
The AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the BaseAudioContext/decodeAudioData method, or from raw data using BaseAudioContext/createBuffer. Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode.
104 AudioBuffer() API, Audio, AudioBuffer, Buffer, Constructor, Media, Reference, Web Audio, Web Audio API, sound
The AudioBuffer constructor of the Web Audio API creates a new AudioBuffer object.
105 AudioBuffer.copyFromChannel() API, Audio, AudioBuffer, Copying, Frames, Method, Reference, Samples, Web Audio, Web Audio API, copy, copyFromChannel, sound
The copyFromChannel() method of the AudioBuffer interface copies the audio sample data from the specified channel of the AudioBuffer to a specified Float32Array.
106 AudioBuffer.copyToChannel() API, Audio, AudioBuffer, Method, Reference, Web Audio API, copyToChannel
The copyToChannel() method of the AudioBuffer interface copies the samples to the specified channel of the AudioBuffer, from the source array.
107 AudioBuffer.duration API, 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.
108 AudioBuffer.getChannelData() API, AudioBuffer, Method, Reference, Web Audio API
The getChannelData() method of the AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
109 AudioBuffer.length API, AudioBuffer, Property, Reference, Web Audio API, length
The length property of the AudioBuffer interface returns an integer representing the length, in sample-frames, of the PCM data stored in the buffer.
110 AudioBuffer.numberOfChannels API, 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.
111 AudioBuffer.sampleRate API, 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.
112 AudioBufferSourceNode API, Audio, AudioBufferSourceNode, Interface, Media, Reference, Web Audio API
The AudioBufferSourceNode interface is an AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
113 AudioBufferSourceNode() API, Audio, AudioBufferSourceNode, Constructor, Media, Reference, Web Audio API
The AudioBufferSourceNode() constructor creates a new AudioBufferSourceNode object instance.
114 AudioBufferSourceNode.buffer API, Audio, AudioBufferSourceNode, Buffer, Media, Property, Reference, Web Audio API, sound
The buffer property of the AudioBufferSourceNode interface provides the ability to play back audio using an AudioBuffer as the source of the sound data.
115 AudioBufferSourceNode.detune API, Audio, AudioBufferSourceNode, Property, Reference, Web Audio API, detune
The detune property of the AudioBufferSourceNode interface is a k-rate AudioParam representing detuning of oscillation in cents.
116 AudioBufferSourceNode.loop API, 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.
117 AudioBufferSourceNode.loopEnd API, 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.
118 AudioBufferSourceNode.loopStart API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopStart, sound
The loopStart property of the AudioBufferSourceNode interface is a floating-point value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.
119 AudioBufferSourceNode.playbackRate API, AudioBufferSourceNode, Property, Reference, Web Audio API, playbackRate
The playbackRate property of the AudioBufferSourceNode interface Is a k-rate AudioParam that defines the speed at which the audio asset will be played.
120 AudioBufferSourceNode.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.
121 AudioConfiguration API, Audio, AudioConfiguration, Experimental, Interface, Media Capabilities API, Reference, Video
The AudioConfiguration dictionary of the Media Capabilities API defines the audio file being tested when calling MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() to query whether a specific audio configuration is supported, smooth, and/or power efficient.
122 AudioContext API, Audio, AudioContext, Interface, Reference, Web Audio API, sound
The AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode.
123 AudioContext() Audio, Audio Context, Audio Graph, AudioContext, Constructor, Context, Media, Media Graph, Reference, Web Audio, Web Audio API
The AudioContext() constructor creates a new AudioContext object which represents an audio-processing graph, built from audio modules linked together, each represented by an AudioNode.
124 AudioContext.baseLatency API, 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.
125 AudioContext.close() API, AudioContext, Media, Method, Reference, Web Audio API, close
The close() method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.
126 AudioContext.createJavaScriptNode() API, Audio, Deprecated, Method, Reference, Web, createJavaScriptNode

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

127 AudioContext.createMediaElementSource() API, AudioContext, Method, Reference, 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.
128 AudioContext.createMediaStreamDestination() API, AudioContext, Method, Reference, 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.
129 AudioContext.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.
130 AudioContext.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.
131 AudioContext.getOutputTimestamp() API, Audio, AudioContext, Method, Reference, Web Audio API, getOutputTimestamp, sound
The getOutputTimestamp() property of the AudioContext interface returns a new AudioTimestamp object containing two audio timestamp values relating to the current audio context.
132 AudioContext.outputLatency API, 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.
133 AudioContext.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.
134 AudioContext.suspend() API, Audio, AudioContext, Method, Reference, Web Audio API, suspend
The suspend() method of the AudioContext Interface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.
135 AudioDestinationNode API, 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.
136 AudioDestinationNode.maxChannelCount API, AudioDestinationNode, Property, Reference, 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.
137 AudioListener API, AudioListener, Interface, Reference, 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.
138 AudioListener.dopplerFactor API, Audio, AudioListener, Deprecated, Doppler, Doppler Effect, Property, Reference, Web Audio API, dopplerFactor, effects
The deprecated dopplerFactor property of the AudioListener interface is a double value representing the amount of pitch shift to use when rendering a doppler effect.
139 AudioListener.forwardX API, Audio, AudioListener, Property, Reference, Web Audio API, forwardX
The forwardX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.
140 AudioListener.forwardY API, Audio, AudioListener, Property, Reference, Web Audio API, forwardY
The forwardY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in.
141 AudioListener.forwardZ API, Audio, AudioListener, Property, Reference, Web Audio API, forwardZ
The forwardZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the forward direction the listener is pointing in.
142 AudioListener.positionX API, Audio, AudioListener, Property, Reference, Web Audio API, positionX
The positionX read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space.
143 AudioListener.positionY API, Audio, AudioListener, Property, Reference, Web Audio API, positionY
The positionY read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.
144 AudioListener.positionZ API, Audio, AudioListener, Property, Reference, Web Audio API, positionZ
The positionZ read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space.
145 AudioListener.setOrientation() API, AudioListener, Method, Reference, Web Audio API, setOrientation
The setOrientation() method of the AudioListener interface defines the orientation of the listener.
146 AudioListener.setPosition() API, AudioListener, Deprecated, Method, Reference, Web Audio API, setPosition
The setPosition() method of the AudioListener Interface defines the position of the listener.
147 AudioListener.speedOfSound API, AudioListener, Deprecated, Property, Reference, Web Audio API, speedOfSound
The speedOfSound property of the AudioListener interface is a double value representing the speed of sound, in meters per second.
148 AudioListener.upX API, Audio, AudioListener, Property, Reference, Web Audio API, upX
The upX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.
149 AudioListener.upY API, AudioListener, Property, Reference, Web Audio API, upY
The upY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the up direction the listener is pointing in.
150 AudioListener.upZ API, Audio, AudioListener, Property, Reference, Web Audio API, upZ
The upZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.
151 AudioNode API, AudioNode, Interface, Reference, Web Audio API
The AudioNode interface is a generic interface for representing an audio processing module.
152 AudioNode.channelCount API, AudioNode, Property, Reference, Web Audio API, channelCount
The channelCount property of the AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
153 AudioNode.channelCountMode API, 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.
154 AudioNode.channelInterpretation API, AudioNode, Property, Reference, Web Audio API, channelInterpretation
The channelInterpretation property of the AudioNode interface represents an enumerated value describing how input channels are mapped to output channels when the number of inputs/outputs is different. For example, this setting defines how a mono input will be up-mixed to a stereo or 5.1 channel output, or how a quad channel input will be down-mixed to a stereo or mono output.
155 AudioNode.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.
156 AudioNode.context API, AudioNode, Context, Property, Reference, Web Audio API
The read-only context property of the AudioNode interface returns the associated BaseAudioContext, that is the object representing the processing graph the node is participating in.
157 AudioNode.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.
158 AudioNode.numberOfInputs API, AudioNode, Property, Reference, Web Audio API, numberOfInputs
The numberOfInputs property of the AudioNode interface returns the number of inputs feeding the node. Source nodes are defined as nodes having a numberOfInputs property with a value of 0.
159 AudioNode.numberOfOutputs API, AudioNode, Property, Reference, Web Audio API, numberOfOutputs
The numberOfOutputs property of the AudioNode interface returns the number of outputs coming out of the node. Destination nodes — like AudioDestinationNode — have a value of 0 for this attribute.
160 AudioNodeOptions API, Audio, AudioNodeOptions, Dictionary, Interface, Options, Reference, Web Audio API
The AudioNodeOptions dictionary of the Web Audio API specifies options that can be used when creating new AudioNode objects.
161 AudioParam API, 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).
162 AudioParam.cancelAndHoldAtTime() API, Audio, AudioParam, Experimental, Method, Reference, Web Audio API, cancelAndHoldAtTime, cancelValuesAndHoldAtTime
The cancelAndHoldAtTime() property of the AudioParam interface cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.
163 AudioParam.cancelScheduledValues() API, AudioParam, Method, Reference, Web Audio API, cancelScheduledValues
The cancelScheduledValues() method of the AudioParam Interface cancels all scheduled future changes to the AudioParam.
164 AudioParam.defaultValue API, AudioParam, Property, Reference, Web Audio API, defaultValue
The defaultValue read-only property of the AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the AudioParam.
165 AudioParam.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.
166 AudioParam.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.
167 AudioParam.maxValue API, Audio, AudioParam, Property, Reference, Web Audio API, maxValue
The maxValue read-only property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.
168 AudioParam.minValue API, Audio, AudioParam, Property, Reference, Web Audio API, minValue
The minValue read-only property of the AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range.
169 AudioParam.setTargetAtTime() API, AudioParam, Method, Reference, Web Audio API, setTargetAtTime
The setTargetAtTime() method of the AudioParam interface schedules the start of a gradual change to the AudioParam value. This is useful for decay or release portions of ADSR envelopes.
170 AudioParam.setValueAtTime() API, AudioParam, Method, Reference, Web Audio API, setValueAtTime
The setValueAtTime() method of the AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against BaseAudioContext/currentTime. The new value is given in the value parameter.
171 AudioParam.setValueCurveAtTime() API, Audio, AudioParam, Method, Reference, Web, Web Audio, Web Audio API, setValueCurveAtTime
The setValueCurveAtTime() method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values. 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.
172 AudioParam.value API, 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.
173 AudioParamDescriptor API, Audio, AudioParamDescriptor, AudioWorkletProcessor, Dictionary, Reference, Web Audio API, parameterDescriptors
The AudioParamDescriptor dictionary of the Web Audio API specifies properties for AudioParam objects.
174 AudioParamMap Draft, Experimental
The Web Audio API interface AudioParamMap represents a set of multiple audio parameters, each described as a mapping of a DOMString identifying the parameter to the AudioParam object representing its value.
175 AudioProcessingEvent API, Deprecated, Interface, Internationalization, Reference, Web Audio API
The Web Audio API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed.
176 AudioScheduledSourceNode API, Audio, AudioScheduledSourceNode, Interface, Media, Reference, Web Audio API, sound
The AudioScheduledSourceNode interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times. Specifically, this interface defines the AudioScheduledSourceNode.start and AudioScheduledSourceNode.stop methods, as well as the AudioScheduledSourceNode.onended event handler.
177 AudioScheduledSourceNode: ended event Audio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended
Web Audio API
178 AudioScheduledSourceNode.onended API, Audio, AudioBufferSourceNode, AudioScheduledSourceNode, ConstantSourceNode, Event Handler, Media, OscillatorNode, Property, Web Audio API, onended
The onended event handler for the AudioScheduledSourceNode interface specifies an event handler 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.
179 AudioScheduledSourceNode.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.
180 AudioScheduledSourceNode.stop() API, Audio, AudioScheduledSourceNode, Media, Method, Reference, Web Audio API, sound, stop
The stop() method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time. If no time is specified, then the sound stops playing immediately.
181 AudioTrack Audio, AudioTrack, HTML, HTML DOM, Interface, Media, Reference, track
The AudioTrack interface represents a single audio track from one of the HTML media elements, audio or video.
182 AudioTrack.enabled Audio, AudioTrack, HTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, enabled, mute, track
The AudioTrack property enabled specifies whether or not the described audio track is currently enabled for use. If the track is disabled by setting enabled to false, the track is muted and does not produce audio.
183 AudioTrack.id API, Audio, Audio Track, AudioTrack, HTML DOM, Interface, Media, Property, Read-only, Reference, id, track
The id property contains a string which uniquely identifies the track represented by the AudioTrack.
184 AudioTrack.kind API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, id, track
The kind property contains a string indicating the category of audio contained in the AudioTrack.
185 AudioTrack.label API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, label, metadata, track
The read-only AudioTrack property label returns a string specifying the audio track's human-readable label, if one is available; otherwise, it returns an empty string.
186 AudioTrack.language API, Audio, AudioTrack, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Translated, Translation, track
The read-only AudioTrack property language returns a string identifying the language used in the audio track.
187 AudioTrack.sourceBuffer API, Audio, AudioTrack, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, track
The read-only AudioTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
188 AudioTrackList API, Audio, AudioTrackList, HTML DOM, Interface, Media, Reference, Track List, Tracks, list
The AudioTrackList interface is used to represent a list of the audio tracks contained within a given HTML media element, with each track represented by a separate AudioTrack object in the list.
189 AudioTrackList: addtrack event Event
The addtrack event is fired when a track is added to an AudioTrackList.
190 AudioTrackList: change event API, 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.
191 AudioTrackList.getTrackById() API, Audio, AudioTrackList, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, getTrackById, id, track
The AudioTrackList method getTrackById() returns the first AudioTrack object from the track list whose AudioTrack.id matches the specified string.
192 AudioTrackList.length API, Audio, AudioTrackList, HTML DOM, Media, Property, Read-only, Reference, length, list, track
The read-only AudioTrackList property length returns the number of entries in the AudioTrackList, each of which is an AudioTrack representing one audio track in the media element.
193 AudioTrackList.onaddtrack API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onaddtrack, track
The AudioTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new audio track has been added to the media element whose audio tracks the AudioTrackList represents.
194 AudioTrackList.onchange API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onchange, track
The AudioTrackList property onchange is an event handler which is called when the change event occurs, indicating that one or more of the AudioTracks in the AudioTrackList have been enabled or disabled.
195 AudioTrackList.onremovetrack API, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, Removing Audio Tracks, Removing Tracks, onremovetrack, remove, removeTrack, track
The AudioTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that an audio track has been removed from the media element, and therefore also from the AudioTrackList.
196 AudioTrackList: removetrack event Event
The removetrack event is fired when a track is removed from an AudioTrackList.
197 AudioWorklet API, 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.
198 AudioWorkletGlobalScope API, 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.
199 AudioWorkletGlobalScope.registerProcessor API, 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.
200 AudioWorkletNode API, 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.
201 AudioWorkletNode() 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.
202 AudioWorkletNode.onprocessorerror API, 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.
203 AudioWorkletNode.parameters API, 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.
204 AudioWorkletNode.port API, 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.
205 AudioWorkletProcessor API, 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.
206 AudioWorkletProcessor() 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.
207 AudioWorkletProcessor.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.
208 AudioWorkletProcessor.port API, 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.
209 AudioWorkletProcessor.process API, 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.
210 AuthenticatorAssertionResponse API, 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.
211 AuthenticatorAssertionResponse.authenticatorData API, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
Web Authentication API
212 AuthenticatorAssertionResponse.signature API, 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).
213 AuthenticatorAssertionResponse.userHandle API, 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.
214 AuthenticatorAttestationResponse API, 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.
215 AuthenticatorAttestationResponse.attestationObject API, 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.
216 AuthenticatorAttestationResponse.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.
217 AuthenticatorResponse API, 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.
218 AuthenticatorResponse.clientDataJSON API, 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.
219 Background Fetch API API, Background Fetch API, Overview, Reference
The Background Fetch API provides a method for managing downloads that may take a significant amount of time such as movies, audio files, and software.
220 Background Tasks API API, Background Tasks API, Guide, IdleDeadline, Overview, cancelIdleCallback, requestIdleCallback
The Cooperative Scheduling of Background Tasks API (also referred to as the Background Tasks API or 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.
221 BackgroundFetchEvent API, BackgroundFetchEvent, Interface, Reference
The BackgroundFetchEvent interface of the Background Fetch API is the event type for background fetch events dispatched on the ServiceWorkerGlobalScope.
222 BackgroundFetchEvent() API, BackgroundFetchEvent, Constructor, Reference
The BackgroundFetchEvent() constructor creates a new BackgroundFetchEvent object. This constructor is not typically used as the browser creates these objects itself and provides them to background fetch event callbacks.
223 BackgroundFetchEvent.registration API, BackgroundFetchEvent, Property, Reference, registration
The registration read-only property of the BackgroundFetchEvent interface returns a BackgroundFetchRegistration object.
224 BackgroundFetchManager API, BackgroundFetchManager, Experimental, Fetch, Interface, Reference, Service Workers
The BackgroundFetchManager interface of the Background Fetch API is a map where the keys are background fetch IDs and the values are BackgroundFetchRegistration objects.
225 BackgroundFetchManager.fetch() API, BackgroundFetchManager, Experimental, Fetch, Method, Reference, Service Workers, fetch
The fetch() method of the BackgroundFetchManager interface returns a Promise that resolves with a BackgroundFetchRegistration object for a supplied array of URLs and Request objects.
226 BackgroundFetchManager.get() API, BackgroundFetchManager, Experimental, Fetch, Method, Reference, Service Workers, get
The get() method of the BackgroundFetchManager interface returns a Promise that resolves with the BackgroundFetchRegistration associated with the provided id or undefined if the id is not found.
227 BackgroundFetchManager.getIds() API, BackgroundFetchManager, Experimental, Fetch, Method, Reference, Service Workers, getIds
The getIds() method of the BackgroundFetchManager interface returns the IDs of all registered background fetches.
228 BackgroundFetchRecord API, BackgroundFetchRecord, Interface, Reference
The BackgroundFetchRecord interface of the Background Fetch API represents an individual request and response.
229 BackgroundFetchRecord.request API, BackgroundFetchRecord, Property, Reference, request
The request read-only property of the BackgroundFetchRecord interface returns the details of the resource to be fetched.
230 BackgroundFetchRecord.responseReady API, BackgroundFetchRecord, Property, Reference, responseReady
The responseReady read-only property of the BackgroundFetchRecord interface returns a Promise that resolves with a Response.
231 BackgroundFetchRegistration API, BackgroundFetchRegistration, Interface, Reference
The BackgroundFetchRegistration interface of the Background Fetch API represents an individual background fetch.
232 BackgroundFetchRegistration.abort() API, BackgroundFetchRegistration, Method, Reference, abort
The abort() method of the BackgroundFetchRegistration interface aborts an active background fetch.
233 BackgroundFetchRegistration.downloaded API, BackgroundFetchRegistration, Property, Reference, downloaded
The downloaded read-only property of the BackgroundFetchRegistration interface returns the size in bytes that has been downloaded, initially 0.
234 BackgroundFetchRegistration.downloadTotal API, BackgroundFetchRegistration, Property, Reference, downloadTotal
The downloadTotal read-only property of the BackgroundFetchRegistration interface returns the total size in bytes of this download. This is set when the background fetch was registered, or 0 if not set.
235 BackgroundFetchRegistration.failureReason API, BackgroundFetchRegistration, Property, Reference, failureReason
The failureReason read-only property of the BackgroundFetchRegistration interface returns a string with a value that indicates a reason for a background fetch failure.
236 BackgroundFetchRegistration.id API, BackgroundFetchRegistration, Property, Reference, id
The id read-only property of the BackgroundFetchRegistration interface returns a copy of the background fetch's ID.
237 BackgroundFetchRegistration.match() API, BackgroundFetchRegistration, Method, Reference, match
The match() method of the BackgroundFetchRegistration interface returns the first matching BackgroundFetchRecord.
238 BackgroundFetchRegistration.matchAll() API, BackgroundFetchRegistration, Method, Reference, matchAll
The matchAll() method of the BackgroundFetchRegistration interface returns an array of matching BackgroundFetchRecord objects.
239 BackgroundFetchRegistration.onprogress API, BackgroundFetchRegistration, Property, Reference, onprogress
The onprogress EventHandler of the BackgroundFetchRegistration interface is an event handler that processes background fetch events.
240 BackgroundFetchRegistration.recordsAvailable API, BackgroundFetchRegistration, Property, Reference, recordsAvailable
The recordsAvailable read-only property of the BackgroundFetchRegistration interface returns true if there are requests and responses to be accessed. If this returns false then BackgroundFetchRegistration.match() and BackgroundFetchRegistration.matchAll() can't be used.
241 BackgroundFetchRegistration.result API, BackgroundFetchRegistration, Property, Reference, result
The result read-only property of the BackgroundFetchRegistration interface returns a string indicating whether the background fetch was successful or failed.
242 BackgroundFetchRegistration.uploaded API, BackgroundFetchRegistration, Property, Reference, uploaded
The uploaded read-only property of the BackgroundFetchRegistration interface returns the size in bytes successfully sent, initially 0.
243 BackgroundFetchRegistration.uploadTotal API, BackgroundFetchRegistration, Property, Reference, uploadTotal
The uploadTotal read-only property of the BackgroundFetchRegistration interface returns the total number of bytes to be sent to the server.
244 BackgroundFetchUpdateUIEvent API, BackgroundFetchUpdateUIEvent, Interface, Reference
The BackgroundFetchUpdateUIEvent interface of the Background Fetch API is an event type passed to ServiceWorkerGlobalScope.onbackgroundfetchsuccess and ServiceWorkerGlobalScope.onbackgroundfetchfail, and provides a method for updating the title and icon of the app to inform a user of the success or failure of a background fetch.
245 BackgroundFetchUpdateUIEvent() API, BackgroundFetchUpdateUIEvent, Constructor, Reference
The BackgroundFetchUpdateUIEvent() constructor creates a new BackgroundFetchUpdateUIEvent object. This constructor is not typically used as the browser creates these objects itself and provides them to background fetch event callbacks.
246 BackgroundFetchUpdateUIEvent.updateUI() API, BackgroundFetchUpdateUIEvent, Method, Reference, updateUI
The updateUI() method of the BackgroundFetchUpdateUIEvent interface updates the title and icon in the user interface to show the status of a background fetch.
247 Badging API API, Badging API, Overview, Reference
The Badging API gives web developers a method of setting a badge on a document or application, to act as a notification that state has changed without displaying a more distracting notification. A common use case for this would be an application with a messaging feature displaying a badge on the app icon to show that new messages have arrived.
248 Barcode Detection API API, Landing, Overview, barcode, barcode detection, shape detection
The Barcode Detection API detects linear and two-dimensional barcodes in images.
249 BarcodeDetector Barcode 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.
250 BarcodeDetector() 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.
251 BarcodeDetector.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.
252 BarcodeDetector.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.
253 BaseAudioContext API, 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.
254 BaseAudioContext.audioWorklet API, 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.
255 BaseAudioContext.createAnalyser() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createAnalyser
The createAnalyser() method of the BaseAudioContext interface creates an AnalyserNode, which can be used to expose audio time and frequency data and create data visualisations.
256 BaseAudioContext.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.
257 BaseAudioContext.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
258 BaseAudioContext.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.
259 BaseAudioContext.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.
260 BaseAudioContext.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.
261 BaseAudioContext.createConstantSource() API, Audio, AudioContext, BaseAudioContext, ConstantSourceNode, Media, Method, createConstantSource
The createConstantSource() property of the BaseAudioContext interface creates a ConstantSourceNode object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
262 BaseAudioContext.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.
263 BaseAudioContext.createDelay() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDelay
The createDelay() method of the BaseAudioContext Interface is used to create a DelayNode, which is used to delay the incoming audio signal by a certain amount of time.
264 BaseAudioContext.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.
265 BaseAudioContext.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.
266 BaseAudioContext.createIIRFilter() API, Audio, AudioContext, BaseAudioContext, CreateIIRFilter, Method, Reference, Web Audio API, filter
The createIIRFilter() method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
267 BaseAudioContext.createOscillator() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createOscillator
The createOscillator() method of the BaseAudioContext interface creates an OscillatorNode, a source representing a periodic waveform. It basically generates a constant tone.
268 BaseAudioContext.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.
269 BaseAudioContext.createPeriodicWave() API, Audio, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createPeriodicWave
The createPeriodicWave() method of the BaseAudioContext Interface is used to create a PeriodicWave, which is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
270 BaseAudioContext.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.
271 BaseAudioContext.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.
272 BaseAudioContext.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.
273 BaseAudioContext.currentTime API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, currentTime
The currentTime read-only property of the BaseAudioContext interface returns a double representing an ever-increasing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc. It starts at 0.
274 BaseAudioContext.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.
275 BaseAudioContext.destination API, 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.
276 BaseAudioContext.listener API, 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.
277 BaseAudioContext.onstatechange API, 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.
278 BaseAudioContext.sampleRate API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, sampleRate
The sampleRate property of the BaseAudioContext interface returns a floating point number representing the sample rate, in samples per second, used by all nodes in this audio context.
279 BaseAudioContext.state API, 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.
280 BasicCardRequest API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Dictionary, Payment Method, Payment Request, Payment Request API, Reference, card, payment
The BasicCardRequest dictionary is a JavaScript object-structure that can be used in the Payment Request API. The properties of BasicCardRequest are defined in the Specifications).
281 BasicCardRequest.supportedNetworks API, Basic Card Payment, BasicCardRequest, Experimental, Payment Request, Payment Request API, Property, Reference, supportedNetworks
The supportedNetworks property of the BasicCardRequest dictionary contains an array of DOMStrings representing the card networks that the retailer supports (e.g. amex, mastercard).
282 BasicCardRequest.supportedTypes API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Payment Method, Payment Request, Payment Request API, Property, Reference, payment, supportedTypes
The obsolete supportedTypes property of the BasicCardRequest dictionary can optionally be provided to specify an array of DOMStrings representing the card types that the retailer supports (e.g. credit, debit, prepaid).
283 BasicCardResponse API, Basic Card Payment, BasicCardResponse, Experimental, Interface, Payment Request, Payment Request API, Reference
The BasicCardResponse dictionary (related to the Payment Request API, although defined in the 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.
284 BasicCardResponse.billingAddress API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, billingAddress
The billingAddress property of the BasicCardResponse dictionary contains the billing address of the card used to make the payment.
285 BasicCardResponse.cardholderName API, 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.
286 BasicCardResponse.cardNumber API, Basic Card Request, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardNumber
The cardNumber property of the BasicCardResponse dictionary contains the number of the card used to make the payment.
287 BasicCardResponse.cardSecurityCode API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardSecurityCode
The cardSecurityCode property of the BasicCardResponse dictionary contains the security code of the card used to make the payment.
288 BasicCardResponse.expiryMonth API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryMonth
The expiryMonth property of the BasicCardResponse dictionary contains the expiry month of the card used to make the payment.
289 BasicCardResponse.expiryYear API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryYear
The expiryYear property of the BasicCardResponse dictionary contains the expiry year of the card used to make the payment.
290 Battery Status API API, Apps, Battery, Battery API, Battery Status API, Deprecated, Guide, Mobile, Overview
The Battery Status API, more often referred to as the Battery API, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level or charging status change. This can be used to adjust your app's resource usage to reduce battery drain when the battery is low, or to save changes before the battery runs out in order to prevent data loss.
291 BatteryManager API, Battery API, Deprecated, Device API, Interface, Reference
The BatteryManager interface of the Battery Status API provides information about the system's battery charge level. The navigator.getBattery() method returns a promise that resolves with a BatteryManager interface.
292 BatteryManager.charging API, Battery API, NeedsMarkupWork, Property, Reference
A Boolean value indicating whether or not the device's battery is currently being charged.
293 BatteryManager.chargingTime API, Battery API, Property, Reference
Indicates the amount of time, in seconds, that remain until the battery is fully charged.
294 BatteryManager.dischargingTime API, Battery API, NeedsMarkupWork, Property, Reference
Indicates the amount of time, in seconds, that remains until the battery is fully discharged.
295 BatteryManager.level API, Battery API, NeedsMarkupWork, Property, Reference
Indicates the current battery charge level as a value between 0.0 and 1.0.
296 BatteryManager.onchargingchange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference
Specifies an event listener to receive chargingchange events. These events occur when the battery BatteryManager.charging state is updated.
297 BatteryManager.onchargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference
Specifies an event listener to receive chargingtimechange events. These events occur when the battery BatteryManager.chargingTime is updated.
298 BatteryManager.ondischargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference
Specifies an event listener to receive dischargingtimechange events. These events occur when the battery BatteryManager.dischargingTime is updated.
299 BatteryManager.onlevelchange API, Battery API, Event Handler, Property, Reference
The BatteryManager.onlevelchange property specifies an event listener to receive levelchange events. These events occur when the battery BatteryManager.level is updated.
300 Beacon API Guide, Overview, Web Performance
The Beacon API is used to send an asynchronous and non-blocking request to a web server. The request does not expect a response. Unlike requests made using XMLHttpRequest or the Fetch API, the browser guarantees to initiate beacon requests before the page is unloaded and to run them to completion.
301 BeforeInstallPromptEvent API, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference
This interface inherits from the Event interface.
302 BeforeInstallPromptEvent.prompt() API, BeforeInstallPromptEvent, Experimental, Method, Reference, prompt
The prompt() method of the BeforeInstallPromptEvent interface allows a developer to show the install prompt at a time of their own choosing. 
303 BeforeUnloadEvent API, Reference
The beforeunload event is fired when the window, the document and its resources are about to be unloaded.
304 BiquadFilterNode API, BiquadFilterNode, Interface, Reference, Web Audio API
The BiquadFilterNode interface represents a simple low-order filter, and is created using the BaseAudioContext/createBiquadFilter method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers.
305 BiquadFilterNode() API, Audio, BiquadFilterNode, Constructor, Media, Reference, Web Audio API
The BiquadFilterNode() constructor of the Web Audio API creates a new BiquadFilterNode object, which represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method.
306 BiquadFilterNode.detune API, BiquadFilterNode, Property, Reference, Web Audio API, detune
The detune property of the BiquadFilterNode interface is an a-rate AudioParam representing detuning of the frequency in cents.
307 BiquadFilterNode.frequency API, BiquadFilterNode, Property, Reference, Web Audio API, frequency
The frequency property of the BiquadFilterNode interface Is a a-rate AudioParam, a double representing a frequency in the current filtering algorithm measured in hertz (Hz).
308 BiquadFilterNode.gain API, BiquadFilterNode, Gain, Property, Reference, 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.
309 BiquadFilterNode.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.
310 BiquadFilterNode.Q API, 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.
311 BiquadFilterNode.type API, BiquadFilterNode, Property, Reference, 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.
312 Blob API, 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.
313 Blob.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.
314 Blob() 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.
315 Blob.size API, 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.
316 Blob.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.
317 Blob.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.
318 Blob.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.
319 Blob.type API, 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.
320 BlobBuilder API, DOM, DOM Reference, Deprecated, File API, 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.
321 BlobEvent API, Audio, Blob, Interface, Media, MediaStream Recording, MediaStream Recording API, Recording Media, Reference, Video, events
The BlobEvent interface represents events associated with a Blob. These blobs are typically, but not necessarily,  associated with media content.
322 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.
323 BlobEvent.data API, BlobEvent, DOM, DOM Reference, Experimental, Media Stream Recording, Property, Reference
The BlobEvent.data read-only property represents a Blob associated with the event.
324 BlobEvent.timecode API, BlobEvent, Media, Media Stream Recording, Property, Reference
The timecode readonlyinline property of the BlobEvent interface a DOMHighResTimeStamp indicating the difference between the timestamp of the first chunk in data, and the timestamp of the first chunk in the first BlobEvent produced by this recorder.
325 Bluetooth API, Bluetooth, Experimental, Interface, Reference, Web Bluetooth API
The Bluetooth interface of the Web Bluetooth API returns a Promise to a BluetoothDevice object with the specified options.
326 Bluetooth.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 device has a Bluetooth adapter and false otherwise (unless user configured User Agent not to expose a real value).
327 Bluetooth.getDevices() API, Bluetooth, Reference, Web Bluetooth 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.
328 Bluetooth.onavailabilitychanged API, Bluetooth, Web Bluetooth API
The onavailabilitychanged property of the Bluetooth interface is an event handler that processes availabilitychanged events that fire when the Bluetooth system as a whole becomes available or unavailable to the User Agent.
329 Bluetooth.referringDevice API, 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.
330 Bluetooth.requestDevice() API, Bluetooth, Method, Reference, Web Bluetooth API, requestDevice
The Bluetooth.requestDevice() method of the Bluetooth interface returns a Promise to a BluetoothDevice object with the specified options. If there is no chooser UI, this method returns the first device matching the criteria.
331 BluetoothCharacteristicProperties API, 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.
332 BluetoothCharacteristicProperties.authenticatedSignedWrites API, 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.
333 BluetoothCharacteristicProperties.broadcast API, 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.
334 BluetoothCharacteristicProperties.indicate API, 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.
335 BluetoothCharacteristicProperties.notify API, 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.
336 BluetoothCharacteristicProperties.read API, 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.
337 BluetoothCharacteristicProperties.reliableWrite API, 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.
338 BluetoothCharacteristicProperties.writableAuxiliaries API, 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.
339 BluetoothCharacteristicProperties.write API, 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.
340 BluetoothCharacteristicProperties.writeWithoutResponse API, 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.
341 BluetoothDevice API, Bluetooth, BluetoothDevice, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothDevice interface of the Web Bluetooth API represents a Bluetooth device inside a particular script execution environment.
342 BluetoothDevice.gatt API, BluetoothDevice, Experimental, GATT server, Property, Reference
The BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer.
343 BluetoothDevice.id API, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, id
The BluetoothDevice.id read-only property returns a DOMString that uniquely identifies a device.
344 BluetoothDevice.name API, Bluetooth, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, name
The BluetoothDevice.name read-only property returns a DOMString that provides a human-readable name for the device.
345 BluetoothRemoteGATTCharacteristic API, Bluetooth, BluetoothGattCharacteristic, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGattCharacteristic interface of the Web Bluetooth API represents a GATT Characteristic, which is a basic data element that provides further information about a peripheral’s service.
346 BluetoothRemoteGATTCharacteristic.getDescriptor() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptor()
The BluetoothRemoteGATTCharacteristic.getDescriptor() method returns a Promise that resolves to the first BluetoothRemoteGATTDescriptor for a given descriptor UUID.
347 BluetoothRemoteGATTCharacteristic.getDescriptors() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptors()
The BluetoothRemoteGATTCharacteristic.getDescriptors() method returns a Promise that resolves to an Array of all BluetoothRemoteGATTDescriptor objects for a given descriptor UUID. 
348 BluetoothRemoteGATTCharacteristic.properties API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, properties
The BluetoothRemoteGATTCharacteristic.properties read-only property returns a BluetoothCharacteristicProperties instance containing the properties of this characteristic.
349 BluetoothRemoteGATTCharacteristic.readValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, readValue
The BluetoothRemoteGATTCharacteristic.readValue() method returns a Promise that resolves to a DataView holding a duplicate of the value property if it is available and supported. Otherwise it throws an error.
350 BluetoothRemoteGATTCharacteristic.service API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API
The BluetoothRemoteGATTCharacteristic.service read-only property returns the BluetoothRemoteGATTService this characteristic belongs to.
351 BluetoothRemoteGATTCharacteristic.startNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, startNotifications()
The BluetoothRemoteGATTCharacteristic.startNotifications() method returns a Promise to the BluetoothRemoteGATTCharacteristic instance when there is an active notification on it.
352 BluetoothRemoteGATTCharacteristic.stopNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, stopNotifications
The BluetoothRemoteGATTCharacteristic.stopNotifications() method returns a Promise to the BluetoothRemoteGATTCharacteristic instance when there is no longer an active notification on it.
353 BluetoothRemoteGATTCharacteristic.uuid API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API, uuid
The BluetoothRemoteGATTCharacteristic.uuid read-only property returns DOMString containing the UUID of the characteristic, for example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement characteristic.
354 BluetoothRemoteGATTCharacteristic.value API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, value
The BluetoothRemoteGATTCharacteristic.value read-only property returns currently cached characteristic value. This value gets updated when the value of the characteristic is read or updated via a notification or indication.
355 BluetoothRemoteGATTCharacteristic.writeValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValue
Use BluetoothRemoteGATTCharacteristic.writeValueWithResponse() and BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse() instead.
356 BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValueWithoutResponse
The BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse() method sets a BluetoothRemoteGATTCharacteristic object’s value property to the bytes contained in a given ArrayBuffer, calls WriteCharacteristicValue(this=this, value=value, response="never"), and returns the resulting Promise.
357 BluetoothRemoteGATTCharacteristic.writeValueWithResponse() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValueWithResponse
TheBluetoothRemoteGATTCharacteristic.writeValueWithResponse() method sets a BluetoothRemoteGATTCharacteristic object’s value property to the bytes contained in a given ArrayBuffer, calls WriteCharacteristicValue(this=this, value=value, response="required"), and returns the resulting Promise.
358 BluetoothRemoteGATTDescriptor API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTDescriptor interface of the Web Bluetooth API provides a GATT Descriptor, which provides further information about a characteristic’s value.
359 BluetoothRemoteGATTDescriptor.characteristic API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API, characteristic
The BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to.
360 BluetoothRemoteGATTDescriptor.readValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Method, Reference, Web Bluetooth API, readValue()
The BluetoothRemoteGATTDescriptor.readValue() method returns a Promise that resolves to an ArrayBuffer holding a duplicate  of the value property if it is available and supported. Otherwise it throws an error.
361 BluetoothRemoteGATTDescriptor.uuid API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, uuid
The BluetoothRemoteGATTDescriptor.uuid read-only property returns the UUID of the characteristic descriptor, for example '00002902-0000-1000-8000-00805f9b34fb' for theClient Characteristic Configuration descriptor.
362 BluetoothRemoteGATTDescriptor.value API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, value
The BluetoothRemoteGATTDescriptor.value read-only property returns an ArrayBuffer containing the currently cached descriptor value. This value gets updated when the value of the descriptor is read.
363 BluetoothRemoteGATTDescriptor.writeValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, writeValue()
The BluetoothRemoteGATTDescriptor.writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise.
364 BluetoothRemoteGATTServer API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTServer interface of the Web Bluetooth API represents a GATT Server on a remote device.
365 BluetoothRemoteGATTServer.connect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, connect()
The BluetoothRemoteGATTServer.connect() method causes the script execution environment to connect to this.device.
366 BluetoothRemoteGATTServer.connected API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Property, Reference, Web Bluetooth API
The BluetoothRemoteGATTServer.connected read-only property returns a boolean value that returns true while this script execution environment is connected to this.device. It can be false while the user agent is physically connected.
367 BluetoothRemoteGATTServer.device API, Bluethooth, BluetoothRemoteGATTServer, Experimental, Property, Reference
The BluetoothRemoteGATTServer.device read-only property returns a reference to the BluetoothDevice running the server.
368 BluetoothRemoteGATTServer.disconnect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, disconnect()
The BluetoothRemoteGATTServer.disconnect() method causes the script execution environment to disconnect from this.device.
369 BluetoothRemoteGATTServer.getPrimaryService() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryService()
The BluetoothRemoteGATTServer.getPrimaryService() method returns a promise to the primary BluetoothRemoteGATTService offered by the bluetooth device for a specified BluetoothServiceUUID.
370 BluetoothRemoteGATTServer.getPrimaryServices() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryServices()
The BluetoothRemoteGATTServer.getPrimaryServices() method returns a promise to a list of primary BluetoothRemoteGATTService objects offered by the bluetooth device for a specified BluetoothServiceUUID.
371 BluetoothRemoteGATTService API, Bluetooth, BluetoothGattService, BluetoothRemoteGATTService, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothRemoteGATTService interface of the Web Bluetooth API represents a service provided by a GATT server, including a device, a list of referenced services, and a list of the characteristics of this service.
372 BluetoothRemoteGATTService.device API, Bluetooth, BluetoothRemoteGATTService, Device, Experimental, Property, Reference, Web Bluetooth API
The BluetoothGATTService.device read-only property returns information about a Bluetooth device through an instance of BluetoothDevice.
373 BluetoothRemoteGATTService.getCharacteristic() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristic()
The BluetoothGATTService.getCharacteristic() method returns a Promise to an instance of BluetoothRemoteGATTCharacteristic for a given universally unique identifier (UUID). 
374 BluetoothRemoteGATTService.getCharacteristics() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristics()
The BluetoothGATTService.getCharacteristics() method returns a Promise to a list of BluetoothRemoteGATTCharacteristic instances for a given universally unique identifier (UUID). 
375 BluetoothRemoteGATTService.isPrimary API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, isPrimary
The BluetoothGATTService.isPrimary read-only property returns a Boolean that indicates whether this is a primary service. If it is not a primary service, it is a secondary service.
376 BluetoothRemoteGATTService.uuid API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, uuid
The BluetoothGATTService.uuid read-only property returns a DOMString representing the UUID of this service.
377 Broadcast Channel API API, 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.
378 BroadcastChannel API, Broadcast Channel API, Experimental, HTML API, Interface, Reference
The BroadcastChannel interface represents a named channel that any browsing context of a given origin can subscribe to. It allows communication between different documents (in different windows, tabs, frames or iframes) of the same origin. Messages are broadcasted via a message event fired at all BroadcastChannel objects listening to the channel.
379 BroadcastChannel() API, Broadcast Channel API, BroadcastChannel, Constructor, Experimental, HTML API, Reference
The BroadcastChannel() constructor creates a new BroadcastChannel and connects it to the underlying channel.
380 BroadcastChannel.close() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
The BroadcastChannel.close() terminates the connection to the underlying channel, allowing the object to be garbage collected. This is a necessary step to perform as there is no other way for a browser to know that this channel is not needed anymore.
381 BroadcastChannel: message event Communication, Event, EventSource, Reference, message, messaging
The message event is fired on a BroadcastChannel object when a message arrives on that channel.
382 BroadcastChannel: messageerror event Event
The messageerror event is fired on a BroadcastChannel object when a message arrives on the channel that can't be deserialized.
383 BroadcastChannel.name Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Property, Read-only, Reference
The read-only BroadcastChannel.name property returns a DOMString, which uniquely identifies the given channel with its name. This name is passed to the BroadcastChannel.BroadCastChannel constructor at creation time and is therefore read-only.
384 BroadcastChannel.onmessage API, Broadcast Channel API, BroadcastChannel, Event Handler, Experimental, HTML API, Property, Reference
The BroadcastChannel.onmessage event handler is a property that specifies the function to execute when a message event, of type MessageEvent, is received by this BroadcastChannel. Such an event is sent by the browser with a message broadcasted to the channel.
385 BroadcastChannel.onmessageerror API, BroadcastChannel, Event Handler, Property, Reference, onmessageerror
The onmessageerror event handler of the BroadcastChannel interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the BroadcastChannel instance — that is, when it receives a message that cannot be Deserialization.
386 BroadcastChannel.postMessage() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
The BroadcastChannel.postMessage() sends a message, which can be of any kind of Object, to each listener in any browsing context with the same origin. The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel.
387 BufferSource API, Interface, JavaScript, Reference, Typed Arrays
BufferSource is a typedef used to represent objects that are either themselves an ArrayBuffer, or which are a TypedArray providing an ArrayBufferView.
388 ByteLengthQueuingStrategy API, 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.
389 ByteLengthQueuingStrategy() API, ByteLengthQueuingStrategy, Constructor, Experimental, Reference, Streams
The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy object instance.
390 ByteLengthQueuingStrategy.size() API, ByteLengthQueuingStrategy, Experimental, Method, Reference, Streams, size
The size() method of the ByteLengthQueuingStrategy interface returns the given chunk’s byteLength property.
391 ByteString API, 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 interchangeably, such as HTTP.
392 Cache API, Cache, Cache API, Experimental, Interface, Offline, Reference, Service Workers, Service worker API, Storage
The Cache interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory. How long a Cache lives is browser dependent, but a single origin's scripts can typically rely on the presence of a previously populated Cache. 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.
393 Cache.add() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker
The add() method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache. 
394 Cache.addAll() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, addAll
The addAll() method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache. The request objects created during retrieval become keys to the stored response operations. 
395 Cache.delete() API, Cache, Experimental, Method, NeedsContent, NeedsExample, Reference, Service Workers, ServiceWorker, delete
The delete() method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to true. If no Cache entry is found, it resolves to false.
396 Cache.keys() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, keys
The keys() method of the Cache interface returns a Promise that resolves to an array of Cache keys.
397 Cache.match() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
The match() method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object. If no match is found, the Promise resolves to undefined.
398 Cache.matchAll() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, matchAll
The matchAll() method of the Cache interface returns a Promise that resolves to an array of all matching responses in the Cache object.
399 Cache.put() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, put
The put() method of the Cache interface allows key/value pairs to be added to the current Cache object.
400 CacheStorage API, CacheStorage, Experimental, Interface, Reference, Service Workers, ServiceWorker
The CacheStorage interface represents the storage for Cache objects.
401 CacheStorage.delete() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, delete
The delete() method of the CacheStorage interface finds the Cache object matching the cacheName, and if found, deletes the Cache object and returns a Promise that resolves to true. If no Cache object is found, it resolves to false.
402 CacheStorage.has() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, has
The has() method of the CacheStorage interface returns a Promise that resolves to true if a Cache object matches the cacheName.
403 CacheStorage.keys() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, keys
The keys() method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created. Use this method to iterate over a list of all Cache objects.
404 CacheStorage.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.
405 CacheStorage.open() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, open
The open() method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the cacheName.
406 Canvas API API, 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.
407 A basic ray-caster Advanced, 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.

408 Manipulating video using canvas API, 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.

409 Canvas tutorial Canvas, 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.

410 Advanced animations Canvas, 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.

411 Applying styles and colors Canvas, 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.

412 Basic animations Canvas, 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.

413 Basic usage of canvas Canvas, 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.

414 Compositing and clipping Canvas, 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 behavior by setting the globalCompositeOperation property. In addition, the clip property allows us to hide unwanted parts of shapes.

415 Compositing example Canvas, Example, Graphics, HTML, HTML5, Tutorial
This sample program demonstrates a number of compositing operations. The output looks like this:
416 Drawing shapes with canvas Canvas, 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.

417 Drawing text Canvas, 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.

418 Finale Canvas, Graphics, Tutorial

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

419 Hit regions and accessibility Canvas, 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.
420 Optimizing canvas Advanced, 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.

421 Pixel manipulation with canvas Canvas, 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.

422 Transformations Canvas, 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.
423 Using images Advanced, 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!

424 CanvasCaptureMediaStreamTrack CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Interface, Media, Media Capture, Reference, Web
The CanvasCaptureMediaStreamTrack interface represents the video track contained in a MediaStream being generated from a canvas following a call to HTMLCanvasElement.captureStream().
425 CanvasCaptureMediaStreamTrack.canvas Canvas, CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Media Capture, Property, Read-only, Reference, Web
The CanvasCaptureMediaStreamTrack canvas read-only property returns the HTMLCanvasElement from which frames are being captured.
426 CanvasCaptureMediaStreamTrack.requestFrame() Canvas, CanvasCaptureMediaStream, DOM, Experimental, Frame Capture, Media, Method, Reference, requestFrame
The CanvasCaptureMediaStreamTrack method requestFrame() requests that a frame be captured from the canvas and sent to the stream.
427 CanvasGradient API, Canvas, CanvasGradient, Gradients, Interface, Reference
The CanvasGradient interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient(), CanvasRenderingContext2D.createConicGradient() or CanvasRenderingContext2D.createRadialGradient().
428 CanvasGradient.addColorStop() API, Canvas, CanvasGradient, Gradients, Method, Reference
The CanvasGradient.addColorStop() method adds a new color stop, defined by an offset and a color, to a given canvas gradient.
429 CanvasImageSource API, Canvas, Helper, Reference
CanvasImageSource provides a mechanism for other interfaces to be used as image sources for some methods of the CanvasDrawImage and CanvasFillStrokeStyles interfaces. It’s just an internal helper type to simplify the specification. It’s not an interface and there are no objects implementing it.
430 CanvasPattern API, Canvas, Interface, Reference
The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
431 CanvasPattern.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.
432 CanvasRenderingContext2D API, Canvas, CanvasRenderingContext2D, Games, Graphics, Reference
The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a canvas element. It is used for drawing shapes, text, images, and other objects.
433 CanvasRenderingContext2D.addHitRegion() API, Canvas, CanvasRenderingContext2D, Deprecated, Experimental, Method, Reference
The CanvasRenderingContext2D method addHitRegion() adds a hit region to the bitmap.
434 CanvasRenderingContext2D.arc() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.arc() method of the Canvas 2D API adds a circular arc to the current sub-path.
435 CanvasRenderingContext2D.arcTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.arcTo() method of the Canvas 2D API adds a circular arc to the current sub-path, using the given control points and radius. The arc is automatically connected to the path's latest point with a straight line, if necessary for the specified parameters.
436 CanvasRenderingContext2D.beginPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.beginPath() method of the Canvas 2D API starts a new path by emptying the list of sub-paths. Call this method when you want to create a new path.
437 CanvasRenderingContext2D.bezierCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.bezierCurveTo() method of the Canvas 2D API adds a cubic Bézier curve to the current sub-path. It requires three points: the first two are control points and the third one is the end point. The starting point is the latest point in the current path, which can be changed using CanvasRenderingContext2D.moveTo before creating the Bézier curve.
438 CanvasRenderingContext2D.canvas API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.canvas property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated canvas element.
439 CanvasRenderingContext2D.clearHitRegions() API, Canvas, CanvasRenderingContext2D, Deprecated, Experimental, Method, Reference
The CanvasRenderingContext2D method clearHitRegions() removes all hit regions from the canvas.
440 CanvasRenderingContext2D.clearRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.clearRect() method of the Canvas 2D API erases the pixels in a rectangular area by setting them to transparent black.
441 CanvasRenderingContext2D.clip() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.clip() method of the Canvas 2D API turns the current or given path into the current clipping region. The previous clipping region, if any, is intersected with the current or given path to create the new clipping region.
442 CanvasRenderingContext2D.closePath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.closePath() method of the Canvas 2D API attempts to add a straight line from the current point to the start of the current sub-path. If the shape has already been closed or has only one point, this function does nothing.
443 CanvasRenderingContext2D.createConicGradient() API, Canvas, CanvasRenderingContext2D, Conic, Gradients, Method, Reference
The CanvasRenderingContext2D.createConicGradient() method of the Canvas 2D API creates a gradient around a point with given coordinates.
444 CanvasRenderingContext2D.createImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.createImageData() method of the Canvas 2D API creates a new, blank ImageData object with the specified dimensions. All of the pixels in the new object are transparent black.
445 CanvasRenderingContext2D.createLinearGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
The CanvasRenderingContext2D.createLinearGradient() method of the Canvas 2D API creates a gradient along the line connecting two given coordinates.
446 CanvasRenderingContext2D.createPattern() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.createPattern() method of the Canvas 2D API creates a pattern using the specified image and repetition. This method returns a CanvasPattern.
447 CanvasRenderingContext2D.createRadialGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
The CanvasRenderingContext2D.createRadialGradient() method of the Canvas 2D API creates a radial gradient using the size and coordinates of two circles.
448 CanvasRenderingContext2D.currentTransform API, Canvas, CanvasRenderingContext2D, Deprecated, 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.
449 CanvasRenderingContext2D.direction API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
The CanvasRenderingContext2D.direction property of the Canvas 2D API specifies the current text direction used to draw text.
450 CanvasRenderingContext2D.drawFocusIfNeeded() API, Accessibility, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.drawFocusIfNeeded() method of the Canvas 2D API draws a focus ring around the current or given path, if the specified element is focused.
451 CanvasRenderingContext2D.drawImage() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.drawImage() method of the Canvas 2D API provides different ways to draw an image onto the canvas.
452 CanvasRenderingContext2D.drawWidgetAsOnScreen() API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The non-standard and internal only CanvasRenderingContext2D.drawWidgetAsOnScreen() method of the Canvas 2D API renders the root widget of a window into the canvas. Unlike CanvasRenderingContext2D.drawWindow, this API uses the operating system to snapshot the widget on-screen, rather than reading from Gecko's own compositor.
453 CanvasRenderingContext2D.drawWindow() API, Canvas, CanvasRenderingContext2D, Deprecated, 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.
454 CanvasRenderingContext2D.ellipse() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.ellipse() method of the Canvas 2D API adds an elliptical arc to the current sub-path.
455 CanvasRenderingContext2D.fill() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.fill() method of the Canvas 2D API fills the current or given path with the current CanvasRenderingContext2D.fillStyle.
456 CanvasRenderingContext2D.fillRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.fillRect() method of the Canvas 2D API draws a rectangle that is filled according to the current CanvasRenderingContext2D.fillStyle.
457 CanvasRenderingContext2D.fillStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.fillStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use inside shapes. The default style is #000 (black).
458 CanvasRenderingContext2D.fillText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Fill Text, Filling Text, Method, Reference, Text, fillText
The CanvasRenderingContext2D method fillText(), part of the Canvas 2D API, draws a text string at the specified coordinates, filling the string's characters with the current 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.
459 CanvasRenderingContext2D.filter API, Canvas, CanvasRenderingContext2D, Experimental, Property
The CanvasRenderingContext2D.filter property of the Canvas 2D API provides filter effects such as blurring and grayscaling. It is similar to the CSS filter property and accepts the same values.
460 CanvasRenderingContext2D.font API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.font property of the Canvas 2D API specifies the current text style to use when drawing text. This string uses the same syntax as the CSS font specifier.
461 CanvasRenderingContext2D.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.
462 CanvasRenderingContext2D.getImageData() API, Canvas, Canvas API, CanvasRenderingContext2D, Cut, Graphics, Image, ImageData, Method, Reference, copy, getImageData, img
The CanvasRenderingContext2D method getImageData() of the Canvas 2D API returns an ImageData object representing the underlying pixel data for a specified portion of the canvas.
463 CanvasRenderingContext2D.getLineDash() API, Canvas, CanvasRenderingContext2D, Method, Reference
The getLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface gets the current line dash pattern.
464 CanvasRenderingContext2D.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.
465 CanvasRenderingContext2D.globalAlpha API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.globalAlpha property of the Canvas 2D API specifies the alpha (transparency) value that is applied to shapes and images before they are drawn onto the canvas.
466 CanvasRenderingContext2D.globalCompositeOperation API, Blending, Canvas, CanvasRenderingContext2D, Compositing, Property, Reference
The CanvasRenderingContext2D.globalCompositeOperation property of the Canvas 2D API sets the type of compositing operation to apply when drawing new shapes.
467 CanvasRenderingContext2D.imageSmoothingEnabled API, Canvas, CanvasRenderingContext2D, Property, Reference
The imageSmoothingEnabled property of the CanvasRenderingContext2D interface, part of the Canvas API, determines whether scaled images are smoothed (true, default) or not (false). On getting the imageSmoothingEnabled property, the last value it was set to is returned.
468 CanvasRenderingContext2D.imageSmoothingQuality API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference, imageSmoothingQuality
The imageSmoothingQuality property of the CanvasRenderingContext2D interface, part of the Canvas API, lets you set the quality of image smoothing.
469 CanvasRenderingContext2D.isPointInPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.isPointInPath() method of the Canvas 2D API reports whether or not the specified point is contained in the current path.
470 CanvasRenderingContext2D.isPointInStroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.isPointInStroke() method of the Canvas 2D API reports whether or not the specified point is inside the area contained by the stroking of a path.
471 CanvasRenderingContext2D.lineCap API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineCap property of the Canvas 2D API determines the shape used to draw the end points of lines.
472 CanvasRenderingContext2D.lineDashOffset API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineDashOffset property of the Canvas 2D API sets the line dash offset, or "phase."
473 CanvasRenderingContext2D.lineJoin API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineJoin property of the Canvas 2D API determines the shape used to join two line segments where they meet.
474 CanvasRenderingContext2D.lineTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D method lineTo(), part of the Canvas 2D API, adds a straight line to the current sub-path by connecting the sub-path's last point to the specified (x, y) coordinates.
475 CanvasRenderingContext2D.lineWidth API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.lineWidth property of the Canvas 2D API sets the thickness of lines.
476 CanvasRenderingContext2D.measureText() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.measureText() method returns a TextMetrics object that contains information about the measured text (such as its width, for example).
477 CanvasRenderingContext2D.miterLimit API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio.
478 CanvasRenderingContext2D.moveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.moveTo() method of the Canvas 2D API begins a new sub-path at the point specified by the given (x, y) coordinates.
479 CanvasRenderingContext2D.putImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.putImageData() method of the Canvas 2D API paints data from the given ImageData object onto the canvas. If a dirty rectangle is provided, only the pixels from that rectangle are painted. This method is not affected by the canvas transformation matrix.
480 CanvasRenderingContext2D.quadraticCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.quadraticCurveTo() method of the Canvas 2D API adds a quadratic Bézier curve to the current sub-path. It requires two points: the first one is a control point and the second one is the end point. The starting point is the latest point in the current path, which can be changed using CanvasRenderingContext2D.moveTo before creating the quadratic Bézier curve.
481 CanvasRenderingContext2D.rect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rect() method of the Canvas 2D API adds a rectangle to the current path.
482 CanvasRenderingContext2D.removeHitRegion() API, Canvas, CanvasRenderingContext2D, Deprecated, Experimental, Method, Reference
The CanvasRenderingContext2D method removeHitRegion() removes a given hit region from the canvas.
483 CanvasRenderingContext2D.resetTransform() Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.resetTransform() method of the Canvas 2D API resets the current transform to the identity matrix.
484 CanvasRenderingContext2D.restore() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.restore() method of the Canvas 2D API restores the most recently saved canvas state by popping the top entry in the drawing state stack. If there is no saved state, this method does nothing.
485 CanvasRenderingContext2D.rotate() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.rotate() method of the Canvas 2D API adds a rotation to the transformation matrix.
486 CanvasRenderingContext2D.save() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.save() method of the Canvas 2D API saves the entire state of the canvas by pushing the current state onto a stack.
487 CanvasRenderingContext2D.scale() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.scale() method of the Canvas 2D API adds a scaling transformation to the canvas units horizontally and/or vertically.
488 CanvasRenderingContext2D.scrollPathIntoView() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
The CanvasRenderingContext2D.scrollPathIntoView() method of the Canvas 2D API scrolls the current or given path into view. It is similar to Element.scrollIntoView().
489 CanvasRenderingContext2D.setLineDash() API, Canvas, CanvasRenderingContext2D, Dashes, LInes, Method, Reference, patterns, setLineDash
The setLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface sets the line dash pattern used when stroking lines. It uses an array of values that specify alternating lengths of lines and gaps which describe the pattern.
490 CanvasRenderingContext2D.setTransform() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.setTransform() method of the Canvas 2D API resets (overrides) the current transformation to the identity matrix, and then invokes a transformation described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
491 CanvasRenderingContext2D.shadowBlur API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowBlur property of the Canvas 2D API specifies the amount of blur applied to shadows. The default is 0 (no blur).
492 CanvasRenderingContext2D.shadowColor API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowColor property of the Canvas 2D API specifies the color of shadows.
493 CanvasRenderingContext2D.shadowOffsetX API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetX property of the Canvas 2D API specifies the distance that shadows will be offset horizontally.
494 CanvasRenderingContext2D.shadowOffsetY API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.shadowOffsetY property of the Canvas 2D API specifies the distance that shadows will be offset vertically.
495 CanvasRenderingContext2D.stroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.stroke() method of the Canvas 2D API strokes (outlines) the current or given path with the current stroke style.
496 CanvasRenderingContext2D.strokeRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.strokeRect() method of the Canvas 2D API draws a rectangle that is stroked (outlined) according to the current CanvasRenderingContext2D.strokeStyle and other context settings.
497 CanvasRenderingContext2D.strokeStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.strokeStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use for the strokes (outlines) around shapes. The default is #000 (black).
498 CanvasRenderingContext2D.strokeText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Method, Reference, Stroke String, Stroking Text, strokeText
The CanvasRenderingContext2D method strokeText(), part of the Canvas 2D API, strokes — that is, draws the outlines of — the characters of a text string at the specified coordinates. An optional parameter allows specifying a maximum width for the rendered text, which the user agent will achieve by condensing the text or by using a lower font size.
499 CanvasRenderingContext2D.textAlign API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textAlign property of the Canvas 2D API specifies the current text alignment used when drawing text.
500 CanvasRenderingContext2D.textBaseline API, Canvas, CanvasRenderingContext2D, Property, Reference
The CanvasRenderingContext2D.textBaseline property of the Canvas 2D API specifies the current text baseline used when drawing text.
501 CanvasRenderingContext2D.transform() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.transform() method of the Canvas 2D API multiplies the current transformation with the matrix described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
502 CanvasRenderingContext2D.translate() API, Canvas, CanvasRenderingContext2D, Method, Reference
The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation to the current matrix.
503 CaretPosition API, CSSOM View, Experimental, Interface, Reference
The CaretPosition interface represents the caret position, an indicator for the text insertion point. You can get a CaretPosition using the Document.caretPositionFromPoint() method.
504 CDATASection API, CDATASection, DOM, Interface, Reference
The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section.
505 Channel Messaging API API, Channel messaging, HTML API, Overview, Reference
The Channel Messaging API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, two documents via a SharedWorker, or two workers) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
506 Using channel messaging API, Channel messaging, HTML5, MessageChannel, MessagePort, Tutorial
The Channel Messaging API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, or two documents via a SharedWorker) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
507 ChannelMergerNode API, ChannelMergerNode, Interface, Reference, Web Audio API
The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
508 ChannelMergerNode() API, Audio, ChannelMergerNode, Constructor, Reference, Web Audio API
The ChannelMergerNode() constructor creates a new ChannelMergerNode object instance.
509 ChannelSplitterNode API, Audio, ChannelSplitterNode, Interface, Reference, Splitter, Web Audio, Web Audio API
The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
510 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.
511 CharacterData API, DOM, Interface, Node
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any objects of type CharacterData: it is implemented by other interfaces like Text, Comment, or ProcessingInstruction, which aren't abstract.
512 CharacterData.after() API, DOM, Method, Node, Reference
The CharacterData.after() method inserts a set of Node or DOMString objects in the children list of the CharacterData's parent, just after the CharacterData. DOMString objects are inserted as equivalent Text nodes.
513 CharacterData.appendData() API, CharacterData, DOM, Method, Node, Reference
The appendData() method of the CharacterData interface adds the provided data to the end of the Node's current data.
514 CharacterData.before() API, DOM, Method, Node, Reference
The CharacterData.before() method inserts a set of Node or DOMString objects in the children list of the CharacterData's parent, just before the CharacterData. DOMString objects are inserted as equivalent Text nodes.
515 CharacterData.data API, CharacterData, DOM, Method, Node, Reference
The data property of the CharacterData interface returns or sets the value of the current CharacterData Node's data.
516 CharacterData.deleteData() API, CharacterData, DOM, Method, Node, Reference
The deleteData() method of the CharacterData interface removes all data from this CharacterData Node, leaving it empty.
517 CharacterData.insertData() API, CharacterData, DOM, Method, Node, Reference
The insertData() method of the CharacterData interface inserts the provided data into this CharacterData Node's current data, at the provided offset from the start of the existing data. The provided data is spliced into the existing data.
518 CharacterData.length API, CharacterData, DOM, Method, Node, Reference
The CharacterData.length property returns the number of characters in the contained data, as a positive integer.
519 CharacterData.remove() API, CharacterData, DOM, Method
The CharacterData.remove() method removes text.
520 CharacterData.replaceData() API, CharacterData, DOM, Method, Node, Reference
The replaceData() of the CharacterData interface is similar to insertData(), but replaceData() allows overwriting of a certain number of bytes.
521 CharacterData.replaceWith() API, CharacterData, DOM, Method, Reference
The CharacterData.replaceWith() method replaces characters in the children list of its parent with a set of Node or DOMString objects. DOMString objects are inserted as equivalent Text nodes.
522 CharacterData.substringData() API, CharacterData, DOM, Method, Node, Reference
The substringData() method of the CharacterData interface returns a portion of the existing data, starting at the specified index and extending for a given number of characters afterwards.
523 Client API, Client, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorkerClient, ServiceWorkers
The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll and Clients.get.
524 Client.frameType API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, frameType
The frameType read-only property of the Client interface indicates the type of browsing context of the current Client. This value can be one of "auxiliary""top-level""nested", or "none".
525 Client.id API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, id
The id read-only property of the Client interface returns the universally unique identifier of the Client object.
526 Client.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.
527 Client.type API, Client, Property, Reference, Service Workers, Type
The type read-only property of the Client interface indicates the type of client the service worker is controlling.
528 Client.url API, Client, Experimental, Property, Reference, Service Workers, URL
The url read-only property of the Client interface returns the URL of the current service worker client.
529 Clients API, 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.
530 Clients.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.
531 Clients.get() API, Clients, Experimental, Method, Reference, Service Workers, get
The get() method of the Clients interface gets a service worker client matching a given id and returns it in a Promise.
532 Clients.matchAll() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker
The matchAll() method of the Clients interface returns a Promise for a list of service worker Client objects. Include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker.
533 Clients.openWindow() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, openWindow
The openWindow() method of the Clients interface creates a new top level browsing context and loads a given URL. If the calling script doesn't have permission to show popups, openWindow() will throw an InvalidAccessError.
534 Clipboard API API, 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.
535 Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Interface, Pasteboard, Reference, copy, paste
The Clipboard interface implements the Clipboard API, providing—if the user grants permission—both read and write access to the contents of the system clipboard.
536 Clipboard.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.
537 Clipboard.readText() API, Async Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Method, Pasteboard, Reference, Text, copy, paste, readText
The Clipboard interface's readText() method returns a Promise which resolves with a copy of the textual contents of the system clipboard.
538 Clipboard.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.
539 Clipboard.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.
540 ClipboardEvent API, 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.
541 ClipboardEvent.clipboardData API, Clipboard, Clipboard API, ClipboardEvent, Cut, Experimental, Property, Read-only, copy, paste
The ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:
542 ClipboardEvent() 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.
543 ClipboardItem API, 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.
544 ClipboardItem() 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.
545 ClipboardItem.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.
546 ClipboardItem.presentationStyle API, Clipboard, Clipboard API, ClipboardItem, Cut, Property, Read-only, Reference, copy, paste, presentationStyle
The read-only presentationStyle property of the ClipboardItem interface returns a String indicating how an item should be presented.
547 ClipboardItem.types API, 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
548 CloseEvent API, Interface, Reference, Web, WebSocket, WebSockets
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
549 CloseEvent() API, CloseEvent, Constructor, Reference
The CloseEvent() constructor creates a new CloseEvent.
550 CloseEvent.initCloseEvent() API, CloseEvent, Deprecated, Method, Reference, initCloseEvent
The CloseEvent.initCloseEvent() method initializes the value of a close event once it's been created (normally using the Document.createEvent() method).
551 Comment API, 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.
552 Comment() API, Comment, Constructor, DOM
The Comment() constructor returns a newly created Comment object with the optional DOMString given in parameter as its textual content.
553 CompositionEvent API, CompositionEvent, DOM, Event, Reference
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
554 CompositionEvent() API, CompositionEvent, Constructor, Reference
The CompositionEvent() constructor creates a new CompositionEvent object instance.
555 CompositionEvent.data API, CompositionEvent, Property, Reference, data
The data read-only property of the CompositionEvent interface returns the characters generated by the input method that raised the event; its exact nature varies depending on the type of event that generated the CompositionEvent object.
556 CompositionEvent.initCompositionEvent() API, CompositionEvent, Deprecated, Method, Reference, initCompositionEvent
The initCompositionEvent() method of the CompositionEvent interface initializes the attributes of a CompositionEvent object instance.
557 CompositionEvent.locale API, CompositionEvent, Deprecated, Locale, Property, Reference
The locale read-only property of the CompositionEvent interface returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with IME).
558 Compression Streams API API, Compression, Compression_Streams_API, Decompression, Overview, Reference
The Compression Streams API provides a JavaScript API for compressing and decompressing streams of data using the gzip or deflate formats.
559 CompressionStream API, CompressionStream, Interface, Reference
The CompressionStream interface of the Compression Streams API is an API for compressing a stream of data.
560 CompressionStream() API, CompressionStream, Constructor, Reference
The CompressionStream() constructor creates a new CompressionStream object which compresses a stream of data.
561 CompressionStream.readable API, CompressionStream, Property, Reference, readable
The readable read-only property of the CompressionStream interface returns a ReadableStream.
562 CompressionStream.writable API, CompressionStream, Property, Reference, writable
The writable read-only property of the CompressionStream interface returns a WritableStream.
563 Console API API, 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.
564 console API, Debugging, Interface, Reference, 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.
565 console.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.
566 console.clear() API, Debugging, Method, Reference, console, web console
The console.clear() method clears the console if the environment allows it.
567 console.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.
568 console.countReset() API, DOM, Debugging, Method, Reference, Web Development, console, web console
The console.countReset() method resets counter used with console.count().
569 console.debug() API, Debug, Debugging, Developer Tools, Logging, Method, Reference, console, log, output, print
The console.debug() method 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. In most cases, the log level is configured within the console UI. This log level might correspond to the `Debug` or `Verbose` log level.
570 console.dir() API, DOM, Debugging, Method, Reference, Web Development, console, web console
The method console.dir() displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.
571 console.dirxml() API, DOM, Debugging, Method, Web Development, web console
The console.dirxml() method 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.
572 console.error() API, DOM, Debugging, Method, Web Development, web console
The console.error() method outputs an error message to the Web console.
573 console.group() API, DOM, Debugging, Method, Web Development, web console
The console.group() method creates a new inline group in the Web console log. This indents following console messages by an additional level, until console.groupEnd() is called.
574 console.groupCollapsed() API, DOM, DOM Reference, Debugging, Method, Reference, Web Development, web console
The console.groupCollapsed() method 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.
575 console.groupEnd() API, DOM, Debugging, Method, Web Development, web console
The console.groupEnd() method exits the current inline group in the Web console. See Using groups in the console in the console documentation for details and examples.
576 console.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.
577 console.log() API, DOM, Debugging, HTML-tree, Method, Reference, Web Development, console.log(), difference, web console
The console.log() method outputs a message to the web console. The message may be a single string (with optional substitution values), or it may be any one or more JavaScript objects.
578 console.profile() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profile, web console
The console.profile() starts recording a performance profile (for example, the Firefox performance tool).
579 console.profileEnd() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profileEnd, web console
The console.profileEnd() method stops recording a profile previously started with console.profile().
580 console.table() API, DOM, Debugging, Method, Web Development, web console
The console.table() method displays tabular data as a table.
581 console.time() API, DOM, Debugging, Method, Web Development, web console
The console.time() method 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.
582 console.timeEnd() API, DOM, Debugging, Method, Web Development, console, web console
The console.timeEnd() stops a timer that was previously started by calling console.time().
583 console.timeLog() API, DOM, Debugging, Method, Web Development, web console
The console.timeLog() method logs the current value of a timer that was previously started by calling console.time() to the console.
584 console.timeStamp() API, DOM, Debugging, Method, Non-standard, Web Development, web console
The console.timeStamp method 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.
585 console.trace() API, Chrome, DOM, Debugging, Firefox, Method, String, Web Development, console.trace(), trace, web console
The console.trace() method outputs a stack trace to the Web console.
586 console.warn() API, DOM, Debugging, Method, Web Development, web console
The console.warn() method outputs a warning message to the Web console.
587 ConstantSourceNode API, Audio, ConstantSourceNode, Interface, Media, Reference, Web Audio API
The ConstantSourceNode interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its ConstantSourceNode.offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.
588 ConstantSourceNode() API, Audio, AudioNode, ConstantSourceNode, Constructor, Reference, Web Audio API
The ConstantSourceNode() constructor creates a new ConstantSourceNode object instance, representing an audio source which constantly outputs samples whose values are always the same.
589 ConstantSourceNode.offset API, Audio, ConstantSourceNode, Media, Property, Read-only, Web Audio API
The read-only offset property of the ConstantSourceNode interface returns a AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
590 ConstrainBoolean API, ConstrainBooleanParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
The ConstrainBoolean dictionary is used to specify a constraint for a property whose value is a Boolean value. You can specify an exact value which must be matched, an ideal value that should be matched if at all possible, and a fallback value to attempt to match once all more specific constraints have been applied.
591 ConstrainDOMString API, ConstrainDOMStringParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
The ConstrainDOMString dictionary is used to specify a constraint for a property whose value is a string. It allows you to specify one or more exact string values from which one must be the parameter's value, or a set of ideal values which should be used if possible. You can also specify a single string (or an array of strings) which the user agent will do its best to match once all more stringent constraints have been applied.
592 ConstrainDouble API, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Stream API, Reference, WebRTC
The ConstrainDouble type is used to specify a constraint for a property whose value is a double-precision floating-point number. It extends the DoubleRange dictionary (which provides the ability to specify a permitted range of property values) to also support an exact value and/or an ideal value the property should take on. Additionally, you can specify the property's value as a simple floating-point value, in which case the user agent does its best to match the value once all other more stringent constraints are met.
593 Constraint validation API API, Constraint validation, Landing, Reference
The Constraint Validation API enables checking values that users have entered into form controls, before submitting the values to the server.
594 ConstrainULong API, 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.
595 Contact Picker API API, 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.
596 ContactsManager Contact 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.
597 ContactsManager.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.
598 ContactsManager.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.
599 Content Index API API, Content, Content Index API, Indexing, Landing, PWA, content indexing
The Content Index API allows developers to register their offline enabled content with the browser.
600 ContentIndex Content, 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.
601 ContentIndex.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.
602 ContentIndex.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.
603 ContentIndex.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.
604 ContentIndexEvent Content, 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.
605 ContentIndexEvent() 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.
606 ContentIndexEvent.id Content, 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.
607 ConvolverNode API, ConvolverNode, Interface, Reference, Web Audio API
The ConvolverNode interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output.
608 ConvolverNode.buffer API, 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.
609 ConvolverNode() API, Audio, Constructor, Convolver, Reference, Web Audio API
The ConvolverNode() constructor of the Web Audio API creates a new ConvolverNode object instance.
610 ConvolverNode.normalize API, ConvolverNode, Property, Reference, Web Audio API, parent
The normalize property of the ConvolverNode interface is a boolean that controls whether the impulse response from the buffer will be scaled by an equal-power normalization when the buffer attribute is set, or not.
611 Cookie Store API API, Cookie Store, Overview, Reference
The Cookie Store API provides an asychronous API for managing cookies, while also exposing cookies to Service Worker API.
612 CookieChangeEvent API, CookieChangeEvent, Interface, Reference
The CookieChangeEvent interface of the Cookie Store API is the event type passed to CookieStore.onchange() when any cookie changes have occurred. A cookie change consists of a cookie and a type (either "changed" or "deleted").
613 CookieChangeEvent.changed API, CookieChangeEvent, Property, Reference, changed
The changed read-only property of the CookieChangeEvent interface returns an array of the cookies that have been changed.
614 CookieChangeEvent() API, Constructor, CookieChangeEvent, Reference
The CookieChangeEvent() constructor creates a new CookieChangeEvent object which is the event type passed to CookieStore.onchange(). This constructor is called by the browser when a change event occurs.
615 CookieChangeEvent.deleted API, CookieChangeEvent, Property, Reference, deleted
The deleted read-only property of the CookieChangeEvent interface returns an array of the cookies that have been deleted by the given CookieChangeEvent instance.
616 CookieStore API, CookieStore, Interface, Reference
The CookieStore interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.
617 CookieStore.delete() API, CookieStore, Method, Reference, delete()
The delete() method of the CookieStore interface deletes a cookie with the given name or options object. (See below.) The delete() method expires the cookie by changing the date to one in the past.
618 CookieStore.get() API, CookieStore, Method, Reference, get()
The get() method of the CookieStore interface returns a single cookie with the given name or options object. (See below.) The method will return the first matching cookie for the passed parameters.
619 CookieStore.getAll() API, CookieStore, Method, Reference, getAll()
The getAll() method of the CookieStore interface returns a list of cookies that match the name or options passed to it. Passing no parameters will return all cookies for the current context.
620 CookieStore.onchange API, CookieStore, Property, Reference, onchange
The onchange EventHandler of the CookieStore interface fires when a change is made to any cookie.
621 CookieStore.set() API, CookieStore, Method, Reference, set()
The set() method of the CookieStore interface sets a cookie with the given name and value or options object. (See below.)
622 CookieStoreManager API, CookieStoreManager, Interface, Reference
The CookieStoreManager interface of the Cookie Store API allows service workers to subscribe to events for cookie changes. By using the CookieStoreManager.subscribe() method a particular service worker registration can indicate that it is interested in change events.
623 CookieStoreManager.getSubscriptions() API, CookieStoreManager, Method, Reference, getSubscriptions
The getSubscriptions() method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
624 CookieStoreManager.subscribe() API, CookieStoreManager, Method, Reference, subscribe
The subscribe() method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
625 CookieStoreManager.unsubscribe() API, CookieStoreManager, Method, Reference, unsubscribe
The unsubscribe() method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
626 CountQueuingStrategy API, 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.
627 CountQueuingStrategy() API, Constructor, CountQueuingStrategy, Experimental, Reference, Streams
The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy object instance.
628 CountQueuingStrategy.size() API, CountQueuingStrategy, Experimental, Method, Reference, Streams, size
The size() method of the CountQueuingStrategy interface always returns 1, so that the total queue size is a count of the number of chunks in the queue.
629 CrashReportBody API, 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).
630 Credential Management API API, 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.
631 Credential API, 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.
632 Credential.id API, 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.
633 Credential.type API, 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.
634 CredentialsContainer API, 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.
635 CredentialsContainer.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.
636 CredentialsContainer.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.
637 CredentialsContainer.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. For example, you might call this, after a user signs out of a website to ensure that they aren't automatically signed in on the next site visit. Mediation varies by origin, and is an added check point of browser stored credentials, informing a user of an account login status. This method is typically called after a user signs out of a website, ensuring this user's login information is not automatically passed on the next site visit.
638 CredentialsContainer.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.
639 Crypto API, 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.
640 Crypto.getRandomValues() API, Crypto, Cryptography, Encryption, Integers, Method, Numbers, 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).
641 Crypto.subtle API, 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.
642 CryptoKey API, 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.
643 CryptoKeyPair API, 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.
644 CSS Counter Styles CSS, CSS Counter Styles, Overview
The CSS Counter Styles module allows to define custom counter styles, which can be used for CSS list-marker and generated-content counters.
645 CSS Font Loading API API, CSSFontLoading, CSSOM, Experimental, Fonts, NeedsContent, Reference
The CSS Font Loading API provides events and interfaces for dynamically loading font resources.
646 CSS Object Model (CSSOM) API, CSSOM, Overview, Reference
The CSS Object Model is a set of APIs allowing the manipulation of CSS from JavaScript. It is much like the DOM, but for the CSS rather than the HTML. It allows users to read and modify CSS style dynamically.
647 CSS Declaration Block CSS, CSS Declaration Block, CSS Declarations, CSS Object Model, Reference
A CSS declaration block is an ordered collection of CSS properties and values. It is represented in the DOM as a CSSStyleDeclaration.
648 CSS Declaration CSS, CSS Declaration, CSS Object Model, Reference
A CSS declaration is an abstract concept not exposed as an object in the DOM. It represents a CSS property and value pairing.
649 Determining the dimensions of elements API, CSSOM View, Client width, Guide, Intermediate, client height, offsetHeight, offsetWidth, size of displayed content
There are several properties you can look at in order to determine the width and height of elements, and it can be tricky to determine which is the right one for your needs. This article is designed to help you make that decision. Note that all these properties are read-only. If you want to set the width and height of an element, use width and height or the overriding min-width and max-width, and min-height and max-height properties.
650 Managing screen orientation API, Advanced, CSSOM View, Guide, Screen Orientation
Screen Orientation API
651 Using dynamic styling information API, Beginner, CSSOM, Guide, NeedsBeginnerUpdate
The CSS Object Model (CSSOM), part of the DOM, exposes specific interfaces allowing manipulation of a wide amount of information regarding CSS. Initially defined in the DOM Level 2 Style recommendation, these interfaces forms now a specification, CSS Object Model (CSSOM) which aims at superseding it.
652 CSS Painting API API, 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.
653 Using the CSS Painting API CSS, 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.
654 CSS Properties and Values API Houdini
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.
655 Using the CSS properties and values API API, 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.
656 CSS Typed Object Model API CSS 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.
657 Using the CSS Typed Object Model CSS, CSS Typed OM, Houdini, Learn
The CSS Typed Object Model API exposes CSS values as typed JavaScript objects to allow their performant manipulation.
658 CSS API, 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.
659 CSS.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.
660 CSS numeric factory functions API, CSS, CSS API, Houdini, Reference, factory function
The CSS numeric factory functions
661 CSS.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.
662 CSS.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.
663 CSS.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.
664 CSSAnimation API, Animation, CSSAnimation, Interface, Reference
The CSSAnimation interface of the Web Animations API represents an Animation object.
665 CSSAnimation API, 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.
666 CSSConditionRule API, CSSOM, Interface, Reference
An object implementing the CSSConditionRule interface represents a single condition CSS at-rule, which consists of a condition and a statement block.
667 CSSConditionRule.conditionText API, CSSConditionRule, CSSOM, Property, Reference
The conditionText property of the CSSConditionRule interface returns or sets the text of the CSS rule.
668 CSSCounterStyleRule API, CSS Counter Styles, Interface, Reference
The CSSCounterStyleRule interface represents an @counter-style at-rule.
669 CSSCounterStyleRule.additiveSymbols API, CSSCounterStyleRule, Property, Reference, additiveSymbols
The additiveSymbols property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/additive-symbols descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
670 CSSCounterStyleRule.fallback API, CSSCounterStyleRule, Property, Reference, fallback
The fallback property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/fallback descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
671 CSSCounterStyleRule.name API, CSSCounterStyleRule, Property, Reference, name
The name property of the CSSCounterStyleRule interface gets and sets the <custom-ident> defined as the name for the associated rule.
672 CSSCounterStyleRule.negative API, CSSCounterStyleRule, Property, Reference, negative
The negative property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/negative descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
673 CSSCounterStyleRule.pad API, CSSCounterStyleRule, Property, Reference, pad
The pad property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/pad descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
674 CSSCounterStyleRule.prefix API, CSSCounterStyleRule, Property, Reference, prefix
The prefix property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/prefix descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
675 CSSCounterStyleRule.range API, CSSCounterStyleRule, Property, Reference, range
The range property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/range descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
676 CSSCounterStyleRule.speakAs API, CSSCounterStyleRule, Property, Reference, speakAs
The speakAs property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/speak-as descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
677 CSSCounterStyleRule.suffix API, CSSCounterStyleRule, Property, Reference, suffix
The suffix property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/suffix descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
678 CSSCounterStyleRule.symbols API, CSSCounterStyleRule, Property, Reference, symbols
The symbols property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/symbols descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
679 CSSCounterStyleRule.system API, CSSCounterStyleRule, Property, Reference, system
The system property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/system descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
680 CSSFontFaceRule API, CSSFontFaceRule, CSSOM, Interface, Reference
The CSSFontFaceRule interface represents an @font-face at-rule.
681 CSSFontFaceRule.style API, CSSFontFaceRule, CSSOM, Property, Read-only, Reference
The read-only style property of the CSSFontFaceRule interface returns the style information from the @font-face at-rule. This will be in the form of a CSSStyleDeclaration object.
682 CSSGroupingRule API, CSSOM, Interface, Reference
The CSSGroupingRule interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.
683 CSSGroupingRule.cssRules API, CSSGroupingRule, CSSOM, Property, Reference
The cssRules property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.
684 CSSGroupingRule.deleteRule() API, CSSGroupingRule, CSSOM, Method, Reference
The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
685 CSSGroupingRule.insertRule() API, CSSGroupingRule, CSSOM, Method, Reference
The insertRule() method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
686 CSSImageValue API, 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
687 CSSImportRule API, CSSOM, Interface, Reference
The CSSImportRule interface represents an @import at-rule.
688 CSSImportRule.href API, CSSImportRule, CSSOM, Property, Read-only, Reference
The read-only href property of the CSSImportRule interface returns the URL specified by the @import at-rule.
689 CSSImportRule.media API, CSSImportRule, CSSOM, Property, Read-only, Reference
The read-only media property of the CSSImportRule interface returns a MediaList object, containing the value of the media attribute of the associated stylesheet.
690 CSSImportRule.stylesheet API, CSSImportRule, CSSOM, Property, Read-only, Reference
The read-only styleSheet property of the CSSImportRule interface returns the CSS Stylesheet specified by the @import at-rule. This will be in the form of a CSSStyleSheet object.
691 CSSKeyframeRule API, CSS Animations, CSSOM, Interface, Reference
The CSSKeyframeRule interface describes an object representing a set of styles for a given keyframe. It corresponds to the contents of a single keyframe of a @keyframes at-rule.
692 CSSKeyframeRule.keyText API, CSS Animations, CSSKeyframeRule, CSSOM, Property, Reference
The keyText property of the CSSKeyframeRule interface represents the keyframe selector as a comma-separated list of percentage values. The from and to keywords map to 0% and 100%, respectively.
693 CSSKeyframeRule.style API, CSS Animations, CSSKeyframeRule, CSSOM, Property, Reference
The read-only CSSKeyframeRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSKeyframeRule.
694 CSSKeyframesRule API, CSS Animations, CSSOM, 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.
695 CSSKeyframesRule.appendRule() API, CSS Animations, CSSKeyframesRule, CSSOM, Method, Reference
The appendRule() method of the CSSKeyframeRule interface appends a CSSKeyFrameRule to the end of the rules.
696 CSSKeyframesRule.cssRules API, CSS Animations, CSSKeyframesRule, CSSOM, Property, Reference
The read-only cssRules property of the CSSKeyframeRule interface returns a CSSRuleList containing the rules in the keyframes at-rule.
697 CSSKeyframesRule.deleteRule() API, CSS Animations, CSSKeyframesRule, CSSOM, Method, Reference
The deleteRule() method of the CSSKeyframeRule interface deletes the CSSKeyFrameRule that matches the specified keyframe selector.
698 CSSKeyframesRule.findRule() API, CSS Animations, CSSKeyframesRule, CSSOM, Method, Reference
The findRule() method of the CSSKeyframeRule interface finds the CSSKeyFrameRule that matches the specified keyframe selector.
699 CSSKeyframesRule.name API, CSS Animations, CSSKeyframesRule, CSSOM, Property, Reference
The name property of the CSSKeyframeRule interface gets and sets the name of the animation as used by the animation-name property.
700 CSSKeywordValue API, 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.
701 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.
702 CSSKeywordValue.value API, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Property, Reference, value
The value property of the CSSKeywordValue interface returns or sets the value of the CSSKeywordValue.
703 CSSMathInvert API, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathInvert interface of the CSS_Object_Model#css_typed_object_model represents a CSS calc() used as calc(1 / <value>). It inherits properties and methods from its parent CSSNumericValue.
704 CSSMathInvert() 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)
705 CSSMathInvert.value API, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Experimental, Houdini, Property
The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
706 CSSMathMax API, CSS Typed Object Model API, CSSMathMax, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathMax interface of the CSS_Object_Model#css_typed_object_model represents the CSS max() function.  It inherits properties and methods from its parent CSSNumericValue.
707 CSSMathMax() 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.
708 CSSMathMax.values API, 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.
709 CSSMathMin API, CSS Typed Object Model API, CSSMathMin, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathMin interface of the CSS_Object_Model#css_typed_object_model represents the CSS min() function.  It inherits properties and methods from its parent CSSNumericValue.
710 CSSMathMin() 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.
711 CSSMathMin.values API, 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.
712 CSSMathNegate API, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Experimental, Houdini, Interface
The CSSMathNegate interface of the CSS_Object_Model#css_typed_object_model negates the value passed into it. It inherits properties and methods from its parent CSSNumericValue.
713 CSSMathNegate() 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.
714 CSSMathNegate.value API, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Experimental, Houdini, Property
The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
715 CSSMathProduct API, CSS Typed Object Model API, CSSMathProduct, CSSUnparsedValue, Experimental, Houdini, Interface, Reference
The CSSMathProduct interface of the CSS_Object_Model#css_typed_object_model represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.  It inherits properties and methods from its parent CSSNumericValue.
716 CSSMathProduct() 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. 
717 CSSMathProduct.values API, 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.
718 CSSMathSum API, CSS Typed Object Model API, CSSMathSum, Experimental, Houdini, Interface, Reference
The CSSMathSum interface of the CSS_Object_Model#css_typed_object_model represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
719 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.
720 CSSMathSum.values API, 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.
721 CSSMathValue API, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Interface, Reference
The CSSMathValue interface of the CSS_Object_Model#css_typed_object_model a base class for classes representing complex numeric values.
722 CSSMathValue.operator API, 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".
723 CSSMatrixComponent API, CSS Typed Object Model API, CSSMatrixComponent, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSMatrixComponent interface of the CSS_Object_Model#css_typed_object_model represents the matrix() and matrix3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
724 CSSMatrixComponent() 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.
725 CSSMatrixComponent.matrix API, 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.
726 CSSMediaRule API, CSSOM, Interface, Reference
The CSSMediaRule interface represents a single CSS @media rule.
727 CSSMediaRule.media API, CSSMediaRule, CSSOM, Property, Reference
The read-only media property of the CSSMediaRule interface MediaList represents the intended destination medium for style information.
728 CSSNamespaceRule API, CSSOM, Interface, Reference
The CSSNamespaceRule interface describes an object representing a single CSS @namespace at-rule.
729 CSSNamespaceRule.namespaceURI API, CSSNamespaceRule, CSSOM, Property, Reference, namespaceURI
The read-only namespaceURI property of the CSSNamespaceRule returns a DOMString containing the text of the URI of the given namespace.
730 CSSNamespaceRule.prefix API, CSSNamespaceRule, CSSOM, Property, Reference, prefix
The read-only prefix property of the CSSNamespaceRule returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, it returns an empty string.
731 CSSNumericArray API, CSS Typed Object Model API, CSSNumericArray, CSSNumericValue, Experimental, Houdini, Interface
The CSSNumericArray interface of the CSS_Object_Model#css_typed_object_model  contains a list of CSSNumericValue objects.
732 CSSNumericArray.length API, 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.
733 CSSNumericValue API, 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.
734 CSSNumericValue.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.
735 CSSNumericValue.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.
736 CSSNumericValue.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.
737 CSSNumericValue.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.
738 CSSNumericValue.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.
739 CSSNumericValue.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.
740 CSSNumericValue.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.
741 CSSNumericValue.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.
742 CSSNumericValue.to() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, to()
The to() method of the CSSNumericValue interface converts a numeric value from one unit to another.
743 CSSNumericValue.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.
744 CSSNumericValue.type API, 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.
745 CSSOMString API, CSSOM, Reference
CSSOMString is used to denote string data in CSSOM specifications and can refer to either DOMString or USVString. When a specification says CSSOMString, it depends on the browser vendors to choose whether to use DOMString or USVString. While browser implementations that use UTF-8 internally to represent strings in memory can use USVString when the specification says CSSOMString, implementations that already represent strings as 16-bit sequences might choose to use DOMString instead.
746 CSSPageRule API, CSSOM, Interface, Reference
CSSPageRule represents a single CSS @page rule.
747 CSSPageRule.selectorText API, CSSOM, CSSPageRule, Property, Reference
The selectorText property of the CSSPageRule interface gets and sets the selectors associated with the CSSPageRule.
748 CSSPageRule.style API, CSSOM, CSSPageRule, Property, Read-only, Reference
The style read-only property of the CSSPageRule interface returns a CSSStyleDeclaration object. This represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
749 CSSPerspective API, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSPerspective interface of the CSS_Object_Model#css_typed_object_model represents the perspective() value of the individual transform property in CSS.  It inherits properties and methods from its parent CSSTransformValue
750 CSSPerspective() 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.
751 CSSPerspective.length API, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Property
The length property of the CSSPerspective interface sets the distance from z=0.
752 CSSPositionValue API, CSS Typed Object Model API, CSSPositionValue, Deprecated, 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.
753 CSSPositionValue() API, CSS Typed Object Model API, CSSPositionValue, Constructor, Deprecated, Experimental, Houdini, Reference
The CSSPositionValue() constructor creates a new CSSPositionValue object which represents values for properties that take a position, for example object-position.
754 CSSPositionValue.x API, CSS Typed Object Model API, CSSPositionValue, Deprecated, Experimental, Houdini, Property, Reference, x
The x property of the CSSPositionValue interface returns the item's position along the web page's horizontal axis.
755 CSSPositionValue.y API, CSS Typed Object Model API, CSSPositionValue, Deprecated, Experimental, Houdini, Property, Reference, y
The y property of the CSSPositionValue interface returns the item's position along the vertical axis.
756 CSSPrimitiveValue API, CSSOM, CSSPrimitiveValue, Deprecated, Interface, Reference
The CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property.
757 CSSPrimitiveValue.getCounterValue() API, CSSPrimitiveValue, Deprecated, 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.
758 CSSPrimitiveValue.getFloatValue() API, CSSPrimitiveValue, Deprecated, 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.
759 CSSPrimitiveValue.getRectValue() API, CSSPrimitiveValue, Deprecated, 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.
760 CSSPrimitiveValue.getRGBColorValue() API, CSSPrimitiveValue, Deprecated, 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.
761 CSSPrimitiveValue.getStringValue() API, CSSPrimitiveValue, Deprecated, 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.
762 CSSPrimitiveValue.primitiveType API, CSSPrimitiveValue, Property, Read-only, Reference, primitiveValue
The primitiveType read-only property of the CSSPrimitiveValue interface represents the type of a CSS value.
763 CSSPrimitiveValue.setFloatValue() API, CSSPrimitiveValue, Deprecated, 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.
764 CSSPrimitiveValue.setStringValue() API, CSSPrimitiveValue, Deprecated, 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.
765 CSSPropertyRule API, 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.
766 CSSPropertyRule.inherits API, 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.
767 CSSPropertyRule.initialValue API, 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.
768 CSSPropertyRule.name API, 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.
769 CSSPropertyRule.syntax API, 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.
770 CSSPseudoElement API, 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().
771 CSSPseudoElement.element API, 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.
772 CSSPseudoElement.type API, 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.
773 CSSRotate API, CSS, CSS Typed Object Model, CSSRotate, Experimental, Houdini, Interface, Reference
The CSSRotate interface of the CSS_Object_Model#css_typed_object_model represents the rotate value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
774 CSSRotate.angle API, 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.
775 CSSRotate() 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.
776 CSSRotate.x API, 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.
777 CSSRotate.y API, 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.
778 CSSRotate.z API, 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.
779 CSSRule API, CSSOM, Interface, Reference
The CSSRule interface represents a single CSS rule. There are several types of rules which inherit properties from CSSRule.
780 CSSRule.cssText API, CSSOM, Property, Reference
The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
781 CSSRule.parentRule API, CSSOM, CSSRule, Property, Reference
The parentRule property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.
782 CSSRule.parentStyleSheet API, CSSOM, CSSRule, Property, Reference
The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
783 CSSRule.type API, CSSOM, Deprecated, Property, Read-only, Reference
The read-only type property of the CSSRule interface is a deprecated property that returns an integer indicating which type of rule the CSSRule represents.
784 CSSRuleList API, CSSOM, Interface, Reference
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
785 CSSScale API, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSScale interface of the CSS_Object_Model#css_typed_object_model represents the scale() and scale3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
786 CSSScale() 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.
787 CSSScale.x API, 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.
788 CSSScale.y API, 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.
789 CSSScale.z API, 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.
790 CSSSkew API, CSS, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkew interface of the CSS_Object_Model#css_typed_object_model is part of the CSSTransformValue interface. It represents the skew() value of the individual transform property in CSS.
791 CSSSkew.ax API, 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).
792 CSSSkew.ay API, 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).
793 CSSSkew() 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.
794 CSSSkewX API, CSS Typed Object Model API, CSSSkewX, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkewX interface of the CSS_Object_Model#css_typed_object_model represents the skewX() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
795 CSSSkewX.ax API, 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).
796 CSSSkewX() 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.
797 CSSSkewY API, CSS Typed Object Model API, CSSSkewY, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface
The CSSSkewY interface of the CSS_Object_Model#css_typed_object_model represents the skewY() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
798 CSSSkewY.ay API, 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).
799 CSSSkewY() 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.
800 CSSStyleDeclaration API, CSSOM, CSSRule, Interface, Reference
The CSSStyleDeclaration interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
801 CSSStyleDeclaration.cssFloat API, CSSOM, CSSStyleDeclaration, Reference
The cssFloat property of the CSSStyleDeclaration interface returns the result of invoking CSSStyleDeclaration.getPropertyValue() with float as an argument.
802 CSSStyleDeclaration.cssText API, CSSOM, NeedsSpecTable, Reference
The cssText property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.
803 CSSStyleDeclaration.getPropertyCSSValue() API, CSSOM, Deprecated, Method, Reference
The CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property. Note that it returns null if the property name is a shorthand property.
804 CSSStyleDeclaration.getPropertyPriority() API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property.
805 CSSStyleDeclaration.getPropertyValue() API, CSSOM, Method, Reference
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property.
806 CSSStyleDeclaration.item() API, CSSOM, Method, Reference
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index
807 CSSStyleDeclaration.length API, CSSOM, Property, Reference
The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
808 CSSStyleDeclaration.parentRule API, CSSOM, Property, Reference
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block
809 CSSStyleDeclaration.removeProperty() API, CSSOM, Method, Reference
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
810 CSSStyleDeclaration.setProperty() API, CSSOM, Method, Reference
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
811 CSSStyleRule API, CSSOM, CSSStyleRule, Interface, Reference
The CSSStyleRule interface represents a single CSS style rule.
812 CSSStyleRule.selectorText API, CSSOM, CSSStyleRule, Property, Reference
The selectorText property of the CSSStyleRule interface gets and sets the selectors associated with the CSSStyleRule.
813 CSSStyleRule.style API, CSSOM, CSSStyleRule, Property, Reference
The read-only style property is the CSSStyleDeclaration interface for the declaration block of the CSSStyleRule.
814 CSSStyleRule.styleMap API, CSS Typed Object Model API, CSSStyleRule, Experimental, Houdini, Reference
The styleMap read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
815 CSSStyleSheet API, 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.
816 CSSStyleSheet.addRule() API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Deprecated, Layout, Method, Object Model, 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.
817 CSSStyleSheet.cssRules API, 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.
818 CSSStyleSheet.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.
819 CSSStyleSheet.insertRule() API, CSSOM, CSSStyleSheet, Method, Reference
The CSSStyleSheet.insertRule() method inserts a new CSS rule into the current style sheet, with some restrictions.
820 CSSStyleSheet.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.
821 CSSStyleSheet.removeRule() API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Deprecated, Layout, Method, Object Model, Reference, Rule, StyleSheet, delete, legacy, remove, removeRule
The obsolete CSSStyleSheet method removeRule() removes a rule from the stylesheet object.
822 CSSStyleSheet.rules API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Deprecated, Layout, Object Model, 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.
823 CSSStyleValue API, 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.
824 CSSStyleValue.parse() API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parse()
The parse() method of the CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.
825 CSSStyleValue.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.
826 CSSSupportsRule API, CSSOM, Interface, Reference
The CSSSupportsRule interface represents a single CSS @supports at-rule.
827 CSSTransformComponent API, CSS, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Interface, Reference
The CSSTransformComponent interface of the of the CSS_Object_Model#css_typed_object_model is part of the CSSTransformValue interface.
828 CSSTransformComponent.is2D API, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Property, Reference, is2D
The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
829 CSSTransformComponent.toMatrix() API, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Method, Reference, toMatrix
The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.
830 CSSTransformComponent.toString() API, CSS, CSS Typed Object Model, CSSTransformComponent, Experimental, Houdini, Method, Reference
The toString() method of the CSSTransformComponent interface is a stringifier returning a CSS Transforms function.
831 CSSTransformValue API, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Interface, Reference
The CSSTransformValue interface of the CSS_Object_Model#css_typed_object_model represents transform-list values as used by the CSS transform property.
832 CSSTransformValue() 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.
833 CSSTransformValue.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).
834 cssTransformValue.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.
835 CSSTransformValue.is2D API, 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.
836 CSSTransformValue.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.
837 CSSTransformValue.length API, 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.
838 CSSTransformValue.toMatrix() API, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Method, toMatrix
The toMatrix() method of the CSSTransformValue interface returns a DOMMatrix object.
839 CSSTransformValue.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 CSSTransformValue object.
840 CSSTransition API, Animation, CSSTransition, Interface, Reference
The CSSTransition interface of the Web Animations API represents an Animation object used for a CSS Transition.
841 CSSTransition.transitionProperty API, 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.
842 CSSTranslate API, CSS Typed Object Model API, CSSTransformComponent, CSSTransformFunction, CSSTranslate, Experimental, Houdini, Interface
The CSSTranslate interface of the CSS_Object_Model#css_typed_object_model represents the translate() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
843 CSSTranslate() 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.
844 CSSTranslate.x API, 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.
845 CSSTranslate.y API, 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.
846 CSSTranslate.z API, 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.
847 CSSUnitValue API, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Interface, Reference
The CSSUnitValue interface of the CSS_Object_Model#css_typed_object_model represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
848 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.
849 CSSUnitValue.unit API, 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.
850 CSSUnitValue.value API, 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.
851 CSSUnparsedValue API, CSS Typed Object Model API, CSSUnparsedValue, Experimental, Houdini, Interface, NeedsExample, Reference
The CSSUnparsedValue interface of the CSS_Object_Model#css_typed_object_model represents property values that reference custom properties. It consists of a list of string fragments and variable references.
852 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.
853 CSSUnparsedValue.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).
854 CSSUnparsedValue.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.
855 CSSUnparsedValue.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.
856 CSSUnparsedValue.length API, 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.
857 CSSUnparsedValue.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.
858 CSSValue API, CSSOM, CSSValue, Deprecated, Interface, NeedsExample, Reference
The CSSValue interface represents the current computed value of a CSS property.
859 CSSValue.cssText API, CSSValue, Deprecated, Property, Reference, cssText
The cssText property of the CSSValue interface represents the current computed CSS property value.
860 CSSValue.cssValueType API, CSSValue, Deprecated, Property, Read-only, Reference, cssValueType
The cssValueType read-only property of the CSSValue interface represents the type of the current computed CSS property value.
861 CSSValueList API, CSSOM, CSSValueList, Deprecated, Interface, Reference
The CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values.
862 CSSValueList.item() API, CSSValueList, Deprecated, Method, Reference, item
The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index.
863 CSSValueList.length API, CSSValueList, Deprecated, 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.
864 CSSVariableReferenceValue API, CSS Typed Object Model API, CSSVariableReferenceValue, Experimental, Houdini, Interface, Reference
The CSSVariableReferenceValue interface of the CSS_Object_Model#css_typed_object_model 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.
865 CSSVariableReferenceValue() API, CSS Typed Object Model API, CSSVariableReferenceValue, Constructor, Houdini, NeedsExample, Reference
Creates a new CSSVariableReferenceValue.
866 CSSVariableReferenceValue.fallback API, 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.
867 CSSVariableReferenceValue.variable API, 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.
868 CustomElementRegistry API, 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.
869 CustomElementRegistry.define() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, define
The define() method of the CustomElementRegistry interface defines a new custom element.
870 CustomElementRegistry.get() API, CustomElementRegistry, Experimental, Method, Reference, Web Components, custom elements, get
The get() method of the CustomElementRegistry interface returns the constructor for a previously-defined custom element.
871 CustomElementRegistry.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.
872 CustomElementRegistry.whenDefined() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, whenDefined
The whenDefined() method of the CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
873 CustomEvent API, CustomEvent, DOM, Interface, NeedsExample, Reference
The CustomEvent interface represents events initialized by an application for any purpose.
874 CustomEvent() API, Constructor, CustomEvent, Reference, events
The CustomEvent() constructor creates a new CustomEvent.
875 CustomEvent.detail API, CustomEvent, DOM, Property, Reference, detail
The detail readonly property of the CustomEvent interface returns any data passed when initializing the event.
876 CustomEvent.initCustomEvent() API, CustomEvent, DOM, Deprecated, Method, Reference
The CustomEvent.initCustomEvent() method initializes a CustomEvent object. If the event has already been dispatched, this method does nothing.
877 DataTransfer API, DataTransfer, HTML Drag and Drop API, Interface, NeedsMarkupWork, Reference, Web Development, drag and drop
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API.
878 DataTransfer.addElement() API, Method, Non-standard, Reference, drag and drop
The DataTransfer.addElement() method sets the drag source to the given element. This element will be the element to which drag and dragend events are fired, and not the default target (the node that was dragged).
879 DataTransfer.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.
880 DataTransfer() API, Constructor, DataTransfer, HTML Drag and Drop API, Reference, drag and drop
The DataTransfer constructor creates a new DataTransfer object instance.
881 DataTransfer.dropEffect API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.dropEffect property controls the feedback (typically visual) the user is given during a drag and drop operation. It will affect which cursor is displayed while dragging. For example, when the user hovers over a target drop element, the browser's cursor may indicate which type of operation will occur.
882 DataTransfer.effectAllowed API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.effectAllowed property specifies the effect that is allowed for a drag operation. The copy operation is used to indicate that the data being dragged will be copied from its present location to the drop location. The move operation is used to indicate that the data being dragged will be moved, and the link operation is used to indicate that some form of relationship or connection will be created between the source and drop locations.
883 DataTransfer.files API, 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.
884 DataTransfer.getData() API, HTML DOM, Method, Reference, drag and drop
The DataTransfer.getData() method retrieves drag data (as a DOMString) for the specified type. If the drag operation does not include data, this method returns an empty string.
885 DataTransfer.items API, 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.
886 DataTransfer.mozClearDataAt() API, Deprecated, 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.
887 DataTransfer.mozCursor API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozCursor property returns or sets the drag cursor's state. This is primarily used to control the cursor during tab drags.
888 DataTransfer.mozGetDataAt() API, Deprecated, 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.
889 DataTransfer.mozItemCount API, Deprecated, 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.
890 DataTransfer.mozSetDataAt() API, Deprecated, 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.
891 DataTransfer.mozSourceNode API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozSourceNode property is used to determine the Node over which the mouse cursor was located when the 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.
892 DataTransfer.mozTypesAt() API, Deprecated, 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.
893 DataTransfer.mozUserCancelled API, Non-standard, Property, Reference, drag and drop
The DataTransfer.mozUserCancelled property is used in the dragend event handler to determine if the user canceled the drag or not. If the user canceled the event, the property returns true and returns false otherwise. This property only applies to the dragend event.
894 DataTransfer.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.
895 DataTransfer.setDragImage() API, H5 DnD, HTML DOM, Method, Reference, drag and drop
When a drag occurs, a translucent image is generated from the drag target (the element the dragstart event is fired at), and follows the mouse pointer during the drag. This image is created automatically, so you do not need to create it yourself. However, if a custom image is desired, the DataTransfer.setDragImage() method can be used to set the custom image to be used. The image will typically be an image element but it can also be a canvas or any other visible element.
896 DataTransfer.types API, HTML DOM, Property, Reference, drag and drop
The DataTransfer.types read-only property returns an array of the drag data formats (as 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.
897 DataTransferItem API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
The DataTransferItem object represents one drag data item. During a drag operation, each DragEvent has a DragEvent.dataTransfer property which contains a DataTransferItemList of drag data items. Each item in the list is a DataTransferItem object.
898 DataTransferItem.getAsFile() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
If the item is a file, the DataTransferItem.getAsFile() method returns the drag data item's File object. If the item is not a file, this method returns null.
899 DataTransferItem.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.
900 DataTransferItem.getAsString() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, getAsString
The DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's DataTransferItem.kind is a Plain unicode string (i.e. kind is string).
901 DataTransferItem.kind API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, drag and drop, kind
The read-only DataTransferItem.kind property returns a DataTransferItem representing the drag data item kind: some text or some file.
902 DataTransferItem.type API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, Type, drag and drop
The read-only DataTransferItem.type property returns the type (format) of the DataTransferItem object representing the drag data item. The type is a Unicode string generally given by a MIME type, although a MIME type is not required.
903 DataTransferItem.webkitGetAsEntry() API, DataTransferItem, File System API, File and Directory Entries API, Files, Method, Non-standard, Offline, Reference, drag and drop, getAsEntry
If the item described by the DataTransferItem is a file, webkitGetAsEntry() returns a FileSystemFileEntry or FileSystemDirectoryEntry representing it. If the item isn't a file, null is returned.
904 DataTransferItemList API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
The DataTransferItemList object is a list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a DragEvent.dataTransfer property and that property is a DataTransferItemList.
905 DataTransferItemList.add() API, Add, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
The DataTransferItemList.add() method creates a new DataTransferItem using the specified data and adds it to the drag data list. The item may be a File or a DOMString of a given type. If the item is successfully added to the list, the newly-created DataTransferItem object is returned.
906 DataTransferItemList.clear() API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, clear, drag and drop
The DataTransferItemList method clear() removes all DataTransferItem objects from the drag data items list, leaving the list empty.
907 DataTransferItemList.length API, DataTransferItemList, Dragged 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.
908 DataTransferItemList.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.
909 DecompressionStream API, DecompressionStream, Interface, Reference
The DecompressionStream interface of the Compression Streams API is an API for decompressing a stream of data.
910 DecompressionStream() API, Constructor, DecompressionStream, Reference
The DecompressionStream() constructor creates a new DecompressionStream object which decompresses a stream of data.
911 DecompressionStream.readable API, DecompressionStream, Property, Reference, readable
The readable read-only property of the DecompressionStream interface returns a ReadableStream.
912 DecompressionStream.writable API, DecompressionStream, Property, Reference, writable
The writable read-only property of the DecompressionStream interface returns a WritableStream.
913 DedicatedWorkerGlobalScope API, 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.
914 DedicatedWorkerGlobalScope.close() API, DOM, DedicatedWorkerGlobalScope, Method, Reference, Web Workers, close
The close() method of the DedicatedWorkerGlobalScope interface discards any tasks queued in the DedicatedWorkerGlobalScope's event loop, effectively closing this particular scope.
915 DedicatedWorkerGlobalScope: message event Event
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()).
916 DedicatedWorkerGlobalScope: messageerror event Event
The messageerror event is fired on a DedicatedWorkerGlobalScope object when it receives a message that can't be deserialized.
917 DedicatedWorkerGlobalScope.name API, DOM, DedicatedWorkerGlobalScope, Property, Reference, Worker, name
The name read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created. This is the name that the Worker.Worker constructor can pass to get a reference to the DedicatedWorkerGlobalScope.
918 DedicatedWorkerGlobalScope.onmessage API, DedicatedWorkerGlobalScope, Property, Reference, Web Workers, onmessage
The onmessage property of the DedicatedWorkerGlobalScope interface represents an event handler to be called when the message event occurs — i.e. when a message is sent to the worker using the Worker.postMessage method.
919 DedicatedWorkerGlobalScope.onmessageerror API, DedicatedWorkerGlobalScope, Event Handler, Property, Reference, onmessageerror
The onmessageerror event handler of the DedicatedWorkerGlobalScope interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on the worker—that is, when it receives a message that cannot be Deserialization.
920 DedicatedWorkerGlobalScope.postMessage() API, DedicatedWorkerGlobalScope, Method, Reference, 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 from the worker to the main thread. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
921 DelayNode API, Audio, DelayNode, Interface, Reference, Web Audio API
The DelayNode interface represents a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output.
922 DelayNode() API, Audio, Constructor, DelayNode, Media, Reference, Web Audio API
The DelayNode() constructor of the Web Audio API creates a new DelayNode object with a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data, and its propagation to the output.
923 DelayNode.delayTime API, 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.
924 DeprecationReportBody API, DeprecationReportBody, Experimental, Interface, Reference, Reporting API
The DeprecationReportBody interface of the Reporting API represents the body of a deprecation report.
925 DeprecationReportBody.anticipatedRemoval API, DeprecationReportBody, Property, Reference, anticipatedRemoval
The anticipatedRemoval read-only property of the DeprecationReportBody interface returns the date that the browser version which removes the feature will ship. This value can be used to prioritize warnings. If this property returns null because the date is unknown, then the deprecation should be considered low priority.
926 DeprecationReportBody.columnNumber API, DeprecationReportBody, Property, Reference, columnNumber
The columnNumber read-only property of the DeprecationReportBody interface returns the line in the source file in which the deprecated feature was used.
927 DeprecationReportBody.id API, DeprecationReportBody, Property, Reference, id
The id read-only property of the DeprecationReportBody interface returns a string representing the feature or API that is deprecated. This can be used to group or count related reports.
928 DeprecationReportBody.lineNumber API, DeprecationReportBody, Property, Reference, lineNumber
The lineNumber read-only property of the DeprecationReportBody interface returns the line in the source file in which the deprecated feature was used.
929 DeprecationReportBody.message API, DeprecationReportBody, Property, Reference, message
The message read-only property of the DeprecationReportBody interface returns a human-readable description of the deprecation. This typically matches the message a browser will display in its DevTools console regarding a deprecated feature.
930 DeprecationReportBody.sourceFile API, DeprecationReportBody, Property, Reference, sourceFile
The sourceFile read-only property of the DeprecationReportBody interface returns the path to the source file where the deprecated feature was used.
931 DeprecationReportBody.toJSON() API, DeprecationReportBody, Method, Reference, toJSON
The toJSON() method of the DeprecationReportBody interface is a serializer, and returns a JSON representation of the InterventionReportBody object.
932 Device Memory API Device Memory API
The capabilities of a client device largely depend on the amount of available RAM. Traditionally, developers had to use heuristics and either benchmark a device or infer device capabilities based on other factors like the device manufacturer or User Agent strings.
933 DeviceMotionEvent API, 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.
934 DeviceMotionEvent.acceleration API, 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/s²). The acceleration value does not include the effect of the gravity force, in constrast to DeviceMotionEvent.accelerationIncludingGravity.
935 DeviceMotionEvent.accelerationIncludingGravity API, 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/s²). 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 an acceleration equal and opposite to that caused by gravity. In other words, it measures the g-force. In practice, this value represents the raw data measured by an accelerometer.
936 DeviceMotionEvent() API, Constructor, Device Orientation, Device Orientation API, Experimental, Mobile, Motion, Non-standard, Orientation, Reference
The DeviceMotionEvent() constructor creates a new DeviceMotionEvent.
937 DeviceMotionEvent.interval API, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
Returns the interval, in milliseconds, at which data is obtained from the underlying hardware. You can use this to determine the granularity of motion events.
938 DeviceMotionEvent.rotationRate API, 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.
939 DeviceMotionEventAcceleration API, DeviceAcceleration, Experimental, Interface, NeedsExample, Reference
A DeviceMotionEventAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.
940 DeviceMotionEventAcceleration: x API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the X axis in a DeviceMotionEventAcceleration object.
941 DeviceMotionEventAcceleration: y API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Y axis in a DeviceMotionEventAcceleration object.
942 DeviceMotionEventAcceleration: z API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Z axis in a DeviceMotionEventAcceleration object.
943 DeviceMotionEventRotationRate API, DOM, DOM Reference, Experimental, Reference
A DeviceMotionEventRotationRate object provides information about the rate at which the device is rotating around all three axes.
944 DeviceMotionEventRotationRate: alpha API, 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.
945 DeviceMotionEventRotationRate: beta API, 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.
946 DeviceMotionEventRotationRate: gamma API, 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.
947 DeviceOrientationEvent API, Device Orientation API, Experimental, Interface, Reference
The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.
948 DeviceOrientationEvent.absolute API, Device Orientation API, DeviceOrientationEvent, NeedsExample, NeedsMarkupWork, Property, Reference
Indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained for details.
949 DeviceOrientationEvent.alpha API, DeviceOrientation API, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Z axis; that is, the number of degrees by which the device is being twisted around the center of the screen. See Orientation and motion data explained for details.
950 DeviceOrientationEvent.beta API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180,  by which the device is tipped forward or backward. See Orientation and motion data explained for details.
951 DeviceOrientationEvent() API, Constructor, Device Orientation API, DeviceOrientationEvent, Experimental, Reference
The DeviceOrientationEvent() constructor creates a new DeviceOrientationEvent.
952 DeviceOrientationEvent.gamma API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Y axis; that is, the number of degrees, ranged between -90 and 90, by which the device is tilted left or right. See Orientation and motion data explained for details.
953 DeviceProximityEvent API, Deprecated, Interface, Proximity Events, Reference
The DeviceProximityEvent interface provides information about the distance of a nearby physical object using the proximity sensor of a device.
954 DirectoryEntrySync API, File API, File System API, Offline, Reference, 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.
955 DirectoryReaderSync API, Reference
The DirectoryReaderSync interface of the File System API lets you read the entries in a directory.
956 DisplayMediaStreamConstraints API, Audio, Capture, Constraints, Dictionary, DisplayMediaStreamConstraints, Media, Reference, Screen Capture, Screen Capture API, Video, display, getDisplayMedia, screen
The DisplayMediaStreamConstraints dictionary is used to specify whether or not to include video and/or audio tracks in the MediaStream to be returned by MediaDevices.getDisplayMedia, as well as what type of processing must be applied to the tracks.
957 DisplayMediaStreamConstraints.audio API, Audio, Capture, Constraints, DisplayMediaStreamTrack, Options, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Settings, Sharing, screen, track
The DisplayMediaStreamConstraints dictionary's audio property is used to specify whether or not to request that the MediaStream containing screen display contents also include an audio track. This value may 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.
958 DisplayMediaStreamConstraints.video API, Capture, Constraints, DisplayMediaStreamConstraints, Media, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Video, display, getDisplayMedia, screen
The DisplayMediaStreamConstraints dictionary's video property is used to configure the video track in the stream returned by MediaDevices.getDisplayMedia.
959 Document 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.
960 Examples of web and XML development using the DOM DOM, DOM Reference
This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.
961 How to create a DOM tree AJAX, Add-ons, DOM, Extensions, JXON, NeedsUpdate, XML
This page describes how to use the DOM Core API in JavaScript to create and modify DOM objects. It applies to all Gecko-based applications (such as Firefox) both in privileged (extensions) and unprivileged (web pages) code.
962 Introduction to the DOM Beginner, 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.
963 Locating DOM elements using selectors Beginner, DOM, NeedsBeginnerUpdate
The Selectors API provides methods that make it quick and easy to retrieve Element nodes from the DOM by matching against a set of CSS_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.
964 Traversing an HTML table with JavaScript and DOM Interfaces API, DOM, Guide, HTML, JavaScript
DOM
965 Using the W3C DOM Level 1 Core DOM, 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.
966 Example DOM
No summary!
967 How whitespace is handled by HTML, CSS, and in the DOM CSS, 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.
968 Document API, DOM, Document, Interface, Reference
The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
969 Document.activeElement API, Document, Focus, Property, Reference, ShadowRoot, activeElement
The activeElement read-only property of the Document interface returns the Element within the DOM that currently has focus.
970 Document.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.
971 Document.alinkColor API, Deprecated, HTML DOM, Property, Reference
Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup events.
972 Document.all API, 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).
973 Document.anchors API, Deprecated, Document, HTML DOM, Property, Reference
The anchors read-only property of the Document interface returns a list of all of the anchors in the document.
974 Document: animationcancel event API, 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.
975 Document: animationend event API, 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.
976 Document: animationiteration event API, 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.
977 Document: animationstart event API, 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).
978 Document.append() API, DOM, Document, Method, Node, Reference
The Document.append() method inserts a set of Node objects or DOMString objects after the last child of the document. DOMString objects are inserted as equivalent Text nodes.
979 Document.applets API, Deprecated, Document, HTML DOM, NeedsMarkupWork, Property, Reference
The applets property of the Document interface returns a list of the applets within a document.
980 Document.bgColor API, Deprecated, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The deprecated  bgColor property gets or sets the background color of the current document.
981 Document.body API, Document, HTML DOM, Property, Reference
The Document.body property represents the body or frameset node of the current document, or null if no such element exists.
982 Document.caretPositionFromPoint() API, Document, Method, Reference
The caretPositionFromPoint() property of the Document interface returns a CaretPosition object, containing the DOM node, along with the caret and caret's character offset within that node.
983 Document.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.
984 Document.characterSet API, DOM, Document, Property, Read-only, Reference
The Document.characterSet read-only property returns the character encoding of the document that it's currently rendered with.
985 Document.childElementCount API, DOM, Property, Reference
The Document.childElementCount read-only property returns the number of child elements of the document.
986 Document.children API, DOM, Element, HTMLCollection, Property, children
The read-only children property returns a live HTMLCollection which contains all of the child Element of the document upon which it was called.
987 Document.clear() API, Deprecated, Document, HTML DOM, Method, NeedsExample, NeedsSpecTable, Reference
The Document.clear() method clears the whole specified document in early (pre-1.0) versions of Mozilla.
988 Document.close() API, Document, HTML DOM, Method, Reference
The Document.close() method finishes writing to a document, opened with Document.open().
989 Document.compatMode API, DOM, Document, Property, Reference
The Document.compatMode read-only property indicates whether the document is rendered in Quirks mode or Standards mode.
990 Document.contentType API, DOM, Document, MIME, Property, Read-only, Reference
The Document.contentType read-only property returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.
991 Document.cookie API, 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.
992 Document: copy event API, Clipboard API, Document, Event, Reference, Web, copy
The copy event fires when the user initiates a copy action through the browser's user interface.
993 Document.createAttribute() API, DOM, Method, Reference
The Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
994 Document.createCDATASection() API, DOM, Method, Reference
createCDATASection() creates a new CDATA section node, and returns it.
995 Document.createComment() API, DOM, Method, Reference
createComment() creates a new comment node, and returns it.
996 Document.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.
997 Document.createElement() API, DOM, Document, Method, Reference, createElement
In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
998 Document.createElementNS() API, DOM, Method, Reference
Creates an element with the specified namespace URI and qualified name.
999 Document.createEntityReference() API, DOM, Deprecated, Method, 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.
1000 Document.createEvent() API, DOM, Method, Reference
Creates an event of the type specified. The returned object should be first initialized and can then be passed to EventTarget.dispatchEvent.
1001 Document.createExpression() API, DOM, Method, Reference, XPath, createExpression
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
1002 Document.createNodeIterator() API, DOM, Gecko, MakeBrowserAgnostic, Method
Returns a new NodeIterator object.
1003 Document.createNSResolver() API, DOM, DOM Reference, Method, Reference
Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
1004 Document.createProcessingInstruction() API, DOM, Document, Method, Reference, createProcessInstruction
createProcessingInstruction() generates a new processing instruction node and returns it.
1005 Document.createRange() API, DOM, DOM Reference, Document, DocumentRange.createRange, Method, Range
The Document.createRange() method returns a new Range object.
1006 Document.createTextNode() API, DOM, Document, Method, Reference, createTextNode
Creates a new Text node. This method can be used to escape HTML characters.
1007 Document.createTouch() API, Deprecated, HTML DOM, Method, Mobile, Reference, createTouch, touch
The Document.createTouch() method creates and returns a new Touch object.
1008 Document.createTouchList() API, Deprecated, Document, HTML DOM, Method, Mobile, createTouchList, touch
The Document.createTouchList() method creates and returns a new TouchList object.
1009 Document.createTreeWalker() API, DOM, DOM Reference, Document, Method
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
1010 Document.currentScript API, 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 import.meta instead.)
1011 Document: cut event Event
The cut event is fired when the user has initiated a "cut" action through the browser's user interface.
1012 Document.defaultView API, Document, HTML DOM, Property, Reference
In browsers, document.defaultView returns the Window object associated with Browsing_context, or null if none is available.
1013 Document.designMode API, Document, HTML DOM, NeedsContent, NeedsSpecTable, Property, Reference, editor
document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off". Firefox follows this standard. The earlier versions of Chrome and IE default to "inherit". Starting in Chrome 43, the default is "off" and "inherit" is no longer supported. In IE6-10, the value is capitalized.
1014 Document.dir API, 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.
1015 Document.doctype API, DOM, Document, Property, Reference
Returns the Document Type Declaration (DTD) associated with current document. The returned object implements the DocumentType interface. Use DOMImplementation.createDocumentType() to create a DocumentType.
1016 Document() API, Constructor, DOM, Document, Reference
The Document constructor creates a new Document object that is a web page loaded in the browser and serving as an entry point into the page's content.
1017 Document.documentElement API, 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).
1018 Document.documentURI API, DOM, Document, Property, Read-only, Reference
The documentURI read-only property of the Document interface returns the document location as a string.
1019 Document.documentURIObject API, DOM, Non-standard, Property, Reference
The Document.documentURIObject read-only property returns an nsIURI object representing the URI of the document.
1020 Document.domain API, Deprecated, 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.
1021 Document: DOMContentLoaded event API, 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.
1022 Document: drag event API, 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.
1023 Document: dragend event API, 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).
1024 Document: dragenter event API, 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.
1025 Document: dragleave event API, 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.
1026 Document: dragover event API, 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).
1027 Document: dragstart event DOM, Event, Reference, drag and drop
The dragstart event is fired when the user starts dragging an element or text selection.
1028 Document: drop event DOM, 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.
1029 Document.elementFromPoint() API, Coordinates, Document, Method, Reference
The elementFromPoint() method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport).
1030 Document.elementsFromPoint() API, Document, Method, Reference, elementsFromPoint
The elementsFromPoint() method of the Document interface returns an array of all elements at the specified coordinates (relative to the viewport).
1031 Document.embeds API, Document, HTML DOM, NeedsExample, Property
The embeds read-only property of the Document interface returns a list of the embedded embed elements within the current document.
1032 Document.enableStyleSheetsForSet() API, CSSOM, DOM, Deprecated, 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).
1033 Document.evaluate() API, DOM, Method, Reference, XPath
Returns an XPathResult based on an XPath expression and other given parameters.
1034 Document.execCommand() API, DOM, Deprecated, 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.
1035 Document.exitFullscreen() API, DOM, Document, Full, Full-screen, Fullscreen API, Method, Reference, exitFullscreen, fullscreen, screen
The Document method exitFullscreen() requests that the element on this document which is currently being presented in full-screen mode be taken out of full-screen mode, restoring the previous state of the screen.
1036 Document.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.
1037 Document.exitPointerLock() API, Experimental, Method, Reference, mouse lock
The exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock.
1038 Document.featurePolicy API, 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.
1039 Document.fgColor API, Deprecated, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
fgColor gets/sets the foreground color, or text color, of the current document.
1040 Document.firstElementChild API, DOM, Element, Property
The Document.firstElementChild read-only property returns the document's first child Element, or null if there are no child elements.
1041 Document.fonts API, DOM, Font Loading API, FontFace, FontFaceSet, Fonts, font
The fonts property of the Document interface returns the FontFaceSet interface of the document.
1042 Document.forms API, DOM, Document, Forms, HTML DOM, HTML forms, Property, Reference
The forms read-only property of the Document interface returns an HTMLCollection listing all the form elements contained in the document.
1043 Document.fullscreen API, Deprecated, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, screen
The obsolete Document interface's fullscreen read-only property reports whether or not the document is currently displaying content in full-screen mode.
1044 Document: fullscreenchange event API, Event, Fullscreen API, Reference, fullscreen, fullscreenchange
The fullscreenchange event is fired immediately after the browser switches into or out of full-screen mode.
1045 Document.fullscreenElement API, Document, Full-screen, Fullscreen API, Graphics, Property, Read-only, Reference, fullscreenElement, screen
The Document.fullscreenElement read-only property returns the Element that is currently being presented in full-screen mode in this document, or null if full-screen mode is not currently in use.
1046 Document.fullscreenEnabled API, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, fullscreenEnabled, screen
The read-only fullscreenEnabled property on the Document interface indicates whether or not full-screen mode is available.
1047 Document: fullscreenerror event API, Error, Event, Fullscreen API, Reference, fullscreen, fullscreenerror
The fullscreenerror event is fired when the browser cannot switch to full-screen mode.
1048 Document.getAnimations() API, Animation, CSS, CSS Animations, CSS Transitions, Document, 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.
1049 Document.getBoxObjectFor() API, DOM, Deprecated, Method, Reference
Returns a boxObject (x, y, width, height) for a specified element.
1050 Document.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.
1051 Document.getElementsByClassName() API, DOM, DOM Element Methods, Gecko, HTML5, Method, Reference
returns an array-like object of all child elements which have all of the given class name(s).
1052 Document.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.
1053 Document.getElementsByTagName() API, DOM, Method, Reference
returns an HTMLCollection of elements with the given tag name.
1054 Document.getElementsByTagNameNS() API, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference, getElementsByTagNameNS
Returns a list of elements with the given tag name belonging to the given namespace. The complete document is searched, including the root node.
1055 Document.getSelection() API, Document, Method, Reference, getSelection
The getSelection() property of the Document interface returns a Selection object representing the range of text selected by the user, or the current position of the caret.
1056 Document: gotpointercapture event Document, Event, PointerEvent, Reference, Web, gotpointercapture
The gotpointercapture event is fired when an element captures a pointer using Element.setPointerCapture.
1057 Document.hasFocus() API, DOM, Focus, Method, Reference
The hasFocus() method of the Document interface returns a Boolean value indicating whether the document or any element inside the document has focus. This method can be used to determine whether the active element in a document has focus.
1058 Document.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.
1059 Document.head API, Document, HTML DOM, Property, Reference
The head read-only property of the Document interface returns the head element of the current document.
1060 Document.height API, Deprecated, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
Returns the height of the document object. In most cases, this is equal to the body element of the current document.
1061 Document.hidden DOM, 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.
1062 Document.images API, Document, HTML DOM, Images, Property, Reference
The images read-only property of the Document interface returns a collection of the images in the current HTML document.
1063 Document.implementation API, DOM, Document, NeedsContent, Property, Reference
The Document.implementation property returns a DOMImplementation object associated with the current document.
1064 Document.importNode() API, DOM, Document, Method, Node, Reference, copy, importNode
The Document object's importNode() method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
1065 Document: keydown event API, DOM, Document, Event, KeyboardEvent, Reference, keydown
The keydown event is fired when a key is pressed.
1066 Document: keypress event DOM, Deprecated, Event, KeyboardEvent, Reference
The keypress event is fired when a key that produces a character value is pressed down.
1067 Document: keyup event DOM, Document, Event, KeyboardEvent, Reference, keyup
The keyup event is fired when a key is released.
1068 Document.lastElementChild API, DOM, Element, Property
The Document.lastElementChild read-only property returns the document's last child Element, or null if there are no child elements.
1069 Document.lastModified API, 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.
1070 Document.lastStyleSheetSet API, CSSOM, DOM, Deprecated, 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.
1071 Document.linkColor API, Deprecated, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.linkColor property gets/sets the color of links within the document.
1072 Document.links API, Document, HTML DOM, Property, Reference
The links read-only property of the Document interface returns a collection of all area elements and a elements in a document with a value for the href attribute.
1073 Document.location API, Document, HTML DOM, Property, Read-only, Reference
The Document.location read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
1074 Document: lostpointercapture event API, Document, Event, PointerEvent, Reference, lostpointercapture
The lostpointercapture event is fired when a captured pointer is released.
1075 Document.mozSetImageElement() API, DOM, DOM Reference, Method, Non-standard, Reference
The Document.mozSetImageElement() method changes the element being used as the CSS background for a background with a given background element ID.
1076 Document.mozSyntheticDocument API, DOM, Non-standard, Property, Reference
The Document.mozSyntheticDocument property indicates whether or not the document is a synthetic one; that is, a document representing a standalone image, video, audio, or the like.
1077 Document.onafterscriptexecute API, DOM, Non-standard, Property, Reference
The Document.onafterscriptexecute property references a function that fires when a static script element finishes executing its script. It does not fire if the element is added dynamically, such as with Node.appendChild().
1078 Document.onbeforescriptexecute API, DOM, Non-standard, Property, Reference, element.onbeforescriptexecute
Fired when the code in a script element declared in an HTML document is about to start executing. Does not fire if the element is added dynamically, eg with appendChild().
1079 Document.onfullscreenchange API, 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.
1080 Document.onfullscreenerror API, Document, Error, Event Handler, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenerror, screen
The Document.onfullscreenerror property is an event handler for the fullscreenerror event that is sent to the  document when it fails to transition into full-screen mode after a prior call to Element.requestFullscreen().
1081 Document.onoffline API, DOM, NeedsContent, Property, Reference
The Document.onoffline event handler is called when an offline is fired on the body element and bubbles up, when Navigator.onLine property changes and becomes false.
1082 Document.ononline API, DOM, Document, Property, Reference
The Document.online event is fired on the body of each page when the browser switches between online and offline mode. Additionally, the events bubble up from document.body, to document, ending at window. Both events are non-cancellable (you can't prevent the user from coming online, or going offline).
1083 Document.onvisibilitychange API, Document, Event Handler, Page Visibility, Property, Reference, onvisibilitychange
The Document.onvisibilitychange property represents the event handler that is called when a visibilitychange event reaches this object.
1084 Document.open() API, DOM, Document, Method, Reference, open
The Document.open() method opens a document for Document.write.
1085 Document.origin API, DOM, Deprecated, 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.
1086 Document: paste event API, Document, Event, Reference, Web, paste
The paste event is fired when the user has initiated a "paste" action through the browser's user interface.
1087 Document.pictureInPictureElement API, Document, Graphics, Picture-in-Picture, Picture-in-Picture API, Property, Read-only, Reference, pictureInPictureElement, pip
The Document.pictureInPictureElement read-only property returns the Element 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.
1088 Document.pictureInPictureEnabled API, 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.
1089 Document.plugins API, Document, NeedsMarkupWork, Property, Reference
The plugins read-only property of the Document interface returns an HTMLCollection object containing one or more HTMLEmbedElements representing the embed elements in the current document.
1090 Document: pointercancel event API, 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.
1091 Document: pointerdown event API, 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.
1092 Document: pointerenter event API, 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).
1093 Document: pointerleave event API, 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.
1094 Document: pointerlockchange event Document, Event, Reference, Web, pointerlockchange
The pointerlockchange event is fired when the pointer is locked/unlocked.
1095 Document.pointerLockElement API, DOM, Document, Property, Reference, mouse lock
The read-only pointerLockElement property of the Document interface 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.
1096 Document: pointerlockerror event Document, Event, Reference, Web, pointerlockerror
The pointerlockerror event is fired when locking the pointer failed (for technical reasons or because the permission was denied).
1097 Document: pointermove event Document, 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.
1098 Document: pointerout event Document, 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.
1099 Document: pointerover event Document, 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.
1100 Document: pointerup event API, Document, Event, PointerEvent, Reference, Web, onpointerup, pointerup
The pointerup event is fired when a pointer is no longer active.
1101 Document.preferredStyleSheetSet API, CSSOM, DOM, Deprecated, Document, Property, Reference, Stylesheets
The preferredStyleSheetSet property returns the preferred style sheet set as set by the page author.
1102 Document.prepend() API, DOM, Document, Method, Node, Reference
The Document.prepend() method inserts a set of Node objects or DOMString objects before the first child of the document. DOMString objects are inserted as equivalent Text nodes.
1103 Document.queryCommandEnabled() CSS, Deprecated, Document, Method, Reference
The Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser.
1104 Document.queryCommandState() API, DOM, Deprecated, Reference
The queryCommandState() method will tell you if the current selection has a certain Document.execCommand() command applied.
1105 Document.queryCommandSupported() API, DOM, Deprecated, Document, Method, Reference, editor
The Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser.
1106 Document.querySelector() API, CSS Selectors, DOM, DOM Elements, Document, Method, Reference, Selector API, Selectors, querySelector
The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors. If no matches are found, null is returned.
1107 Document.querySelectorAll() API, CSS Selectors, DOM, Document, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelectorAll
The Document method querySelectorAll() returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
1108 Document.readyState API, HTML DOM, Property, Reference
The Document.readyState property describes the loading state of the document.
1109 Document: readystatechange event Event, Reference, XMLHttpRequest, interactive
The readystatechange event is fired when the Document.readyState attribute of a document has changed.
1110 Document.referrer API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The Document.referrer property returns the URI of the page that linked to this page.
1111 Document.registerElement() API, DOM, Deprecated, Method, Reference, Web Components
Warning: document.registerElement() is deprecated in favor of CustomElementRegistry.define().
1112 Document.releaseCapture() API, DOM, Method, Reference
The releaseCapture() method releases mouse capture if it's currently enabled on an element within this document. Enabling mouse capture on an element is done by calling element.setCapture().
1113 Document.replaceChildren() API, DOM, Document, Method, Node, Reference, replaceChildren
The Document.replaceChildren() method replaces the existing children of a Document with a specified new set of children.
1114 Document.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.
1115 Document.rootElement API, DOM, Deprecated, Document, 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.
1116 Document.scripts API, Document, HTML DOM, Property, Reference
The scripts property of the Document interface returns a list of the script elements in the document. The returned object is an HTMLCollection.
1117 Document: scroll event API, DOM, Document, Event, Reference, Scroll, UIEvent
The scroll event fires when the document view has been scrolled. For element scrolling, see Element/scroll_event.
1118 Document.scrollingElement API, Document, Property, Reference, scrollingElement
The scrollingElement read-only property of the Document interface returns a reference to the Element that scrolls the document. In standards mode, this is the root element of the document, document.documentElement.
1119 Document.selectedStyleSheetSet API, CSSOM, DOM, Deprecated, Property, Reference, Stylesheets
The selectedStyleSheetSet property indicates the name of the style sheet set that's currently in use.
1120 Document: selectionchange event API, 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.
1121 Document: selectstart event Document, Event, Reference, Selection, Selection API, selectstart
The selectstart event of the Selection API is fired when a user starts a new selection.
1122 Document.styleSheets API, Document, Property, Reference, Stylesheets
The styleSheets read-only property of the Document interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
1123 Document.styleSheetSets API, CSSOM, DOM, Deprecated, Property, Reference, Stylesheets
The styleSheetSets read-only property returns a live list of all of the currently-available style sheet sets.
1124 Document.timeline API, Animation, AnimationTimeline, Document, DocumentTimeline, Experimental, Property, Reference, Web Animations, timeline, waapi, web animations api
The timeline readonly property of the Document interface represents the default timeline of the current document. This timeline is a special instance of DocumentTimeline that is automatically created on page load. 
1125 Document.title API, Command API, Document, HTML DOM, NeedsSpecTable, Property, Reference
The document.title property gets or sets the current title of the document.
1126 Document: touchcancel event Document, 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).
1127 Document: touchend event API, 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.
1128 Document: touchmove event API, 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.
1129 Document: touchstart event Document, Event, Reference, TouchEvent, Web, touchstart
The touchstart event is fired when one or more touch points are placed on the touch surface.
1130 Document: transitioncancel event API, CSS Transitions, Document, Event, Reference, TransitionEvent, Web, transitioncancel
The transitioncancel event is fired when a CSS transition is canceled.
1131 Document: transitionend event CSS 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.
1132 Document: transitionrun event Document, 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.
1133 Document: transitionstart event DOM, 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.
1134 Document.URL API, DOM, Document, Property, Reference
The URL read-only property of the Document interface returns the document location as a string.
1135 Document: visibilitychange event API, Document, Event, Reference, Visibility, Web, visibilitychange
The visibilitychange event is fired at the document when the contents of its tab have become visible or have been hidden.
1136 Document.visibilityState DOM, Document, Page Visibility API, Property, Read-only, Reference, Web
The Document.visibilityState read-only property returns the visibility of the document, that is in which context this element is now visible. It is useful to know if the document is in the background or an invisible tab, or only loaded for pre-rendering.
1137 Document.vlinkColor API, Deprecated, Document, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference
The Document.vlinkColor property gets/sets the color of links that the user has visited in the document.
1138 Document: wheel event API, Document, Event, Reference, wheel
The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1139 Document.width API, Deprecated, Document, HTML DOM, NeedsBrowserAgnosticism, NeedsSpecTable, Property, Reference
Returns the width of the body element of the current document in pixels.
1140 Document.write() API, DOM, Document, Method, Reference, write
The Document.write() method writes a string of text to a document stream opened by document.open().
1141 Document.writeln() API, DOM, Method, Reference
Writes a string of text followed by a newline character to a document.
1142 Document.xmlEncoding API, DOM, Deprecated, Document.xmlEncoding, MakeBrowserAgnostic, Property
Returns the encoding as determined by the XML declaration. Should be null if unspecified or unknown.
1143 Document.xmlVersion API, DOM, DOM Reference, Deprecated, 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.
1144 DocumentFragment API, DOM, DocumentFragment, Documents, Interface, Reference, Web Components
The DocumentFragment interface represents a minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document.
1145 DocumentFragment.append() API, DOM, DocumentFragment, Method, Node, Reference
The DocumentFragment.append() method inserts a set of Node objects or DOMString objects after the last child of the document fragment. DOMString objects are inserted as equivalent Text nodes.
1146 DocumentFragment.childElementCount API, DOM, Property, Reference
The Document.childElementCount read-only property returns the number of child elements of a DocumentFragment.
1147 DocumentFragment.children API, DOM, Element, HTMLCollection, Property, children
The read-only children property returns a live HTMLCollection which contains all of the child Element of the document fragment upon which it was called.
1148 DocumentFragment() API, Constructor, DOM, DocumentFragment, Experimental
The DocumentFragment() constructor returns a new, empty DocumentFragment object .
1149 DocumentFragment.firstElementChild API, DOM, Element, Property
The DocumentFragment.firstElementChild read-only property returns the document fragment's first child Element, or null if there are no child elements.
1150 DocumentFragment.lastElementChild API, DOM, Element, Property
The DocumentFragment.lastElementChild read-only property returns the document fragment's last child Element, or null if there are no child elements.
1151 DocumentFragment.prepend() API, DOM, DocumentFragment, Method, Node, Reference
The DocumentFragment.prepend() method inserts a set of Node objects or DOMString objects before the first child of the document fragment. DOMString objects are inserted as equivalent Text nodes.
1152 DocumentFragment.querySelector() API, DOM, DocumentFragment, Method
The DocumentFragment.querySelector() method returns the first element, or null if no matches are found, within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
1153 DocumentFragment.querySelectorAll() API, DOM, DocumentFragment, Method
The DocumentFragment.querySelectorAll() method returns a NodeList of elements within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
1154 DocumentFragment.replaceChildren() API, DOM, DocumentFragment, Method, Node, Reference, replaceChildren
The DocumentFragment.replaceChildren() method replaces the existing children of a DocumentFragment with a specified new set of children. These can be DOMString or Node objects.
1155 DocumentTimeline API, 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).
1156 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.
1157 DocumentType API, DOM, DocumentType, Interface
The DocumentType interface represents a Node containing a doctype.
1158 DocumentType.after() API, DOM, Method, Node, Reference
The DocumentType.after() method inserts a set of Node or DOMString objects in the children list of the DocumentType's parent, just after the DocumentType. DOMString objects are inserted as equivalent Text nodes.
1159 DocumentType.before() API, DOM, Method, Node, Reference
The DocumentType.before() method inserts a set of Node or DOMString objects in the children list of the DocumentType's parent, just before the DocumentType. DOMString objects are inserted as equivalent Text nodes.
1160 DocumentType.remove() API, DOM, DocumentType, Method
The DocumentType.remove() method removes a document's doctype.
1161 DocumentType.replaceWith() API, DOM, DocumentType, Method, Reference
The DocumentType.replaceWith() method replaces the document type with a set of given nodes.
1162 DOMError API, DOM, DOMError, Deprecated, Interface, Reference
The DOMError interface describes an error object that contains an error name.
1163 DOMException API, 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.
1164 DOMException.code API, Code, DOMException, Property, Reference
The code read-only property of the DOMException interface returns a short that contains one of the error code constants, or 0 if none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name attribute.
1165 DOMException() API, Constructor, DOMException, Reference
The DOMException() constructor returns a DOMException object with a specified message and name.
1166 DOMException.message API, DOMException, Property, Reference, message
The message read-only property of the DOMException interface returns a DOMString representing a message or description associated with the given error name.
1167 DOMException.name API, 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.
1168 DOMHighResTimeStamp API, 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.
1169 DOMImplementation API, 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.
1170 DOMImplementation.createDocument() API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.createDocument() method creates and returns an XMLDocument.
1171 DOMImplementation.createDocumentType() API, DOM, DOMImplementation, Method, Reference
The DOMImplementation.createDocumentType() method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore() or Node.replaceChild().
1172 DOMImplementation.createHTMLDocument() API, DOM, DOM Reference, DOMImplementation, Method, Reference
The DOMImplementation.createHTMLDocument() method creates a new HTML Document.
1173 DOMImplementation.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.
1174 DOMMatrix (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.
1175 DOMMatrix() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
The DOMMatrix constructor creates a new DOMMatrix object which represents 4x4 matrices, suitable for 2D and 3D operations..
1176 DOMMatrixReadOnly 2D, 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.
1177 DOMMatrixReadOnly() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
The DOMMatrixReadOnly constructor creates a new DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
1178 DOMMatrixReadOnly.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.
1179 DOMMatrixReadOnly.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.
1180 DOMMatrixReadOnly.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.
1181 DOMObject API, DOM, DOM Reference, DOMObject, Deprecated, Object, Reference
The obsolete DOMObject interface was used in earlier versions of the DOM specification as the base class for any object data type.
1182 DOMParser API, DOM, DOM Parsing, Document, HTML, HTMLDocument, Parsing, Reference
The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.
1183 DOMParser() API, Constructor, DOM Parsing, Parsing, Reference
The DOMParser() constructor creates a new DOMParser object.
1184 DOMParser.parseFromString() API, Method, Reference
The parseFromString() method of the DOMParser interface parses a string containing either HTML or XML, returning an HTMLDocument or an XMLDocument.
1185 DOMPoint API, 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.
1186 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.
1187 DOMPoint.fromPoint() API, Coordinates, 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.
1188 DOMPoint.w API, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.
1189 DOMPoint.x API, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, x
The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.
1190 DOMPoint.y API, Coordinate, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, y
The DOMPoint interface's y property holds the vertical coordinate, y, for a point in space.
1191 DOMPoint.z API, Coordinate, DOM, DOMPoint, Depth, Geometry, Geometry Interfaces, Point, Position, Property, Reference, z
The DOMPoint interface's z property specifies the depth coordinate of a point in space.
1192 DOMPointInit API, Coordinates, DOM, DOMPointInit, Dictionary, Geometry, Geometry Interfaces, Interface, Point, Reference
The DOMPointInit dictionary is used to provide the values of the coordinates and perspective when creating and JSONifying a DOMPoint or DOMPointReadOnly object.
1193 DOMPointInit.w API, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
The DOMPointInit dictionary's w property is used to specify the w perspective value of a point in space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
1194 DOMPointInit.x API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, x
The DOMPointInit dictionary's x property is used to specify the x component of a point in 2D or 3D space when either creating or serializing a DOMPoint or DOMPointReadOnly.
1195 DOMPointInit.y API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, y
The DOMPointInit dictionary's y property is used to specify the y-coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
1196 DOMPointInit.z API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, z
The DOMPointInit dictionary's z property is used to specify the z-coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly object.
1197 DOMPointReadOnly API, Coordinate, DOM, DOM Reference, DOMPointReadOnly, Geometry, Geometry Interfaces, Interface, Point, Reference
The DOMPointReadOnly interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
1198 DOMPointReadOnly() API, Constructor, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Reference
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
1199 DOMPointReadOnly.fromPoint() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Method, Point, Reference, Static Method, fromPoint
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
1200 DOMPointReadOnly.toJSON() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, JSON, Method, Point, Reference, toJSON
The DOMPointReadOnly method toJSON() returns a DOMPointInit object giving the JSON form of the point object.
1201 DOMPointReadOnly.w API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Property, Read-only, Reference, W, perspective
The DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
1202 DOMPointReadOnly.x API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, x
The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space. This property cannot be changed by JavaScript code in this read-only version of the DOMPoint object.
1203 DOMPointReadOnly.y API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, Vertical, y
The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
1204 DOMPointReadOnly.z API, Coordinates, DOM, DOMPointReadOnly, Depth, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, z
The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
1205 DOMQuad API, DOM, DOM Reference, DOMQuad, Experimental, Geometry
A DOMQuad is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.
1206 DOMRect API, DOM, DOM Reference, DOMRect, Geometry, Geometry Interfaces, Interface, Rectangle, Reference
A DOMRect describes the size and position of a rectangle.
1207 DOMRect() API, Constructor, DOM Reference, DOMRect, Experimental, Geometry, Reference
The DOMRect() constructor creates a new DOMRect object.
1208 DOMRectReadOnly API, 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.
1209 DOMRectReadOnly.bottom API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, 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.)
1210 DOMRectReadOnly() API, Constructor, DOM, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Reference
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
1211 DOMRectReadOnly.fromRect() API, DOM Reference, DOMRect, DOMRectReadOnly, Experimental, Geometry, Method, Reference, fromRect()
The fromRect() property of the DOMRectReadOnly interface creates a new DOMRectReadOnly object with a given location and dimensions.
1212 DOMRectReadOnly.height API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, height
The height read-only property of the DOMRectReadOnly interface represents the height of the DOMRect.
1213 DOMRectReadOnly.left API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, 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.)
1214 DOMRectReadOnly.right API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, 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.)
1215 DOMRectReadOnly.top API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, 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.)
1216 DOMRectReadOnly.width API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, width
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
1217 DOMRectReadOnly.x API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, x
The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
1218 DOMRectReadOnly.y API, DOM, DOMRect, DOMRectReadOnly, Experimental, Geometry, Property, Reference, y
The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.
1219 DOMString API, 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.
1220 Binary strings DOM, 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.
1221 DOMStringList API, DOM, DOMStringList, Reference
A type returned by some APIs which contains a list of DOMString (strings).
1222 DOMStringMap API, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference
The DOMStringMap interface is used for the HTMLElement.dataset/SVGElement.dataset attribute, to represent data for custom attributes added to elements.
1223 DOMTimeStamp API, DOM, Interface, Reference
The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears.
1224 DOMTokenList API, DOM, DOMTokenList, Interface, Reference
The DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive.
1225 DOMTokenList.add() API, Add, DOM, DOMTokenList, Method, Reference
The add() method of the DOMTokenList interface adds the given token to the list.
1226 DOMTokenList.contains() API, Contains, DOM, DOMTokenList, Method, Reference
The contains() method of the DOMTokenList interface returns a Booleantrue if the underlying list contains the given token, otherwise false.
1227 DOMTokenList.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.
1228 DOMTokenList.forEach() DOM, DOMTokenList, Iterable, Method, Reference, Web, forEach
The forEach() method of the DOMTokenList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
1229 DOMTokenList.item() API, DOM, DOMTokenList, Method, Reference, item
The item() method of the DOMTokenList interface returns an item in the list by its index.
1230 DOMTokenList.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.
1231 DOMTokenList.length API, DOM, DOMTokenList, Property, Reference, length
The length read-only property of the DOMTokenList interface is an integer representing the number of objects stored in the object.
1232 DOMTokenList.remove() API, DOM, DOMTokenList, Method, Reference, remove
The remove() method of the DOMTokenList interface removes the specified tokens from the list.
1233 DOMTokenList.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.
1234 DOMTokenList.supports() API, DOM, Method, Reference
The supports() method of the DOMTokenList interface returns true if a given token is in the associated attribute's supported tokens. This method is intended to support feature detection.
1235 DOMTokenList.toggle() API, DOM, DOMTokenList, Method, Reference, toggle
The toggle() method of the DOMTokenList interface removes a given token from the list and returns false. If token doesn't exist it's added and the function returns true.
1236 DOMTokenList.value API, 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.
1237 DOMTokenList.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.
1238 DoubleRange API, Constraints, Dictionary, DoubleRange, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
The DoubleRange dictionary is used to define a range of permitted double-precision floating-point values for a property, with either or both a maximum and minimum value specified. The ConstrainDouble dictionary is based on this, augmenting it to support exact and ideal values as well.
1239 DragEvent API, 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.
1240 DragEvent.dataTransfer API, DOM, Property, Reference, drag and drop
The DragEvent.dataTransfer property holds the drag operation's data (as a DataTransfer object).
1241 DragEvent() API, Constructor, DOM, Reference, drag and drop
This constructor is used to create a synthetic DragEvent object.
1242 DynamicsCompressorNode API, 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 BaseAudioContext.createDynamicsCompressor method.
1243 DynamicsCompressorNode.attack API, 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.
1244 DynamicsCompressorNode() Audio, Constructor, DynamicsCompressorNode, Media, Web Audio API
The DynamicsCompressorNode() constructor creates a new DynamicsCompressorNode object which provides a compression effect, which lowers the volume of the loudest parts of the signal
1245 DynamicsCompressorNode.knee API, DynamicsCompressorNode, Property, Reference, 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.
1246 DynamicsCompressorNode.ratio API, 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.
1247 DynamicsCompressorNode.reduction API, DynamicsCompressorNode, Property, Reference, 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.
1248 DynamicsCompressorNode.release API, 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.
1249 DynamicsCompressorNode.threshold API, 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.
1250 EcdhKeyDeriveParams API, 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.
1251 EcdsaParams API, 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.
1252 EcKeyGenParams API, 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.
1253 EcKeyImportParams API, 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.
1254 EffectTiming API, Animation, Dictionary, EffectTiming, Experimental, Interface, KeyframeEffect, Reference, Web Animations, animate, web animations api
The EffectTiming dictionary, part of the Web Animations API, is used by Element.animate(), KeyframeEffectReadOnly.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.
1255 EffectTiming.delay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, delay, waapi, web animations api
The EffectTiming dictionary's delay property in the Web Animations API represents the number of milliseconds to delay the start of the animation.
1256 EffectTiming.direction API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, direction, waapi, web animations api
The direction property of the Web Animations API dictionary EffectTiming indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an iteration
1257 EffectTiming.duration API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, duration, waapi, web animations api
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
1258 EffectTiming.easing API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Timing Function, Web Animations, animate, easing, waapi, web animations api
The EffectTiming dictionary's easing property in the Web Animations API specifies the timing function used to scale the time to produce easing effects, where easing is the rate of the animation's change over time.
1259 EffectTiming.endDelay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, endDelay, waapi, web animations api
The endDelay property of the EffectTiming dictionary (part of the Web Animations API) indicates the number of milliseconds to delay after the active period of an animation sequence. The animation's end time—the time at which an iteration is considered to have finished—is the time at which the animation finishes an iteration (its initial delay, AnimationEffectTimingReadOnly.delay, plus its duration,AnimationEffectTimingReadOnly.duration, plus its end delay.
1260 EffectTiming.fill API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, fill, web animations api
The Web Animations API's EffectTiming dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by AnimationEffectTimingProperties.iterationStart or after animation's end time.
1261 EffectTiming.iterations API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterations, waapi, web animations api
The Web Animations API dictionary EffectTiming's iterations property specifies the number of times the animation should repeat. The default value is 1, indicating that it should only play once, but you can set it to any floating-point value (including positive Infinity defaults to 1, and can also take a value of Infinity to make it loop infinitely. 
1262 EffectTiming.iterationStart API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterationStart, waapi, web animations api
Web Animations API's EffectTiming dictionary's  iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it.
1263 Element Timing API API, ElementTiming, Overview, Performance, Reference
The Element Timing API provides features for monitoring the loading performance of large image elements and text nodes as they appear on screen.
1264 Element API, 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.
1265 Element.after() API, DOM, Method, Node, Reference
The Element.after() method inserts a set of Node or DOMString objects in the children list of the Element's parent, just after the Element. DOMString objects are inserted as equivalent Text nodes.
1266 Element: afterscriptexecute event Event, Non-standard, Reference
This event was a proposal in an early version of the specification. Do not rely on it.
1267 Element.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.
1268 Element.append() API, DOM, Element, Method, Node, Reference
The Element.append() method inserts a set of Node objects or DOMString objects after the last child of the Element. DOMString objects are inserted as equivalent Text nodes.
1269 Element.ariaAtomic API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaAtomic
The ariaAtomic property of the Element interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
1270 Element.ariaAutoComplete API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaAutoComplete
The ariaAutoComplete property of the Element interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
1271 Element.ariaBusy API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaBusy
The ariaBusy property of the Element interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
1272 Element.ariaChecked API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaChecked
The ariaChecked property of the Element interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
1273 Element.ariaColCount API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaColCount
The ariaColCount property of the Element interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
1274 Element.ariaColIndex API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaColIndex
The ariaColIndex property of the Element interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
1275 Element.ariaColIndexText API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaColIndexText
The ariaColIndexText property of the Element interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
1276 Element.ariaColSpan API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaColSpan
The ariaColSpan property of the Element interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1277 Element.ariaCurrent API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaCurrent
The ariaCurrent property of the Element interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
1278 Element.ariaDescription API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaDescription
The ariaDescription property of the Element interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
1279 Element.ariaDisabled API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaDisabled
The ariaDisabled property of the Element interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
1280 Element.ariaExpanded API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaExpanded
The ariaExpanded property of the Element interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
1281 Element.ariaHasPopup API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaHasPopup
The ariaHasPopup property of the Element interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
1282 Element.ariaHidden API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaHidden
The ariaHidden property of the Element interface reflects the value of the aria-hidden attribute, which indicates whether the element is exposed to an accessibility API.
1283 Element.ariaKeyShortcuts API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaKeyShortcuts
The ariaKeyShortcuts property of the Element interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
1284 Element.ariaLabel API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaLabel
The ariaLabel property of the Element interface reflects the value of the aria-label attribute, which defines a string value that labels the current element.
1285 Element.ariaLevel API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaLevel
The ariaLevel property of the Element interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
1286 Element.ariaLive API, AriaAttributes, Element, Property, Reference, ariaLive
The ariaLive property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
1287 Element.ariaModal API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaModal
The ariaModal property of the Element interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed.
1288 Element.ariaMultiline API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaMultiline
The ariaMultiline property of the Element interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
1289 Element.ariaMultiSelectable API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaMultiSelectable
The ariaMultiSelectable property of the Element interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
1290 Element.ariaOrientation API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaOrientation
The ariaOrientation property of the Element interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
1291 Element.ariaPlaceholder API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaPlaceholder
The ariaPlaceholder property of the Element interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
1292 Element.ariaPosInSet API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaPosInSet
The ariaPosInSet property of the Element interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
1293 Element.ariaPressed API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaPressed
The ariaPressed property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
1294 Element.ariaReadOnly API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaReadOnly
The ariaReadOnly property of the Element interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
1295 Element.ariaRelevant API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRelevant
The ariaRelevant property of the Element interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
1296 Element.ariaRequired API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRequired
The ariaRequired property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
1297 Element.ariaRoleDescription API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRoleDescription
The ariaRoleDescription property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
1298 Element.ariaRowCount API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRowCount
The ariaRowCount property of the Element interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
1299 Element.ariaRowIndex API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRowIndex
The ariaRowIndex property of the Element interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
1300 Element.ariaRowIndexText API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRowIndexText
The ariaRowIndexText property of the Element interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
1301 Element.ariaRowSpan API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaRowSpan
The ariaRowSpan property of the Element interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1302 Element.ariaSelected API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaSelected
The ariaSelected property of the Element interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
1303 Element.ariaSetSize API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaSetSize
The ariaSetSize property of the Element interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
1304 Element.ariaSort API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaSort
The ariaSort property of the Element interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
1305 Element.ariaValueMax API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaValueMax
The ariaValueMax property of the Element interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
1306 Element.ariaValueMin API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaValueMin
The ariaValueMin property of the Element interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
1307 Element.ariaValueNow API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaValueNow
The ariaValueNow property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
1308 Element.ariaValueText API, AriaAttributes, AriaMixin, Element, Property, Reference, ariaValueText
The ariaValueText property of the Element interface reflects the value of the aria-valuetext attribute, which defines the human readable text alternative of aria-valuenow for a range widget.
1309 Element: assignedSlot API, Property, Reference, Slottable, Web Components, assignedSlot, shadow dom
The assignedSlot read-only property of the Element interface returns an HTMLSlotElement representing the slot element the node is inserted in.
1310 Element.attachShadow() API, Element, Method, Reference, attachShadow, shadow dom
The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
1311 Element.attributes API, Attributes, DOM, Element, Property, Reference
The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute.
1312 Element: auxclick event Element, 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.
1313 Element.before() API, DOM, Method, Node, Reference
The Element.before() method inserts a set of Node or DOMString objects in the children list of this Element's parent, just before this Element. DOMString objects are inserted as equivalent Text nodes.
1314 Element: beforescriptexecute event DOM, Non-standard, Reference
This event was a proposal in an early version of the specification. Do not rely on it.
1315 Element: blur event API, 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.
1316 Element.childElementCount API, DOM, Property, Reference
The Element.childElementCount read-only property returns the number of child elements of this element.
1317 Element.children API, DOM, Element, HTMLCollection, Property, children
The read-only children property returns a live HTMLCollection which contains all of the child Element of the element upon which it was called.
1318 Element.classList API, DOM, Element, Property, Read-only, Reference
The Element.classList is a read-only property that returns a live DOMTokenList collection of the class attributes of the element. This can then be used to manipulate the class list.
1319 Element.className API, DOM, Gecko, Property, Reference
The className property of the Element interface gets and sets the value of the class attribute of the specified element.
1320 Element: click event API, 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.
1321 Element.clientHeight API, CSSOM View, NeedsMarkupWork, Property, Reference
The Element.clientHeight read-only property is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present).
1322 Element.clientLeft API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right–to–left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding. clientLeft is read-only.
1323 Element.clientTop API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the top border of an element in pixels. It is a read-only, integer property of element.
1324 Element.clientWidth API, 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).
1325 Element.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.
1326 Element: compositionend event Event, Reference
The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session.
1327 Element: compositionstart event Element, 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.
1328 Element: compositionupdate event Event, 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.
1329 Element.computedStyleMap() API, CSS Typed Object Model API, Element, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, computedStyleMap()
The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
1330 Element: contextmenu event API, 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.
1331 Element: copy event API, Clipboard API, Element, Event, Reference, Web
The copy event fires when the user initiates a copy action through the browser's user interface.
1332 Element.createShadowRoot() API, Deprecated, Element, Method, Non-standard, Reference, shadow dom
Use Element.createShadowRoot to create an instance of shadow DOM. When shadow DOM is created, it is always attached to an existing element. After the shadow DOM is created, the element that it is attached to is called the shadow root.
1333 Element: cut event API, 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.
1334 Element: dblclick event API, 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.
1335 Element: DOMActivate event API, 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.
1336 Element: DOMMouseScroll event API, 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.
1337 Element: error event Audio, 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.
1338 Element.firstElementChild API, DOM, Element, Property
The Element.firstElementChild read-only property returns an element's first child Element, or null if there are no child elements.
1339 Element: focus event API, 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.
1340 Element: focusin event API, 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.
1341 Element: focusout event API, 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.
1342 Element: fullscreenchange event API, 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.
1343 Element: fullscreenerror event API, Element, Event, Reference, fullscreenerror
The fullscreenerror event is fired when the browser cannot switch to full-screen mode.
1344 Element: gesturechange event Event, Non-standard, Reference
The gesturechange event is fired when digits move during a touch gesture.
1345 Element: gestureend event Event, Non-standard, Reference
The gestureend event is fired when there are no longer multiple fingers contacting the touch surface, thus ending the gesture.
1346 Element: gesturestart event Event, 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.
1347 Element.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.
1348 Element.getAttribute() API, DOM, Element, Method, Reference
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
1349 Element.getAttributeNames() API, Attribute, DOM, Element, Method, getAttributeNames
The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.
1350 Element.getAttributeNode() API, DOM, Element, Method, Reference
Returns the specified attribute of the specified element, as an Attr node.
1351 Element.getAttributeNodeNS() API, DOM, Method, Reference
Returns the Attr node for the attribute with the given namespace and name.
1352 Element.getAttributeNS() API, DOM, Element, Method, Reference
The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
1353 Element.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.
1354 Element.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.
1355 Element.getElementsByClassName() API, Classes, Element, Method, Reference, getElementsByClassName
The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
1356 Element.getElementsByTagName() API, DOM, Element, Method, Reference
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.
1357 Element.getElementsByTagNameNS() API, DOM, Element, Method, Reference
The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.
1358 Element.hasAttribute() API, DOM, Element, Method, Reference
The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.
1359 Element.hasAttributeNS() API, DOM, Element, Method, Reference
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute.
1360 Element.hasAttributes() API, DOM, Element, Method, Reference
The hasAttributes() method of the Element interface returns a Boolean indicating whether the current element has any attributes or not.
1361 Element.hasPointerCapture() API, DOM, Element, Method, PointerEvent, Reference, hasPointerCapture
The hasPointerCapture() method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
1362 Element.id API, DOM, Element, Property, Reference
The id property of the Element interface represents the element's identifier, reflecting the id global attribute.
1363 Element.innerHTML API, DOM, DOM Parsing, Element, Parsing HTML, Property, Reference, innerHTML
The Element property innerHTML gets or sets the HTML or XML markup contained within the element.
1364 Element.insertAdjacentElement() API, DOM, Element, Gecko, Method, Reference, insertAdjacentElement
The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
1365 Element.insertAdjacentHTML() API, Amending the DOM, Changing the DOM, DOM, Element, HTML, Inserting Elements, Inserting Nodes, Method, Reference, insertAdjacentHTML
The insertAdjacentHTML() method of the Element interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position. It does not reparse the element it is being used on, and thus it does not corrupt the existing elements inside that element. This avoids the extra step of serialization, making it much faster than direct Element.innerHTML manipulation.
1366 Element.insertAdjacentText() API, DOM, Element, Gecko, Method, Reference, insertAdjacentText
The insertAdjacentText() method of the Element interface inserts a given text node at a given position relative to the element it is invoked upon.
1367 Element: keydown event API, DOM, Element, Event, KeyboardEvent, Reference, keyboard, keydown
The keydown event is fired when a key is pressed.
1368 Element: keypress event API, Deprecated, Element, Event, Reference, keypress
The keypress event is fired when a key that produces a character value is pressed down.
1369 Element: keyup event DOM, Element, Event, Reference, keyup
The keyup event is fired when a key is released.
1370 Element.lastElementChild API, DOM, Element, Property
The Element.lastElementChild read-only property returns an element's last child Element, or null if there are no child elements.
1371 Element.localName API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.localName read-only property returns the local part of the qualified name of an element.
1372 Element.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.
1373 Element: mousedown event API, 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.
1374 Element: mouseenter event API, 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.
1375 Element: mouseleave event API, 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.
1376 Element: mousemove event API, 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.
1377 Element: mouseout event API, 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.
1378 Element: mouseover event API, 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.
1379 Element: mouseup event API, 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.
1380 Element: mousewheel event DOM, 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.
1381 Element: MozMousePixelScroll event API, DOM, Deprecated, 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.
1382 Element: msContentZoom event Event, Event:Microsoft Extensions, MSContentZoom, Non-standard, Reference
The msContentZoom event fires when a user zooms the element (changes the scale of the content).
1383 Element: MSGestureChange event Event, Non-standard, Reference
The MSGestureChange event is fired when touch contact positions move and also while inertia-based movements are being processed.
1384 Element: MSGestureEnd event Event, 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.
1385 Element: MSGestureHold event Event, Non-standard, Reference
The MSGestureHold event is fired when the user contacts the touch surface and remains in the same position for a while.
1386 Element: MSGestureStart event Event, 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.
1387 Element: MSGestureTap event Event, 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.
1388 Element: MSInertiaStart event Event, 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.
1389 Element: MSManipulationStateChanged event Event, 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).
1390 Element.msZoomTo() API, API:Microsoft Extensions, Method, Microsoft, Non-standard, Reference, msZoomTo
The msZoomTo method scrolls and/or zooms an element to its specified coordinate with animation.
1391 Element.namespaceURI API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.
1392 Element.nextElementSibling API, DOM, Element, Property
The Element.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.
1393 Element.onfullscreenchange API, Element, Event Handler, Full, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenchange, screen
The Element interface's onfullscreenchange property is an event handler for the fullscreenchange event that is fired when the element has transitioned into or out of full-screen mode.
1394 Element.onfullscreenerror API, Element, Event Handler, Full, Full-screen API, Property, Reference, fullscreen, onfullscreenerror, screen
The Element interface's onfullscreenerror property is an event handler for the 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.
1395 Element.openOrClosedShadowRoot API, Add-ons, Element, Extensions, Mozilla, Needs Privileges, Non-standard, Property, Reference, WebExtensions, openOrClosedShadowRoot, shadow dom
The Element.openOrCloseShadowRoot read-only property represents the shadow root hosted by the element, regardless if its ShadowRoot.mode is open or closed.
1396 Element.outerHTML API, DOM, DOM Parsing, Element, NeedsMobileBrowserCompatibility, Parsing, Property, Reference, Serialization, Serializing, outerHTML
The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants. It can also be set to replace the element with nodes parsed from the given string.
1397 Element: overflow event Event
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).
1398 Element.part API, 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.
1399 Element: paste event Clipboard API, Event, NeedsUpdate, Reference
The paste event is fired when the user has initiated a "paste" action through the browser's user interface.
1400 Element.prefix API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.
1401 Element.prepend() API, DOM, Element, Method, Node, Reference, prepend
The Element.prepend() method inserts a set of Node objects or DOMString objects before the first child of the Element. DOMString objects are inserted as equivalent Text nodes.
1402 Element.previousElementSibling API, DOM, Element, Property, Read-only, Reference
The Element.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.
1403 Element.querySelector() API, CSS, CSS Selectors, DOM, Element, Elements, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
The querySelector() method of the Element interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.
1404 Element.querySelectorAll() API, CSS Selectors, DOM, Element, Finding Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
The Element method querySelectorAll() returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.
1405 Element.releasePointerCapture() API, DOM, Element, Method, PointerEvent, Reference
The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
1406 Element.remove() API, DOM, Element, Method
The Element.remove() method removes the element from the tree it belongs to.
1407 Element.removeAttribute() API, DOM, Element, Method, Reference, remove, removeAttribute
The Element method removeAttribute() removes the attribute with the specified name from the element.
1408 Element.removeAttributeNode() API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNode() method of the Element object removes the specified attribute from the current element.
1409 Element.removeAttributeNS() API, DOM, Element, Method, NeedsSpecTable, Reference
The removeAttributeNS() method of the Element interface removes the specified attribute from an element.
1410 Element.replaceChildren() API, DOM, Element, Method, Node, Reference, replaceChildren
The Element.replaceChildren() method replaces the existing children of a Node with a specified new set of children. These can be DOMString or Node objects.
1411 Element.replaceWith() API, DOM, Element, Method, Reference
The Element.replaceWith() method replaces this Element in the children list of its parent with a set of Node or DOMString objects. DOMString objects are inserted as equivalent Text nodes.
1412 Element.requestFullscreen() API, DOM, Element, Full, Fullscreen API, Graphics, Method, Reference, Video, full screen, fullscreen, requestFullscreen, screen
The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.
1413 Element.requestPointerLock() API, DOM, Experimental, Method, NeedsExample, PointerEvent, Reference, mouse lock
The Element.requestPointerLock() method lets you asynchronously ask for the pointer to be locked on the given element.
1414 Element: scroll event API, Element, Event, Reference, Scroll
The scroll event fires an element has been scrolled.
1415 Element.scroll() API, Element, Method, Reference, Scroll
The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
1416 Element.scrollBy() API, CSSOM View, Element, Method, Reference, scrollBy
The scrollBy() method of the Element interface scrolls an element by the given amount.
1417 Element.scrollHeight API, CSSOM View, NeedsDHTMLRemovalInExample, Property, Reference
The Element.scrollHeight read-only property is a measurement of the height of an element's content, including content not visible on the screen due to overflow.
1418 Element.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
1419 Element.scrollIntoViewIfNeeded() API, DOM, Element, Method, Non-standard, Reference
The Element.scrollIntoViewIfNeeded() method scrolls the current element into the visible area of the browser window if it's not already within the visible area of the browser window. If the element is already within the visible area of the browser window, then no scrolling takes place. This method is a proprietary variation of the standard Element.scrollIntoView() method.
1420 Element.scrollLeft API, CSSOM View, Property, Reference
The Element.scrollLeft property gets or sets the number of pixels that an element's content is scrolled from its left edge.
1421 Element.scrollLeftMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
The Element.scrollLeftMax read-only property returns a Number representing the maximum left scroll offset possible for the element.
1422 Element.scrollTo() API, Element, Method, Reference, scrollTo
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
1423 Element.scrollTop API, CSSOM View, NeedsArtUpdate, NeedsMarkupWork, Property, Reference
The Element.scrollTop property gets or sets the number of pixels that an element's content is scrolled vertically.
1424 Element.scrollTopMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
The Element.scrollTopMax read-only property returns a Number representing the maximum top scroll offset possible for the element.
1425 Element.scrollWidth API, CSSOM View, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The Element.scrollWidth read-only property is a measurement of the width of an element's content, including content not visible on the screen due to overflow.
1426 Element: select event Element, Event, Event Handler, NeedsCompatTable, Reference, UIEvent
The select event fires when some text has been selected.
1427 Element.setAttribute() API, DOM, Element, Method, NeedsBrowserCompatibility, NeedsSpecTable, Reference, setAttribute
Sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
1428 Element.setAttributeNode() API, DOM, Element, Method, Reference
The setAttributeNode() method adds a new Attr node to the specified element.
1429 Element.setAttributeNodeNS() API, DOM, Element, Method, Reference
setAttributeNodeNS adds a new namespaced attribute node to an element.
1430 Element.setAttributeNS() API, DOM, Element, Method, Reference
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
1431 Element.setCapture() API, DOM, Deprecated, 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.
1432 Element.setPointerCapture() API, DOM, Element, Method, PointerEvent, Reference
The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the HTMLElement/pointerup_event event is fired).
1433 Element.shadowRoot API, Element, Property, Reference, ShadowRoot, shadow dom
The Element.shadowRoot read-only property represents the shadow root hosted by the element.
1434 Element: show event API, 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.
1435 Element.slot API, Element, Property, Reference, shadow dom, slot
The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.
1436 Element.tagName API, DOM, DOM Reference, Element, Gecko, NeedsBrowserCompatibility, Property, Read-only, Reference, tagName
The tagName read-only property of the Element interface returns the tag name of the element on which it's called.
1437 Element.toggleAttribute() API, Element, Method, Reference
The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
1438 Element: touchcancel event Event, 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).
1439 Element: touchend event API, 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.
1440 Element: touchmove event Event, 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.
1441 Element: touchstart event Event, 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.
1442 Element: underflow event Element, 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.
1443 Element: webkitmouseforcechanged event Event, 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.
1444 Element: webkitmouseforcedown event Element, 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.
1445 Element: webkitmouseforceup event Element, 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".
1446 Element: webkitmouseforcewillbegin event API, 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.
1447 Element: wheel event API, DOM, Element, Event, Reference, WheelEvent, wheel
The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1448 ElementInternals API, ElementInternals, Interface, Reference
The ElementInternals interface of the Document_Object_Model gives web developers a way to allow custom elements to fully participate in HTML forms. It provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.
1449 ElementInternals.ariaAtomic API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaAtomic
The ariaAtomic property of the ElementInternals interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
1450 ElementInternals.ariaAutoComplete API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaAutoComplete
The ariaAutoComplete property of the ElementInternals interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
1451 ElementInternals.ariaBusy API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaBusy
The ariaBusy property of the ElementInternals interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
1452 ElementInternals.ariaChecked API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaChecked
The ariaChecked property of the ElementInternals interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
1453 ElementInternals.ariaColCount API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaColCount
The ariaColCount property of the ElementInternals interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
1454 ElementInternals.ariaColIndex API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaColIndex
The ariaColIndex property of the ElementInternals interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
1455 ElementInternals.ariaColIndexText API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaColIndexText
The ariaColIndexText property of the ElementInternals interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
1456 ElementInternals.ariaColSpan API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaColSpan
The ariaColSpan property of the ElementInternals interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1457 ElementInternals.ariaCurrent API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaCurrent
The ariaCurrent property of the ElementInternals interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
1458 ElementInternals.ariaDescription API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaDescription
The ariaDescription property of the ElementInternals interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
1459 ElementInternals.ariaDisabled API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaDisabled
The ariaDisabled property of the ElementInternals interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
1460 ElementInternals.ariaExpanded API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaExpanded
The ariaExpanded property of the ElementInternals interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
1461 ElementInternals.ariaHasPopup API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaHasPopup
The ariaHasPopup property of the ElementInternals interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
1462 ElementInternals.ariaHidden API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaHidden
The ariaHidden property of the ElementInternals interface reflects the value of the aria-hidden attribute, which indicates whether the element is exposed to an accessibility API.
1463 ElementInternals.ariaKeyShortcuts API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaKeyShortcuts
The ariaKeyShortcuts property of the ElementInternals interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
1464 ElementInternals.ariaLabel API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaLabel
The ariaLabel property of the ElementInternals interface reflects the value of the aria-label attribute, which defines a string value that labels the current Element.
1465 ElementInternals.ariaLevel API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaLevel
The ariaLevel property of the ElementInternals interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
1466 ElementInternals.ariaLive API, AriaAttributes, ElementInternals, Property, Reference, ariaLive
The ariaLive property of the ElementInternals interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
1467 ElementInternals.ariaModal API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaModal
The ariaModal property of the ElementInternals interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed.
1468 ElementInternals.ariaMultiline API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaMultiline
The ariaMultiline property of the ElementInternals interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
1469 ElementInternals.ariaMultiSelectable API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaMultiSelectable
The ariaMultiSelectable property of the ElementInternals interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
1470 ElementInternals.ariaOrientation API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaOrientation
The ariaOrientation property of the ElementInternals interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
1471 ElementInternals.ariaPlaceholder API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaPlaceholder
The ariaPlaceholder property of the ElementInternals interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
1472 ElementInternals.ariaPosInSet API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaPosInSet
The ariaPosInSet property of the ElementInternals interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
1473 ElementInternals.ariaPressed API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaPressed
The ariaPressed property of the ElementInternals interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
1474 ElementInternals.ariaReadOnly API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaReadOnly
The ariaReadOnly property of the ElementInternals interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
1475 ElementInternals.ariaRelevant API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRelevant
The ariaRelevant property of the ElementInternals interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
1476 ElementInternals.ariaRequired API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRequired
The ariaRequired property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
1477 ElementInternals.ariaRoleDescription API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRoleDescription
The ariaRoleDescription property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
1478 ElementInternals.ariaRowCount API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRowCount
The ariaRowCount property of the ElementInternals interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
1479 ElementInternals.ariaRowIndex API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRowIndex
The ariaRowIndex property of the ElementInternals interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
1480 ElementInternals.ariaRowIndexText API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRowIndexText
The ariaRowIndexText property of the ElementInternals interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
1481 ElementInternals.ariaRowSpan API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaRowSpan
The ariaRowSpan property of the ElementInternals interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1482 ElementInternals.ariaSelected API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaSelected
The ariaSelected property of the ElementInternals interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
1483 ElementInternals.ariaSetSize API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaSetSize
The ariaSetSize property of the ElementInternals interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
1484 ElementInternals.ariaSort API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaSort
The ariaSort property of the ElementInternals interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
1485 ElementInternals.ariaValueMax API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaValueMax
The ariaValueMax property of the ElementInternals interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
1486 ElementInternals.ariaValueMin API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaValueMin
The ariaValueMin property of the ElementInternals interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
1487 ElementInternals.ariaValueNow API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaValueNow
The ariaValueNow property of the ElementInternals interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
1488 ElementInternals.ariaValueText API, AriaAttributes, AriaMixin, ElementInternals, Property, Reference, ariaValueText
The ariaValueText property of the ElementInternals interface reflects the value of the aria-valuetext attribute, which defines the human readable text alternative of aria-valuenow for a range widget.
1489 ElementInternals.checkValidity() API, ElementInternals, Method, Reference, checkValidity
The checkValidity() method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.
1490 ElementInternals.form API, ElementInternals, Property, Reference, form
The form read-only property of the ElementInternals interface returns the HTMLFormElement associated with this element.
1491 ElementInternals.labels API, ElementInternals, Property, Reference, labels
The labels read-only property of the ElementInternals interface returns the labels associated with the element.
1492 ElementInternals.reportValidity() API, ElementInternals, Method, Reference, reportValidity
The reportValidity() method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.
1493 ElementInternals.role API, ElementInternals, Property, Reference, role
The role read-only property of the ElementInternals interface returns the WAI-ARIA role for the element. For example, a checkbox might have role="checkbox
1494 ElementInternals.setFormValue() API, ElementInternals, Method, Reference, setFormValue
The setFormValue() method of the ElementInternals interface sets the element's submission value and state, communicating these to the user agent.
1495 ElementInternals.setValidity() API, ElementInternals, Method, Reference, setValidity
The setValidity() method of the ElementInternals interface sets the validity of the element.
1496 ElementInternals.shadowRoot API, ElementInternals, Property, Reference, shadowRoot
The shadowRoot read-only property of the ElementInternals interface returns the ShadowRoot for this element.
1497 ElementInternals.states API, ElementInternals, Property, Reference, states
The states property of the ElementInternals interface
1498 ElementInternals.validationMessage API, ElementInternals, Property, Reference, validationMessage
The validationMessage read-only property of the ElementInternals interface returns the validation message for the element.
1499 ElementInternals.validity API, ElementInternals, Property, Reference, validity
The validity read-only property of the ElementInternals interface returns a ValidityState object which represents the different validity states the element can be in, with respect to constraint validation.
1500 ElementInternals.willValidate API, ElementInternals, Property, Reference, willValidate
The willValidate read-only property of the ElementInternals interface returns true if the element is a submittable element that is a candidate for constraint validation.
1501 Encoding API API, Encoding, Overview, Reference
Encoding API
1502 Encoding API Encodings API, Encoding, Overview, Reference
Encoding API
1503 Encrypted Media Extensions API API, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, NeedsContent, Overview, Reference
The Encrypted Media Extensions API provides interfaces for controlling the playback of content which is subject to a digital restrictions management scheme.
1504 ErrorEvent API, Event, Worker API
The ErrorEvent interface represents events providing information related to errors in scripts or in files.
1505 Event API, Constructor, DOM, Event, Interface, Reference, UI, listener
The Event interface represents an event which takes place in the DOM.
1506 Event.bubbles API, Bubbling, DOM, DOM Events, Event, Event Handling, Propagation, Property, Read-only, Reference, bubbles
The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM or not.
1507 Event.cancelable API, DOM, DOM Reference, Event, Property, Read-only, Reference
The cancelable read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
1508 Event.cancelBubble API, DOM, Event, Property, Reference, cancelBubble
The cancelBubble property of the Event interface is a historical alias to Event.stopPropagation(). Setting its value to true before returning from an event handler prevents propagation of the event. In later implementations, setting this to false does nothing. See Browser compatibility for details.
1509 Comparison of Event Targets DOM, Gecko, Guide, NeedsContent, NeedsExample, NeedsHelp
It's easy to get confused about which target to examine when writing an event handler. This article should clarify the use of the target properties.
1510 Event.composed API, Event, Property, Read-only, Reference, Web Components, composed, scoped, shadow dom
The read-only composed property of the Event interface returns a Boolean which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
1511 Event.composedPath() API, Event, Method, Reference, Web Components, composedPath, events, shadow dom
The composedPath() method of the Event interface returns the event’s path which is an array of the objects on which listeners will be invoked. This does not include nodes in shadow trees if the shadow root was created with its ShadowRoot.mode closed.
1512 Event.currentTarget API, DOM, Event, NeedsBrowserCompatibility, Property, Read-only
The currentTarget read-only property of the Event interface identifies the current target for the event, as the event traverses the DOM. It always refers to the element to which the event handler has been attached, as opposed to Event.target, which identifies the element on which the event occurred and which may be its descendant.
1513 Event.defaultPrevented API, 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.
1514 Event() API, Constructor, DOM, Event, Reference
The Event() constructor creates a new Event.
1515 Event.eventPhase API, DOM, Event, Gecko, Property, Read-only, Reference
The eventPhase read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
1516 Event.explicitOriginalTarget API, DOM, Gecko, Non-standard, Property, Reference
The explicit original target of the event. (Mozilla-specific)
1517 Event.initEvent() API, DOM, Deprecated, Event, Method, Reference
The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
1518 Event.isTrusted API, Event, Property, Read-only, Reference
The isTrusted read-only property of the Event interface is a Boolean that is true when the event was generated by a user action, and false when the event was created or modified by a script or dispatched via EventTarget.dispatchEvent().
1519 Event.msConvertURL() API, API:Microsoft Extensions, Method, Non-standard, Reference, msConvertURL
The msConvertURL method instructs the HTML paste operation on how to modify the src attribute that corresponds to each file in the clipboardData.files collection, allowing otherwise inaccessible files to be converted to blob or data URIs.
1520 Event.originalTarget API, DOM, Gecko, NeedsExample, NeedsHelp, Non-standard, Property
The original target of the event before any retargetings. (Mozilla-specific)
1521 Event.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.
1522 Event.returnValue API, DOM, Deprecated, Event, Property, Reference, action, default, returnValue
The Event property returnValue indicates whether the default action for this event has been prevented or not.
1523 Event.srcElement API, 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.
1524 Event.stopImmediatePropagation() API, Event, Level 3, Method, Reference, stopImmediatePropagation
The stopImmediatePropagation() method of the Event interface prevents other listeners of the same event from being called.
1525 Event.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.
1526 Event.target API, 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.
1527 Event.timeStamp API, DOM, Event, Property, Reference, timeStamp
The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
1528 Event.type API, DOM, Event, Property, Read-only, Reference
The type read-only property of the Event interface returns a string containing the event's type. It is set when the event is constructed and is the name commonly used to refer to the specific event, such as click, load, or error.
1529 EventListener API, DOM, DOM Events, Interface, events
The EventListener interface represents an object that can handle an event dispatched by an EventTarget object.
1530 EventListener.handleEvent() API, Callback, DOM, DOM Events, Event Callback, Event Handler, Event Processing, EventListener, Handling Events, Method, Reference, events, handleEvent
The EventListener method handleEvent() method is called by the user agent when an event is sent to the EventListener, in order to handle events that occur on an observed EventTarget.
1531 EventSource API, Communications, EventSource, Interface, Reference, Server Sent Events, Server-sent events, messaging
The EventSource interface is web content's interface to server-sent events. An EventSource instance opens a persistent connection to an HTTP server, which sends events in text/event-stream format.
1532 EventSource.close() API, EventSource, Method, Reference, Server-sent events, close
The close() method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to 2 (closed).
1533 EventSource: error event API, Error, Event, EventSource, Reference
The error event of the EventSource API is fired when a connection with an event source fails to be opened.
1534 EventSource() API, Constructor, EventSource, Reference, Server-sent events
The EventSource() constructor returns a newly-created EventSource, which represents a remote resource.
1535 EventSource: message event API, Event, EventSource, Reference, message
The message event of the EventSource API is fired when data is received through an event source.
1536 EventSource.onerror API, Event Handler, EventSource, Property, Reference, Server-sent events, onerror
The onerror property of the EventSource interface is an event handler called when an error occurs and the error event is dispatched on an EventSource object.
1537 EventSource.onmessage API, Event Handler, EventSource, Property, Reference, Server-sent events, onmessage
The onmessage property of the EventSource interface is an event handler called when a message event is received, that is when a message is coming from the source.
1538 EventSource.onopen API, Event Handler, EventSource, Property, Reference, Server-sent events, onopen
The onopen property of the EventSource interface is an event handler called when an open event is received, that is when the connection was just opened.
1539 EventSource: open event API, Event, EventSource, Reference, open
The open event of the EventSource API is fired when a connection with an event source is opened.
1540 EventSource.readyState API, EventSource, Property, Reference, Server-sent events, readyState
The readyState read-only property of the EventSource interface returns a number representing the state of the connection.
1541 EventSource.url API, EventSource, Property, Reference, Server-sent events, URL
The url read-only property of the EventSource interface returns a DOMString representing the URL of the source.
1542 EventSource.withCredentials API, EventSource, Property, Reference, Server-sent events, withCredentials
The withCredentials read-only property of the EventSource interface returns a Boolean indicating whether the EventSource object was instantiated with CORS credentials set.
1543 EventTarget API, DOM, DOM Events, EventTarget, Interface
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
1544 EventTarget.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.
1545 EventTarget.dispatchEvent() API, DOM, DOM Element Methods, Gecko, Method
Dispatches an Event at the specified EventTarget, (synchronously) invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
1546 EventTarget() API, Constructor, DOM, DOM Events, EventTarget
The EventTarget() constructor creates a new EventTarget object instance.
1547 EventTarget.removeEventListener() API, DOM, DOM Element Methods, EventTarget, Gecko, Method, Reference, browser compatibility, removeEventListener
The EventTarget.removeEventListener() method removes from the EventTarget an event listener previously registered with EventTarget.addEventListener(). The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal
1548 EXT_blend_minmax API, Reference, WebGL, WebGL extension
The EXT_blend_minmax extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
1549 EXT_color_buffer_float API, Reference, WebGL, WebGL extension, WebGL2
The EXT_color_buffer_float extension is part of WebGL and adds the ability to render a variety of floating point formats.
1550 EXT_color_buffer_half_float API, Reference, WebGL, WebGL extension
The EXT_color_buffer_half_float extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.
1551 EXT_disjoint_timer_query API, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query extension is part of the WebGL API and provides a way to measure the duration of a set of GL commands, without stalling the rendering pipeline.
1552 EXT_disjoint_timer_query.beginQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.beginQueryEXT() method of the WebGL API starts a timer query.
1553 EXT_disjoint_timer_query.createQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.createQueryEXT() method of the WebGL API creates and initializes WebGLTimerQueryEXT objects, which track the time needed to fully complete a set of GL commands.
1554 EXT_disjoint_timer_query.deleteQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.deleteQueryEXT() method of the WebGL API deletes a given WebGLTimerQueryEXT object.
1555 EXT_disjoint_timer_query.endQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.endQueryEXT() method of the WebGL API ends a timer query.
1556 EXT_disjoint_timer_query.getQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.getQueryEXT() method of the WebGL API returns information about a query target.
1557 EXT_disjoint_timer_query.getQueryObjectEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.getQueryObjectEXT() method of the WebGL API returns the state of a query object.
1558 EXT_disjoint_timer_query.isQueryEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.isQueryEXT() method of the WebGL API returns true if the passed object is a WebGLTimerQueryEXT object.
1559 EXT_disjoint_timer_query.queryCounterEXT() API, Method, Reference, WebGL, WebGL extension
The EXT_disjoint_timer_query.queryCounterEXT() method of the WebGL API records the current time into the corresponding query object.
1560 EXT_float_blend 32-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.
1561 EXT_frag_depth API, Fragment Shader, Reference, WebGL, WebGL extension
The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
1562 EXT_shader_texture_lod API, Reference, WebGL, WebGL extensions
The EXT_shader_texture_lod extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).
1563 EXT_sRGB API, Reference, WebGL, WebGL extension
The EXT_sRGB extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
1564 EXT_texture_compression_bptc API, 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.
1565 EXT_texture_compression_rgtc API, 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).
1566 EXT_texture_filter_anisotropic API, Reference, WebGL, WebGL extension
The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
1567 EXT_texture_norm16 API, 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).
1568 ExtendableCookieChangeEvent API, ExtendableCookieChangeEvent, Interface, Reference
The ExtendableCookieChangeEvent interface of the Cookie Store API is the event type passed to ServiceWorkerRegistration.oncookiechange() when any cookie changes have occurred. A cookie change event consists of a cookie and a type (either "changed" or "deleted".)
1569 ExtendableCookieChangeEvent.changed API, ExtendableCookieChangeEvent, Property, Reference, changed
The changed read-only property of the ExtendableCookieChangeEvent interface returns any cookies that have been changed by the given ExtendableCookieChangeEvent instance.
1570 ExtendableCookieChangeEvent.deleted API, ExtendableCookieChangeEvent, Property, Reference, deleted
The deleted read-only property of the ExtendableCookieChangeEvent interface returns any cookies that have been deleted by the given ExtendableCookieChangeEvent instance.
1571 ExtendableCookieChangeEvent() API, Constructor, ExtendableCookieChangeEvent, Reference
The ExtendableCookieChangeEvent() constructor creates a new ExtendableCookieChangeEvent object which is the event type passed to ServiceWorkerRegistration.oncookiechange(). This constructor is called by the browser when a change event occurs.
1572 ExtendableEvent API, Experimental, ExtendableEvent, Interface, Offline, Reference, Service Workers, ServiceWorker, Workers
The ExtendableEvent interface extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
1573 ExtendableEvent() API, Constructor, Experimental, ExtendableEvent, Reference, Service Workers, ServiceWorker
The ExtendableEvent() constructor creates a new ExtendableEvent object.
1574 ExtendableEvent.waitUntil() API, ExtendableEvent, Method, Reference, waitUntil
The ExtendableEvent.waitUntil() method tells the event dispatcher that work is ongoing. It can also be used to detect whether that work was successful. In service workers, waitUntil() tells the browser that work is ongoing until the promise settles, and it shouldn't terminate the service worker if it wants that work to complete.
1575 ExtendableMessageEvent API, 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.
1576 ExtendableMessageEvent.data API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, data
The data read-only property of the ExtendableMessageEvent interface returns the event's data. It can be any data type.
1577 ExtendableMessageEvent() API, Constructor, Experimental, ExtendableMessageEvent, Reference, Service Workers
The ExtendableMessageEvent() constructor creates a new ExtendableMessageEvent object instance.
1578 ExtendableMessageEvent.lastEventId API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, lastEventID
The lastEventID read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source. This is an empty string.
1579 ExtendableMessageEvent.origin API, 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.
1580 ExtendableMessageEvent.ports API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, ports
The ports read-only property of the ExtendableMessageEvent interface returns the array containing the MessagePort objects representing the ports of the associated message channel (the channel the message is being sent through.)
1581 ExtendableMessageEvent.source API, 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.
1582 FeaturePolicy API, 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.
1583 FeaturePolicy.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.
1584 FeaturePolicy.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).
1585 FeaturePolicy.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.
1586 FeaturePolicy.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.
1587 FederatedCredential API, 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.
1588 FederatedCredential() API, Constructor, Credential Management API, FederatedCredential, NeedsExample, Reference, credential management
The FederatedCredential() constructor creates a new FederatedCredential object. In supporting browsers, an instance of this class may be passed the credential received from the init object for global WindowOrWorkerGlobalScope.fetch.
1589 FederatedCredential.protocol API, 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.
1590 FederatedCredential.provider API, 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.
1591 Fetch API API, 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.
1592 Fetch basic concepts API, 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.

1593 Cross-global fetch usage Cross global, Fetch, edge case, relative URL
This article explains an edge case that occurs with fetch (and potentially other APIs exhibiting the same kind of resource retrieval behavior). When a cross-origin fetch involving a relative URL is initiated from an iframe, the relative URL used to be resolved against the current global location, rather than the iframe's location.
1594 Using Fetch API, 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 WindowOrWorkerGlobalScope/fetch method that provides an easy, logical way to fetch resources asynchronously across the network.

1595 FetchEvent API, 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.
1596 FetchEvent.clientId API, 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.
1597 FetchEvent() API, Communication, Constructor, Fetch, FetchEvent, Networking, Reference, Service Workers, ServiceWorker
The FetchEvent() constructor creates a new FetchEvent object.
1598 FetchEvent.isReload API, Deprecated, 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.
1599 FetchEvent.preloadResponse API, 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.
1600 FetchEvent.replacesClientId API, 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.
1601 FetchEvent.request API, Experimental, FetchEvent, Offline, Property, Reference, Service Workers, Workers, request
The request read-only property of the FetchEvent interface returns the Request that triggered the event handler.
1602 FetchEvent.respondWith() API, Experimental, FetchEvent, Method, Offline, Reference, Service Workers, Workers, respondWith
The respondWith() method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
1603 FetchEvent.resultingClientId API, 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.
1604 File and Directory Entries API API, File System API, File and Directory Entries API, Files, Non-standard, Overview, Reference
File System API
1605 File and Directory Entries API support in Firefox API, Chrome, Compatibility, File System API, File and Directory Entries API, Files, Firefox, Guide, Offline, Web Compatibility, google, google chrome
The original File System API was created to let browsers implement support for accessing a sandboxed virtual file system on the user's storage device. Work to standardize the specification was abandoned back in 2012, but by that point, Google Chrome included its own implementation of the API. Over time, a number of popular sites and Web applications came to use it, often without providing any means of falling back to standard APIs or even checking to be sure the API is available before using it. Mozilla instead opted to implement other APIs which can be used to solve many of the same problems, such as IndexedDB; see the blog post Why no FileSystem API in Firefox? for more insights.
1606 Introduction to the File and Directory Entries API API, Beginner, File, File System API, File and Directory Entries API, Guide, Introduction, Non-standard
The File and Directory Entries API simulates a local file system that web apps can navigate around. You can develop apps that can read, write, and create files and directories in a sandboxed, virtual file system.
1607 FileHandle API API, Files, Reference
The FileHandle API allows for the manipulating of files, including creating files and modifying their content (unlike the File API). Because the files manipulated through that API can be physically stored on the device, the editing part uses a turn-based locking mechanism in order to avoid race issues.
1608 File System Access API API, 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.
1609 File API, File API, Interface, Reference, Web
The File interface provides information about files and allows JavaScript in a web page to access their content.
1610 File() API, Constructor, File API, Reference
The File() constructor creates a new File object instance.
1611 File.fileName API, DOM, Deprecated, File API, Files, Non-standard, Property, Reference
Returns the name of the file. For security reasons the path is excluded from this property.
1612 File.fileSize API, DOM, Deprecated, File API, Files, Non-standard, Property, Reference
Returns the size of a file in bytes.
1613 File.getAsBinary() API, Deprecated, File API, Files, Method, Non-standard, Reference
The getAsBinary method allows to access the file's data in raw binary format.
1614 File.getAsDataURL() API, Deprecated, File API, Files, Method, Non-standard, Reference
The getAsDataURL provides a data: URL that encodes the entire contents of the referenced file.
1615 File.getAsText() API, Deprecated, File API, Files, Method, Non-standard, Reference
The getAsText method provides the file's data interpreted as text using a given encoding.
1616 File.lastModified API, File API, Files, Property, Reference
The File.lastModified read-only property provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
1617 File.lastModifiedDate API, Deprecated, File, File API, Files, Property, Read-only, Reference, lastModifiedDate
The File.lastModifiedDate read-only property returns the last modified date of the file. Files without a known last modified date returns the current date .
1618 File.mozFullPath API, File, File API, Files, NeedsContent, Non-standard, Property, Reference, mozFullPath
A privileged extension to the File interface, the mozFullPath property contains the full pathname of the represented file.
1619 File.name API, File API, Files, Property, Reference
Returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.
1620 File.size API, Guide, fileapi
Returns the size of a file in bytes.
1621 File.type API, File API, File Type, Files, Property, Reference
Returns the media type (MIME) of the file represented by a File object.
1622 Using files from web applications Files, 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.
1623 File.webkitRelativePath File, File API, File System API, File and Directory Entries API, Non-standard, Property, Read-only, Reference, Web, webkitRelativePath
The File.webkitRelativePath is a read-only property that contains a USVString which specifies the file's path relative to the directory selected by the user in an input element with its webkitdirectory attribute set.
1624 FileEntrySync API, File, File System API, Interface, Non-standard, Reference
The FileEntrySync interface of the File System API represents a file in a file system. It lets you write content to a file.
1625 FileError API, Deprecated, File API, Files, Reference
Represents an error that occurs while using the FileReader interface.
1626 FileException API, Deprecated, File API, File System API, Non-standard, Offline, Reference, filesystem
In the File System API, a FileException object represents error conditions that you might encounter while accessing the file system using the synchronous API. It extends the FileException interface described in File Writer and adds several new error codes.
1627 FileList API, File API, Files
An object of this type is returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
1628 FileReader API, File API, Files, Interface, Reference
The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
1629 FileReader: abort event API, 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().
1630 FileReader.abort() API, File API, FileReader, Files, Method, Reference, abort
The abort method aborts the read operation. Upon return, the FileReader.readyState will be DONE.
1631 FileReader: error event API, 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).
1632 FileReader.error API, File API, Files, Property, Reference
The FileReader error property returns the error that occurred while reading the file.
1633 FileReader() API, Constructor, FileReader, Reference
The FileReader() constructor creates a new FileReader.
1634 FileReader: load event API, Event, FileReader, Web, load
The load event is fired when a file has been read successfully.
1635 FileReader: loadend event API, Event, FileReader, ProgressiveEvent, Web, loadend
The loadend event is fired when a file read has completed, successfully or not.
1636 FileReader: loadstart event API, Event, FileReader, ProgressEvent, Web, loadstart
The loadstart event is fired when a file read operation has begun.
1637 FileReader.onabort Event Handler, File, FileReader, Property, Reference
The FileReader.onabort property contains an event handler executed when the abort event is fired, i.e. when the process of reading the file is aborted.
1638 FileReader.onerror
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
1639 FileReader.onload Event Handler, File, FileReader, Property, Reference
The FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer, readAsBinaryString, readAsDataURL or readAsText is available.
1640 FileReader: progress event API, Event, FileReader, ProgressEvent, Reference, Web, progress
The progress event is fired periodically as the FileReader reads data.
1641 FileReader.readAsArrayBuffer() API, DOM, File API, FileReader, Files, Method, Reference, readAsArrayBuffer
The FileReader interface's readAsArrayBuffer() method is used to start reading the contents of a specified Blob or File. When the read operation is finished, the 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.
1642 FileReader.readAsBinaryString() API, File API, Files, Method, Reference
The readAsBinaryString method is used to start reading the contents of the specified Blob or File. When the read operation is finished, the FileReader.readyState becomes DONE, and the loadend is triggered. At that time, the FileReader.result attribute contains the raw binary data from the file.
1643 FileReader.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.
1644 FileReader.readAsText() API, File API, Files, Method, Reference
The readAsText() method is used to read the contents of the specified Blob or File. When the read operation is complete, the FileReader.readyState is changed to DONE, the FileReader/loadend_event event is triggered, and the FileReader.result property contains the contents of the file as a text string.
1645 FileReader.readyState API, File API, Files, Property, Reference
The FileReader readyState property provides the current state of the reading operation a FileReader is in. A FileReader exists in one of the following states:
1646 FileReader.result API, 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.
1647 FileReaderSync API, NeedsMarkupWork
The FileReaderSync interface allows to read File or Blob objects synchronously.
1648 FileReaderSync.readAsArrayBuffer()
An ArrayBuffer representing the file's data.
1649 FileReaderSync.readAsBinaryString() Deprecated, Reference
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.
1650 FileReaderSync.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.
1651 FileReaderSync.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.
1652 FileRequest API, DOM, Files, Interface, Non-standard, Reference
The FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile objects.
1653 FileRequest.lockedFile API, DOM, Files, Non Standard, Property, Reference, WebAPI
The lockedFile property represents the LockedFile object from which the request was started.
1654 FileRequest.onprogress API, 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.
1655 FileSystem API, File API, File System API, File and Directory Entries API, Interface, Non-standard, Offline, filesystem
The File and Directory Entries API interface FileSystem is used to represent a file system. These objects can be obtained from the 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.
1656 FileSystem.name API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, name
The read-only name property of the FileSystem interface indicates the file system's name. This USVString is unique among all file systems currently exposed by the File and Directory Entries API.
1657 FileSystem.root API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, root
The read-only root property of the FileSystem interface specifies a FileSystemDirectoryEntry object representing the root directory of the file system, for use with the File and Directory Entries API.
1658 FileSystemDirectoryEntry API, File API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Interface, NeedsMarkupWork, Non-standard, Offline, Reference
The FileSystemDirectoryEntry interface of the File and Directory Entries API represents a directory in a file system. It provides methods which make it possible to access and manipulate the files in a directory, as well as to access the entries within the directory.
1659 FileSystemDirectoryEntry.createReader() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, createReader
The FileSystemDirectoryEntry interface's method createReader() returns a FileSystemDirectoryReader object which can be used to read the entries in the directory.
1660 FileSystemDirectoryEntry.getDirectory() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getDirectory
The FileSystemDirectoryEntry interface's method getDirectory() returns a FileSystemDirectoryEntry object corresponding to a directory contained somewhere within the directory subtree rooted at the directory on which it's called.
1661 FileSystemDirectoryEntry.getFile() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getFile
The FileSystemDirectoryEntry interface's method getFile() returns a FileSystemFileEntry object corresponding to a file contained somewhere within the directory subtree rooted at the directory on which it's called.
1662 FileSystemDirectoryEntry.removeRecursively() API, Deprecated, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, 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.
1663 FileSystemDirectoryHandle Directories, 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.
1664 FileSystemDirectoryHandle.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).
1665 FileSystemDirectoryHandle.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.
1666 FileSystemDirectoryHandle.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.
1667 FileSystemDirectoryHandle.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.
1668 FileSystemDirectoryHandle.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.
1669 FileSystemDirectoryHandle.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.
1670 FileSystemDirectoryHandle.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.
1671 FileSystemDirectoryReader API, Deprecated, 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.
1672 FileSystemDirectoryReader.readEntries() API, Deprecated, 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.
1673 FileSystemEntry API, Entry, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference
The FileSystemEntry interface of the File and Directory Entries API represents a single entry in a file system. The entry can be a file or a directory (directories are represented by the FileSystemDirectoryEntry 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.
1674 FileSystemEntry.copyTo() API, Deprecated, 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.
1675 FileSystemEntry.filesystem API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, filesystem
The read-only filesystem property of the FileSystemEntry interface contains a FileSystem object that represents the file system on which the entry resides.
1676 FileSystemEntry.fullPath API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, fullPath
The read-only fullPath property of the FileSystemEntry interface returns a USVString specifying the full, absolute path from the file system's root to the file represented by the entry.
1677 FileSystemEntry.getMetadata() API, Deprecated, 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.
1678 FileSystemEntry.getParent() API, File System API, File and Directory Entry API, FileSystemEntry, Files, Method, Non-standard, Reference, getParent
The FileSystemEntry interface's method getParent() obtains a FileSystemDirectoryEntry.
1679 FileSystemEntry.isDirectory API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isDirectory
The read-only isDirectory property of the FileSystemEntry interface is true if the entry represents a directory (meaning it's a FileSystemDirectoryEntry) and false if it's not.
1680 FileSystemEntry.isFile API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isFile
The read-only isFile property of the FileSystemEntry interface is true if the entry represents a file (meaning it's a FileSystemFileEntry) and false if it's not.
1681 FileSystemEntry.moveTo() API, Deprecated, 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.
1682 FileSystemEntry.name API, File System API, File and Directory Entries API, FileSystemEntry, Non-standard, Offline, Property, Reference, name
The read-only name property of the FileSystemEntry interface returns a USVString specifying the entry's name; this is the entry within its parent directory (the last component of the path as indicated by the FileSystemEntry.fullPath property).
1683 FileSystemEntry.remove() API, Deprecated, 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.
1684 FileSystemEntry.toURL() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, toURL
The FileSystemEntry interface's method toURL() creates and returns a string containing a URL which can be used to identify the file system entry. This is done by exposing a new URL scheme—filesystem:—that can be used as the value of src and href attributes.
1685 FileSystemEntrySync API, EntrySync, File API, File System API, File and Directory Entries API, FileSystemEntrySync, Interface, Non-standard, Offline, Reference, filesystem
The FileSystemEntrySync interface of the File and Directory Entries API represents an entry in a file system; it can be either a FileEntrySync or FileSystemDirectoryEntry.
1686 FileSystemFileEntry API, File API, File System API, File and Directory Entries API, FileEntry, Files, Interface, Offline, Reference
The FileSystemFileEntry interface of the File System API represents a file in a file system. It offers properties describing the file's attributes, as well as the FileSystemFileEntry.file method, which creates a File object that can be used to read the file.
1687 FileSystemFileEntry.createWriter() API, Deprecated, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, 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.
1688 FileSystemFileEntry.file() API, File, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Reference
The FileSystemFileEntry interface's method file() returns a File object which can be used to read data from the file represented by the directory entry.
1689 FileSystemFileHandle Directory, 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.
1690 FileSystemFileHandle.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.
1691 FileSystemFileHandle.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.
1692 FileSystemFlags API, Dictionary, Experimental, File System API, File and Directory Entries API, FileSystemFlags, Files, Interface, Non-standard, Reference
The FileSystemFlags dictionary defines a set of values which are used when specifying option flags when calling certain methods in the File and Directory Entries API. Methods which accept an options parameter of this type may specify zero or more of these flags as fields in an object, like this:
1693 FileSystemFlags.create API, Create, File System API, File System API, File and Directory Entries API, FileSystemFlags, Files, 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().
1694 FileSystemFlags.exclusive API, File System API, File and Directory Entries API, FileSystemFlags, Files, Non-standard, Offline, Property, Reference, exclusive
The exclusive property on the FileSystemFlags dictionary is used in tandem with the create property to determine whether or not it's acceptable to require that the file not already exist when the reference to it is created by calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory().
1695 FileSystemHandle Directories, 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 a file or directory entry. Multiple handles can represent the same entry. For the most part you do not work with FileSystemHandle directly but rather its child interfaces FileSystemFileHandle and FileSystemDirectoryHandle.
1696 FileSystemHandle.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.
1697 FileSystemHandle.kind Directory, 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.
1698 FileSystemHandle.name Directory, 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.
1699 FileSystemHandle.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.
1700 FileSystemHandle.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.
1701 FileSystemSync API, File API, File System API, Files, Offline, filesystem
In the File System API, a FileSystemSync object represents a file system. It has two properties.
1702 FileSystemWritableFileStream File, 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.
1703 FileSystemWritableFileStream.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.
1704 FileSystemWritableFileStream.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.
1705 FileSystemWritableFileStream.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.
1706 FocusEvent API, 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.
1707 FocusEvent() API, Constructor, Event, FocusEvent, Reference
The FocusEvent() constructor returns a newly created FocusEvent object with an optional EventTarget. When the event has both a source and a destination, the relatedTarget value must be set to the other target.
1708 FocusEvent.relatedTarget API, Event, Experimental, FocusEvent, Property, Reference
The FocusEvent.relatedTarget read-only property is the secondary target, depending on the type of event:
1709 FontFace API, 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.
1710 FontFace.ascentOverride API, FontFace, Property, Reference, ascentOverride
The ascentOverride property of the FontFace interface returns and sets the value of the @font-face/ascent-override descriptor. The possible values are normal, indicating that the metric used should be obtained from the font file, or a percentage.
1711 FontFace.descentOverride API, FontFace, Property, Reference, descentOverride
The descentOverride property of the FontFace interface returns and sets the value of the @font-face/descent-override descriptor. The possible values are normal, indicating that the metric used should be obtained from the font file, or a percentage.
1712 FontFace.display API, 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.
1713 FontFace.family API, 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.
1714 FontFace.featureSettings API, 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.
1715 FontFace() API, CSS Font Loading API, CSSOM, Constructor, FontFace, Fonts, Reference
The FontFace() constructor creates a new FontFace object.
1716 FontFace.lineGapOverride API, FontFace, Property, Reference, lineGapOverride
The lineGapOverride property of the FontFace interface returns and sets the value of the @font-face/line-gap-override descriptor. The possible values are normal, indicating that the metric used should be obtained from the font file, or a percentage.
1717 FontFace.load API, 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.
1718 FontFace.loaded API, 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.
1719 FontFace.status API, 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".
1720 FontFace.stretch API, 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.
1721 FontFace.style API, 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.
1722 FontFace.unicodeRange API, 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.
1723 FontFace.variant API, 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.
1724 FontFace.variationSettings API, CSS Font Loading API, CSSOM, FontFace, Fonts, Property, Reference, variationSettings
The variationSettings property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. It is equivalent to the @font-face/font-variation-settings descriptor.
1725 FontFace.weight API, 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.
1726 FontFaceSet API, 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.
1727 FontFaceSet.check() API, CSS Font Loading API, CSSOM, Experimental, FontFaceSet, Method, Reference
The check() method of the FontFaceSet returns whether all fonts in the given font list have been loaded and are available.
1728 FontFaceSet.load() API, CSS Font Loading API, CSSOM, Experimental, FontFaceSet, Method, Reference
The load() method of the FontFaceSet forces all the fonts given in parameters to be loaded.
1729 FontFaceSet.ready API, 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.
1730 FontFaceSetLoadEvent API, CSSFontLoading, CSSOM, Event, Experimental, FontFaceLoadEvent, Fonts, Interface, Reference
The FontFaceSetLoadEvent interface of the CSS Font Loading API is fired whenever a FontFaceSet loads.
1731 FontFaceSetLoadEvent.fontfaces API, 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.
1732 FontFaceSetLoadEvent() API, CSSFontLoading, CSSOM, Constructor, Experimental, FontFaceLoadEvent, Fonts, Reference
The FontFaceSetLoadEvent() constructor creates a new FontFaceLoadEvent object which is fired whenever a FontFaceSet loads.
1733 Force Touch events Advanced, DOM, Event, Mobile, NeedsBrowserCompatibility, NeedsCompatTable, NeedsMobileBrowserCompatibility, Reference
Force Touch events
1734 FormData API, FormData, Interface, Reference, XMLHttpRequest
The FormData interface provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
1735 FormData.append() API, Append, FormData, Method, Reference, XHR, XMLHttpRequest
The append() method of the FormData interface appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
1736 FormData.delete() API, FormData, Method, Reference, XHR, XMLHttpRequest, delete
The delete() method of the FormData interface deletes a key and its value(s) from a FormData object.
1737 FormData.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.
1738 FormData() API, Constructor, FormData, Reference, XHR, XMLHttpRequest
The FormData() constructor creates a new FormData object.
1739 FormData.get() API, FormData, Method, Reference, XHR, XMLHttpRequest
The get() method of the FormData interface returns the first value associated with a given key from within a FormData object. If you expect multiple values and want all of them, use the FormData.getAll() method instead.
1740 FormData.getAll() API, FormData, Method, Reference, XHR, XMLHttpRequest
The getAll() method of the FormData interface returns all the values associated with a given key from within a FormData object.
1741 FormData.has() API, FormData, Method, Reference, XHR, XMLHttpRequest, has
The has() method of the FormData interface returns a boolean stating whether a FormData object contains a certain key.
1742 FormData.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.
1743 FormData.set() API, FormData, Method, Reference, XHR, XMLHttpRequest, set
The set() method of the FormData interface sets a new value for an existing key inside a FormData object, or adds the key/value if it does not already exist.
1744 Using FormData Objects AJAX, Blob, File, FormData, Forms, XHR, XMLHttpRequest
The FormData object lets you compile a set of key/value pairs to send using XMLHttpRequest. It is primarily intended for use in sending form data, but can be used independently from forms in order to transmit keyed data. The transmitted data is in the same format that the form's HTMLFormElement.submit method would use to send the data if the form's encoding type were set to multipart/form-data.
1745 FormData.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.
1746 FormDataEntryValue FormDataEntryValue
A string or File that represents a single value from a set of FormData key-value pairs.
1747 FormDataEvent API, 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.
1748 FormDataEvent.formData API, 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.
1749 FormDataEvent() API, Constructor, Experimental, FormDataEvent, Forms, Reference
The FormDataEvent() constructor creates a new FormDataEvent object instance.
1750 Frame Timing API Guide, Overview, Web Performance
The PerformanceFrameTiming interface provides frame timing data about the browser's event loop. A frame represents the amount of work a browser does in one event loop iteration such as processing DOM events, resizing, scrolling, rendering, CSS animations, etc. A frame rate of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7 ms.
1751 Using the Frame Timing API Guide, Web Performance
The PerformanceFrameTiming interface provides frame timing data about the browser's event loop. A frame represents the amount of work a browser does in one event loop iteration such as processing DOM events, resizing, scrolling, rendering, CSS animations, etc. A frame rate of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7ms.
1752 Fullscreen API API, DOM, Full, Full-screen, Fullscreen API, Games, Graphics, Guide, Intermediate, Overview, Reference, View, fullscreen, screen
The Fullscreen API adds methods to present a specific Element (and its descendants) in full-screen mode, and to exit full-screen mode once it is no longer needed. This makes it possible to present desired content—such as an online game—using the user's entire screen, removing all browser user interface elements and other applications from the screen until full-screen mode is shut off.
1753 Guide to the Fullscreen API API, Drawing, Full, Fullscreen API, Games, Graphics, Guide, display, full screen, fullscreen, screen
This article demonstrates how to use the Fullscreen API to place a given element into full-screen mode, as well as how to detect when the browser enters or exits full-screen mode.
1754 GainNode API, GainNode, Interface, Reference, Web Audio API
The GainNode interface represents a change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
1755 GainNode.gain API, 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.
1756 GainNode() API, Audio, Constructor, GainNode, Media, Reference, Web Audio API
The GainNode() constructor of the Web Audio API creates a new GainNode object which an AudioNode that represents a change in volume.
1757 Gamepad API API, Experimental, Gamepad API, Games, Overview
The Gamepad API is a way for developers to access and respond to signals from gamepads and other game controllers in a simple, consistent way. It contains three interfaces, two events and one specialist function, to respond to gamepads being connected and disconnected, and to access other information about the gamepads themselves, and what buttons and other controls are currently being pressed.
1758 Using the Gamepad API API, Advanced, Gamepad API, Games, Guide
HTML5 introduced many of the necessary components for rich, interactive game development. Technologies like <canvas>, WebGL, <audio>, and <video>, along with JavaScript implementations, have matured to the point where they can now support many tasks previously requiring native code. The Gamepad API is a way for developers and designers to access and use gamepads and other game controllers.
1759 Gamepad API, Gamepad API, Games, Interface, Reference
The Gamepad interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
1760 Gamepad.axes API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
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).
1761 Gamepad.buttons API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
The Gamepad.buttons property of the Gamepad interface returns an array of gamepadButton objects representing the buttons present on the device.
1762 Gamepad.connected API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
The Gamepad.connected property of the Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system.
1763 Gamepad.displayId API, Deprecated, Experimental, Gamepad, Property, Reference, VR, Virtual Reality, WebVR, displayId
WebVR API
1764 Gamepad.hand API, Experimental, Gamepad, Gamepad API, Property, Reference, hand
The hand read-only property of the Gamepad interface returns an enum defining what hand the controller is being held in, or is most likely to be held in.
1765 Gamepad.hapticActuators API, Experimental, Gamepad, Gamepad API, Property, Reference, hapticActuators
The hapticActuators read-only property of the Gamepad interface returns an array containing GamepadHapticActuator objects, each of which represents haptic feedback hardware available on the controller.
1766 Gamepad.id API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
The Gamepad.id property of the Gamepad interface returns a string containing some information about the controller.
1767 Gamepad.index API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
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.
1768 Gamepad.mapping API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
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.
1769 Gamepad.pose API, Experimental, Gamepad, Gamepad API, Property, Reference, pose
The pose read-only property of the Gamepad interface returns a GamepadPose object representing the pose information associated with a WebVR controller (e.g. its position and orientation in 3D space).
1770 Gamepad.timestamp API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
The Gamepad.timestamp property of the Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated.
1771 GamepadButton API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Reference
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.
1772 GamepadButton.pressed API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
The GamepadButton.pressed property of the GamepadButton interface returns a boolean indicating whether the button is currently pressed (true) or unpressed (false).
1773 GamepadButton.value API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference
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.
1774 GamepadEvent API, Gamepad API, Games, Interface, Reference
The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.
1775 GamepadEvent.gamepad API, Gamepad API, Property, Reference
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.
1776 GamepadEvent() API, Constructor, Gamepad API, Games, Reference
The GamepadEvent() constructor creates a new GamepadEvent object.
1777 GamepadHapticActuator API, Experimental, Gamepad, GamepadHapticActuator, Interface, Reference, VR, Virtual Reality, WebVR
The GamepadHapticActuator interface of the Gamepad API represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
1778 GamepadHapticActuator.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.
1779 GamepadHapticActuator.type API, 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.
1780 GamepadPose API, 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.)
1781 GamepadPose.angularAcceleration API, 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.
1782 GamepadPose.angularVelocity API, 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.
1783 GamepadPose.hasOrientation API, 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.
1784 GamepadPose.hasPosition API, 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.
1785 GamepadPose.linearAcceleration API, 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.
1786 GamepadPose.linearVelocity API, 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.
1787 GamepadPose.orientation API, 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.
1788 GamepadPose.position API, 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.
1789 Geolocation API Geolocation 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.
1790 Using the Geolocation API Geolocation 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.
1791 Geolocation API, 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.
1792 Geolocation.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().
1793 Geolocation.getCurrentPosition() API, Geolocation, Geolocation API, Method, Reference, Secure context, getCurrentPosition
The Geolocation.getCurrentPosition() method is used to get the current position of the device.
1794 Geolocation.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.
1795 GeolocationCoordinates API, 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.
1796 GeolocationCoordinates.accuracy API, 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.
1797 GeolocationCoordinates.altitude API, 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.
1798 GeolocationCoordinates.altitudeAccuracy API, 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.
1799 GeolocationCoordinates.heading API, 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 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.
1800 GeolocationCoordinates.latitude API, 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.
1801 GeolocationCoordinates.longitude API, 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.
1802 GeolocationCoordinates.speed API, 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.
1803 GeolocationPosition API, 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.
1804 GeolocationPosition.coords API, 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.
1805 GeolocationPosition.timestamp API, 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.
1806 GeolocationPositionError API, Geolocation API, GeolocationPositionError, Interface, Secure context
The GeolocationPositionError interface represents the reason of an error occurring when using the geolocating device.
1807 GeolocationPositionError.code API, Code, Geolocation API, GeolocationPositionError, Property, Secure context
The GeolocationPositionError.code read-only property is an unsigned short representing the error code.
1808 GeolocationPositionError.message API, Geolocation API, GeolocationPositionError, Property, Secure context, message
The GeolocationPositionError.message read-only property returns a human-readable DOMString describing the details of the error.
1809 GestureEvent API, 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.
1810 getCandidateWindowClientRect Deprecated, Reference
No summary!
1811 GlobalEventHandlers API, GlobalEventHandlers, HTML DOM, Mixin, Reference, events
The GlobalEventHandlers mixin describes the event handlers common to several interfaces like HTMLElement, Document, or Window.
1812 GlobalEventHandlers.onabort API, Event Handler, Experimental, GlobalEventHandlers, NeedsContent, NeedsHelp, NeedsUpdate, Property, Reference, Window
The onabort property of the GlobalEventHandlers mixin is the event handler for processing abort events sent to the window.
1813 GlobalEventHandlers.onanimationcancel API, 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 event handler for processing animationcancel events.
1814 GlobalEventHandlers.onanimationend API, 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 event handler for processing animationend events.
1815 GlobalEventHandlers.onanimationiteration API, 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 event handler for processing animationiteration events.
1816 GlobalEventHandlers.onanimationstart API, 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.
1817 GlobalEventHandlers.onauxclick API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, auxclick
The onauxclick property of the GlobalEventHandlers mixin is an event handler for processing auxclick events.
1818 GlobalEventHandlers.onblur API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onblur property of the GlobalEventHandlers mixin is the event handler for processing blur events. It's available on Element, Document, and Window.
1819 GlobalEventHandlers.oncancel API, Dialog, Event Handler, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
The oncancel property of the GlobalEventHandlers mixin is an event handler for processing cancel events sent to a dialog element.
1820 GlobalEventHandlers.oncanplay API, Event Handler, GlobalEventHandlers, Property, Reference
The oncanplay property of the GlobalEventHandlers mixin is the event handler for processing canplay events.
1821 GlobalEventHandlers.oncanplaythrough API, Event Handler, GlobalEventHandlers, Property, Reference
The oncanplaythrough property of the GlobalEventHandlers mixin is the event handler for processing canplaythrough events.
1822 GlobalEventHandlers.onchange API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onchange property of the GlobalEventHandlers mixin is an event handler for processing change events.
1823 GlobalEventHandlers.onclick API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onclick property of the GlobalEventHandlers mixin is the event handler for processing Element/click_event events on a given element.
1824 GlobalEventHandlers.onclose API, Dialog, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
The onclose property of the GlobalEventHandlers mixin is an event handler for processing close events sent to a dialog element.
1825 GlobalEventHandlers.oncontextmenu API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The oncontextmenu property of the GlobalEventHandlers mixin is an event handler that processes contextmenu events.
1826 GlobalEventHandlers.oncuechange API, Event Handler, GlobalEventHandlers, Property, Reference, TextTrack, WebVTT, text track, track, vtt
The oncuechange property of the GlobalEventHandlers mixin is the event handler for processing cuechange events.
1827 GlobalEventHandlers.ondblclick API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The ondblclick property of the GlobalEventHandlers mixin is an event handler that processes dblclick events on the given element.
1828 GlobalEventHandlers.ondrag API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the drag event.
1829 GlobalEventHandlers.ondragend API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragend event.
1830 GlobalEventHandlers.ondragenter API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragenter event.
1831 GlobalEventHandlers.ondragleave API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragleave event.
1832 GlobalEventHandlers.ondragover API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragover event.
1833 GlobalEventHandlers.ondragstart API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the dragstart event.
1834 GlobalEventHandlers.ondrop API, HTML DOM, Reference, drag and drop
A GlobalEventHandlers for the drop event.
1835 GlobalEventHandlers.ondurationchange API, Event Handler, GlobalEventHandlers, Property, Reference
The ondurationchange property of the GlobalEventHandlers mixin is the event handler for processing durationchange events.
1836 GlobalEventHandlers.onemptied
The onemptied property sets and returns the event handler for the emptied event.
1837 GlobalEventHandlers.onended API, Event Handler, GlobalEventHandlers, Property, Reference
The onended property of the GlobalEventHandlers mixin is the event handler for processing ended events.
1838 GlobalEventHandlers.onerror API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onerror property of the GlobalEventHandlers mixin is an event handler that processes error events.
1839 GlobalEventHandlers.onfocus API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onfocus property of the GlobalEventHandlers mixin is an event handler that processes focus events on the given element.
1840 GlobalEventHandlers.onformdata API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The onformdata property of the GlobalEventHandlers mixin is the event handler 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.
1841 GlobalEventHandlers.ongotpointercapture API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, ongotpointercapture
The ongotpointercapture property of the GlobalEventHandlers mixin is an event handler that processes gotpointercapture events.
1842 GlobalEventHandlers.oninput API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The oninput property of the GlobalEventHandlers mixin is an event handler 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.
1843 GlobalEventHandlers.oninvalid API, Event Handler, GlobalEventHandlers, Property, Reference
The oninvalid property of the GlobalEventHandlers mixin is an event handler that processes invalid events.
1844 GlobalEventHandlers.onkeydown API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events
The onkeydown property of the GlobalEventHandlers mixin is an event handler that processes keydown events.
1845 GlobalEventHandlers.onkeypress API, Deprecated, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onkeypress property of the GlobalEventHandlers mixin is an event handler that processes keypress events.
1846 GlobalEventHandlers.onkeyup API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onkeyup property of the GlobalEventHandlers mixin is an event handler that processes keyup events.
1847 GlobalEventHandlers.onload API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onload
The onload property of the GlobalEventHandlers mixin is an event handler that processes load events on a Window, XMLHttpRequest, img element, etc.
1848 GlobalEventHandlers.onloadeddata API, Event Handler, GlobalEventHandlers, Property, Reference
The onloadeddata property of the GlobalEventHandlers mixin is the event handler for processing loadeddata events.
1849 GlobalEventHandlers.onloadedmetadata API, Event Handler, GlobalEventHandlers, Property, Reference
The onloadedmetadata property of the GlobalEventHandlers mixin is the event handler for processing loadedmetadata events.
1850 GlobalEventHandlers.onloadend API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadend
The onloadend property of the GlobalEventHandlers mixin is an event handler representing the code to be called when the loadend event is raised (when progress has stopped on the loading of a resource.)
1851 GlobalEventHandlers.onloadstart API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadstart
The onloadstart property of the GlobalEventHandlers mixin is an event handler representing the code to be called when the loadstart event is raised (when progress has begun on the loading of a resource.)
1852 GlobalEventHandlers.onlostpointercapture API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, onlostpointercapture
The onlostpointercapture property of the GlobalEventHandlers mixin is an event handler that processes lostpointercapture events.
1853 GlobalEventHandlers.onmousedown API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmousedown property of the GlobalEventHandlers mixin is an event handler that processes mousedown events.
1854 GlobalEventHandlers.onmouseenter API, Event Handler, GlobalEventHandlers, Property, Reference
The onmouseenter property of the GlobalEventHandlers mixin is the event handler for processing mouseenter events.
1855 GlobalEventHandlers.onmouseleave API, Event Handler, GlobalEventHandlers, Property, Reference
The onmouseleave property of the GlobalEventHandlers mixin is the event handler for processing mouseleave events.
1856 GlobalEventHandlers.onmousemove API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmousemove property of the GlobalEventHandlers mixin is an event handler that processes mousemove events.
1857 GlobalEventHandlers.onmouseout API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseout property of the GlobalEventHandlers mixin is an event handler that processes mouseout events.
1858 GlobalEventHandlers.onmouseover API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseover property of the GlobalEventHandlers mixin is an event handler that processes mouseover events.
1859 GlobalEventHandlers.onmouseup API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onmouseup property of the GlobalEventHandlers mixin is an event handler that processes mouseup events.
1860 GlobalEventHandlers.onmousewheel Deprecated
The onmousewheel property sets and returns the event handler for the mousewheel event.
1861 GlobalEventHandlers.onpause API, Event Handler, GlobalEventHandlers, Property, Reference
The onpause property of the GlobalEventHandlers mixin is the event handler for processing pause events.
1862 GlobalEventHandlers.onplay API, Event Handler, GlobalEventHandlers, Property, Reference
The onplay property of the GlobalEventHandlers mixin is the event handler for processing play events.
1863 GlobalEventHandlers.onplaying API, Event Handler, GlobalEventHandlers, Property, Reference
The onplaying property of the GlobalEventHandlers mixin is the event handler for processing playing events.
1864 GlobalEventHandlers.onpointercancel API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointercancel property of the GlobalEventHandlers mixin is an event handler that processes pointercancel events.
1865 GlobalEventHandlers.onpointerdown API, 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.
1866 GlobalEventHandlers.onpointerenter API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerenter property of the GlobalEventHandlers mixin is an event handler that processes HTMLElement/pointerenter_event events.
1867 GlobalEventHandlers.onpointerleave API, 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.
1868 GlobalEventHandlers.onpointermove API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointermove property of the GlobalEventHandlers mixin is an event handler that processes pointermove events.
1869 GlobalEventHandlers.onpointerout API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerout property of the GlobalEventHandlers mixin is an event handler that processes pointerout events.
1870 GlobalEventHandlers.onpointerover API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerover property of the GlobalEventHandlers mixin is an event handler that processes pointerover events.
1871 GlobalEventHandlers.onpointerup API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
The onpointerup property of the GlobalEventHandlers mixin is an event handler that processes pointerup events.
1872 GlobalEventHandlers.onreset API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onreset property of the GlobalEventHandlers mixin is an event handler that processes reset events.
1873 GlobalEventHandlers.onresize API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onresize
The onresize property of the GlobalEventHandlers interface is an event handler that processes resize events.
1874 GlobalEventHandlers.onscroll API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onscroll property of the GlobalEventHandlers mixin is an event handler that processes scroll events.
1875 GlobalEventHandlers.onselect API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onselect property of the GlobalEventHandlers mixin is an event handler that processes select events.
1876 GlobalEventHandlers.onselectionchange API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectionchange
The onselectionchange property of the GlobalEventHandlers mixin is an event handler that processes selectionchange events.
1877 GlobalEventHandlers.onselectstart API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectstart
The onselectstart property of the GlobalEventHandlers mixin is an event handler that processes selectstart events.
1878 GlobalEventHandlers.onsubmit API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
The onsubmit property of the GlobalEventHandlers mixin is an event handler that processes submit events.
1879 GlobalEventHandlers.ontouchcancel API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The ontouchcancel property of the GlobalEventHandlers mixin is an event handler that processes touchcancel events.
1880 GlobalEventHandlers.ontouchend API, Experimental, HTML DOM, Reference, TouchEvent
The ontouchstart is a GlobalEventHandlers for the touchend event.
1881 GlobalEventHandlers.ontouchmove API, Experimental, HTML DOM, Reference
A GlobalEventHandlers for the touchmove event.
1882 GlobalEventHandlers.ontouchstart API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
The ontouchstart property of the GlobalEventHandlers mixin is an event handler that processes touchstart events.
1883 GlobalEventHandlers.ontransitioncancel API, CSS Transitions, CSS3 Transitions, Event Handler, GlobalEventHandlers, Property, Reference, ontransitioncancel
The ontransitioncancel property of the GlobalEventHandlers mixin is an event handler that processes transitioncancel events.
1884 GlobalEventHandlers.ontransitionend API, CSS Transitions, CSS3 Transitions, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Window, ontransitionend
The ontransitionend property of the GlobalEventHandlers mixin is an event handler that processes transitionend events.
1885 GlobalEventHandlers.onwheel API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onwheel
The onwheel property of the GlobalEventHandlers mixin is an event handler that processes wheel events.
1886 GravitySensor API, Accelerometer, Accelerometer API, Generic Sensor API, GravitySensor, Interface, Reference, Sensor, Sensor APIs, Sensors
The GravitySensor interface of the Sensor APIs provides on each reading the gravity applied to the device along all three axes.
1887 GravitySensor() API, Accelerometer, Constructor, Generic Sensor API, GravitySensor, Reference, Sensor, Sensor APIs, Sensors
The GravitySensor() constructor creates a new GravitySensor object which provides on each reading the gravity applied to the device along all three axes.
1888