Index - Web APIs 编辑
Found 5761 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 (e.g. a Fetch request) before it has completed. This is able to abort fetch requests, consumption of any response Body , and streams. | ||
4 | AbortController.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) 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.aborted | API, AbortSignal, Experimental, Property, Reference, aborted |
The aborted read-only property returns a Boolean that indicates whether the DOM request(s) the signal is communicating with is/are aborted (true ) or not (false ). | ||
9 | AbortSignal.onabort | API, AbortSignal, Event Handler, Experimental, Fetch, Property, Reference, onabort |
The onabort read-only property of the FetchSignal interface is an event handler Invoked when an abort_(cancellable_fetch) event fires, i.e. when the fetch request(s) the signal is communicating with is/are aborted. | ||
10 | 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. | ||
11 | 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. | ||
12 | 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. | ||
13 | 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. | ||
14 | 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. | ||
15 | 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. | ||
16 | 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. | ||
17 | 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. | ||
18 | AbstractWorker | API, Abstract, AbstractWorker, Interface, Reference, SharedWorker, Web Workers, Web Workers API, Worker |
The AbstractWorker interface of the Web Workers API is an abstract interface that defines properties and methods that are common to all types of worker, including not only the basic Worker , but also ServiceWorker and SharedWorker . | ||
19 | AbstractWorker.onerror | API, AbstractWorker, EventHandler, Property, Reference, Web Workers, Workers, onerror |
The AbstractWorker .onerror property of the AbstractWorker interface represents an EventHandler , that is a function to be called when the error event occurs and bubbles through the Worker . | ||
20 | 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. | ||
21 | Accelerometer.Accelerometer() | API, Accelerometer, Accelerometer API, Constructor, Generic Sensor API, Reference, Sensor, Sensor APIs, Sensors |
The Accelerometer constructor creates a new Accelerometer object which returns the acceleration of the device along all three axes at the time it is read. | ||
22 | 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. | ||
23 | 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. | ||
24 | 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. | ||
25 | 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). | ||
26 | 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. | ||
27 | 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. | ||
28 | 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. | ||
29 | 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. | ||
30 | 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. | ||
31 | 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. | ||
32 | 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. | ||
33 | 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. | ||
34 | 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. | ||
35 | 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. | ||
36 | AddressErrors.regionCode | API, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, paymentAddress, region, regionCode |
An object based on AddressErrors includes a regionCode property when the address's PaymentAddress.regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. | ||
37 | 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. | ||
38 | 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. | ||
39 | 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. | ||
40 | 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. | ||
41 | 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. | ||
42 | Ambient Light Events | Ambient Light |
The ambient light events are a handy way to make a web page or an application aware of any change in the light intensity. It allows them to react to such a change, for example by changing the color contrast of the User Interface (UI) or by changing the exposure necessary to take a picture. | ||
43 | Ambient Light Sensor API | API, Ambient Light Sensor API, AmbientLightSensor, Junk, Landing, Overview, Reference |
The Ambient Light Sensor API provides an interface to monitor the ambient light level or illuminance of the device’s environment. | ||
44 | 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. | ||
45 | AmbientLightSensor.AmbientLightSensor() | API, Ambient Light Sensor API, AmbientLightSensor, Constructor, Reference |
The AmbinentLightSensor() constructor creates a new AmbientLightSensor object, which returns the current light level or illuminance of the ambient light around the hosting device. | ||
46 | 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. | ||
47 | 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. | ||
48 | AnalyserNode.AnalyserNode() | API, AnalyserNode, Audio, Constructor, Media, Reference, Web Audio API |
The AnalyserNode constructor of the Web Audio API creates a new AnalyserNode object instance. | ||
49 | 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. | ||
50 | 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. | ||
51 | AnalyserNode.getByteFrequencyData() | API, AnalyserNode, Method, Reference, Référence(2), Web Audio API |
The getByteFrequencyData() method of the AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it. | ||
52 | AnalyserNode.getByteTimeDomainData() | API, AnalyserNode, Method, Reference, Référence(2), Web Audio API |
The getByteTimeDomainData() method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it. | ||
53 | AnalyserNode.getFloatFrequencyData() | API, AnalyserNode, Method, Reference, Référence(2), Web Audio API |
The getFloatFrequencyData() method of the AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it. | ||
54 | AnalyserNode.getFloatTimeDomainData() | API, AnalyserNode, Method, Reference, Référence(2), Web Audio API |
The getFloatTimeDomainData() method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Float32Array array passed into it. | ||
55 | AnalyserNode.maxDecibels | API, AnalyserNode, Property, Reference, Web Audio API, maxDecibels |
The maxDecibels property of the AnalyserNode interface is a double value representing the maximum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte/float values — basically, this specifies the maximum value for the range of results when using getFloatFrequencyData() or getByteFrequencyData() . | ||
56 | AnalyserNode.minDecibels | API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, minDecibels |
The minDecibels property of the AnalyserNode interface is a double value representing the minimum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte/float values — basically, this specifies the minimum value for the range of results when using getFloatFrequencyData() or getByteFrequencyData() . | ||
57 | AnalyserNode.smoothingTimeConstant | API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, smoothingTimeConstant |
The smoothingTimeConstant property of the AnalyserNode interface is a double value representing the averaging constant with the last analysis frame. It's basically an average between the current buffer and the last buffer the AnalyserNode processed, and results in a much smoother set of value changes over time. | ||
58 | 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. | ||
59 | 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. | ||
60 | 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. | ||
61 | 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() . | ||
62 | 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. | ||
63 | Animation() | API, Animation, Animations, Constructor, Reference, web animations api |
The Animation() constructor of the Web Animations API returns a new Animation object instance. | ||
64 | 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 KeyframeEffect s caused by this animation and aborts its playback. | ||
65 | 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. | ||
66 | 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. | ||
67 | Animation.effect | API, Animation, Experimental, Property, Reference, Web Animations, effect, web animations api |
The Animation .effect property of the Web Animations API gets and sets the target effect of an animation. The target effect may be either an effect object of a type based on AnimationEffectReadOnly , such as KeyframeEffect , or null . | ||
68 | 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. | ||
69 | 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. | ||
70 | 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. | ||
71 | 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. | ||
72 | 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. | ||
73 | 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). | ||
74 | 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. | ||
75 | 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. | ||
76 | 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. | ||
77 | 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. | ||
78 | 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. | ||
79 | 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. | ||
80 | 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. | ||
81 | 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. | ||
82 | 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. | ||
83 | 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. | ||
84 | 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. | ||
85 | 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. | ||
86 | 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 KeyframeEffectReadOnly (which is used by CSS Animations and Transitions). | ||
87 | 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. | ||
88 | 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. | ||
89 | 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. | ||
90 | AnimationEvent | API, Experimental, Interface, Reference, Web Animations |
The AnimationEvent interface represents events providing information related to animations. | ||
91 | 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. | ||
92 | 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. | ||
93 | 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) . | ||
94 | AnimationEvent.initAnimationEvent() | API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations |
The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent() method. | ||
95 | 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: '' . | ||
96 | AnimationPlaybackEvent | API, Animation, AnimationPlaybackEvent, Experimental, Interface, Reference, events, waapi, web animations api |
The AnimationPlaybackEvent interface of the Web Animations API represents animation events. | ||
97 | AnimationPlaybackEvent.AnimationPlaybackEvent() | API, Animation, AnimationPlaybackEvent, AnimationPlaybackEvent(), Constructor, Experimental, Reference, waapi, web animations api |
The AnimationPlaybackEvent() constructor of the Web Animations API returns a new object instance. | ||
98 | AnimationPlaybackEvent.currentTime | API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, currentTime, waapi, web animations api |
The currentTime read-only property of the 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. | ||
99 | AnimationPlaybackEvent.timelineTime | API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, timelineTime, waapi, web animations api |
The timelineTime read-only property of the 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. | ||
100 | 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. | ||
101 | 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. | ||
102 | ArrayBufferView | API, Interface, JavaScript, Reference, Typed Arrays |
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types: | ||
103 | 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. | ||
104 | Attr.localName | API, DOM, Property, Reference |
The Attr.localName read-only property returns the local part of the qualified name of an attribute. | ||
105 | 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. | ||
106 | 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. | ||
107 | AudioBuffer | API, AudioBuffer, Interface, Reference, Web Audio API |
The AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer() . Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode . | ||
108 | 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. | ||
109 | 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 . | ||
110 | 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. | ||
111 | 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. | ||
112 | 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). | ||
113 | 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. | ||
114 | 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. | ||
115 | 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. | ||
116 | 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. | ||
117 | AudioBufferSourceNode.AudioBufferSourceNode() | API, Audio, AudioBufferSourceNode, Constructor, Media, Reference, Web Audio API |
The AudioBufferSourceNode() constructor creates a new AudioBufferSourceNode object instance. | ||
118 | 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. | ||
119 | 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. | ||
120 | 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. | ||
121 | 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 . | ||
122 | 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. | ||
123 | 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. | ||
124 | 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. | ||
125 | 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. | ||
126 | 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 . | ||
127 | 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 . | ||
128 | 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. | ||
129 | 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. | ||
130 | AudioContext.createJavaScriptNode() | API, Audio, Method, Obsolete, Reference, Web, createJavaScriptNode |
The | ||
131 | AudioContext.createMediaElementSource() | API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaElementSource |
The createMediaElementSource() method of the AudioContext Interface is used to create a new MediaElementAudioSourceNode object, given an existing HTML audio or video element, the audio from which can then be played and manipulated. | ||
132 | AudioContext.createMediaStreamDestination() | API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaStreamDestination |
The createMediaStreamDestination() method of the AudioContext Interface is used to create a new MediaStreamAudioDestinationNode object associated with a WebRTC MediaStream representing an audio stream, which may be stored in a local file or sent to another computer. | ||
133 | 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. | ||
134 | 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 . | ||
135 | AudioContext.createWaveTable() | API, AudioContext, Method, Obsolete, Reference, Web Audio API, createWaveTable |
The AudioContext method createWaveTable() is now obsolete; you should instead use the method BaseAudioContext.createPeriodicWave . | ||
136 | 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. | ||
137 | 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. | ||
138 | 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. | ||
139 | 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. | ||
140 | AudioContextLatencyCategory | API, Audio, Audio Context, AudioContextLatencyCategory, Enum, Interface, Media, Reference, Type, Web Audio, Web Audio API, latency |
The AudioContextLatencyCategory type is an enumerated set of strings which are used to select one of a number of default values for acceptable maximum latency of an audio context. | ||
141 | AudioContextOptions | API, Audio, AudioContext, AudioContextOptions, Configuration, Context, Dictionary, Interface, Options, Reference, Settings, Web Audio API, sampleRate |
The AudioContextOptions dictionary is used to specify configuration options when constructing a new AudioContext object to represent a graph of web audio nodes. | ||
142 | AudioContextOptions.latencyHint | API, Audio, Audio Context, AudioContext, AudioContextOptions, Context, Options, Property, Reference, Web Audio, Web Audio API, latency, latencyHint |
The AudioContextOptions dictionary (used when instantiating an AudioContext ) may contain a property named latencyHint , which indicates the preferred maximum latency in seconds for the audio context. | ||
143 | AudioContextOptions.sampleRate | API, Audio, AudioContext, AudioContextOptions, Dictionary, Interface, Media, Options, Reference, Sample Rate, Web Audio, Web Audio API, sampleRate |
The AudioContextOptions dictionary (used when instantiating an AudioContext ) may contain a property named sampleRate , which indicates the sample rate to use for the new context. | ||
144 | 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 . | ||
145 | AudioDestinationNode.maxChannelCount | API, AudioDestinationNode, Property, Reference, Référence(2), Web Audio API, maxChannelCount |
The maxchannelCount property of the AudioDestinationNode interface is an unsigned long defining the maximum amount of channels that the physical device can handle. | ||
146 | AudioListener | API, AudioListener, Interface, Reference, Référence(2), Web Audio API |
The AudioListener interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNode s spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. | ||
147 | 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. | ||
148 | 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. | ||
149 | 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. | ||
150 | 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. | ||
151 | 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. | ||
152 | 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. | ||
153 | 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. | ||
154 | AudioListener.setOrientation() | API, AudioListener, Method, Reference, Référence(2), Web Audio API, setOrientation |
The setOrientation() method of the AudioListener interface defines the orientation of the listener. | ||
155 | AudioListener.setPosition() | API, AudioListener, Deprecated, Method, Reference, Référence(2), Web Audio API, setPosition |
The setPosition() method of the AudioListener Interface defines the position of the listener. | ||
156 | 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. | ||
157 | 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. | ||
158 | 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. | ||
159 | 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. | ||
160 | AudioNode | API, AudioNode, Interface, Reference, Web Audio API |
The AudioNode interface is a generic interface for representing an audio processing module. | ||
161 | 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. | ||
162 | 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. | ||
163 | AudioNode.channelInterpretation | API, AudioNode, Property, Reference, Web Audio API, channelInterpretation |
The channelInterpretation property of the AudioNode interface represents an enumerated value describing the meaning of the channels. This interpretation will define how audio up-mixing and down-mixing will happen. | ||
164 | 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. | ||
165 | 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. | ||
166 | 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. | ||
167 | 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. | ||
168 | 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. | ||
169 | 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. | ||
170 | 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 ). | ||
171 | 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. | ||
172 | 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 . | ||
173 | 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 . | ||
174 | 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. | ||
175 | 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. | ||
176 | 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. | ||
177 | 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. | ||
178 | 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. | ||
179 | AudioParam.setValueAtTime() | API, AudioParam, Method, Reference, Web Audio API, setValueAtTime |
The setValueAtTime() method of the AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against AudioContext.currentTime . The new value is given in the value parameter. | ||
180 | 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. | ||
181 | 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 . | ||
182 | AudioParamDescriptor | API, Audio, AudioParamDescriptor, AudioWorkletProcessor, Dictionary, Reference, Web Audio API, parameterDescriptors |
The AudioParamDescriptor dictionary of the Web Audio API specifies properties for an AudioParam objects. | ||
183 | 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. | ||
184 | AudioProcessingEvent | API, Deprecated, Interface, Internationalization, Reference, Référence(2), Web Audio API |
The Web Audio API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed. | ||
185 | 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. | ||
186 | AudioScheduledSourceNode: ended event | Audio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended |
Web Audio API | ||
187 | AudioScheduledSourceNode.onended | API, Audio, AudioBufferSourceNode, AudioScheduledSourceNode, ConstantSourceNode, Event Handler, Media, OscillatorNode, Property, Web Audio API, onended |
The onended event handler for the AudioScheduledSourceNode interface specifies an EventHandler to be executed when the ended event occurs on the node. This event is sent to the node when the concrete interface (such as AudioBufferSourceNode , OscillatorNode , or ConstantSourceNode ) determines that it has stopped playing. | ||
188 | 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. | ||
189 | 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. | ||
190 | 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 . | ||
191 | 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. | ||
192 | 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 . | ||
193 | 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 . | ||
194 | 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. | ||
195 | 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. | ||
196 | 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. | ||
197 | 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. | ||
198 | AudioTrackList: addtrack event | Event |
The addtrack event is fired when a track is added to an AudioTrackList . | ||
199 | 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. | ||
200 | 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. | ||
201 | 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. | ||
202 | 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. | ||
203 | 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 AudioTrack s in the AudioTrackList have been enabled or disabled. | ||
204 | 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 . | ||
205 | AudioTrackList: removetrack event | Event |
The removetrack event is fired when a track is removed from an AudioTrackList . | ||
206 | 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. | ||
207 | 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. | ||
208 | 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. | ||
209 | 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. | ||
210 | 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. | ||
211 | 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. | ||
212 | 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. | ||
213 | 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 . | ||
214 | AudioWorkletNodeOptions | API, Audio, AudioWorklet, AudioWorkletNodeOptions, Dictionary, Media, Reference, Web Audio API, sound |
The AudioWorkletNodeOptions dictionary of the Web Audio API is used to specify configuration options when constructing a new AudioWorkletNode object for custom audio processing. | ||
215 | 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. | ||
216 | 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 . | ||
217 | 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. | ||
218 | 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. | ||
219 | 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. | ||
220 | 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. | ||
221 | AuthenticatorAssertionResponse.authenticatorData | API, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn |
Web Authentication API | ||
222 | 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 ). | ||
223 | 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. | ||
224 | 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. | ||
225 | 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. | ||
226 | 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. | ||
227 | 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 . | ||
228 | 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 . | ||
229 | 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. | ||
230 | Barcode Detection API | API, Landing, Overview, barcode, barcode detection, shape detection |
The Barcode Detection API detects linear and two-dimensional barcodes in images. | ||
231 | 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. | ||
232 | 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. | ||
233 | 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. | ||
234 | 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. | ||
235 | 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. | ||
236 | 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. | ||
237 | 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. | ||
238 | 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. | ||
239 | 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 | ||
240 | 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. AudioBuffer s are created using BaseAudioContext.createBuffer or returned by BaseAudioContext.decodeAudioData when it successfully decodes an audio track. | ||
241 | 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. | ||
242 | 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. | ||
243 | 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. | ||
244 | 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. | ||
245 | 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. | ||
246 | 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. | ||
247 | 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. | ||
248 | 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. | ||
249 | 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. | ||
250 | 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. | ||
251 | 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 . | ||
252 | 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. | ||
253 | 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. | ||
254 | 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. | ||
255 | 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. | ||
256 | 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. | ||
257 | 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. | ||
258 | 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. | ||
259 | 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. | ||
260 | 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. | ||
261 | 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 . | ||
262 | 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). | ||
263 | 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 DOMString s representing the card networks that the retailer supports (e.g. amex , mastercard ). | ||
264 | 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 DOMString s representing the card types that the retailer supports (e.g. credit , debit , prepaid ). | ||
265 | 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. | ||
266 | 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. | ||
267 | 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. | ||
268 | 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. | ||
269 | 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. | ||
270 | 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. | ||
271 | 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. | ||
272 | Battery Status API | API, Apps, Battery, Battery API, Battery Status API, Guide, Mobile, Obsolete, Overview |
The Battery Status API, more often referred to as the Battery API, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level or charging status change. This can be used to adjust your app's resource usage to reduce battery drain when the battery is low, or to save changes before the battery runs out in order to prevent data loss. | ||
273 | BatteryManager | API, Battery API, Device API, Interface, Obsolete, Reference, Référence(2) |
The BatteryManager interface provides ways to get information about the system's battery charge level. | ||
274 | BatteryManager.charging | API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2) |
A Boolean value indicating whether or not the device's battery is currently being charged. | ||
275 | BatteryManager.chargingTime | API, Battery API, Property, Reference |
Indicates the amount of time, in seconds, that remain until the battery is fully charged. | ||
276 | BatteryManager.dischargingTime | API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2) |
Indicates the amount of time, in seconds, that remains until the battery is fully discharged. | ||
277 | BatteryManager.level | API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2) |
Indicates the current battery charge level as a value between 0.0 and 1.0 . | ||
278 | BatteryManager.onchargingchange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2) |
Specifies an event listener to receive chargingchange events. These events occur when the battery BatteryManager.charging state is updated. | ||
279 | BatteryManager.onchargingtimechange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2) |
Specifies an event listener to receive chargingtimechange events. These events occur when the battery BatteryManager.chargingTime is updated. | ||
280 | BatteryManager.ondischargingtimechange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2) |
Specifies an event listener to receive dischargingtimechange events. These events occur when the battery BatteryManager.dischargingTime is updated. | ||
281 | 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. | ||
282 | Beacon API | Guide, Overview, Web Performance, user behavior tracker, user tracker |
The Beacon interface is used to schedule an asynchronous and non-blocking request to a web server. Beacon requests use the HTTP POST method and requests typically do not require a response. Requests are guaranteed to be initiated before a page is unloaded and they are run to completion, without requiring a blocking request (for example XMLHttpRequest ). | ||
283 | Using the Beacon API | Guide, Web Performance |
The Beacon interface schedules an asynchronous and non-blocking request to a web server. | ||
284 | BeforeInstallPromptEvent | API, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference |
This interface inherits from the Event interface. | ||
285 | 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. | ||
286 | BeforeUnloadEvent | API, Reference |
The beforeunload event is fired when the window, the document and its resources are about to be unloaded. | ||
287 | BiquadFilterNode | API, BiquadFilterNode, Interface, Reference, Web Audio API |
The BiquadFilterNode interface represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. | ||
288 | 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. | ||
289 | BiquadFilterNode.detune | API, BiquadFilterNode, Property, Reference, Référence(2), Web Audio API, detune |
The detune property of the BiquadFilterNode interface is an a-rate AudioParam representing detuning of the frequency in cents. | ||
290 | BiquadFilterNode.frequency | API, BiquadFilterNode, Property, Reference, Web Audio API, frequency |
The frequency property of the BiquadFilterNode interface Is a k-rate AudioParam , a double representing a frequency in the current filtering algorithm measured in hertz (Hz). | ||
291 | BiquadFilterNode.gain | API, BiquadFilterNode, Gain, Property, Reference, Référence(2), Web Audio API |
The gain property of the BiquadFilterNode interface Is a a-rate AudioParam , a double representing the gain used in the current filtering algorithm. | ||
292 | 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. | ||
293 | 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. | ||
294 | BiquadFilterNode.type | API, BiquadFilterNode, Property, Reference, Référence(2), Type, Web Audio API |
The type property of the BiquadFilterNode interface is a string (enum) value defining the kind of filtering algorithm the node is implementing. | ||
295 | 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. | ||
296 | 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 . | ||
297 | 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 . | ||
298 | 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. | ||
299 | 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. | ||
300 | 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 . | ||
301 | 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. | ||
302 | 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. | ||
303 | BlobBuilder | API, DOM, DOM Reference, File API, Obsolete, Reference |
The BlobBuilder interface provides an easy way to construct Blob objects. Just create a BlobBuilder and append chunks of data to it by calling the append method. When you're done building your blob, call getBlob to retrieve a Blob containing the data you sent into the blob builder. | ||
304 | 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. | ||
305 | BlobEvent.BlobEvent() | API, BlobEvent, Constructor, DOM, DOM Reference, Experimental, Media Stream Encoding, Reference |
The BlobEvent() constructor returns a newly created BlobEvent object with an associated Blob . | ||
306 | 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. | ||
307 | 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. | ||
308 | 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. | ||
309 | 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 deveice has a Bluetooth adapter and false otherwise (unless user configured User Agent not to expose a real value). | ||
310 | Bluetooth.getDevices() | API, Bluetooth, Reference, Web Bluettoth API |
The getDevices() method of Bluetooth interface of Web Bluetooth API exposes the Bluetooth devices this origin is allowed to access. This method does not display any permission prompts. | ||
311 | Bluetooth.onavailabilitychanged | API, Bluetooth, Web Bluetooth API |
The onavailabilitychanged property of the Bluetooth interface is an EventHandler that processes availabilitychanged events that fire when the Bluetooth system as a whole becomes available or unavailable to the User Agent. | ||
312 | 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. | ||
313 | 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. | ||
314 | BluetoothAdvertisingData | API, Bluetooth, BluetoothAdvertisingData, Interface, Non-standard, Obsolete, Reference, Web Bluetooth API |
The BluetoothDevice interface of the Web Bluetooth API provides advertising data about a particular Bluetooth device. | ||
315 | BluetoothAdvertisingData.appearance | API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, appearance |
The appearance read-only property of the BluetoothAdvertisingData interface returns one of the values defined by the org.bluetooth.characteristic.gap.appearance characteristic. | ||
316 | manufacturerData | API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, manufacturerData |
The manufacturerData read-only property of the BluetoothAdvertisingData interface returns a map that relates Company Identifier Codes to ArrayBuffer . | ||
317 | rssi | API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, rssi |
The rssi read-only property of the BluetoothAdvertisingData interface returns the power at which the device’s packets are being received, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi . | ||
318 | serviceData | API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, serviceData |
The serviceData read-only property of the BluetoothAdvertisingData interface returns a map that relates UUIDs to ArrayBuffer . | ||
319 | txPower | API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, txPower |
The txPower read-only property of the BluetoothAdvertisingData interface returns the transmission power at which the device is broadcasting, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi . | ||
320 | 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 . | ||
321 | 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. | ||
322 | 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. | ||
323 | 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. | ||
324 | 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. | ||
325 | 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. | ||
326 | 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. | ||
327 | 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. | ||
328 | 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. | ||
329 | 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. | ||
330 | 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. | ||
331 | adData | API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, adData |
The BluetoothDevice.adData read-only property returns instance of BluetoothAdvertisingData containing the most recent advertising data received for the device. | ||
332 | connectGATT() | API, Method, Non-standard, Obsolete, Reference, Web Bluetooth API, connectGATT |
The BluetoothDevice.connectGATT() method returns a Promise that resolves to an instance of BluetoothGATTRemoteServer . | ||
333 | deviceClass | API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, deviceClass |
The BluetoothDevice.deviceClass read-only property returns a number representing the Bluetooth devices "Class of Device". | ||
334 | BluetoothDevice.gatt | API, BluetoothDevice, Experimental, GATT server, Property, Reference |
The BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer . | ||
335 | gattServer | API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, gattServer |
The BluetoothDevice.gattServer read-only property returns a reference to the device's GATT server or null if the device is disconnected. | ||
336 | id | API, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, id |
The BluetoothDevice.id read-only property returns a DOMString that uniquely identifies a device. | ||
337 | 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. | ||
338 | BluetoothDevice.paired | API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API |
The BluetoothDevice.paired read-only property returns a Boolean value indicating whether the device is paired with the system. | ||
339 | productID | API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productID |
The BluetoothDevice.productID read-only property returns the 16-bit Product ID field in the pnp_id characteristic in the device_information service. | ||
340 | productVersion | API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productVersion |
The BluetoothDevice.productVersion read-only property returns the 16-bit Product Version field in the pnp_id characteristic in the device_information service. | ||
341 | BluetoothDevice.uuids | API, BluetoothDevice, Experimental, Property, Reference, UUIDs, Web Bluetooth API |
The BluetoothDevice.uuids read-only property lists the UUIDs of GATT services provided by the device, that the current origin is allowed to access. | ||
342 | vendorID | API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorID |
The BluetoothDevice.vendorID read-only property returns the 16-bit Vendor ID field in the pnp_id characteristic in the device_information service. | ||
343 | vendorIDSource | API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorIDSource |
The BluetoothDevice.vendorIDSource read-only property returns the Vendor ID Source field in the pnp_id characteristic in the device_information service. | ||
344 | 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. | ||
345 | BluetoothRemoteGATTCharacteristic.getDescriptor() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptor() |
The BluetoothRemoteGATTCharacteristic.getDescriptor() method returns a Promise that resolves to the first BluetoothGATTDescriptor for a given descriptor UUID. | ||
346 | BluetoothRemoteGATTCharacteristic.getDescriptors() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptors() |
The BluetoothRemoteGATTCharacteristic.getDescriptors() method returns a Promise that resolves to an Array of all BluetoothGATTDescriptor objects for a given descriptor UUID. | ||
347 | 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. | ||
348 | 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. | ||
349 | BluetoothRemoteGATTCharacteristic.service | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API |
The BluetoothRemoteGATTCharacteristic.service read-only property returns the BluetoothGATTService this characteristic belongs to. | ||
350 | 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. | ||
351 | 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. | ||
352 | 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. | ||
353 | 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. | ||
354 | BluetoothRemoteGATTCharacteristic.writeValue() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValue |
The BluetoothRemoteGATTCharacteristic.writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise . | ||
355 | 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. | ||
356 | 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. | ||
357 | 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. | ||
358 | 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. | ||
359 | 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. | ||
360 | 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 . | ||
361 | 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. | ||
362 | 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 . | ||
363 | 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. | ||
364 | BluetoothRemoteGATTServer.device | API, Bluethooth, BluetoothRemoteGATTServer, Experimental, Property, Reference |
The BluetoothRemoteGATTServer.device read-only property returns a reference to the BluetoothDevice running the server. | ||
365 | 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 . | ||
366 | BluetoothRemoteGATTServer.getPrimaryService() | API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryService() |
The BluetoothRemoteGATTServer.getPrimaryService() method returns a promise to the primary BluetoothGATTService offered by the bluetooth device for a specified BluetoothServiceUUID . | ||
367 | BluetoothRemoteGATTServer.getPrimaryServices() | API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryServices() |
The BluetoothRemoteGATTServer.getPrimaryServices() method returns a promise to a list of primary BluetoothGATTService objects offered by the bluetooth device for a specified BluetoothServiceUUID . | ||
368 | 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. | ||
369 | 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 . | ||
370 | getCharacteristic() | API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristic() |
The BluetoothGATTService.getCharacteristic() method returns a Promise to an instance of BluetoothGATTCharacteristic for a given universally unique identifier (UUID). | ||
371 | getCharacteristics() | API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristics() |
The BluetoothGATTService.getCharacteristics() method returns a Promise to a list of BluetoothGATTCharacteristic instances for a given universally unique identifier (UUID). | ||
372 | getIncludedService() | API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedService |
The BluetoothGATTService.getIncludedService() method returns a Promise to an instance of BluetoothGATTService for a given universally unique identifier (UUID). | ||
373 | getIncludedServices() | API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedServices() |
The BluetoothGATTService.getIncludedServices() method returns a Promise to an Array of BluetoothGATTService instances for an optional universally unique identifier (UUID). | ||
374 | 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. | ||
375 | 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. | ||
376 | Body | API, BODY, Experimental, Fetch, Fetch API, Interface, Reference, request |
The Body mixin of the Fetch API represents the body of the response/request, allowing you to declare what its content type is and how it should be handled. | ||
377 | Body.arrayBuffer() | API, ArrayBuffer, BODY, Experimental, Fetch, Method, Reference |
The arrayBuffer() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer . | ||
378 | Body.blob() | API, BODY, Blob, Experimental, Fetch, Method, Reference |
The blob() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a Blob . | ||
379 | Body.body | API, BODY, Experimental, Fetch, Property, Reference, Streams |
The body read-only property of the Body mixin is a simple getter used to expose a ReadableStream of the body contents. | ||
380 | Body.bodyUsed | API, BODY, Experimental, Fetch, Property, Reference, bodyUsed |
The bodyUsed read-only property of the Body mixin contains a Boolean that indicates whether the body has been read yet. | ||
381 | Body.formData() | API, BODY, Experimental, Fetch, Fetch API, FormData, Method, NeedsExample, Reference |
The formData() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object. | ||
382 | Body.json() | API, BODY, Experimental, Fetch, JSON, Method, Reference |
The json() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with the result of parsing the body text as JSON . | ||
383 | Body.text() | API, BODY, Experimental, Fetch, Method, Reference, Text |
The text() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString object (text). The response is always decoded using UTF-8. | ||
384 | 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. | ||
385 | 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. | ||
386 | 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. | ||
387 | 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. | ||
388 | 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. | ||
389 | 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. | ||
390 | 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. | ||
391 | 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. | ||
392 | 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. | ||
393 | 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. | ||
394 | BudgetService | API, BudgetService, Interface, Reference, Web Budget API |
The BudgetService interface of the Web Budget API provides a programmatic interface to the user agent’s budget service. It is available in both document and worker environments. | ||
395 | BudgetService.reserve() | API, BudgetService, Method, Reference, Web Budget API, reserve |
The reserve() property of the BudgetService interface returns a Promise that resolves to a boolean indicating whether the requested budget operation can be reserved. | ||
396 | 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 . | ||
397 | 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. | ||
398 | ByteLengthQueuingStrategy.ByteLengthQueuingStrategy() | API, ByteLengthQueuingStrategy, Constructor, Experimental, Reference, Streams |
The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy object instance. | ||
399 | ByteLengthQueuingStrategy.size() | API, ByteLengthQueuingStrategy, Experimental, Method, Reference, Streams, size |
The size() method of the ByteLengthQueuingStrategy interface returns the given chunk’s byteLength property. | ||
400 | 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 interchangably, such as HTTP. | ||
401 | Cache | API, Cache, Cache API, Experimental, Interface, Offline, Reference, Service Workers, Service worker API, Storage |
The Cache interface provides a storage mechanism for / object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. | ||
402 | 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. | ||
403 | 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. | ||
404 | 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 . | ||
405 | 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. | ||
406 | 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 . | ||
407 | 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. | ||
408 | 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. | ||
409 | CacheStorage | API, CacheStorage, Experimental, Interface, Reference, Service Workers, ServiceWorker |
The CacheStorage interface represents the storage for Cache objects. | ||
410 | 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 . | ||
411 | 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 . | ||
412 | 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. | ||
413 | 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. | ||
414 | 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 . | ||
415 | 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. | ||
416 | A basic ray-caster | Advanced, Canvas, Example, Graphics, HTML, Web |
This article provides an interesting real-world example of using the | ||
417 | Manipulating video using canvas | API, Canvas, Chroma-Key, Editing, Guide, Manipulating, Video, effects |
By combining the capabilities of the | ||
418 | Canvas tutorial | Canvas, Graphics, Guide, HTML, HTML5, Intermediate, Web |
| ||
419 | 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. | ||
420 | 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. | ||
421 | Basic animations | Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial |
Since we're using JavaScript to control | ||
422 | Basic usage of canvas | Canvas, Graphics, HTML, Intermediate, Tutorial |
Let's start this tutorial by looking at the | ||
423 | 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 behaviour by setting the | ||
424 | Compositing example | Canvas, Example, Graphics, HTML, HTML5, Tutorial |
This sample program demonstrates a number of compositing operations. The output looks like this: | ||
425 | 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. | ||
426 | 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. | ||
427 | Finale | Canvas, Graphics, Tutorial |
Congratulations! You finished the Canvas tutorial! This knowledge will help you to make great 2D graphics on the web. | ||
428 | 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. | ||
429 | Optimizing canvas | Advanced, Canvas, Graphics, HTML, HTML5, Tutorial |
The | ||
430 | Pixel manipulation with canvas | Canvas, Graphics, Intermediate, Tutorial |
Until now we haven't looked at the actual pixels of our canvas. With the | ||
431 | 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. | ||
432 | 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 | ||
433 | 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() . | ||
434 | 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. | ||
435 | 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. | ||
436 | CanvasGradient | API, Canvas, CanvasGradient, Gradients, Interface, Reference |
The CanvasGradient interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient() . | ||
437 | 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. | ||
438 | 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. | ||
439 | 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. | ||
440 | 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. | ||
441 | 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. | ||
442 | CanvasRenderingContext2D.addHitRegion() | API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference |
The CanvasRenderingContext2D method addHitRegion() adds a hit region to the bitmap. | ||
443 | 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. | ||
444 | 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. | ||
445 | 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. | ||
446 | 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. | ||
447 | 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. | ||
448 | CanvasRenderingContext2D.clearHitRegions() | API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference |
The CanvasRenderingContext2D method clearHitRegions() removes all hit regions from the canvas. | ||
449 | 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. | ||
450 | 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. | ||
451 | 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. | ||
452 | 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. | ||
453 | 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. | ||
454 | 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 . | ||
455 | 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. | ||
456 | CanvasRenderingContext2D.currentTransform | API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference |
The CanvasRenderingContext2D .currentTransform property of the Canvas 2D API returns or sets a DOMMatrix (current specification) or SVGMatrix (old specification) object for the current transformation matrix. | ||
457 | 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. | ||
458 | 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. | ||
459 | 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. | ||
460 | 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. | ||
461 | CanvasRenderingContext2D.drawWindow() | API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference |
The deprecated, non-standard and internal only CanvasRenderingContext2D .drawWindow() method of the Canvas 2D API renders a region of a window into the canvas . The contents of the window's viewport are rendered, ignoring viewport clipping and scrolling. | ||
462 | 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. | ||
463 | 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 . | ||
464 | 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 . | ||
465 | 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). | ||
466 | 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. | ||
467 | 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. | ||
468 | 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. | ||
469 | 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. | ||
470 | 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. | ||
471 | CanvasRenderingContext2D.getLineDash() | API, Canvas, CanvasRenderingContext2D, Method, Reference |
The getLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface gets the current line dash pattern. | ||
472 | 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. | ||
473 | 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. | ||
474 | 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. | ||
475 | 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. | ||
476 | 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. | ||
477 | 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. | ||
478 | 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. | ||
479 | 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. | ||
480 | CanvasRenderingContext2D.lineDashOffset | API, Canvas, CanvasRenderingContext2D, Property, Reference |
The CanvasRenderingContext2D .lineDashOffset property of the Canvas 2D API sets the line dash offset, or "phase." | ||
481 | 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. | ||
482 | 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. | ||
483 | CanvasRenderingContext2D.lineWidth | API, Canvas, CanvasRenderingContext2D, Property, Reference |
The CanvasRenderingContext2D .lineWidth property of the Canvas 2D API sets the thickness of lines. | ||
484 | 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). | ||
485 | CanvasRenderingContext2D.miterLimit | API, Canvas, CanvasRenderingContext2D, Property, Reference |
The CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio. | ||
486 | 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. | ||
487 | 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. | ||
488 | 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. | ||
489 | CanvasRenderingContext2D.rect() | API, Canvas, CanvasRenderingContext2D, Method, Reference |
The CanvasRenderingContext2D .rect() method of the Canvas 2D API adds a rectangle to the current path. | ||
490 | CanvasRenderingContext2D.removeHitRegion() | API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference |
The CanvasRenderingContext2D method removeHitRegion() removes a given hit region from the canvas. | ||
491 | CanvasRenderingContext2D.resetTransform() | Canvas, CanvasRenderingContext2D, Experimental, Method, Reference |
The CanvasRenderingContext2D .resetTransform() method of the Canvas 2D API resets the current transform to the identity matrix. | ||
492 | 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. | ||
493 | CanvasRenderingContext2D.rotate() | API, Canvas, CanvasRenderingContext2D, Method, Reference |
The CanvasRenderingContext2D .rotate() method of the Canvas 2D API adds a rotation to the transformation matrix. | ||
494 | 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. | ||
495 | 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. | ||
496 | 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() . | ||
497 | 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. | ||
498 | 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. | ||
499 | 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). | ||
500 | CanvasRenderingContext2D.shadowColor | API, Canvas, CanvasRenderingContext2D, Property, Reference |
The CanvasRenderingContext2D .shadowColor property of the Canvas 2D API specifies the color of shadows. | ||
501 | 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. | ||
502 | 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. | ||
503 | 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. | ||
504 | 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. | ||
505 | 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). | ||
506 | 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. | ||
507 | 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. | ||
508 | 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. | ||
509 | 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. | ||
510 | CanvasRenderingContext2D.translate() | API, Canvas, CanvasRenderingContext2D, Method, Reference |
The CanvasRenderingContext2D .translate() method of the Canvas 2D API adds a translation transformation to the current matrix. | ||
511 | 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. | ||
512 | 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. | ||
513 | 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. | ||
514 | 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. | ||
515 | 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. | ||
516 | ChannelMergerNode() | API, Audio, ChannelMergerNode, Constructor, Reference, Web Audio API |
The ChannelMergerNode() constructor creates a new ChannelMergerNode object instance. | ||
517 | 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. | ||
518 | ChannelSplitterNode.ChannelSplitterNode() | API, Audio, ChannelSplitterNode, Constructor, Reference, Splitter, Web Audio, Web Audio API |
The ChannelSplitterNode() constructor of the Web Audio API creates a new ChannelSplitterNode object instance, representing a node that splits the input into a separate output for each of the source node's audio channels. | ||
519 | CharacterData | API, DOM |
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData : it is implemented by other interfaces, like Text , Comment , or ProcessingInstruction which aren't abstract. | ||
520 | ChildNode | API, DOM, Experimental, Interface, Node |
The ChildNode mixin contains methods and properties that are common to all types of Node objects that can have a parent. | ||
521 | ChildNode.after() | API, DOM, Method, Node, Reference |
The ChildNode.after() method inserts a set of Node or DOMString objects in the children list of this ChildNode 's parent, just after this ChildNode . DOMString objects are inserted as equivalent Text nodes. | ||
522 | ChildNode.before() | API, DOM, Method, Node, Reference |
The ChildNode.before() method inserts a set of Node or DOMString objects in the children list of this ChildNode 's parent, just before this ChildNode . DOMString objects are inserted as equivalent Text nodes. | ||
523 | ChildNode.remove() | API, ChildNode, DOM, Experimental, Method |
The ChildNode.remove() method removes the object from the tree it belongs to. | ||
524 | ChildNode.replaceWith() | API, DOM, Method, Node, Reference |
The ChildNode.replaceWith() method replaces this ChildNode in the children list of its parent with a set of Node or DOMString objects. DOMString objects are inserted as equivalent Text nodes. | ||
525 | 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 . | ||
526 | 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" . | ||
527 | 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. | ||
528 | 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 Window , Worker , or SharedWorker ). The message is received in the "message " event on ServiceWorkerContainer . | ||
529 | 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. | ||
530 | 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. | ||
531 | Clients | API, Clients, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorker, Workers |
The Clients interface provides access to Client objects. Access it via within a service worker. | ||
532 | 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. | ||
533 | 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 . | ||
534 | 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. | ||
535 | 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 . | ||
536 | 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. | ||
537 | 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. | ||
538 | 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. | ||
539 | 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. | ||
540 | 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. | ||
541 | 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 . | ||
542 | 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. | ||
543 | 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: | ||
544 | 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. | ||
545 | 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. | ||
546 | 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. | ||
547 | 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. | ||
548 | 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 | ||
549 | 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. | ||
550 | CloseEvent() | API, CloseEvent, Constructor, Reference |
The CloseEvent() constructor creates a new CloseEvent . | ||
551 | CloseEvent.initCloseEvent() | |
The CloseEvent.initCloseEvent() method initializes the value of a close event once it's been created (normally using the Document.createEvent() method). | ||
552 | 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. | ||
553 | 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. | ||
554 | CompositionEvent | API, CompositionEvent, DOM, Event, Reference |
The DOM CompositionEvent represents events that occur due to the user indirectly entering text. | ||
555 | CompositionEvent.CompositionEvent() | API, CompositionEvent, Constructor, Reference |
The CompositionEvent() constructor creates a new CompositionEvent object instance. | ||
556 | 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. | ||
557 | CompositionEvent.initCompositionEvent() | API, CompositionEvent, Deprecated, Method, Reference, initCompositionEvent |
The initCompositionEvent () method of the CompositionEvent interface initializes the attributes of a CompositionEvent object instance. | ||
558 | 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). | ||
559 | 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. | ||
560 | console | API, Debugging, Interface, Reference, console, web console |
The console object provides access to the browser's debugging console (e.g. the Web Console in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided. | ||
561 | 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. | ||
562 | console.clear() | API, Debugging, Method, Reference, console, web console |
The console.clear() method clears the console if the environment allows it. | ||
563 | 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. | ||
564 | Console.countReset() | API, DOM, Debugging, Method, Reference, Web Development, console, web console |
The console.countReset() method resets counter used with console.count() . | ||
565 | console.debug() | API, Debug, Debugging, Developer Tools, Logging, Method, Reference, console, log, output, print |
The console method debug() outputs a message to the web console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output. | ||
566 | Console.dir() | API, DOM, Debugging, Method, Reference, Web Development, console, web console |
The Console method dir() displays an interactive list of the properties of the specified JavaScript object. | ||
567 | Console.dirxml() | API, DOM, Debugging, Method, Web Development, web console |
Displays an interactive tree of the descendant elements of the specified XML/HTML element. If it is not possible to display as an element the JavaScript Object view is shown instead. The output is presented as a hierarchical listing of expandable nodes that let you see the contents of child nodes. | ||
568 | Console.error() | API, DOM, Debugging, Method, Web Development, web console |
Outputs an error message to the Web Console. | ||
569 | Console.group() | API, DOM, Debugging, Method, Web Development, web console |
Creates a new inline group in the Web Console log. This indents following console messages by an additional level, until console.groupEnd() is called. | ||
570 | Console.groupCollapsed() | API, DOM, DOM Reference, Debugging, Method, Reference, Web Development, web console |
Creates a new inline group in the Web Console. Unlike console.group() , however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group. | ||
571 | Console.groupEnd() | API, DOM, Debugging, Method, Web Development, web console |
Exits the current inline group in the Web Console. See Using groups in the console in the console documentation for details and examples. | ||
572 | 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. | ||
573 | console.log() | API, DOM, Debugging, HTML-tree, Method, Reference, Web Development, console, console.dir(), console.log(), difference, web console |
The Console method log() outputs a message to the web console. | ||
574 | Console.profile() | API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profile, web console |
Starts recording a performance profile (for example, the Firefox performance tool). | ||
575 | Console.profileEnd() | API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profileEnd, web console |
The profileEnd method stops recording a profile previously started with Console.profile() . | ||
576 | Console.table() | API, DOM, Debugging, Method, Web Development, web console |
Displays tabular data as a table. | ||
577 | Console.time() | API, DOM, Debugging, Method, Web Development, console, web console |
Starts a timer you can use to track how long an operation takes. You give each timer a unique name, and may have up to 10,000 timers running on a given page. When you call console.timeEnd() with the same name, the browser will output the time, in milliseconds, that elapsed since the timer was started. | ||
578 | Console.timeEnd() | API, DOM, Debugging, Method, Web Development, console, web console |
Stops a timer that was previously started by calling console.time() . | ||
579 | Console.timeLog() | API, DOM, Debugging, Method, Web Development, console, web console |
Logs the current value of a timer that was previously started by calling console.time() to the console. | ||
580 | Console.timeStamp() | API, DOM, Debugging, Method, Non-standard, Web Development, web console |
Adds a single marker to the browser's Performance or Waterfall tool. This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. | ||
581 | console.trace() | API, Chrome, DOM, Debugging, Firefox, Method, String, Web Development, console, console.trace(), trace, web console |
The console interface's trace() method outputs a stack trace to the Web Console. | ||
582 | Console.warn() | API, DOM, Debugging, Method, Web Development, web console |
Outputs a warning message to the Web Console. | ||
583 | 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. | ||
584 | 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. | ||
585 | 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. | ||
586 | 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. | ||
587 | 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. | ||
588 | 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. | ||
589 | 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. | ||
590 | 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. | ||
591 | 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. | ||
592 | 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. | ||
593 | 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. | ||
594 | 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. | ||
595 | 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. | ||
596 | 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. | ||
597 | 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 . | ||
598 | 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. | ||
599 | 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. | ||
600 | 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. | ||
601 | 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. | ||
602 | 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 . | ||
603 | 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. | ||
604 | 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. | ||
605 | ConvolverNode() | API, Audio, Constructor, Convolver, Reference, Web Audio API |
The ConvolverNode() constructor of the Web Audio API creates a new ConvolverNode object instance. | ||
606 | 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. | ||
607 | 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. | ||
608 | CountQueuingStrategy.CountQueuingStrategy() | API, Constructor, CountQueuingStrategy, Experimental, Reference, Streams |
The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy object instance. | ||
609 | 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. | ||
610 | 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). | ||
611 | 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. | ||
612 | 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. | ||
613 | 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. | ||
614 | Credential.name | API, Credential, Property, Reference, credential management, name |
The name property of the Credential interface returns a DOMString , containing the name associated with a credential. | ||
615 | 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 . | ||
616 | 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 . | ||
617 | 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. | ||
618 | 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. | ||
619 | 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 . | ||
620 | 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 . | ||
621 | 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. | ||
622 | Crypto.getRandomValues() | API, Crypto, Cryptography, Encryption, Integers, Method, Numbes, Pseudorandom, Pseudorandom Numbers, Random Numbers, Reference, Web Crypto API, getRandomValues |
The Crypto.getRandomValues() method lets you get cryptographically strong random values. The array given as the parameter is filled with random numbers (random in its cryptographic meaning). | ||
623 | 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. | ||
624 | 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 . | ||
625 | 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. | ||
626 | 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. | ||
627 | 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. | ||
628 | 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. | ||
629 | 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. | ||
630 | Managing screen orientation | API, Advanced, CSSOM View, Guide, Screen Orientation |
Screen Orientation API | ||
631 | 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. | ||
632 | 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. | ||
633 | 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. | ||
634 | 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. | ||
635 | 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. | ||
636 | 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 . | ||
637 | 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. | ||
638 | 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. | ||
639 | 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. | ||
640 | CSS numeric factory functions | API, CSS, CSS API, Houdini, Reference, factory function |
The CSS numeric factory functions | ||
641 | 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. | ||
642 | 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. | ||
643 | 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. | ||
644 | CSSAnimation | API, Animation, CSSAnimation, Interface, Reference |
The CSSAnimation interface of the Web Animations API represents an Animation object. | ||
645 | 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. | ||
646 | CSSConditionRule | API, CSSOM, Interface, Reference |
An object implementing the CSSConditionRule interface represents a single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule . | ||
647 | CSSCounterStyleRule | API, CSS Counter Styles, Interface, Reference |
The CSSCounterStyleRule interface represents an @counter-style at-rule. | ||
648 | CSSGroupingRule | API, CSSOM, Interface, Reference |
An object implementing the CSSGroupingRule interface represents any CSS at-rule that contains other rules nested within it. | ||
649 | 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 | ||
650 | CSSKeyframeRule | API, CSS Animations, CSSOM, Experimental, Interface, Reference |
The CSSKeyframeRule interface describes an object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE ). | ||
651 | CSSKeyframesRule | API, CSS Animations, CSSOM, Experimental, Interface, Reference |
The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contents of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE ). | ||
652 | 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. | ||
653 | CSSKeywordValue.CSSKeywordValue() | API, CSS Typed Object Model API, CSSKeywordValue, Constructor, Experimental, Houdini, Reference |
The CSSKeywordValue constructor creates a new CSSKeywordValue object which represents CSS keywords and other identifiers. | ||
654 | 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 . | ||
655 | CSSMathInvert | API, CSS Typed Object Model API, CSSMathInvert, CSSNumericValue, Experimental, Houdini, Interface |
The CSSMathInvert interface of the CSS Typed Object Model API represents a CSS calc() used as calc(1 / <value>). It inherits properties and methods from its parent CSSNumericValue . | ||
656 | 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) | ||
657 | 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. | ||
658 | CSSMathMax | API, CSS Typed Object Model API, CSSMathMax, CSSNumericValue, Experimental, Houdini, Interface |
The CSSMathMax interface of the CSS Typed Object Model API represents the CSS max() function. It inherits properties and methods from its parent CSSNumericValue . | ||
659 | 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. | ||
660 | 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. | ||
661 | CSSMathMin | API, CSS Typed Object Model API, CSSMathMin, CSSNumericValue, Experimental, Houdini, Interface |
The CSSMathMin interface of the CSS Typed Object Model API represents the CSS min() function. It inherits properties and methods from its parent CSSNumericValue . | ||
662 | 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. | ||
663 | 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. | ||
664 | CSSMathNegate | API, CSS Typed Object Model API, CSSMathNegate, CSSNumericValue, Experimental, Houdini, Interface |
The CSSMathNegate interface of the CSS Typed Object Model API negates the value passed into it. It inherits properties and methods from its parent CSSNumericValue . | ||
665 | 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. | ||
666 | 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. | ||
667 | CSSMathProduct | API, CSS Typed Object Model API, CSSMathProduct, CSSUnparsedValue, Experimental, Houdini, Interface, Reference |
The CSSMathProduct interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add , CSSNumericValue.sub , or CSSNumericValue.toSum on CSSNumericValue . It inherits properties and methods from its parent CSSNumericValue . | ||
668 | 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. | ||
669 | 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. | ||
670 | CSSMathSum | API, CSS Typed Object Model API, CSSMathSum, Experimental, Houdini, Interface, Reference |
The CSSMathSum interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add , CSSNumericValue.sub , or CSSNumericValue.toSum on CSSNumericValue . | ||
671 | CSSMathSum.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 . | ||
672 | 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. | ||
673 | CSSMathValue | API, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Interface, Reference |
The CSSMathValue interface of the CSS Typed Object Model API a base class for classes representing complex numeric values. | ||
674 | 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" . | ||
675 | CSSMatrixComponent | API, CSS Typed Object Model API, CSSMatrixComponent, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSMatrixComponent interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
676 | 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. | ||
677 | 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. | ||
678 | CSSMediaRule | API, CSSOM, Interface, Reference |
The CSSMediaRule interface represents a single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE ). | ||
679 | CSSNamespaceRule | API, CSSOM, Interface, Reference |
The CSSNamespaceRule interface describes an object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE ). | ||
680 | CSSNamespaceRule.namespaceURI | API, CSSNamespaceRule, CSSOM, Property, Reference, namespaceURI |
The CSSNamespaceRule.namespaceURI read-only property returns a DOMString containing the text of the URI of the given namespace. | ||
681 | CSSNamespaceRule.prefix | API, CSSNamespaceRule, CSSOM, Property, Reference, prefix |
The CSSNamespaceRule.prefix read-only property returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns null . | ||
682 | CSSNumericArray | API, CSS Typed Object Model API, CSSNumericArray, CSSNumericValue, Experimental, Houdini, Interface |
The CSSNumericArray interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects. | ||
683 | 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. | ||
684 | 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. | ||
685 | 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 . | ||
686 | 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. | ||
687 | 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. | ||
688 | 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. | ||
689 | 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. | ||
690 | 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. | ||
691 | 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. | ||
692 | 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 . | ||
693 | CSSNumericValue.sum() | API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, sum() |
The sub() method of the CSSNumericValue interface subtracts a supplied number from the CSSNumericValue . | ||
694 | CSSNumericValue.to() | API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, to() |
The to() method of the CSSNumericValue interface converts a numberic value from one unit to another. | ||
695 | 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. | ||
696 | 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 . | ||
697 | 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. | ||
698 | CSSPageRule | API, CSSOM, Interface, Reference |
CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE ). | ||
699 | CSSPerspective | API, CSS Typed Object Model API, CSSPerspective, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
700 | 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. | ||
701 | 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. | ||
702 | CSSPositionValue | API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Interface, Reference |
The CSSPositionValue interface of the CSS Typed Object Model API represents values for properties that take a position, for example object-position . | ||
703 | CSSPositionValue.CSSPositionValue() | API, CSS Typed Object Model API, CSSPositionValue, Constructor, Experimental, Houdini, Reference |
The CSSPositionValue constructor creates a new CSSPositionValue object which represents values for properties that take a position, for example object-position . | ||
704 | CSSPositionValue.x | API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, x |
The x property of the CSSPositionValue interface returns the item's position along the web page's horizontal axis. | ||
705 | CSSPositionValue.y | API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, y |
The y property of the CSSPositionValue interface returns the item's position along the vertical axis. | ||
706 | CSSPrimitiveValue | API, CSSOM, CSSPrimitiveValue, Interface, Obsolete, Reference |
The CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property. | ||
707 | CSSPrimitiveValue.getCounterValue() | API, CSSPrimitiveValue, Method, NeedsExample, getCounterValue |
The getCounterValue() method of the CSSPrimitiveValue interface is used to get the counter value. If this CSS value doesn't contain a counter value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Counter interface. | ||
708 | CSSPrimitiveValue.getFloatValue() | API, CSSPrimitiveValue, Method, getFloatValue |
The getFloatValue() method of the CSSPrimitiveValue interface is used to get a float value in a specified unit. If this CSS value doesn't contain a float value or can't be converted into the specified unit, a DOMException is raised. | ||
709 | CSSPrimitiveValue.getRectValue() | API, CSSPrimitiveValue, Method, getRectValue |
The getRectValue() method of the CSSPrimitiveValue interface is used to get a rect value. If this CSS value doesn't contain a rect value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Rect interface. | ||
710 | CSSPrimitiveValue.getRGBColorValue() | API, CSSPrimitiveValue, Method, getRGBColorValue |
The getRGBColorValue() method of the CSSPrimitiveValue interface is used to get an RGB color value. If this CSS value doesn't contain a RGB color value, a DOMException is raised. Modification to the corresponding style property can be achieved using the RGBColor interface. | ||
711 | CSSPrimitiveValue.getStringValue() | API, CSSPrimitiveValue, Method, getStringValue |
The getStringValue() method of the CSSPrimitiveValue interface is used to get a string value. If this CSS value doesn't contain a string value, a DOMException is raised. | ||
712 | 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. | ||
713 | CSSPrimitiveValue.setFloatValue() | API, CSSPrimitiveValue, Method, NeedsExample, setFloatValue |
The setFloatValue() method of the CSSPrimitiveValue interface is used to set a float value. If the property attached to this value can't accept the specified unit or the float value, the value will be unchanged and a DOMException will be raised. | ||
714 | CSSPrimitiveValue.setStringValue() | API, CSSPrimitiveValue, Method, NeedsExample, setStringValue |
The setStringValue() method of the CSSPrimitiveValue interface is used to set a string value. If the property attached to this value can't accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised. | ||
715 | 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. | ||
716 | 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. | ||
717 | 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. | ||
718 | 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. | ||
719 | 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. | ||
720 | 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() . | ||
721 | 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. | ||
722 | 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. | ||
723 | CSSRotate | API, CSS, CSS Typed Object Model, CSSRotate, Experimental, Houdini, Interface, Reference |
The CSSRotate interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
724 | 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. | ||
725 | 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. | ||
726 | 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. | ||
727 | 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. | ||
728 | 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. | ||
729 | CSSRule | API, CSSOM, Interface, Reference |
The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below. | ||
730 | CSSRule.cssText | API, CSSOM, NeedsSpecTable, Property, Reference |
The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule. | ||
731 | CSSRule.parentStyleSheet | API, CSSOM, CSSRule, NeedsSpecTable, Property, Reference |
The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined. | ||
732 | CSSRuleList | API, CSSOM, Interface, Reference |
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. | ||
733 | CSSScale | API, CSS Typed Object Model API, CSSScale, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSScale interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
734 | 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. | ||
735 | 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. | ||
736 | 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. | ||
737 | 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. | ||
738 | CSSSkew | API, CSS, CSS Typed Object Model API, CSSSkew, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSSkew interface of the CSS Typed Object Model API is part of the CSSTransformValue interface. It represents the skew() value of the individual transform property in CSS. | ||
739 | 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). | ||
740 | 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). | ||
741 | 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. | ||
742 | CSSSkewX | API, CSS Typed Object Model API, CSSSkewX, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSSkewX interface of the CSS Typed Object Model API represents the skewX() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
743 | 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). | ||
744 | 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. | ||
745 | CSSSkewY | API, CSS Typed Object Model API, CSSSkewY, CSSTransformComponent, CSSTransformValue, Experimental, Houdini, Interface |
The CSSSkewY interface of the CSS Typed Object Model API represents the skewY() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
746 | 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). | ||
747 | 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. | ||
748 | 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. | ||
749 | 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. | ||
750 | CSSStyleDeclaration.getPropertyCSSValue() | API, CSSOM, Method, Obsolete, Reference |
The CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property. | ||
751 | CSSStyleDeclaration.getPropertyPriority() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property. | ||
752 | CSSStyleDeclaration.getPropertyValue() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property. | ||
753 | CSSStyleDeclaration.item() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index | ||
754 | 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. | ||
755 | CSSStyleDeclaration.parentRule | API, CSSOM, Property, Reference |
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block | ||
756 | CSSStyleDeclaration.removeProperty() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object. | ||
757 | CSSStyleDeclaration.setProperty() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object. | ||
758 | CSSStyleRule | API, CSSOM, CSSStyleRule, Interface, Reference |
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE ). | ||
759 | CSSStyleRule.selectorText | API, CSSOM, CSSStyleRule, Reference |
The CSSRule.selectorText property gets the textual representation of the selector for the rule set. This is readonly in some browsers; to set stylesheet rules dynamically cross-browser, see Using dynamic styling information. | ||
760 | CSSStyleRule.style | API, CSSOM, NeedsSpecTable, Property, Reference |
The CSSRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSRule . | ||
761 | CSSStyleRule.styleMap | |
The styleMap read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs. | ||
762 | 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. | ||
763 | CSSStyleSheet.addRule() | API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Style, StyleSheet, addRule, legacy, rules |
The obsolete CSSStyleSheet interface's addRule() legacy method adds a new rule to the stylesheet. You should avoid using this method, and should instead use the more standard CSSStyleSheet.insertRule method. | ||
764 | 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. | ||
765 | 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. | ||
766 | CSSStyleSheet.insertRule() | API, CSSOM, CSSStyleSheet, Method, Reference |
The CSSStyleSheet.insertRule() method inserts a new CSS rule into the current style sheet, with some restrictions. | ||
767 | 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. | ||
768 | CSSStyleSheet.removeRule() | API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Rule, StyleSheet, delete, legacy, remove, removeRule |
The obsolete CSSStyleSheet method removeRule() removes a rule from the stylesheet object. | ||
769 | CSSStyleSheet.rules | API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Obsolete, Property, Read-only, Reference, Style, StyleSheet, legacy |
rules is a deprecated legacy property of the CSSStyleSheet interface. Functionally identical to the preferred CSSStyleSheet.cssRules property, it provides access to a live-updating list of the CSS rules comprising the stylesheet. | ||
770 | 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. | ||
771 | 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. | ||
772 | 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. | ||
773 | CSSSupportsRule | API, CSSOM, Interface, Reference |
The CSSSupportsRule interface describes an object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE ). | ||
774 | CSSTransformComponent | API, CSS, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Interface, Reference |
The CSSTransformComponent interface of the of the CSS Typed Object Model API is part of the CSSTransformValue interface. | ||
775 | CSSTransformComponent.is2D | API, CSS Typed Object Model API, CSSTransformComponent, Experimental, Houdini, Property, Reference, is2D |
The read-only is2D property of the CSSTransformComponent interface indicates where the transform is 2D or 3D. | ||
776 | 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. | ||
777 | CSSTransformComponent.toString() | API, CSS, CSS Typed Object Model, CSSTransformComponent, Experimental, Houdini, Method, Reference |
The toString() method of the CSSTransformComponent interface returns a string in the form of a CSS Transforms matrix() function. | ||
778 | CSSTransformValue | API, CSS, CSS Typed Object Model API, CSSTransformValue, Experimental, Houdini, Interface, Reference |
The CSSTransformValue interface of the CSS Typed Object Model API represents transform-list values as used by the CSS transform property. | ||
779 | 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. | ||
780 | 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). | ||
781 | 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 . | ||
782 | 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. | ||
783 | 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. | ||
784 | 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. | ||
785 | 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. | ||
786 | 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 CSSTranformValue object. | ||
787 | CSSTransition | API, Animation, CSSTransition, Interface, Reference |
The CSSTransition interface of the Web Animations API represents an Animation object used for a CSS Transition. | ||
788 | 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. | ||
789 | CSSTranslate | API, CSS Typed Object Model API, CSSTransformComponent, CSSTransformFunction, CSSTranslate, Experimental, Houdini, Interface |
The CSSTranslate interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue . | ||
790 | 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. | ||
791 | 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. | ||
792 | 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. | ||
793 | 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. | ||
794 | CSSUnitValue | API, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Interface, Reference |
The CSSUnitValue interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue . | ||
795 | CSSUnitValue.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 . | ||
796 | 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. | ||
797 | 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. | ||
798 | CSSUnparsedValue | API, CSS Typed Object Model API, CSSUnparsedValue, Experimental, Houdini, Interface, NeedsExample, Reference |
The CSSUnparsedValue interface of the CSS Typed Object Model API represents property values that reference custom properties. It consists of a list of string fragments and variable references. | ||
799 | CSSUnparsedValue.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. | ||
800 | 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). | ||
801 | 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 . | ||
802 | 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. | ||
803 | 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. | ||
804 | 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. | ||
805 | CSSValue | API, CSSOM, CSSValue, Interface, NeedsExample, Obsolete, Reference |
The CSSValue interface represents the current computed value of a CSS property. | ||
806 | CSSValue.cssText | API, CSSValue, Property, Reference, cssText |
The cssText property of the CSSValue interface represents the current computed CSS property value. | ||
807 | CSSValue.cssValueType | API, CSSValue, Property, Read-only, Reference, cssValueType |
The cssValueType read-only property of the CSSValue interface represents the type of the current computed CSS property value. | ||
808 | CSSValueList | API, CSSOM, CSSValueList, Interface, Obsolete, Reference |
The CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values. | ||
809 | CSSValueList.item() | API, CSSValueList, Method, Reference, item |
The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index. | ||
810 | CSSValueList.length | API, CSSValueList, NeedsExample, Property, Read-only, Reference, length |
The length read-only property of the CSSValueList interface represents the number of CSSValue s in the list. The range of valid values of the indices is 0 to length-1 inclusive. | ||
811 | CSSVariableReferenceValue | API, CSS Typed Object Model API, CSSVariableReferenceValue, Experimental, Houdini, Interface, Reference |
The CSSVariableReferenceValue interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes. | ||
812 | CSSVariableReferenceValue() | API, CSS Typed Object Model API, CSSVariableReferenceValue, Constructor, Houdini, NeedsExample, Reference |
Creates a new CSSVariableReferenceValue . | ||
813 | 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 . | ||
814 | 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 . | ||
815 | 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. | ||
816 | CustomElementRegistry.define() | API, CustomElementRegistry, Method, Reference, Web Components, custom elements, define |
The define() method of the CustomElementRegistry interface defines a new custom element. | ||
817 | 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. | ||
818 | 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. | ||
819 | 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. | ||
820 | CustomEvent | API, CustomEvent, DOM, Interface, NeedsExample, Reference |
The CustomEvent interface represents events initialized by an application for any purpose. | ||
821 | CustomEvent() | API, Constructor, CustomEvent, Reference, events |
The CustomEvent() constructor creates a new CustomEvent . | ||
822 | CustomEvent.detail | API, CustomEvent, DOM, Property, Reference, detail |
The detail readonly property of the CustomEvent interface returns any data passed when initializing the event. | ||
823 | 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. | ||
824 | 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. | ||
825 | DataTransfer.addElement() | API, Method, Non-standard, Reference, drag and drop |
The DataTransfer.addElement() method sets the drag source to the given element. This element will be the element to which drag and dragend events are fired, and not the defaut target (the node that was dragged). | ||
826 | 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. | ||
827 | DataTransfer() | API, Constructor, DataTransfer, HTML Drag and Drop API, Reference, drag and drop |
The DataTransfer constructor creates a new DataTransfer object instance. | ||
828 | 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. | ||
829 | 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. | ||
830 | 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. | ||
831 | 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. | ||
832 | 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. | ||
833 | DataTransfer.mozClearDataAt() | API, Method, Non-standard, Reference, drag and drop |
The DataTransfer.mozClearDataAt() method removes the data associated with the given format for an item at the specified index. The index must be in the range from zero to the number of items minus one. | ||
834 | 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. | ||
835 | DataTransfer.mozGetDataAt() | API, Method, Non-standard, Reference, drag and drop |
The DataTransfer.mozGetDataAt() method is used to retrieve an item in the drag event's 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. | ||
836 | DataTransfer.mozItemCount | API, Non-standard, Property, Reference, drag and drop |
The DataTransfer.mozItemCount property returns the number of items being dragged. This can be used, for example, to get the number of files being dragged. | ||
837 | DataTransfer.mozSetDataAt() | API, Method, Non-standard, Reference, drag and drop |
The DataTransfer.mozSetDataAt() method is used to add data to a specific index in the drag event's DataTransfer object. | ||
838 | 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. | ||
839 | DataTransfer.mozTypesAt() | API, Method, Non-standard, Reference, drag and drop |
The DataTransfer.mozTypesAt() method returns a list of the format types that are stored for an item at the specified index. If the index is not in the range from 0 to the number of items minus one, an empty string list is returned. | ||
840 | 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. | ||
841 | 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. | ||
842 | 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. | ||
843 | 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. | ||
844 | 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. | ||
845 | 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 . | ||
846 | 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. | ||
847 | 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 ). | ||
848 | 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. | ||
849 | 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. | ||
850 | 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. | ||
851 | 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 . | ||
852 | 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. | ||
853 | 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. | ||
854 | DataTransferItemList.DataTransferItem() | API, DataTransferItemList, Getter, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop |
The DataTransferItem() getter method implements support for accessing items in the DataTransferItemList using array-style syntax (that is DataTransferItem[index] ). | ||
855 | DataTransferItemList.length | API, DataTransferItemList, Draggged Items, Drop Items, HTML DOM, HTML Drag and Drop API, Item List, Property, Read-only, Reference, drag and drop, length |
The read-only length property of the DataTransferItemList interface returns the number of items currently in the drag item list. | ||
856 | 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. | ||
857 | 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. | ||
858 | 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. | ||
859 | 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() ). | ||
860 | DedicatedWorkerGlobalScope: messageerror event | Event |
The messageerror event is fired on a DedicatedWorkerGlobalScope object when it receives a message that can't be deserialized. | ||
861 | 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 . | ||
862 | DedicatedWorkerGlobalScope.onmessage | API, DedicatedWorkerGlobalScope, Property, Reference, Référence(2), Web Workers, onmessage |
The onmessage property of the DedicatedWorkerGlobalScope interface represents an EventHandler to be called when the message event occurs and bubbles through the Worker — i.e. when a message is sent to the worker using the Worker.postMessage method. | ||
863 | 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. | ||
864 | DedicatedWorkerGlobalScope.postMessage() | API, DedicatedWorkerGlobalScope, Method, Reference, Référence(2), Web Workers, postMessage |
The postMessage() method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references. | ||
865 | 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. | ||
866 | 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. | ||
867 | 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. | ||
868 | DeprecationReportBody | API, DeprecationReportBody, Experimental, Interface, Reference, Reporting API |
The DeprecationReportBody interface of the Reporting API represents the body of a deprecation report (the return value of its Report.body property). | ||
869 | Detecting device orientation | API, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference |
Increasingly, web-enabled devices are capable of determining their orientation; that is, they can report data indicating changes to their orientation with relation to the pull of gravity. In particular, hand-held devices such as mobile phones can use this information to automatically rotate the display to remain upright, presenting a wide-screen view of the web content when the device is rotated so that its width is greater than its height. | ||
870 | Device Memory API | Device Memory API |
Capabilities of the client devices largely depend on the amount of available RAM. Traditionally, developrs had to use heruistics and either benchmark the device or infer the device capabilities based on other factors like device manufacturer or User Agent strings. | ||
871 | DeviceLightEvent | API, Ambient Light Events, Interface, NeedsBetterSpecLink, NeedsMarkupWork, Obsolete |
The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability. | ||
872 | Using light sensors | API, DeviceLightEvent, Guide, HTML5, JavaScript |
Ambient Light Events give a web application access to a device's ambient light sensor to detect changes in light intensity. | ||
873 | DeviceLightEvent.value | API, Ambient Light Events, Experimental, NeedsBetterSpecLink, NeedsMarkupWork, Property |
The value property provides the current level of the ambient light. | ||
874 | 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. | ||
875 | 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/s2). | ||
876 | 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/s2). Unlike DeviceMotionEvent.acceleration which compensates for the influence of gravity, its value is the sum of the acceleration of the device as induced by the user and the acceleration caused by gravity. | ||
877 | DeviceMotionEvent.DeviceMotionEvent() | API, Constructor, Device Orientation, Device Orientation API, Experimental, Mobile, Motion, Non-standard, Orientation, Reference |
The DeviceMotionEvent constructor creates a new DeviceMotionEvent . | ||
878 | DeviceMotionEvent.interval | API, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference |
Returns the interval, in milliseconds, at which data is obtained from the underlaying hardware. You can use this to determine the granularity of motion events. | ||
879 | 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. | ||
880 | 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. | ||
881 | 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. | ||
882 | 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. | ||
883 | 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. | ||
884 | 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. | ||
885 | 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. | ||
886 | 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. | ||
887 | 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. | ||
888 | 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. | ||
889 | 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. | ||
890 | 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. | ||
891 | 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. | ||
892 | DeviceOrientationEvent.DeviceOrientationEvent() | API, Constructor, Device Orientation API, DeviceOrientationEvent, Experimental, Reference |
The DeviceOrientationEvent constructor creates a new DeviceOrientationEvent . | ||
893 | 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. | ||
894 | DeviceProximityEvent | API, Interface, Proximity Events, Reference |
The DeviceProximityEvent interface provides information about the distance of a nearby physical object using the proximity sensor of a device. | ||
895 | DeviceProximityEvent.max | API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2) |
The max property provides the maximum sensing distance the sensor is able to report, in centimeters. | ||
896 | DeviceProximityEvent.min | API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2) |
The min property provides the minimum distance the sensor can report, in centimeters. | ||
897 | DeviceProximityEvent.value | API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2) |
The value property of DeviceProximityEvent objects provides the current distance between the device and the detected object, in centimeters. | ||
898 | DirectoryEntrySync | API, File API, File System API, Offline, Reference, Référence(2), filesystem |
The DirectoryEntrySync interface of the File System API represents a directory in a file system. It includes methods for creating, reading, looking up, and recursively removing files in a directory. | ||
899 | DirectoryReaderSync | API, Reference, Référence(2) |
The DirectoryReaderSync interface of the File System API lets you read the entries in a directory. | ||
900 | 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. | ||
901 | 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. | ||
902 | 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 . | ||
903 | 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. | ||
904 | Events and the DOM | DOM, Guide |
This chapter describes the DOM Event Model. The Event interface itself is described, as well as the interfaces for event registration on nodes in the DOM, and event listeners, and several longer examples that show how the various event interfaces relate to one another. | ||
905 | 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. | ||
906 | 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. | ||
907 | 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. | ||
908 | Locating DOM elements using selectors | Beginner, DOM, NeedsBeginnerUpdate |
The Selectors API provides methods that make it quick and easy to retrieve Element nodes from the DOM by matching against a set of selectors. This is much faster than past techniques, wherein it was necessary to, for example, use a loop in JavaScript code to locate the specific items you needed to find. | ||
909 | Traversing an HTML table with JavaScript and DOM Interfaces | API, DOM, Guide, HTML, JavaScript |
DOM | ||
910 | 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. | ||
911 | Example | DOM |
No summary! | ||
912 | 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. | ||
913 | 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. | ||
914 | 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. | ||
915 | 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. | ||
916 | 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). | ||
917 | 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. | ||
918 | 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. | ||
919 | 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. | ||
920 | 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. | ||
921 | 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). | ||
922 | 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. | ||
923 | 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. | ||
924 | 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. | ||
925 | 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. | ||
926 | 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. | ||
927 | 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. | ||
928 | Document.close() | API, Document, HTML DOM, Method, Reference |
The Document.close() method finishes writing to a document, opened with Document.open() . | ||
929 | 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. | ||
930 | 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. | ||
931 | 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. | ||
932 | 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. | ||
933 | 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. | ||
934 | Document.createCDATASection() | API, DOM, Method, Reference |
createCDATASection() creates a new CDATA section node, and returns it. | ||
935 | Document.createComment() | API, DOM, Method, Reference |
createComment() creates a new comment node, and returns it. | ||
936 | 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. | ||
937 | 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. | ||
938 | Document.createElementNS() | API, DOM, Method, Reference |
Creates an element with the specified namespace URI and qualified name. | ||
939 | Document.createEntityReference() | API, DOM, Method, Obsolete, Reference |
Prior to 7.0 this method showed up as present, due to bug 9850 , it always only returned null. The only workaround is to create a text node, CDATA section, attribute node value, etc. which has the value referred to by the entity, using Unicode escape sequences or fromCharCode() as necessary. | ||
940 | Document.createEvent() | API, DOM, Method, Reference |
Many methods used with createEvent , such as initCustomEvent , are deprecated. Use event constructors instead. | ||
941 | Document.createExpression() | API, DOM, Method, Reference, XPath, createExpression |
This method compiles an XPathExpression which can then be used for (repeated) evaluations. | ||
942 | Document.createNodeIterator() | API, DOM, Gecko, MakeBrowserAgnostic, Method |
Returns a new NodeIterator object. | ||
943 | 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. | ||
944 | Document.createProcessingInstruction() | API, DOM, Document, Method, Reference, createProcessInstruction |
createProcessingInstruction() generates a new processing instruction node and returns it. | ||
945 | Document.createRange() | API, DOM, DOM Reference, Document, DocumentRange.createRange, Method, Range |
The Document.createRange() method returns a new Range object. | ||
946 | Document.createTextNode() | API, DOM, Document, Method, Reference, createTextNode |
Creates a new Text node. This method can be used to escape HTML characters. | ||
947 | Document.createTouch() | API, Deprecated, HTML DOM, Method, Mobile, Reference, createTouch, touch |
The Document.createTouch() method creates and returns a new Touch object. | ||
948 | Document.createTouchList() | API, Deprecated, Document, HTML DOM, Method, Mobile, createTouchList, touch |
The Document.createTouchList() method creates and returns a new TouchList object. | ||
949 | Document.createTreeWalker() | API, DOM, DOM Reference, Document, Method |
The Document.createTreeWalker() creator method returns a newly created TreeWalker object. | ||
950 | 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 Statements/import%2Emeta instead.) | ||
951 | Document: cut event | Event |
The cut event is fired when the user has initiated a "cut" action through the browser's user interface. | ||
952 | 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. | ||
953 | 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. | ||
954 | 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. | ||
955 | 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 . | ||
956 | 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. | ||
957 | 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). | ||
958 | 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. | ||
959 | Document.documentURIObject | API, DOM, Non-standard, Property, Reference |
The Document.documentURIObject read-only property returns an nsIURI object representing the URI of the document. | ||
960 | Document.domain | API, Document, HTML DOM, Property, Reference |
The domain property of the Document interface gets/sets the domain portion of the origin of the current document, as used by the same-origin policy. | ||
961 | 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. | ||
962 | 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. | ||
963 | 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). | ||
964 | 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. | ||
965 | 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. | ||
966 | 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). | ||
967 | Document: dragstart event | DOM, Event, Reference, drag and drop |
The dragstart event is fired when the user starts dragging an element or text selection. | ||
968 | 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. | ||
969 | Document.embeds | API, Document, HTML DOM, NeedsExample, Property |
The embeds read-only property of the Document interface returns a list of the embedded object elements within the current document. | ||
970 | Document.enableStyleSheetsForSet() | API, CSSOM, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference |
Enables the style sheets matching the specified name in the current style sheet set, and disables all other style sheets (except those without a title, which are always enabled). | ||
971 | Document.evaluate() | API, DOM, Method, Reference, XPath |
Returns an XPathResult based on an XPath expression and other given parameters. | ||
972 | Document.execCommand() | API, DOM, Method, NeedsExample, Reference, editor |
When an HTML document has been switched to designMode , its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable elements. | ||
973 | 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. | ||
974 | 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. | ||
975 | Document.exitPointerLock() | API, Experimental, Method, Reference, mouse lock |
The exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock . | ||
976 | 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. | ||
977 | Document.fgColor | API, Deprecated, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
fgColor gets/sets the foreground color, or text color, of the current document. | ||
978 | 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. | ||
979 | 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. | ||
980 | 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. | ||
981 | 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. | ||
982 | 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. | ||
983 | 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. | ||
984 | Document.getBoxObjectFor() | API, DOM, Method, Obsolete, Reference |
Returns a boxObject (x, y, width, height) for a specified element. | ||
985 | 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. | ||
986 | 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). | ||
987 | 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. | ||
988 | Document.getElementsByTagName() | API, DOM, Method, Reference |
returns an HTMLCollection of elements with the given tag name. | ||
989 | 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. | ||
990 | Document: gotpointercapture event | Document, Event, PointerEvent, Reference, Web, gotpointercapture |
The gotpointercapture event is fired when an element captures a pointer using Element.setPointerCapture . | ||
991 | 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. | ||
992 | 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. | ||
993 | 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. | ||
994 | Document.height | API, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference |
Returns the height of the document object. In most cases, this is equal to the body element of the current document. | ||
995 | 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. | ||
996 | 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. | ||
997 | Document.implementation | API, DOM, Document, NeedsContent, Property, Reference |
The Document.implementation property returns a DOMImplementation object associated with the current document. | ||
998 | 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. | ||
999 | Document: keydown event | API, DOM, Document, Event, KeyboardEvent, Reference, keydown |
The keydown event is fired when a key is pressed. | ||
1000 | Document: keypress event | DOM, Deprecated, Event, KeyboardEvent, Reference |
The keypress event is fired when a key that produces a character value is pressed down. | ||
1001 | Document: keyup event | DOM, Document, Event, KeyboardEvent, Reference, keyup |
The keyup event is fired when a key is released. | ||
1002 | 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. | ||
1003 | Document.lastStyleSheetSet | API, CSSOM, DOM, Document, Property, Reference, Stylesheets, lastStyleSheetSet |
The Document.lastStyleSheetSet property returns the last enabled style sheet set. This property's value changes whenever the document.selectedStyleSheetSet property is changed. | ||
1004 | Document.linkColor | API, Deprecated, Document, HTML DOM, NeedsSpecTable, Property, Reference |
The Document.linkColor property gets/sets the color of links within the document. | ||
1005 | 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. | ||
1006 | 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. | ||
1007 | Document: lostpointercapture event | API, Document, Event, PointerEvent, Reference, lostpointercapture |
The lostpointercapture event is fired when a captured pointer is released. | ||
1008 | 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. | ||
1009 | 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. | ||
1010 | 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() . | ||
1011 | 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(). | ||
1012 | 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. | ||
1013 | 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() . | ||
1014 | 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 . | ||
1015 | 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). | ||
1016 | 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. | ||
1017 | Document.open() | API, DOM, Document, Method, Reference, open |
The Document.open() method opens a document for Document.write . | ||
1018 | Document.origin | API, DOM, Document, Experimental, Interface, Property, Read-only |
The Document.origin read-only property returns the document's origin. In most cases, this property is equivalent to document.defaultView.location.origin . | ||
1019 | 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. | ||
1020 | 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. | ||
1021 | Document.plugins | API, Document, NeedsMarkupWork, Property, Reference |
The plugins read-only property of the Document interface returns an HTMLCollection object containing one or more HTMLEmbedElement s representing the embed elements in the current document. | ||
1022 | 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. | ||
1023 | 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. | ||
1024 | 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 ). | ||
1025 | 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. | ||
1026 | Document: pointerlockchange event | Document, Event, Reference, Web, pointerlockchange |
The pointerlockchange event is fired when the pointer is locked/unlocked. | ||
1027 | 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). | ||
1028 | 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. | ||
1029 | 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. | ||
1030 | 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. | ||
1031 | Document: pointerup event | API, Document, Event, PointerEvent, Reference, Web, onpointerup, pointerup |
The pointerup event is fired when a pointer is no longer active. | ||
1032 | Document.popupNode | API, DOM, Deprecated, Property, Reference |
When a popup attached via the popup or context attributes is opened, the XUL document's popupNode property is set to the node that was clicked on. This will be the target of the mouse event that activated the popup. If the popup was opened via the keyboard, the popup node may be set to null. Typically, this property will be checked during a popupshowing event handler for a context menu to initialize the menu based on the context. | ||
1033 | Document.preferredStyleSheetSet | API, CSSOM, DOM, Document, Property, Reference, Stylesheets |
The preferredStyleSheetSet property returns the preferred style sheet set as set by the page author. | ||
1034 | Document.queryCommandEnabled() | CSS, Document, Method, Reference |
The Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser. | ||
1035 | Document.queryCommandState() | API, DOM, Reference |
The queryCommandState() method will tell you if the current selection has a certain Document.execCommand() command applied. | ||
1036 | Document.queryCommandSupported() | API, DOM, Document, Method, Reference, editor |
The Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser. | ||
1037 | 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. | ||
1038 | 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. | ||
1039 | Document.readyState | API, HTML DOM, Property, Reference |
The Document.readyState property describes the loading state of the document . | ||
1040 | Document: readystatechange event | Event, Reference, XMLHttpRequest, interactive |
The readystatechange event is fired when the Document.readyState attribute of a document has changed. | ||
1041 | Document.referrer | API, Document, HTML DOM, NeedsSpecTable, Property, Reference |
The Document.referrer property returns the URI of the page that linked to this page. | ||
1042 | Document.registerElement() | API, DOM, Deprecated, Method, Reference, Web Components |
Warning: document.registerElement() is deprecated in favor of CustomElementRegistry.define() . | ||
1043 | 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() . | ||
1044 | 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. | ||
1045 | Document.rootElement | API, DOM, Deprecated, Document, Obsolete, Property, Reference, SVG, root |
Document.rootElement returns the Element that is the root element of the document if it is an svg element, otherwise null . It is deprecated in favor of Document.documentElement , which returns the root element for all documents. | ||
1046 | 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 . | ||
1047 | Document: scroll event | API, DOM, Document, Event, Reference, Scroll, UIEvent |
The scroll event fires when the document view or an element has been scrolled. | ||
1048 | 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 . | ||
1049 | Document.selectedStyleSheetSet | API, CSSOM, DOM, Property, Reference, Stylesheets |
The selectedStyleSheetSet property indicates the name of the style sheet set that's currently in use. | ||
1050 | 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. | ||
1051 | 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. | ||
1052 | Document.styleSheetSets | API, CSSOM, DOM, Property, Reference, Stylesheets |
The styleSheetSets read-only property returns a live list of all of the currently-available style sheet sets. | ||
1053 | 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. | ||
1054 | Document.title | API, Command API, Document, HTML DOM, NeedsSpecTable, Property, Reference |
The document.title property gets or sets the current title of the document. | ||
1055 | Document.tooltipNode | API, API:Mozilla Extensions, DOM, Draft, Gecko, Mozilla, Non-standard, Property, Reference |
The Document.tooltipNode property returns the node which is the target of the current tooltip . | ||
1056 | 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). | ||
1057 | 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. | ||
1058 | 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. | ||
1059 | 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. | ||
1060 | Document: transitioncancel event | API, CSS Transitions, Document, Event, Reference, TransitionEvent, Web, transitioncancel |
The transitioncancel event is fired when a CSS transition is canceled. | ||
1061 | 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. | ||
1062 | 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. | ||
1063 | 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. | ||
1064 | Document.URL | API, DOM, Document, Property, Reference |
The URL read-only property of the Document interface returns the document location as a string. | ||
1065 | Document: visibilitychange event | API, Document, Event, Reference, Visibility, Web, visibilitychange |
The visibilitychange event is fired at the document when the content of its tab have become visible or have been hidden. | ||
1066 | 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. | ||
1067 | 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. | ||
1068 | 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). | ||
1069 | Document.width | API, Document, HTML DOM, NeedsBrowserAgnosticism, NeedsSpecTable, Obsolete, Property, Reference |
Returns the width of the body element of the current document in pixels. | ||
1070 | 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() . | ||
1071 | Document.writeln() | API, DOM, Method, Reference |
Writes a string of text followed by a newline character to a document. | ||
1072 | Document.xmlEncoding | API, DOM, Document.xmlEncoding, MakeBrowserAgnostic, Obsolete, Property |
Returns the encoding as determined by the XML declaration. Should be null if unspecified or unknown. | ||
1073 | Document.xmlVersion | API, DOM, DOM Reference, Obsolete, Property, Reference |
Returns the version number as specified in the XML declaration (e.g., <?xml version="1.0"?> ) or "1.0" if the declaration is absent. | ||
1074 | 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. | ||
1075 | DocumentFragment() | API, Constructor, DOM, DocumentFragment, Experimental |
The DocumentFragment() constructor returns a new, empty DocumentFragment object . | ||
1076 | 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. | ||
1077 | 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. | ||
1078 | DocumentOrShadowRoot | API, Document, DocumentOrShadowRoot, Interface, Reference, ShadowRoot, shadow dom |
The DocumentOrShadowRoot mixin of the Shadow DOM API provides APIs that are shared between documents and shadow roots. The following features are included in both Document and ShadowRoot . | ||
1079 | DocumentOrShadowRoot.activeElement | API, Document, DocumentOrShadowRoot, Focus, Property, Reference, ShadowRoot, activeElement |
The activeElement read-only property of the Document and ShadowRoot interfaces returns the Element within the DOM or shadow DOM tree that currently has focus. | ||
1080 | DocumentOrShadowRoot.caretPositionFromPoint() | API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, caretPositionFromPoint() |
The caretPositionFromPoint() property of the DocumentOrShadowRoot interface returns a CaretPosition object, containing the DOM node, along with the caret and caret's character offset within that node. | ||
1081 | DocumentOrShadowRoot.elementFromPoint() | API, Coordinates, Document, DocumentOrShadowRoot, Find Element, Method, Point, Reference, ShadowRoot, elementFromPoint, elementFromPoint(), find, shadow dom |
The elementFromPoint() method—available on both the Document and ShadowRoot objects—returns the topmost Element at the specified coordinates (relative to the viewport). | ||
1082 | DocumentOrShadowRoot.elementsFromPoint() | API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, elementsFromPoint, elementsFromPoint(), shadow dom |
The elementsFromPoint() method of the DocumentOrShadowRoot interface returns an array of all elements at the specified coordinates (relative to the viewport). | ||
1083 | DocumentOrShadowRoot.fullscreenElement | API, Document, DocumentOrShadowRoot, Full-screen, Fullscreen API, Graphics, Property, Read-only, Reference, fullscreenElement, screen |
The DocumentOrShadowRoot.fullscreenElement read-only property returns the Element that is currently being presented in full-screen mode in this document, or null if full-screen mode is not currently in use. | ||
1084 | DocumentOrShadowRoot.getAnimations() | API, Animation, CSS, CSS Animations, CSS Transitions, Document, Experimental, Method, Reference, Transitions, Web Animations, getAnimations, waapi, web animations api |
The getAnimations() method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document. This array includes CSS Animations, CSS Transitions, and Web Animations. | ||
1085 | DocumentOrShadowRoot.getSelection() | API, DocumentOrShadowRoot, Doument, Method, Reference, ShadowRoot, getSelection, getSelection(), shadow dom |
The getSelection() property of the DocumentOrShadowRoot interface returns a Selection object representing the range of text selected by the user, or the current position of the caret. | ||
1086 | DocumentOrShadowRoot.msElementsFromRect() | API, API:Microsoft Extensions, Method, Non-standard, Reference, msElementsFromRect |
The msElementsFromRect method returns the node list of elements that are under a rectangle defined by left, top, width, and height. | ||
1087 | DocumentOrShadowRoot.pictureInPictureElement | API, Document, DocumentOrShadowRoot, Graphics, Picture-in-Picture, Picture-in-Picture API, Property, Read-only, Reference, pictureInPictureElement, pip |
The DocumentOrShadowRoot.pictureInPictureElement read-only property returns the HTMLVideoElement that is currently being presented in picture-in-picture mode in this document, or null if picture-in-picture mode is not currently in use. | ||
1088 | DocumentOrShadowRoot.pointerLockElement | API, DOM, Document, Property, Reference, ShadowRoot, mouse lock |
The pointerLockElement property of the Document and ShadowRoot interfaces provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document. | ||
1089 | DocumentOrShadowRoot.styleSheets | API, Document, DocumentOrShadowRoot, Property, Reference, ShadowRoot, Stylesheets, shadow dom |
The styleSheets read-only property of the DocumentOrShadowRoot interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document. | ||
1090 | 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 ). | ||
1091 | DocumentTimeline.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. | ||
1092 | DocumentTouch | API, DOM, DocumentTouch, Mobile, Obsolete, TouchList, touch |
The DocumentTouch interface used to provide convenience methods for creating Touch and TouchList objects, but DocumentTouch been removed from the standards. These two methods now live on the Document interface. | ||
1093 | DocumentType | API, DOM, DocumentType, Interface |
The DocumentType interface represents a Node containing a doctype. | ||
1094 | DOMError | API, DOM, DOMError, Deprecated, Interface, Reference |
The DOMError interface describes an error object that contains an error name. | ||
1095 | 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. | ||
1096 | 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. | ||
1097 | DOMException() | API, Constructor, DOMException, Reference |
The DOMException() constructor returns a DOMException object with a specified message and name. | ||
1098 | 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. | ||
1099 | 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. | ||
1100 | 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. | ||
1101 | 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. | ||
1102 | DOMImplementation.createDocument() | API, DOM, DOMImplementation, Method, Reference |
The DOMImplementation.createDocument() method creates and returns an XMLDocument . | ||
1103 | 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() . | ||
1104 | DOMImplementation.createHTMLDocument() | API, DOM, DOM Reference, DOMImplementation, Method, Reference |
The DOMImplementation.createHTMLDocument() method creates a new HTML Document . | ||
1105 | 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. | ||
1106 | DOMLocator | API, DOM, DOM Reference, Obsolete, Reference |
NOTE: This is not implemented in Mozilla | ||
1107 | 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. | ||
1108 | 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.. | ||
1109 | 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. | ||
1110 | 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. | ||
1111 | 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. | ||
1112 | 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. | ||
1113 | 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. | ||
1114 | DOMObject | API, DOM, DOM Reference, DOMObject, Object, Obsolete, Reference |
The obsolete DOMObject interface was used in earlier versions of the DOM specification as the base class for any object data type. | ||
1115 | DOMParser | API, DOM, DOM Parsing, Document, HTML, HTMLDocument, MakeBrowserAgnostic, NeedsMarkupWork, Parsing, Reference, SVG, XML, XMLDocument |
The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document . | ||
1116 | DOMParser() | API, Constructor, DOM Parsing, Parsing, Reference |
The DOMParser() constructor creates a new DOMParser object. | ||
1117 | 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. | ||
1118 | DOMPoint.fromPoint() | API, Coordiantes, DOM, DOMPoint, Geometry, Geometry Interfaces, Method, Point, Reference, Static, Static Method, fromPoint |
The static DOMPoint method fromPoint() creates and returns a new mutable DOMPoint object given a source point. | ||
1119 | DOMPoint.DOMPoint() | API, Constructor, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Reference |
The DOMPoint() constructor creates and returns a new DOMPoint object, given the values for some or all of its properties. | ||
1120 | 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. | ||
1121 | 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. | ||
1122 | 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. | ||
1123 | 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. | ||
1124 | 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. | ||
1125 | 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. | ||
1126 | 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 . | ||
1127 | 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. | ||
1128 | 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. | ||
1129 | 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. | ||
1130 | 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. | ||
1131 | 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. | ||
1132 | 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. | ||
1133 | 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. | ||
1134 | 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. | ||
1135 | 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. | ||
1136 | 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. | ||
1137 | DOMQuad | API, DOM, DOM Reference, DOMQuad, Experimental, Geometry |
A DOMQuad is a collection of four DOMPoint s defining the corners of an arbitrary quadrilateral. Returning DOMQuad s 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. | ||
1138 | DOMRect | API, DOM, DOM Reference, DOMRect, Geometry, Geometry Interfaces, Interface, Rectangle, Reference |
A DOMRect describes the size and position of a rectangle. | ||
1139 | DOMRect.DOMRect() | API, Constructor, DOM Reference, DOMRect, Experimental, Geometry, Reference |
The DOMRect() constructor creates a new DOMRect object. | ||
1140 | 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. | ||
1141 | DOMRectReadOnly.bottom | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), bottom |
The bottom read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect. (Has the same value as y + height , or y if height is negative.) | ||
1142 | DOMRectReadOnly() | API, Constructor, DOM, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Reference |
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object. | ||
1143 | 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. | ||
1144 | DOMRectReadOnly.height | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), height |
The height read-only property of the DOMRectReadOnly interface represents the height of the DOMRect . | ||
1145 | DOMRectReadOnly.left | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), left |
The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x , or x + width if width is negative.) | ||
1146 | DOMRectReadOnly.right | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), right |
The right read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect. (Has the same value as x + width , or x if width is negative.) | ||
1147 | DOMRectReadOnly.top | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), top |
The top read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect. (Has the same value as y , or y + height if height is negative.) | ||
1148 | DOMRectReadOnly.width | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), width |
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect . | ||
1149 | DOMRectReadOnly.x | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), x |
The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect 's origin. | ||
1150 | DOMRectReadOnly.y | API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), y |
The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect 's origin. | ||
1151 | DOMString | API, DOM, Reference, String |
A 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 . | ||
1152 | 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. | ||
1153 | DOMStringList | API, DOM, DOMStringList, Reference |
A type returned by some APIs which contains a list of DOMString (strings). | ||
1154 | DOMStringMap | API, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference |
The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements. | ||
1155 | DOMTimeStamp | API, DOM, Interface, Reference |
The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears. | ||
1156 | 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. | ||
1157 | DOMTokenList.add() | API, Add, DOM, DOMTokenList, Method, Reference |
The add() method of the DOMTokenList interface adds the given token to the list. | ||
1158 | DOMTokenList.contains() | API, Contains, DOM, DOMTokenList, Method, Reference |
The contains() method of the DOMTokenList interface returns a Boolean — true if the underlying list contains the given token , otherwise false . | ||
1159 | 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. | ||
1160 | 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. | ||
1161 | DOMTokenList.item() | API, DOM, DOMTokenList, Method, Reference, item |
The item() method of the DOMTokenList interface returns an item in the list by its index. | ||
1162 | 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 . | ||
1163 | 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. | ||
1164 | DOMTokenList.remove() | API, DOM, DOMTokenList, Method, Reference, remove |
The remove() method of the DOMTokenList interface removes the specified tokens from the list. | ||
1165 | 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. | ||
1166 | 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. | ||
1167 | 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 . | ||
1168 | 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. | ||
1169 | 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. | ||
1170 | DOMUserData | API, DOM, Interface, NeedsCompatTable, Obsolete, Reference |
DOMUserData refers to application data. In JavaScript, it maps directly to Object . It is returned or used as an argument by Node.setUserData() , Node.getUserData() , used as the third argument to handle() on UserDataHandler , and is used or returned by various DOMConfiguration methods. | ||
1171 | 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. | ||
1172 | 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. | ||
1173 | DragEvent.dataTransfer | API, DOM, Property, Reference, drag and drop |
The DragEvent.dataTransfer property holds the drag operation's data (as a DataTransfer object). | ||
1174 | DragEvent() | API, Constructor, DOM, Reference, drag and drop |
This constructor is used to create a synthetic DragEvent object. | ||
1175 | 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 AudioContext.createDynamicsCompressor() method. | ||
1176 | 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. | ||
1177 | 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 | ||
1178 | DynamicsCompressorNode.knee | API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, knee |
The knee property of the DynamicsCompressorNode interface is a k-rate AudioParam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion. | ||
1179 | 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. | ||
1180 | DynamicsCompressorNode.reduction | API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, reduction |
The reduction read-only property of the DynamicsCompressorNode interface is a float representing the amount of gain reduction currently applied by the compressor to the signal. | ||
1181 | 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. | ||
1182 | 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. | ||
1183 | 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. | ||
1184 | 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. | ||
1185 | 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. | ||
1186 | 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. | ||
1187 | 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. | ||
1188 | 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. | ||
1189 | 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 | ||
1190 | 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. | ||
1191 | 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. | ||
1192 | 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. | ||
1193 | 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. | ||
1194 | 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. | ||
1195 | 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. | ||
1196 | 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 . | ||
1197 | Element: afterscriptexecute event | Event, Non-standard, Reference |
This event was a proposal in an early version of the specification. Do not rely on it. | ||
1198 | 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. | ||
1199 | 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 . | ||
1200 | 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. | ||
1201 | 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. | ||
1202 | Element: beforescriptexecute event | DOM, Non-standard, Reference |
This event was a proposal in an early version of the specification. Do not rely on it. | ||
1203 | 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. | ||
1204 | 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. | ||
1205 | 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. | ||
1206 | 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. | ||
1207 | 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). | ||
1208 | 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. | ||
1209 | 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. | ||
1210 | 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). | ||
1211 | 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 . | ||
1212 | 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. | ||
1213 | 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. | ||
1214 | 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. | ||
1215 | 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 . | ||
1216 | 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. | ||
1217 | 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. | ||
1218 | 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. | ||
1219 | Element.currentStyle | API, NeedsExample, Non-standard, Property |
Element.currentStyle is a proprietary property which is similar to the standardized window.getComputedStyle() method. It is available in old versions of Microsoft Internet Explorer. However, it returns the units set in CSS while window.getComputedStyle() returns the values in pixels. | ||
1220 | 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. | ||
1221 | 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. | ||
1222 | 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. | ||
1223 | 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. | ||
1224 | 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. | ||
1225 | 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. | ||
1226 | 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. | ||
1227 | 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. | ||
1228 | 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. | ||
1229 | Element: fullscreenerror event | API, Element, Event, Reference, fullscreenerror |
The fullscreenerror event is fired when the browser cannot switch to full-screen mode. | ||
1230 | Element: gesturechange event | Event, Non-standard, Reference |
The gesturechange event is fired when digits move during a touch gesture. | ||
1231 | 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. | ||
1232 | 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. | ||
1233 | 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. | ||
1234 | Element.getAttribute() | API, DOM, Element, Method, Reference |
The getAttribute() method of the Element interface returns the value of a specified attribute on the element. | ||
1235 | 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. | ||
1236 | Element.getAttributeNode() | API, DOM, Element, Method, Reference |
Returns the specified attribute of the specified element, as an Attr node. | ||
1237 | Element.getAttributeNodeNS() | API, DOM, Method, Reference |
Returns the Attr node for the attribute with the given namespace and name. | ||
1238 | 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. | ||
1239 | 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. | ||
1240 | 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. | ||
1241 | 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. | ||
1242 | Element.getElementsByTagName() | API, DOM, Element, Method, Reference |
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name. | ||
1243 | 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. | ||
1244 | 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. | ||
1245 | Element.hasAttributeNS() | API, DOM, Element, Method, Reference |
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute. | ||
1246 | 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. | ||
1247 | Element.hasPointerCapture() | API, DOM, Element, Method, PointerEvent, Reference, hasPointerCapture |
The hasPointerCapture() method of the Element interface sets whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID. | ||
1248 | Element.id | API, DOM, Element, Property, Reference |
The id property of the Element interface represents the element's identifier, reflecting the id global attribute. | ||
1249 | 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. | ||
1250 | 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. | ||
1251 | 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. | ||
1252 | 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. | ||
1253 | Element: keydown event | API, DOM, Element, Event, KeyboardEvent, Reference, keyboard, keydown |
The keydown event is fired when a key is pressed. | ||
1254 | Element: keypress event | API, Element, Event, Reference, keypress |
The keypress event is fired when a key that produces a character value is pressed down. | ||
1255 | Element: keyup event | DOM, Element, Event, Reference, keyup |
The keyup event is fired when a key is released. | ||
1256 | 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. | ||
1257 | 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. | ||
1258 | 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. | ||
1259 | 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. | ||
1260 | 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. | ||
1261 | 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. | ||
1262 | 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. | ||
1263 | 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. | ||
1264 | 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. | ||
1265 | 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. | ||
1266 | Element: MozMousePixelScroll event | API, DOM, Event, Firefox, Mouse Wheel, MozMousePixelScroll, Mozilla, Non-standard, Reference, mouse, wheel |
The Firefox-only, non-standard, and obsolete MozMousePixelScroll event is fired at an Element asynchronously when a mouse wheel or similar device is operated. It's represented by the MouseScrollEvent interface. | ||
1267 | 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). | ||
1268 | 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. | ||
1269 | 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. | ||
1270 | 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. | ||
1271 | 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. | ||
1272 | 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. | ||
1273 | 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. | ||
1274 | 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). | ||
1275 | 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. | ||
1276 | 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. | ||
1277 | 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. | ||
1278 | 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. | ||
1279 | 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 . | ||
1280 | 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. | ||
1281 | 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). | ||
1282 | 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. | ||
1283 | 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. | ||
1284 | 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. | ||
1285 | 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. | ||
1286 | 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. | ||
1287 | 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. | ||
1288 | Element.removeAttribute() | API, DOM, Element, Method, Reference, remove, removeAttribute |
The Element method removeAttribute() removes the attribute with the specified name from the element. | ||
1289 | Element.removeAttributeNode() | API, DOM, Element, Method, NeedsSpecTable, Reference |
The removeAttributeNode() method of the Element object removes the specified attribute from the current element. | ||
1290 | Element.removeAttributeNS() | API, DOM, Element, Method, NeedsSpecTable, Reference |
The removeAttributeNS() method of the Element interface removes the specified attribute from an element. | ||
1291 | 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. | ||
1292 | 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. | ||
1293 | Element.runtimeStyle | API, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property |
Element.runtimeStyle is a proprietary property similar to HTMLElement.style , except its styles, that have higher precedence and modification. | ||
1294 | Element: scroll event | API, Element, Event, Reference, Scroll |
The scroll event fires an element has been scrolled. | ||
1295 | 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. | ||
1296 | Element.scrollBy() | API, CSSOM View, Element, Method, Reference, scrollBy |
The scrollBy() method of the Element interface scrolls an element by the given amount. | ||
1297 | 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. | ||
1298 | 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 | ||
1299 | 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. | ||
1300 | 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. | ||
1301 | 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. | ||
1302 | 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. | ||
1303 | 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. | ||
1304 | 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. | ||
1305 | 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. | ||
1306 | Element: select event | Element, Event, Event Handler, NeedsCompatTable, Reference, UIEvent |
The select event fires when some text has been selected. | ||
1307 | 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. | ||
1308 | Element.setAttributeNode() | API, DOM, Element, Method, Reference |
The setAttributeNode() method adds a new Attr node to the specified element. | ||
1309 | Element.setAttributeNodeNS() | API, DOM, Element, Method, Reference |
setAttributeNodeNS adds a new namespaced attribute node to an element. | ||
1310 | 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. | ||
1311 | Element.setCapture() | API, DOM, Element, Method, Non-standard, Reference |
Call this method during the handling of a mousedown event to retarget all mouse events to this element until the mouse button is released or document.releaseCapture() is called. | ||
1312 | 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() ). | ||
1313 | Element.shadowRoot | API, Element, Property, Reference, ShadowRoot, shadow dom |
The Element.shadowRoot read-only property represents the shadow root hosted by the element. | ||
1314 | 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. | ||
1315 | 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. | ||
1316 | Element.tabStop | API, DOM, Element, NeedsExample, Non-standard, Obsolete, Property, Reference |
The tabStop property of the Element interface returns a Boolean indicating if the element can receive input focus via the tab key. If the specified element is a shadow host tab navigation is delegated to its children. | ||
1317 | 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. | ||
1318 | 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. | ||
1319 | 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). | ||
1320 | 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. | ||
1321 | 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. | ||
1322 | 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. | ||
1323 | 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. | ||
1324 | 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. | ||
1325 | 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. | ||
1326 | 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". | ||
1327 | 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. | ||
1328 | 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). | ||
1329 | ElementCSSInlineStyle | API, CSS, ElementCSSInlineStyle, Interface, Mixin, Reference |
The ElementCSSInlineStyle mixin describes CSSOM-specific features common to the HTMLElement , SVGElement and MathMLElement interfaces. | ||
1330 | ElementCSSInlineStyle.style | API, CSSOM, HTMLElement, Property, Reference, SVGElement, Style |
The style property is used to get as well as set the inline style of an element. When getting, it returns a CSSStyleDeclaration object that contains a list of all styles properties for that element with values assigned for the attributes that are defined in the element's inline style attribute. | ||
1331 | ElementTraversal | API, DOM, DOM Reference, Interface, Obsolete, Web |
The ElementTraversal interface used to define methods that allowed access from one Node to another in the document tree. | ||
1332 | Encoding API | API, Encoding, Overview, Reference |
Encoding API | ||
1333 | 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. | ||
1334 | ErrorEvent | API, Event, Worker API |
The ErrorEvent interface represents events providing information related to errors in scripts or in files. | ||
1335 | Event | API, Constructor, DOM, Event, Interface, Reference, UI, listener |
The Event interface represents an event which takes place in the DOM. | ||
1336 | 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. | ||
1337 | 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. | ||
1338 | 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. | ||
1339 | 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. | ||
1340 | 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. | ||
1341 | 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. | ||
1342 | 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. | ||
1343 | 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. | ||
1344 | Event() | API, Constructor, DOM, Event, Reference |
The Event() constructor creates a new Event . | ||
1345 | 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. | ||
1346 | Event.explicitOriginalTarget | API, DOM, Gecko, Non-standard, Property, Reference |
The explicit original target of the event. (Mozilla-specific) | ||
1347 | 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() . | ||
1348 | 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() . | ||
1349 | 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. | ||
1350 | Event.originalTarget | API, DOM, Gecko, NeedsExample, NeedsHelp, Non-standard, Property |
The original target of the event before any retargetings. (Mozilla-specific) | ||
1351 | 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. | ||
1352 | Event.returnValue | API, DOM, Event, Property, Reference, action, default, returnValue |
The Event property returnValue indicates whether the default action for this event has been prevented or not. | ||
1353 | 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. | ||
1354 | 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. | ||
1355 | 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. | ||
1356 | 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. | ||
1357 | 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. | ||
1358 | 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 . | ||
1359 | EventListener | API, DOM, DOM Events, Interface, events |
The EventListener interface represents an object that can handle an event dispatched by an EventTarget object. | ||
1360 | 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 . | ||
1361 | 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. | ||
1362 | 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). | ||
1363 | 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. | ||
1364 | EventSource() | API, Constructor, EventSource, Reference, Server-sent events |
The EventSource () constructor returns a newly-created EventSource , which represents a remote resource. | ||
1365 | 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. | ||
1366 | EventSource.onerror | API, Event Handler, EventSource, Property, Reference, Server-sent events, onerror |
The onerror property of the EventSource interface is an EventHandler called when an error occurs and the error event is dispatched on an EventSource object. | ||
1367 | EventSource.onmessage | API, Event Handler, EventSource, Property, Reference, Server-sent events, onmessage |
The onmessage property of the EventSource interface is an EventHandler called when a message event is received, that is when a message is coming from the source. | ||
1368 | EventSource.onopen | API, Event Handler, EventSource, Property, Reference, Server-sent events, onopen |
The onopen property of the EventSource interface is an EventHandler called when an open event is received, that is when the connection was just opened. | ||
1369 | 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. | ||
1370 | 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. | ||
1371 | 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. | ||
1372 | 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. | ||
1373 | 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. | ||
1374 | 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. | ||
1375 | EventTarget.dispatchEvent() | API, DOM, DOM Element Methods, Gecko, Method |
Dispatches an Event at the specified EventTarget , (synchronously) invoking the affected EventListener s in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent() . | ||
1376 | EventTarget.attachEvent() | Junk |
You are probably looking for EventTarget.addEventListener . | ||
1377 | EventTarget() | API, Constructor, DOM, DOM Events, EventTarget |
The EventTarget() constructor creates a new EventTarget object instance. | ||
1378 | 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 | ||
1379 | 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. | ||
1380 | 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. | ||
1381 | 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. | ||
1382 | 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. | ||
1383 | 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. | ||
1384 | 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. | ||
1385 | 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. | ||
1386 | 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. | ||
1387 | 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. | ||
1388 | 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. | ||
1389 | 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. | ||
1390 | 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. | ||
1391 | 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. | ||
1392 | 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. | ||
1393 | 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). | ||
1394 | 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. | ||
1395 | 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. | ||
1396 | 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). | ||
1397 | 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). | ||
1398 | 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). | ||
1399 | 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. | ||
1400 | ExtendableEvent() | API, Constructor, Experimental, ExtendableEvent, Reference, Service Workers, ServiceWorker |
The ExtendableEvent() constructor creates a new ExtendableEvent object. | ||
1401 | 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. | ||
1402 | 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. | ||
1403 | 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. | ||
1404 | ExtendableMessageEvent() | API, Constructor, Experimental, ExtendableMessageEvent, Reference, Service Workers |
The Extendable MessageEvent() constructor creates a new ExtendableMessageEvent object instance. | ||
1405 | 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. | ||
1406 | 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. | ||
1407 | 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.) | ||
1408 | 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. | ||
1409 | 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. | ||
1410 | 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 . | ||
1411 | 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). | ||
1412 | 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. | ||
1413 | 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. | ||
1414 | 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. | ||
1415 | FederatedCredential | API, Constructor, Credential Management API, FederatedCredential, NeedsExample, Reference, credential management |
The FederatedCredential constructor creates a new FederatedCredential object. | ||
1416 | 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. | ||
1417 | 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. | ||
1418 | 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. | ||
1419 | 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 | ||
1420 | 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. | ||
1421 | 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 | ||
1422 | 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. | ||
1423 | FetchEvent.client | API, Client, Deprecated, Experimental, FetchEvent, Property, Reference, Service Workers, Workers |
The FetchEvent.client read-only property returns the Client that the current service worker is controlling. | ||
1424 | 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. | ||
1425 | FetchEvent() | API, Communication, Constructor, Fetch, FetchEvent, Networking, Reference, Service Workers, ServiceWorker |
The FetchEvent() constructor creates a new FetchEvent object. | ||
1426 | FetchEvent.isReload | API, 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. | ||
1427 | FetchEvent.navigationPreload | API, FetchEvent, Offline, Property, Reference, Service Workers, Workers |
The navigationPreload read-only property of the FetchEvent interface returns a Promise that resolves to the instance of NavigationPreloadManager associated with the current service worker registration. | ||
1428 | FetchEvent.PreloadRequest | API, Experimental, FetchEvent, Junk, Offline, Property, Reference, Service Workers, Workers, request |
No summary! | ||
1429 | 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. | ||
1430 | 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. | ||
1431 | 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. | ||
1432 | 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. | ||
1433 | 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. | ||
1434 | File and Directory Entries API | API, File System API, File and Directory Entries API, Files, Non-standard, Overview, Reference |
File System API | ||
1435 | 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. | ||
1436 | 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. | ||
1437 | 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. | ||
1438 | 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. | ||
1439 | 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. | ||
1440 | File.File() | API, Constructor, File API, Reference |
The File() constructor creates a new File object instance. | ||
1441 | File.fileName | API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference |
Returns the name of the file. For security reasons the path is excluded from this property. | ||
1442 | File.fileSize | API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference |
Returns the size of a file in bytes. | ||
1443 | File.getAsBinary() | API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2) |
The getAsBinary method allows to access the file's data in raw binary format. | ||
1444 | File.getAsDataURL() | API, File API, Files, Method, Non-standard, Obsolete, Reference |
The getAsDataURL provides a data: URL that encodes the entire contents of the referenced file. | ||
1445 | File.getAsText() | API, File API, Files, Method, Non-standard, Obsolete, Reference |
The getAsText method provides the file's data interpreted as text using a given encoding. | ||
1446 | 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. | ||
1447 | 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 . | ||
1448 | File.mozFullPath | API, File, File API, Files, NeedsContent, Non-standard, Property, Reference, mozFullPath |
A privileged exension to the File interface, the mozFullPath property contains the full pathname of the represented file. | ||
1449 | 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. | ||
1450 | File.size | API, Guide, fileapi |
Returns the size of a file in bytes. | ||
1451 | File.type | API, File API, File Type, Files, Property, Reference |
Returns the media type (MIME) of the file represented by a File object. | ||
1452 | 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 element or by drag and drop. | ||
1453 | 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. | ||
1454 | 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. | ||
1455 | FileError | API, File API, Files, Obsolete, Reference |
Represents an error that occurs while using the FileReader interface. | ||
1456 | FileException | API, File API, File System API, Non-standard, Obsolete, Offline, Reference, filesystem |
In the File System API, a FileException object represents error conditions that you might encounter while accessing the file system using the synchronous API. It extends the FileException interface described in File Writer and adds several new error codes. | ||
1457 | 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. | ||
1458 | 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. | ||
1459 | 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() . | ||
1460 | 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 . | ||
1461 | 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). | ||
1462 | FileReader.error | API, File API, Files, Property, Reference |
The FileReader error property returns the error that occurred while reading the file. | ||
1463 | FileReader() | API, Constructor, FileReader, Reference |
The FileReader() constructor creates a new FileReader. | ||
1464 | FileReader: load event | API, Event, FileReader, Web, load |
The load event is fired when a file has been read successfully. | ||
1465 | FileReader: loadend event | API, Event, FileReader, ProgressiveEvent, Web, loadend |
The loadend event is fired when a file read has completed, successfully or not. | ||
1466 | FileReader: loadstart event | API, Event, FileReader, ProgressEvent, Web, loadstart |
The loadstart event is fired when a file read operation has begun. | ||
1467 | 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. | ||
1468 | 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 | ||
1469 | 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. | ||
1470 | FileReader: progress event | API, Event, FileReader, ProgressEvent, Reference, Web, progress |
The progress event is fired periodically as the FileReader reads data. | ||
1471 | 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. | ||
1472 | 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. | ||
1473 | 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. | ||
1474 | 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 loadend event is triggered, and the FileReader.result property contains the contents of the file as a text string. | ||
1475 | 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: | ||
1476 | 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. | ||
1477 | FileReaderSync | API, NeedsMarkupWork |
The FileReaderSync interface allows to read File or Blob objects synchronously. | ||
1478 | FileReaderSync.readAsArrayBuffer() | |
The readAsArrayBuffer() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an ArrayBuffer . This interface is only available in workers as it enables synchronous I/O that could potentially block. | ||
1479 | FileReaderSync.readAsBinaryString() | |
The readAsBinaryString() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an DOMString . This interface is only available in workers as it enables synchronous I/O that could potentially block. | ||
1480 | 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. | ||
1481 | 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. | ||
1482 | FileRequest | API, DOM, Files, Interface, Non-standard, Reference, Référence(2) |
The FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile objects. | ||
1483 | FileRequest.lockedFile | API, DOM, Files, Non Standard, Property, Reference, WebAPI |
The lockedFile property represents the LockedFile object from which the request was started. | ||
1484 | 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. | ||
1485 | 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. | ||
1486 | 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. | ||
1487 | 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. | ||
1488 | 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. | ||
1489 | 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. | ||
1490 | 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. | ||
1491 | 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. | ||
1492 | FileSystemDirectoryEntry.removeRecursively() | API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Obsolete, Reference, removeRecursively |
The FileSystemDirectoryEntry interface's method removeRecursively () removes the directory as well as all of its content, hierarchically iterating over its entire subtree of descendant files and directories. | ||
1493 | 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. | ||
1494 | 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). | ||
1495 | 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. | ||
1496 | 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. | ||
1497 | 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 . | ||
1498 | 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. | ||
1499 | 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. | ||
1500 | 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. | ||
1501 | FileSystemDirectoryReader | API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Non-standard, Offline, Reference |
The FileSystemDirectoryReader interface of the File and Directory Entries API lets you access the FileEntry -based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry ) representing each entry in a directory. | ||
1502 | FileSystemDirectoryReader.readEntries() | API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Method, Non-standard, Reference, readEntries |
The FileSystemDirectoryReader interface's readEntries() method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function. | ||
1503 | 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 DirectoryEntry interface). It includes methods for working with files—including copying, moving, removing, and reading files—as well as information about a file it points to—including the file name and its path from the root to the entry. | ||
1504 | FileSystemEntry.copyTo() | API, File System API, File and Directory Entries APIs, FileSystemEntry, Files, Method, Non-standard, Reference, copyTo |
The FileSystemEntry interface's method copyTo () copies the file specified by the entry to a new location on the file system. | ||
1505 | 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. | ||
1506 | 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. | ||
1507 | FileSystemEntry.getMetadata() | API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, getMetadata |
The FileSystemEntry interface's method getMetadata () obtains a Metadata object with information about the file system entry, such as its modification date and time and its size. | ||
1508 | 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 . | ||
1509 | 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. | ||
1510 | 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. | ||
1511 | FileSystemEntry.moveTo() | API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, moveTo |
The FileSystemEntry interface's method moveTo () moves the file specified by the entry to a new location on the file system, or renames the file if the destination directory is the same as the source. | ||
1512 | 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). | ||
1513 | FileSystemEntry.remove() | API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, delete, remove |
The FileSystemEntry interface's method remove () deletes the file or directory from the file system. Directories must be empty before they can be removed. | ||
1514 | 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. | ||
1515 | FileSystemEntrySync | API, EntrySync, File API, File System API, File and Directory Entries API, FileSystemEntrySync, Interface, Non-standard, Offline, Reference, filesystem |
The FileSystemEntrySync interface of the File and Directory Entries API represents an entry in a file system; it can be either a FileEntrySync or DirectoryEntry . | ||
1516 | 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. | ||
1517 | FileSystemFileEntry.createWriter() | API, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Obsolete, Reference, createWriter |
The FileSystemFileEntry interface's method createWriter() returns a FileWriter object which can be used to write data into the file represented by the directory entry. | ||
1518 | 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. | ||
1519 | 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. | ||
1520 | 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. | ||
1521 | 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. | ||
1522 | 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: | ||
1523 | FileSystemFlags.create | API, Create, File System API, File and Directory Entries API, FileSystemFlags, Files, Flile System API, Non-standard, Offline, Property, Reference |
The create property on the FileSystemFlags dictionary is used to indicate whether or not the file should be created if it's missing. FileSystemFlags is only used when calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory() . | ||
1524 | 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() . | ||
1525 | 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 an entry. Multiple handles can represent the same entry. For the most part you do not work with FileSystemEntry directly but rather it's child interfaces FileSystemFileEntry and FileSystemDirectoryEntry | ||
1526 | 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. | ||
1527 | 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. | ||
1528 | 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. | ||
1529 | 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. | ||
1530 | 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. | ||
1531 | 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. | ||
1532 | 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. | ||
1533 | 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. | ||
1534 | 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. | ||
1535 | 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. | ||
1536 | 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 . | ||
1537 | 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. | ||
1538 | FocusEvent.relatedTarget | API, Event, Experimental, FocusEvent, Property, Reference |
The FocusEvent.relatedTarget read-only property is the secondary target, depending on the type of event: | ||
1539 | 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. | ||
1540 | 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. | ||
1541 | 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 . | ||
1542 | 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. | ||
1543 | FontFace.FontFace() | API, CSS Font Loading API, CSSOM, Constructor, FontFace, Fonts, Reference |
The FontFace() constructor creates a new FontFace object. | ||
1544 | 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. | ||
1545 | 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 . | ||
1546 | 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" . | ||
1547 | 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. | ||
1548 | 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. | ||
1549 | 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. | ||
1550 | 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. | ||
1551 | 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. | ||
1552 | 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. | ||
1553 | FontFaceSet.check() | API, CSS Font Loading API, CSSOM, Experimental, FontFaceSet, Method, Reference |
A Boolean that is true if the font list is available | ||
1554 | FontFaceSet.load() | API, CSS Font Loading API, CSSOM, Experimental, FontFaceSet, Method, Reference |
A Promise of an Array of FontFace loaded. The promise is fulfilled when all the fonts are loaded; it is rejected if one of the fonts failed to load. | ||
1555 | 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 . | ||
1556 | 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. | ||
1557 | 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. | ||
1558 | FontFaceSetLoadEvent.FontFaceSetLoadEvent() | API, CSSFontLoading, CSSOM, Constructor, Experimental, FontFaceLoadEvent, Fonts, Reference |
The FontFaceSetLoadEvent constructor creates a new FontFaceLoadEvent object which is fired whenever a FontFaceSet loads. | ||
1559 | Force Touch events | Advanced, DOM, Event, Mobile, NeedsBrowserCompatibility, NeedsCompatTable, NeedsMobileBrowserCompatibility, Reference |
Force Touch events | ||
1560 | 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" . | ||
1561 | 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. | ||
1562 | 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. | ||
1563 | 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 . | ||
1564 | FormData() | API, Constructor, FormData, Reference, XHR, XMLHttpRequest |
The FormData() constructor creates a new FormData object. | ||
1565 | 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. | ||
1566 | 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. | ||
1567 | 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. | ||
1568 | 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. | ||
1569 | 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. | ||
1570 | 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 . | ||
1571 | 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. | ||
1572 | FormDataEntryValue | FormDataEntryValue |
A string or that represents a single value from a set of key-value pairs. | ||
1573 | 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. | ||
1574 | 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. | ||
1575 | FormDataEvent() | API, Constructor, Experimental, FormDataEvent, Forms, Reference |
The FormDataEvent() constructor creates a new FormDataEvent object instance. | ||
1576 | 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. | ||
1577 | 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. | ||
1578 | 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. | ||
1579 | 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. | ||
1580 | FullscreenOptions | API, Configuration, Dictionary, Full-screen, Fullscreen API, FullscreenOptions, Navigation, Options, Reference, Settings, UI, fullscreen, screen |
The FullscreenOptions dictionary is used to provide configuration options when calling Element.requestFullscreen on an element to place that element into full-screen mode. | ||
1581 | FullscreenOptions.navigationUI | API, Configuration, Full-screen, Fullscreen API, FullscreenOptions, Option, Property, Reference, Setting, fullscreen, navigationUI, screen |
The FullscreenOptions dictionary's navigationUI property is used when calling Element.requestFullscreen to specify to what extent the user agent should include its standard user interface while the element is presented in full-screen mode. | ||
1582 | 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. | ||
1583 | 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. | ||
1584 | 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. | ||
1585 | 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. | ||
1586 | 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. | ||
1587 | 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. | ||
1588 | Gamepad.axes | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.axes property of the Gamepad interface returns an array representing the controls with axes present on the device (e.g. analog thumb sticks). | ||
1589 | Gamepad.buttons | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.buttons property of the Gamepad interface returns an array of gamepadButton objects representing the buttons present on the device. | ||
1590 | Gamepad.connected | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.connected property of the Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system. | ||
1591 | Gamepad.displayId | API, Experimental, Gamepad, Property, Reference, VR, Virtual Reality, WebVR, displayId |
WebVR API | ||
1592 | 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. | ||
1593 | 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. | ||
1594 | Gamepad.id | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.id property of the Gamepad interface returns a string containing some information about the controller. | ||
1595 | Gamepad.index | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.index property of the Gamepad interface returns an integer that is auto-incremented to be unique for each device currently connected to the system. | ||
1596 | Gamepad.mapping | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.mapping property of the Gamepad interface returns a string indicating whether the browser has remapped the controls on the device to a known layout. | ||
1597 | 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). | ||
1598 | Gamepad.timestamp | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The Gamepad.timestamp property of the Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated. | ||
1599 | GamepadButton | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Reference, Référence(2) |
The GamepadButton interface defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. | ||
1600 | GamepadButton.pressed | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The GamepadButton.pressed property of the GamepadButton interface returns a boolean indicating whether the button is currently pressed (true ) or unpressed (false ). | ||
1601 | GamepadButton.value | API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2) |
The GamepadButton.value property of the GamepadButton interface returns a double value used to represent the current state of analog buttons on many modern gamepads, such as the triggers. | ||
1602 | 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. | ||
1603 | GamepadEvent.gamepad | API, Gamepad API, Property, Reference, Référence(2) |
The GamepadEvent.gamepad property of the GamepadEvent interface returns a Gamepad object, providing access to the associated gamepad data for fired gamepadconnected and gamepaddisconnected events. | ||
1604 | GamepadEvent() | API, Constructor, Gamepad API, Games, Reference |
The GamepadEvent() constructor creates a new GamepadEvent object. | ||
1605 | 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. | ||
1606 | 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. | ||
1607 | 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. | ||
1608 | 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.) | ||
1609 | 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. | ||
1610 | 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. | ||
1611 | 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. | ||
1612 | 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. | ||
1613 | 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. | ||
1614 | 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. | ||
1615 | 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. | ||
1616 | 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. | ||
1617 | 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. | ||
1618 | 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. | ||
1619 | 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. | ||
1620 | 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() . | ||
1621 | 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. | ||
1622 | 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. | ||
1623 | 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. | ||
1624 | 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. | ||
1625 | 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. | ||
1626 | 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. | ||
1627 | 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 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 . | ||
1628 | 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. | ||
1629 | 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. | ||
1630 | 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. | ||
1631 | 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. | ||
1632 | 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. | ||
1633 | 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. | ||
1634 | GeolocationPositionError | API, Geolocation API, GeolocationPositionError, Interface, Secure context |
The GeolocationPositionError interface represents the reason of an error occurring when using the geolocating device. | ||
1635 | GeolocationPositionError.code | API, Code, Geolocation API, GeolocationPositionError, Property, Secure context |
The GeolocationPositionError.code read-only property is an unsigned short representing the error code. | ||
1636 | 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. | ||
1637 | GeometryUtils | API, CSSOM View, Experimental, Interface |
The GeometryUtils interface provides different utility function to retrieve geometry information about DOM nodes. | ||
1638 | 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 . | ||
1639 | getCandidateWindowClientRect | |
No summary! | ||
1640 | GlobalEventHandlers | API, GlobalEventHandlers, HTML DOM, Mixin, Reference, events |
The GlobalEventHandlers mixin describes the event handlers common to several interfaces like HTMLElement , Document , or Window . | ||
1641 | GlobalEventHandlers.onloadstart | |
The onloadstart property sets and returns the event handler for the loadstart event. | ||
1642 | GlobalEventHandlers.onabort | API, Event Handler, Experimental, GlobalEventHandlers, NeedsContent, NeedsHelp, NeedsUpdate, Property, Reference, Window |
The onabort property of the GlobalEventHandlers mixin is the EventHandler for processing abort events sent to the window. | ||
1643 | 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 EventHandler for processing animationcancel events. | ||
1644 | 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 EventHandler for processing animationend events. | ||
1645 | 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 EventHandler for processing animationiteration events. | ||
1646 | 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. | ||
1647 | GlobalEventHandlers.onauxclick | API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, auxclick |
The onauxclick property of the GlobalEventHandlers mixin is an EventHandler for processing auxclick events. | ||
1648 | GlobalEventHandlers.onblur | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onblur property of the GlobalEventHandlers mixin is the EventHandler for processing blur events. It's available on Element , Document , and Window . | ||
1649 | GlobalEventHandlers.oncancel | API, Dialog, Event Handler, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference |
The oncancel property of the GlobalEventHandlers mixin is an EventHandler for processing cancel events sent to a dialog element. | ||
1650 | GlobalEventHandlers.oncanplay | API, Event Handler, GlobalEventHandlers, Property, Reference |
The oncanplay property of the GlobalEventHandlers mixin is the EventHandler for processing canplay events. | ||
1651 | GlobalEventHandlers.oncanplaythrough | API, Event Handler, GlobalEventHandlers, Property, Reference |
The oncanplaythrough property of the GlobalEventHandlers mixin is the EventHandler for processing canplaythrough events. | ||
1652 | GlobalEventHandlers.onchange | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onchange property of the GlobalEventHandlers mixin is an EventHandler for processing change events. | ||
1653 | GlobalEventHandlers.onclick | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onclick property of the GlobalEventHandlers mixin is the EventHandler for processing Element/click_event events on a given element. | ||
1654 | GlobalEventHandlers.onclose | API, Dialog, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference |
The onclose property of the GlobalEventHandlers mixin is an EventHandler for processing close events sent to a dialog element. | ||
1655 | GlobalEventHandlers.oncontextmenu | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The oncontextmenu property of the GlobalEventHandlers mixin is an EventHandler that processes contextmenu events. | ||
1656 | GlobalEventHandlers.oncuechange | API, Event Handler, GlobalEventHandlers, Property, Reference, TextTrack, WebVTT, text track, track, vtt |
The oncuechange property of the GlobalEventHandlers mixin is the EventHandler for processing cuechange events. | ||
1657 | GlobalEventHandlers.ondblclick | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The ondblclick property of the GlobalEventHandlers mixin is an EventHandler that processes dblclick events on the given element. | ||
1658 | GlobalEventHandlers.ondrag | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the drag event. | ||
1659 | GlobalEventHandlers.ondragend | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the dragend event. | ||
1660 | GlobalEventHandlers.ondragenter | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the dragenter event. | ||
1661 | GlobalEventHandlers.ondragleave | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the dragleave event. | ||
1662 | GlobalEventHandlers.ondragover | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the dragover event. | ||
1663 | GlobalEventHandlers.ondragstart | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the dragstart event. | ||
1664 | GlobalEventHandlers.ondrop | API, HTML DOM, Reference, drag and drop |
A GlobalEventHandlers for the drop event. | ||
1665 | GlobalEventHandlers.ondurationchange | API, Event Handler, GlobalEventHandlers, Property, Reference |
The ondurationchange property of the GlobalEventHandlers mixin is the EventHandler for processing durationchange events. | ||
1666 | GlobalEventHandlers.onemptied | |
The onemptied property sets and returns the event handler for the emptied event. | ||
1667 | GlobalEventHandlers.onended | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onended property of the GlobalEventHandlers mixin is the EventHandler for processing ended events. | ||
1668 | GlobalEventHandlers.onerror | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events. | ||
1669 | GlobalEventHandlers.onfocus | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onfocus property of the GlobalEventHandlers mixin is an EventHandler that processes focus events on the given element. | ||
1670 | GlobalEventHandlers.onformdata | API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference |
The onformdata property of the GlobalEventHandlers mixin is the EventHandler for processing formdata events, fired after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData.FormData constructor. onformdata is available on HTMLFormElement . | ||
1671 | GlobalEventHandlers.ongotpointercapture | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, ongotpointercapture |
The ongotpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes gotpointercapture events. | ||
1672 | GlobalEventHandlers.oninput | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The oninput property of the GlobalEventHandlers mixin is an EventHandler that processes input events on the input , select , and textarea elements. It also handles these events on elements where HTMLElement.contentEditable or Document.designMode are turned on. | ||
1673 | GlobalEventHandlers.oninvalid | API, Event Handler, GlobalEventHandlers, Property, Reference |
The oninvalid property of the GlobalEventHandlers mixin is an EventHandler that processes invalid events. | ||
1674 | GlobalEventHandlers.onkeydown | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events |
The onkeydown property of the GlobalEventHandlers mixin is an EventHandler that processes keydown events. | ||
1675 | GlobalEventHandlers.onkeypress | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onkeypress property of the GlobalEventHandlers mixin is an EventHandler that processes keypress events. | ||
1676 | GlobalEventHandlers.onkeyup | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onkeyup property of the GlobalEventHandlers mixin is an EventHandler that processes keyup events. | ||
1677 | GlobalEventHandlers.onload | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onload |
The onload property of the GlobalEventHandlers mixin is an EventHandler that processes load events on a Window , XMLHttpRequest , img element, etc. | ||
1678 | GlobalEventHandlers.onloadeddata | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onloadeddata property of the GlobalEventHandlers mixin is the EventHandler for processing loadeddata events. | ||
1679 | GlobalEventHandlers.onloadedmetadata | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onloadedmetadata property of the GlobalEventHandlers mixin is the EventHandler for processing loadedmetadata events. | ||
1680 | GlobalEventHandlers.onloadend | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadend |
The onloadend property of the GlobalEventHandlers mixin is an EventHandler representing the code to be called when the loadend event is raised (when progress has stopped on the loading of a resource.) | ||
1681 | GlobalEventHandlers.onloadstart | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, Web, events, onloadstart |
The onloadstart property of the GlobalEventHandlers mixin is an EventHandler representing the code to be called when the loadstart event is raised (when progress has begun on the loading of a resource.) | ||
1682 | GlobalEventHandlers.onlostpointercapture | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, onlostpointercapture |
The onlostpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes lostpointercapture events. | ||
1683 | GlobalEventHandlers.onmousedown | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onmousedown property of the GlobalEventHandlers mixin is an EventHandler that processes mousedown events. | ||
1684 | GlobalEventHandlers.onmouseenter | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onmouseenter property of the GlobalEventHandlers mixin is the EventHandler for processing mouseenter events. | ||
1685 | GlobalEventHandlers.onmouseleave | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onmouseleave property of the GlobalEventHandlers mixin is the EventHandler for processing mouseleave events. | ||
1686 | GlobalEventHandlers.onmousemove | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onmousemove property of the GlobalEventHandlers mixin is an EventHandler that processes mousemove events. | ||
1687 | GlobalEventHandlers.onmouseout | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onmouseout property of the GlobalEventHandlers mixin is an EventHandler that processes mouseout events. | ||
1688 | GlobalEventHandlers.onmouseover | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onmouseover property of the GlobalEventHandlers mixin is an EventHandler that processes mouseover events. | ||
1689 | GlobalEventHandlers.onmouseup | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onmouseup property of the GlobalEventHandlers mixin is an EventHandler that processes mouseup events. | ||
1690 | GlobalEventHandlers.onmousewheel | |
The onmousewheel property sets and returns the event handler for the mousewheel event. | ||
1691 | GlobalEventHandlers.onpause | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onpause property of the GlobalEventHandlers mixin is the EventHandler for processing pause events. | ||
1692 | GlobalEventHandlers.onplay | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onplay property of the GlobalEventHandlers mixin is the EventHandler for processing play events. | ||
1693 | GlobalEventHandlers.onplaying | API, Event Handler, GlobalEventHandlers, Property, Reference |
The onplaying property of the GlobalEventHandlers mixin is the EventHandler for processing playing events. | ||
1694 | GlobalEventHandlers.onpointercancel | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointercancel property of the GlobalEventHandlers mixin is an EventHandler that processes pointercancel events. | ||
1695 | 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. | ||
1696 | GlobalEventHandlers.onpointerenter | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointerenter property of the GlobalEventHandlers mixin is an EventHandler that processes HTMLElement/pointerenter_event events. | ||
1697 | 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. | ||
1698 | GlobalEventHandlers.onpointermove | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointermove property of the GlobalEventHandlers mixin is an EventHandler that processes pointermove events. | ||
1699 | GlobalEventHandlers.onpointerout | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointerout property of the GlobalEventHandlers mixin is an EventHandler that processes pointerout events. | ||
1700 | GlobalEventHandlers.onpointerover | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointerover property of the GlobalEventHandlers mixin is an EventHandler that processes pointerover events. | ||
1701 | GlobalEventHandlers.onpointerup | API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference |
The onpointerup property of the GlobalEventHandlers mixin is an EventHandler that processes pointerup events. | ||
1702 | GlobalEventHandlers.onreset | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onreset property of the GlobalEventHandlers mixin is an EventHandler that processes reset events. | ||
1703 | GlobalEventHandlers.onresize | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onresize |
The onresize property of the GlobalEventHandlers interface is an EventHandler that processes resize events. | ||
1704 | GlobalEventHandlers.onscroll | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onscroll property of the GlobalEventHandlers mixin is an EventHandler that processes scroll events. | ||
1705 | GlobalEventHandlers.onselect | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onselect property of the GlobalEventHandlers mixin is an EventHandler that processes select events. | ||
1706 | GlobalEventHandlers.onselectionchange | API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectionchange |
The onselectionchange property of the GlobalEventHandlers mixin is an EventHandler that processes selectionchange events. | ||
1707 | GlobalEventHandlers.onselectstart | API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectstart |
The onselectstart property of the GlobalEventHandlers mixin is an EventHandler that processes selectstart events. | ||
1708 | GlobalEventHandlers.onsubmit | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference |
The onsubmit property of the GlobalEventHandlers mixin is an EventHandler that processes submit events. | ||
1709 | GlobalEventHandlers.ontouchcancel | API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference |
The ontouchcancel property of the GlobalEventHandlers mixin is an EventHandler that processes touchcancel events. | ||
1710 | GlobalEventHandlers.ontouchend | API, Experimental, HTML DOM, Reference, TouchEvent |
The ontouchstart is a GlobalEventHandlers for the touchend event. | ||
1711 | GlobalEventHandlers.ontouchmove | API, Experimental, HTML DOM, Reference |
A GlobalEventHandlers for the touchmove event. | ||
1712 | GlobalEventHandlers.ontouchstart | API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference |
The ontouchstart property of the GlobalEventHandlers mixin is an EventHandler that processes touchstart events. | ||
1713 | GlobalEventHandlers.ontransitioncancel | API, CSS Transitions, CSS3 Transitions, Event Handler, GlobalEventHandlers, Property, Reference, ontransitioncancel |
The ontransitioncancel property of the GlobalEventHandlers mixin is an EventHandler that processes transitioncancel events. | ||
1714 | 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 EventHandler that processes transitionend events. | ||
1715 | GlobalEventHandlers.onwheel | API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onwheel |
The onwheel property of the GlobalEventHandlers mixin is an EventHandler that processes wheel events. | ||
1716 | Gyroscope | API, Generic Sensor API, Gyroscope, Gyroscope API, Interface, Reference, Sensor, Sensor APIs, Sensors |
The Gyroscope interface of the Sensor APIs provides on each reading the angular velocity of the device along all three axes. | ||
1717 | Gyroscope.Gyroscope() | API, Constructor, Generic Sensor API, Gyroscope, Reference, Sensor, Sensor APIs, Sensors |
The Gyroscope constructor creates a new Gyroscope object which provides on each reading the angular velocity of the device along all three axes. | ||
1718 | Gyroscope.x | API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, x |
The x read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its x axis. | ||
1719 | Gyroscope.y | API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, y |
The y read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its y axis. | ||
1720 | Gyroscope.z | API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, z |
The z read-only property of the Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its z axis. | ||
1721 | HashChangeEvent | API, Event, HTML5, HashChange, Interface, Reference, events |
The HashChangeEvent interface represents events that fire when the fragment identifier of the URL has changed. | ||
1722 | HashChangeEvent.oldURL | NeedsDeletion |
This article is obsolete and should be deleted. | ||
1723 | HashChangeEvent.newURL | API, HashChangeEvent, Property, Reference, Web API |
The newURL read-only property of the HashChangeEvent interface returns the new URL to which the window is navigating. | ||
1724 | HashChangeEvent.oldURL | API, HashChangeEvent, Property, Reference, Web API |
The oldURL read-only property of the HashChangeEvent interface returns the previous URL from which the window was navigated. | ||
1725 | Headers | API, Experimental, Fetch, Fetch API, Headers, Interface, Reference |
The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing headers from the list of the request's headers. | ||
1726 | Headers.append() | API, Append, Experimental, Fetch, Method, Reference |
The append() method of the Headers interface appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist. | ||
1727 | Headers.delete() | API, Experimental, Fetch, Method, Reference, delete |
The delete() method of the Headers interface deletes a header from the current Headers object. | ||
1728 | Headers.entries() | API, Experimental, Fetch API, Headers, Method, Reference |
The Headers.entries() method returns an Iteration_protocols allowing to go through all key/value pairs contained in this object. The both the key and value of each pairs are ByteString objects. | ||
1729 | Headers.get() | API, Experimental, Fetch, Headers, Method, Reference, get |
The get() method of the Headers interface returns a byte string of all the values of a header within a Headers object with a given name. If the requested header doesn't exist in the Headers object, it returns null . | ||
1730 | Headers.getAll() | API, Experimental, Fetch, Headers, Method, Obsolete, Reference, getAll |
The getAll() method of the Headers interface used to return an array of all the values of a header within a Headers object with a given name; in newer versions of the Fetch spec, it has been deleted, and Headers.get() has been updated to fetch all header values instead of only the first one. | ||
1731 | Headers.has() | API, Experimental, Fetch, Method, Reference, has |
The has() method of the Headers interface returns a boolean stating whether a Headers object contains a certain header. | ||
1732 | Headers() | API, Constructor, Experimental, Fetch, Reference |
The Headers() constructor creates a new Headers object. | ||
1733 | Headers.keys() | API, Experimental, Fetch API, Headers, Method, Reference |
The Headers.keys() method returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are ByteString objects. | ||
1734 | Headers.set() | API, Experimental, Fetch, Method, Reference, set |
The set() method of the Headers interface sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist. | ||
1735 | Headers.values() | API, Experimental, Fetch API, Headers, Method, Reference |
The Headers.values() method returns an Iteration_protocols allowing to go through all values contained in this object. The values are ByteString objects. | ||
1736 | History API | API, Advanced, HTML DOM, History, History API |
The DOM Window object provides access to the browser's session history (not to be confused for WebExtensions history) through the Window.history object. It exposes useful methods and properties that let you navigate back and forth through the user's history, and manipulate the contents of the history stack. | ||
1737 | Ajax navigation example | |
This is an example of an AJAX website composed only of three pages (first_page.php, second_page.php and third_page.php). To see how it works, please create the following files (or git clone https://github.com/giabao/mdn-ajax-nav-example.git ): | ||
1738 | Working with the History API | Advanced, DOM, History API, History API Tutorial |
HTML5 introduced the History.pushState and History.replaceState methods for add and modifying history entries, respectively. These methods work in conjunction with the Window.onpopstate event. | ||
1739 | History | API, HTML DOM, History API, Interface, Web |
The History interface allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in. | ||
1740 | History.back() | API, HTML DOM, History, History API, Method, Reference, Web |
The History.back() method causes the browser to move back one page in the session history. | ||
1741 | History.forward() | API, HTML DOM, History, History API, Method, Reference |
The History.forward() method causes the browser to move forward one page in the session history. It has the same effect as calling History.go . | ||
1742 | History.go() | API, HTML DOM, History, History API, Method, Reference |
The History.go() method loads a specific page from the session history. You can use it to move forwards and backwards through the history depending on the value of a parameter. | ||
1743 | History.length | API, HTML DOM, History, History API, Property, Read-only, Reference |
The History.length read-only property returns an integer representing the number of elements in the session history, including the currently loaded page. | ||
1744 | History.pushState() | API, HTML DOM, History, History API, Location, Method, Reference, Session, URL, Web, pushState |
In an HTML document, the history.pushState() method adds an entry to the browser's session history stack. | ||
1745 | History.replaceState() | API, HTML DOM, History, History API, Method, Reference |
The History.replaceState() method modifies the current history entry, replacing it with the stateObj , title , and URL passed in the method parameters. This method is particularly useful when you want to update the state object or URL of the current history entry in response to some user action. | ||
1746 | History.scrollRestoration | API, HTML DOM, History, History API, Property, Reference |
The scrollRestoration property of History interface allows web applications to explicitly set default scroll restoration behavior on history navigation. | ||
1747 | History.state | API, HTML DOM, History, History API, Property, Reference |
The History.state property returns a value representing the state at the top of the history stack. | ||
1748 | HkdfParams | API, Dictionary, HkdfParams, Reference, Web Crypto API |
The HkdfParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey() , when using the HKDF algorithm. | ||
1749 | HmacImportParams | API, Dictionary, HmacImportParams, Reference, Web Crypto API |
The HmacImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey() , when generating a key for the HMAC algorithm. | ||
1750 | HmacKeyGenParams | API, Dictionary, HmacKeyGenParams, Reference, Web Crypto API |
The HmacKeyGenParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey() , when generating a key for the HMAC algorithm. | ||
1751 | HMDVRDevice | API, Experimental, Expérimental(2), HMDVRDevice, Interface, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR |
The HMDVRDevice interface of the WebVR API represents a head mounted display, providing access to information about each eye, and allowing us to modify the current field of view. | ||
1752 | HMDVRDevice.getEyeParameters() | API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR |
The getEyeParameters() method of the HMDVRDevice interface returns current parameters for the eye specified as its argument ("left" or "right") — stored in a VREyeParameters object. | ||
1753 | HMDVRDevice.setFieldOfView() | API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR |
The setFieldOfView() method of the HMDVRDevice interface can be used to set the field of view for one eye, or both eyes simultaneously. | ||
1754 | The HTML DOM API | API, Beginner, DOM, Documents, Elements, HTML DOM, HTML DOM API, Nodes, Overview, Web, Windows, hierarchy |
HTML DOM | ||
1755 | Using microtasks in JavaScript with queueMicrotask() | API, Batch, Guide, HTML DOM, JavaScript, Microtask, Queue, Reference, ServiceWorker, SharedWorker, Window, Worker, asynchronous, queueMicrotask |
A microtask is a short function which is executed after the function or program which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used by the user agent to drive the script's execution environment. | ||
1756 | In depth: Microtasks and the JavaScript runtime environment | API, Advanced, Guide, JavaScript, Microtasks, asynchronous, queueMicrotask, runtime |
This page is very much a work in progress; it contains technical details that may be useful while considering using—and while using—microtasks, but it is not absolutely necessary for most people to know. Additionally, there may be errors here as this draft is just that rough. ~~Sheppy | ||
1757 | HTML Drag and Drop API | Advanced, Guide, HTML5, Overview, XUL, drag and drop, events |
HTML Drag and Drop interfaces enable applications to use drag-and-drop features in browsers. | ||
1758 | Drag Operations | Advanced, Guide, HTML, HTML5, drag and drop |
HTML Drag and Drop API | ||
1759 | File drag and drop | Guide, drag and drop, drop zone |
HTML Drag and Drop API | ||
1760 | Dragging and Dropping Multiple Items | Gecko, Guide, Non-standard, drag and drop |
HTML Drag and Drop API | ||
1761 | Recommended Drag Types | Guide, drag and drop |
HTML Drag and Drop API | ||
1762 | HTML Sanitizer API | HTML Sanitizer API, Landing, Web API, santitize |
The HTML Sanitizer API allow developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM. | ||
1763 | HTMLAnchorElement | API, HTML DOM, Interface, Reference |
The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to <a> element; not to be confused with <link> , which is represented by HTMLLinkElement ) | ||
1764 | HTMLAnchorElement.download | API, HTML DOM, HTMLAnchorElement, Property, Reference, download |
The HTMLAnchorElement.download property is a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value, if any, specifies the default file name for use in labeling the resource in a local file system. If the name is not a valid file name in the underlying OS, the browser will adjust it. | ||
1765 | HTMLAnchorElement.referrerPolicy | API, Experimental, HTMLAnchorElement, Property, Reference, Referrer Policy |
The HTMLAnchorElement .referrerPolicy property reflect the HTML referrerpolicy attribute of the a element defining which referrer is sent when fetching the resource. | ||
1766 | HTMLAnchorElement.rel | API, HTML DOM, HTMLAnchorElement, Property, Reference |
The HTMLAnchorElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the a element and the current document. | ||
1767 | HTMLAnchorElement.relList | API, HTML DOM, HTMLAnchorElement, Property, Reference, relList |
The HTMLAnchorElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the a element and the current document. | ||
1768 | HTMLAreaElement | API, HTML DOM, Interface, Reference |
The HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements. | ||
1769 | HTMLAreaElement.referrerPolicy | API, Experimental, HTMLAreaElement, Property, Reference, Referrer Policy |
The HTMLAreaElement .referrerPolicy property reflect the HTML referrerpolicy attribute of the area element defining which referrer is sent when fetching the resource. | ||
1770 | HTMLAreaElement.rel | API, HTML DOM, HTMLAreaElement, Property, Reference |
The HTMLAreaElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the area element and the current document. | ||
1771 | HTMLAreaElement.relList | API, HTML DOM, HTMLAreaElement, Property, Reference |
The HTMLAreaElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the area element and the current document. | ||
1772 | HTMLAudioElement | API, Audio, HTML, HTML DOM, HTMLAudioElement, Interface, Media, Reference, sound |
The HTMLAudioElement interface provides access to the properties of audio elements, as well as methods to manipulate them. | ||
1773 | Audio() | API, Audio, Constructor, DOM, HTML, HTML DOM, HTMLAudioElement, Reference, sound |
The Audio() constructor creates and returns a new HTMLAudioElement which can be either attached to a document for the user to interact with and/or listen to, or can be used offscreen to manage and play audio. | ||
1774 | msAudioCategory | |
The msAudioCategory property of the HTML <audio> element, is a read/write proprietary attribute, specific to Internet Explorer and Microsoft Edge. | ||
1775 | msAudioDeviceType | msAudioDeviceType |
The msAudioDeviceType property of the HTML <audio> element, is a read/write proprietary attribute, specific to Internet Explorer and Microsoft Edge. | ||
1776 | HTMLBaseElement | API, HTML DOM, Interface, Reference |
The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. | ||
1777 | HTMLBaseFontElement | API, HTML DOM, Interface, Obsolete, Reference |
The HTMLBaseFontElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating basefont elements. | ||
1778 | HTMLBodyElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLBodyElement interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating body elements. | ||
1779 | HTMLBRElement | API, HTML DOM, Interface, Reference |
The HTMLBRElement interface represents a HTML line break element (br ). It inherits from HTMLElement . | ||
1780 | HTMLButtonElement | API, HTML DOM, HTMLButtonElement, Interface, Reference |
The HTMLButtonElement interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating button elements. | ||
1781 | disabled | |
Is a Boolean indicating whether or not the control is disabled, meaning that it does not accept any clicks. | ||
1782 | HTMLButtonElement.labels | API, HTML DOM, Property, Reference |
The HTMLButtonElement.labels read-only property returns a NodeList of the label elements associated with the button element. | ||
1783 | HTMLCanvasElement | API, Canvas, HTML DOM, Interface, Reference |
The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. | ||
1784 | HTMLCanvasElement.captureStream() | Canvas, Experimental, Frame Capture, HTMLCanvasElement, Interface, Media, Media Capture DOM Elements, Method, Reference, Web, captureStream |
The HTMLCanvasElement captureStream() method returns a MediaStream which includes a CanvasCaptureMediaStreamTrack containing a real-time video capture of the canvas's contents. | ||
1785 | HTMLCanvasElement.getContext() | API, Canvas, HTMLCanvasElement, Method, Reference |
The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported, or the canvas has already been set to a different context mode. | ||
1786 | HTMLCanvasElement.height | API, Canvas, HTMLCanvasElement, Property |
The HTMLCanvasElement.height property is a positive integer reflecting the height HTML attribute of the canvas element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 150 is used. | ||
1787 | HTMLCanvasElement.mozFetchAsStream() | API, Canvas, HTMLCanvasElement, Method, Obsolete, Reference |
The HTMLCanvasElement.mozFetchAsStream() internal method used to create a new input stream that, when ready, would provide the contents of the canvas as image data. However, this non-standard and internal method has been removed. | ||
1788 | HTMLCanvasElement.mozGetAsFile() | API, Canvas, Firefox, HTMLCanvasElement, Method, Mozilla, Non-standard, Obsolete, Reference, mozGetAsFile |
The non-standard, Firefox-specific the HTMLCanvasElement method HTMLCanvasElement.mozGetAsFile returns a memory-based File object representing the image contained in the canvas. | ||
1789 | HTMLCanvasElement.mozOpaque | API, Canvas, Deprecated, HTMLCanvasElement, Non-standard, Property, Reference |
The non-standard HTMLCanvasElement.mozOpaque property is a Boolean reflecting the moz-opaque HTML attribute of the canvas element. It lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. | ||
1790 | HTMLCanvasElement.toBlob() | API, Canvas, HTMLCanvasElement, Method, Reference |
The HTMLCanvasElement.toBlob() method creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent. If type is not specified, the image type is image/png . The created image is in a resolution of 96dpi. | ||
1791 | HTMLCanvasElement.toDataURL() | API, Canvas, HTMLCanvasElement, Method, Reference |
The HTMLCanvasElement.toDataURL() method returns a data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG). The returned image is in a resolution of 96 dpi. | ||
1792 | HTMLCanvasElement.transferControlToOffscreen() | API, Experimental, HTMLCanvasElement, Method, OffscreenCanvas, Reference |
The HTMLCanvasElement .transferControlToOffscreen() method transfers control to an OffscreenCanvas object, either on the main thread or on a worker. | ||
1793 | HTMLCanvasElement: webglcontextcreationerror event | WebGL |
The webglcontextcreationerror event of the WebGL API is fired if the user agent is unable to create a WebGLRenderingContext context. | ||
1794 | HTMLCanvasElement: webglcontextlost event | Event, Reference, WebGL |
The webglcontextlost event of the WebGL API is fired if the user agent detects that the drawing buffer associated with a WebGLRenderingContext object has been lost. | ||
1795 | HTMLCanvasElement: webglcontextrestored event | WebGL |
The webglcontextrestored event of the WebGL API is fired if the user agent restores the drawing buffer for a WebGLRenderingContext object. | ||
1796 | HTMLCanvasElement.width | API, Canvas, HTMLCanvasElement, Property |
The HTMLCanvasElement.width property is a positive integer reflecting the width HTML attribute of the canvas element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 300 is used. | ||
1797 | HTMLCollection | API, DOM, Element Lists, HTMLCollection, Interface, Reference |
The HTMLCollection interface represents a generic collection (array-like object similar to Functions/arguments ) of elements (in document order) and offers methods and properties for selecting from the list. | ||
1798 | HTMLCollection.length | |
The HTMLCollection.length property returns the number of items in a HTMLCollection . | ||
1799 | HTMLCollection.item | API, HTML DOM, HTMLCollection, Method, Reference, item |
The HTMLCollection method item() returns the node located at the specified offset into the collection. | ||
1800 | HTMLContentElement | API, Deprecated, HTML DOM, Interface, Reference, Référence(2) |
The HTMLContentElement interface represents a content HTML Element, which is used in Shadow DOM. | ||
1801 | HTMLContentElement.getDistributedNodes() | API, HTML DOM, Property, Reference, Référence(2), Web Components |
The HTMLContentElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <content> element. | ||
1802 | HTMLContentElement.select | API, HTML DOM, Property, Reference, Référence(2), Web Components |
The HTMLContentElement.select property reflects the select attribute. It is a DOMString containing a space-separated list of CSS selectors that select the content to insert in place of the <content> element. | ||
1803 | HTMLDataElement | API, HTML DOM, HTMLDataElement, Interface, Reference, data |
The HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating data elements. | ||
1804 | HTMLDataElement.value | API, HTML DOM, HTMLDataElement, Property, Reference, data, value |
The value property of the HTMLDataElement interface returns a DOMString reflecting the value HTML attribute. | ||
1805 | HTMLDataListElement | API, HTML DOM, Interface, Reference |
The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate datalist elements and their content. | ||
1806 | HTMLDetailsElement | API, HTML, HTML DOM, HTMLDetailsElement, Interface, Reference |
The HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating details elements. | ||
1807 | HTMLDetailsElement: toggle event | Event, HTMLDetailsElement, Reference, details, toggle |
The toggle event fires when the open /closed state of a details element is toggled. | ||
1808 | HTMLDialogElement | API, Experimental, HTML DOM, HTMLDialogElement, Interface, Reference |
The HTMLDialogElement interface provides methods to manipulate dialog elements. It inherits properties and methods from the HTMLElement interface. | ||
1809 | HTMLDialogElement: cancel event | API, Event, HTML DOM, HTMLDialogElement, NeedsExample, cancel |
The cancel event fires on a dialog when the user instructs the browser that they wish to dismiss the current open dialog. For example, the browser might fire this event when the user presses the Esc key or clicks a "Close dialog" button which is part of the browser's UI. | ||
1810 | HTMLDialogElement: close event | API, Event, Experimental, HTML DOM, HTMLDialogElement, Reference, close |
The close event is fired on an HTMLDialogElement object when the dialog it represents has been closed. | ||
1811 | HTMLDialogElement.close() | API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, close |
Void. | ||
1812 | HTMLDialogElement.open | API, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, open |
The open property of the HTMLDialogElement interface is a Boolean reflecting the open HTML attribute, indicating whether the dialog is available for interaction. | ||
1813 | HTMLDialogElement.returnValue | API, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, returnValue |
The returnValue property of the HTMLDialogElement interface gets or sets the return value for the <dialog> , usually to indicate which button the user pressed to close it. | ||
1814 | HTMLDialogElement.show() | API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, show |
The show() method of the HTMLDialogElement interface displays the dialog modelessly, i.e. still allowing interaction with content outside of the dialog. | ||
1815 | HTMLDialogElement.showModal() | API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, showModal |
The showModal() method of the HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present. It displays into the top layer, along with a ::backdrop pseudo-element. Interaction outside the dialog is blocked and the content outside it is rendered inert. | ||
1816 | HTMLDivElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements. | ||
1817 | HTMLDListElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (dl ) elements. | ||
1818 | HTMLDocument | API, Document, HTML, HTML DOM, HTMLDocument, Interface, Reference |
The HTMLDocument interface, which may be accessed through the Window.HTMLDocument property, extends the Window.HTMLDocument property to include methods and properties that are specific to HTML documents. | ||
1819 | HTMLElement | API, HTML DOM, HTMLElement, Interface, NeedsNewLayout, Reference |
The HTMLElement interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. | ||
1820 | HTMLElement.accessKey | |
The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element. | ||
1821 | accessKeyLabel | |
The HTMLElement.accessKeyLabel read-only property returns a String containing the element's browser-assigned access key (if any); otherwise it returns an empty string. | ||
1822 | HTMLElement: animationcancel event | API, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference, animationcancel |
The animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an HTMLElement/animationend_event event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden. | ||
1823 | HTMLElement: animationend event | API, Animation, AnimationEvent, CSS Animations, CSS3 Animations, Event, HTMLElement, Reference, animationend |
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired. | ||
1824 | HTMLElement: animationiteration event | API, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference |
The animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the HTMLElement/animationend_event event, and therefore does not occur for animations with an animation-iteration-count of one. | ||
1825 | HTMLElement: animationstart event | API, Animation, AnimationEvent, CSS Animations, Event, HTMLElement, Reference |
The animationstart event is fired when a CSS Animation has started. If there is an animation-delay , this event will fire once the delay period has expired. A negative delay will cause the event to fire with an AnimationEvent/elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence). | ||
1826 | HTMLElement: beforeinput event | API, Event, HTML DOM, HTMLElement, InputEvent, Reference, beforeinput |
The DOM beforeinput event fires when the value of an input , select , or textarea element is about to be modified. The event also applies to elements with HTMLElement.contentEditable enabled, and to any element when Document.designMode is turned on. | ||
1827 | HTMLElement: change event | Change, Event, HTML, HTML DOM, HTMLElement, Reference, Web |
The change event is fired for input , select , and textarea elements when an alteration to the element's value is committed by the user. Unlike the HTMLElement/input_event event, the change event is not necessarily fired for each alteration to an element's value . | ||
1828 | HTMLElement.click() | API, HTML DOM, HTMLElement, Method, Reference |
The HTMLElement.click() method simulates a mouse click on an element. | ||
1829 | HTMLElement.contentEditable | API, HTML DOM, HTMLElement, Property, Reference |
The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. | ||
1830 | HTMLElement.contextMenu | API, Deprecated, Element, HTML, HTML DOM, Property, Reference, UX |
The HTMLElement.contextMenu property refers to the context menu assigned to an element using the contextmenu attribute. The menu itself is created using the menu element. | ||
1831 | HTMLElement.dir | API, HTML DOM, HTMLElement, Property, Reference |
The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. | ||
1832 | HTMLElement.forceSpellCheck() | API, Experimental, HTML DOM, HTMLElement, Method, NeedsExample, NeedsSpecTable, Reference |
The forceSpellCheck() method of the HTMLElement interface forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides user agent behavior. The specific user interface of the check, for example whether red underlining appears, is determined by the user agent. | ||
1833 | HTMLElement: gotpointercapture event | Event, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference |
The gotpointercapture event is fired when an element captures a pointer using setPointerCapture() . | ||
1834 | HTMLElement.hidden | API, Attribute, Element, HTML, HTML element, Property, Reference, hidden |
The HTMLElement property hidden is a Boolean which is true if the element is hidden; otherwise the value is false . This is quite different from using the CSS property display to control the visibility of an element. | ||
1835 | inert | |
The HTMLElement property inert is a Boolean that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. This can be useful when building UIs such as modals where you would want to "trap" the focus inside the modal when it's visible. | ||
1836 | HTMLElement.innerText | API, HTML DOM, HTMLElement, Property, Reference |
The innerText property of the HTMLElement interface represents the "rendered" text content of a node and its descendants. | ||
1837 | HTMLElement: input event | Content, Edit, Event, Forms, HTML DOM, HTMLElement, Input, InputEvent, NeedsMobileBrowserCompatibility, Reference, data, value |
The input event fires when the value of an input , select , or textarea element has been changed. | ||
1838 | HTMLElement.isContentEditable | API, Editing, HTML DOM, HTMLElement, Property, Read-only, Reference |
The HTMLElement.isContentEditable read-only property returns a Boolean that is true if the contents of the element are editable; otherwise it returns false . | ||
1839 | HTMLElement.lang | API, HTML DOM, HTMLElement, NeedsUpdate, Property, Reference |
The HTMLElement.lang property gets or sets the base language of an element's attribute values and text content. | ||
1840 | HTMLElement: lostpointercapture event | Event, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference |
The lostpointercapture event is fired when a captured pointer is released. | ||
1841 | HTMLElement.offsetHeight | API, CSSOM View, NeedsMarkupWork, NeedsNonDHMLImage, Property, Reference |
The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders, as an integer. | ||
1842 | HTMLElement.offsetLeft | API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference |
The HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node. | ||
1843 | HTMLElement.offsetParent | API, CSSOM View, NeedsMarkupWork, Property, Reference |
The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element. If there is no positioned ancestor element, the nearest ancestor td , th , table will be returned, or the body if there are no ancestor table elements either. | ||
1844 | HTMLElement.offsetTop | API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference |
The HTMLElement.offsetTop read-only property returns the distance of the outer border of the current element relative to the inner border of the top of the HTMLelement.offsetParent node. | ||
1845 | HTMLElement.offsetWidth | API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference |
The HTMLElement.offsetWidth read-only property returns the layout width of an element as an integer. | ||
1846 | HTMLElement.oncopy | API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference |
The oncopy property of the HTMLElement interface is an EventHandler that processes Element/copy_event events. | ||
1847 | HTMLElement.oncut | API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference |
The HTMLElement.oncut property of the HTMLElement interface is an EventHandler that processes cut events. | ||
1848 | HTMLElement.onpaste | API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference |
The HTMLElement.onpaste property of the HTMLElement interface is an EventHandler that processes paste events. | ||
1849 | HTMLElement.outerText | API, HTML DOM, HTMLElement, Non-standard, Property, Reference |
HTMLElement.outerText is a non-standard property. As a getter, it returns the same value as Node.innerText . As a setter, it removes the current node and replaces it with the given text. | ||
1850 | HTMLElement: pointercancel event | Event, HTML DOM, HTMLElement, Pointer Events, PointerEvent, Reference, pointercancel, user input |
The pointercancel event is fired when the browser determines that there are unlikely to be any more pointer events, or if after the pointerdown event is fired, the pointer is then used to manipulate the viewport by panning, zooming, or scrolling. | ||
1851 | HTMLElement: pointerdown event | Event, HTML DOM, HTMLElement, PointerEvent, Reference |
The pointerdown event is fired when a pointer becomes active. For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer. | ||
1852 | HTMLElement: pointerenter event | Event, HTML DOM, HTMLElement, NeedsSpecTable, PointerEvent, Reference |
The pointerenter event fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not support hover (see pointerdown ). | ||
1853 | HTMLElement: pointerleave event | Event, HTML DOM, HTMLElement, PointerEvent, Reference |
The pointerleave event is fired when a pointing device is moved out of the hit test boundaries of an element. For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer. | ||
1854 | HTMLElement: pointermove event | Event, HTML DOM, HTMLElement, PointerEvent, Reference |
The pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action. | ||
1855 | HTMLElement: pointerout event | Event, HTML DOM, HTMLElement, PointerEvent, Reference |
The pointerout event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not support hover (see pointerup ); after firing the pointercancel event (see pointercancel ); when a pen stylus leaves the hover range detectable by the digitizer. | ||
1856 | HTMLElement: pointerover event | Event, PointerEvent |
The pointerover event is fired when a pointing device is moved into an element's hit test boundaries. | ||
1857 | HTMLElement: pointerup event | Event, HTML DOM, HTMLElement, PointerEvent, Reference |
The pointerup event is fired when a pointer is no longer active. | ||
1858 | HTMLElement.title | API, HTML DOM, HTMLElement, Property, Reference |
The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node. | ||
1859 | HTMLElement: transitioncancel event | CSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitioncancel |
The transitioncancel event is fired when a CSS transition is canceled. | ||
1860 | HTMLElement: transitionend event | CSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitionend |
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to none , then the event will not be generated. | ||
1861 | HTMLElement: transitionrun event | CSS Transitions, Event, HTML DOM, HTMLElement, Reference, Transitions, Web, transitionrun |
The transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun. | ||
1862 | HTMLElement: transitionstart event | CSS Transitions, Event, HTML DOM, HTMLElement, Reference, TransitionEvent, transitionstart |
The transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended. | ||
1863 | HTMLEmbedElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLEmbedElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating embed elements. | ||
1864 | HTMLFieldSetElement | API, HTML DOM, Interface, Reference |
The HTMLFieldSetElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of fieldset elements. | ||
1865 | HTMLFontElement | API, HTML DOM, Interface, Obsolete, Reference |
Implements the document object model (DOM) representation of the font element. The HTML Font Element font defines the font size, font face and color of text. | ||
1866 | HTMLFontElement.color | API, HTML DOM, HTMLFontElement, Property, Reference |
The obsolete HTMLFontElement .color property is a DOMString that reflects the color HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format. | ||
1867 | HTMLFontElement.face | API, HTML DOM, HTMLFontElement, Property, Reference |
The obsolete HTMLFontElement .face property is a DOMString that reflects the face HTML attribute, containing a comma-separated list of one or more font names. | ||
1868 | HTMLFontElement.size | API, HTML DOM, HTMLFontElement, Property, Reference |
The obsolete HTMLFontElement.size property is a DOMString that reflects the size HTML attribute. It contains either an integer number in the range of 1-7 or a relative value to increase/decrease the value of the size attribute of the basefont element. | ||
1869 | HTMLFormControlsCollection | API, Collection, Form Collection, Form List, Forms, HTML DOM, HTML forms, HTMLFormControlsCollection, Interface, NeedsHTML5Update, Reference |
The HTMLFormControlsCollection interface represents a collection of HTML form control elements. | ||
1870 | HTMLFormControlsCollection.namedItem() | API, HTML DOM, HTMLFormControlsCollection, Method, Reference |
The HTMLFormControlsCollection.namedItem() method returns the RadioNodeList or the Element in the collection whose name or id match the specified name, or null if no node matches. | ||
1871 | HTMLFormElement | API, Form Element, Forms, HTML DOM, HTML forms, HTMLFormElement, Interface, Reference |
The HTMLFormElement interface represents a form element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements. | ||
1872 | HTMLFormElement.acceptCharset | API, HTML DOM, HTMLFormElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
The HTMLFormElement.acceptCharset property represents a list of the supported character encodings for the given form element. This list can be comma-separated or space-separated. | ||
1873 | HTMLFormElement.action | API, Forms, HTML DOM, HTMLFormElement, NeedsSpecTable, NeedsUpdate, Property, Reference |
The HTMLFormElement.action property represents the action of the form element. | ||
1874 | HTMLFormElement.elements | API, Elements, HTML DOM, HTMLFormControlsCollection, HTMLFormElement, Property, Reference |
The HTMLFormElement property elements returns an HTMLFormControlsCollection listing all the form controls contained in the form element. | ||
1875 | HTMLFormElement.encoding | API, HTML DOM, HTMLFormElement, NeedsContent, NeedsSpecTable, Property, Reference |
The HTMLFormElement.encoding property is an alternative name for the HTMLFormElement.enctype element on the DOM HTMLFormElement object. | ||
1876 | HTMLFormElement.enctype | API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference |
The HTMLFormElement.enctype property is the MIME type of content that is used to submit the form to the server. Possible values are: | ||
1877 | HTMLFormElement: formdata event | Event, Forms, Reference, formevent |
The formdata event fires after the entry list representing the form's data is constructed. This happens when the form is submitted, but can also be triggered by the invocation of a FormData.FormData constructor. | ||
1878 | HTMLFormElement.length | API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Read-only, Reference |
The HTMLFormElement.length read-only property returns the number of controls in the form element. | ||
1879 | HTMLFormElement.method | API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference |
The HTMLFormElement.method property represents the HTTP method used to submit the form . | ||
1880 | HTMLFormElement.name | API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference |
The HTMLFormElement.name property represents the name of the current form element as a string. | ||
1881 | HTMLFormElement.reportValidity() | HTML, HTMLFormElement, Method, Reference |
The HTMLFormElement.reportValidity() method returns true if the element's child controls satisfy their validation constraints. When false is returned, cancelable invalid events are fired for each invalid child and validation problems are reported to the user. | ||
1882 | HTMLFormElement.requestSubmit() | API, HTML, HTML DOM, HTMLFormElement, Input, Method, button, form, requestSubmit, submit |
The HTMLFormElement method requestSubmit() requests that the form be submitted using a specific submit button. | ||
1883 | HTMLFormElement: reset event | API, Event, Forms, HTML DOM, HTMLFormElement, Reference |
The reset event fires when a form is reset. | ||
1884 | HTMLFormElement.reset() | API, HTML DOM, HTMLFormElement, Method, NeedsMarkupWork, NeedsSpecTable, Reference |
The HTMLFormElement.reset() method restores a form element's default values. This method does the same thing as clicking the form's reset button. | ||
1885 | HTMLFormElement: submit event | API, Event, Forms, HTML DOM, HTMLFormElement, Reference, submit |
The submit event fires when a form is submitted. | ||
1886 | HTMLFormElement.submit() | API, HTML DOM, HTMLFormElement, Method, NeedsSpecTable, Reference |
The HTMLFormElement.submit() method submits a given form . | ||
1887 | HTMLFormElement.target | API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference |
The target property of the HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output). | ||
1888 | HTMLFrameSetElement | API, HTML-DOM, HTMLFrameSetElement, Interface, Obsolete, Reference |
The HTMLFrameSetElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating frameset elements. | ||
1889 | HTMLHeadElement | API, HTML DOM, Interface, Reference |
The HTMLHeadElement interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface. | ||
1890 | HTMLHeadingElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLHeadingElement interface represents the different heading elements, <h1> through <h6> . It inherits methods and properties from the HTMLElement interface. | ||
1891 | HTMLHRElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating hr elements. | ||
1892 | HTMLHtmlElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. | ||
1893 | HTMLHtmlElement.version | API, Deprecated, HTML DOM, NeedsContent, NeedsLayout, Property, Reference |
Returns version information about the document type definition (DTD) of a document. While this property is recognized by Mozilla, the return value for this property is always an empty string. | ||
1894 | HTMLHyperlinkElementUtils | API, Experimental, Mixin, URL API |
The HTMLHyperlinkElementUtils mixin defines utility methods and properties to work with HTMLAnchorElement and HTMLAreaElement . These utilities allow to deal with common features like URLs. | ||
1895 | HTMLHyperlinkElementUtils.hash | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.hash property returns a USVString containing a '#' followed by the fragment identifier of the URL. | ||
1896 | HTMLHyperlinkElementUtils.host | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.host property is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':' , and the port of the URL. | ||
1897 | HTMLHyperlinkElementUtils.hostname | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.hostname property is a USVString containing the domain of the URL. | ||
1898 | HTMLHyperlinkElementUtils.href | API, Experimental, HTMLHyperlinkElementUtils, Location, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.href property is a stringifier that returns a USVString containing the whole URL, and allows the href to be updated. | ||
1899 | HTMLHyperlinkElementUtils.origin | API, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, Reference, URL API |
The HTMLHyperlinkElementUtils.origin read-only property is a USVString containing the Unicode serialization of the origin of the represented URL | ||
1900 | HTMLHyperlinkElementUtils.password | API, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, URL API |
The HTMLHyperlinkElementUtils.password property is a USVString containing the password specified before the domain name. | ||
1901 | HTMLHyperlinkElementUtils.pathname | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.pathname property is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path). | ||
1902 | HTMLHyperlinkElementUtils.port | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.port property is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to '' . | ||
1903 | HTMLHyperlinkElementUtils.protocol | API, Experimental, HTMLHyperlinkElementUtils, Property, URL API |
The HTMLHyperlinkElementUtils .protocol property is a USVString representing the protocol scheme of the URL, including the final ':' . | ||
1904 | HTMLHyperlinkElementUtils.search | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.search property is a search string, also called a query string, that is USVString containing a '?' followed by the parameters of the URL. | ||
1905 | HTMLHyperlinkElementUtils.toString() | API, Experimental, HTMLHyperlinkElementUtils, Location, Method, Stringifier, URL API |
The HTMLHyperlinkElementUtils.toString() stringifier method returns a USVString containing the whole URL. It is a read-only version of HTMLHyperlinkElementUtils.href . | ||
1906 | HTMLHyperlinkElementUtils.username | API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API |
The HTMLHyperlinkElementUtils.username property is a USVString containing the username specified before the domain name. | ||
1907 | HTMLIFrameElement | API, HTML DOM, Interface, Reference |
The HTMLIFrameElement interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements. | ||
1908 | HTMLIFrameElement.allowPaymentRequest | API, HTML DOM, Payment Request, PaymentRequest, Property, Reference, Reference HTMLIFrameElement, allowPaymentRequest |
The allowPaymentRequest property of the HTMLIFrameElement interface returns a Boolean indicating whether the Payment Request API may be invoked on a cross-origin iframe. | ||
1909 | contentDocument | |
If the iframe and the iframe's parent document are Same Origin, returns a Document (that is, the active document in the inline frame's nested browsing context), else returns null . | ||
1910 | HTMLIFrameElement.contentWindow | API, HTML DOM, HTMLIFrameElement, Property, Read-only, Reference, Web |
The contentWindow property returns the Window object of an HTMLIFrameElement. You can use this Window object to access the iframe's document and its internal DOM. This attribute is read-only, but its properties can be manipulated like the global Window object. | ||
1911 | HTMLIFrameElement.csp | API, CSP, Content Security Policy, HTML DOM, HTMLIFrameElement, Property, Reference |
The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself. | ||
1912 | HTMLIFrameElement.featurePolicy | API, Feature Policy, Feature-Policy, HTMLIFrameElement, Policy, Property |
The featurePolicy read-only property of the HTMLIFrameElement interface returns the FeaturePolicy interface which provides a simple API for introspecting the feature policies applied to a specific frame. | ||
1913 | HTMLIFrameElement.referrerPolicy | API, HTMLIFrameElement, Property, Reference, Referrer Policy |
The HTMLIFrameElement .referrerPolicy property reflects the HTML referrerpolicy attribute of the iframe element defining which referrer is sent when fetching the resource. | ||
1914 | HTMLIFrameElement.src | |
The HTMLIFrameElement .src property reflects the HTML referrerpolicy attribute of the iframe element defining which referrer is sent when fetching the resource. | ||
1915 | srcdoc | |
The srcdoc property of the HTMLIFrameElement specifies the content of the page. | ||
1916 | HTMLImageElement | API, Element, Graphic, HTML DOM, HTMLImageElement, Image, Interface, Reference, img, picture |
The HTMLImageElement interface represents an HTML img element, providing the properties and methods used to manipulate image elements. | ||
1917 | HTMLImageElement.align | API, Align, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, alignment, float, img |
The obsolete align property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container. | ||
1918 | HTMLImageElement.alt | API, Element, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, Text, alt, alternate, fallback |
The HTMLImageElement property alt provides fallback (alternate) text to display when the image specified by the img element is not loaded. | ||
1919 | HTMLImageElement.border | API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, border, img |
The obsolete HTMLImageElement property border specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn. | ||
1920 | HTMLImageElement.complete | API, Fetching, HTML, HTML DOM, HTMLImageElement, Loading, Property, Reference, complete |
The read-only HTMLImageElement interface's complete attribute is a Boolean value which indicates whether or not the image has completely loaded. | ||
1921 | HTMLImageElement.crossOrigin | API, CORS, Cross-Origin, Crossorigin, HTML DOM, HTMLImageElement, Image, Property, Reference, Security, origin |
The HTMLImageElement interface's crossOrigin attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image. | ||
1922 | HTMLImageElement.currentSrc | API, HTMLImageElement, Image, Property, Reference, URL, currentSrc, source |
The read-only HTMLImageElement property currentSrc indicates the URL of the image which is currently presented in the img element it represents. | ||
1923 | HTMLImageElement.decode() | API, Decode, Graphics, HTML DOM, HTMLImageElement, Images, Loading, Method, Performance, Reference, async, asynchronous, decoding |
The decode() method of the HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM. This can be used to initiate loading of the image prior to attaching it to an element in the DOM (or adding it to the DOM as a new element), so that the image can be rendered immediately upon being added to the DOM. This, in turn, prevents the rendering of the next frame after adding the image to the DOM from causing a delay while the image loads. | ||
1924 | HTMLImageElement.decoding | API, HTML DOM, HTMLImageElement, Property, Reference, decoding |
The decoding property of the HTMLImageElement interface represents a hint given to the browser on how it should decode the image. | ||
1925 | HTMLImageElement.height | API, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, dimensions, height, size |
The height property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected height of the image. | ||
1926 | HTMLImageElement.hspace | API, HTML, HTML DOM, HTMLImageElement, Horizontal, Image, Layout, Obsolete, Property, Reference, hspace, img, left, margin, right, spacing |
The obsolete hspace property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the img element when laying out the page. | ||
1927 | Image() | API, Constructor, DOM, HTML, HTML DOM, HTMLImageElement, Image(), Reference, img |
The Image() constructor creates a new HTMLImageElement instance. It is functionally equivalent to Document.createElement() . | ||
1928 | HTMLImageElement.isMap | API, HTML, HTML DOM, HTMLImageElement, Image Map, Link, Reference, isMap, server-side |
The HTMLImageElement proeprty isMap is a Boolean value which indicates that the image is to be used by a server-side image map. This may only be used on images located within an a element. | ||
1929 | HTMLImageElement.loading | API, Content, Eager, Graphics, HTML DOM, HTMLImageElement, Images, Layout, Lazy, Lazy-loading, Loading, Performance, Pictures, Property, Reference, load, rendering |
The HTMLImageElement property loading is a string whose value provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport. | ||
1930 | HTMLImageElement.longDesc | API, HTML, HTML DOM, HTMLImageElement, Long description, Obsolete, Property, Reference, description, img, longDesc |
The obsolete property longDesc on the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image. | ||
1931 | HTMLImageElement.lowsrc | API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Performance, Property, Quality, Reference, img, lowSrc, speed |
The HTMLImageElement interface's obsolete lowsrc property can be used to specify the URL of a reduced-quality or otherwise faster-loading version of the image specified by the HTMLImageElement.src property. | ||
1932 | HTMLImageElement.name | API, Deprecated, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, img, name |
The HTMLImageElement interface's deprecated name property specifies a name for the element. This has been replaced by the Element.id property available on all elements. | ||
1933 | HTMLImageElement.naturalHeight | API, HTMLImageElement, Intrinsic Height, Reference, Vertical, naturalHeight, size |
The HTMLImageElement interface's naturalHeight property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixel. | ||
1934 | HTMLImageElement.naturalWidth | API, HTML, HTML DOM, HTMLImageElement, Intrinsic Width, Intrinsic size, Property, Reference, naturalWidth, size, width |
The HTMLImageElement interface's read-only naturalWidth property returns the intrinsic (natural), density-corrected width of the image in CSS pixel. | ||
1935 | HTMLImageElement.referrerPolicy | API, Experimental, HTMLImageElement, Property, Referrer Policy |
The HTMLImageElement .referrerPolicy property reflects the HTML referrerpolicy attribute of the img element defining which referrer is sent when fetching the resource. | ||
1936 | HTMLImageElement.sizes | API, HTML, HTML DOM, HTMLImageElement, Property, Reference, Responsive Design, Responsive Images, size, sizes, width |
The HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions. | ||
1937 | HTMLImageElement.src | 1x, API, HTML, HTML DOM, HTMLImageElement, Image, Reference, URL, fallback, source, src |
The HTMLImageElement property src , which reflects the HTML src attribute, specifies the image to display in the img element. | ||
1938 | HTMLImageElement.srcset | API, HTML, HTML DOM, HTMLImageElement, Image, Image Candidates, Property, Reference, Responsive Design, list, source, srcset |
The HTMLImageElement property srcset is a string which identifies one or more image candidate strings, separated using commas (, ) each specifying image resources to use under given circumstances. | ||
1939 | HTMLImageElement.useMap | API, DOM, HTML, HTML DOM, HTML WHATWG, HTMLImageElement, Image maps, Links, Property, Reference, interactive, useMap |
The useMap property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image. | ||
1940 | HTMLImageElement.vspace | API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, Vertical, bottom, img, margin, space, spacing, top, vspace |
The obsolete vspace property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom of the img element when laying out the page. | ||
1941 | HTMLImageElement.width | API, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, size, width |
The width property of the HTMLImageElement interface indicates the width at which an image is drawn in CSS pixel if it's being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected width of the image. | ||
1942 | HTMLImageElement.x | API, CSSOM, CSSOM View, Coordinate, Edge, HTML, HTML DOM, HTMLImageElement, Position, Reference, border, left, x |
The read-only HTMLImageElement property x indicates the x-coordinate of the img element's left border edge relative to the root element's origin. | ||
1943 | HTMLImageElement.y | |
The read-only HTMLImageElement property y indicates the y-coordinate of the img element's top border edge relative to the root element's origin. | ||
1944 | HTMLInputElement | API, DOM, HTML DOM, HTMLInputElement, Input, Interface, NeedsContent, NeedsMarkupWork, Reference |
The HTMLInputElement interface provides special properties and methods for manipulating the options, layout, and presentation of input elements. | ||
1945 | HTMLInputElement: invalid event | API, Constraint Validation API, Constraint validation, Event, Forms, Reference, invalid |
The invalid event fires when a submittable element has been checked for validity and doesn't satisfy its constraints. | ||
1946 | HTMLInputElement.labels | API, HTML DOM, HTMLInputElement, Property, Reference |
The HTMLInputElement.labels read-only property returns a NodeList of the label elements associated with the input element. | ||
1947 | HTMLInputElement.mozGetFileNameArray() | API, HTML DOM, HTMLInputElement, Method, NeedsBrowserCompatibility, Non-standard, Reference |
The HTMLInputElement.mozGetFileNameArray() method returns an array of the names of the files that were selected by the user on an HTML input element. | ||
1948 | HTMLInputElement.multiple | API, HTML DOM, HTMLInputElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
The HTMLInputElement.multiple property indicates if an input can have more than one value. Firefox currently only supports multiple for <input type="file"> . | ||
1949 | HTMLInputElement: search event | API, Event, HTMLInputElement, Non-standard, Reference, Search, Web |
The search event is fired when a search is initiated usinng an input element of type="search" . | ||
1950 | HTMLInputElement.select() | API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference |
The HTMLInputElement.select() method selects all the text in a textarea element or in an input element that includes a text field. | ||
1951 | HTMLInputElement.setRangeText() | API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference, Text Field Selection API |
The HTMLInputElement.setRangeText() method replaces a range of text in an input or textarea element with a new string. | ||
1952 | HTMLInputElement.setSelectionRange() | API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API |
The HTMLInputElement.setSelectionRange() method sets the start and end positions of the current text selection in an input or textarea element. | ||
1953 | HTMLInputElement.stepDown() | API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API |
The HTMLInputElement.stepDown([n]) method decrements the value of a numeric type of input element by the value of the step attribute or up to n multiples of the step attribute if a number is passed as the parameter. | ||
1954 | HTMLInputElement.stepUp() | API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API |
The HTMLInputElement.stepUp() method increments the value of a numeric type of input element by the value of the step attribute, or the default step value if the step attribute is not explicitly set. The method, when invoked, increments the value by (step * n), where n defaults to 1 if not specified, and step defaults to the default value for step if not specified. | ||
1955 | HTMLInputElement.webkitdirectory | API, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, Reference, Web, webkitdirectory |
The HTMLInputElement.webkitdirectory is a property that reflects the webkitdirectory HTML attribute and indicates that the input element should let the user select directories instead of files. When a directory is selected, the directory and its entire hierarchy of contents are included in the set of selected items. The selected file system entries can be obtained using the HTMLInputElement.webkitEntries property. | ||
1956 | HTMLInputElement.webkitEntries | API, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, webkitEntries |
The read-only webkitEntries property of the HTMLInputElement interface contains an array of file system entries (as objects based on FileSystemEntry ) representing files and/or directories selected by the user using an input element of type file , but only if that selection was made using drag-and-drop: selecting a file in the dialog will leave the property empty (bug | ||
1957 | HTMLKeygenElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The keygen elements expose the HTMLKeygenElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of keygen elements. | ||
1958 | HTMLLabelElement | API, HTML DOM, HTMLLabelElement, Interface, Reference |
The HTMLLabelElement interface gives access to properties specific to label elements. It inherits methods and properties from the base HTMLElement interface. | ||
1959 | HTMLLabelElement.control | Forms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, control |
The read-only HTMLLabelElement.control property returns a reference to the control (in the form of an object of type HTMLElement or one of its derivatives) with which the label element is associated, or null if the label isn't associated with a control. | ||
1960 | HTMLLabelElement.form | Forms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, form |
The read-only HTMLLabelElement.form property returns an HTMLFormElement object which represents the form of which the label's associated control is a part, or null if there is either no associated control, or if that control isn't in a form. | ||
1961 | HTMLLabelElement.htmlFor | Forms, HTML DOM, HTMLLabelElement, Reference, htmlFor |
The HTMLLabelElement.htmlFor property reflects the value of the for content property. That means that this script-accessible property is used to set and read the value of the content property for , which is the ID of the label's associated control element. | ||
1962 | HTMLLegendElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLLegendElement is an interface allowing to access properties of the legend elements. It inherits properties and methods from the HTMLElement interface. | ||
1963 | HTMLLIElement | API, HTML DOM, HTML DOM Interface, Interface, Reference |
The HTMLLIElement interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements. | ||
1964 | HTMLLinkElement | API, HTML DOM, HTMLLInkElement, Interface, Reference |
The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa (corresponds to <link> element; not to be confused with <a> , which is represented by HTMLAnchorElement ). This object inherits all of the properties and methods of the HTMLElement interface. | ||
1965 | HTMLLinkElement.as | API, Element, HTMLLInkElement, Link, Preload API, Property, Reference, as |
The as property of the HTMLLinkElement interface returns a DOMString representing the type of content being loaded by the HTML link, one of "script" , "style" , "image" , "video" , "audio" , "track" , "font" , "fetch" . | ||
1966 | HTMLLinkElement.referrerPolicy | API, Experimental, HTMLLInkElement, Property, Reference |
The HTMLLinkElement .referrerPolicy property reflect the HTML referrerpolicy attribute of the link element defining which referrer is sent when fetching the resource. | ||
1967 | HTMLLinkElement.rel | API, HTML DOM, HTMLLInkElement, Property, Reference |
The HTMLLinkElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the link element and the current document. | ||
1968 | HTMLLinkElement.relList | API, HTML DOM, HTMLLInkElement, Property, Read-only, Reference |
The HTMLLinkElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the link element and the current document. | ||
1969 | HTMLMapElement | API, HTML DOM, Interface, Reference |
The HTMLMapElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements. | ||
1970 | HTMLMarqueeElement | API, Deprecated, HTML DOM, Interface, Reference |
The HTMLMarqueeElement interface provides methods to manipulate marquee elements. | ||
1971 | HTMLMediaElement | API, Audio, HTML, HTML DOM, HTMLMediaElement, Interface, Media, Reference, Video |
The HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. | ||
1972 | HTMLMediaElement: abort event | API, Event, HTMLMediaElement, Reference, Web, abort |
The abort event is fired when the resource was not fully loaded, but not as the result of an error. | ||
1973 | HTMLMediaElement.audioTracks | API, Audio, Audio Tracks, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Web, audiotracks |
The read-only audioTracks property on HTMLMediaElement objects returns an AudioTrackList object listing all of the AudioTrack objects representing the media element's audio tracks. | ||
1974 | HTMLMediaElement.autoplay | API, Audio, HTML DOM, HTMLMediaElement, Media, NeedsExample, Property, Video, Web, autoplay |
The HTMLMediaElement.autoplay property reflects the autoplay HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption. | ||
1975 | HTMLMediaElement.buffered | API, HTML DOM, HTMLMediaElement, Property, Read-only, Web |
The HTMLMediaElement.buffered read-only property returns a new TimeRanges object that indicates the ranges of the media source that the browser has buffered (if any) at the moment the buffered property is accessed. | ||
1976 | HTMLMediaElement: canplay event | Audio, Event, HTMLMediaElement, Reference, Video |
The canplay event is fired when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content. | ||
1977 | HTMLMediaElement: canplaythrough event | Audio, Event, HTMLMediaElement, Reference, Video |
The canplaythrough event is fired when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content. | ||
1978 | HTMLMediaElement.canPlayType() | API, Audio, Capability, Compatibility, Format, HTML DOM, HTMLMediaElement, MIME Types, Media, Media Types, Method, Reference, Type, Video, Web, canPlayType, support |
The HTMLMediaElement method canPlayType() reports how likely it is that the current browser will be able to play media of a given MIME type. | ||
1979 | HTMLMediaElement.captureStream() | API, Audio, HTML DOM, HTMLMediaElement, Media, Media Capture DOM Elements, Method, Reference, Video, captureStream |
The captureStream() property of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element. | ||
1980 | HTMLMediaElement.controller | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.controller property represents the media controller assigned to the element. | ||
1981 | HTMLMediaElement.controls | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.controls property reflects the controls HTML attribute, which controls whether user interface controls for playing the media item will be displayed. | ||
1982 | HTMLMediaElement.controlsList | API, HTML DOM, HTMLMediaElement, Media, Property, Reference |
The controlsList property of the HTMLMediaElement interface returns a DOMTokenList that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload , nofullscreen , and noremoteplayback . | ||
1983 | HTMLMediaElement.crossOrigin | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS settings attributes for details. | ||
1984 | HTMLMediaElement.currentSrc | API, HTML DOM, HTMLMediaElement, Property, Read-only, Web |
The HTMLMediaElement.currentSrc property contains the absolute URL of the chosen media resource. This could happen, for example, if the web server selects a media file based on the resolution of the user's display. The value is an empty string if the networkState property is EMPTY . | ||
1985 | HTMLMediaElement.currentTime | API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Time, Video, Web, currentTime, offset, seconds, seek |
The HTMLMediaElement interface's currentTime property specifies the current playback time in seconds. | ||
1986 | HTMLMediaElement.defaultMuted | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.defaultMuted property reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default. This property has no dynamic effect. To mute and unmute the audio output, use the HTMLMediaElement.muted property. | ||
1987 | HTMLMediaElement.defaultPlaybackRate | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.defaultPlaybackRate property indicates the default playback rate for the media. | ||
1988 | HTMLMediaElement.disableRemotePlayback | |
The HTMLMediaElement.disableRemotePlayback property determines whether the media element is allowed to have a remote playback UI. | ||
1989 | HTMLMediaElement.duration | API, HTML DOM, HTMLMediaElement, Property, Read-only, Time, Web, duration, seconds |
The read-only HTMLMediaElement property duration indicates the length of the element's media in seconds. | ||
1990 | HTMLMediaElement: durationchange event | Audio, Event, HTMLMediaElement, Reference, Video |
The durationchange event is fired when the duration attribute has been updated. | ||
1991 | HTMLMediaElement: emptied event | Audio, Event, HTMLMediaElement, Reference, Video |
The emptied event is fired when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. | ||
1992 | HTMLMediaElement: ended event | Audio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended |
The ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. | ||
1993 | HTMLMediaElement.ended | API, HTML DOM, HTMLMediaElement, Property, Read-only, Web, ended |
The HTMLMediaElement.ended indicates whether the media element has ended playback. | ||
1994 | HTMLMediaElement: error event | API, Error, Event, HTMLMediaElement, Reference, Web |
The error event is fired when the resource could not be loaded due to an error (for example, a network connectivity problem). | ||
1995 | HTMLMediaElement.error | API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Read-only, Reference, Video, Web |
The HTMLMediaElement.error is the MediaError object for the most recent error, or null if there has not been an error. When an error event is received by the element, you can determine details about what happened by examining this object. | ||
1996 | HTMLMediaElement.fastSeek() | API, Audio, HTMLMediaElement, Media, Method, Reference, fastSeek |
The HTMLMediaElement.fastSeek() method quickly seeks the media to the new time with precision tradeoff. | ||
1997 | HTMLMediaElement.initialTime | API, HTML DOM, HTMLMediaElement, Obsolete, Property, Read-only, Web |
The HTMLMediaElement.initialTime is the initial playback position in seconds. This property is obsolete, you can use a Media Fragments URI in the HTMLMediaElement.src attribute instead. | ||
1998 | HTMLMediaElement.load() | API, Audio, Element, HTML DOM, HTMLMediaElement, Media, Method, Reference, Video, load, reset |
The HTMLMediaElement method load() resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning. | ||
1999 | HTMLMediaElement: loadeddata event | Audio, Event, HTMLMediaElement, Reference, Video |
The loadeddata event is fired when the frame at the current playback position of the media has finished loading; often the first frame. | ||
2000 | HTMLMediaElement: loadedmetadata event | Audio, Event, HTMLMediaElement, Reference, Video |
The loadedmetadata event is fired when the metadata has been loaded. | ||
2001 | HTMLMediaElement: loadstart event | API, Event, HTMLMediaElement, Reference, Web, loadstart |
The loadstart event is fired when the browser has started to load a resource. | ||
2002 | HTMLMediaElement.loop | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.loop property reflects the loop HTML attribute, which controls whether the media element should start over when it reaches the end. | ||
2003 | HTMLMediaElement.mediaGroup | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.mediaGroup property reflects the mediaGroup HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common controller . | ||
2004 | msClearEffects | msClearEffects |
The msClearEffects method of the HTMLMediaElement, is a proprietary method specific to Internet Explorer and Microsoft Edge. | ||
2005 | HTMLMediaElement.msInsertAudioEffect() | API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertAudioEffect |
The HTMLMediaElement.msInsertAudioEffect() method inserts the specified audio effect into the media pipeline. | ||
2006 | HTMLMediaElement.muted | API, HTML DOM, HTMLMediaElement, Property, Web |
The HTMLMediaElement.muted indicates whether the media element muted. | ||
2007 | HTMLMediaElement.networkState | API, HTML DOM, Property, Read-only, Web |
The HTMLMediaElement.networkState property indicates the current state of the fetching of media over the network. | ||
2008 | HTMLMediaElement.onencrypted | |
The onencrypted property of the HTMLMediaElement is an event handler, fired whenever an encrypted event occurs, denoting the media is encrypted. | ||
2009 | HTMLMediaElement.onerror | API, Audio, Errors, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, Video, onerror |
The onerror property of the HTMLMediaElement interface is the EventHandler for processing error events. | ||
2010 | HTMLMediaElement.onwaitingforkey | |
The onwaitingforkey property of the HTMLMediaElement is an event handler, fired when a waitingforkey event occurs, when playback is blocked while waiting for an encryption key. | ||
2011 | HTMLMediaElement: pause event | Audio, Event, HTML, HTMLMediaElement, Media, Media Events, Pausing, Pausing Media, Pausing Speech, Speech Events, Video, Web Speech API, Web Speech Events, pause, speech |
The pause event is sent when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the element's HTMLMediaElement.pause method. | ||
2012 | HTMLMediaElement.pause() | API, Audio, HTMLMediaElement, Method, Reference, Video |
The HTMLMediaElement.pause() method will pause playback of the media, if the media is already in a paused state this method will have no effect. | ||
2013 | HTMLMediaElement.paused | API, HTML DOM, HTMLMediaElement, Property, Read-only |
The read-only HTMLMediaElement.paused property tells whether the media element is paused. | ||
2014 | HTMLMediaElement: play event | Audio, Event, HTMLMediaElement, Reference, Video |
The play event is fired when the paused property is changed from true to false , as a result of the play method, or the autoplay attribute. | ||
2015 | HTMLMediaElement.play() | API, Audio, HTMLMediaElement, Interface, Media, Method, Reference, Video, play |
The HTMLMediaElement play() method attempts to begin playback of the media. It returns a Promise which is resolved when playback has been successfully started. | ||
2016 | HTMLMediaElement.playbackRate | API, HTML DOM, HTMLMediaElement, Property |
The HTMLMediaElement.playbackRate property sets the rate at which the media is being played back. This is used to implement user controls for fast forward, slow motion, and so forth. The normal playback rate is multiplied by this value to obtain the current rate, so a value of 1.0 indicates normal speed. | ||
2017 | HTMLMediaElement: playing event | API, HTMLMediaElement, Reference, playing |
The playing event is fired when playback is ready to start after having been paused or delayed due to lack of data. | ||
2018 | HTMLMediaElement: progress event | API, Event, HTMLMediaElement, Reference, Web, progress |
The progress event is fired periodically as the browser loads a resource. | ||
2019 | HTMLMediaElement: ratechange event | API, Audio, Event, HTMLMediaElement, Reference, Video |
The ratechange event is fired when the playback rate has changed. | ||
2020 | HTMLMediaElement.readyState | API, HTML DOM, HTMLMediaElement, Property, Read-only, Web |
The HTMLMediaElement.readyState property indicates the readiness state of the media. | ||
2021 | HTMLMediaElement.seekable | API, Audio, Extensions, HTMLMediaElement, MSE, Media, Property, Reference, Video, seekable, source |
The seekable read-only property of the HTMLMediaElement returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any. | ||
2022 | HTMLMediaElement: seeked event | API, Audio, Event, HTMLMediaElement, Reference, Video |
The seeked event is fired when a seek operation completed, the current playback position has changed, and the Boolean seeking attribute is changed to false . | ||
2023 | HTMLMediaElement: seeking event | API, Audio, Event, HTMLMediaElement, Reference, Video |
The seeking event is fired when a seek operation starts, meaning the Boolean seeking attribute has changed to true and the media is seeking a new position. | ||
2024 | HTMLMediaElement.seekToNextFrame() | API, Experimental, HTMLMediaElement, Method, Non-standard, Reference, Web, seekToNextFrame |
The HTMLMediaElement.seekToNextFrame() method asynchronously advances the current play position to the next frame in the media. | ||
2025 | HTMLMediaElement.setMediaKeys() | API, Audio, EncryptedMediaExtensions, Experimental, HTMLMediaElement, Media, Method, Reference, Video |
The setMediaKeys() property of the HTMLMediaElement interface returns a Promise that resolves to the passed MediaKeys , which are those used to decrypt media during playback. | ||
2026 | HTMLMediaElement.setSinkId() | API, Audio, Experimental, HTMLMediaElement, Media, Method, Reference, setSinkId |
The HTMLMediaElement.setSinkId() method sets the ID of the audio device to use for output and returns a Promise . This only works when the application is authorized to use the specified device. | ||
2027 | HTMLMediaElement.sinkId | API, Audio, Experimental, Extensions, HTMLMediaElement, Media, Property, Reference |
The HTMLMediaElement.sinkId read-only property returns a DOMString that is the unique ID of the audio device delivering output. If it is using the user agent default, it returns an empty string. This ID should be one of the MediaDeviceInfo.deviceId values returned from MediaDevices.enumerateDevices() , id-multimedia , or id-communications . | ||
2028 | HTMLMediaElement.src | API, HTML DOM, HTMLMediaElement, Property, Reference, src |
The HTMLMediaElement.src property reflects the value of the HTML media element's src attribute, which indicates the URL of a media resource to use in the element. | ||
2029 | HTMLMediaElement.srcObject | API, HTML, HTML DOM, HTMLMediaElement, Media, Property, Reference, srcObject |
The srcObject property of the HTMLMediaElement interface sets or returns the object which serves as the source of the media associated with the HTMLMediaElement . | ||
2030 | HTMLMediaElement: stalled event | API, Audio, Event, HTMLMediaElement, Reference, Video |
The stalled event is fired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming. | ||
2031 | HTMLMediaElement: suspend event | API, Audio, Event, HTMLMediaElement, Reference, Video |
The suspend event is fired when media data loading has been suspended. | ||
2032 | HTMLMediaElement.textTracks | API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Web, textTracks |
The read-only textTracks property on HTMLMediaElement objects returns a TextTrackList object listing all of the TextTrack objects representing the media element's text tracks | ||
2033 | HTMLMediaElement: timeupdate event | Audio, Event, HTMLMediaElement, Reference, Video |
The timeupdate event is fired when the time indicated by the currentTime attribute has been updated. | ||
2034 | HTMLMediaElement.videoTracks | API, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Video Tracks, Web, videoTracks |
The read-only videoTracks property on HTMLMediaElement objects returns a VideoTrackList object listing all of the VideoTrack objects representing the media element's video tracks. | ||
2035 | HTMLMediaElement.volume | API, HTML DOM, HTMLMediaElement, Property, Reference, Volume |
The HTMLMediaElement.volume property sets the volume at which the media will be played. | ||
2036 | HTMLMediaElement: volumechange event | API, Audio, Event, HTMLMediaElement, Reference, Video, Web |
The volumechange event is fired when the volume has changed. | ||
2037 | HTMLMediaElement: waiting event | Audio, Event, HTMLMediaElement, Reference, Video, Web |
The waiting event is fired when playback has stopped because of a temporary lack of data. | ||
2038 | HTMLMenuElement | API, Draft, Experimental, HTMLMenuElement, Interface, Reference |
The HTMLMenuElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating menu elements. | ||
2039 | HTMLMenuItemElement | API, Deprecated, Draft, HTMLMenuItemElement, Interface, Reference |
The HTMLMenuItemElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating menuitem elements. | ||
2040 | HTMLMetaElement | API, HTML DOM, Interface, Reference |
The HTMLMetaElement interface contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface. | ||
2041 | HTMLMeterElement | API, HTML DOM, HTMLMeterElement, Interface, Reference |
The HTML meter elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of meter elements. | ||
2042 | HTMLMeterElement.labels | API, HTML DOM, HTMLMeterElement, Property, Reference |
The HTMLMeterElement.labels read-only property returns a NodeList of the label elements associated with the meter element. | ||
2043 | HTMLModElement | API, HTML DOM, Interface, Reference |
The HTMLModElement interface provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is del and ins . | ||
2044 | HTMLObjectElement | API, HTML DOM, Interface, Reference |
The HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of object element, representing external resources. | ||
2045 | HTMLObjectElement.checkValidity | API, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, checkValidity, checkValidity() |
The checkValidity() method of the HTMLObjectElement interface returns a Boolean that always is true, because object objects are never candidates for constraint validation. | ||
2046 | HTMLObjectElement.contentDocument | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentDocument |
The contentDocument read-only property of the HTMLObjectElement interface Returns a Document representing the active document of the object element's nested browsing context, if any; otherwise null. | ||
2047 | HTMLObjectElement.contentWindow | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentWindow |
The contentWindow read-only property of the HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null. | ||
2048 | HTMLObjectElement.data | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, data |
The data property of the HTMLObjectElement interface returns a DOMString that reflects the data HTML attribute, specifying the address of a resource's data. | ||
2049 | HTMLObjectElement.form | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, form |
The form read-only property of the HTMLObjectElement interface Retuns a HTMLFormElement representing the object element's form owner, or null if there isn't one. | ||
2050 | HTMLObjectElement.height | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, height |
The height property of the HTMLObjectElement interface Returns a DOMString that reflects the height HTML attribute, specifying the displayed height of the resource in CSS pixels. | ||
2051 | HTMLObjectElement.name | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, name |
The name property of the HTMLObjectElement interface returns a DOMString that reflects the name HTML attribute, specifying the name of the browsing context. | ||
2052 | HTMLObjectElement.setCustomValidity | API, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, setCustomValidity() |
The setCustomValidity() method of the HTMLObjectElement interface sets a custom validity message for the element. | ||
2053 | HTMLObjectElement.type | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, Type |
The type property of the HTMLObjectElement interface returns a DOMString that reflects the type HTML attribute, specifying the MIME type of the resource. | ||
2054 | HTMLObjectElement.typeMustMatch | API, HTML DOM, HTMLObjectElement, Property, Reference, typesMustMatch |
The HTMLObjectElement.typeMustMatch property is a Boolean that reflects the typemustmatch attribute of the object element. It indicates if the resource linked by it must match the MIME type given by HTMLObjectElement.type in order for this resource to be used. | ||
2055 | HTMLObjectElement.useMap | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, useMap |
The useMap property of the HTMLObjectElement interface returns a DOMString that reflects the usemap HTML attribute, specifying a map element to use. | ||
2056 | HTMLObjectElement.validationMessage | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validationMessage |
The validationMessage read-only property of the HTMLObjectElement interface returns a DOMString representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints. | ||
2057 | HTMLObjectElement.validity | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validity |
The validity read-only property of the HTMLObjectElement interface returns a ValidityState with the validity states that this element is in. | ||
2058 | HTMLObjectElement.width | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, width |
The width property of the HTMLObjectElement interface returns a DOMString that reflects the width HTML attribute, specifying the displayed width of the resource in CSS pixels. | ||
2059 | HTMLObjectElement.willValidate | API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, willValidate |
The willValidate read-only property of the HTMLObjectElement interface returns a Boolean that indicates whether the element is a candidate for constraint validation. Always false for HTMLObjectElement objects. | ||
2060 | HTMLOListElement | API, HTML DOM, Interface, Reference |
The HTMLOListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements. | ||
2061 | HTMLOptGroupElement | API, Forms, HTML DOM, Interface, NeedsBrowserCompatibility, Reference |
The HTMLOptGroupElement interface provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of optgroup elements. | ||
2062 | HTMLOptionElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLOptionElement interface represents option elements and inherits all classes and methods of the HTMLElement interface. | ||
2063 | Option() | API, Constructor, HTML DOM, HTMLOptionElement, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsSpecTable |
The Option() constructor creates a new HTMLOptionElement . | ||
2064 | HTMLOptionsCollection | API, HTML DOM, Interface, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Reference |
This interface inherits the methods of its parent, HTMLCollection . | ||
2065 | HTMLOrForeignElement | API, HTML, HTMLElement, HTMLOrForeignElement, Interface, MathML, MathMLElement, Mixin, Reference, SVG, SVGElement |
The HTMLOrForeignElement mixin describes several features common to the HTMLElement , SVGElement and MathMLElement interfaces. | ||
2066 | HTMLElement.blur() | API, HTML DOM, HTMLElement, Method, Reference |
The HTMLElement.blur() method removes keyboard focus from the current element. | ||
2067 | HTMLOrForeignElement.dataset | API, HTML DOM, HTMLElement, HTMLOrForeignElement, Property, Read-only, Reference, SVG, SVG Custom Attributes, SVG2, SVGElement, dataset |
The dataset read-only property of the HTMLOrForeignElement interface provides read/write access to custom data attributes (data-* ) on elements. | ||
2068 | HTMLElement.focus() | API, Focus, HTML DOM, HTMLElement, Method, Reference, Scroll, View, activate |
The HTMLElement.focus() method sets focus on the specified element, if it can be focused. The focused element is the element which will receive keyboard and similar events by default. | ||
2069 | HTMLOrForeignElement.nonce | API, Content Security Policy, Experimental, HTML DOM, HTMLElement, Property, Reference, nonce |
The nonce property of the HTMLOrForeignElement interface returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed. | ||
2070 | HTMLOrForeignElement.tabIndex | API, HTML DOM, HTMLElement, HTMLOrForeignElement, Property, Reference, tabIndex |
The tabIndex property of the HTMLOrForeignElement interface represents the tab order of the current element. | ||
2071 | HTMLOutputElement | API, HTML DOM, Interface, Reference |
The HTMLOutputElement interface provides properties and methods (beyond those inherited from HTMLElement ) for manipulating the layout and presentation of output elements. | ||
2072 | HTMLOutputElement.labels | API, HTML DOM, HTMLOutputElement, Property, Reference |
The HTMLOutputElement.labels read-only property returns a NodeList of the label elements associated with the output element. | ||
2073 | HTMLParagraphElement | API, HTML DOM, Interface, Reference |
The HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating p elements. | ||
2074 | HTMLParamElement | API, HTML DOM, Interface, Reference |
The HTMLParamElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating param elements, representing a pair of a key and a value that acts as a parameter for an object element. | ||
2075 | HTMLPictureElement | API, Experimental, HTML DOM, Interface, Reference |
The HTMLPictureElement interface represents a picture HTML element. It doesn't implement specific properties or methods. | ||
2076 | HTMLPreElement | API, HTML DOM, Interface, Reference |
The HTMLPreElement interface exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (pre ). | ||
2077 | HTMLProgressElement | API, HTML DOM, Interface, Reference |
The HTMLProgressElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of progress elements. | ||
2078 | HTMLProgressElement.labels | API, HTML DOM, HTMLProgressElement, Property, Reference |
The HTMLProgressElement.labels read-only property returns a NodeList of the label elements associated with the progress element. | ||
2079 | HTMLQuoteElement | API, HTML DOM, Interface, Reference |
The HTMLQuoteElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like blockquote and q , but not the cite element. | ||
2080 | HTMLScriptElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
HTML script elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). | ||
2081 | HTMLScriptElement.referrerPolicy | API, HTMLScriptElement, Property, Reference, referrerPolicy |
The referrerPolicy property of the HTMLScriptElement interface reflects the HTML referrerpolicy of the script element and fetches made by that script, defining which referrer is sent when fetching the resource. | ||
2082 | HTMLSelectElement | API, HTML DOM, HTMLSelectElement, Interface, Reference |
The HTMLSelectElement interface represents a select HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. | ||
2083 | HTMLSelectElement.add() | API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.add() method adds an element to the collection of option elements for this select element. | ||
2084 | HTMLSelectElement.autofocus | API, HTML forms, HTMLSelectElement, Property, Reference |
The HTMLSelectElement.autofocus property is a Boolean that reflects the autofocus HTML attribute, which indicates whether the associated select element will get input focus when the page loads, unless the user overrides it. | ||
2085 | HTMLSelectElement.checkValidity() | API, Constraint Validation API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.checkValidity() method checks whether the element has any constraints and whether it satisfies them. If the element fails its constraints, the browser fires a cancelable invalid event at the element, and then returns false . | ||
2086 | HTMLSelectElement.disabled | API, HTML DOM, HTMLSelectElement, Property |
The HTMLSelectElement.disabled is a Boolean that reflects the disabled HTML attribute, which indicates whether the control is disabled. If it is disabled, it does not accept clicks. A disabled element is unusable and un-clickable. | ||
2087 | HTMLSelectElement.form | API, HTMLSelectElement, Property, Read-only, Reference |
The HTMLSelectElement.form read-only property returns a HTMLFormElement representing the form that this element is associated with. If the element is not associated with of a form element, then it returns null . | ||
2088 | HTMLSelectElement.selectedIndex | |
placeholder | ||
2089 | HTMLSelectElement.item() | API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.item() method returns the Element corresponding to the HTMLOptionElement whose position in the options list corresponds to the index given in the parameter, or null if there are none. | ||
2090 | HTMLSelectElement.labels | API, HTML DOM, HTMLSelectElement, Property, Reference |
The HTMLSelectElement.labels read-only property returns a NodeList of the label elements associated with the select element. | ||
2091 | HTMLSelectElement.namedItem() | API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.namedItem() method returns the HTMLOptionElement corresponding to the HTMLOptionElement whose name or id match the specified name, or null if no option matches. | ||
2092 | HTMLSelectElement.options | API, HTMLSelectElement, Options, Property, Read-only, Web |
The HTMLSelectElement.options read-only property returns a HTMLOptionsCollection of the option elements contained by the select element. | ||
2093 | HTMLSelectElement.remove() | API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.remove() method removes the element at the specified index from the options collection for this select element. | ||
2094 | HTMLSelectElement.selectedIndex | API, HTML DOM, HTML forms, HTMLSelectElement, Property, Reference |
The HTMLSelectElement.selectedIndex is a long that reflects the index of the first or last selected option element, depending on the value of multiple . The value -1 indicates that no element is selected. | ||
2095 | HTMLSelectElement.selectedOptions | API, HTML DOM, HTMLSelectElement, Options, Property, Read-only, Reference, Select, Web, selectedOptions |
The read-only HTMLSelectElement property selectedOptions contains a list of the option elements contained within the select element that are currently selected. The list of selected options is an HTMLCollection object with one entry per currently selected option. | ||
2096 | HTMLSelectElement.setCustomValidity() | API, Constrain Validation API, HTML DOM, HTMLSelectElement, Method, Reference |
The HTMLSelectElement.setCustomValidity() method sets the custom validity message for the selection element to the specified message. Use the empty string to indicate that the element does not have a custom validity error. | ||
2097 | HTMLSelectElement.type | API, HTML DOM, HTMLSelectElement, Property, Read-only, Reference |
The HTMLSelectElement.type read-only property returns the form control's type . | ||
2098 | HTMLShadowElement | API, HTML DOM, Interface, Obsolete, Reference |
The HTMLShadowElement interface represents a shadow HTML Element, which is used in Shadow DOM. | ||
2099 | HTMLShadowElement.getDistributedNodes() | API, HTML DOM, Property, Reference, Web Components |
The HTMLShadowElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <shadow> element. | ||
2100 | HTMLSlotElement | API, HTMLSlotElement, Interface, Reference, shadow dom |
Fired on an HTMLSlotElement instance (<slot> element) when the node(s) contained in that slot change. | ||
2101 | HTMLSlotElement.assignedElements() | API, HTMLSlotElement, Method, Reference, Web Components, assignedElements, shadow dom |
The assignedElements() property of the HTMLSlotElement interface returns a sequence of the elements assigned to this slot (and no other nodes). If the flatten option is set to true , it also returns the assigned elements of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content. | ||
2102 | HTMLSlotElement.assignedNodes() | API, HTMLSlotElement, Method, Reference, assignedNodes, shadow dom |
The assignedNodes() property of the HTMLSlotElement interface returns a sequence of the nodes assigned to this slot, and if the flatten option is set to true , the assigned nodes of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content. | ||
2103 | HTMLSlotElement.name | API, HTMLSlotElement, Property, Reference, name, shadow dom |
The name property of the HTMLSlotElement interface returns or sets the slot name. A slot is a placeholder inside a web component that users can fill with their own markup. | ||
2104 | HTMLSlotElement: slotchange event | Event, Reference, Web Components, events, shadow dom, slotchange |
The slotchange event is fired on an HTMLSlotElement instance (slot element) when the node(s) contained in that slot change. | ||
2105 | HTMLSourceElement | API, HTML DOM, Interface, Reference |
The HTMLSourceElement interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating source elements. | ||
2106 | HTMLSpanElement | API, HTML DOM, Interface, Reference |
The HTMLSpanElement interface represents a span element and derives from the HTMLElement interface, but without implementing any additional properties or methods. | ||
2107 | HTMLStyleElement | API, HTML DOM, HTMLStyleElement, Interface, Reference |
The HTMLStyleElement interface represents a style element. It inherits properties and methods from its parent, HTMLElement , and from LinkStyle . | ||
2108 | HTMLStyleElement.media | API, HTML DOM, HTMLStyleElement, NeedsMarkupWork, Property, Reference |
The HTMLStyleElement.media property specifies the intended destination medium for style information. | ||
2109 | HTMLStyleElement.scoped | API, HTML DOM, HTMLStyleElement, Non-standard, Obsolete, Property, Reference, scoped |
The HTMLStyleElement.scoped property is a Boolean value indicating if the element applies to the whole document (false ) or only to the parent's sub-tree (true ). | ||
2110 | HTMLStyleElement.type | API, HTML DOM, HTMLStyleElement, NeedsMarkupWork, NeedsSpecTable, Property, Read-only |
The HTMLStyleElement.type read-only property returns the type of the current style. | ||
2111 | HTMLTableCaptionElement | API, HTML DOM, Interface, Reference |
The HTMLTableCaptionElement interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements. | ||
2112 | HTMLTableCellElement | API, Cells, HTML DOM, HTMLTableCellElement, Interface, Reference, Table Cells, Tables |
The HTMLTableCellElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. | ||
2113 | HTMLTableColElement | API, HTML DOM, Interface, NeedsNewLayout, Reference |
The HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. | ||
2114 | HTMLTableElement | API, HTML DOM, Interface, Reference |
The HTMLTableElement interface provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. | ||
2115 | HTMLTableElement.align | API, Deprecated, HTML DOM, HTMLTableElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
The HTMLTableElement.align property represents the alignment of the table. | ||
2116 | HTMLTableElement.bgColor | API, Deprecated, HTML DOM, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
The HTMLTableElement.bgcolor property represents the background color of the table. | ||
2117 | HTMLTableElement.border | API, Deprecated, HTML DOM, NeedsSpecTable, Property, Reference |
The HTMLTableElement.border property represents the border width of the table element. | ||
2118 | HTMLTableElement.caption | API, HTML DOM, Property, Reference |
The HTMLTableElement.caption property represents the table caption. If no caption element is associated with the table, this property is null . | ||
2119 | HTMLTableElement.cellPadding | API, HTML DOM, NeedsSpecTable, Property, Reference |
The HTMLTableElement.cellPadding property represents the padding around the individual cells of the table. | ||
2120 | HTMLTableElement.cellSpacing | API, HTML DOM, HTMLTableElement, NeedsSpecTable, Obsolete, Property, Reference, cellSpacing |
While you should instead use the CSS border-spacing property, the obsolete HTMLTableElement interface's cellSpacing property represents the spacing around the individual th and td elements representing a table's cells. | ||
2121 | HTMLTableElement.createCaption() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The HTMLTableElement.createCaption() method returns the caption element associated with a given table . If no <caption> element exists on the table, this method creates it, and then returns it. | ||
2122 | HTMLTableElement: createTBody() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The createTBody() method of HTMLTableElement objects creates and returns a new tbody element associated with a given table . | ||
2123 | HTMLTableElement: createTFoot() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The createTFoot() method of HTMLTableElement objects returns the tfoot element associated with a given table . If no footer exists in the table, this method creates it, and then returns it. | ||
2124 | HTMLTableElement: createTHead() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The createTHead() method of HTMLTableElement objects returns the thead element associated with a given table . If no header exists in the table, this method creates it, and then returns it. | ||
2125 | HTMLTableElement.deleteCaption() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The HTMLTableElement.deleteCaption() method removes the caption element from a given table . If there is no <caption> element associated with the table, this method does nothing. | ||
2126 | HTMLTableElement.deleteRow() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The HTMLTableElement.deleteRow() method removes a specific row (tr ) from a given table . | ||
2127 | HTMLTableElement.deleteTFoot() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The HTMLTableElement.deleteTFoot() method removes the tfoot element from a given table . | ||
2128 | HTMLTableElement.deleteTHead() | API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference |
The HTMLTableElement.deleteTHead() removes the thead element from a given table . | ||
2129 | HTMLTableElement.frame | API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference, Tables |
The HTMLTableElement interface's frame property is a string that indicates which of the table's exterior borders should be drawn. | ||
2130 | HTMLTableElement.insertRow() | API, HTML DOM, HTMLTableElement, Method, NeedsMobileBrowserCompatibility, Reference |
The HTMLTableElement.insertRow() method inserts a new row (tr ) in a given table , and returns a reference to the new row. | ||
2131 | HTMLTableElement.rows | API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Read-only, Reference, Table Rows, rows |
The read-only HTMLTableElement property rows returns a live HTMLCollection of all the rows in the table, including the rows contained within any thead , tfoot , and tbody elements. | ||
2132 | HTMLTableElement.rules | API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference |
The HTMLTableElement.rules property indicates which cell borders to render in the table. | ||
2133 | HTMLTableElement.summary | API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference |
The HTMLTableElement.summary property represents the table description. | ||
2134 | HTMLTableElement.tBodies | API, HTML DOM, HTMLTableElement, Property, Read-only, Reference |
The HTMLTableElement.tBodies read-only property returns a live HTMLCollection of the bodies in a table . | ||
2135 | HTMLTableElement.tFoot | API, HTML DOM, HTMLTableElement, Property, Reference |
The HTMLTableElement.tFoot property represents the tfoot element of a table . Its value will be null if there is no such element. | ||
2136 | HTMLTableElement.tHead | API, HTML DOM, HTMLTableElement, Property, Reference |
The HTMLTableElement.tHead represents the thead element of a table . Its value will be null if there is no such element. | ||
2137 | HTMLTableElement.width | API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference |
The HTMLTableElement.width property represents the desired width of the table. | ||
2138 | HTMLTableRowElement | API, HTML DOM, Interface, Reference |
The HTMLTableRowElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. | ||
2139 | HTMLTableRowElement.insertCell() | API, HTML DOM, HTMLTableRowElement, Method, Reference |
The HTMLTableRowElement.insertCell() method inserts a new cell (td ) into a table row (tr ) and returns a reference to the cell. | ||
2140 | HTMLTableRowElement.rowIndex | API, HTML DOM, NeedsSpecTable, Property, Reference |
The HTMLTableRowElement.rowIndex read-only property represents the position of a row in relation to the whole table . | ||
2141 | HTMLTableSectionElement | API, HTML DOM, Interface, Reference |
The HTMLTableSectionElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table. | ||
2142 | HTMLTemplateElement | API, HTML DOM, HTMLTemplateElement, Interface, Reference, Web Components |
The HTMLTemplateElement interface enables access to the contents of an HTML template element. | ||
2143 | HTMLTemplateElement.content | API, HTML DOM, HTMLTemplateElement, Property, Reference, Web Components |
The HTMLTemplateElement.content property returns a <template> element's template contents (a DocumentFragment ). | ||
2144 | HTMLTextAreaElement | API, HTML DOM, HTMLTextAreaElement, Interface, Reference |
The HTMLTextAreaElement interface provides special properties and methods for manipulating the layout and presentation of textarea elements. | ||
2145 | HTMLTextAreaElement.labels | API, HTML DOM, HTMLTextAreaElement, Property, Reference |
The HTMLTextAreaElement.labels read-only property returns a NodeList of the label elements associated with the textArea element. | ||
2146 | HTMLTimeElement | API, HTML DOM, Interface, Reference |
The HTMLTimeElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating time elements. | ||
2147 | HTMLTimeElement.dateTime | API, HTML DOM, HTMLTimeElement, Property, Reference |
The HTMLTimeElement .dateTime property is a DOMString that reflects the datetime HTML attribute, containing a machine-readable form of the element's date and time value. | ||
2148 | HTMLTitleElement | API, HTML DOM, Interface, Reference |
The HTMLTitleElement interface contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. | ||
2149 | HTMLTrackElement | API, HTML DOM, HTMLTrackElement, Interface, NeedsNewLayout, Reference |
The HTMLTrackElement interface represents an HTML track element within the DOM. This element can be used as a child of either audio or video to specify a text track containing information such as closed captions or subtitles. | ||
2150 | HTMLTrackElement: cuechange event | API, Accessibility, Audio, Chapters, Descriptions, HTMLTextTrack, Media, Reference, Text, TextTrack, Video, WebVTT, a11y, captions, cuechange, events, oncuechange, track, vtt |
No summary! | ||
2151 | HTMLTrackElement.src | HTML, HTML DOM, HTMLTrackElement, Property, Reference, Web, WebVTT, src |
The HTMLTrackElement.src property reflects the value of the track element's src attribute, which indicates the URL of the text track's data. | ||
2152 | HTMLUListElement | API, HTML DOM, Interface, Reference |
The HTMLUListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements. | ||
2153 | HTMLUnknownElement | API, HTML DOM, Interface, Reference |
The HTMLUnknownElement interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods. | ||
2154 | HTMLVideoElement | API, HTML DOM, HTMLVideoElement, Interface, Reference, Video |
The HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement . | ||
2155 | HTMLVideoElement.autoPictureInPicture | API, HTML, HTML DOM, HTMLVideoElement, Media, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, pip |
The HTMLVideoElement autoPictureInPicture property reflects the HTML attribute indicating whether the video should enter or leave picture-in-picture mode automatically. | ||
2156 | HTMLVideoElement.disablePictureInPicture | API, HTML, HTML DOM, HTMLVideoElement, Media, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, pip |
The HTMLVideoElement disablePictureInPicture property reflects the HTML attribute indicating whether | ||
2157 | HTMLVideoElement: enterpictureinpicture event | API, Event, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip |
The enterpictureinpicture event is fired when the HTMLVideoElement enters picture-in-picture mode successfully. | ||
2158 | HTMLVideoElement.getVideoPlaybackQuality() | API, Experimental, Frames, HTML DOM, HTMLVideoElement, Media, Media Playback Quality, Media Playback Quality API, Method, Playback, Quality, Reference, Time, Video, getVideoPlaybackQuality |
The HTMLVideoElement method getVideoPlaybackQuality() creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost. | ||
2159 | HTMLVideoElement: leavepictureinpicture event | API, Event, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip |
The leavepictureinpicture event is fired when the HTMLVideoElement leaves picture-in-picture mode successfully. | ||
2160 | HTMLVideoElement.msFrameStep() | API, API:Microsoft Extensions, Method, Non-standard, Reference, msFrameStep |
The HTMLVideoElement.msFrameStep() method steps the video by one frame forward or one frame backward. | ||
2161 | HTMLVideoElement.msHorizontalMirror | API, API:Microsoft Extensions, Non-standard, Property, Reference, msHorizontalMirror |
msHorizontalMirror is a read/write property which gets or sets whether a video element is flipped horizontally in the display. | ||
2162 | HTMLVideoElement.msInsertVideoEffect() | API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertVideoEffect |
The HTMLMediaElement.msInsertVideoEffect() method inserts the specified video effect into the media pipeline. | ||
2163 | HTMLVideoElement.msIsLayoutOptimalForPlayback | API, API:Microsoft Extensions, Non-standard, Property, Reference, msIsLayoutOptimalForPlayback, onMSVideoOptimalLayoutChanged |
msIsLayoutOptimalForPlayback is a read-only property which indicates whether the video can be rendered more efficiently. | ||
2164 | HTMLVideoElement.msIsStereo3D | API, API:Microsoft Extensions, Non-standard, Property, Reference, msIsStereo3D |
msIsStereo3D is a read-only property which determines whether the system considers the loaded video source to be stereo 3-D or not. | ||
2165 | msSetVideoRectangle | msSetVideoRectangle |
The HTMLVideoElement.msSetVideoRectangle() method sets the dimensions of a sub-rectangle within a video. | ||
2166 | msStereo3DPackingMode | msStereo3DPackingMode |
msStereo3DPackingMode is a read/write property which gets or sets the frame-packing mode for stereo 3-D video content. | ||
2167 | msStereo3DRenderMode | msStereo3DRenderMode |
msStereo3DRenderMode is a read/write property which gets or sets whether the system display is set to stereo display (if stereo-capable). | ||
2168 | HTMLVideoElement.msZoom | API, API:Microsoft Extensions, Non-standard, Property, Reference, msZoom |
msZoom is a read/write property which gets or sets whether the video frame is trimmed, on the top and bottom or left and right, to fit the video display. | ||
2169 | HTMLVideoElement.onenterpictureinpicture | API, Event Handler, Interface, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, events, pip |
The onenterpictureinpicture property of the HTMLVideoElement interface is an EventHandler that processes HTMLVideoElement.enterpictureinpicture_event events. | ||
2170 | HTMLVideoElement.onleavepictureinpicture | API, Event Handler, Interface, Picture-in-Picture, Picture-in-Picture API, Property, Reference, Video, events, pip |
The onleavepictureinpicture property of the HTMLVideoElement interface is an EventHandler that processes HTMLVideoElement.leavepictureinpicture_event events. | ||
2171 | onMSVideoFormatChanged | onMsVideoFormatChanged |
onMSVideoFormatChanged is an event which occurs when the video format changes. | ||
2172 | onMSVideoFrameStepCompleted | onMSVideoFrameStepCompleted |
onMSVideoFrameStepCompleted is an event which occurs when the video frame has been stepped forward or backward one frame. | ||
2173 | onMSVideoOptimalLayoutChanged | onMSVideoOptimalLayoutChanged |
onMSVideoOptimalLayoutChanged is an event which occurs when the msIsLayoutOptimalForPlayback state changes. | ||
2174 | HTMLVideoElement.requestPictureInPicture() | API, Experimental, HTML DOM, HTMLVideoElement, Media, Method, Picture-in-Picture, Picture-in-Picture API, Reference, Video, pip |
The HTMLVideoElement method requestPictureInPicture() issues an asynchronous request to display the video in picture-in-picture mode. | ||
2175 | HTMLVideoElement.videoHeight | API, HTML, HTML DOM, HTMLVideoElement, Intrinsic Height, Intrinsic Width, Media, Property, Read-only, Reference, Video, Video Dimensions, dimension, height, size, videoHeight, videoWidth |
The HTMLVideoElement interface's read-only videoHeight property indicates the intrinsic height of the video, expressed in CSS pixels. In simple terms, this is the height of the media in its natural size. | ||
2176 | HTMLVideoElement.videoWidth | API, HTML, HTML DOM, HTMLVideoElement, Intrinsic Width, Media, Property, Read-only, Reference, Video, size, videoWidth, width |
The HTMLVideoElement interface's read-only videoWidth property indicates the intrinsic width of the video, expressed in CSS pixels. In simple terms, this is the width of the media in its natural size. | ||
2177 | IDBCursor | API, IDBCursor, IndexedDB, Interface, Reference, Storage |
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database. | ||
2178 | IDBCursor.advance() | API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, advance |
The advance() method of the IDBCursor interface sets the number of times a cursor should move its position forward. | ||
2179 | IDBCursor.continue() | API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, continue |
The continue() method of the IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter. If no key is specified, the cursor advances to the immediate next position, based on its direction. | ||
2180 | IDBCursor.continuePrimaryKey() | API, IDBCursor, IndexedDB, Method, Reference, Storage, Web |
The continuePrimaryKey() method of the IDBCursor interface advances the cursor to the to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter. | ||
2181 | IDBCursor.delete() | API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, delete |
The delete() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position. Once the record is deleted, the cursor's value is set to null. | ||
2182 | IDBCursor.direction | API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, direction |
The direction read-only property of the IDBCursor interface is a DOMString that returns the direction of traversal of the cursor (set using IDBObjectStore.openCursor for example). See the Values section below for possible values. | ||
2183 | IDBCursor.key | API, Database, IDBCursor, IndexedDB, Key, Property, Reference, Storage |
The key read-only property of the IDBCursor interface returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to undefined. The cursor's key can be any data type. | ||
2184 | IDBCursor.primaryKey | API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, primaryKey |
The primaryKey read-only property of the IDBCursor interface returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type. | ||
2185 | IDBCursor.request | API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, request |
The request read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor. | ||
2186 | IDBCursor.source | API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, source |
The source read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active. | ||
2187 | IDBCursor.update() | API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, Update |
The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created. | ||
2188 | IDBCursorSync | API, Experimental, IndexedDB, Interface, NeedsMarkupWork, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2189 | IDBCursorWithValue | API, DOM Reference, Database, IDBCursorWithValue, IndexedDB, Interface, Reference, Référence(2), Storage |
The IDBCursorWithValue interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor , except that it includes the value property. | ||
2190 | IDBCursorWithValue.value | API, Database, IDBCursorWithValue, IndexedDB, Property, Reference, Référence(2), Storage, value |
The value read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is. | ||
2191 | IDBDatabase | API, Database, IDBDatabase, IndexedDB, Interface, Reference, Storage, accessing data, asynchronous access, transactions |
The IDBDatabase interface of the IndexedDB API provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. | ||
2192 | IDBDatabase: abort event | |
The abort event is fired on IDBDatabase when a transaction is aborted and bubbles up to the connection object. | ||
2193 | IDBDatabase: close event | |
The close event is fired on IDBDatabase when the database connection is unexpectedly closed. This could happen, for example, if the underlying storage is removed or if the user clears the database in the browser's history preferences. | ||
2194 | IDBDatabase.close() | API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage |
The close() method of the IDBDatabase interface returns immediately and closes the connection in a separate thread. | ||
2195 | IDBDatabase.createObjectStore() | API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage |
The createObjectStore() method of the IDBDatabase interface creates and returns a new object store or index. | ||
2196 | IDBDatabase.deleteObjectStore() | API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage |
The deleteObjectStore() method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it. | ||
2197 | IDBDatabase: error event | |
The error event is fired on IDBDatabase when a request returns an error and the event bubbles up to the connection object. | ||
2198 | IDBDatabase.name | API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, name |
The name read-only property of the IDBDatabase interface is a DOMString that contains the name of the connected database. | ||
2199 | IDBDatabase.objectStoreNames | API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, objectStoreNames |
The objectStoreNames read-only property of the IDBDatabase interface is a DOMStringList containing a list of the names of the object stores currently in the connected database. | ||
2200 | IDBDatabase.onabort | API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onabort |
The onabort event handler of the IDBDatabase interface handles the abort event, fired when a transaction is aborted and bubbles up to the connection object. | ||
2201 | IDBDatabase.onclose | API, Event Handler, IDBDatabase, IndexedDB, Property, Reference, onclose |
The onclose event handler of the IDBDatabase interface handles the close event, which is fired when the database is unexpectedly closed. This can happen, for example, when the application is shut down or access to the disk the database is stored on is lost while the database is open. | ||
2202 | IDBDatabase.onerror | API, Database, IDBDatabase, IndexedDB, Property, Reference, Référence(2), Storage, onerror |
The onerror event handler of the IDBDatabase interface handles the error event, fired when a request returns an error and bubbles up to the connection object. | ||
2203 | IDBDatabase.onversionchange | API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onversionchange |
The onversionchange event handler of the IDBDatabase interface handles the versionchange event, fired when a database structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase ) was requested elsewhere (most probably in another window/tab on the same computer). | ||
2204 | IDBDatabase.transaction() | API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage |
The transaction method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction ) containing the IDBTransaction.objectStore method, which you can use to access your object store. | ||
2205 | IDBDatabase.version | API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, version |
The version property of the IDBDatabase interface is a 64-bit integer that contains the version of the connected database. When a database is first created, this attribute is an empty string. | ||
2206 | IDBDatabase: versionchange event | Event, IDBDatabase, Reference, versionchange |
The versionchange event is fired when a database structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase ) was requested. | ||
2207 | IDBDatabaseException | API, Obsolete, Reference |
Obsolete: This interface was removed from the specification and was replaced by usage of DOMException . | ||
2208 | IDBDatabaseSync | API, Experimental, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2209 | IDBEnvironment | API, DOM, Database, IDBEnvironment, IndexedDB, Interface, Obsolete, Reference, Référence(2), Storage, access, asynchronous, client-side |
Important: The indexedDB property that was previously defined in this mixin is instead now WindowOrWorkerGlobalScope.indexedDB (that is, defined as a member of the WindowOrWorkerGlobalScope mixin). | ||
2210 | IDBEnvironmentSync | API, Experimental, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2211 | IDBFactory | API, HTTP, IndexedDB, Interface, Offline, Reference, Storage |
The IDBFactory interface of the IndexedDB API lets applications asynchronously access the indexed databases. The object that implements the interface is window.indexedDB . You open — that is, create and access — and delete a database with this object, and not directly with IDBFactory . | ||
2212 | IDBFactory.cmp() | API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, cmp |
The cmp() method of the IDBFactory interface compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating. | ||
2213 | databases | API, Database, IDBFactory, Method, Reference, Storage, databases |
The databases method of the IDBFactory interface returns a list represening all the available databases, including their names and versions. | ||
2214 | IDBFactory.deleteDatabase() | API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, deleteDatabase |
The deleteDatabase() method of the IDBFactory interface requests the deletion of a database. The method returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously. | ||
2215 | IDBFactory.open() | API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, open |
The open() method of the IDBFactory interface requests opening a connection to a database. | ||
2216 | IDBFactorySync | API, Experimental, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2217 | IDBIndex | API, Database, IDBIndex, IndexedDB, Interface, Reference, Storage |
IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. | ||
2218 | IDBIndex.count() | API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, count |
The count() method of the IDBIndex interface returns an IDBRequest object, and in a separate thread, returns the number of records within a key range. | ||
2219 | IDBIndex.get() | API, Database, IDBIndex, IndexedDB, Method, Reference, Storage |
The get() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if key is set to an IDBKeyRange . | ||
2220 | IDBIndex.getAll() | API, IDBIndex, IndexedDB, Method, Reference, Storage |
The getAll() method of the IDBIndex interface retrieves all objects that are inside the index. | ||
2221 | IDBIndex.getAllKeys() | API, IDBIndex, IndexedDB, Method, Reference |
The getAllKeys() method of the IDBIndex interface instantly retrieves the primary keys of all objects inside the index, setting them as the result of the request object. | ||
2222 | IDBIndex.getKey() | API, Database, IDBIndex, IndexedDB, Method, Reference, Storage |
The getKey() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if key is set to an IDBKeyRange . | ||
2223 | IDBIndex.isAutoLocale | API, Database, Experimental, IDBIndex, IndexedDB, Property, Reference, Storage, isAutoLocale |
The isAutoLocale read-only property of the IDBIndex interface returns a Boolean indicating whether the index had a locale value of auto specified upon its creation (see createIndex() 's optionalParameters.) | ||
2224 | IDBIndex.keyPath | API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, keyPath |
The keyPath property of the IDBIndex interface returns the key path of the current index. If null, this index is not auto-populated. | ||
2225 | IDBIndex.locale | API, Database, Experimental, IDBIndex, IndexedDB, Locale, Property, Reference, Storage |
The locale read-only property of the IDBIndex interface returns the locale of the index (for example en-US , or pl ) if it had a locale value specified upon its creation (see createIndex() 's optionalParameters.) Note that this property always returns the current locale being used in this index, in other words, it never returns "auto" . | ||
2226 | IDBIndex.multiEntry | API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, multiEntry |
The multiEntry read-only property of the IDBIndex interface returns a boolean value that affects how the index behaves when the result of evaluating the index's key path yields an array. | ||
2227 | IDBIndex.name | API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, name |
The name property of the IDBIndex interface contains a string which names the index. | ||
2228 | IDBIndex.objectStore | API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, objectStore |
The objectStore property of the IDBIndex interface returns the name of the object store referenced by the current index. | ||
2229 | IDBIndex.openCursor() | API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openCursor |
The openCursor() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range. | ||
2230 | IDBIndex.openKeyCursor() | API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openKeyCursor |
The openKeyCursor() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index. | ||
2231 | IDBIndex.unique | API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, unique |
The unique read-only property returns a boolean that states whether the index allows duplicate keys. | ||
2232 | IDBIndexSync | API, Experimental, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2233 | IDBKeyRange | API, Database, IDBKeyRange, IndexedDB, Interface, Reference, Storage |
The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys. Records can be retrieved from IDBObjectStore and IDBIndex objects using keys or a range of keys. You can limit the range using lower and upper bounds. For example, you can iterate over all values of a key in the value range A–Z. | ||
2234 | IDBKeyRange.bound() | API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, bound |
The bound() method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds. The bounds can be open (that is, the bounds exclude the endpoint values) or closed (that is, the bounds include the endpoint values). By default, the bounds are closed. | ||
2235 | IDBKeyRange.includes() | API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, includes |
The includes() method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range. | ||
2236 | IDBKeyRange.lower | API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lower |
The lower read-only property of the IDBKeyRange interface returns the lower bound of the key range. | ||
2237 | IDBKeyRange.lowerBound() | API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, lowerBound |
The lowerBound() method of the IDBKeyRange interface creates a new key range with only a lower bound. By default, it includes the lower endpoint value and is closed. | ||
2238 | IDBKeyRange.lowerOpen | API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lowerOpen |
The lowerOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range. | ||
2239 | IDBKeyRange.only() | API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, only |
The only() method of the IDBKeyRange interface creates a new key range containing a single value. | ||
2240 | IDBKeyRange.upper | API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upper |
The upper read-only property of the IDBKeyRange interface returns the upper bound of the key range. | ||
2241 | IDBKeyRange.upperBound() | API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, upperBound |
The upperBound() method of the IDBKeyRange interface creates a new upper-bound key range. By default, it includes the upper endpoint value and is closed. | ||
2242 | IDBKeyRange.upperOpen | API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upperOpen |
The upperOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range. | ||
2243 | IDBLocaleAwareKeyRange | API, Database, Experimental, IDBKeyRange, IndexedDB, Interface, Reference, Storage |
The IDBLocaleAwareKeyRange interface of the IndexedDB API is a Firefox-specific version of IDBKeyRange — it functions in exactly the same fashion, and has the same properties and methods, but it is intended for use with IDBIndex objects when the original index had a locale value specified upon its creation (see createIndex() 's optionalParameters) — that is, it has locale aware sorting enabled. | ||
2244 | IDBMutableFile | API, DOM, Files, Reference |
The IDBMutableFile interface provides access in read or write mode to a file, dealing with all the necessary locks. | ||
2245 | FileHandle.getFile() | API, Files, Method, Non Standard, Reference, WebAPI |
The getFile method allows to retrieve a read-only snapshot of the handled file in the form of a File object. | ||
2246 | FileHandle.name | API, Files, Non Standard, Property, Reference, WebAPI |
Provides the name of the file. | ||
2247 | FileHandle.onabort | API, Files, Non Standard, Property, Reference, WebAPI |
Specifies an event listener to receive abort events. These events occur when the associated locked file has been aborted with the LockedFile.abort() method. | ||
2248 | FileHandle.onerror | API, Files, Non Standard, Property, Reference, WebAPI |
Specifies an event listener to receive error events. These events occur when something goes wrong. | ||
2249 | FileHandle.open() | API, Files, Method, Non Standard, Reference, WebAPI |
The open method returns a LockedFile object that allows to safely write in the file. | ||
2250 | FileHandle.type | API, Files, Non Standard, Property, Reference, WebAPI |
Provides the mime type of the file. | ||
2251 | IDBObjectStore | API, IDBObjectStore, IndexedDB, Interface, Reference |
The IDBObjectStore interface of the IndexedDB API represents an object store in a database. Records within an object store are sorted according to their keys. This sorting enables fast insertion, look-up, and ordered retrieval. | ||
2252 | IDBObjectStore.add() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage |
The add() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, creates a structured clone of the value, and stores the cloned value in the object store. This is for adding new records to an object store. | ||
2253 | IDBObjectStore.autoIncrement | API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, autoIncrement |
The autoIncrement read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store. | ||
2254 | IDBObjectStore.clear() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, clear |
The clear() method of the IDBObjectStore interface creates and immediately returns an IDBRequest object, and clears this object store in a separate thread. This is for deleting all the current data out of an object store. | ||
2255 | IDBObjectStore.count() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, count, data |
The count() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or IDBKeyRange . If no arguments are provided, it returns the total number of records in the store. | ||
2256 | IDBObjectStore.createIndex() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, createIndex |
The createIndex() method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database. It creates a new field/column defining a new data point for each database record to contain. | ||
2257 | IDBObjectStore.delete() | API, IndexedDB, Method, Reference |
The delete() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records. | ||
2258 | IDBObjectStore.deleteIndex() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, deleteIndex |
The deleteIndex() method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade. | ||
2259 | IDBObjectStore.get() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage |
The get() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the object store selected by the specified key. This is for retrieving specific records from an object store. | ||
2260 | IDBObjectStore.getAll() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, getAll |
The getAll() method of the IDBObjectStore interface returns an IDBRequest object containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given. | ||
2261 | IDBObjectStore.getAllKeys() | API, IDBObjectStore, IndexedDB, Method, Reference, Storage |
The getAllKeys() method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given. | ||
2262 | IDBObjectStore.getKey() | IBDObjectStore, IndexedDB, Method, Reference, Storage, Web API |
The getKey() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query. This is for retrieving specific records from an object store. | ||
2263 | IDBObjectStore.index() | API, Database, IDBObjectStore, Index, IndexedDB, Method, NeedsExample, Reference, Storage |
The index() method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example, return a series of records sorted by that index using a cursor. | ||
2264 | IDBObjectStore.indexNames | API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, indexNames |
The indexNames read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store. | ||
2265 | IDBObjectStore.keyPath | API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, keyPath |
The keyPath read-only property of the IDBObjectStore interface returns the key path of this object store. | ||
2266 | IDBObjectStore.name | API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, name |
The name property of the IDBObjectStore interface indicates the name of this object store. | ||
2267 | IDBObjectStore.openCursor() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, openCursor |
The openCursor() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object. Used for iterating through an object store with a cursor. | ||
2268 | IDBObjectStore.openKeyCursor() | API, Database, IDBObjectStore, Method, Reference, Storage, openKeyCursor |
The openKeyCursor() method of the IDBObjectStore interface returns an IDBRequest object whose result will be set to an IDBCursor that can be used to iterate through matching results. Used for iterating through the keys of an object store with a cursor. | ||
2269 | IDBObjectStore.put() | API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, put |
The put() method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist. | ||
2270 | IDBObjectStore.transaction | API, Database, IDBObjectStorage, IndexedDB, Property, Reference, Storage, transaction |
The transaction read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs. | ||
2271 | IDBObjectStoreSync | API, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2272 | IDBOpenDBRequest | API, DOM Reference, Database, IDBOpenDBRequest, IndexedDB, Interface, Reference, Storage |
The IDBOpenDBRequest interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase ), using specific event handler attributes. | ||
2273 | IDBOpenDBRequest: blocked event | Event, IDBOpenDBRequest, Reference, blocked |
The blocked handler is executed when an open connection to a database is blocking a versionchange transaction on the same database. | ||
2274 | IDBOpenDBRequest.onblocked | API, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onblocked |
The onblocked event handler of the IDBOpenDBRequest interface is the event handler for the blocked event. This event is triggered when the upgradeneeded should be triggered because of a version change but the database is still in use (that is, not closed) somewhere, even after the versionchange event was sent. | ||
2275 | IDBOpenDBRequest.onupgradeneeded | API, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onupgradeneeded |
The onupgradeneeded property of the IDBOpenDBRequest interface is the event handler for the upgradeneeded event, triggered when a database of a bigger version number than the existing stored database is loaded. | ||
2276 | IDBOpenDBRequest: upgradeneeded event | Event, IDBOpenDBRequest, Reference, upgradeneeded |
The upgradeneeded event is fired when an attempt was made to open a database with a version number higher than its current version. | ||
2277 | IDBRequest | API, Database, IDBRequest, IndexedDB, Interface, Reference, Storage |
The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes. Each reading and writing operation on a database is done using a request. | ||
2278 | IDBRequest: error event | Error, Event, IDBRequest, Reference |
The error handler is executed when an error caused a request to fail. | ||
2279 | IDBRequest.error | API, Database, Error, IDBRequest, IndexedDB, Property, Reference, Storage |
The error read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request. | ||
2280 | IDBRequest.onerror | API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onerror |
The onerror event handler of the IDBRequest interface handles the error event, fired when a request returns an error. | ||
2281 | IDBRequest.onsuccess | API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onsuccess |
The onsuccess event handler of the IDBRequest interface handles the success event, fired when the result of a request is successfully returned. | ||
2282 | IDBRequest.readyState | API, Database, IDBRequest, IndexedDB, Property, Reference, Référence(2), Storage, readyState |
The readyState read-only property of the IDBRequest interface returns the state of the request. | ||
2283 | IDBRequest.result | API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, result |
The result read-only property of the IDBRequest interface returns the result of the request. If the request failed and the result is not available, an InvalidStateError exception is thrown. | ||
2284 | IDBRequest.source | API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, source |
The source read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store. If no source exists (such as when calling indexedDB.open ), it returns null. | ||
2285 | IDBRequest: success event | |
The success event is fired when an IDBRequest succeeds. | ||
2286 | IDBRequest.transaction | API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, transaction |
The transaction read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside. | ||
2287 | IDBTransaction | API, Database, IDBTransaction, IndexedDB, Interface, Reference, Storage |
The IDBTransaction interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes. All reading and writing of data is done within transactions. You use IDBDatabase to start transactions, IDBTransaction to set the mode of the transaction (e.g. is it readonly or readwrite ), and you access an IDBObjectStore to make a request. You can also use an IDBTransaction object to abort transactions. | ||
2288 | IDBTransaction: abort event | Event, IDBTransaction, Reference, abort |
The abort event is fired when an IndexedDB transaction is aborted. | ||
2289 | IDBTransaction.abort() | API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, abort |
The abort() method of the IDBTransaction interface rolls back all the changes to objects in the database associated with this transaction. | ||
2290 | IDBTransaction.commit() | API, IDBTransaction, Method, Reference, Web, commit |
The commit() method of the IDBTransaction interface commits the transaction if it is called on an active transaction. | ||
2291 | IDBTransaction: complete event | Event, IDBTransaction, Reference, complete |
The complete handler is executed when a transaction successfully completed. | ||
2292 | IDBTransaction.db | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db |
The db read-only property of the IDBTransaction interface returns the database connection with which this transaction is associated. | ||
2293 | IDBTransaction: error event | |
The error event is fired on IDBTransaction when a request returns an error and the event bubbles up to the transaction object. | ||
2294 | IDBTransaction.error | API, Database, Error, IDBTransaction, IndexedDB, Property, Reference, Storage |
The IDBTransaction.error property of the IDBTransaction interface returns one of several types of error when there is an unsuccessful transaction. | ||
2295 | IDBTransaction.mode | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, mode |
The mode read-only property of the IDBTransaction interface returns the current mode for accessing the data in the object stores in the scope of the transaction (i.e. is the mode to be read-only, or do you want to write to the object stores?) The default value is readonly . | ||
2296 | IDBTransaction.objectStore() | API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, objectStore |
The objectStore() method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction. | ||
2297 | IDBTransaction.objectStoreNames | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db |
The objectStoreNames read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects. | ||
2298 | IDBTransaction.onabort | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onabort |
The onabort event handler of the IDBTransaction interface handles the abort event, fired, when the current transaction is aborted via the IDBTransaction.abort method. | ||
2299 | IDBTransaction.oncomplete | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, oncomplete |
The oncomplete event handler of the IDBTransaction interface handles the complete event, fired when the transaction successfully completes. | ||
2300 | IDBTransaction.onerror | API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onerror |
The onerror event handler of the IDBTransaction interface handles the error event, fired when a request returns an error and bubbles up to the transaction object. | ||
2301 | IDBTransactionSync | API, Experimental, IndexedDB, Interface, Obsolete, Reference |
Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers. | ||
2302 | IDBVersionChangeEvent | API, DOM, Database, IDBVersionChangeEvent, IndexedDB, Interface, JavaScript, Reference, Storage |
The IDBVersionChangeEvent interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. | ||
2303 | IDBVersionChangeEvent.newVersion | API, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, newVersion |
The newVersion read-only property of the IDBVersionChangeEvent interface returns the new version number of the database. | ||
2304 | IDBVersionChangeEvent.oldVersion | API, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, oldVersion |
The oldVersion read-only property of the IDBVersionChangeEvent interface returns the old version number of the database. | ||
2305 | IDBVersionChangeEvent.version | API, Deprecated, IndexedDB, NeedsExample, Property, Reference, Référence(2) |
The version property of the IDBVersionChangeEvent interface returns The new version of the database in a versionchange transaction. | ||
2306 | IdleDeadline | API, Background Tasks API, IdleDeadline, Interface, Reference, requestIdleCallback |
The IdleDeadline interface is used as the data type of the input parameter to idle callbacks established by calling Window.requestIdleCallback() . It offers a method, IdleDeadline.timeRemaining , which lets you determine how much longer the user agent estimates it will remain idle and a property, IdleDeadline.didTimeout , which lets you determine if your callback is executing because its timeout duration expired. | ||
2307 | IdleDeadline.didTimeout | API, Background Tasks, HTML DOM, IdleDeadline, NeedsExample, Property, Reference, Window, didTimeout, requestIdleCallback |
The read-only didTimeout property on the IdleDeadline interface is a Boolean value which indicates whether or not the idle callback is being invoked because the timeout interval specified when Window.requestIdleCallback() was called has expired. | ||
2308 | IdleDeadline.timeRemaining() | API, Background Tasks API, IdleDeadline, Method, Reference, timeRemaining |
The timeRemaining () method on the IdleDeadline interface returns the estimated number of milliseconds remaining in the current idle period. The callback can call this method at any time to determine how much time it can continue to work before it must return. For example, if the callback finishes a task and has another one to begin, it can call timeRemaining() to see if there's enough time to complete the next task. If there isn't, the callback can just return immediately, or look for other work to do with the remaining time. | ||
2309 | IIRFilterNode | API, Audio, IIRFilterNode, Interface, Reference, Web Audio API |
The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed. | ||
2310 | IIRFilterNode.getFrequencyResponse() | API, Audio, IIRFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse |
The getFrequencyResponse() method of the IIRFilterNode interface takes the current filtering algorithm's settings and calculates the frequency response for frequencies specified in a specified array of frequencies. | ||
2311 | IIRFilterNode() | API, Audio, Constructor, IIRFilterNode, Media, Reference, Web Audio API |
The IIRFilterNode() constructor of the Web Audio API creates a new IIRFilterNode object which an AudioNode processor which implements a general infinite impulse response filter. | ||
2312 | ImageBitmap | API, Canvas, ImageBitmap, Interface, Reference |
The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency. It can be created from a variety of source objects using the ImageBitmapFactories.createImageBitmap factory method. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL. | ||
2313 | ImageBitmap.close() | API, Experimental, ImageBitmap, Method, OffscreenCanvas, Reference |
The ImageBitmap .close() method disposes of all graphical resources associated with an ImageBitmap . | ||
2314 | ImageBitmap.height | API, Canvas, ImageBitmap, Property, Reference |
The read-only ImageBitmap.height property returns the ImageBitmap object's height in CSS pixels. | ||
2315 | ImageBitmap.width | API, Canvas, ImageBitmap, Property, Reference |
The read-only ImageBitmap.width property returns the ImageBitmap object's width in CSS pixels. | ||
2316 | ImageBitmapRenderingContext | API, Canvas, Experimental, Interface, OffscreenCanvas, Reference |
The ImageBitmapRenderingContext interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap . Its context id (the first argument to HTMLCanvasElement.getContext() or OffscreenCanvas.getContext() ) is "bitmaprenderer" . | ||
2317 | ImageBitmapRenderingContext.transferFromImageBitmap() | API, Experimental, ImageBitmapRenderingContext, Method, OffscreenCanvas, Reference, transferFromImageBitmap |
The ImageBitmapRenderingContext.transferFromImageBitmap() method displays the given ImageBitmap in the canvas associated with this rendering context. The ownership of the ImageBitmap is transferred to the canvas as well. | ||
2318 | ImageCapture | API, Experimental, Image, Image Capture, ImageCapture, Interface, Media, MediaStream Image Capture API, Reference |
The ImageCapture interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device. It provides an interface for capturing images from a photographic device referenced through a valid MediaStreamTrack . | ||
2319 | ImageCapture.getPhotoCapabilities() | API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoCapabilities |
The getPhotoCapabilities() method of the ImageCapture interface returns a Promise that resolves with a PhotoCapabilities object containing the ranges of available configuration options. | ||
2320 | ImageCapture.getPhotoSettings() | API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoSettings |
The getPhotoSettings() method of the ImageCapture interface returns a Promise that resolves with a PhotoSettings object containing the current photo configuration settings. | ||
2321 | ImageCapture.grabFrame() | API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, grapFrame |
The grabFrame() method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with a ImageBitmap containing the snapshot. | ||
2322 | ImageCapture() constructor | API, Constructor, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Reference |
The ImageCapture() constructor creates a new ImageCapture object. | ||
2323 | ImageCapture.takePhoto() | API, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Method, Reference, takePhoto |
The takePhoto() method of the ImageCapture interface takes a single exposure using the video capture device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data. | ||
2324 | ImageCapture.track | API, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Property, Read-only, Reference |
The track read-only property of the ImageCapture interface returns a reference to the MediaStreamTrack passed to the ImageCapture.ImageCapture constructor. | ||
2325 | ImageData | API, Canvas, ImageData, Images |
The ImageData interface represents the underlying pixel data of an area of a canvas element. | ||
2326 | ImageData.data | API, Canvas, ImageData, Property, Reference |
The readonly ImageData.data property returns a Uint8ClampedArray that contains the ImageData object's pixel data. Data is stored as a one-dimensional array in the RGBA order, with integer values between 0 and 255 (inclusive). | ||
2327 | ImageData.height | API, Canvas, ImageData, Property, Reference |
The readonly ImageData.height property returns the number of rows in the ImageData object. | ||
2328 | ImageData() | API, Canvas, Constructor, ImageData, Reference |
The ImageData() constructor returns a newly instantiated ImageData object built from the typed array given and having the specified width and height. | ||
2329 | ImageData.width | API, Canvas, ImageData, Property, Reference |
The readonly ImageData.width property returns the number of pixels per row in the ImageData object. | ||
2330 | IndexedDB API | API, Advanced, Database, IndexedDB, Landing, Reference, Storage |
IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data. IndexedDB provides a solution. This is the main landing page for MDN's IndexedDB coverage — here we provide links to the full API reference and usage guides, browser support details, and some explanation of key concepts. | ||
2331 | Basic concepts | Advanced, IndexedDB, concepts |
IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, these applications can work both online and offline. IndexedDB is useful for applications that store a large amount of data (for example, a catalog of DVDs in a lending library) and applications that don't need persistent internet connectivity to work (for example, mail clients, to-do lists, and notepads). | ||
2332 | Browser storage limits and eviction criteria | Database, IndexedDB, LRU, Storage, client-side, eviction, limit |
There are a number of web technologies that store data of one kind or another on the client-side (i.e., on your local disk). The process by which the browser works out how much space to allocate to web data storage and what to delete when that limit is reached is not simple, and differs between browsers. This article describes how browsers determine what local content to purge and when in order to free up needed local storage space. | ||
2333 | Checking when a deadline is due | Apps, Date, Example, Guide, IndexedDB, deadline |
In this article we look at a complex example involving checking the current time and date against a deadline stored via IndexedDB. The main complication here is checking the stored deadline info (month, hour, day, etc.) against the current time and date taken from a Date object. | ||
2334 | Using IndexedDB | API, Advanced, Database, Guide, IndexedDB, Storage, Tutorial, jsstore |
IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline. | ||
2335 | InputDeviceCapabilities API | API, InputDeviceCapabilities, Overview, Reference |
The InputDeviceCapabilities API provides details about the underlying sources of input events. The API attempts to describe how the device behaves rather than what it is. For example, the first version of the API indicates whether a device fires touch events rather than whether it is a touch screen. | ||
2336 | InputDeviceCapabilities | API, Experimental, InputDeviceCapabilities, Interface, Reference |
The InputDeviceCapabilities interface of the Input Device Capabilities API provides information about the physical device or a group of related devices responsible for generating input events. Events caused by the same physical input device get the same instance of this object, but the converse isn't true. For example, two mice with the same capabilities in a system may appear as a single InputDeviceCapabilities instance. | ||
2337 | firesTouchEvents | needsTags |
The InputDeviceCapabilities.firesTouchEvents read-only property returns a Boolean that indicates whether the device dispatches touch events. | ||
2338 | InputDeviceCapabilities | |
The InputDeviceCapabilities() constructor creates a new InputDeviceCapabilities object provides information about the physical device responsible for generating a touch event. | ||
2339 | InputEvent | API, DOM, DOM Events, Input, Interface, Reference, events |
The InputEvent interface represents an event notifying the user of editable content changes. | ||
2340 | InputEvent.data | API, DOM Events, Experimental, Input, InputEvent, Property, Reference, data, events |
The data read-only property of the InputEvent interface returns a DOMString with inserted characters. This may be an empty string if the change doesn't insert text, such as when characters are deleted. | ||
2341 | InputEvent.dataTransfer | API, DOM Events, DataTransfer, Experimental, Input, InputEvent, Property, Reference, events |
The dataTransfer read-only property of the InputEvent interface returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editible content. | ||
2342 | InputEvent.getTargetRanges() | API, DOM Events, Input, InputEvent, Method, Reference, events, getTargetRanges() |
The getTargetRanges() method of the InputEvent interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled. | ||
2343 | InputEvent() | API, Constructor, DOM, DOM Events, Experimental, Input, InputEvent, Reference, events |
The InputEvent() constructor creates a new InputEvent . | ||
2344 | InputEvent.inputType | API, DOM, DOM Events, Input, InputEvent, Property, Reference, events, inputType |
The inputType read-only property of the InputEvent interface returns the type of change made to editible content. Possible changes include for example inserting, deleting, and formatting text. | ||
2345 | InputEvent.isComposing | API, InputEvent, Property, Read-only, Reference |
The InputEvent.isComposing read-only property returns a Boolean value indicating if the event is fired after compositionstart and before compositionend . | ||
2346 | InstallEvent | API, InstallEvent, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorker, Workers |
The parameter passed into the ServiceWorkerGlobalScope.oninstall handler, the InstallEvent interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker . As a child of ExtendableEvent , it ensures that functional events such as FetchEvent are not dispatched during installation. | ||
2347 | InstallEvent.activeWorker | API, InstallEvent, Property, Reference, Service Workers, ServiceWorker, activeWorker |
The activeWorker read-only property of the InstallEvent interface returns the ServiceWorker that is currently actively controlling the page. | ||
2348 | InstallEvent.InstallEvent() | API, Constructor, Experimental, Expérimental(2), InstallEvent, Reference, Service Workers, ServiceWorker |
The InstallEvent() constructor creates a new InstallEvent object. | ||
2349 | InstallTrigger | API, Add-ons, Apps, Extensions, Interface, Non-standard, Reference |
The InstallTrigger interface is an interesting outlier in the Apps API; it's included in this API but are inherited from the old Mozilla XPInstall technology for installing add-ons. It is used for triggering the download and installation of an add-on (or anything packaged in an .xpi file) from a Web page, using JavaScript code to kick off the install process. | ||
2350 | compareVersion | |
Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension. | ||
2351 | enabled | |
Indicates whether or not Software Installation is enabled for this client machine. | ||
2352 | getVersion | |
Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from install.js based packages to the new packaging scheme with an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension. | ||
2353 | install | |
Installs one or more XPI files on the local machine. | ||
2354 | installChrome | |
Installs new skin or locale packages in Netscape 6 and Mozilla. | ||
2355 | startSoftwareUpdate | |
Triggers the downloading and installation of the software at the specified URL. | ||
2356 | Intersection Observer API | API, Clipping, Intersection, Intersection Observer API, IntersectionObserver, Overview, Performance, Reference, Web |
The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport. | ||
2357 | Timing element visibility with the Intersection Observer API | API, Example, Intermediate, Intersection Observer, Intersection Observer API, Tutorial |
In this article, we'll build a mock blog which has a number of ads interspersed among the contents of the page, then use the Intersection Observer API to track how much time each ad is visible to the user. When an ad exceeds one minute of visible time, it will be replaced with a new one. | ||
2358 | IntersectionObserver | API, Interface, Intersection Observer API, IntersectionObserver, Reference, observers |
provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport. | ||
2359 | IntersectionObserver.disconnect() | API, Disconnect, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference |
The IntersectionObserver method disconnect() stops watching all of its target elements for visibility changes. | ||
2360 | IntersectionObserver.IntersectionObserver() | API, Constructor, Intersection Observer API, IntersectionObserver, Reference, Visibility, Visible |
The IntersectionObserver() constructor creates and returns a new IntersectionObserver object. | ||
2361 | IntersectionObserver.observe() | API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, observe |
The IntersectionObserver method observe() adds an element to the set of target elements being watched by the IntersectionObserver . One observer has one set of thresholds and one root, but can watch multiple target elements for visibility changes in keeping with those. | ||
2362 | IntersectionObserver.root | API, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, root |
The IntersectionObserver interface's read-only root property identifies the Element or Document whose bounds are treated as the bounding box of the viewport for the element which is the observer's target. | ||
2363 | IntersectionObserver.rootMargin | API, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, rootMargin |
The IntersectionObserver interface's read-only rootMargin property is a string with syntax similar to that of the CSS margin property. Each side of the rectangle represented by rootMargin is added to the corresponding side in the IntersectionObserver.root element's bounding box before the intersection test is performed. This lets you, for example, adjust the bounds outward so that the target element is considered 100% visible even if a certain number of pixels worth of width or height is clipped away, or treat the target as partially hidden if an edge is too close to the edge of the root's bounding box. | ||
2364 | IntersectionObserver.takeRecords() | API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, NeedsExample, Reference, takeRecords |
The IntersectionObserver method takeRecords() returns an array of IntersectionObserverEntry objects, one for each targeted element which has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback. | ||
2365 | IntersectionObserver.thresholds | API, Draft, Intersection Observer, Intersection Observer API, IntersectionObserver, NeedsExample, Property, Reference |
The IntersectionObserver interface's read-only thresholds property returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver.IntersectionObserver . If only one threshold ratio was provided when instanitating the object, this will be an array containing that single value. | ||
2366 | IntersectionObserver.unobserve() | API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, unobserve |
The IntersectionObserver method unobserve() instructs the IntersectionObserver to stop observing the specified target element. | ||
2367 | IntersectionObserverEntry | API, Interface, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Reference |
The IntersectionObserverEntry interface of the Intersection Observer API describes the intersection between the target element and its root container at a specific moment of transition. | ||
2368 | IntersectionObserverEntry.boundingClientRect | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, boundingClientRect |
The IntersectionObserverEntry interface's read-only boundingClientRect property returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element. | ||
2369 | IntersectionObserverEntry.intersectionRatio | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRatio |
The IntersectionObserverEntry interface's read-only intersectionRatio property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0. | ||
2370 | IntersectionObserverEntry.intersectionRect | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRect |
The IntersectionObserverEntry interface's read-only intersectionRect property is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root. | ||
2371 | IntersectionObserverEntry.isIntersecting | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, isIntersecting |
The IntersectionObserverEntry interface's read-only isIntersecting property is a Boolean value which is true if the target element intersects with the intersection observer's root. If this is true , then, the IntersectionObserverEntry describes a transition into a state of intersection; if it's false , then you know the transition is from intersecting to not-intersecting. | ||
2372 | IntersectionObserverEntry.rootBounds | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, rootBounds |
The IntersectionObserverEntry interface's read-only rootBounds property is a DOMRectReadOnly corresponding to the IntersectionObserverEntry.target 's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified. | ||
2373 | IntersectionObserverEntry.target | API, Element, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, target |
The IntersectionObserverEntry interface's read-only target property indicates which targeted Element has changed its amount of intersection with the intersection root. | ||
2374 | IntersectionObserverEntry.time | API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, Time |
The IntersectionObserverEntry interface's read-only time property is a DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created. | ||
2375 | InterventionReportBody | API, Experimental, Interface, InterventionReportBody, Reference, Reporting API |
The InterventionReportBody interface of the Reporting API represents the body of an intervention report (the return value of its Report.body property). | ||
2376 | Keyboard API | API, Experimental, Keyboard API, Keyboard Lock, Keyboard Map, Overview, Reference |
The Keyboard API provides methods for working with a physical keyboard that is attached to a device running a browser. It provides several capabilities. Keyboard mapping provides an interface for retrieving the string generated by particular physical key on a keyboard to correctly identify that key to a user. Keyboard locking enables a web page to capture keys that are normally reserved by the user agent or the underlying operating system. The intended use of the Keyboard API is by web applications such as games or remote access apps that provide a full-screen immersive experience. | ||
2377 | Keyboard | API, Experimental, Interface, Keyboard API, Keyboard Lock, Keyboard Map, Reference, keyboard |
The Keyboard interface of the Keyboard API provides functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard. | ||
2378 | Keyboard.getLayoutMap() | API, Keyboard API, Keyboard Lock, Keyboard Map, Method, Reference, getLayoutMap(), keyboard |
The getLayoutMap() method of the Keyboard interface returns a Promise that resolves with an instance of KeyboardLayoutMap which is a map-like object with functions for retrieving the strings associated with specific physical keys. | ||
2379 | Keyboard.lock() | API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, lock() |
The lock() method of the Keyboard interface returns a Promise after enabling the capture of keypresses for any or all of the keys on the physical keyboard. This method can only capture keys that are granted access by the underlying operating system. | ||
2380 | Keyboard.unlock() | API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, unLock() |
The unlock() method of the Keyboard interface unlocks all keys captured by the Keyboard.lock() method and returns synchronously. | ||
2381 | KeyboardEvent | API, DOM, Event, Input, Interface, Key Events, Keyboard Events, KeyboardEvent, MakeBrowserAgnostic, Reference, UI Events, keyboard, user input |
KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. | ||
2382 | KeyboardEvent.altKey | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The KeyboardEvent.altKey read-only property is a Boolean that indicates if the alt key (Option or ⌥ on OS X) was pressed (true ) or not (false ) when the event occurred. | ||
2383 | KeyboardEvent.charCode | API, DOM, Deprecated, KeyboardEvent, Property, Reference |
The charCode read-only property of the KeyboardEvent interface returns the Unicode value of a character key pressed during a keypress event. | ||
2384 | KeyboardEvent.code | API, Code, DOM, DOM Events, KeyboardEvent, Property, Read-only, Reference, UI Events |
The KeyboardEvent.code property represents a physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a value that isn't altered by keyboard layout or the state of the modifier keys. | ||
2385 | KeyboardEvent: code values | |
The following tables show what code values are used for each native scancode or virtual keycode on major platforms. The reason is that some browsers choose to interpret physical keys differently, there are some differences in which keys map to which codes. These tables show those variations when known. | ||
2386 | KeyboardEvent.ctrlKey | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The KeyboardEvent.ctrlKey read-only property returns a Boolean that indicates if the control key was pressed (true ) or not (false ) when the event occurred. | ||
2387 | KeyboardEvent.getModifierState() | API, DOM, KeyboardEvent, Method, Reference, getModifierState |
The KeyboardEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (that is the modifier key is pressed or locked), otherwise, false . | ||
2388 | KeyboardEvent.initKeyboardEvent() | API, Deprecated, KeyboardEvent, Method, Reference |
The KeyboardEvent.initKeyboardEvent() method initializes the attributes of a keyboard event object. This method was introduced in draft of DOM Level 3 Events, but deprecated in newer draft. Gecko won't support this feature since implementing this method as experimental broke existing web apps (see 999645 ). Web applications should use constructor instead of this if it's available. | ||
2389 | KeyboardEvent.initKeyEvent() | API, DOM, Deprecated, KeyboardEvent, Method, Reference |
The KeyboardEvent.initKeyEvent() method is used to initialize the value of an event created using document.createEvent ("KeyboardEvent") . Events initialized in this way must have been created with the document.createEvent ("KeyboardEvent") method. initKeyEvent() must be called to set the event before it is dispatched. | ||
2390 | KeyboardEvent.isComposing | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The KeyboardEvent.isComposing read-only property returns a Boolean value indicating if the event is fired within a composition session, i.e. after Element/compositionstart_event and before Element/compositionend_event . | ||
2391 | KeyboardEvent.key | API, DOM, KeyboardEvent, Property, Read-only, Reference, UI Events |
The KeyboardEvent interface's key read-only property returns the value of the key pressed by the user, taking into consideration the state of modifier keys such as Shift as well as the keyboard locale and layout. | ||
2392 | Key Values | Characters, DOM, Key Codes, Key Values, KeyboardEvent, Keycodes, Keypad, Keystrokes, Meta, Meta Keys, Modifier Keys, Modifiers, Reference, UI Events, events, keyboard, keys |
The tables below list the standard key values in various categories of key, with an explanation of what the key is typically used for. Corresponding virtual keycodes for common platforms are included where available. | ||
2393 | KeyboardEvent() | API, Constructor, DOM, KeyboardEvent, Reference |
The KeyboardEvent() constructor creates a new KeyboardEvent . | ||
2394 | KeyboardEvent.keyCode | API, DOM, DOM Events, Deprecated, KeyboardEvent, Property, Read-only, Reference, keyCode |
The deprecated KeyboardEvent.keyCode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key. | ||
2395 | KeyboardEvent.keyIdentifier | API, DOM, Deprecated, Non-standard, Property, Reference, events |
The deprecated KeyboardEvent.keyIdentifier read-only property returns a "key identifier" string that can be used to determine what key was pressed. Its non-deprecated replacement is KeyboardEvent.key . | ||
2396 | KeyboardEvent.location | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device. | ||
2397 | KeyboardEvent.metaKey | API, DOM, MouseEvent, Property, Read-only, Reference |
The KeyboardEvent.metaKey read-only property returning a Boolean that indicates if the Meta key was pressed (true ) or not (false ) when the event occurred. Some operating systems may intercept the key so it is never detected. | ||
2398 | KeyboardEvent.repeat | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The repeat read-only property of the KeyboardEvent interface returns a Boolean that is true if the given key is being held down such that it is automatically repeating. | ||
2399 | KeyboardEvent.shiftKey | API, DOM, KeyboardEvent, Property, Read-only, Reference |
The KeyboardEvent.shiftKey read-only property is a Boolean that indicates if the shift key was pressed (true ) or not (false ) when the event occurred. | ||
2400 | KeyboardEvent.which | API, DOM, Deprecated, KeyboardEvent, Property, Read-only, Reference |
The which read-only property of the KeyboardEvent interface returns the numeric keyCode of the key pressed, or the character code (charCode ) for an alphanumeric key pressed. | ||
2401 | KeyboardLayoutMap | API, Experimental, Interface, Keyboard API, Keyboard Map, KeyboardLayoutMap, Reference, keyboard |
The KeyboardLayoutMap interface of the Keyboard API is a map-like object with functions for retrieving the string associated with specific physical keys. | ||
2402 | KeyboardLayoutMap.entries | API, Entries, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard |
The entries read-only property of the KeyboardLayoutMap interface returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a Statements/for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well). | ||
2403 | KeyboardLayoutMap.forEach() | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, forEach(), keyboard |
The forEach() method of the KeyboardLayoutMap interface executes a provided function once for each element of the map. | ||
2404 | KeyboardLayoutMap.get() | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, get(), keyboard |
The get() method of the KeyboardLayoutMap interface returns the element with the given key. | ||
2405 | KeyboardLayoutMap.has() | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, has(), keyboard |
The has() method of the KeyboardLayoutMap interface returns a boolean indicating whether the object has an element with the specified key. | ||
2406 | KeyboardLayoutMap.keys | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, keys |
The keys read-only property of the KeyboardLayoutMap interface returns a new | ||
2407 | KeyboardLayoutMap.size | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, size |
The size read-only property of the KeyboardLayoutMap interface returns the number of elements in the map. | ||
2408 | KeyboardLayoutMap.values | API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, values |
The values read-only property of the KeyboardLayoutMap interface returns a new | ||
2409 | KeyframeEffect | API, Animation, Animations, Experimental, Interface, KeyframeEffect, Reference, Web Animations, web animations api |
The KeyframeEffect interface of the Web Animations API lets us create sets of animatable properties and values, called keyframes. These can then be played using the Animation.Animation constructor. | ||
2410 | KeyframeEffect.composite | API, Animation, Experimental, KeyframeEffect, Property, Reference, composite, waapi, web animations api |
The composite property of a KeyframeEffect resolves how an element's animation impacts its underlying property values. | ||
2411 | KeyframeEffect.getKeyframes() | API, Animation, Experimental, KeyframeEffect, Method, Reference, getKeyframes, waapi, web animations api |
The getKeyframes() method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets. | ||
2412 | KeyframeEffect.iterationComposite | API, Animation, Experimental, KeyframeEffect, Property, Reference, iterationComposite, waapi, web animations api |
The iterationComposite property of a KeyframeEffect resolves how the animation's property value changes accumulate or override each other upon each of the animation's iterations. | ||
2413 | KeyframeEffect.KeyframeEffect() | API, Animation, Constructor, Experimental, KeyframeEffect, Reference, waapi, web animations api |
The KeyframeEffect() constructor of the Web Animations API returns a new object instance, and also allows you to clone an existing keyframe effect object instance. | ||
2414 | KeyframeEffect.setKeyframes() | API, Animations, Experimental, KeyframeEffect, Method, Reference, setKeyframes, waapi, web animations api |
The setKeyframes() method of the KeyframeEffect interface replaces the keyframes that make up the affected KeyframeEffect with a new set of keyframes. | ||
2415 | KeyframeEffect.target | API, Animation, Experimental, KeyframeEffect, Property, Reference, target, waapi, web animations api |
The target property of a KeyframeEffect interface represents the element or pseudo-element being animated. It may be null for animations that do not target a specific element. It performs as both a getter and a setter, except with animations and transitions generated by CSS. | ||
2416 | KeyframeEffectOptions | API, Dictionary, Draft, EffectTiming, Experimental, KeyframeEffect, KeyframeEffectOptions, NeedsCompatTable, Reference, Web Animations |
The KeyframeEffectOptions dictionary, part of the Web Animations API , is used by Element.animate() , KeyframeEffectReadOnly.KeyframeEffectReadOnly and KeyframeEffect.KeyframeEffect to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play. | ||
2417 | KHR_parallel_shader_compile | API, Reference, Shader, WebGL, WebGL extension, parallel shader compile |
The KHR_parallel_shader_compile extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR ) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime. | ||
2418 | LargestContentfulPaint | API, Interface, Largest Contentful Paint API, LargestContentfulPaint, Performance, Reference, Web Performance |
The LargestContentfulPaint interface of the Largest Contentful Paint API provides details about the largest image or text paint before user input on a web page. The timing of this paint is a good heuristic for when the main page content is available during load. | ||
2419 | LayoutShift | API, Interface, Layout Instability API, LayoutShift, Performance, Reference, Web Performance |
The LayoutShift interface of the Layout Instability API provides insights into the stability of web pages based on movements of the elements on the page. | ||
2420 | LayoutShiftAttribution | API, Interface, Layout Instability API, LayoutShiftAttribution, NeedsExample, Performance, Reference, Web Performance |
The LayoutShiftAttribution interface of the Layout Instability API provides debugging information about elements which have shifted. | ||
2421 | LinearAccelerationSensor | API, Accelerometer, Accelerometer API, Generic Sensor API, Interface, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors |
The LinearAccelerationSensor interface of the Sensor APIs provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity. | ||
2422 | LinearAccelerationSensor.LinearAccelerationSensor() | API, Accelerometer, Constructor, Generic Sensor API, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors |
The LinearAccelerationSensor constructor creates a new LinearAccelerationSensor object which provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity. | ||
2423 | LinkStyle | API, CSSOM, Interface, Reference |
The LinkStyle interface provides access to the associated CSS style sheet of a node. | ||
2424 | LocalFileSystem | API, File API, File System API, Offline, Reference, Référence(2), filesystem |
The LocalFileSystem interface of the File System API gives you access to a sandboxed file system. The methods are implemented by window and worker objects. | ||
2425 | LocalFileSystemSync | API, File API, File System API, Offline, Reference, Référence(2), filesystem |
The LocalFileSystemSync interface of the File System API gives you access to a sandboxed file system. It is intended to be used with WebWorkers. The methods are implemented by worker objects. | ||
2426 | LocalFileSystemSync.requestFileSystemSync() | |
The requestFileSystemSync method of the LocalFileSystemSync interface of the File System API creates a new a sandboxed file system. It is intended to be used with WebWorkers. The methods are implemented by worker objects. | ||
2427 | LocalMediaStream | API, DOM, DOM Reference, Interface, LocalMediaStream, Media, Media Capture and Streams API, Media Stream API, Obsolete, Reference, WebRTC |
Do not use LocalMediaStream ; you need to update any code that does use it as soon as possible or your content or application will stop working. See /wiki/en-US/docs/Web/API/MediaStreamTrack to learn how. | ||
2428 | Location | API, HTML DOM, Interface, Location, Reference |
The Location interface represents the location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location , accessible via Document.location and Window.location respectively. | ||
2429 | Location: ancestorOrigins | API, Location, Property, Reference |
The ancestorOrigins read-only property of the Location interface is a static DOMStringList containing, in reverse order, the origins of all ancestor browsing contexts of the document associated with the given Location object. | ||
2430 | Location: assign() | API, HTML-DOM, Location, Method, Reference |
The Location.assign() method causes the window to load and display the document at the URL specified. After the navigation occurs, the user can navigate back to the page that called Location.assign() by pressing the "back" button. | ||
2431 | Location: hash | API, Location, Property, Reference |
The hash property of the Location interface returns a USVString containing a '#' followed by the fragment identifier of the URL — the ID on the page that the URL is trying to target. | ||
2432 | Location: host | API, Location, Property, Reference |
The host property of the Location interface is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':' , and the port of the URL. | ||
2433 | Location: hostname | API, Location, Property, Reference |
The hostname property of the Location interface is a USVString containing the domain of the URL. | ||
2434 | Location: href | API, Location, Property, Reference |
The href property of the Location interface is a stringifier that returns a USVString containing the whole URL, and allows the href to be updated. | ||
2435 | Location: origin | API, Location, Property, Reference |
The origin read-only property of the Location interface is a USVString containing the Unicode serialization of the origin of the represented URL | ||
2436 | Location: password | API, Location, Property, Reference |
The password property of the Location interface is a USVString containing the password specified before the domain name. | ||
2437 | Location: pathname | API, Location, Property, Reference |
The pathname property of the Location interface is a USVString containing an initial '/' followed by the path of the URL (or the empty string if there is no path). | ||
2438 | Location: port | API, Location, Property, Reference |
The port property of the Location interface is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to '' . | ||
2439 | Location: protocol | API, Location, Property, Reference |
The protocol property of the Location interface is a USVString representing the protocol scheme of the URL, including the final ':' . | ||
2440 | Location: reload() | API, HTML DOM, Location, Method, Reference |
The Location.reload() method reloads the current URL, like the Refresh button. | ||
2441 | Location: replace() | API, HTML-DOM, Location, Method, Reference |
The replace() method of the Location interface replaces the current resource with the one at the provided URL. The difference from the Location.assign method is that after using replace() the current page will not be saved in session History , meaning the user won't be able to use the back button to navigate to it. | ||
2442 | Location: search | API, Location, Property |
The search property of the Location interface is a search string, also called a query string; that is, a USVString containing a '?' followed by the parameters of the URL. | ||
2443 | Location: toString() | API, Location, Method, Reference, Stringifier |
The toString() stringifier method of the Location interface returns a USVString containing the whole URL. It is a read-only version of Location.href . | ||
2444 | Location: username | API, Location, Property, Reference |
The username property of the Location interface is a USVString containing the username specified before the domain name. | ||
2445 | Lock | API, Experimental, Interface, Reference, Web Locks API, lock |
The Lock interface of the Web Locks API provides the name and mode of a previously requested lock, which is received in the callback to LockManager.request . | ||
2446 | Locks.mode | API, Experimental, Property, Reference, Web Locks API, lock, mode |
The mode read-only property of the Lock interface returns the access mode passed to LockManager.request() when the lock was requested. The mode is either "exclusive" (the default) or "shared" . | ||
2447 | Locks.name | API, Experimental, Property, Reference, Web Locks API, lock, mode, name |
The name read-only property of the Lock interface returns the name passed to LockManager.request selected when the lock was requested. | ||
2448 | LockedFile | API, Files, Non Standard, Reference, WebAPI |
The LockedFile interface provides tools to deal with a given file with all the necessary locks. | ||
2449 | LockedFile.abort() | API, Files, Method, Non Standard, Reference, WebAPI |
The abort method is used to release the lock on the LockedFile object, making it inactive: its LockedFile.active property is set to false and all ongoing operations are canceled. | ||
2450 | LockedFile.active | API, Files, Non-standard, Property, Reference, WebAPI |
The active property allows to know if the LockedFile object is still usable (true ) or not (false ). If the object is inactive then it is impossible to perform any read or write operation with it. Typically, a LockedFile object becomes inactive when the LockedFile.abort() method is called or if an error occurs. | ||
2451 | LockedFile.append() | API, Files, Method, Non Standard, Reference, WebAPI |
The append method is used to write some data at the end of the file. | ||
2452 | LockedFile.fileHandle | API, Files, Non Standard, Property, Reference, WebAPI |
The fileHandle property gives access to the FileHandle object that produced the LockedFile object. | ||
2453 | LockedFile.flush() | API, Files, Method, Non Standard, Reference, WebAPI |
The flush method is used to ensure any change made to a file is properly written on disk. | ||
2454 | LockedFile.getMetadata() | API, Files, Method, Non Standard, Reference, WebAPI |
The getMetadata method allows to retrieve some metadata about the locked file. | ||
2455 | LockedFile.location | API, Files, Non Standard, Property, Reference, WebAPI |
The location property is a zero-based index representing the position of the read/write pointer within the file. Its value indicates at which bytes within the file any write or read operation will start. | ||
2456 | LockedFile.mode | API, Files, Non Standard, Property, Reference, WebAPI |
The mode property provides the read/write status of the LockedFile file. | ||
2457 | LockedFile.onabort | API, Files, Non Standard, Property, Reference, WebAPI |
Specifies an event listener to receive abort events. These events occur when the locked file has been aborted with the LockedFile.abort() method. | ||
2458 | LockedFile.oncomplete | API, Files, Non Standard, Property, Reference, WebAPI |
Specifies an event listener to receive complete events. These events occur each time a read or write operation is successful. | ||
2459 | LockedFile.onerror | API, Files, Non Standard, Property, Reference, WebAPI |
Specifies an event listener to receive error events. These events occur when something goes wrong. | ||
2460 | LockedFile.readAsArrayBuffer() | API, Files, Method, Non Standard, Reference, WebAPI |
The readAsArrayBuffer method is used to read the content of the LockedFile object and provide the result of that reading as an ArrayBuffer . In many ways, it performs like the FileReader.readAsArrayBuffer() method. | ||
2461 | LockedFile.readAsText() | API, Files, Method, Non Standard, Reference, WebAPI |
The readAsText method is used to read the content of the LockedFile object and provide the result of that reading as a string. In many ways, it performs like the FileReader.readAsText() method. | ||
2462 | LockedFile.truncate() | API, Files, Method, Non Standard, Reference, WebAPI |
The truncate method is used to remove some data within the file. | ||
2463 | LockedFile.write() | API, Files, Method, Non Standard, Reference, WebAPI |
The write method is used to write some data within the file. | ||
2464 | LockManager | API, Experimental, Interface, LockManager, Reference, Web Locks API, lock |
The LockManager interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing Lock object. To get an instance of LockManager , call navigator.locks . | ||
2465 | LockManager.query() | API, Experimental, LockManager, Method, Reference, Web Locks API, query() |
The query() method of the LockManager interface returns a Promise which resolves with an object containing information about held and pending locks. | ||
2466 | LockManager.request() | API, Experimental, LockManager, Method, Reference, Web Locks API, request() |
The request() method of the LockManager interface requests a Lock object with parameters specifying its name and characteristics. The requested Lock is passed to a callback, while the function itself returns a Promise that resolves with undefined . | ||
2467 | Long Tasks API | API, Experimental, Landing, Long Tasks API, NeedsContent, Overview, Performance, PerformanceLongTaskTiming, Reference, TaskAttributionTiming, Web Performance |
Long Tasks | ||
2468 | Magnetometer | API, Generic Sensor API, Interface, Magnetometer, Reference, Sensor, Sensor APIs, Sensors |
The Magnetometer interface of the Sensor APIs provides information about the magnetic field as detected by the device’s primary magnetometer sensor. | ||
2469 | Magnetometer.Magnetometer() | API, Constructor, Generic Sensor API, Magnetometer, Reference, Sensor, Sensor APIs, Sensors |
The Magnetometer constructor creates a new Magnetometer object which returns information about the magnetic field as detected by a device’s primary magnetometer sensor. | ||
2470 | Magnetometer.x | API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, x |
The x read-only property of the Magnetometer interface returns a double precision integer containing the magnetic field around the device's x axis. | ||
2471 | Magnetometer.y | API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, y |
The y read-only property of the Magnetometer interface returns a double precision integer containing the magnetic field around the device's y axis. | ||
2472 | Magnetometer.z | API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, z |
The z read-only property of the Magnetometer interface returns a double-precision integer containing the magnetic field around the device's z axis. | ||
2473 | MathMLElement | API, Interface, MathML, MathMLElement, Reference |
The MathMLElement interface represents any MathML element. | ||
2474 | Media Capabilities API | API, Experimental, Media Capabilities, Overview, Reference |
The Media Capabilities API allows developers to determine decoding and encoding abilities of the device, exposing information such as whether media is supported and whether playback should be smooth and power efficient, with real time feedback about playback to better enable adaptive streaming, and access to display property information. | ||
2475 | Using the Media Capabilities API | API, Audio, Guide, Intermediate, Media, Media Capabilities, Media Capabilities API, Video, capabilities |
The Media Capabilities API provides several key features to help you better decide how to handle media, but also to determine how well media is being handled, in real time. | ||
2476 | Media Session API | Audio, Media, Media Session API, MediaMetadata, MediaSession, Overview, Reference, Video |
The Media Session API provides a way to customize media notifications. It does this by providing metadata for display by the user agent for the media your web app is playing. | ||
2477 | Media Source API | API, Audio, Experimental, Landing, MSE, Media Source Extensions, Reference, Video, streaming |
The Media Source API, formally known as Media Source Extensions (MSE), provides functionality enabling plugin-free web-based streaming media. Using MSE, media streams can be created via JavaScript, and played using audio and video elements. | ||
2478 | Transcoding assets for Media Source Extensions | DASH, Dynamic Adaptive Streaming over HTTP, Encoding, MSE, Media Source Extensions, adaptive |
When working with Media Source Extensions, it is likely that you need to condition your assets before you can stream them. This article takes you through the requirements and shows you a toolchain you can use to encode your assets appropriately. | ||
2479 | Media Capture and Streams API (Media Stream) | API, Audio, Media, Media Capture and Streams API, Media Streams API, Overview, Video |
The Media Capture and Streams API, often called the Media Streams API or MediaStream API, is an API related to WebRTC which provides support for streaming audio and video data. | ||
2480 | Capabilities, constraints, and settings | Advanced, Audio, Constraints, Example, Guide, Media, Media Capture and Streams API, Media Streams API, Settings, Video, WebRTC |
The twin concepts of constraints and capabilities let the browser and Web site or app exchange information about what constrainable properties the browser's implementation supports and what values it supports for each one. This article discusses capabilities and constraints, as well as media settings, and includes an example we call the Example Constraint exerciser. | ||
2481 | MediaCapabilities | API, Audio, Experimental, Interface, Media, MediaCapabilities, Reference, Video |
The MediaCapabilities interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser. The API can be used to query the browser about the decoding abilities of the device based on codecs, profile, resolution, and bitrates. The information can be used to serve optimal media streams to the user and determine if playback should be smooth and power efficient. | ||
2482 | MediaCapabilities.decodingInfo() | API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, decodingInfo() |
The MediaCapabilities.decodingInfo() method, part of the Media Capabilities API, returns a promise with the tested media configuration's mediaCapabilitiesInfo; this contains the three Boolean properties supported , smooth , and powerefficient , which describe whether decoding the media described would be supported, smooth, and powerefficient. | ||
2483 | MediaCapabilities.encodingInfo() | API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, encodingInfo |
The MediaCapabilities.encodingInfo() method, part of the MediaCapabilities interface of the Media Capabilities API, returns a promise with the tested media configuration's MediaCapabilitiesInfo ; this contains the three Boolean properties supported , smooth , and powerefficient , which describe how compatible the device is with the type of media. | ||
2484 | MediaCapabilitiesInfo | |
The interface of the promise returned by the the mediaCapabilities 's encodingInfo() and decodingInfo() methods returning whether the media configuration tested is supported, smooth, and powerEfficient. | ||
2485 | MediaCapabilitiesInfo | API, Audio, Experimental, Interface, Media Capabilities API, MediaCapabilitiesInfo, Reference, Video |
The MediaCapabilitiesInfo interface of the Media Capabilities API is made available when the promise returned by the MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() methods of the MediaCapabilities interface fulfills, providing information as to whether the media type is supported, and whether encoding or decoding such media would be smooth and power efficient. | ||
2486 | MediaConfiguration | API, Audio, Experimental, Interface, Media Capabilities API, MediaConfiguration, Reference, Video |
The MediaConfiguration MediaCapabilities dictionary of the Media Capabilities API describes how media and audio files must be configured, or defined, to be passed as a parameter of the MediaCapabilities.encodingInfo() and MediaCapabilities.encodingInfo() methods. | ||
2487 | MediaDecodingConfiguration | API, Audio, Experimental, Interface, Media Capabilities API, MediaDecodingConfiguration, Reference, Video |
The MediaDecodingConfiguration dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.decodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient. | ||
2488 | MediaDeviceInfo | API, Audio, Interface, Media, Media Device Info, Media Devices, MediaDevicesInfo, Reference, Video, WebRTC, WebRTC API |
The MediaDeviceInfo interface contains information that describes a single media input or output device. | ||
2489 | MediaDeviceInfo.deviceId | API, Experimental, Media, MediaDevicesInfo, Property, deviceId |
The deviceId readonly property of the MediaDeviceInfo interface returns a DOMString that is an identifier for the represented device and is persisted across sessions. | ||
2490 | MediaDeviceInfo.groupId | API, Device, Input, Media, MediaDevicesInfo, Property, groupId, output |
The groupId readonly property of the MediaDeviceInfo interface returns a DOMString that is a group identifier. | ||
2491 | MediaDeviceInfo.kind | API, Experimental, Media, MediaDevicesInfo, Property, kind |
The kind readonly property of the MediaDeviceInfo interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput". | ||
2492 | MediaDeviceInfo.label | API, Media, Media Capture, Media Capture and Streams, Media Capture and Streams API, MediaDevicesInfo, Property, Reference, label |
The label readonlyinline property of the MediaDeviceInfo interface returns a DOMString , that is a label describing this device (for example "External USB Webcam"). | ||
2493 | MediaDevices | API, Audio, Conference, Devices, Interface, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Screen Capture, Screen Capture API, Sharing, Video, WebRTC |
The MediaDevices interface provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. | ||
2494 | MediaDevices: devicechange event | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Video, events |
A devicechange event is sent to a MediaDevices instance whenever a media device such as a camera, microphone, or speaker is connected to or removed from the system. It's a generic Event with no added properties. | ||
2495 | MediaDevices.enumerateDevices() | API, MediaDevices, Method, Reference, WebRTC |
The MediaDevices method enumerateDevices() requests a list of the available media input and output devices, such as microphones, cameras, headsets, and so forth. | ||
2496 | MediaDevices.getDisplayMedia() | API, Capture, Conference, Media, MediaDevices, Method, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, getDisplayMedia, screen |
The MediaDevices interface's getDisplayMedia() method prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream . | ||
2497 | MediaDevices.getSupportedConstraints() | API, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Reference, WebRTC, getSupportedConstraints |
The getSupportedConstraints () method of the MediaDevices interface returns an object based on the MediaTrackSupportedConstraints dictionary, whose member fields each specify one of the constrainable properties the user agent understands. | ||
2498 | MediaDevices.getUserMedia() | API, Audio, Capture, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Photos, Reference, Video, WebRTC, getusermedia |
The MediaDevices .getUserMedia() method prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media. | ||
2499 | MediaDevices.ondevicechange | API, Audio, Event Handler, Media, Media Capture and Streams API, MediaDevices, Property, Reference, Video, ondevicechanged |
The MediaDevices.ondevicechange property is an EventHandler which specifies a function to be called when the devicechange event occurs on a MediaDevices instance. This happens whenever the set of media devices available to the user agent and, by extension, to the web site or app has changed. You can at any time use MediaDevices.enumerateDevices to get the updated list of available devices. | ||
2500 | MediaElementAudioSourceNode | API, Audio, AudioNode, Interface, MediaElementAudioSourceNode, Reference, Web Audio API |
The MediaElementAudioSourceNode interface represents an audio source consisting of an HTML5 audio or video element. It is an AudioNode that acts as an audio source. | ||
2501 | MediaElementAudioSourceNode.mediaElement | API, MediaElementAudioSourceNode, Property, Reference, Web Audio API, mediaElement |
The MediaElementAudioSourceNode interface's read-only mediaElement property indicates the HTMLMediaElement that contains the audio track from which the node is receiving audio. | ||
2502 | MediaElementAudioSourceNode() | API, Audio, Constructor, MediaElementAudioSourceNode, Reference, Web Audio API |
The MediaElementAudioSourceNode() constructor creates a new MediaElementAudioSourceNode object instance. | ||
2503 | MediaEncodingConfiguration | API, Audio, Experimental, Interface, Media Capabilities API, MediaEncodingConfiguration, Reference, Video |
The MediaEncodingConfiguration dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.encodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient. | ||
2504 | MediaError | API, Audio, Errors, HTML DOM, Interface, Media, MediaError, Reference, Video |
The MediaError interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement , such as audio or video . | ||
2505 | MediaError.code | API, Audio, Code, Errors, HTML DOM, Media, MediaError, Property, Read-only, Reference, Video |
The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element. To get a text string with specific diagnostic information, see MediaError.message . | ||
2506 | MediaError.message | API, Audio, Errors, HTML DOM, Media, MediaError, Property, Video, message |
The read-only property MediaError.message returns a DOMString which contains a human-readable string offering specific diagnostic details related to the error described by the MediaError object, or an empty string ("" ) if no diagnostic information can be determined or provided. | ||
2507 | msExtendedCode | |
In the event of an error, the media element's error event will be fired. The element's error property will then contain an msExtendedCode read-only property with platform-specific error code information. | ||
2508 | MediaImage | |
The Media Session API's MediaImage dictionary describes the images associated with a media resource's MediaMetadata . | ||
2509 | MediaKeyMessageEvent | API, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference |
The MediaKeyMessageEvent interface of the EncryptedMediaExtensions API contains the content and related data when the content decryption module generates a message for the session. | ||
2510 | MediaKeyMessageEvent() | API, Constructor, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference |
The MediaKeyMessageEvent constructor creates a new MediaKeyMessageEvent object which creates a new instance of MediaKeyMessageEvent . | ||
2511 | message | API, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, message |
The MediaKeyMessageEvent.message read-only property returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system. | ||
2512 | MediaKeyMessageEvent.messageType | API, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, messageType |
The MediaKeyMessageEvent.messageType read-only property indicates the type of message. It may be one of license-request , license-renewal , license-release , or individualization-request . | ||
2513 | MediaKeys | API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeys, NeedsExample, Reference, Video |
The MediaKeys interface of EncryptedMediaExtensions API represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. | ||
2514 | createSession() | API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, createSession |
The MediaKeys.createSession() method returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM). | ||
2515 | setServerCertificate() | API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, setServerCertificate |
The MediaKeys.setServerCertificate() method provides a server certificate to be used to encrypt messages to the license server. | ||
2516 | MediaKeySession | API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySession, NeedsExample, Reference, Video |
The MediaKeySession interface of the EncryptedMediaExtensions API represents a context for message exchange with a content decryption module (CDM). | ||
2517 | close() | API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, close |
The MediaKeySession.close() method notifies that the current media session is no longer needed, and that the content decryption module should release any resources associated with this object and close it. Then, it returns a Promise . | ||
2518 | MediaKeySession.closed | API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, closed |
The MediaKeySession.closed read-only property returns a Promise signaling when a MediaKeySession closes. This promise can only be fulfilled and is never rejected. Closing a session means that licenses and keys associated with it are no longer valid for decrypting media data. | ||
2519 | expiration | API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, expiration |
The MediaKeySession.expiration read-only property returns the time after which the keys in the current session can no longer be used to decrypt media data, or NaN if no such time exists. This value is determined by the CDM and measured in milliseconds since January 1, 1970, UTC. This value may change during a session lifetime, such as when an action triggers the start of a window. | ||
2520 | generateRequest() | API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, generateRequest |
The MediaKeySession.generateRequest() method returns a Promise after generating a media request based on initialization data. | ||
2521 | keyStatuses | API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, keyStatuses |
The MediaKeySession.keyStatuses read-only property returns a reference to a read-only MediaKeyStatusMap of the current session's keys and their statuses. | ||
2522 | load() | API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, load |
The MediaKeySession.load() method returns a Promise that resolves to a boolean value after loading data for a specified session object. | ||
2523 | MediaKeySession.onkeystatuseschange | |
The onkeystatuseschange property of the MediaKeySession is an event handler, fired whenever a keystatuschange event ocurrs, denoting there has been a change in the keys or their statuses within a session. | ||
2524 | MediaKeySession.onmessage | |
The onmessage property of the MediaKeySession is an event handler, fired whenever a MediaKeyMessageEvent occurs, denoting a message is generated by the content decryption module. | ||
2525 | remove() | API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, remove |
The MediaKeySession.remove() method returns a Promise after removing any session data associated with the current object. | ||
2526 | sessionId | API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, sessionId |
The MediaKeySession.sessionId is a read-only property that contains a unique string generated by the content decryption module (CDM) for the current media object and its associated keys or licenses. | ||
2527 | update() | API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, Update |
The MediaKeySession.update() method loads messages and licenses to the CDM, and then returns a Promise . | ||
2528 | MediaKeyStatusMap | API, EncryptedMediaExtensions, MediaKeyStatusMap, NeedsContent, Reference |
The MediaKeyStatusMap interface of the EncryptedMediaExtensions API is a read-only map of media key statuses by key IDs. | ||
2529 | MediaKeyStatusMap.entries() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, entries() |
The entries() read-only property of the MediaKeyStatusMap interface returns a new Iterator object, containing an array of [key, value] pairs for each element in the status map, in insertion order. | ||
2530 | MediaKeyStatusMap.forEach() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, forEach() |
The forEach property of the MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order. If an argument is present it will be passed to the callback. | ||
2531 | MediaKeyStatusMap.get() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, get() |
The get property of the MediaKeyStatusMap interface returns the value associated with the given key, or undefined if there is none. | ||
2532 | MediaKeyStatusMap.has() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, has() |
The has property of the MediaKeyStatusMap interface returns a Boolean , asserting whether a value has been associated with the given key. | ||
2533 | MediaKeyStatusMap.keys() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, keys() |
The keys property of the MediaKeyStatusMap interface returns a new Iterator object, containing keys for each element in the status map, in insertion order | ||
2534 | MediaKeyStatusMap.size | API, EncryptedMediaExtensions, MediaKeyStatusMap, Property, Reference, size |
The size read-only property of the MediaKeyStatusMap interface returns the number of key/value paIrs in the status map. | ||
2535 | MediaKeyStatusMap.values() | API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, values() |
The values property of the MediaKeyStatusMap interface returns a new Iterator object, containing values for each element in the status map, in insertion order. | ||
2536 | MediaKeySystemAccess | API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySystemAccess, NeedsExample, Reference, Référence(2), Video |
The MediaKeySystemAccess interface of the EncryptedMediaExtensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method. | ||
2537 | createMediaKeys() | API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, createMediaKeys |
The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object. | ||
2538 | getConfiguration() | API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, getConfiguration |
The MediaKeySystemAccess.getConfiguration() method returns a MediaKeySystemConfiguration object with the supported combination of configuration options. | ||
2539 | keySystem | API, EncryptedMediaExtensions, Experimental, MediaKeySystemAccess, NeedsExample, Property, Reference, keySystem |
The MediaKeySystemAccess.keySystem read-only property returns a DOMString identifying the key system being used. | ||
2540 | MediaKeySystemConfiguration | API, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, Interface, MediaKeySystemConfiguration, NeedsContent, NeedsExample, Reference |
The MediaKeySystemConfiguration dictionary holds configuration information about the media key system in use. | ||
2541 | audioCapabilities | API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, initDataTypes |
The MediaKeySystemConfiguration.audioCapabilities read-only property returns an array of supported audio type and capability pairs. | ||
2542 | distinctiveIdentifier | API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, distinctiveIdentifier |
The MediaKeySystemConfiguration.distinctiveIdentifier read-only property indicates whether a persistent distinctive identifier is required. | ||
2543 | initDataTypes | API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes |
The MediaKeySystemConfiguration.initDataTypes read-only property returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data. | ||
2544 | persistentState | API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, persistentState |
The MediaKeySystemConfiguration.persistentState read-only property indicates whether the ability to persist state is required. | ||
2545 | videoCapabilities | API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes |
The MediaKeySystemConfiguration.videoCapabilities read-only property returns an array of supported video type and capability pairs. | ||
2546 | MediaList | API, CSSOM, Interface, MediaList, Reference |
The MediaList interface represents the media queries of a stylesheet, e.g. those set using a link element's media attribute. | ||
2547 | MediaList.mediaText | API, CSSOM, MediaList, Property, Reference, mediaText |
The mediaText property of the MediaList interface is a stringifier that returns a DOMString representing the MediaList as text, and also allows you to set a new MediaList . | ||
2548 | MediaMetadata | Audio, Interface, Media, Media Session API, MediaMetadata, MediaSession, Reference, Video |
The MediaMetadata interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI. | ||
2549 | MediaMetadata.album | API, MediaMetadata, Property, Reference |
The album property of the MediaMetaData interface returns or sets the name of the album or collection containing the media to be played. | ||
2550 | MediaMetadata.artist | Audio, Media, Media Session API, MediaMetadata, Property, Reference, Video, artist |
The artist property of the MediaMetaData interface returns or sets the name of the artist, group, creator, etc., of the media to be played. | ||
2551 | MediaMetadata.artwork | Audio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork |
The artwork property of the MediaMetaData interface returns or sets an array of MediaImage objects representing images associated with playing media. | ||
2552 | MediaMetadata.MediaMetadata() | Audio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork |
The MediaMetadata() constructor creates a new MediaMetadata object. | ||
2553 | MediaMetadata.title | API, Audio, Media, Media Session API, MediaMetadata, Property, Reference, Title, Video |
The title property of the MediaMetaData interface returns or sets the title of the media to be played. | ||
2554 | MediaPositionState | API, Audio, Dictionary, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Position, Reference, Video, direction, rate, speed |
The Media Session API's MediaPositionState dictionary is used to represent the current playback position of a media session. | ||
2555 | MediaPositionState.duration | API, Audio, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Property, Reference, Time, Video, duration, length |
The MediaPositionState dictionary's duration property is used when calling the MediaSession method MediaSession.setPositionState to provide the user agent with the overall total duration in seconds of the media currently being performed. | ||
2556 | MediaPositionState.playbackRate | API, Audio, Media, Media Session, Media Session API, MediaPositionState, MediaSession API, Playback, Property, Reference, Video, direction, playbackRate, rate, speed |
The MediaPositionState dictionary's playbackRate property is used when calling the MediaSession method MediaSession.setPositionState to tell the user agent the rate at which media is currently being played. | ||
2557 | MediaPositionState.position | API, Audio, Media, Media Session API, MediaPositionState, MediaSession API, Playback, Position, Property, Reference, Time, Video |
The MediaPositionState dictionary's position property is used when calling the MediaSession method MediaSession.setPositionState to provide the user agent with the current playback position, in seconds, of the currently-playing media. | ||
2558 | MediaQueryList | API, Adaptive Design, CSSOM View, DOM, Interface, Media Queries, MediaQueryList, Reference, query |
A MediaQueryList object stores information on a media query applied to a document, with support for both immediate and event-driven matching against the state of the document. | ||
2559 | MediaQueryList.addListener() | API, CSSOM View, Media Queries, MediaQueryList, Method, Reference, addListener |
The addListener() method of the MediaQueryList interface adds a listener to the MediaQueryListener that will run a custom callback function in response to the media query status changing. | ||
2560 | MediaQueryList.matches | API, Adaptive Design, CSSOM, CSSOM View, DOM, Media Queries, MediaQueryList, Property, Reference, matches |
The matches read-only property of the MediaQueryList interface is a Boolean that returns true if the document currently matches the media query list, or false if not. | ||
2561 | MediaQueryList.media | API, CSSOM View, Media, Media Queries, MediaQueryList, Property, Reference |
The media read-only property of the MediaQueryList interface is a DOMString representing a serialized media query. | ||
2562 | MediaQueryList.onchange | API, CSSOM View, Event Handler, MediaQueryList, Property, Reference, onchange |
The onchange property of the MediaQueryList interface is an event handler property representing a function that is invoked when the MediaQueryList/change_event event fires, i.e when the status of media query support changes. The event object is a MediaQueryListEvent instance, which is recognised as a MediaListQuery instance in older browsers, for backwards compatibility purposes. | ||
2563 | MediaQueryList.removeListener() | API, CSSOM View, Media Queries, MediaQueryList, Method, Reference, removeListener |
The removeListener() method of the MediaQueryList interface removes a listener from the MediaQueryListener . | ||
2564 | MediaQueryListEvent | API, CSSOM View, Interface, Media Queries, MediaQueryListEvent, Reference |
The MediaQueryListEvent object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a MediaQueryList.onchange property or MediaQueryList.addListener() call. | ||
2565 | MediaQueryListEvent.matches | API, CSSOM View, Media Queries, MediaQueryListEvent, Property, Reference, matches |
The matches read-only property of the MediaQueryListEvent interface is a Boolean that returns true if the document currently matches the media query list, or false if not. | ||
2566 | MediaQueryListEvent.media | API, CSSOM View, Media, Media Queries, MediaQueryListEvent, Property, Reference |
The media read-only property of the MediaQueryListEvent interface is a DOMString representing a serialized media query. | ||
2567 | MediaQueryListEvent.MediaQueryListEvent() | API, CSSOM View, Constructor, Media Queries, MediaQueryListEvent, Reference |
The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance. | ||
2568 | MediaRecorder | API, Audio, Interface, Media, Media Capture, Media Capture and Streams, Media Recorder API, MediaRecorder, Reference, Video |
The MediaRecorder interface of the MediaStream Recording API provides functionality to easily record media. It is created using the MediaRecorder.MediaRecorder constructor. | ||
2569 | MediaRecorder.audioBitsPerSecond | API, Audio, Media Recorder API, MediaRecorder, Property, Reference |
The audioBitsPerSecond read-only property of the MediaRecorder interface returns the audio encoding bit rate in use. | ||
2570 | MediaRecorder: error event | Event |
The MediaRecorder interface's error event is fired when an error occurs: for example because recording wasn't allowed or was attempted using an unsupported codec. | ||
2571 | MediaRecorder.ignoreMutedMedia | API, Audio, Media Recorder API, MediaRecorder, Property, Reference, Video |
The ignoreMutedMedia property of the MediaRecorder interface indicates whether the MediaRecorder instance will record input, when the input MediaStreamTrack is muted. | ||
2572 | MediaRecorder.isTypeSupported | API, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, Video, canRecordMimeType |
The MediaRecorder.isTypeSupported() static method returns a Boolean which is true if the MIME type specified is one the user agent should be able to successfully record. | ||
2573 | MediaRecorder() | API, Audio, Constructor, Media, Media Capture, Media Recorder API, MediaRecorder, Reference, Video |
The MediaRecorder() constructor creates a new MediaRecorder object that will record a specified MediaStream . | ||
2574 | MediaRecorder.mimeType | API, Audio, Media, MediaRecorder, MediaRecorder API, MediaStream Recording, Property, Reference, Video, mimeType |
The mimeType read-only property returns the MIME media type that was specified when creating the MediaRecorder object, or, if none was specified, which was chosen by the browser. | ||
2575 | MediaRecorder.ondataavailable | API, Audio, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording API, Property, Reference, Video, ondataavailable |
The MediaRecorder.ondataavailable event handler (part of the MediaStream Recording API) handles the dataavailable event, letting you run code in response to Blob data being made available for use. | ||
2576 | MediaRecorder.onerror | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onerror |
The MediaRecorder interface's onerror event handler is called by the MediaStream Recording API when an error occurs. You can provide an event handler to deal with errors that occur while creating or using a media recorder | ||
2577 | MediaRecorder.onpause | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onpause |
The MediaRecorder.onpause event handler (part of the MediaRecorder API) handles the pause event, allowing you to run code in response to the media recording being paused. | ||
2578 | MediaRecorder.onresume | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onresume |
The MediaRecorder.onresume event handler (part of the MediaRecorder API) handles the resume event, allowing you to run code in response to the media recording being resumed after pausing. | ||
2579 | MediaRecorder.onstart | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstart |
The MediaRecorder.onstart event handler (part of the MediaRecorder API) handles the start event, allowing you to run code in response to media recording being started by a MediaRecorder . | ||
2580 | MediaRecorder.onstop | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstop |
The MediaRecorder.onstop event handler (part of the MediaRecorder API) handles the stop event, allowing you to run code in response to media recording via a MediaRecorder being stopped. | ||
2581 | MediaRecorder.onwarning | API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onwarning |
The MediaRecorder.onwarning event handler (part of the MediaRecorder API) handles the recordingwarning event, allowing you to run code in response to non-fatal errors being thrown during media recording via a MediaRecorder , which don't halt recording. | ||
2582 | MediaRecorder.pause() | API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, pause |
The Media.pause() method (part of the MediaRecorder API) is used to pause recording of media streams. | ||
2583 | MediaRecorder.requestData() | API, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording, Method, Reference, Video, requestData |
The MediaRecorder.requestData() method (part of the MediaRecorder API) is used to raise a dataavailable event containing a Blob object of the captured media as it was when the method was called. | ||
2584 | MediaRecorder.resume() | API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, resume |
The MediaRecorder.resume() method (part of the MediaRecorder API) is used to resume media recording when it has been previously paused. | ||
2585 | MediaRecorder.start() | API, Audio, Media, Media Capture, MediaRecorder, MediaStream Recording, MediaStream Recording API, Method, NeedsExample, Recording Media, Reference, Video, start |
The MediaRecorder method start() , which is part of the MediaStream Recording API, begins recording media into one or more Blob objects. | ||
2586 | MediaRecorder.state | API, Media Recorder API, MediaRecording, Property, Reference, state |
The MediaRecorder.state read-only property returns the current state of the current MediaRecorder object. | ||
2587 | MediaRecorder.stop() | API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, stop |
The MediaRecorder.stop() method (part of the MediaRecorder API) is used to stop media capture. | ||
2588 | MediaRecorder.stream | API, Media Recorder API, MediaRecorder, Property, Reference, stream |
The MediaRecorder.stream read-only property returns the stream that was passed into the MediaRecorder() constructor when the MediaRecorder was created. | ||
2589 | MediaRecorder.videoBitsPerSecond | |
The videoBitsPerSecond read-only property of the MediaRecorder interface returns the video encoding bit rate in use. | ||
2590 | MediaRecorderErrorEvent | AV, Audio, Error, Event, Interface, Media, MediaRecorderErrorEvent, MediaStream, MediaStream Recording, MediaStream Recording API, Recording Audio, Recording Media, Recording Video, Video, WebRTC |
The MediaRecorderErrorEvent interface represents errors returned by the MediaStream Recording API. It is an Event object that encapsulates a reference to a DOMException describing the error that occurred. | ||
2591 | MediaRecorderErrorEvent.error | API, Error, Error Handling, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Property, Reference |
The read-only error property in the MediaRecorderErrorEvent interface is a DOMException object providing details about the exception that was thrown by a MediaRecorder instance. | ||
2592 | MediaRecorderErrorEvent() | API, Audio, Constructor, Media, Media Capture, Media Capture and Streams, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Recording, Video |
The MediaRecorderErrorEvent () constructor creates a new MediaRecorderErrorEvent object that represents an error that occurred during the recording of media by the MediaStream Recording API. | ||
2593 | MediaSession | API, Audio, Interface, Media, Media Session API, MediaSession, Reference, Video |
The MediaSession interface of the Media Session API allows a web page to provide custom behaviors for standard media playback interactions, and to report metadata that can be sent by the user agent to the device or operating system for presentation in standardized user interface elements. | ||
2594 | MediaSession.metadata | Audio, Media, Media Session API, MediaSession, Property, Reference, Video, metadata |
The metadata property of the MediaSession interface contains a MediaMetadata object providing descriptive information about the currently playing media, or null if the metadata has not been set. This metadata is provided by the browser to the device for presentation in any standard media control user interface the device might offer. | ||
2595 | MediaSession.playbackState | Audio, Media, Media Session API, MediaSession, Property, Reference, Video, playbackState |
The playbackState property of the MediaSession interface indicates whether the current media session is playing or paused. | ||
2596 | MediaSession.setActionHandler() | API, Audio, Media, Media Session API, MediaSession, Method, Reference, UX, Video, setActionHandler |
The setActionHandler() method of the MediaSession interface sets a handler for a media session action. These actions let a web app receive notifications when the user engages a device's built-in physical or onscreen media controls, such as play, stop, or seek buttons. | ||
2597 | MediaSession.setPositionState() | API, Audio, Media, Media Session API, MediaSession, Method, Playback, Position, Reference, Session, Video, rate, setPositionState, speed |
The MediaSession method setPositionState() is used to update the current document's media playback position and speed for presentation by user's device in any kind of interface that provides details about ongoing media. | ||
2598 | Media Session action types | API, Action Type, Enum, Enumerated Type, Media Session API, Media Sessionn Action Type, MediaSession API, MediaSessionAction, Reference, Type |
The specific type of media session action to be handled on a MediaSession is identified using a string from the MediaSessionAction enumerated type. | ||
2599 | MediaSessionActionDetails | API, Audio, Dictionary, Media, Media Session API, MediaSession, MediaSessionActionDetails, Reference, Video, forward, pause, play, reverse, seek |
The Media Session API's MediaSessionActionDetails dictionary is the type used by the sole input parameter into the callback which is executed when a Media action types occurs. | ||
2600 | MediaSessionActionDetails.action | API, Media, Media Session, Media Session API, MediaSessionActionDetails, Property, Reference, Session, action, details |
The action property is the only required property MediaSessionActionDetails dictionary, specifying the type of media session action which the action handler callback is being executed for. | ||
2601 | MediaSessionActionDetails.fastSeek | API, Audio, Media, Media Session API, MediaSessionActionDetails, Property, Reference, Scrub, Video, action, fastSeek, seek |
The Boolean property fastSeek in the MediaSessionActionDetails dictionary is an optional value which, when specified and true , indicates that the requested seekto operation is part of an ongoing series of seekto operations. Your handler should take steps to return as quickly as possible by skipping any steps of its operation which are only necessary when the seek operation is complete. | ||
2602 | MediaSessionActionDetails.seekOffset | API, Audio, Media, Media Session API, MediaSession API, MediaSessionActionDetails, Property, Reference, Rewind, Scrub, Skip, Video, action, forward, offset, reverse, seek, seekOffset |
The MediaSessionActionDetails dictionary's seekOffset property is an optional value passed into the action handler callback to provide the number of seconds the seekforward and seekbackward actions should move the playback time by. | ||
2603 | MediaSessionActionDetails.seekTime | API, Audio, Media, Media Session API, MediaSession, MediaSessionActionDetails, Property, Reference, Scrub, Time, Video, absolute, forward, reverse, seek, seekTime |
The MediaSessionActionDetails dictionary's seekTime property is always included when a seekto action is sent to the action handler callback. Its value is the absolute time, in seconds, to move the current play position to. | ||
2604 | MediaSettingsRange | API, Image, ImageCapture, Interface, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Refernce |
The MediaSettingsRange interface of the MediaStream Image Capture API provides the possible range and value size of PhotoCapabilities.imageHeight and PhotoCapabilities.imageWidth . A PhotoCapabilities object can be retrieved by calling ImageCapture.PhotoCapabilities . | ||
2605 | MediaSettingsRange.max | API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, max |
The max read-only property of the MediaSettingsRange interface returns the maximum value of the settings range. | ||
2606 | MediaSettingsRange.min | API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, min |
The min read-only property of the MediaSettingsRange interface returns the minimum value of the settings range. | ||
2607 | MediaSettingsRange.step | API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, step |
The step read-only property of the MediaSettingsRange interface returns the minimum difference between consecutive values of the settings range. | ||
2608 | MediaSource | API, Audio, Experimental, Extensions, Interface, MSE, Media, MediaSource, MediaSource Extensions, Reference, Video |
The MediaSource interface of the Media Source Extensions API represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent. | ||
2609 | MediaSource.activeSourceBuffers | API, Audio, Experimental, MSE, MediaSource, MediaSourceExtensions, Property, Reference, Video, activeSourceBuffers |
The activeSourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing a subset of the SourceBuffer objects contained within MediaSource.sourceBuffers — the list of objects providing the selected video track, enabled audio tracks, and shown/hidden text tracks. | ||
2610 | MediaSource.addSourceBuffer() | API, Audio, MSE, Media, Media Source Extensions, MediaSource, Method, Reference, Video, addSourceBuffer |
The addSourceBuffer() method of the MediaSource interface creates a new SourceBuffer of the given MIME type and adds it to the MediaSource 's MediaSource.sourceBuffers list. The new SourceBuffer is also returned. | ||
2611 | MediaSource.clearLiveSeekableRange() | API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, clearLiveSeekableRange() |
The clearLiveSeekableRange() method of the MediaSource interface clears a seekable range previously set with a call to MediaSource.setLiveSeekableRange() . | ||
2612 | MediaSource.duration | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, duration |
The duration property of the MediaSource interface gets and sets the duration of the current media being presented. | ||
2613 | MediaSource.endOfStream() | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, endOfStream |
The endOfStream() method of the MediaSource interface signals the end of the stream. | ||
2614 | MediaSource.isTypeSupported() | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Static, Static Method, Video, isTypeSupported |
The MediaSource.isTypeSupported() static method returns a Boolean value which is true if the given MIME type is likely to be supported by the current user agent. | ||
2615 | MediaSource.MediaSource() | API, Audio, Constructor, Experimental, MSE, Media Source Extensions, MediaSource, Reference, Video |
The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers. | ||
2616 | MediaSource.readyState | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, readyState |
The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource . The three possible values are: | ||
2617 | MediaSource.removeSourceBuffer() | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, removeSourceBuffer |
The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBuffers list associated with this MediaSource object. | ||
2618 | MediaSource.setLiveSeekableRange() | API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, setLiveSeekableRange() |
The setLiveSeekableRange() method of the MediaSource interface sets the range that the user can seek to in the media element. | ||
2619 | MediaSource.sourceBuffers | API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, sourceBuffers |
The sourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource . | ||
2620 | MediaStream Image Capture API | API, Image, MediaStream, MediaStream Image Capture API, Overview, Reference, Video |
The MediaStream Image Capture API is an API for capturing images or videos from a photographic device. In addition to capturing data, it also allows you to retrieve information about device capabilities such as image size, red-eye reduction and whether or not there is a flash and what they are currently set to. Conversely, the API allows the capabilities to be configured within the constraints what the device allows. | ||
2621 | MediaStream Recording API | API, Audio, Media, Media Capture and Streams, MediaStream Recording, MediaStream Recording API, Overview, Reference, Video |
The MediaStream Recording API, sometimes referred to as the Media Recording API or the MediaRecorder API, is closely affiliated with the Media Capture and Streams API and the WebRTC API. The MediaStream Recording API makes it possible to capture the data generated by a MediaStream or HTMLMediaElement object for analysis, processing, or saving to disk. It's also surprisingly easy to work with. | ||
2622 | Recording a media element | API, Audio, Example, Guide, Media, Media Recording, MediaStream Recording, Tutorial, Video |
While the article Using the MediaStream Recording API demonstrates using the MediaRecorder interface to capture a MediaStream generated by a hardware device, as returned by MediaDevices.getUserMedia() , you can also use an HTML media element (namely audio or video ) as the source of the MediaStream to be recorded. In this article, we'll look at an example that does just that. | ||
2623 | Using the MediaStream Recording API | API, Example, Guide, MediaRecorder, MediaStream Recording API, NeedsUpdate, Tutorial |
The MediaStream Recording API makes it easy to record audio and/or video streams. When used with | ||
2624 | MediaStream | API, Interface, Media Streams API, MediaStream, Reference, WebRTC |
The MediaStream interface represents a stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack . | ||
2625 | active | API, Media Capture and Streams, Media Streams API, MediaStream, Property, Reference, active |
The active read-only property of the MediaStream interface returns a Boolean value which is true if the stream is currently active; otherwise, it returns false . A stream is considered active if at least one of its MediaStreamTrack s is not in the MediaStreamTrack.ended state. Once every track has ended, the stream's active property becomes false . | ||
2626 | MediaStream: addtrack event | Event |
The addtrack event is fired when a new MediaStreamTrack object has been added to a MediaStream . | ||
2627 | MediaStream.addTrack() | API, Media Streams API, Method, NeedsExample, Reference, addTrack |
The MediaStream.addTrack() method adds a new track to the stream. The track is specified as a parameter of type MediaStreamTrack . | ||
2628 | MediaStream.clone() | API, Media Capture and Streams, Media Stream API, MediaStream, Method, Reference, clone |
The clone() method of the MediaStream interface creates a duplicate of the MediaStream . This new MediaStream object has a new unique MediaStream.id and contains clones of every MediaStreamTrack contained by the MediaStream on which clone() was called. | ||
2629 | MediaStream.ended | API, Media Streams API, MediaStream, Obsolete, Property, Reference, ended |
The ended read-only property of the MediaStream interface returns a Boolean value which is true if the stream has been completely read, or false if the end of the stream has not been reached. This value once the ended event has been fired. | ||
2630 | MediaStream.getAudioTracks() | API, Audio, Experimental, Media, Media Capture and Streams API, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getAudioTracks, track |
The getAudioTracks() method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set where MediaStreamTrack.kind is audio . | ||
2631 | MediaStream.getTrackById() | Media, MediaStream, MediaStream API, Method, Reference, WebRTC, getTrackById |
The MediaStream.getTrackById() method returns a MediaStreamTrack object representing the track with the specified ID string. If there is no track with the specified ID, this method returns null . | ||
2632 | MediaStream.getTracks() | API, Experimental, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getTracks |
The getTracks() method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set , regardless of MediaStreamTrack.kind . | ||
2633 | MediaStream.getVideoTracks() | API, Media, Media Capture and Streams API, Media Streams API, MediaStream, Method, Reference, Video, getVideoTracks, stream, track |
The getVideoTracks() method of the MediaStream interface returns a sequence of MediaStreamTrack objects representing the video tracks in this stream. | ||
2634 | MediaStream.id | MediaStream, Property, Read-only, Reference, Web |
The MediaStream.id() read-only property is a DOMString containing 36 characters denoting a unique identifier (GUID) for the object. | ||
2635 | MediaStream() | API, Audio, Constructor, Media, Media Capture and Streams, Media Capture and Streams API, MediaStream, Reference, Streams, Tracks, Video, WebRTC, streaming |
The MediaStream() constructor returns a newly-created MediaStream , which serves as a collection of media tracks, each represented by a MediaStreamTrack object. | ||
2636 | MediaStream.onaddtrack | API, Event Handler, Media Streams API, MediaStream, Property, Reference |
The MediaStream.onaddtrack property is an EventHandler which specifies a function to be called when the addtrack event occurs on a MediaStream instance. This happens when a new track of any kind is added to the media stream. | ||
2637 | MediaStream.onremovetrack | API, Event Handler, Media Streams API, MediaStream, Property, Reference, onremovetrack |
The MediaStream.onremovetrack property is an EventHandler which specifies a function to be called when the removetrack event occurs on a MediaStream instance. This happens when a track of any kind is removed from the media stream. | ||
2638 | MediaStream: removetrack event | Event |
The removetrack event is fired when a new MediaStreamTrack object has been removed from a MediaStream . | ||
2639 | MediaStreamAudioDestinationNode | API, Interface, MediaStreamAudioDestinationNode, Reference, Web Audio API |
The MediaStreamAudioDestinationNode interface represents an audio destination consisting of a WebRTC MediaStream with a single AudioMediaStreamTrack , which can be used in a similar way to a MediaStream obtained from Navigator.getUserMedia() . | ||
2640 | MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode() | API, Audio, Constructor, MediaStreamAudioDestinationNode, Reference, Web Audio API |
The MediaStreamAudioDestinationNode() constructor of the Web Audio API creates a new MediaStreamAudioDestinationNode object instance. | ||
2641 | MediaStreamAudioDestinationNode.stream | API, Audio, MediaStreamAudioDestinationNode, Property, Reference, Web Audio API, stream |
The stream property of the AudioContext interface represents a MediaStream containing a single audio MediaStreamTrack with the same number of channels as the node itself. | ||
2642 | MediaStreamAudioSourceNode | API, Audio, AudioNode, Interface, Media, MediaStream, MediaStreamAudioSourceNode, MediaStreamTrack, Reference, Web, Web Audio API, WebRTC, getusermedia, sound, stream, track |
The MediaStreamAudioSourceNode interface is a type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs. | ||
2643 | MediaStreamAudioSourceNode.mediaStream | API, Audio, Media, MediaStream, MediaStreamAudioSourceNode, Reference, Web, Web Audio, Web Audio API, stream |
The MediaStreamAudioSourceNode interface's read-only mediaStream property indicates the MediaStream that contains the audio track from which the node is receiving audio. | ||
2644 | MediaStreamAudioSourceNode() | API, Audio, Constructor, MediaStreamAudioSourceNode, Reference, Web Audio API |
The Web Audio API's MediaStreamAudioSourceNode() constructor creates and returns a new MediaStreamAudioSourceNode object which uses the first audio track of a given MediaStream as its source. | ||
2645 | MediaStreamAudioSourceOptions | API, Audio, AudoNode, Dictionary, Media, MediaStream, MediaStreamAudioSourceOptions, Options, Reference, Web, Web Audio, Web Audio API, stream |
The MediaStreamAudioSourceOptions dictionary provides configuration options used when creating a MediaStreamAudioSourceNode using its constructor. | ||
2646 | MediaStreamAudioSourceOptions.mediaStream | API, Audio, Media, MediaStream, MediaStreamAudioSourceOptions, MediaStreamTrack, Options, Property, Reference, Web, Web Audio, Web Audio API |
The MediaStreamAudioSourceOptions dictionary's mediaStream property must specify the MediaStream from which to retrieve audio data when instantiating a MediaStreamAudioSourceNode using the MediaStreamAudioSourceNode.MediaStreamAudioSourceNode constructor. | ||
2647 | MediaStreamConstraints | API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, WebRTC, getusermedia |
The MediaStreamConstraints dictionary is used when calling MediaDevices.getUserMedia to specify what kinds of tracks should be included in the returned MediaStream , and, optionally, to establish constraints for those tracks' settings. | ||
2648 | MediaStreamConstraints.audio | API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Web, WebRTC, getusermedia |
The MediaStreamConstraints dictionary's audio property is used to indicate what kind of audio track, if any, should be included in the MediaStream returned by a call to MediaDevices.getUserMedia . | ||
2649 | MediaStreamConstraints.video | API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, getusermedia |
The MediaStreamConstraints dictionary's video property is used to indicate what kind of video track, if any, should be included in the MediaStream returned by a call to MediaDevices.getUserMedia . | ||
2650 | MediaStreamEvent | API, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC |
The MediaStreamEvent interface represents events that occurs in relation to a MediaStream . Two events of this type can be thrown: addstream and removestream . | ||
2651 | MediaStreamEvent() | Constructor, Experimental, Expérimental(2), MediaStreamEvent, Reference, Référence(2), WebRTC |
The MediaStreamEvent() constructor creates a new MediaStreamEvent . | ||
2652 | MediaStreamEvent.stream | Experimental, Expérimental(2), MediaStreamEvent, Property, Read-only, Reference, Référence(2), WebRTC |
The read-only property MediaStreamEvent.stream returns the MediaStream associated with the event. | ||
2653 | MediaStreamTrack | API, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Reference, Video, WebRTC |
The MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well. | ||
2654 | MediaStreamTrack.applyConstraints() | API, Constraints, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, applyConstraints |
The applyConstraints () method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the Web site or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancelation, and so forth. | ||
2655 | MediaStreamTrack.clone() | API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, clone |
The clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack . This new MediaStreamTrack object is identical except for its unique MediaStreamTrack.id . | ||
2656 | MediaStreamTrack.enabled | Media, Media Capture and Streams, MediaStreamTrack, Muting a Media Track, Muting a Track, Property, Reference, WebRTC, enabled |
The enabled property on the MediaStreamTrack interface is a Boolean value which is true if the track is allowed to render the source stream or false if it is not. This can be used to intentionally mute a track. | ||
2657 | MediaStreamTrack: ended event | Audio, Event, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended |
The ended event of the MediaStreamTrack interface is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. | ||
2658 | MediaStreamTrack.getCapabilities() | API, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, getCapabilities |
The getCapabilities() method of the MediaStreamTrack interface returns a MediaTrackCapabilities object which specifies the values or range of values which each constrainable property, based upon the platform and user agent. | ||
2659 | MediaStreamTrack.getConstraints() | API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, getConstraints |
The getConstraints() method of the MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to MediaStreamTrack.applyConstraints . These constraints indicate values and ranges of values that the Web site or application has specified are required or acceptable for the included constrainable properties. | ||
2660 | MediaStreamTrack.getSettings() | API, Constraints, Media Capture and Streams, MediaStreamTrack, Method, Reference |
The getSettings() method of the MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current MediaStreamTrack . | ||
2661 | MediaStreamTrack.id | Media Capture and Streams, MediaStreamTrack, Property, Read-only, Reference, WebRTC |
The MediaStreamTrack.id read-only property returns a DOMString containing a unique identifier (GUID) for the track, which is generated by the user agent. | ||
2662 | MediaStreamTrack.kind | Media Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference, WebRTC |
The MediaStreamTrack.kind read-only property returns a DOMString set to "audio" if the track is an audio track and to "video" , if it is a video track. | ||
2663 | MediaStreamTrack.label | Media Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference, WebRTC |
The MediaStreamTrack.label read-only property returns a DOMString containing a user agent-assigned label that identifies the track source, as in "internal microphone" . | ||
2664 | MediaStreamTrack: mute event | API, Audio, Event, Media, Media Capture and Streams, MediaStreamTrack, Reference, Video, mute |
The mute event is sent to a MediaStreamTrack when the track's source is temporarily unable to provide media data. | ||
2665 | MediaStreamTrack.muted | API, Media Capture and Streams, MediaStreamTrack, Property, Read-only, Reference, muted |
The muted read-only property of the MediaStreamTrack interface returns a Boolean value indicating whether or not the track is currently unable to provide media output. | ||
2666 | MediaStreamTrack.onended | API, Event Handler, Media Streams API, MediaStreamTrack, Property, Reference, onended |
The MediaStreamTrack.onended event handler is used to specify a function which serves as an EventHandler to be called when the ended event occurs on the track. This event occurs when the track will no longer provide data to the stream for any reason, including the end of the media input being reached, the user revoking needed permissions, the source device being removed, or the remote peer ending a connection. | ||
2667 | MediaStreamTrack.onmute | Event Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, mute, onmute |
MediaStreamTrack 's onmute event handler is called when the mute event is received. | ||
2668 | MediaStreamTrack.onoverconstrained | API, Deprecated, Event Handler, Property, Reference, WebRTC |
The MediaStreamTrack.onoverconstrained event handler is a property called when the overconstrained event is received. Such an event is sent when the track is again able to send data. | ||
2669 | MediaStreamTrack.onunmute | API, Event Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, onunmute, unmute |
MediaStreamTrack 's onunmute event handler is called when the unmute event is received. Such an event is sent when the track is again able to send data. | ||
2670 | MediaStreamTrack.readyState | API, Media Capture and Streams, MediaStreamTrack, NeedsExample, Property, Read-only, Reference |
The MediaStreamTrack.readyState read-only property returns an enumerated value giving the status of the track. | ||
2671 | MediaStreamTrack.remote | Deprecated, MediaStreamTrack, Property, Read-only, Reference, WebRTC |
The MediaStreamTrack.remote read-only property allows Javascript to know whether a WebRTC MediaStreamTrack is from a remote source or a local one. It returns a Boolean with a value of true if the track is sourced remotely (that is, sourced by an RTCPeerConnection ), or false if it is sourced locally. | ||
2672 | MediaStreamTrack.stop() | API, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, Streams, WebRTC, stop |
The MediaStreamTrack.stop() method stops the track. | ||
2673 | MediaStreamTrack: unmute event | Audio, Event, Media, Media Capture and Streams, Media Streams, MediaStreamTrack, Reference, Video, unmute |
The unmute event is sent to a MediaStreamTrack when the track's source is once again able to provide media data after a period of not being able to do so. | ||
2674 | MediaStreamTrackAudioSourceNode | |
The MediaStreamTrackAudioSourceNode interface is a type of AudioNode which represents a source of audio data taken from a specific MediaStreamTrack obtained through the WebRTC or Media Capture and Streams APIs. | ||
2675 | MediaStreamTrackAudioSourceNode() | API, Audio, AudioSource, Interface, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Reference, Web Audio, Web Audio API, sound, source, track |
The Web Audio API's MediaStreamTrackAudioSourceNode() constructor creates and returns a new MediaStreamTrackAudioSourceNode object whose audio is taken from the MediaStreamTrack specified in the given options object. | ||
2676 | MediaStreamTrackAudioSourceOptions | API, Audio, Dictionary, Media, MediaStreamTrack, MediaStreamTrackAudioSourceOptions, Node, Options, Reference, Web Audio, Web Audio API, sound |
The MediaStreamTrackAudioSourceOptions dictionary is used when specifying options to the MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioSourceNode constructor. | ||
2677 | MediaStreamTrackAudioSourceOptions.mediaStreamTrack | API, Audio, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Options, Property, Reference, Web Audio, Web Audio API, sound, source, track |
The MediaStreamTrackAudioSourceOptions dictionary's mediaStreamTrack property must contain a reference to the MediaStreamTrack from which the MediaStreamTrackAudioSourceNode being created using the MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioSourceNode constructor. | ||
2678 | MediaStreamTrackEvent | API, Event, Interface, Media, Media Streams API, MediaStreamTrackEvent, Reference, Streams, track |
The MediaStreamTrackEvent interface represents events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur. | ||
2679 | MediaStreamTrackEvent() | API, Constructor, Media Streams API, MediaStreamTrackEvent, Reference |
The MediaStreamTrackEvent() constructor returns a newly created MediaStreamTrackEvent object, which represents an event announcing that a MediaStreamTrack has been added to or removed from a MediaStream . | ||
2680 | MediaTrackConstraints | API, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Reference, Screen Sharing, Screen Sharing API, Sharing, WebRTC, screen |
The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into MediaStreamTrack.applyConstraints to allow a script to establish a set of exact (required) values or ranges and/or preferred values or ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling MediaStreamTrack.getConstraints . | ||
2681 | MediaTrackConstraints.aspectRatio | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, aspectRatio, getusermedia |
The MediaTrackConstraints dictionary's aspectRatio property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.aspectRatio constrainable property. | ||
2682 | MediaTrackConstraints.autoGainControl | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, autoGainControl |
The MediaTrackConstraints dictionary's autoGainControl property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.autoGainControl constrainable property. | ||
2683 | MediaTrackConstraints.channelCount | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, channelCount |
The MediaTrackConstraints dictionary's channelCount property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.channelCount constrainable property. | ||
2684 | MediaTrackConstraints.cursor | API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen |
The MediaTrackConstraints dictionary's cursor property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.cursor constrainable property, which is used to specify whether or not the cursor should be included in the captured video. | ||
2685 | MediaTrackConstraints.deviceId | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, deviceId, getusermedia |
The MediaTrackConstraints dictionary's deviceId property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.deviceId constrainable property. | ||
2686 | MediaTrackConstraints.displaySurface | API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen |
The MediaTrackConstraints dictionary's displaySurface property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.displaySurface constrainable property. | ||
2687 | MediaTrackConstraints.echoCancellation | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, echoCancellation |
The MediaTrackConstraints dictionary's echoCancellation property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.echoCancellation constrainable property. | ||
2688 | MediaTrackConstraints.facingMode | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, facingMode, getusermedia |
The MediaTrackConstraints dictionary's facingMode property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.facingMode constrainable property. | ||
2689 | MediaTrackConstraints.frameRate | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, frameRate |
The MediaTrackConstraints dictionary's frameRate property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.frameRate constrainable property. | ||
2690 | MediaTrackConstraints.groupId | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, groupId |
The MediaTrackConstraints dictionary's groupId property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.groupId constrainable property. | ||
2691 | MediaTrackConstraints.height | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, height |
The MediaTrackConstraints dictionary's height property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.height constrainable property. | ||
2692 | MediaTrackConstraints.latency | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, latency |
The MediaTrackConstraints dictionary's latency property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.latency constrainable property. | ||
2693 | MediaTrackConstraints.logicalSurface | API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, logicalSurface, screen |
The MediaTrackConstraints dictionary's logicalSurface property is a ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.logicalSurface constrainable property. | ||
2694 | MediaTrackConstraints.noiseSuppression | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, noiseSuppression |
The MediaTrackConstraints dictionary's noiseSuppression property is a ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.noiseSuppression constrainable property. | ||
2695 | MediaTrackConstraints.sampleRate | API, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleRate |
The MediaTrackConstraints dictionary's sampleRate property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.sampleRate constrainable property. | ||
2696 | MediaTrackConstraints.sampleSize | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleSize |
The MediaTrackConstraints dictionary's sampleSize property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.sampleSize constrainable property. | ||
2697 | MediaTrackControls.volume | API, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Volume, WebRTC, getusermedia |
The MediaTrackConstraints dictionary's volume property is a ConstrainDouble describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.volume constrainable property. | ||
2698 | MediaTrackConstraints.width | API, Constraints, Media, Media Capture and Streams, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, width |
The MediaTrackConstraints dictionary's width property is a ConstrainLong describing the requested or mandatory constraints placed upon the value of the MediaTrackSettings.width constrainable property. | ||
2699 | MediaTrackSettings | API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, NeedsExample, Reference, Video |
The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack 's settings. These values will adhere as closely as possible to any constraints previously described using a MediaTrackConstraints object and set using MediaStreamTrack.applyConstraints , and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched. | ||
2700 | MediaTrackSettings.aspectRatio | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, aspectRatio |
The MediaTrackSettings dictionary's aspectRatio property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.aspectRatio property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2701 | MediaTrackSettings.autoGainControl | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettngs, Property, Web, autoGainControl |
The MediaTrackSettings dictionary's autoGainControl property is a Boolean value whose value indicates whether or not automatic gain control (AGC) is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.autoGainControl property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2702 | MediaTrackSettings.channelCount | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, channelCount |
The MediaTrackSettings dictionary's channelCount property is an integer indicating how many audio channel the MediaStreamTrack is currently configured to have. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.channelCount property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2703 | MediaTrackSettings.cursor | API, Capture, Constraints, Cursor, Media, Media Capture and Streaming, Media Capture and Streaming API, Property, Recording, Reference, Screen Capture, Screen Capture API, Settings, display, screen |
The MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream returned by MediaDevices.getDisplayMedia . | ||
2704 | MediaTrackSettings.deviceId | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, deviceId |
The MediaTrackSettings dictionary's deviceId property is a DOMString which uniquely identifies the source for the corresponding MediaStreamTrack for the origin corresponding to the browsing session. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.deviceId property you provided when calling either MediaDevices.getUserMedia . | ||
2705 | MediaTrackSettings.displaySurface | API, Capture, Media, Media Capture and Streaming, Media Capture and Streaming API, Monitor, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Surface, Video, display, displaySurface, screen |
The MediaTrackSettings dictionary's displaySurface property indicates the type of display surface being captured. | ||
2706 | MediaTrackSettings.echoCancellation | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, echoCancellation |
The MediaTrackSettings dictionary's echoCancellation property is a Boolean value whose value indicates whether or not echo cancellation is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.echoCancellation property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2707 | MediaTrackSettings.facingMode | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, facingMode |
The MediaTrackSettings dictionary's facingMode property is a DOMString indicating the direction in which the camera producing the video track represented by the MediaStreamTrack is currently facing. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.facingMode property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2708 | MediaTrackSettings.frameRate | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, frameRate |
The MediaTrackSettings dictionary's frameRate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.frameRate property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2709 | MediaTrackSettings.groupId | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, groupId |
The MediaTrackSettings dictionary's groupId property is a browsing-session unique DOMString which identifies the group of devices which includes the source for the MediaStreamTrack . This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.groupId property you provided when calling either MediaDevices.getUserMedia . | ||
2710 | MediaTrackSettings.height | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, height |
The MediaTrackSettings dictionary's height property is an integer indicating the number of pixels tall MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.height property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2711 | MediaTrackSettings.latency | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, latency |
The MediaTrackSettings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.latency property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2712 | MediaTrackSettings.logicalSurface | API, Capture, Logical Surface, Media, Media Capture and Streaming, Media Capture and Streaming API, MediaTrackSettings, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, logicalSurface, screen |
The MediaTrackSettings dictionary's logicalSurface property indicates whether or not the display area being captured is a logical surface. Logical surfaces are those which are not necessarily entirely onscreen, or may even be off-screen, such as windows' backing buffers (where only part of the buffer is visible without scrolling the containing window) and offscreen rendering contexts. | ||
2713 | MediaTrackSettings.noiseSuppression | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Web, noiseSuppression |
The MediaTrackSettings dictionary's noiseSuppression property is a Boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.noiseSuppression property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2714 | MediaTrackSettings.sampleRate | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleRate |
The MediaTrackSettings dictionary's sampleRate property is an integer indicating how many audio samples per second the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleRate property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2715 | MediaTrackSettings.sampleSize | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleSize |
The MediaTrackSettings dictionary's sampleSize property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleSize property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2716 | MediaTrackSettings.volume | API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Volume, WebRTC |
The MediaTrackSettings dictionary's volume property is a double-precision floating-point number indicating the volume of the MediaStreamTrack as currently configured, as a value from 0.0 (silence) to 1.0 (maximum supported volume for the device). This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.volume property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2717 | MediaTrackSettings.width | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, width |
The MediaTrackSettings dictionary's width property is an integer indicating the number of pixels wide MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.width property you provided when calling either MediaDevices.getUserMedia or MediaStreamTrack.applyConstraints() . | ||
2718 | MediaTrackSupportedConstraints | API, Capture, Constraints, Dictionary, Interface, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Reference, Screen Capture, Screen Capture API, screen |
The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints() . | ||
2719 | MediaTrackSupportedConstraints.aspectRatio | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, aspectRatio |
The MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the aspectRatio constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2720 | MediaTrackSupportedConstraints.autoGainControl | API, Audio, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, Media Constraints, Media Streams, MediaTrackSupportedConstraints, Property, Volume, Web, autoGainControl |
The MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the autoGainControl constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2721 | MediaTrackSupportedConstraints.channelCount | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, channelCount |
The MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the channelCount constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2722 | MediaTrackSupportedConstraints.cursor | API, Capture, Constraints, Cursor, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen |
The MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the MediaTrackConstraints.cursor constraint is supported by the user agent and the device on which the content is being used. | ||
2723 | MediaTrackSupportedConstraints.deviceId | API, Constraints, Media, Media Capture and Streams API, Media Stream API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, deviceId |
The MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the deviceId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2724 | MediaTrackSupportedConstraints.displaySurface | API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen |
The MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the MediaTrackConstraints.displaySurface constraint is supported by the user agent and the device on which the content is being used. | ||
2725 | MediaTrackSupportedConstraints.echoCancellation | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, echoCancellation |
The MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the echoCancellation constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2726 | MediaTrackSupportedConstraints.facingMode | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Web, WebRTC, facingMode |
The MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the facingMode constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2727 | MediaTrackSupportedConstraints.frameRate | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, frameRate |
The MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the MediaTrackConstraints.frameRate constraint. | ||
2728 | MediaTrackSupportedConstraints.groupId | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, groupId |
The MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the groupId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2729 | MediaTrackSupportedConstraints.height | API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, height |
The MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the height constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2730 | MediaTrackSupportedConstraints.latency | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, latency |
The MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the latency constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2731 | MediaTrackSupportedConstraints.logicalSurface | API, Capture, Logical, Media, Media Capture and Streams, Media Capture and Streams API, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, screen |
The MediaTrackSupportedConstraints dictionary's logicalSurface property indicates whether or not the MediaTrackConstraints.logicalSurface constraint is supported by the user agent and the device on which the content is being used. | ||
2732 | MediaTrackSupportedConstraints.noiseSuppression | API, Audio, Constraints, Media, Media Capture and Streams API, Media Constraints, Media Streams API, MediaStreamTrackSupportedConstraints, Property, noiseSuppression |
The MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the noiseSuppression constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2733 | MediaTrackSupportedConstraints.sampleRate | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, sampleRate |
The MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleRate constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2734 | MediaTrackSupportedConstraints.sampleSize | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, WebRTC, sampleSize |
The MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleSize constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2735 | MediaTrackSupportedConstraints.volume | API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstriants, Property, Reference, Volume, WebRTC |
The MediaTrackSupportedConstraints dictionary's volume property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the volume constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2736 | MediaTrackSupportedConstraints.width | |
The MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the width constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false . | ||
2737 | MerchantValidationEvent | API, Commerce, Experimental, Interface, Merchant, Merchant Validation, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Payments, Reference, Secure context |
The MerchantValidationEvent interface of the Payment Request API enables a merchant to verify themselves as allowed to use a particular payment handler. | ||
2738 | MerchantValidationEvent.complete() | API, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, Method, Payment Request, Payment Request API, Payments, Reference, complete |
The MerchantValidationEvent method complete() takes merchant-specific information previously received from the MerchantValidationEvent.validationURL and uses it to validate the merchant. | ||
2739 | MerchantValidationEvent() | API, Commerce, Constructor, Merchant Validation, MerchantValidationEvent, Merchants, Payment Request API, Payment Requests, Payments, Reference |
The MerchantValidationEvent() constructor creates a new MerchantValidationEvent object. You should not have to create these events yourself; instead, just handle the merchantvalidation event. | ||
2740 | MerchantValidationEvent.methodName | API, Commerce, Identifier, Merchant, MerchantValidationEvent, NeedsExample, Payment Method, Payment Method Identifier, Payment Request, Payment Request API, Property, Reference, Validation, methodName, payment |
The MerchantValidationEvent property methodName is a read-only value which returns a string indicating the payment method identifier which represents the payment handler that requires merchant validation. | ||
2741 | MerchantValidationEvent.validationURL | API, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, NeedsExample, Payment Request, Payment Request API, Payments, Property, Reference, validationURL |
The MerchantValidationEvent property validationURL is a read-only string value providing the URL from which to fetch the payment handler-specific data needed to validate the merchant. | ||
2742 | MessageChannel | API, Channel Messaging API, Interface, MessageChannel, Reference, web messaging |
The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties. | ||
2743 | MessageChannel() | API, Channel messaging, Constructor, MessageChannel, Reference |
The MessageChannel() constructor of the MessageChannel interface returns a new MessageChannel object with two new MessagePort objects. | ||
2744 | MessageChannel.port1 | API, Channel messaging, HTML5, Message Channel API, MessageChannel, Property, Reference |
The port1 read-only property of the MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel. | ||
2745 | MessageChannel.port2 | API, Channel messaging, HTML5, MessageChannel, Property, Reference, port2 |
The port2 read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to. | ||
2746 | MessageEvent | API, Channels, Interface, Reference, WebSockets, Window, Workers, messaging |
The MessageEvent interface represents a message received by a target object. | ||
2747 | MessageEvent.data | API, DOM, MessageEvent, Property, Reference, data, messaging |
The data read-only property of the MessageEvent interface represents the data sent by the message emitter. | ||
2748 | MessageEvent.lastEventId | API, DOM, MessageEvent, Property, Reference, lastEventID, messaging |
The lastEventId read-only property of the MessageEvent interface is a DOMString representing a unique ID for the event. | ||
2749 | MessageEvent.MessageEvent() | API, Constructor, DOM, MessageEvent, Reference, messaging |
The MessageEvent() constructor creates a new MessageEvent object instance. | ||
2750 | MessageEvent.origin | API, DOM, MessageEvent, Property, Reference, messaging, origin |
The origin read-only property of the MessageEvent interface is a USVString representing the origin of the message emitter. | ||
2751 | MessageEvent.ports | API, DOM, MessagingEvent, Property, Reference, messaging, ports |
The ports read-only property of the MessageEvent interface is an array of MessagePort objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g. in channel messaging or when sending a message to a shared worker). | ||
2752 | MessageEvent.source | API, DOM, MessageEvent, Property, Reference, messaging, source |
The source read-only property of the MessageEvent interface is a MessageEventSource (which can be a WindowProxy , MessagePort , or ServiceWorker object) representing the message emitter. | ||
2753 | MessagePort | API, Channel messaging, HTML5, Interface, MessagePort, Reference |
The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel , allowing messages to be sent from one port and listening out for them arriving at the other. | ||
2754 | MessagePort.close() | API, Channel messaging, MessagePort, Method, Reference, close |
The close() method of the MessagePort interface disconnects the port, so it is no longer active. This stops the flow of messages to that port. | ||
2755 | MessagePort: message event | Event |
The message event is fired on a MessagePort object when a message arrives on that channel. | ||
2756 | MessagePort: messageerror event | Event |
The messageerror event is fired on a MessagePort object when it receives a message that can't be deserialized. | ||
2757 | MessagePort.onmessage | API, Channel messaging, MessagePort, Property, Reference, onmessage |
The onmessage event handler of the MessagePort interface is an EventListener , called whenever an MessageEvent of type message is fired on the port — that is, when the port receives a message. | ||
2758 | MessagePort.onmessageerror | API, Channel messaging, MessagePort, Property, Reference, events, onmessageerror |
The onmessageerror event handler of the MessagePort interface is an EventListener , called whenever an MessageEvent of type messageerror is fired on the port—that is, when it receives a message that cannot be Deserialization. | ||
2759 | MessagePort.postMessage() | API, Channel messaging, MessagePort, Method, Reference, postMessage |
The postMessage() method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts. | ||
2760 | MessagePort.start() | API, Channel messaging, MessagePort, Method, Reference, start |
The start() method of the MessagePort interface starts the sending of messages queued on the port. This method is only needed when using EventTarget.addEventListener ; it is implied when using MessageChannel.onmessage . | ||
2761 | Metadata | API, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference, metadata |
The Metadata interface is used by the File and Directory Entries API to contain information about a file system entry. This metadata includes the file's size and modification date and time. | ||
2762 | Metadata.modificationTime | API, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, modificationTime |
The read-only modificationTime property of the Metadata interface is a Date object which specifies the date and time the file system entry (or the data referenced by the entry) was last modified. | ||
2763 | Metadata.size | API, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, size |
The read-only size property of the Metadata interface specifies the size, in bytes, of the referenced file or other file system object on disk. | ||
2764 | Microdata DOM API | |
Microdata were implemented in some browsers for a long time. Nowadays, they have been abandoned and removed from all browsers and are therefore deprecated. You can't use them anymore and this document is kept as information only. | ||
2765 | Microsoft API extensions | API, API:Microsoft Extensions, Non-standard, Overview, Reference |
Microsoft browsers (Internet Explorer, and in a few cases, Microsoft Edge) support a number of special Microsoft extensions to the otherwise standard DOM APIs. These extensions are prefixed with MS or ms . | ||
2766 | MIDIAccess | API, Interface, Reference, Web MIDI API |
The MIDIAccess interface of the Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices. | ||
2767 | MIDIConnectionEvent | API, Draft, Interface, MIDI, MIDIConnectionEvent, Reference, Web MIDI API |
The MIDIConnectionEvent interface of the Web MIDI API is the event passed to the MIDIAccess.onstatechange event handler of the MIDIAccess interface and the MIDIPorts.onstatechange event of the MIDIPorts interface. This occurs any time a new port becomes available, or when a previously available port becomes unavailable. For example, this event is fired whenever a MIDI device is either plugged in to or unplugged from a computer. | ||
2768 | MIDIInput | API, Draft, Interface, MIDIInput, NeedsExample, Reference, Web MIDI API |
Use the MIDIInput interface of the Web MIDI API to access and pass messages to a MIDI input port. | ||
2769 | MIDIInputMap | NeedsContent |
The MIDIInputMap read-only interface of the Web MIDI API provides a Map -like interface to the currently available MIDI input ports. Though it works generally like a map, because it is read-only it does not contain clear() , delete() , or set() functions. | ||
2770 | MIDIMessageEvent | API, Interface, MIDI, MIDIMessageEvent, Reference, Web MIDI API |
The MIDIMessageEvent interface of the Web MIDI API represents the event passed to the MIDIInput.onmidimessage event handler of the MIDIInput interface. A midimessage event is fired every time a MIDI message is sent from a device represented by a MIDIInput , for example when a MIDI keyboard key is pressed, a knob is tweaked, or a slider is moved. | ||
2771 | MIDIOutputMap | API |
The MIDIOutputMap read-only interface of the Web MIDI API provides a Map -like interface to the currently available MIDI output ports. Although it works like a map, because it is read-only, it does not contain clear() , delete() , or set() functions. | ||
2772 | MimeType | API, Interface, Plugins, Reference |
The MimeType interface provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object. | ||
2773 | MimeTypeArray | API, Interface, Reference, mimeType |
The MimeTypeArray interface returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes . | ||
2774 | MouseEvent | API, DOM, DOM Events, Interface, MouseEvent, Reference, events, mouse |
The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click , dblclick , mouseup , mousedown . | ||
2775 | MouseEvent.altKey | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.altKey read-only property is a Boolean that indicates whether the alt key was pressed or not when a given mouse event occurs. | ||
2776 | MouseEvent.button | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.button read-only property indicates which button was pressed on the mouse to trigger the event. | ||
2777 | MouseEvent.buttons | API, DOM, DOM Events, Property, Read-only, Reference, UIEvent |
The MouseEvent.buttons read-only property indicates which buttons are pressed on the mouse (or other input device) when a mouse event is triggered. | ||
2778 | MouseEvent.clientX | API, CSSOM View, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The clientX read-only property of the MouseEvent interface provides the horizontal coordinate within the application's viewport at which the event occurred (as opposed to the coordinate within the page). | ||
2779 | MouseEvent.clientY | API, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference |
The clientY read-only property of the MouseEvent interface provides the vertical coordinate within the application's viewport at which the event occurred (as opposed to the coordinate within the page). | ||
2780 | MouseEvent.ctrlKey | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.ctrlKey read-only property is a Boolean that indicates whether the ctrl key was pressed or not when a given mouse event occurs. | ||
2781 | MouseEvent.getModifierState() | API, DOM, DOM Events, Method, MouseEvent, Reference, getModifierState |
The MouseEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, false . | ||
2782 | MouseEvent.initMouseEvent() | API, DOM, DOM Events, Deprecated, Method, MouseEvent, Reference |
The MouseEvent.initMouseEvent() method initializes the value of a mouse event once it's been created (normally using the Document.createEvent() method). | ||
2783 | MouseEvent.metaKey | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.metaKey read-only property is a Boolean that indicates whether the meta key was pressed or not when a given mouse event occurs. | ||
2784 | MouseEvent() | API, Constructor, DOM, MouseEvent, Reference, events |
The MouseEvent() constructor creates a new MouseEvent . | ||
2785 | MouseEvent.movementX | API, DOM, DOM Events, MouseEvent, MovementX, Property, Read-only, Reference, mouse lock, pointer lock |
The movementX read-only property of the MouseEvent interface provides the difference in the X coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementX = currentEvent.screenX - previousEvent.screenX . | ||
2786 | MouseEvent.movementY | API, DOM, DOM Events, MouseEvent, MovementY, Property, Read-only, Reference, mouse lock, pointer lock |
The movementY read-only property of the MouseEvent interface provides the difference in the Y coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementY = currentEvent.screenY - previousEvent.screenY . | ||
2787 | MouseEvent.mozInputSource | API, NeedsCompatTable, Non-standard, Property, Read-only |
The MouseEvent.mozInputSource read-only property on MouseEvent provides information indicating the type of device that generated the event. This lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event). | ||
2788 | MouseEvent.offsetX | API, Experimental, MouseEvent, Property, Read-only, Reference |
The offsetX read-only property of the MouseEvent interface provides the offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node. | ||
2789 | MouseEvent.offsetY | API, Experimental, MouseEvent, Property, Read-only, Reference |
The offsetY read-only property of the MouseEvent interface provides the offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node. | ||
2790 | MouseEvent.pageX | API, CSSOM View, DOM, Mouse Events, MouseEvent, Property, Read-only, Reference, UI Events, events, pageX |
The pageX read-only property of the MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document. | ||
2791 | MouseEvent.pageY | API, DOM, Property, Read-only, Reference |
The pageY read-only property of the MouseEvent interface returns the Y (vertical) coordinate in pixels of the event relative to the whole document. This property takes into account any vertical scrolling of the page. | ||
2792 | MouseEvent.region | API, Canvas, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.region read-only property returns the id of the canvas hit region affected by the event. If no hit region is affected, null is returned. | ||
2793 | MouseEvent.relatedTarget | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.relatedTarget read-only property is the secondary target for the mouse event, if there is one. That is: | ||
2794 | MouseEvent.screenX | API, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference |
The screenX read-only property of the MouseEvent interface provides the horizontal coordinate (offset) of the mouse pointer in global (screen) coordinates. | ||
2795 | MouseEvent.screenY | API, DOM Events, MouseEvent, Property, Read-only, Reference |
The screenY read-only property of the MouseEvent interface provides the vertical coordinate (offset) of the mouse pointer in global (screen) coordinates. | ||
2796 | MouseEvent.shiftKey | API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference |
The MouseEvent.shiftKey read-only property is a Boolean that indicates whether the shift key was pressed or not when a given mouse event occurs. | ||
2797 | MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN | API, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN |
MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a force click. | ||
2798 | MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN | API, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_MOUSE_DOWN |
MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a normal click. | ||
2799 | MouseEvent.webkitForce | API, DOM, DOM Events, MouseEvent, Property, Reference |
MouseEvent.webkitForce is a proprietary, WebKit-specific numeric property whose value represents the amount of pressure that is being applied on the touchpad or touchscreen. | ||
2800 | MouseEvent.which | API, DOM Events, MouseEvent, Non-standard, Property, Read-only, Reference |
The MouseEvent.which read-only property indicates which button was pressed on the mouse to trigger the event. The standard alternatives to this property are MouseEvent.button and MouseEvent.buttons . | ||
2801 | MouseEvent.x | API, DOM, Experimental, Property, Reference |
The MouseEvent.x property is an alias for the MouseEvent.clientX property. | ||
2802 | MouseEvent.y | API, DOM, Experimental, Property, Reference |
The MouseEvent.y property is an alias for the MouseEvent.clientY property. | ||
2803 | MouseScrollEvent | API, DOM, DOM Events, Deprecated, Event, Interface, Reference |
The MouseScrollEvent interface represents events that occur due to the user moving a mouse wheel or similar input device. | ||
2804 | MouseWheelEvent | API, DOM, Deprecated, Interface, Reference |
The MouseWheelEvent interface represents events that occur due to the user turning a mouse wheel. | ||
2805 | msCaching | msCaching |
The msCaching read/write property specifies whether stream data downloaded using XMLHttpRequestis cached to disk or not. | ||
2806 | msCachingEnabled | msCachingEnabled |
The msCachingEnabled method gets the current caching state for an XMLHttpRequest. | ||
2807 | MSCandidateWindowHide | |
MSCandidateWindowHide fires after the Input Method Editor (IME) candidate window closes and is fully hidden. | ||
2808 | MSCandidateWindowShow | MSCandidateWindowShow |
MSCandidateWindowShow fires immediately after the Input Method Editor (IME) candidate window is set to appear, but before it renders. | ||
2809 | MSCandidateWindowUpdate | MSCandidateWindowUpdate |
MSCandidateWindowUpdate fires after the Input Method Editor (IME) candidate window has been identified as needing to change size, but before any visual updates have rendered. | ||
2810 | msCapsLockWarningOff | |
The msCapsLockWarningOff read/write property turns automatic caps lock warning on or off for validated password input fields. | ||
2811 | msFirstPaint | msFirstPaint |
msFirstPaint is a read-only property which gets the time when the document loaded by the window object began to be displayed to the user. | ||
2812 | MSGestureEvent | API, DOM, Interface, Non-standard, Reference |
The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart , MSGestureEnd , MSGestureTap , MSGestureHold , MSGestureChange , and MSInertiaStart . | ||
2813 | msGetPropertyEnabled | msGetPropertyEnabled |
The msGetPropertyEnabled returns whether a given property in the style object is enabled. | ||
2814 | msGetRegionContent | msGetRegionContent |
The msGetRegionContent returns an array of Range instances corresponding to the content from the region flow that is positioned in the region. | ||
2815 | MSGraphicsTrust | msGraphicsTrust |
The msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback. | ||
2816 | msGraphicsTrustStatus | msGraphicsTrustStatus |
msGraphicsTrustStatus is a read-only property which returns an object containing information on protected video playback. | ||
2817 | msIsBoxed | msIsBoxed |
msIsBoxed is a property which gets or sets when the video player control is in boxed (letterbox or pillarbox) mode. | ||
2818 | MSManipulationEvent | API, API:Microsoft Extensions, Event, Event:Microsoft Extensions, Interface, MSManipulationEvent, Non-standard, Reference |
MSManipulationEvent provides contextual information when contact is made to the screen and an element is manipulated. | ||
2819 | MSManipulationEvent.initMSManipulationEvent() | API, API:Microsoft Extensions, Deprecated, Method, Non-standard, Reference, initMSManipulationEvent |
The initMSManipulationEvent method is used to create a MSManipulationEvent that can be called from JavaScript. | ||
2820 | msPlayToDisabled | msPlayToDisabled |
msPlayToDisabled is a read/write property which gets and sets if the PlayTo device is enabled or disabled. | ||
2821 | msPlayToPreferredSourceUri | |
msPlayToPreferredSourceUri is a read/write property which gets or sets the path to the preferred media source. This enables the PlayTo target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. | ||
2822 | msPlayToPrimary | msPlayToPrimary |
msPlayToPrimary is a read/write property which gets or sets the primary DLNA PlayTo device. | ||
2823 | msPlayToSource | msPlayToSource |
msPlayToSource is a read-only property which gets the source associated with the media element for use by the PlayToManager . | ||
2824 | msPutPropertyEnabled | msPutPropertyEnabled |
The msPutPropertyEnabled method sets whether a given property in the style object is enabled or disabled. | ||
2825 | MSRangeCollection | MSRangeCollection |
The MSRangeCollection object is an array of one or more Range objects. | ||
2826 | msRealTime | msRealTime |
msRealTime is a read/write property which specifies whether or not to enable low-latency playback on the media element. | ||
2827 | msRegionOverflow | Internet Explorer, msRegionOverflow |
The msRegionOverflow read-only property determines if content fully fits into the region or not. | ||
2828 | msSetMediaProtectionManager | msSetMediaProtectionManager |
The msSetMediaProtectionManager method specifies the media protection manager for a given media pipeline. | ||
2829 | MSSiteModeEvent | |
MSSiteModeEvent provides event properties that are specific to pinned site events. | ||
2830 | mssitemodejumplistitemremoved | |
The mssitemodejumplistitemremoved event occurs when msSiteModeShowJumpList is called and an item has been removed from a Jump List by the user. | ||
2831 | msthumbnailclick | msthumbnailclick |
The msthumbnailclick event occurs when a user clicks a button or thumbnail icon in the taskbar. | ||
2832 | msWriteProfilerMark | msWriteProfilerMark |
The msWriteProfilerMark method writes a profiling event. | ||
2833 | MutationEvent | API, Deprecated, Interface, MutationEvent, Reference, events |
The MutationEvent interface provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. | ||
2834 | MutationObserver | API, DOM, DOM Reference, Interface, MutationObserver, NeedsContent, NeedsUpdate, Reference, mutation, observers, resize |
The MutationObserver interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature, which was part of the DOM3 Events specification. | ||
2835 | MutationObserver.disconnect() | API, Changes, DOM, DOM Changes, DOM Reference, DOM Tree, Disconnect, Method, Mutation Observer, Mutation Observer API, MutationObserver, Observing, Reference, Watching, mutation, stop |
The MutationObserver method disconnect() tells the observer to stop watching for mutations. | ||
2836 | MutationObserver.MutationObserver() | API, Changes, Constructor, DOM, DOM Changes, DOM Reference, DOM Tree, Mutation Observer API, MutationObserver, Observing, Reference |
The DOM MutationObserver() constructor — part of the MutationObserver interface — creates and returns a new observer which invokes a specified callback when DOM events occur. | ||
2837 | MutationObserver.observe() | API, Attribute Changes, Changes, DOM, DOM Changes, DOM WHATWG, Element Changes, Method, Mutation Observer, Mutation Observer API, MutationObserver, Node Changes, Reference, observe |
The MutationObserver method observe() configures the MutationObserver callback to begin receiving notifications of changes to the DOM that match the given options. | ||
2838 | MutationObserver.takeRecords() | API, Attribute Changes, Changes, DOM Changes, DOM WHATWG, Method, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserver API, Observer, mutation, takeRecords |
The MutationObserver method takeRecords() returns a list of all matching DOM changes that have been detected but not yet processed by the observer's callback function, leaving the mutation queue empty. | ||
2839 | MutationObserverInit | API, Configuration, DOM, DOM WHATWG, Dictionary, Interface, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserverInit, Observer, mutation |
The MutationObserverInit dictionary describes the configuration of a mutation observer. As such, it's primarily used as the type of the options parameter on the MutationObserver.observe() method. | ||
2840 | MutationObserverInit.attributeFilter | API, Attribute, Changes, DOM, DOM WHATWG, Mutation Observers, MutationObserverInit, Observer, Property, atttributeFilter, mutation |
The MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes. | ||
2841 | MutationObserverInit.attributeOldValue | API, API Reference, Attributes, Changes, DOM, DOM WHATWG, Monitor, MutationObserverInit, Observer, Property, Reference, value |
The MutationObserverInit dictionary's optional attributeOldValue property is used to specify whether or not to record the prior value of the altered attribute in MutationRecord objects denoting attribute value changes. | ||
2842 | MutationObserverInit.attributes | API, API Reference, Attributes, Changes, DOM, DOM WHATWG, MutationObserverInit, Observer, Property, Reference, mutation |
The MutationObserverInit dictionary's optional attributes property is used to specify whether or not to watch for attribute value changes on the node or nodes being observed. | ||
2843 | MutationObserverInit.characterData | API, Characters, DOM, DOM WHATWG, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Property, Reference, Text, Watching, characterData |
The MutationObserverInit dictionary's optional characterData property is used to specify whether or not to monitor the node or nodes being observed for changes to their textual contents. | ||
2844 | MutationObserverInit.characterDataOldValue | API, Changes, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Reference, Textr, characterDataOldValue, mutation, value |
The MutationObserverInit dictionary's optional characterDataOldValue property is used to specify whether or not the MutationRecord.oldValue property for DOM mutations should be set to the previous value of text nodes which changed. | ||
2845 | MutationObserverInit.childList | API, DOM, DOM WHATWG, Monitor, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Reference, Watching, childList, children, mutation |
The MutationObserverInit dictionary's optional childList property indicates whether or not to monitor the specified node or nodes for the addition or removal of new child nodes. | ||
2846 | MutationObserverInit.subtree | API, DOM, DOM WHATWG, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Observer, Reference, Watching, mutation, subtree |
The MutationObserverInit dictionary's optional subtree property can be set to true to monitor the targeted node and all of its descendants. | ||
2847 | MutationRecord | API, Advanced, DOM, DOM Reference, NeedsContent, Reference |
A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver 's callback. | ||
2848 | NamedNodeMap | API, DOM, Interface, Reference |
The NamedNodeMap interface represents a collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList , although they may be accessed by an index as in an array. | ||
2849 | NamedNodeMap.getNamedItem() | DOM, Method, NamedNodeMap, Reference |
The getNamedItem() method of the NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute. | ||
2850 | NameList | API, DOM, Obsolete |
The NameList interface provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented. | ||
2851 | Navigation Timing API | API, Navigation Timing, Navigation Timing API, Optimization, Overview, Performance, Timing, Web, Web Performance |
The Navigation Timing API provides data that can be used to measure the performance of a web site. Unlike JavaScript-based libraries that have historically been used to collect similar information, the Navigation Timing API can be much more accurate and reliable. | ||
2852 | Using Navigation Timing | Guide, Navigation Timing, Navigation Timing API, Optimization, Performance |
The Navigation Timing API lets you easily obtain detailed and highly accurate timing information to help isolate performance problems with your site's code or resources. | ||
2853 | NavigationPreloadManager | API, Interface, Navigation, NavigationPreloadManager, Offline, Reference, Service Workers |
The NavigationPreloadManager interface of the Service Worker API provides methods for managing the preloading of resources with a service worker. | ||
2854 | Navigator | API, DOM, Interface, Navigator, Reference, Web, Web Performance |
The Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. | ||
2855 | Navigator.activeVRDisplays | API, Experimental, HTML DOM, Navigator, Property, Reference, VR, Virtual Reality, WebVR, activeVRDisplays |
The activeVRDisplays read-only property of the Navigator interface returns an array containing every VRDisplay object that is currently presenting (VRDisplay.ispresenting is true ). | ||
2856 | Navigator.battery | API, Battery, Battery API, Deprecated, Device API, Navigator, Non-standard, Property, Reference |
The battery read-only property returns a BatteryManager which provides information about the system's battery charge level and whether the device is charging and exposes events that fire when these parameters change. This interface was introduced in early drafts of the Battery Status API and but has been replaced with Promise -based Navigator.getBattery . | ||
2857 | Navigator.buildID | API, Gecko, HTML DOM, Navigator, Property |
Returns the build identifier of the browser. In modern browsers this property now returns a fixed timestamp as a privacy measure, e.g. 20181001000000 in Firefox 64 onwards. | ||
2858 | Navigator.canShare() | API, Method, Navigator, Reference, Share |
The Navigator.canShare() method of the Web Share API returns true if a call to navigator.share() would succeed. | ||
2859 | Navigator.clipboard | API, Clip, Clipboard, Cut, Navigator, Pasteboard, Property, Read-only, Reference, copy, paste |
The Clipboard API adds to the Navigator interface the read-only clipboard property, which returns the Clipboard object used to read and write the clipboard's contents. | ||
2860 | Navigator.connection | API, Connection, Experimental, Navigator, Network Information API, Property, Reference |
The Navigator.connection read-only property returns a NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered. | ||
2861 | Navigator.contacts | Contact Picker API, Contacts, Navigator, PWA, Property, Read-only, contact picker |
The contacts read-only property of the Navigator interface returns a ContactsManager interface which allows users to select entries from their contact list and share limited details of the selected entries with a website or application. | ||
2862 | Navigator.cookieEnabled | API, HTML DOM, Navigator, Property |
navigator.cookieEnabled returns a Boolean value that indicates whether cookies are enabled or not. | ||
2863 | Navigator.credentials | API, CredentialsContainer, Property, Reference, credentials |
The credentials property of the Navigator interface returns the CredentialsContainer interface, which exposes methods to request credentials. The CredentialsContainer interface also notifies the user agent when an interesting event occurs, such as a successful sign-in or sign-out. This interface can be used for feature detection. | ||
2864 | Navigator.deviceMemory | API, Device Memory API, Navigator, Property, Reference, deviceMemory, memory |
The deviceMemory read-only property of the Navigator interface returns the approximate amount of device memory in gigabytes. | ||
2865 | Navigator.doNotTrack | API, Experimental, HTML DOM, Navigator, Property, Reference |
The Navigator.doNotTrack property returns the user's Do Not Track setting, which indicates whether the user is requesting web sites and advertisers to not track them. | ||
2866 | Navigator.geolocation | API, Geolocation API, Navigator, Property, Reference, Secure context |
The Navigator.geolocation read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. | ||
2867 | Navigator.getBattery() | API, Battery API, Device API, Method, Navigator, Reference, getBattery |
The getBattery() method provides information about the system's battery. It returns a battery promise, which is resolved in a BatteryManager object providing also some new events you can handle to monitor the battery status. This implements the Battery Status API; see that documentation for additional details, a guide to using the API, and sample code. | ||
2868 | Navigator.getGamepads() | API, Experimental, Gamepad API, Games, Method, Navigator, Reference |
The Navigator.getGamepads() method returns an array of Gamepad objects, one for each gamepad connected to the device. | ||
2869 | Navigator.getUserMedia() | API, Deprecated, Media, Media Capture and Streams API, Media Streams API, Method, Navigator, Reference, WebRTC, getusermedia |
The deprecated Navigator.getUserMedia() method prompts the user for permission to use up to one video input device (such as a camera or shared screen) and up to one audio input device (such as a microphone) as the source for a MediaStream . | ||
2870 | Navigator.getVRDisplays() | API, Experimental, HTML DOM, Media, Method, Navigator, Reference, VR, Virtual Reality, WebVR, getVRDisplays() |
The getVRDisplays() method of the Navigator interface returns a promise that resolves to an array of VRDisplay objects representing any available VR displays connected to the computer. | ||
2871 | Navigator.keyboard | API, Experimental, Keyboard API, Keyboard Map, Navigator, Property, Reference, keyboard |
The keyboard read-only property of the Navigator interface returns a Keyboard object which provides access to functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard. | ||
2872 | Navigator.locks | API, Experimental, LockManager, Property, Reference, Web Locks API, locks |
The locks read-only property of the Navigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object. | ||
2873 | Navigator.maxTouchPoints | API, HTML DOM, Navigator, Property, Reference |
The maxTouchPoints read-only property of the Navigator interface returns the maximum number of simultaneous touch contact points are supported by the current device. | ||
2874 | Navigator.mediaCapabilities | API, Experimental, Media, Media Capabilities API, MediaCapabilities, Navigator |
The Navigator.mediaCapabilities read-only property returns a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given format and output capabilities as defined by the Media Capabilities API. | ||
2875 | Navigator.mediaDevices | Media, Media Capture and Streams API, Media Streams API, MediaDevices, Navigator, Property, Read-only, Reference, Web |
The Navigator.mediaDevices read-only property returns a MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing. | ||
2876 | Navigator.mediaSession | API, Audio, Device, Media, Media Session API, MediaSession, Navigator, Property, Read-only, Reference, UX, Video, metadata |
The read-only Navigator property mediaSession returns a MediaSession object that can be used to share with the browser metadata and other information about the current playback state of media being handled by a document. | ||
2877 | Navigator.mozIsLocallyAvailable() | API, Method, Navigator, Non-standard, Obsolete |
The Navigator.mozIsLocallyAvailable() method allows add-ons to determine whether or not a given resource is available. | ||
2878 | Navigator.msLaunchUri() | API, API:Microsoft Extensions, MSLaunchUri, Method, Non-standard, Reference |
The msLaunchUri() method is a Microsoft extension to the Navigator interface, which starts a service or app, such as an email client, that handles a given protocol. The Uniform Resource Identifier (URI) contains the protocol for the default service or app, such as mailto://test@contoso.com . | ||
2879 | msSaveBlob | |
The Navigator.msSaveBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveOrOpenBlob() except that this disables the file open option. | ||
2880 | msSaveOrOpenBlob | |
The Navigator.msSaveOrOpenBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveBlob() except that this enables the file open option. | ||
2881 | Navigator.oscpu | API, Deprecated, HTML DOM, Navigator, NavigatorID, Property, Reference |
The Navigator.oscpu property returns a string that identifies the current operating system. | ||
2882 | Navigator.permissions | API, Experimental, Navigator, Permissions, Property, Reference |
The Navigator.permissions read-only property returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API. | ||
2883 | Navigator.presentation | |
The presentation property of Navigator serves as the entry point for the Presentation API and returns a reference to Presentation object. | ||
2884 | Navigator.productSub | API, Deprecated, HTML DOM, Navigator, Property, Read-only |
The Navigator.productSub read-only property returns the build number of the current browser. | ||
2885 | Navigator.registerContentHandler() | API, MIME, Method, Navigator, Obsolete, Web-Based Protocol Handlers, registerContentHandler |
Allows web sites to register themselves as possible handlers for content of a particular MIME type. | ||
2886 | Navigator.registerProtocolHandler() | API, HTML DOM, Method, Navigator, Reference, Web-Based Protocol Handlers, registerProtocolHandler |
The Navigator method registerProtocolHandler() lets websites register their ability to open or handle particular URL schemes (aka protocols). | ||
2887 | Web-based protocol handlers | Advanced, HTML5, Web-Based Protocol Handlers |
It's fairly common to find web pages link to resources using non-http protocols. An example is the mailto: protocol: | ||
2888 | Navigator.requestMediaKeySystemAccess() | API, Audio, DOM Reference, EME, Encrypted Media Extensions, Encrypted Media Extensions API, HTML DOM, Method, Navigator, Reference, Video, requestMediaKeySystemAccess |
The Navigator.requestMediaKeySystemAccess() method returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream. This method is part of the Encrypted Media Extensions API, which brings support for encrypted media and DRM-protected video to the web. | ||
2889 | Navigator.sendBeacon() | API, Beacon, Method, Navigator, NeedsExample, Networking, Reference, Web Performance, sendBeacon |
The navigator.sendBeacon() method Asynchronous sends a small amount of data over HTTP to a web server. | ||
2890 | Navigator.serviceWorker | API, Navigator, Property, Reference, Service Workers, Service worker API, ServiceWorker |
The Navigator.serviceWorker read-only property returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker . | ||
2891 | Navigator.share() | Method, Navigator, Reference, Share, Web |
The navigator.share() method of the Web Share API invokes the native sharing mechanism of the device. | ||
2892 | Navigator.vendor | API, HTML DOM, Property, Read-only |
The value of the Navigator vendor property is always either "Google Inc. ", "Apple Computer, Inc. ", or (in Firefox) the empty string. | ||
2893 | Navigator.vendorSub | API, Deprecated, HTML DOM, Property, Read-only |
The value of the Navigator.vendorSub property is always the empty string, in any browser. | ||
2894 | Navigator.vibrate() | API, Method, Navigator, Reference, Vibration API |
The Navigator.vibrate() method pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead. | ||
2895 | Navigator.wakeLock | API, Reference, Screen Wake Lock API |
The wakeLock read-only property returns a WakeLock interface which allows a document to acquire a screen wake lock. While a screen wake lock is active, the user agent will try to prevent the device from dimming the screen, turning it off completely, or showing a screensaver. | ||
2896 | Navigator.webdriver | API, Navigator, Property, Reference, WebDriver, weblock |
The webdriver read-only property of the navigator interface indicates whether the user agent is controlled by automation. | ||
2897 | Navigator.xr | API, AR, Augmented Reality, Getter, Graphics, Navigator, Property, Reference, VR, Virtual Reality, WebXR, XR |
The read-only xr property provided by the Navigator or WorkerNavigator interface returns an XRSystem object which can be used to access the WebXR Device API. | ||
2898 | NavigatorConcurrentHardware | API, Concurrency, HTML DOM, Interface, Navigator, NavigatorCPU, NavigatorConcurrentHardware, NeedsBrowserCompatibility, Reference, Threading, Threads, WorkerNavigator, Workers |
The NavigatorConcurrentHardware mixin adds to the Navigator interface features which allow Web content to determine how many logical processors the user has available, in order to let content and Web apps optimize their operations to best take advantage of the user's CPU. | ||
2899 | navigator.hardwareConcurrency | API, HTML DOM, Navigator, NavigatorConcurrentHardware, Property, Web Workers, Worker, WorkerNavigator, hardwareConcurrency |
The navigator.hardwareConcurrency read-only property returns the number of logical processors available to run threads on the user's computer. | ||
2900 | NavigatorID | API, HTML DOM, Interface, Navigator, NavigatorID, Reference |
The NavigatorID interface contains methods and properties related to the identity of the browser. | ||
2901 | NavigatorID.appCodeName | API, Deprecated, HTML DOM, NavigatorID, Property, Reference |
The value of the NavigatorID.appCodeName property is always "Mozilla ", in any browser. This property is kept only for compatibility purposes. | ||
2902 | NavigatorID.appName | API, Deprecated, HTML DOM, NavigatorID, Property, Reference |
The value of the NavigatorID.appName property is always "Netscape ", in any browser. This property is kept only for compatibility purposes. | ||
2903 | NavigatorID.appVersion | API, Deprecated, NavigatorID, Property, Reference, Référence(2), appVersion |
Returns either "4.0 " or a string representing version information about the browser. | ||
2904 | NavigatorID.platform | API, Deprecated, HTML DOM, Navigator, NavigatorID, Property, Reference, platform |
Returns a string representing the platform of the browser. The specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer. | ||
2905 | NavigatorID.product | API, Deprecated, NavigatorID, Property, Reference |
The value of the NavigatorID.product property is always "Gecko ", in any browser. This property is kept only for compatibility purposes. | ||
2906 | NavigatorID.taintEnabled() | API, Deprecated, HTML DOM, Method, NavigatorID, Reference |
The NavigatorID.taintEnabled() method always returns false . | ||
2907 | NavigatorID.userAgent | API, NavigatorID, Property, Read-only, Reference |
The NavigatorID.userAgent read-only property returns the user agent string for the current browser. | ||
2908 | NavigatorLanguage | API, HTML-DOM, Reference |
NavigatorLanguage contains methods and properties related to the language of the navigator. | ||
2909 | NavigatorLanguage.language | API, Language, NavigatorLanguage, Property, Read-only, Reference |
The NavigatorLanguage.language read-only property returns a string representing the preferred language of the user, usually the language of the browser UI. | ||
2910 | NavigatorLanguage.languages | API, Experimental, Expérimental(2), NavigatorLanguage, Property, Read-only, Reference, Référence(2), languages |
The NavigatorLanguage.languages read-only property returns an array of DOMString s representing the user's preferred languages. The language is described using BCP 47 language tags. In the returned array they are ordered by preference with the most preferred language first. | ||
2911 | NavigatorOnLine | API, HTML-DOM |
The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser. | ||
2912 | Online and offline events | AJAX, DOM, HTML5, Intermediate, NeedsUpdate, Offline web applications, Web Development |
Some browsers implement Online/Offline events from the WHATWG Web Applications 1.0 specification. | ||
2913 | Navigator.onLine | API, DOM Reference, NavigatorOnLine, Online, Property, Reference |
Returns the online status of the browser. The property returns a boolean value, with true meaning online and false meaning offline. The property sends updates whenever the browser's ability to connect to the network changes. The update occurs when the user follows links or when a script requests a remote page. For example, the property should return false when users click links soon after they lose internet connection. | ||
2914 | NavigatorPlugins | API, Experimental, HTML DOM, Interface, Mixin, Navigator, NavigatorPlugins, Plugins, Reference |
The NavigatorPlugins mixin adds to the Navigator interface methods and properties for discovering and interacting with plugins installed into the browser. | ||
2915 | NavigatorPlugins.javaEnabled() | API, Method, Reference, Référence(2) |
This method indicates whether the current browser is Java-enabled or not. | ||
2916 | NavigatorPlugins.mimeTypes | API, Property, Reference |
Returns a MimeTypeArray object, which contains a list of MimeType objects representing the MIME types recognized by the browser. | ||
2917 | NavigatorPlugins.plugins | API, DOM, Navigator, NavigatorPlugins, Plugins, Property, Reference |
Returns a PluginArray object, listing the Plugin objects describing the plugins installed in the application. | ||
2918 | NavigatorStorage | API, Interface, Mixin, Navigator, NavigatorStorage, Reference, Secure context, Storage, Storage Standard, WorkerNavigator |
The NavigatorStorage mixin adds to the Navigator and WorkerNavigator interfaces the Navigator.storage property, which provides access to the StorageManager singleton used for controlling the persistence of data stores as well as obtaining information | ||
2919 | NavigatorStorage.storage | API, Navigator, NavigatorStorage, Property, Reference, Secure context, Storage, WorkerNavigator |
The NavigatorStorage.storage read-only property returns the singleton StorageManager object used to access the overall storage capabilities of the browser for the current site or app. | ||
2920 | NDEFMessage | NDEF, Reference, Web NFC |
The NDEFMessage interface of the Web NFC API is an abstract interface that represents message that can be received or sent to a to compatible NFC devices, e.g. NFC tags supporting NDEF. | ||
2921 | NDEFMessage.records | NDEF, Reference, Web NFC |
The records property of NDEFMessage interface represents a list of NDEFRecord s defining the NDEF message. | ||
2922 | NDEFReader | NDEF, Reference, Web NFC |
The NDEFReader interface of the Web NFC API is an abstract interface used to read data from compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field. | ||
2923 | NDEFReader() | NDEF, Reference, Web NFC |
The NDEFReader() constructor of the Web NFC API returns a newly constructed NDEFReader object used to read NDEF messages from compatiable NFC devices, e.g. NDEF tags, within the reader's magnetic induction field. | ||
2924 | NDEFReader.onreading | NDEF, Reference, Web NFC |
The onreading property of NDEFReader interface of the Web NFC API is called whenever a new reading is available from compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field. | ||
2925 | NDEFReader: onreadingerror | NDEF, Reference, Web NFC |
The onreadingerror property of the NDEFReader interface of the Web NFC API is called whenever an error occurs during reading of NFC tags, e.g. when tags leave the reader's magnetic induction field. | ||
2926 | NDEFReader.scan() | NDEF, Reference, Web NFC |
The scan() method of NDEFReader interface reads NDEF records from compatible NFC devices, e.g., NDEF NFC tags. | ||
2927 | NDEFReader.write() | NDEF, Reference, Web NFC |
The write() method of NDEFReader interface writes a specified message to a compatiable NFC tag. | ||
2928 | NDEFReadingEvent | NDEF, Reference, Web NFC |
The NDEFReadingEvent interface represents events despatched on new NFC readings obtained by NDEFReader . | ||
2929 | NDEFRecord | NDEF, Reference, Web NFC |
The NDEFRecord interface of the Web NFC API is an abstract interface that represents data that can be read from or written to compatible NFC devices, e.g. NFC tags supporting NDEF. | ||
2930 | NDEFRecord.data | NDEF, Reference, Web NFC |
The data property of the NDEFRecord interface is DataView providing access to the payload data of the record. | ||
2931 | NDEFRecord.encoding | Encoding, NDEF, Reference, Web NFC |
The encoding property ofthe NDEFRecord interface is USVString containing the name of the encoding used to encode NDEF payload if it contains textual data. | ||
2932 | NDEFRecord.id | NDEF, NDEFRecord, Reference, Web NFC |
The id property ofthe NDEFRecord interface is USVString containing the record identifier. | ||
2933 | NDEFRecord.lang | NDEF, Reference, Web NFC |
The lang property ofthe NDEFRecord interface is USVString containing the language tag of the record contents, if it is a vailable. | ||
2934 | NDEFRecord.mediaType | NDEF, Reference, Web NFC |
The mediaType property ofthe NDEFRecord interface is USVString containing the MIME type of the record payload. | ||
2935 | NDEFRecord() | NDEF, Reference, Web NFC |
The NDEFRecord() constructor of the Web NFC API returns a newly constructed NDEFRecord object that represents data that can be read from or written to compatible NFC devices, e.g. NFC tags supporting NDEF. | ||
2936 | NDEFRecord.recordType | NDEF, Reference, Web NFC |
The recordType property ofthe NDEFRecord interface is USVString containing the NDEF record type. | ||
2937 | NDEFRecord.toRecords() | NDEF, Reference, Web NFC |
The toRecords() method of the NDEFRecord interface of Web NFC API parses record payload NDEFRecord.data besed on NDEFRecord.recordType and returns the result. | ||
2938 | Network Information API | API, Experimental, Network Information API, Reference, WebAPI |
Network Information API | ||
2939 | NetworkInformation | API, Experimental, Interface, Network Information API, NetworkInformation, Reference |
The NetworkInformation interface provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. The NetworkInformation interfaces cannot be instantiated. It is instead accessed through the connection property of the Navigator interface. | ||
2940 | NetworkInformation.downlink | API, Experimental, Network Information API, NetworkInformation, Property, Reference, downlink |
The downlink read-only property of the NetworkInformation interface returns the effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds. This value is based on recently observed application layer throughput across recently active connections, excluding connections made to a private address space. In the absence of recent bandwidth measurement data, the attribute value is determined by the properties of the underlying connection technology. | ||
2941 | NetworkInformation.downlinkMax | API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference |
The NetworkInformation.downlinkMax read-only property returns the maximum downlink speed, in megabits per second (Mbps), for the underlying connection technology. | ||
2942 | NetworkInformation.effectiveType | API, Experimental, Network Information API, NetworkInformation, Reference, effectiveType |
The effectiveType read-only property of the NetworkInformation interface returns the effective type of the connection meaning one of 'slow-2g', '2g', '3g', or '4g'. This value is determined using a combination of recently observed, round-trip time and downlink values. | ||
2943 | NetworkInformation.onchange | API, Event Handler, Experimental, Network Information API, NetworkInformation, Property, Reference |
The NetworkInformation.onchange event handler contains the code that is fired when connection information changes, and the change is received by the NetworkInformation object. | ||
2944 | NetworkInformation.rtt | API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, rtt |
The NetworkInformation.rtt read-only property returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer RTT measurements across recently active connections. It excludes connections made to a private address space. If no recent measurement data is available, the value is based on the properties of the underlying connection technology. | ||
2945 | NetworkInformation.saveData | API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, saveData |
The NetworkInformation.saveData read-only property of the NetworkInformation interface returns true if the user has set a reduced data usage option on the user agent. | ||
2946 | NetworkInformation.type | API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference |
The NetworkInformation.type read-only property returns the type of connection a device is using to communicate with the network. | ||
2947 | Node | API, DOM, Document, Element, Interface, Node, Reference, Structure, hierarchy |
The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably. | ||
2948 | Node.appendChild() | API, DOM, Method, Node, Reference |
The Node.appendChild() method adds a node to the end of the list of children of a specified parent node. If the given child is a reference to an existing node in the document, appendChild() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node). | ||
2949 | Node.baseURI | API, HTML, NeedsSpecTable, Node, Property, Read-only |
The baseURI read-only property returns the absolute base URL of a Node . | ||
2950 | Node.childNodes | API, DOM, DOM Reference, Property, Reference |
The Node.childNodes read-only property returns a live NodeList of child Node of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments. | ||
2951 | Node.cloneNode() | API, DOM, DOM Reference, Method, NeedsBrowserCompatibility, Reference |
The Node.cloneNode() method returns a duplicate of the node on which this method was called. | ||
2952 | Node.compareDocumentPosition() | API, Compare Nodes, DOM, Method, Node, Position, Reference, compareDocumentPosition |
The Node.compareDocumentPosition() method reports the position of the given node relative to another node in any document — not just the given node’s document. | ||
2953 | Node.contains() | API, DOM, Method, Node |
The Node.contains() method returns a Boolean value indicating whether a node is a descendant of a given node, i.e. the node itself, one of its direct children (Node.childNodes ), one of the children's direct children, and so on. | ||
2954 | Node.firstChild | API, DOM, Node, Property, Reference |
The Node.firstChild read-only property returns the node's first child in the tree, or null if the node has no children. | ||
2955 | Node.getRootNode() | API, DOM, Method, Node, Reference, getRootNode |
The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available. | ||
2956 | Node.getUserData() | API, DOM, Method, Node, Obsolete, Reference |
The Node.getUserData() method returns any user DOMUserData set previously on the given node by Node.setUserData() . | ||
2957 | Node.hasChildNodes() | API, DOM, Method, NeedsSpecTable, Node, Reference |
The Node.hasChildNodes() method returns a Boolean value indicating whether the given Node has child nodes or not. | ||
2958 | Node.insertBefore() | API, DOM, Method, Node, Reference |
The Node.insertBefore() method inserts a node before a reference node as a child of a specified parent node. | ||
2959 | Node.isConnected | API, DOM, Node, Property, Reference |
The isConnected read-only property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to the context object, for example the Document object in the case of the normal DOM, or the ShadowRoot in the case of a shadow DOM. | ||
2960 | Node.isDefaultNamespace() | API, DOM, Method, NeedsSpecTable, Node, Reference |
The Node.isDefaultNamespace() method accepts a namespace URI as an argument and returns a Boolean with a value of true if the namespace is the default namespace on the given node or false if not. | ||
2961 | Node.isEqualNode() | API, DOM, Method, Node, Reference |
The Node.isEqualNode() method tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes. | ||
2962 | Node.isSameNode() | API, DOM, Method, Node, Reference |
The isSameNode() method for Node objects tests whether two nodes are the same (that is, whether they reference the same object). | ||
2963 | Node.isSupported() | API, DOM, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Node, Obsolete, Reference |
The Node.isSupported() returns a Boolean flag containing the result of a test whether the DOM implementation implements a specific feature and this feature is supported by the specific node. | ||
2964 | Node.lastChild | API, DOM, Property, Reference |
The Node.lastChild read-only property returns the last child of the node. If its parent is an element, then the child is generally an element node, a text node, or a comment node. It returns null if there are no child elements. | ||
2965 | Node.localName | API, DOM, Obsolete, Property |
The Node.localName read-only property returns the local part of the qualified name of this node. | ||
2966 | Node.lookupNamespaceURI() | API, DOM, Method, NeedsSpecTable, Node, Reference |
The Node.lookupNamespaceURI() method accepts a prefix and returns the namespace URI associated with it on the given node if found (and null if not). | ||
2967 | Node.lookupPrefix() | API, DOM, Method, Node, Reference |
The Node.lookupPrefix() method returns a DOMString containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the result is implementation-dependent. | ||
2968 | Node.namespaceURI | API, DOM, Obsolete, Property, Reference |
The Node.namespaceURI read-only property returns the namespace URI of the node, or null if the node is not in a namespace. When the node is a document, it returns the XML namespace for the current document. | ||
2969 | Node.nextSibling | API, DOM, Node, Property |
The Node.nextSibling read-only property returns the node immediately following the specified one in their parent's Node.childNodes , or returns null if the specified node is the last child in the parent element. | ||
2970 | Node.nodeName | API, DOM, Gecko, NeedsSpecTable, Node, Property, Read-only |
The nodeName read-only property returns the name of the current Node as a string. | ||
2971 | Node.nodeType | API, DOM, Property, Reference |
The read-only Node.nodeType property is an integer that identifies what the node is. It distinguishes different kind of nodes from each other, such as Element , Text and Comment . | ||
2972 | Node.nodeValue | API, DOM, NeedsSpecTable, Node, Property, Reference |
The nodeValue property of the Node interface returns or sets the value of the current node. | ||
2973 | Node.normalize() | API, DOM, Method, NeedsSpecTable, Node, Reference |
The Node.normalize() method puts the specified node and all of its sub-tree into a "normalized" form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes. | ||
2974 | Node.ownerDocument | API, DOM, Node, Property, Reference |
The ownerDocument read-only property of the Node interface returns the top-level document object of the node. | ||
2975 | Node.parentElement | API, DOM, JavaScript, NeedsBrowserCompatibility, Node, Property |
The Node.parentElement read-only property returns the DOM node's parent Element , or null if the node either has no parent, or its parent isn't a DOM Element . | ||
2976 | Node.parentNode | API, DOM, Gecko, Property |
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree. | ||
2977 | Node.prefix | API, DOM, Obsolete, Property |
The Node.prefix read-only property returns the namespace prefix of the specified node, or null if no prefix is specified. | ||
2978 | Node.previousSibling | API, DOM, Gecko, Property |
The Node.previousSibling read-only property returns the node immediately preceding the specified one in its parent's Node.childNodes list, or null if the specified node is the first in that list. | ||
2979 | Node.removeChild() | API, DOM, Method, NeedsSpecTable, Node, Reference |
The Node.removeChild() method removes a child node from the DOM and returns the removed node. | ||
2980 | Node.replaceChild() | API, DOM, Method, Node, Reference |
The Node.replaceChild() method replaces a child node within the given (parent) node. | ||
2981 | Node.setUserData() | API, DOM, Method, Node, Obsolete, Reference |
The Node.setUserData() method allows a user to attach (or remove) data to an element, without needing to modify the DOM. Note that such data will not be preserved when imported via Node.importNode , as with Node.cloneNode() and Node.renameNode() operations (though Node.adoptNode does preserve the information), and equality tests in Node.isEqualNode() do not consider user data in making the assessment. | ||
2982 | Node.textContent | API, DOM, Node, Property, Reference |
The textContent property of the Node interface represents the text content of the node and its descendants. | ||
2983 | NodeFilter | API, DOM, DOM Reference |
A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker . A NodeFilter knows nothing about the document or traversing nodes; it only knows how to evaluate a single node against the provided filter. | ||
2984 | NodeFilter.acceptNode() | API, DOM, DOM Reference, Method, NodeFilter |
The NodeFilter.acceptNode() method returns an unsigned short that will be used to tell if a given Node must be accepted or not by the NodeIterator or TreeWalker iteration algorithm. This method is expected to be written by the user of a NodeFilter . Possible return values are: | ||
2985 | NodeIterator | API, DOM |
The NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order. | ||
2986 | NodeIterator.detach() | API, DOM, Method, NodeIterator, Obsolete |
The NodeIterator.detach() method is a no-op, kept for backward compatibility only. | ||
2987 | NodeIterator.expandEntityReferences | API, DOM, Deprecated, NodeIterator, Property |
The NodeIterator.expandEntityReferences read-only property returns a Boolean flag indicating whether or not the children of entity reference nodes are visible to the NodeIterator . | ||
2988 | NodeIterator.filter | API, DOM, NodeIterator, Property |
The NodeIterator.filter read-only method returns a NodeFilter object, that is an object implement an acceptNode(node) method, used to screen nodes. | ||
2989 | NodeIterator.nextNode() | API, DOM, Method, NodeIterator |
The NodeIterator.nextNode() method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set. The first call to nextNode() returns the first node in the set. | ||
2990 | NodeIterator.pointerBeforeReferenceNode | API, DOM, Experimental, Expérimental(2), NodeIterator, Property |
The NodeIterator.pointerBeforeReferenceNode read-only property returns a Boolean flag that indicates whether the NodeFilter is anchored before (if this value is true ) or after (if this value is false ) the anchor node indicated by the NodeIterator.referenceNode property. | ||
2991 | NodeIterator.previousNode() | API, DOM, Method, NodeIterator |
The NodeIterator.previousNode() method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set. | ||
2992 | NodeIterator.referenceNode | API, DOM, Experimental, Expérimental(2), NodeIterator, Property |
The NodeIterator.referenceNode read-only returns the Node to which the iterator is anchored; as new nodes are inserted, the iterator remains anchored to the reference node as specified by this property. | ||
2993 | NodeIterator.root | API, DOM, NodeIterator, Property |
The NodeIterator.root read-only property represents the Node that is the root of what the NodeIterator traverses. | ||
2994 | NodeIterator.whatToShow | API, DOM, NodeIterator, Property |
The NodeIterator.whatToShow read-only property represents an unsigned integer representing a bitmask signifying what types of nodes should be returned by the NodeIterator . | ||
2995 | NodeList | API, DOM, Interface, NodeList |
NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll() . | ||
2996 | NodeList.entries() | DOM, Iteration, Method, Node, NodeList |
The NodeList.entries() method returns an Iteration_protocols allowing to go through all key/value pairs contained in this object. The values are Node objects. | ||
2997 | NodeList.prototype.forEach() | DOM, Iterable, Method, NodeList, Reference, Web |
The forEach() method of the NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order. | ||
2998 | NodeList.item() | API, DOM, Method, NodeList, Reference |
Returns a node from a NodeList by index. This method doesn't throw exceptions as long as you provide arguments. A value of null is returned if the index is out of range, and a TypeError is thrown if no argument is provided. | ||
2999 | NodeList.keys() | DOM, Iterator, Method, NodeList, Reference, Web |
The NodeList.keys() method returns an Iteration_protocols allowing to go through all keys contained in this object. The keys are unsigned integer . | ||
3000 | NodeList.length | API, DOM, Gecko, NeedsSpecTable, NodeList, Property, Reference |
The NodeList.length property returns the number of items in a NodeList . | ||
3001 | NodeList.values() | DOM, Iterator, Method, NodeList, Reference, Web |
The NodeList.values() method returns an Iteration_protocols allowing to go through all values contained in this object. The values are Node objects. | ||
3002 | NonDocumentTypeChildNode | API, DOM, Interface, NonDocumentTypeChildNode, Reference |
The NonDocumentTypeChildNode interface contains methods that are particular to Node objects that can have a parent, but not suitable for DocumentType . | ||
3003 | NonDocumentTypeChildNode.nextElementSibling | API, DOM, NonDocumentTypeChildNode, Property |
The NonDocumentTypeChildNode.nextElementSibling read-only property returns the element immediately following the specified one in its parent's children list, or null if the specified element is the last one in the list. | ||
3004 | NonDocumentTypeChildNode.previousElementSibling | API, DOM, NonDocumentTypeChildNode, Property, Read-only, Reference |
The NonDocumentTypeChildNode.previousElementSibling read-only property returns the Element immediately prior to the specified one in its parent's children list, or null if the specified element is the first one in the list. | ||
3005 | Notation | API, Obsolete, Reference, Référence(2) |
Represents a DTD notation (read-only). May declare format of an unparsed entity or formally declare the document's processing instruction targets. Inherits methods and properties from Node . Its nodeName is the notation name. Has no parent. | ||
3006 | Notification | API, Interface, Notifications, Notifications API, Reference |
The Notification interface of the Notifications API is used to configure and display desktop notifications to the user. | ||
3007 | Notification.actions | API, Notification, Notifications, Notifications API, Property, Reference, actions |
The actions read-only property of the Notification interface returns the list of NotificationAction objects set using the actions option when creating the notification using the Notification.Notification constructor. | ||
3008 | Notification.badge | API, Notification, Notifications, Notifications API, Property, Reference, badge |
The badge property of the Notification interface returns the URL of the image used to represent the notification when there is not enough space to display the notification itself. | ||
3009 | Notification.body | API, BODY, Notification, Notifications, Notifications API, Property, Reference |
The body read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification.Notification constructor. | ||
3010 | Notification.close() | API, Method, Notification, Notifications, Notifications API, Reference, close |
The close() method of the Notification interface is used to close/remove a previously displayed notification. | ||
3011 | Notification.data | API, Notification, Notifications, Notifications API, Property, Reference, data |
The data read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the data option of the Notification.Notification constructor. | ||
3012 | Notification.dir | API, Notification, Notifications, Notifications API, Property, Reference, dir |
The dir read-only property of the Notification interface indicates the text direction of the notification, as specified in the dir option of the Notification.Notification constructor. | ||
3013 | Notification.icon | API, Notification, Notifications, Notifications API, Property, Reference, icon |
The icon read-only property of the Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the icon option of the Notification.Notification constructor. | ||
3014 | Notification.image | API, Image, Notification, Notifications, Notifications API, Property, Reference |
The image read-only property of the Notification interface contains the URL of an image to be displayed as part of the notification | ||
3015 | Notification.lang | API, Notification, Notifications, Notifications API, Property, Reference |
The lang read-only property of the Notification interface indicates the language used in the notification, as specified in the lang option of the Notification.Notification constructor. | ||
3016 | Notification.maxActions | API, Notification, Notifications, Notifications API, Property, Reference, actions |
The maxActions attribute of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent. | ||
3017 | Notification.Notification() | API, Constructor, Notification, Notifications, Notifications API, Reference |
The Notification() constructor creates a new Notification object instance, which represents a user notification. | ||
3018 | Notification.onclick | API, Notification, Notifications, Notifications API, Property, Reference, onclick |
The onclick property of the Notification interface specifies an event listener to receive click events. These events occur when the user clicks on a displayed Notification . | ||
3019 | Notification.onclose | API, Notification, Notifications, Notifications API, Property, Reference, onclose |
The onclose property of the Notification interface specifies an event listener to receive HTMLDialogElement/close_event events. These events occur when a Notification is closed. | ||
3020 | Notification.onerror | API, Notification, Notifications, Notifications API, Property, Reference, onerror |
The onerror property of the Notification interface specifies an event listener to receive HTMLElement/error_event events. These events occur when something goes wrong with a Notification (in many cases an error preventing the notification from being displayed.) | ||
3021 | Notification.onshow | API, Notification, Notifications, Notifications API, Property, Reference, onshow |
The onshow property of the Notification interface specifies an event listener to receive Element/show_event events. These events occur when a Notification is displayed. | ||
3022 | Notification.permission | API, Notification, Notifications, Notifications API, Property, Reference |
The permission read-only property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications. | ||
3023 | Notification.renotify | API, Experimental, Notifications, Property, Reference, renotify |
The renotify read-only property of the Notification interface specifies whether the user should be notified after a new notification replaces an old one, as specified in the renotify option of the Notification.Notification constructor. | ||
3024 | Notification.requestPermission() | API, Method, Notification, Notifications, Notifications API, Reference |
The requestPermission() method of the Notification interface requests permission from the user for the current origin to display notifications. | ||
3025 | Notification.requireInteraction | API, Notification, Notifications, Notifications API, Property, Reference, Web, requireInteraction |
The requireInteraction read-only property of the Notification interface returns a Boolean indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically. | ||
3026 | Notification.silent | API, Notification, Notifications, Notifications API, Property, Reference, silent |
The silent read-only property of the Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued, regardless of the device settings. This is specified in the silent option of the Notification.Notification constructor. | ||
3027 | Notification.tag | API, Notification, Notifications, Notifications API, Property, Reference, tag |
The tag read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the tag option of the Notification.Notification constructor. | ||
3028 | Notification.timestamp | API, Notification, Notifications, Notifications API, Property, Reference, timeStamp |
The timestamp read-only property of the Notification interface returns a DOMTimeStamp , as specified in the timestamp option of the Notification.Notification constructor. | ||
3029 | Notification.title | API, Notification, Notifications, Notifications API, Property, Reference, Title |
The title read-only property of the Notification interface indicates the title of the notification, as specified in the title parameter of the Notification.Notification constructor. | ||
3030 | Notification.vibrate | API, Device, Notification, Notifications, Notifications API, Property, Reference, vibrate |
The vibrate read-only property of the Notification interface specifies a vibration pattern for the device's vibration hardware to emit when the notification fires. This is specified in the vibrate option of the Notification.Notification constructor. | ||
3031 | NotificationAction | |
The NotificationAction interface of the Notifications API is used to represent action buttons the user can click to interact with notifications. | ||
3032 | NotificationEvent | API, Experimental, Interface, NotificationEvent, Notifications, Reference, Service Workers, ServiceWorker |
The parameter passed into the ServiceWorkerGlobalScope.onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker . | ||
3033 | NotificationEvent.action | API, Experimental, NotificationEvent, Notifications, Property, Reference, Service Workers, ServiceWorker, action |
Returns the string ID of the notification button the user clicked. This value returns an empty string if the user clicked the notification somewhere other than an action button, or the notification does not have a button. The notification id is set during the creation of the Notification via the actions array attribute and can't be modified unless the notification is replaced. | ||
3034 | NotificationEvent.notification | API, Experimental, NotificationEvent, Notifications, Property, Reference, Service Workers, ServiceWorker |
The notification read-only property of the NotificationEvent interface returns the instance of the Notification that was clicked to fire the event. The Notification provides read-only access to many properties that were set at the instantiation time of the Notification such as tag and data attributes that allow you to store information for defered use in the notificationclick event. | ||
3035 | NotificationEvent.NotificationEvent() | API, Constructor, Experimental, NotificationEvent, Reference, Service Workers, ServiceWorker |
The NotificationEvent() constructor creates a new NotificationEvent object. | ||
3036 | Notifications API | Landing, Notifications, Notifications API, permission, system |
The Notifications API allows web pages to control the display of system notifications to the end user. These are outside the top-level browsing context viewport, so therefore can be displayed even when the user has switched tabs or moved to a different app. The API is designed to be compatible with existing notification systems, across different platforms. | ||
3037 | Using the Notifications API | API, Advanced, Guide, Notifications, Notifications API, Push, Tutorial |
The Notifications API lets a web page or app send notifications that are displayed outside the page at the system level; this lets web apps send information to a user even if the application is idle or in the background. This article looks at the basics of using this API in your own apps. | ||
3038 | NotifyAudioAvailableEvent | API, Audio, Deprecated, NeedsContent, Non-standard, Reference, Référence(2) |
The non-standard, obsolete, NotifyAudioAvailableEvent interface defines the event sent to audio elements when the audio buffer is full. | ||
3039 | OES_element_index_uint | API, Reference, WebGL, WebGL extension |
The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements() . | ||
3040 | OES_fbo_render_mipmap | API, Reference, WebGL, WebGL extension, WebGL extensions |
The OES_fbo_render_mipmap extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object. | ||
3041 | OES_standard_derivatives | API, Reference, WebGL, WebGL extension |
The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx , dFdy , and fwidth . | ||
3042 | OES_texture_float_linear | API, Reference, WebGL, WebGL extension |
The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. | ||
3043 | OES_texture_float | API, Reference, WebGL, WebGL extension |
The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. | ||
3044 | OES_texture_half_float_linear | API, Reference, WebGL, WebGL extension |
The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. | ||
3045 | OES_texture_half_float | API, Reference, WebGL, WebGL extension |
The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. | ||
3046 | OES_vertex_array_object | API, Reference, WebGL, WebGL extension |
The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data. | ||
3047 | OES_vertex_array_object.bindVertexArrayOES() | API, Method, Reference, VAO, WebGL, WebGL extension |
The OES_vertex_array_object.bindVertexArrayOES() method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer. | ||
3048 | OES_vertex_array_object.createVertexArrayOES() | API, Method, Reference, VAO, WebGL, WebGL extension |
The OES_vertex_array_object.createVertexArrayOES() method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data. | ||
3049 | OES_vertex_array_object.deleteVertexArrayOES() | API, Method, Reference, VAO, WebGL, WebGL extension |
The OES_vertex_array_object.deleteVertexArrayOES() method of the WebGL API deletes a given WebGLVertexArrayObject object. | ||
3050 | OES_vertex_array_object.isVertexArrayOES() | API, Method, Reference, VAO, WebGL, WebGL extension |
The OES_vertex_array_object.isVertexArrayOES() method of the WebGL API returns true if the passed object is a WebGLVertexArrayObject object. | ||
3051 | OfflineAudioCompletionEvent | API, Interface, OfflineAudioCompletionEvent, Reference, Référence(2), Web Audio API |
The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface. | ||
3052 | OfflineAudioCompletionEvent.OfflineAudioCompletionEvent() | API, Audio, Constructor, OfflineAudioCompletionEvent, Reference, Web Audio API |
The OfflineAudioCompletionEvent() constructor of the Web Audio API creates a new OfflineAudioCompletionEvent object instance. | ||
3053 | OfflineAudioCompletionEvent.renderedBuffer | API, Audio, OfflineAudioCompletionEvent, Property, Reference, Web Audio API |
The renderedBuffer read-only property of the OfflineAudioCompletionEvent interface is an AudioBuffer containing the result of processing an OfflineAudioContext . | ||
3054 | OfflineAudioContext | API, Audio, Interface, OfflineAudioContext, Reference, Web Audio API |
The OfflineAudioContext interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNode s. In contrast with a standard AudioContext , an OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer . | ||
3055 | OfflineAudioContext: complete event | API, Event, OfflineAudioContext, Reference, Web Audio API, complete |
Web Audio API | ||
3056 | OfflineAudioContext.length | API, NeedsExample, OfflineAudioContext, Property, Reference, Web Audio API |
The length property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames. | ||
3057 | OfflineAudioContext.OfflineAudioContext() | API, Audio, Audio Contexts, Constructor, OfflineAudioContext, Reference, Web Audio API |
The OfflineAudioContext() constructor—part of the Web Audio API—creates and returns a new OfflineAudioContext object instance, which can then be used to render audio to an AudioBuffer rather than to an audio output device. | ||
3058 | OfflineAudioContext.oncomplete | API, OfflineAudioContext, Property, Reference, Référence(2), Web Audio API, oncomplete |
The oncomplete event handler of the OfflineAudioContext interface is called when the audio processing is terminated, that is when the complete event (of type OfflineAudioCompletionEvent ) is raised. | ||
3059 | OfflineAudioContext.resume() | API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, resume |
The resume() method of the OfflineAudioContext interface resumes the progression of time in an audio context that has been suspended. The promise resolves immediately because the OfflineAudioContext does not require the audio hardware. If the context is not currently suspended or the rendering has not started, the promise is rejected with InvalidStateError . | ||
3060 | OfflineAudioContext.startRendering() | API, Method, OfflineAudioContext, Reference, Web Audio API, startRendering |
The startRendering() method of the OfflineAudioContext Interface starts rendering the audio graph, taking into account the current connections and the current scheduled changes. | ||
3061 | OfflineAudioContext.suspend() | API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, suspend |
The suspend() method of the OfflineAudioContext interface schedules a suspension of the time progression in the audio context at the specified time and returns a promise. This is generally useful at the time of manipulating the audio graph synchronously on OfflineAudioContext. | ||
3062 | OffscreenCanvas | API, Canvas, Experimental, Interface, Reference |
The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts. | ||
3063 | OffscreenCanvas.convertToBlob() | API, Canvas, Experimental, Method, OffscreenCanvas, Reference |
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas. | ||
3064 | OffscreenCanvas.getContext() | API, Canvas, Experimental, Method, OffscreenCanvas, Reference |
The OffscreenCanvas.getContext() method returns a drawing context for an offscreen canvas, or null if the context identifier is not supported. | ||
3065 | OffscreenCanvas.height | API, Canvas, Experimental, OffscreenCanvas, Property, Reference |
The height property returns and sets the height of an OffscreenCanvas object. | ||
3066 | OffscreenCanvas.convertToBlob() | Junk |
See OffscreenCanvas.convertToBlob . | ||
3067 | OffscreenCanvas() | API, Canvas, Constructor, Experimental, OffscreenCanvas, Reference, WebGL |
The OffscreenCanvas() constructor returns a newly instantiated OffscreenCanvas object. | ||
3068 | OffscreenCanvas.convertToBlob() | API, Canvas, Experimental, Method, OffscreenCanvas, Reference |
The OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas. | ||
3069 | OffscreenCanvas.transferToImageBitmap() | API, Canvas, Experimental, Method, OffscreenCanvas, Reference |
The OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas . | ||
3070 | OffscreenCanvas.width | API, Canvas, Experimental, OffscreenCanvas, Property, Reference |
The width property returns and sets the width of an OffscreenCanvas object. | ||
3071 | OrientationSensor | API, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors |
The OrientationSensor interface of the Sensor APIs is the base class for orientation sensors. This interface cannot be used directly. Instead it provides properties and methods accessed by interfaces that inherit from it. | ||
3072 | OrientationSensor.populateMatrix() | API, Generic Sensor API, Method, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors, populateMatrix() |
The populateMatrix method of the OrientationSensor interface populates the given target matrix with the rotation matrix based on the latest sensor reading. The rotation matrix is shown below. | ||
3073 | OrientationSensor.quaternion | API, Generic Sensor API, Orientation Sensor API, OrientationSensor, Property, Reference, Sensor, Sensor APIs, Sensors |
The quaternion read-only property of the OrientationSensor interface returns a four element Array whose elements contain the components of the unit quaternion representing the device's orientation. | ||
3074 | OscillatorNode | API, Constructor, Interface, Media, OscillatorNode, Reference, Web Audio API |
The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone. | ||
3075 | OscillatorNode.detune | API, OscillatorNode, Property, Reference, Web Audio API, detune |
The detune property of the OscillatorNode interface is an a-rate AudioParam representing detuning of oscillation in cents. | ||
3076 | OscillatorNode.frequency | API, OscillatorNode, Property, Reference, Web Audio API, frequency |
The frequency property of the OscillatorNode interface is an a-rate AudioParam representing the frequency of oscillation in hertz. | ||
3077 | OscillatorNode.onended | API, OscillatorNode, Property, Reference, Web Audio API, onended |
The onended property of the OscillatorNode interface is used to set the event handler for the ended event, which fires when the tone has stopped playing. | ||
3078 | OscillatorNode.OscillatorNode() | Audio, Constructor, Media, OscillatorNode, Reference, Web Audio, Web Audio API |
The OscillatorNode() constructor of the Web Audio API creates a new OscillatorNode object which is an AudioNode that represents a periodic waveform, like a sine wave, optionally setting the node's properties' values to match values in a specified object. | ||
3079 | OscillatorNode.setPeriodicWave() | API, Method, OscillatorNode, Reference, Web Audio API, setPeriodicWave |
The setPeriodicWave() method of the OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when OscillatorNode.type is custom . | ||
3080 | OscillatorNode.start() | API, Method, OscillatorNode, Reference, Web Audio API, start |
The start method of the OscillatorNode interface specifies the exact time to start playing the tone. Its parameter is optional and default to 0 . | ||
3081 | OscillatorNode.stop() | API, Method, OscillatorNode, Reference, Web Audio API, stop |
The stop method of the OscillatorNode interface specifies the time to stop playing the tone. Its parameter is optional and defaults to 0 . | ||
3082 | OscillatorNode.type | API, OscillatorNode, Property, Reference, Type, Web Audio API |
The type property of the OscillatorNode interface specifies what shape of waveform the oscillator will output. There are several common waveforms available, as well as an option to specify a custom waveform shape. The shape of the waveform will affect the tone that is produced. | ||
3083 | OverconstrainedError | API, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video |
The OverconstrainedError interface of the Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied. | ||
3084 | OverconstrainedError.constraint | API, Audio, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Property, Reference, Video, constraint |
The constraint read-only property of the OverconstrainedError interface returns the constraint that was supplied in the constructor, meaning the contraint that was not satisfied. | ||
3085 | OverconstrainedError.OverconstrainedError() | API, Audio, Constructor, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video |
The OverconstrainedError constructor creates a new OverconstrainedError object which indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack , it is muted until either the current constraints can be established or until satisfiable constraints are applied. | ||
3086 | OVR_multiview2 | API, WebGL, WebGL extensions |
The OVR_multiview2 extension is part of the WebGL API and adds support for rendering into multiple views simultaneously. This especially useful for virtual reality (VR) and WebXR. | ||
3087 | OVR_multiview2.framebufferTextureMultiviewOVR() | API, Method, Multiview, VR, WebGL, WebGL extensions, WebVR, WebXR |
The OVR_multiview2.framebufferTextureMultiviewOVR() method of the WebGL API attaches a multiview texture to a WebGLFramebuffer . | ||
3088 | Page Visibility API | API, DOM, Documents, Hidden Pages, Hiding Pages, Intermediate, Page Visibility, Page Visibility API, Showing Pages, Tutorials, Visibility, Visible Pages |
The Page Visibility API provides events you can watch for to know when a document becomes visible or hidden, as well as features to look at the current visibility state of the page. | ||
3089 | PageTransitionEvent | API, Interface, PageTransitionEvent, Reference |
The PageTransitionEvent event object is available inside handler functions for the pageshow and pagehide events, fired when a document is being loaded or unloaded. | ||
3090 | PageTransitionEvent.persisted | API, PageTransitionEvent, Property, Reference, Web API |
The persisted read-only property indicates if a webpage is loading from a cache. | ||
3091 | PaintWorklet | API, CSS, CSS Paint API, Houdini, Interface, Painting, Reference, Worklet, paintWorklet |
The PaintWorklet interface of the CSS Painting API programmatically generates an image where a CSS property expects a file. Access this interface through CSS.paintWorklet . | ||
3092 | PaintWorkletGlobalScope.devicePixelRatio | CSS Paint API, DPI, Houdini, NeedsBrowserCompatibility, NeedsExample, NeedsLiveSample, Property, Reference, Worklet, devicePixelRatio, paintWorklet |
The PaintWorkletGlobalScope.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels. | ||
3093 | PaintWorklet.devicePixelRatio | API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet |
The PaintWorklet.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels. | ||
3094 | PaintWorklet.devicePixelRatio | API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet |
The PaintWorklet.devicePixelRatio read-only property of the PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels. | ||
3095 | PaintWorkletGlobalScope.registerPaint | API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, paintWorklet, registerPaint |
The PaintWorkletGlobalScope.registerPaint() method of the PaintWorklet interface registers a class programmatically generate an image where a CSS property expects a file. | ||
3096 | PannerNode | API, Interface, PannerNode, Reference, Web Audio API |
The PannerNode interface represents the position and behavior of an audio source signal in space. It is an AudioNode audio-processing module describing its position with right-hand Cartesian coordinates, its movement using a velocity vector and its directionality using a directionality cone. | ||
3097 | PannerNode.coneInnerAngle | API, PannerNode, Property, Reference, Web Audio API, coneInnerAngle |
The coneInnerAngle property of the PannerNode interface is a double value describing the angle, in degrees, of a cone inside of which there will be no volume reduction. | ||
3098 | PannerNode.coneOuterAngle | API, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterAngle |
The coneOuterAngle property of the PannerNode interface is a double value describing the angle, in degrees, of a cone outside of which the volume will be reduced by a constant value, defined by the coneOuterGain property. | ||
3099 | PannerNode.coneOuterGain | API, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterGain |
The coneOuterGain property of the PannerNode interface is a double value, describing the amount of volume reduction outside the cone, defined by the PannerNode.coneOuterAngle attribute. | ||
3100 | PannerNode.distanceModel | API, PannerNode, Property, Reference, Web Audio API, distanceModel |
The distanceModel property of the PannerNode interface is an enumerated value determining which algorithm to use to reduce the volume of the audio source as it moves away from the listener. | ||
3101 | PannerNode.maxDistance | API, PannerNode, Property, Reference, Web Audio API, maxDistance |
The maxDistance property of the PannerNode interface is a double value representing the maximum distance between the audio source and the listener, after which the volume is not reduced any further. This value is used only by the linear distance model. | ||
3102 | PannerNode.orientationX | PannerNode, Property, Reference, Web Audio API, orientationX |
The orientationX property of the PannerNode interface indicates the X (horizontal) component of the direction in which the audio source is facing, in a 3D Cartesian coordinate space. | ||
3103 | PannerNode.orientationY | API, PannerNode, Property, Reference, Web Audio API, orientationY |
The orientationY property of the PannerNode interface indicates the Y (vertical) component of the direction the audio source is facing, in 3D Cartesian coordinate space. | ||
3104 | PannerNode.orientationZ | Audio, PannerNode, Property, Web Audio |
The orientationZ property of the PannerNode interface indicates the Z (depth) component of the direction the audio source is facing, in 3D Cartesian coordinate space. | ||
3105 | PannerNode.PannerNode() | API, Audio, Constructor, PannerNode, Reference, Web Audio API |
The PannerNode() constructor of the Web Audio API creates a new PannerNode object instance. | ||
3106 | PannerNode.panningModel | API, PannerNode, Property, Reference, Web Audio API, panningModel |
The panningModel property of the PannerNode interface is an enumerated value determining which spatialisation algorithm to use to position the audio in 3D space. | ||
3107 | PannerNode.positionX | API, PannerNode, Property, Reference, Web Audio API, positionX |
The positionX property of the PannerNode interface specifies the X coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the horizontal axis (left-right). | ||
3108 | PannerNode.positionY | API, PannerNode, Property, Reference, Web Audio API, positionY |
The positionY property of the PannerNode interface specifies the Y coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the vertical axis (top-bottom). The complete vector is defined by the position of the audio source, given as (PannerNode.positionX , PannerNode.positionY , PannerNode.positionZ ), and the orientation of the audio source (that is, the direction in which it's facing), given as (PannerNode.orientationX , PannerNode.orientationY , PannerNode.orientationZ ). | ||
3109 | PannerNode.positionZ | API, PannerNode, Property, Reference, Web Audio API, positionZ |
The positionZ property of the PannerNode interface specifies the Z coordinate of the audio source's position in 3D Cartesian coordinates, corresponding to the depth axis (behind-in front of the listener). The complete vector is defined by the position of the audio source, given as (PannerNode.positionX , PannerNode.positionY , PannerNode.positionZ ), and the orientation of the audio source (that is, the direction in which it's facing), given as (PannerNode.orientationX , PannerNode.orientationY , PannerNode.orientationZ ). | ||
3110 | PannerNode.refDistance | API, PannerNode, Property, Reference, Référence(2), Web Audio API, refDistance |
The refDistance property of the PannerNode interface is a double value representing the reference distance for reducing volume as the audio source moves further from the listener – i.e. the distance at which the volume reduction starts taking effect. This value is used by all distance models. | ||
3111 | PannerNode.rolloffFactor | API, PannerNode, Property, Reference, Web Audio API, rollOffFactor |
The rolloffFactor property of the PannerNode interface is a double value describing how quickly the volume is reduced as the source moves away from the listener. This value is used by all distance models.The rolloffFactor property's default value is 1 . | ||
3112 | PannerNode.setOrientation() | API, Method, PannerNode, Reference, Web Audio API, setOrientation |
The setOrientation() method of the PannerNode Interface defines the direction the audio source is playing in. | ||
3113 | PannerNode.setPosition() | API, Method, PannerNode, Reference, Web Audio API, setPosition |
The setPosition() method of the PannerNode Interface defines the position of the audio source relative to the listener (represented by an AudioListener object stored in the AudioContext.listener attribute.) The three parameters x , y and z are unitless and describe the source's position in 3D space using the right-hand Cartesian coordinate system. | ||
3114 | PannerNode.setVelocity() | API, Audio, Deprecated, Doppler Effect, Method, PannerNode, Reference, Web Audio API, setVelocity |
The setVelocity() method of the PannerNode Interface defines the velocity vector of the audio source — how fast it is moving and in what direction. | ||
3115 | ParentNode | API, DOM, Finding Elements, Finding Nodes, Interface, Locating Elements, Locating Nodes, Managing Elements, Managing Nodes, Mixin, Node, ParentNode, Reference, Selectors |
The ParentNode mixin contains methods and properties that are common to all types of Node objects that can have children. | ||
3116 | ParentNode.append() | API, DOM, Method, Node, ParentNode, Reference |
The ParentNode.append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode . | ||
3117 | ParentNode.childElementCount | API, DOM, ParentNode, Property, Reference |
The ParentNode.childElementCount read-only property returns an unsigned long representing the number of child elements of the given element. | ||
3118 | ParentNode.children | API, Child, Child Nodes, DOM, HTMLCollection, Node, ParentNode, Property, children |
The ParentNode property children is a read-only property that returns a live HTMLCollection which contains all of the child Element of the node upon which it was called. | ||
3119 | ParentNode.firstElementChild | API, DOM, ParentNode, Property |
The ParentNode.firstElementChild read-only property returns the object's first child Element , or null if there are no child elements. | ||
3120 | ParentNode.lastElementChild | API, DOM, ParentNode, Property, Reference, polyfill |
The ParentNode.lastElementChild read-only property returns the object's last child Element or null if there are no child elements. | ||
3121 | ParentNode.prepend() | API, DOM, Method, Node, ParentNode, Reference, prepend |
The ParentNode.prepend() method inserts a set of Node objects or DOMString objects before the first child of the ParentNode . DOMString objects are inserted as equivalent Text nodes. | ||
3122 | ParentNode.querySelector() | API, DOM, Draft, Method, NeedsExample, ParentNode, Reference, Selectors, querySelector |
The ParentNode mixin defines the querySelector() method as returning an Element representing the first element matching the specified group of selectors which are descendants of the object on which the method was called. | ||
3123 | ParentNode.querySelectorAll() | API, DOM, Document, Finding Elements, Finding Nodes, Method, ParentNode, Reference, Searching Elements, Searching Nodes, Selectors, querySelectorAll |
The ParentNode mixin defines the querySelectorAll() method as returning a NodeList representing a list of elements matching the specified group of selectors which are descendants of the object on which the method was called. | ||
3124 | ParentNode.replaceChildren() | API, DOM, Method, Node, ParentNode, Reference, replaceChildren |
The ParentNode.replaceChildren() method replaces the existing children of a Node with a specified new set of children. These can be DOMString or Node objects. | ||
3125 | PasswordCredential | API, Credential Management API, Interface, PasswordCredential, Reference, credential management |
The interface of the Credential Management API provides information about a username/password pair. In supporting browsers an instance of this class may be passed in the credential member of the init object for global fetch . | ||
3126 | PasswordCredential.additionalData | API, Credential Management API, PasswordCredential, Property, Reference, credential management |
The additionalData property of the PasswordCredential interface takes one of a FormData instance, a URLSearchParams instance, or null. | ||
3127 | PasswordCredential.iconURL | API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management |
The iconURL read-only property of the PasswordCredential interface returns a USVString containing a URL pointing to an image for an icon. This image is intended for display in a credential chooser. The URL must be accessible without authentication. | ||
3128 | PasswordCredential.idName | API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management |
The idName property of the PasswordCredential interface returns a USVString , representing the name that will be used for the ID field | ||
3129 | PasswordCredential.name | API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management |
The name read-only property of the PasswordCredential interface returns a USVSTring containing a human-readable public name for display in a credential chooser. | ||
3130 | PasswordCredential.password | API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management |
The password read-only property of the PasswordCredential interface returns a USVString containing the password of the credential. | ||
3131 | PasswordCredential | API, Constructor, Credential Management API, PasswordCredential, Reference, credential management |
The PasswordCredential constructor creates a new PasswordCredential object. | ||
3132 | PasswordCredential.passwordName | API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management |
The passwordName property of the PasswordCredential interface returns a USVString , depicting the name used by the password field | ||
3133 | Path2D | API, Canvas, Interface, Path2D, Reference |
The Path2D interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. | ||
3134 | Path2D.addPath() | API, Canvas, Method, Path2D, Path2D.addPath, Reference |
The Path2D .addPath() method of the Canvas 2D API adds one Path2D object to another Path2D object. | ||
3135 | Path2D() | API, Canvas, Constructor, Drawing, Graphics, Path2D, Paths, Reference |
The Path2D() constructor returns a newly instantiated Path2D object, optionally with another path as an argument (creates a copy), or optionally with a string consisting of SVG path data. | ||
3136 | PayerErrors | API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress |
The PayerErrors dictionary is used by the Payment Request API to indicate the presence of—and to explain how to correct—validation errors in the payer details. | ||
3137 | PayerErrors.email | API, Commerce, Email, Errors, PayerErrors, Payment Request, Payment Request API, Reference, Shopping, Validation, payment |
The email property is included in a PayerErrors object if the PaymentResponse.payerEmail property failed validation; in this case, the property should contain a string describing how to correct the problem. If the payer's email address passed validation, this property is not included in the PayerErrors object. | ||
3138 | PayerErrors.name | API, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Property, Reference, Response, Validation, name, payment |
The name property is included in a PayerErrors object if the PaymentResponse.payerName returned in the response couldn't be validated. The value is a string explaining the problem. If the payer's name validated successfully, the name property is omitted from the PayerErrors object. | ||
3139 | PayerErrors.phone | API, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Reference, Response, Validation, payment |
The phone property is found in a PayerErrors object if the PaymentResponse.payerPhone returned in the response couldn't be validated as a valid phone number. The value of this property is a string explaining the problem. If the payer's phone number validated successfully, the phone property is omitted from the PayerErrors object. | ||
3140 | Payment Request API | API, Commerce, Credit Card, Intermediate, Landing, NeedsContent, Overview, Payment Request, Payment Request API, Reference, Secure context, payment |
The Payment Request API provides a consistent user experience for both merchants and users. It is not a new way for paying for things; rather, it's a way for users to select their preferred way of paying for things, and make that information available to a merchant. | ||
3141 | Payment processing concepts | API, Apple Pay, Commerce, Guide, Intermediate, Payee, Payer, Payment Handler, Payment Method, Payment Request API, Payments |
In this article, we'll take a look at how the API operates and what each of its components does. | ||
3142 | Using the Payment Request API | Demos, Examples, Guide, Payment Request API, PaymentRequest |
This article is a guide to making use of the Payment Request API, with examples and suggested best practices. | ||
3143 | PaymentAddress | API, Interface, Payment Request, Payment Request API, PaymentRequest, Reference, paymentAddress |
The PaymentAddress interface of the Payment Request API is used to store shipping or payment address information. | ||
3144 | PaymentAddress.addressLine | API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, payment, paymentAddress |
The addressLine read-only property of the PaymentAddress interface is an array of DOMString objects, each specifying a line of the address that is not covered by one of the other properties of PaymentAddress . | ||
3145 | PaymentAddress.city | API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, city, payment, paymentAddress, town, village |
The city read-only property of the PaymentAddress interface returns a string containing the city or town portion of the address. | ||
3146 | PaymentAddress.country | API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Reference, country, payment, paymentAddress |
The country read-only property of the PaymentAddress interface is a string identifying the address's country using the ISO 3166-1 alpha-2 standard. The string is always in its canonical upper-case form. | ||
3147 | PaymentAddress.dependentLocality | API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress |
The read-only dependentLocality property of the PaymentAddress interface is a string containing a sublocality designation within a city, such as a neighborhood, borough, district, or, in the United Kingdom, a dependent locality. Also known as a post town. | ||
3148 | PaymentAddress.languageCode | API, Address, Deprecated, Language, LanguageCode, Locale, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc |
The languageCode read-only property of the PaymentAddress interface returns a string containing the BCP-47 language code for the address. | ||
3149 | PaymentAddress.organization | API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, business, company, institution, organization, paymentAddress |
The organization read-only property of the PaymentAddress interface returns a string containing the name of the organization, firm, company, or institution at the address. | ||
3150 | PaymentAddress.phone | API, Address, Payment Request, Payment Request API, PaymentRequest, Phone, Phone Number, Property, Read-only, Reference, Téléphone, payment, paymentAddress |
The read-only phone property of the PaymentAddress interface returns a string containing the telephone number of the recipient or contact person. | ||
3151 | PaymentAddress.postalCode | API, Address, PIN, PIN Code, Payment Request, Payment Request API, PaymentRequest, Post Code, Postal Code, Property, Read-only, Reference, ZIP, ZIP Code, payment, paymentAddress, postalCode |
The postalCode read-only property of the PaymentAddress interface returns a string containing a code used by a jurisdiction for mail routing, for example, the ZIP Code in the United States or the Postal Index Number (PIN code) in India. | ||
3152 | PaymentAddress.recipient | API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress |
The read-only recipient property of the PaymentAddress interface returns a string containing the name of the recipient, purchaser, or contact person at the payment address. | ||
3153 | PaymentAddress.region | API, Address, County, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, state |
The read-only region property of the PaymentAddress interface returns a string containing the top-level administrative subdivision of the country in which the address is located. For example, this may be a state, province, oblast, or prefecture. | ||
3154 | PaymentAddress.regionCode | API, Address, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, regionCode, state |
The regionCode read-only attribute of the PaymentAddress interface returns a one-, two-, or three-alphanumeric code (DOMString ) representing the region of the address (e.g., "CA" for California, or "11" for Lisbon, Portugal). | ||
3155 | PaymentAddress.sortingCode | API, Address, Payment Request, Payment Request API, Property, Read-only, Reference, Sorting Code, payment, paymentAddress, sortingCode |
The sortingCode read-only property of the PaymentAddress interface returns a string containing a postal sorting code such as is used in France. | ||
3156 | PaymentAddress.toJSON() | API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress, toJSON |
The toJSON() property of the PaymentAddress interface is a standard serializer that returns a JSON representation of the PaymentAddress object's properties. | ||
3157 | PaymentCurrencyAmount | API, Commerce, Currency, Dictionary, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Reference, Shipping, cost, payment, value |
The PaymentCurrencyAmount dictionary describes an amount of money in terms of both a number of units and the currency (US dollars, Euro, yen, etc.), and is part of the Payment Request API. | ||
3158 | PaymentCurrencyAmount.currency | API, Commerce, Currency, Monetary System, Money, Payment Request, Payment Request API, PaymentCurrencySystem, Reference, payment |
The PaymentCurrencyAmount property currency is a string which specifies the currency in which the PaymentCurrencyAmount.value is specified. | ||
3159 | PaymentCurrencyAmount.currencySystem | API, Commerce, Currency, Currency System, Money, Obsolete, Payment Request, Payment Request API, PaymentCurrencyAmount, Property, Reference, payment |
The obsolete PaymentCurrencyAmount property currencySystem is a string which specifies the standard being used to specify the PaymentCurrencyAmount.currency the PaymentCurrencyAmount.value is specified in. | ||
3160 | PaymentCurrencyAmount.value | API, Commerce, Currency, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Property, Reference, cost, payment, value |
The PaymentCurrencyAmount property value is a string containing the decimal numeric value of the payment, specified in the currency units indicated by the PaymentCurrencyAmount.currency property. | ||
3161 | PaymentDetailsBase | API, Dictionary, Experimental, Interface, Mixin, PaymentDetailsBase, Payments, Reference, Web Payments, Web Payments API |
The PaymentDetailsBase dictionary is a mixin used by the PaymentDetailsInit and PaymentDetailsUpdate dictionaries. | ||
3162 | PaymentDetailsUpdate | API, Dictionary, Interface, Payment Request, Payment Request API, PaymentDetailsUpdate, Reference, details, payment |
The PaymentDetailsUpdate dictionary is used to provide updated information to the payment user interface after it has been instantiated. | ||
3163 | PaymentDetailsUpdate.error | API, Error, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, payment |
The PaymentDetailsUpdate dictionary's error property is a human-readable DOMString which provides an error message to be displayed if the specified information doesn't offer any valid shipping options. | ||
3164 | PaymentDetailsUpdate.shippingAddressErrors | API, Address, Errors, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, Shipping, Validation, payment, shippingAddressErrors |
The PaymentDetailsUpdate dictionary's shippingAddressErrors property, if present, contains an AddressErrors object whose contents provide error messages for one or more of the values in the PaymentAddress specified as PaymentRequest.shippingAddress . | ||
3165 | PaymentItem | API, Commerce, Dictionary, Payment Request, Payment Request API, PaymentItem, Reference, payment |
The PaymentItem dictionary is used by the Payment Request API to describe a single line item on a payment request. | ||
3166 | PaymentMethodChangeEvent | API, Interface, Payment Handler, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, payment |
The PaymentMethodChangeEvent interface of the Payment Request API describes the PaymentRequest/paymentmethodchange_event event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a "store" card to make a purchase while using Apple Pay). | ||
3167 | PaymentMethodChangeEvent.methodDetails | API, Commerce, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodDetails, payment, paymentmethodchange |
PaymentMethodChangeEvent interface is an object containing any data the payment handler may provide to describe the change the user has made to their payment method. | ||
3168 | PaymentMethodChangeEvent.methodName | API, Commerce, Payment Handler, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodName, payment |
PaymentMethodChangeEvent interface is a string which uniquely identifies the payment handler currently selected by the user. | ||
3169 | PaymentMethodChangeEvent | API, Commerce, Interface, Payment Method, Payment Request API, PaymentMethodChangeEvent, Reference, payment |
The PaymentMethodChangeEvent() constructor creates a new PaymentMethodChangeEvent object providing details about a paymentmethodchange event. | ||
3170 | PaymentRequest | API, Commerce, Interface, Merchants, Money, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context |
The Payment Request API's PaymentRequest interface the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app. | ||
3171 | PaymentRequest.abort() | API, Experimental, Payment Request API, PaymentRequest, Reference, Secure context, abort |
The PaymentRequest.abort() method of the PaymentRequest interface causes the user agent to end the payment request and to remove any user interface that might be shown. | ||
3172 | PaymentRequest.canMakePayment() | API, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, canMakePayment |
The PaymentRequest method canMakePayment() determines whether or not the request is configured in a way that is compatible with at least one payment method supported by the user agent. | ||
3173 | PaymentRequest.prototype.id | API, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, id |
The id read-only attribute of the PaymentRequest interface returns a unique identifier for a particular PaymentRequest instance. | ||
3174 | PaymentRequest: merchantvalidation event | API, Commerce, Merchant, Payment Handler, Payment Request, Payment Request API, Reference, Sales, Validation, Web, events, merchantvalidation, payment |
merchantvalidation events are delivered by the Payment Request API to a PaymentRequest object when a payment handler requires that the merchant requesting the purchase validate itself as permitted to use the payment handler. | ||
3175 | PaymentRequest.onmerchantvalidation | API, Commerce, Event Handler, Payment Method, Payment Request API, PaymentRequest, Property, Reference, onmerchantvalidation, payment |
The PaymentRequest event handler onmerchantvalidation is invoked when the merchantvalidation | ||
3176 | PaymentRequest.onpaymentmethodchange | API, Commerce, Event Handler, Payment Method, PaymentRequest, Property, Reference, onpaymentmethodchange, payment |
The PaymentRequest event handler onpaymentmethodchange is invoked when the paymentmethodchange | ||
3177 | PaymentRequest.onshippingaddresschange | API, Event Handler, Experimental, Payment Request, Payment Request API, Property, Reference, Secure context, onshippingaddresschange |
The onshippingaddresschange event of the PaymentRequest interface is fired whenever the user changes their shipping address, including when an address is added by the user for the first time. | ||
3178 | PaymentRequest.onshippingoptionchange | API, Event Handler, Experimental, Payment Request, Payment Request API, Reference, Secure context, onshippingoptionchange |
The onshippingoptionchange event of the PaymentRequest interface is fired whenever the user changes a shipping option. | ||
3179 | PaymentRequest: paymentmethodchange event | Event, Payment Request, Payment Request API, PaymentMethodChangeEvent, events, payment, paymentmethodchange |
paymentmethodchange events are delivered by the Payment Request API to a PaymentRequest object when the user changes payment methods within a given payment handler. | ||
3180 | PaymentRequest.PaymentRequest() | API, Constructor, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, payment |
The PaymentRequest() constructor creates a new PaymentRequest object which will be used to handle the process of generating, validating, and submitting a payment request. | ||
3181 | PaymentRequest.shippingAddress | API, Experimental, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingAddress |
The shippingAddress read-only property of the PaymentRequest interface returns the shipping address provided by the user. It is null by default. | ||
3182 | PaymentRequest: shippingaddresschange event | API, Address, Commerce, Payment Request, Payment Request API, PaymentRequest, PaymentRequestUpdateEvent, Reference, Shipping, events, payment, shippingaddresschange |
The shippingaddresschange event is sent to the PaymentRequest object when the user selects a shipping address or changes details of their shipping address. | ||
3183 | PaymentRequest.shippingOption | API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingOption |
The shippingOption read-only attribute of the PaymentRequest interface returns either the id of a selected shipping option, null (if no shipping option was set to be selected) or a shipping option selected by the user. It is initially null by when no "selected" shipping options are provided. | ||
3184 | PaymentRequest: shippingoptionchange event | API, Commerce, Payment Request, Payment Request API, PaymentRequest, Reference, Shipping, events, onshippingoptionchange, payment, shippingoptionchange |
For payment requests that request shipping information, and for which shipping options are offered, the shippingoptionchange event is sent to the PaymentRequest whenever the user chooses a shipping option from the list of available options. | ||
3185 | PaymentRequest.shippingType | API, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, shippingType |
The shippingType read-only property of the PaymentRequest interface returns one of "shipping" , "delivery" , "pickup" , or null if one was not provided by the constructor. | ||
3186 | PaymentRequest.show() | API, Commerce, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context, show |
The PaymentRequest interface's show() method instructs the user agent to begin the process of showing and handling the user interface for the payment request to the user. | ||
3187 | PaymentRequestEvent | API, Experimental, Interface, Payment Request API, PaymentRequestEvent, Reference, payment |
The PaymentRequestEvent interface of the Payment Request API is the object passed to a payment handler when a PaymentRequest is made. | ||
3188 | PaymentRequestEvent.instrumentKey | |
The instrumentKey read-only property of the PaymentRequestEvent interface returns a PaymentInstrument object reflecting the payment instrument selected by the user or an empty string if the user has not registered or chosen a payment instrument. | ||
3189 | PaymentRequestEvent.methodData | |
The methodData read-only property of the PaymentRequestEvent interface returns an array of PaymentMethodData objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data. | ||
3190 | PaymentRequestEvent.modifiers | |
The modifiers read-only property of the PaymentRequestEvent interface returns an array of objects containing changes to payment details. | ||
3191 | PaymentRequestEvent.openWindow() | API, Method, Payment Request API, PaymentRequestEvent, Reference, openWindow(), payment |
The openWindow property of the PaymentRequestEvent interface opens the specified URL in a new window, if and only if the given URL is on the same origin as the calling page. It returns a Promise that resolves with a reference to a WindowClient . | ||
3192 | PaymentRequestEvent() | API, Constructor, Payment Request API, PaymentRequestEvent, Reference, payment |
The PaymentRequestEvent constructor creates a new PaymentRequestEvent object which is a constructor for a PaymentRequestEvent which is the object passed to a payment handler when a PaymentRequest is made.. | ||
3193 | paymentRequestId | API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestId |
The paymentRequestId read-only property of the PaymentRequestEvent interface returns the ID of the PaymentRequest object. | ||
3194 | PaymentRequestEvent.paymentRequestOrigin | API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestOrigin |
The paymentRequestOrigin read-only property of the PaymentRequestEvent interface returns the origin where the PaymentRequest object was initialized. | ||
3195 | PaymentRequestEvent.respondWith() | API, Method, Payment Request API, PaymentRequestEvent, Reference, payment, respondWith() |
The respondWith property of the PaymentRequestEvent interface prevents the default event handling and allows you to provide a Promise for a PaymentResponse object yourself. | ||
3196 | PaymentRequestEvent.topOrigin | API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, topLevelOrigin |
The topOrigin read-only property of the PaymentRequestEvent interface returns the top level payee origin where the PaymentRequest object was initialized. | ||
3197 | PaymentRequestEvent.total | API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, total |
The total readonly property of the PaymentRequestEvent interface returns a PaymentCurrencyAmount object containing the total amount being requested for payment. | ||
3198 | PaymentRequestUpdateEvent | API, Experimental, Interface, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context |
The PaymentRequestUpdateEvent interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest . Those events are: | ||
3199 | PaymentRequestUpdateEvent.PaymentRequestUpdateEvent() | API, Constructor, Experimental, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context |
The PaymentRequestUpdateEvent constructor creates a new PaymentRequestUpdateEvent object which enables a web page to update the details of a PaymentRequest in response to a user action. Actual updates are made by passing options to the PaymentRequestUpdateEvent.updateWith method. | ||
3200 | PaymentRequestUpdateEvent.updateWith() | API, Change, Experimental, Method, Payment Change, Payment Details, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, Web Payments, payment, updateWith |
The updateWith() method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest . | ||
3201 | PaymentResponse | API, Experimental, Interface, Payment Request, PaymentResponse, Reference, Secure context |
The PaymentResponse interface of the Payment Request API is returned after a user selects a payment method and approves a payment request. | ||
3202 | PaymentResponse.complete() | API, Experimental, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Secure context, complete |
The PaymentRequest method complete() of the Payment Request API notifies the user agent that the user interaction is over, and causes any remaining user interface to be closed. | ||
3203 | PaymentResponse.details | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, details |
The details read-only property of the PaymentResponse interface returns a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer. | ||
3204 | PaymentResponse.methodName | API, Commerce, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, methodName |
The methodName read-only property of the PaymentResponse interface returns a string uniquely identifying the payment handler selected by the user. | ||
3205 | PaymentResponse.onpayerdetailchange | API, Event Handler, Payer, Payer Details, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Web, onpayerdetailchange, payment, validate |
The PaymentResponse object's onpayerdetailchange property is an event handler which is called to handle the payerdetailchange event, which is sent to the PaymentResponse when the user makes changes to their personal information while filling out a payment request form. | ||
3206 | PaymentResponse: payerdetailchange event | Commerce, Payment Request API, PaymentResponse, Reference, Response, Validation, events, payerdetail, payment, validate |
payerdetailchange events are delivered by the Payment Request API to a PaymentResponse object when the user makes changes to their personal information while filling out a payment request form. | ||
3207 | PaymentResponse.payerEmail | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerEmail |
The payerEmail read-only property of the PaymentResponse interface returns the email address supplied by the user. This option is only present when the requestPayerEmail option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor. | ||
3208 | PaymentRequest.payerName | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context |
The payerName read-only property of the PaymentResponse interface returns the name supplied by the user. This option is only present when the requestPayerName option is set to true in the options parameter of the PaymentRequest.PaymentRequest constructor. | ||
3209 | PayerResponse.payerPhone | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerPhone |
The payerPhone read-only property of the PaymentResponse interface returns the phone number supplied by the user. This option is only present when the requestPayerPhone option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor. | ||
3210 | PaymentResponse.requestId | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Secure context, requestId |
The requestId read-only property of the PaymentResponse interface rreturns the free-form identifier supplied by the PaymentResponse() constructor by details.id. | ||
3211 | PaymentResponse.retry() | API, Commerce, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Web Payments, payment, retry |
The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing. | ||
3212 | PaymentResponse.shippingAddress | API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, shippingAddress |
The shippingAddress read-only property of the PaymentRequest interface returns a PaymentAddress object containing the shipping address provided by the user. | ||
3213 | PaymentResponse.shippingOption | API, Experimental, Payment Request, PaymentResponse, Property, Reference, Request Payment API, Secure context, shippingOption |
The shippingOption read-only property of the PaymentRequest interface returns the ID attribute of the shipping option selected by the user. This option is only present when the requestShipping option is set to true in the PaymentOptions object passed to the PaymentRequest.PaymentRequest constructor. | ||
3214 | PaymentValidationErrors | API, Commerce, Dictionary, Errors, Payment Request, Payment Request API, PaymentValidationErrors, Reference, Validation, payment |
The PaymentValidationErrors dictionary represents objects providing information about any and all errors that occurred while processing a payment request. When validation of the PaymentResponse returned by the PaymentRequest.show() or PaymentResponse.retry() methods fails, your code creates a PaymentValidationErrors object to pass into retry() so that the user agent knows what needs to be fixed and what if any error messages to display to the user. | ||
3215 | Pbkdf2Params | API, Dictionary, Pbkdf2Params, Reference, Web Crypto API |
The Pbkdf2Params dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey() , when using the PBKDF2 algorithm. | ||
3216 | Performance API | Guide, NeedsContent, Overview, Performance, Web Performance |
The High Resolution Time standard defines a Performance interface that supports client-side latency measurements within applications. The Performance interfaces are considered high resolution because they are accurate to a thousandth of a millisecond (subject to hardware or software constraints). The interfaces support a number of use cases including calculating frame-rates (potentially important in animations) and benchmarking (such as the time to load a resource). | ||
3217 | Using the Performance API | Guide, Performance, Web Performance |
A fundamental requirement of web performance is a precise and consistent definition of time. The DOMHighResTimeStamp type (a double ) is used by all performance interfaces to hold such time values. Additionally, there must be a way to create a timestamp for a specific point in time; this is done with the Performance.now method. | ||
3218 | Performance Timeline | Guide, Overview, Web Performance |
The Performance Timeline API defines extensions to the Performance interface to support client-side latency measurements within applications. The extensions provide interfaces to retrieve PerformanceEntry based on specific filter criteria. The standard also includes interfaces that allow an application to define Performance_Observers callbacks that are notified when specific performance events are added to the browser's performance timeline. | ||
3219 | Using Performance Timeline | Guide, Web Performance |
The Performance Timeline standard defines extensions to the Performance interface to support client-side latency measurements within applications. The standard also includes interfaces that allow an application to be notified when specific performance events occur. Together, these interfaces can be used to help identify an application's performance bottlenecks. | ||
3220 | Performance | API, Interface, Navigation Timing, Performance, Reference, Web Performance |
The Performance interface provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. | ||
3221 | performance.clearMarks() | API, Method, Reference, Web Performance |
The clearMarks() method removes the named mark from the browser's performance entry buffer. If the method is called with no arguments, all PerformanceEntry with an PerformanceEntry.entryType of "mark " will be removed from the performance entry buffer. | ||
3222 | performance.clearMeasures() | API, Method, Reference, Web Performance |
The clearMeasures() method removes the named measure from the browser's performance entry buffer. If the method is called with no arguments, all PerformanceEntry with an PerformanceEntry.entryType of "measure " will be removed from the performance entry buffer. | ||
3223 | performance.clearResourceTimings() | API, Method, Reference, Web Performance |
The clearResourceTimings() method removes all PerformanceEntry with an PerformanceEntry.entryType of "resource " from the browser's performance data buffer and sets the size of the performance data buffer to zero. To set the size of the browser's performance data buffer, use the Performance.setResourceTimingBufferSize() method. | ||
3224 | performance.getEntries() | API, Method, Reference, Web Performance |
The getEntries() method returns a list of all PerformanceEntry objects for the page. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time. If you are only interested in performance entries of certain types or that have certain names, see Performance.getEntriesByType and Performance.getEntriesByName . | ||
3225 | performance.getEntriesByName() | API, Method, Reference, Web Performance |
The getEntriesByName() method returns a list of PerformanceEntry objects for the given name and type. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time. | ||
3226 | performance.getEntriesByType() | API, Method, Reference, Web Performance |
The getEntriesByType() method returns a list of PerformanceEntry objects for a given type. The list's members (entries) can be created by making performance marks or measures (for example by calling the Performance.mark method) at explicit points in time. | ||
3227 | performance.mark() | API, Method, Reference, Web Performance |
The mark() method creates a DOMHighResTimeStamp in the browser's performance entry buffer with the given name. | ||
3228 | performance.measure() | API, Method, Reference, Web Performance, Web Workers |
The measure() method creates a named DOMHighResTimeStamp in the browser's performance entry buffer between marks, the navigation start time, or the current time. When measuring between two marks, there is a start mark and end mark, respectively. The named timestamp is referred to as a measure. | ||
3229 | Performance.memory | |
None. | ||
3230 | Performance.navigation | API, Backwards compatibility, Deprecated, HTTP, Navigation Timing, Performance, Property, Read-only, legacy |
This property is deprecated in the Navigation Timing Level 2 specification. | ||
3231 | performance.now() | API, Method, Performance, Reference, Web Performance API |
The performance.now() method returns a DOMHighResTimeStamp , measured in milliseconds. | ||
3232 | Performance.onresourcetimingbufferfull | API, Property, Reference, Web Peformance |
The onresourcetimingbufferfull property is an event handler that will be called when the resourcetimingbufferfull event is fired. This event is fired when the browser's resource timing performance buffer is full. | ||
3233 | Performance: resourcetimingbufferfull event | API, DOM, Event, Performance, Reference, Web Performance, onresourcetimingbufferfull |
The resourcetimingbufferfull event is fired when the browser's resource timing buffer is full. | ||
3234 | performance.setResourceTimingBufferSize() | API, Method, Reference, Web Performance |
The setResourceTimingBufferSize() method sets the browser's resource timing buffer size to the specified number of "resource " PerformanceEntry.entryType objects. | ||
3235 | Performance.timeOrigin | API, Experimental, High Resolution Time API, Performance, Property, Reference, timeOrigin |
The timeOrigin read-only property of the Performance interface returns the high resolution timestamp of the start time of the performance measurement. | ||
3236 | Performance.timing | API, Backwards compatibility, Deprecated, Navigation Timing, Performance, Property, Read-only, legacy |
This property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3237 | performance.toJSON() | API, Method, Performance, Reference |
The toJSON() method of the Performance interface is a standard serializer: it returns a JSON representation of the performance object's properties. | ||
3238 | PerformanceEntry | API, Interface, Performance Timeline API, PerformanceEntry, Reference, Web Performance |
The PerformanceEntry object encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance PerformanceMark or PerformanceMeasure (for example by calling the Performance.mark method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). | ||
3239 | PerformanceEntry.duration | API, Property, Reference, Web Performance |
The duration property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry . | ||
3240 | PerformanceEntry.entryType | API, Performance Timeline API, PerformanceEntry, Property, Reference, Web Performance |
The entryType property returns a DOMString representing the type of performance metric such as, for example, "mark ". This property is read only. | ||
3241 | PerformanceEntry.name | API, Property, Reference, Web Performance |
The name property of the PerformanceEntry interface returns a value that further specifies the value returned by the PerformanceEntry.entryType property. This property is read only. | ||
3242 | PerformanceEntry.startTime | API, Property, Reference, Web Performance |
The startTime property returns the first recorded DOMHighResTimeStamp of the PerformanceEntry . | ||
3243 | PerformanceEntry.toJSON() | API, Method, Reference, Web Performance |
The toJSON() method is a serializer; it returns a JSON representation of the PerformanceEntry object. | ||
3244 | PerformanceEventTiming | API, Event Timing API, Interface, Performance, PerformanceEventTiming, Reference, Web Performance |
The PerformanceEventTiming interface of the Event Timing API provides timing information for the event types listed below. | ||
3245 | PerformanceFrameTiming | API, Frame Timing API, Interface, Performance Timeline API, PerformanceFrameTiming, Reference, Web Performance |
PerformanceFrameTiming is an abstract interface that provides frame timing data about the browser's event loop. | ||
3246 | PerformanceLongTaskTiming | API, Interface, Long Tasks API, PerformanceLongTaskTiming, Reference |
The PerformanceLongTaskTiming interface of the Long Tasks API reports instances of long tasks. | ||
3247 | PerformanceLongTaskTiming.attribution | |
The attribution readonly property of the PerformanceLongTaskTiming interface returns a sequence of TaskAttributionTiming instances. | ||
3248 | PerformanceMark | API, Interface, Performance Timing API, Reference, Web Performance |
PerformanceMark is an abstract interface for PerformanceEntry objects with an PerformanceEntry.entryType of "mark ". Entries of this type are created by calling Performance.mark to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. | ||
3249 | PerformanceMeasure | API, Interface, Performance Timeline API, Reference, Web Performance |
PerformanceMeasure is an abstract interface for PerformanceEntry objects with an PerformanceEntry.entryType of "measure ". Entries of this type are created by calling Performance.measure to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline. | ||
3250 | PerformanceNavigation | API, Backwards compatibility, Deprecated, Interface, Navigation Timing, Navigation Timing API, Performance, PerformanceNavigation, Reference, Timing, legacy |
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3251 | PerformanceNavigation.redirectCount | API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3252 | PerformanceNavigation.type | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3253 | PerformanceNavigationTiming | API, Interface, Navigation Timing API, Performance Timeline API, Reference, Web Performance |
The PerformanceNavigationTiming interface provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. | ||
3254 | PerformanceNavigationTiming.domComplete | API, Property, Reference, Web Performance |
The domComplete read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to complete. | ||
3255 | PerformanceNavigationTiming.domContentLoadedEventEnd | API, Property, Reference, Web Performance |
The domContentLoadedEventEnd read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately after the current document's DOMContentLoaded event completes. | ||
3256 | PerformanceNavigationTiming.domContentLoadedEventStart | API, Property, Reference, Web Performance |
The domContentLoadedEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document. | ||
3257 | PerformanceNavigationTiming.domInteractive | API, Property, Reference, Web Performance |
The domInteractive read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive. | ||
3258 | PerformanceNavigationTiming.loadEventEnd | API, Property, Reference, Web Performance |
The loadEventEnd read-only property returns a DOMHighResTimeStamp which is equal to the time when the load event of the current document is completed. | ||
3259 | PerformanceNavigationTiming.loadEventStart | API, Property, Reference, Web Performance |
The loadEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the load event of the current document is fired. | ||
3260 | PerformanceNavigationTiming.redirectCount | API, Property, Reference, Web Performance |
The redirectCount property returns a DOMHighResTimeStamp representing the number of redirects since the last non-redirect navigation under the current browsing context. | ||
3261 | PerformanceNavigationTiming.toJSON() | API, Method, Reference, Web Performance |
The toJSON() method is a serializer - it returns a JSON representation of the PerformanceNavigationTiming object. | ||
3262 | PerformanceNavigationTiming.type | API, Property, Reference, Web Performance |
The type read-only property returns a DOMString representing the type of navigation. The value must be one of the following: | ||
3263 | PerformanceNavigationTiming.unloadEventEnd | API, Property, Reference, Web Performance |
The unloadEventEnd read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately after the user agent finishes the unload event of the previous document. If there is no previous document, this property value is 0 . | ||
3264 | PerformanceNavigationTiming.unloadEventStart | API, Property, Reference, Web Performance |
The unloadEventStart read-only property returns a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent starts the unload event of the previous document. If there is no previous document, this property returns 0 . | ||
3265 | PerformanceObserver | API, Interface, Performance Observer API, PerformanceObserver, Reference, Web Performance, observers |
The PerformanceObserver interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser's performance timeline. | ||
3266 | PeformanceObserver.disconnect() | API, Method, Performance Observer API, PerformanceObserver, Reference, Web Performance, disconnect(), observers |
The disconnect() method of the PerformanceObserver interface is used to stop the performance observer from receiving any PerformanceEntry events. | ||
3267 | PerformanceObserver.observe() | API, Method, Performance, PerformanceObserver, Reference, Web Performance |
The observe() method of the PerformanceObserver interface is used to specify the set of performance entry types to observe. | ||
3268 | PerformanceObserver() | API, Constructor, PerformanceObserver, Reference, Web Performance |
The PerformanceObserver() constructor creates a new PerformanceObserver object with the given observer callback . The observer callback is invoked when PerformanceEntry are recorded for the PerformanceEntry.entryType that have been registered, via the PerformanceObserver.observe method. | ||
3269 | PerformanceObserver.takeRecords() | API, Method, Performance Observer API, PerformanceObserver, Reference, observers, takeRecords() |
The takeRecords() method of the PerformanceObserver interface returns the current list of PerformanceEntry stored in the performance observer, emptying it out. | ||
3270 | PerformanceObserverEntryList | API, Interface, Reference, Web Performance |
The PerformanceObserverEntryList interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method. | ||
3271 | PerformanceObserverEntryList.getEntries() | API, Method, PerformanceObserverEntryList, Reference, Web Performance |
The getEntries() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given filter. The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback). | ||
3272 | PerformanceObserverEntryList.getEntriesByName() | API, Method, PerformanceObserverEntryList, Reference, Web Performance |
The getEntriesByName() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType . The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback). | ||
3273 | PerformanceObserverEntryList.getEntriesByType() | API, Method, PerformanceObserverEntryList, Reference, Web Performance |
The getEntriesByType() method of the PerformanceObserverEntryList returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.entryType . The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback). | ||
3274 | PerformancePaintTiming | API, Interface, Paint Timing, Performance Timeline API, PerformancePaintTiming, Reference, Web Performance |
The PerformancePaintTiming interface of the Paint Timing API provides timing information about "paint" (also called "render") operations during web page construction. "Paint" refers to conversion of the render tree to on-screen pixels. | ||
3275 | PerformanceResourceTiming | DOM, Interface, Reference, Web Performance |
The PerformanceResourceTiming interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest , SVG , image, or script. | ||
3276 | PerformanceResourceTiming.connectEnd | API, Property, Reference, Web Performance |
The connectEnd read-only property returns the DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as SSL handshake and SOCKS authentication. | ||
3277 | PerformanceResourceTiming.connectStart | API, Property, Reference, Web Performance |
The connectStart read-only property returns the DOMHighResTimeStamp immediately before the user agent starts establishing the connection to the server to retrieve the resource. | ||
3278 | PerformanceResourceTiming.decodedBodySize | API, Property, Reference, Web Performance |
The decodedBodySize read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body, after removing any applied content-codings. If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content-codings. | ||
3279 | PerformanceResourceTiming.domainLookupEnd | API, Property, Reference, Web Performance |
The domainLookupEnd read-only property returns the DOMHighResTimeStamp immediately after the browser finishes the domain name lookup for the resource. | ||
3280 | PerformanceResourceTiming.domainLookupStart | API, Property, Reference, Web Performance |
The domainLookupStart read-only property returns the DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource. | ||
3281 | PerformanceResourceTiming.encodedBodySize | API, Property, Reference, Web Performance |
The encodedBodySize read-only property represents the size (in octets) received from the fetch (HTTP or cache), of the payload body, before removing any applied content-codings. | ||
3282 | PerformanceResourceTiming.fetchStart | API, Property, Reference, Web Performance |
The fetchStart read-only property represents a DOMHighResTimeStamp immediately before the browser starts to fetch the resource. | ||
3283 | PerformanceResourceTiming.initiatorType | API, Property, Reference, Web Performance |
The initiatorType read-only property is a DOMString that represents the type of resource that initiated the performance event. | ||
3284 | PerformanceResourceTiming.nextHopProtocol | API, Property, Reference, Resource Timing API, Web Performance |
The nextHopProtocol read-only property is a DOMString representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301). | ||
3285 | PerformanceResourceTiming.redirectEnd | API, Property, Reference, Web Performance |
The redirectEnd read-only property returns a DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect. | ||
3286 | PerformanceResourceTiming.redirectStart | API, Property, Reference, Web Performance |
The redirectStart read-only property returns a DOMHighResTimeStamp representing the start time of the fetch which that initiates the redirect. | ||
3287 | PerformanceResourceTiming.requestStart | API, Property, Reference, Web Performance |
The requestStart read-only property returns a DOMHighResTimeStamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request. | ||
3288 | PerformanceResourceTiming.responseEnd | API, Property, Reference, Web Performance |
The responseEnd read-only property returns a DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. | ||
3289 | PerformanceResourceTiming.responseStart | API, Property, Reference, Web Performance |
The responseStart read-only property returns a DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server, cache, or local resource. | ||
3290 | PerformanceResourceTiming.secureConnectionStart | API, Property, Reference, Web Performance |
The secureConnectionStart read-only property returns a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero. | ||
3291 | PerformanceResourceTiming.serverTiming | API, PerformanceResourceTiming, Property, Reference, SecureContextOnly, ServerTiming |
The serverTiming read-only property returns an array of PerformanceServerTiming entries containing server timing metrics. | ||
3292 | PerformanceResourceTiming.toJSON() | API, Method, Reference, Web Performance |
The toJSON() method is a serializer that returns a JSON representation of the PerformanceResourceTiming object. | ||
3293 | PerformanceResourceTiming.transferSize | API, Property, Reference, Web Performance |
The transferSize read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230). | ||
3294 | PerformanceResourceTiming.workerStart | API, PerformanceResourceTiming, Property, Reference, Web Performance, workerStart |
The workerStart read-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0. | ||
3295 | PerformanceServerTiming | API, Interface, Reference, ServerTiming |
The PerformanceServerTiming interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header. | ||
3296 | PerformanceServerTiming.description | API, Property, Reference, ServerTiming |
The description read-only property returns a DOMString value of the server-specified metric description, or an empty string. | ||
3297 | PerformanceServerTiming.duration | API, Property, Reference, ServerTiming |
The duration read-only property returns a double that contains the server-specified metric duration, or value 0.0 . | ||
3298 | PerformanceServerTiming.name | API, Property, Reference, ServerTiming |
The name read-only property returns a DOMString value of the server-specified metric name. | ||
3299 | PerformanceServerTiming.toJSON | API, Method, PerformanceServerTiming, Reference, ServerTiming, toJSON |
The toJSON() method of the PerformanceServerTiming interface returns a DOMString that is the JSON representation of the PerformanceServerTiming object. | ||
3300 | PerformanceTiming | API, Backwards compatibilty, Deprecated, Interface, Navigation Timing, Navigation Timing API, Optimization, Performance, Reference, Timing, legacy |
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3301 | PerformanceTiming.connectEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3302 | PerformanceTiming.connectStart | API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3303 | PerformanceTiming.domainLookupEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, fetchStart, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3304 | PerformanceTiming.domainLookupStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3305 | PerformanceTiming.domComplete | API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3306 | PerformanceTiming.domContentLoadedEventEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventEnd, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3307 | PerformanceTiming.domContentLoadedEventStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventStart, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3308 | PerformanceTiming.domInteractive | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domInteractive, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3309 | PerformanceTiming.domLoading | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, domxref, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3310 | PerformanceTiming.fetchStart | API, Backwards compatibility, Deprecated, HTTP request, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3311 | PerformanceTiming.loadEventEnd | API, Backwards compatibility, Deprecated, Event Handler, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface's PerformanceNavigationTiming.loadEventEnd read-only property instead. | ||
3312 | PerformanceTiming.loadEventStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface's PerformanceNavigationTiming.loadEventStart read-only property instead.. | ||
3313 | PerformanceTiming.navigationStart | API, Backwards compatibility, Deprecated, Navigation Timing, Performance, PerformanceTiming.navigationStart, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3314 | PerformanceTiming.redirectEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3315 | PerformanceTiming.redirectStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3316 | PerformanceTiming.requestStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3317 | PerformanceTiming.responseEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3318 | PerformanceTiming.responseStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3319 | PerformanceTiming.secureConnectionStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3320 | PerformanceTiming.unloadEventEnd | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3321 | PerformanceTiming.unloadEventStart | API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy |
This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead. | ||
3322 | PeriodicSyncEvent | API, Background Sync, Interface, Offline, PeriodicSyncEvent, Reference, ServiceWorker, Workers |
The PeriodicSyncEvent interface of the Web Periodic Background Synchronization API provides a way to run tasks in the service worker with network connectivity. | ||
3323 | PeriodicSyncEvent() | Constructor, Offline, PWA, PeriodicSyncEvent, Service Worker, Web Periodic Background Synchronization API, periodic sync |
The PeriodicSyncEvent() constructor creates a new PeriodicSyncEvent object. This constructor is not typically used. The browser creates these objects itself and provides them to ServiceWorkerGlobalScope.onperiodicsync callback. | ||
3324 | PeriodicSyncEvent.tag | Offline, PWA, PeriodicSyncEvent, Property, Service Worker, Web Periodic Background Synchronization API, periodic sync |
The tag read-only property of the PeriodicSyncEvent interface returns the developer-defined identifier for the PeriodicSyncEvent . This is specified when calling the PeriodicSyncManager.register() method of the PeriodicSyncManager interface. Multiple tags can be used by the web app to run different periodic tasks at different frequencies. | ||
3325 | PeriodicSyncManager | API, Interface, Offline, PWA, Periodic Background Synchronization, PeriodicSyncManager, Reference, ServiceWorker |
The PeriodicSyncManager interface of the Web Periodic Background Synchronization API provides a way to register tasks to be run in a service worker at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests. Access PeriodicSyncManager through the ServiceWorkerRegistration.periodicSync . | ||
3326 | PeriodicSyncManager.getTags() | Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API, periodic sync |
The getTags() method of the PeriodicSyncManager interface returns a Promise that resolves with a list of String objects representing the tags that are currently registered for periodic syncing. | ||
3327 | PeriodicSyncManager.register() | Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API |
The register() method of the PeriodicSyncManager interface registers a periodic sync request with the browser with the specified tag and options. It returns a Promise that resolves when the registration completes. | ||
3328 | PeriodicSyncManager.unregister() | Background Sync, Method, Offline, PWA, PeriodicSyncManager, Service Worker, Web Periodic Background Synchronization API |
The unregister() method of the PeriodicSyncManager interface unregisters the periodic sync request corresponding to the specified tag and returns a Promise that resolves when unregistration completes. | ||
3329 | PeriodicWave | API, Audio, Interface, Media, PeriodicWave, Reference, Web Audio, Web Audio API, waveform |
The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode . | ||
3330 | PeriodicWave.PeriodicWave() | API, Audio, Constructor, PeriodicWave, Reference, Web Audio API |
The PeriodicWave() constructor of the Web Audio API creates a new PeriodicWave object instance. | ||
3331 | Permissions API | API, Introduction, Overview, Permissions, Permissions API, Web, access |
The Permissions API provides a consistent programmatic way to query the status of API permissions attributed to the current context. For example, the Permissions API can be used to determine if permission to access a particular API has been granted or denied. | ||
3332 | Using the Permissions API | API, Experimental, Geolocation, Guide, Permissions |
This article provides a basic guide to using the W3C Permissions API, which provides a programmatic way to query the status of API permissions attributed to the current context. | ||
3333 | Permissions | API, Experimental, Interface, Permissions, Permissions API, Reference |
The Permissions interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions | ||
3334 | Permissions.query() | API, Experimental, Method, Permissions, Reference |
The Permissions.query() method of the Permissions interface returns the state of a user permission on the global scope. | ||
3335 | Permissions.revoke() | API, Experimental, Method, Permissions, Permissions API, Reference, revoke |
The Permissions.revoke() method of the Permissions interface reverts a currently set permission back to its default state, which is usually prompt . | ||
3336 | PermissionStatus | API, Experimental, Interface, PermissionStatus, Permissions, Permissions API, Reference |
The PermissionStatus interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state. | ||
3337 | PermissionStatus.onchange | API, Event Handler, Experimental, PermissionStatus, Permissions, Property, Reference, onchange |
The onchange event handler of the PermissionStatus interface is called whenever the PermissionStatus.state property changes. | ||
3338 | PermissionStatus.state | API, Event Handler, Experimental, PermissionStatus, Permissions, Permissions API, Property, Reference, status |
The state read-only property of the PermissionStatus interface returns the state of a requested permission. This property returns one of 'granted' , 'denied' , or 'prompt' . | ||
3339 | PhotoCapabilities | API, Experimental, Image, Image Capture, Interface, Media, MediaStream Image Capture API, PhotoCapabilities, Reference |
The PhotoCapabilities interface of the MediaStream Image Capture API provides available configuration options for an attached photographic device. A PhotoCapabilities object is retrieved by calling ImageCapture.getPhotoCapabilities() . | ||
3340 | PhotoCapabilities.fillLightMode | API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Read-only, Reference |
The fillLightMode read-only property of the PhotoCapabilities interface returns all available fill light options of the source device. | ||
3341 | PhotoCapabilities.imageHeight | API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference |
The imageHeight read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image height range supported by the user agent. | ||
3342 | imageWidth | API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference |
The imageWidth read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image width range supported by the user agent. | ||
3343 | PhotoCapabilities.redEyeReduction | API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Read-only, Reference |
The redEyeReduction read-only property of the PhotoCapabilities interface returns an enum indicating the red-eye reduction capability of the source. | ||
3344 | Picture-in-Picture API | API, DOM, Graphics, Guide, Overview, Picture-in-Picture, Picture-in-Picture API, Reference, Video, View, pip |
The Picture-in-Picture API allow websites to create a floating video window always on top of other windows so that users may continue consuming media while they interact with other content sites, or applications on their device. | ||
3345 | PictureInPictureEvent | API, DOM, DOM Events, Event, Reference |
The PictureInPictureEvent interface represents picture-in-picture-related events, including HTMLVideoElement/enterpictureinpicture_event , HTMLVideoElement/leavepictureinpicture_event and PictureInPictureWindow/resize_event | ||
3346 | PictureInPictureEvent() | |
The PictureInPictureEvent() constructor returns a newly created PictureInPictureEvent object with an optional EventTarget . When the event has both a source and a destination, the relatedTarget value must be set to the other target. | ||
3347 | PictureInPictureWindow | API, Advanced, Interface, Picture-in-Picture, Picture-in-Picture API, Reference, Video, pip |
The PictureInPictureWindow interface represents an object able to programmatically obtain the width and height and resize event of the floating video window. | ||
3348 | PictureInPictureWindow.height | API, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip |
The read-only PictureInPictureWindow property height returns the height of the floating video window in pixels. | ||
3349 | PictureInPictureWindow.onresize | API, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip |
The onresize property of the PictureInPictureWindow interface is an EventHandler that processes PictureInPictureWindow.resize_event events. | ||
3350 | PictureInPictureWindow: resize event | API, Event, Picture-in-Picture, Picture-in-Picture API, Video, pip, resize |
The resize event fires when the floating video window has been resized. | ||
3351 | PictureInPictureWindow.width | API, Interface, Media, Picture-in-Picture, Picture-in-Picture API, Video, pip |
The read-only PictureInPictureWindow property width returns the width of the floating video window in pixels. | ||
3352 | Plugin | API, Add-ons, DOM, NeedsContent, Plug-in, Plugins |
The Plugin interface provides information about a browser plugin. | ||
3353 | PluginArray | API, Add-ons, DOM, Experimental, NeedsContent, Plugins |
The PluginArray interface is used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2] ), as well as via item(index) and namedItem("name") methods. | ||
3354 | Point | API, CSS Transforms, CSS3 Transforms, Interface, Non-standard, Point, Reference |
Point is an interface, which existed only briefly in the CSS3 Transforms specification, which represents a point in 2-dimensional space. It is non-standard, not broadly compatible, and should not be used. | ||
3355 | Pointer events | API, Interface, Landing, Overview, Pointer Events, Web, events |
Pointer Events | ||
3356 | Multi-touch interaction | Guide, Pointer Events, touch |
Pointer Events | ||
3357 | Pinch zoom gestures | Guide, PointerEvent, touch |
Adding gestures to an application can significantly improve the user experience. There are many types of gestures, from the simple single-touch swipe gesture to the more complex multi-touch twist gesture, where the touch points (aka pointers) move in different directions. | ||
3358 | Using Pointer Events | Guide, Input, Pointer Events, PointerEvent, events, touch |
Pointer Events | ||
3359 | Pointer Lock API | API, Advanced, Games, Reference, mouse lock, pointer lock |
The Pointer Lock API (formerly called Mouse Lock API) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view. | ||
3360 | PointerEvent | API, DOM, Interface, Pointer Events, PointerEvent, Reference, events |
The PointerEvent interface represents the state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. | ||
3361 | PointerEvent.getCoalescedEvents() | API, DOM, Method, Pointer Events, PointerEvent, Reference |
The getCoalescedEvents() method of the PointerEvent interface returns a sequence of all PointerEvent instances that were coalesced into the dispatched pointermove event. | ||
3362 | PointerEvent.height | API, DOM, Interface, PointerEvent, Property, Reference |
The height read-only property of the PointerEvent interface represents the height of the pointer's contact geometry, along the y-axis (in CSS pixels). Depending on the source of the pointer device (for example a finger), for a given pointer, each event may produce a different value. | ||
3363 | PointerEvent.isPrimary | API, DOM, Interface, PointerEvent, Property, Reference |
The isPrimary read-only property of the PointerEvent interface indicates whether or not the pointer device that created the event is the primary pointer. It returns true if the pointer that caused the event to be fired is the primary device and returns false otherwise. | ||
3364 | PointerEvent.PointerEvent() | API, Constructor, PointerEvent, Reference |
The PointerEvent() constructor creates a new synthetic and untrusted PointerEvent object instance. | ||
3365 | PointerEvent.pointerId | API, DOM, Interface, PointerEvent, Property, Reference |
The pointerId read-only property of the PointerEvent interface is an identifier assigned to a given pointer event. The identifier is unique, being different from the identifiers of all other active pointer events. Since the value may be randomly generated, it is not guaranteed to convey any particular meaning. | ||
3366 | PointerEvent.pointerType | API, DOM, Interface, PointerEvent, Property, Reference |
The pointerType read-only property of the PointerEvent interface indicates the device type (mouse, pen, or touch) that caused a given pointer event. | ||
3367 | PointerEvent.pressure | API, DOM, Interface, PointerEvent, Property, Reference |
The pressure read-only property of the PointerEvent interface indicates the normalized pressure of the pointer input. | ||
3368 | PointerEvent.tangentialPressure | API, DOM, Pointer Events, PointerEvent, Property, Reference, tangentialPressure |
The tangentialPressure read-only property of the PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress). | ||
3369 | PointerEvent.tiltX | API, DOM, Interface, PointerEvent, Property, Reference |
The tiltX read-only property of the PointerEvent interface is the angle (in degrees) between the Y-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type. | ||
3370 | PointerEvent.tiltY | API, DOM, Interface, PointerEvent, Property, Reference |
The tiltY read-only property of the PointerEvent interface is the angle (in degrees) between the X-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type. | ||
3371 | PointerEvent.twist | API, DOM, Pointer Events, PointerEvent, Property, Reference, twist |
The twist read-only property of the PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees. | ||
3372 | PointerEvent.width | API, DOM, Interface, PointerEvent, Property, Reference |
The width read-only property of the PointerEvent interface represents the width of the pointer's contact geometry along the x-axis, measured in CSS pixels. Depending on the source of the pointer device (such as a finger), for a given pointer, each event may produce a different value. | ||
3373 | PopStateEvent | API, Interface, Reference |
PopStateEvent is an event handler for the popstate event on the window. | ||
3374 | PositionOptions | API, Dictionary, Geolocation API, PositionOptions, Reference, Secure context |
The PositionOptions dictionary describes an object containing option properties to pass as a parameter of Geolocation.getCurrentPosition() and Geolocation.watchPosition() . | ||
3375 | PositionOptions.enableHighAccuracy | API, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context |
The PositionOptions.enableHighAccuracy property is a Boolean that indicates the application would like to receive the best possible results. If true and if the device is able to provide a more accurate position, it will do so. Note that this can result in slower response times or increased power consumption (with a GPS chip on a mobile device for example). On the other hand, if false (the default value), the device can take the liberty to save resources by responding more quickly and/or using less power. | ||
3376 | PositionOptions.maximumAge | API, Geolocation API, NeedsExample, PositionOptions, Property, Secure context |
The PositionOptions.maximumAge property is a positive long value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0 , it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity the device must return a cached position regardless of its age. | ||
3377 | PositionOptions.timeout | API, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context |
The PositionOptions.timeout property is a positive long value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. The default value is Infinity , meaning that getCurrentPosition() won't return until the position is available. | ||
3378 | PositionSensorVRDevice | API, Experimental, Expérimental(2), Interface, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR |
The PositionSensorVRDevice interface of the WebVR API represents VR hardware's position sensor. You can access information such as the current position and orientation of the sensor in relation to the head mounted display through the PositionSensorVRDevice.getState() method. | ||
3379 | PositionSensorVRDevice.getImmediateState() | API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR |
The getImmediateState() method of the VRDevice interface returns the current instantaneous position sensor state. This is intended to only be used rarely, for certain special uses, for example sampling the immediate position of a hand orientation sensor — or at least it will be, in the future. | ||
3380 | PositionSensorVRDevice.getState() | API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR |
The getState() method of the PositionSensorVRDevice interface returns the current state of the position sensor for the current frame (e.g. within the current window.requestAnimationFrame callback) or for the previous frame, contained with a VRPositionState object. This is the method you'd normally want to use, vs. PositionSensorVRDevice.getImmediateState . | ||
3381 | PositionSensorVRDevice.resetSensor() | API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR, resetSensor |
The resetSensor() method of the VRDevice interface can be used to reset the sensor if desired, returning the position and orientation values to zero. | ||
3382 | Presentation API | API, Experimental, NeedsContent, Presentation API, Reference |
The Presentation API lets a user agent (such as a Web browser) effectively display web content through large presentation devices such as projectors and network-connected televisions. | ||
3383 | Presentation | API, Experimental, Interface, Presentation, Presentation API, Reference |
The Presentation can be defined as two possible user agents in the context: Controlling user agent and Receiving user agent. | ||
3384 | Presentation.defaultRequest | API, Presentation, Property, Reference, Web |
In a controlling user agent, the defaultRequest attribute MUST return the default presentation request if any, otherwise null . In a receiving browsing context, it MUST return null . | ||
3385 | Presentation.receiver | API, Presentation, Presentation API, Property, Read-only, Reference, receiver |
The read-only Presentation attribute receiver , which is only available in browser contexts which are receiving a presentation, returns the PresentationReceiver object which can be used to access and communicate with the browser context which controls the presentation. This property is always null when accessed from outside a browser context which is receiving a presentation. | ||
3386 | PresentationAvailability | API, Experimental, Interface, Presentation API, PresentationAvailability, Reference |
A PresentationAvailability object is associated with available presentation displays and represents the presentation display availability for a presentation request. If the controlling user agent can monitor the list of available presentation displays in the background (without a pending request to start() ), the PresentationAvailability object MUST be implemented in a controlling browsing context. | ||
3387 | onchange | |
The onchange attribute is an event handler whose corresponding event handler event type is change . | ||
3388 | value | |
The value attribute MUST return the last value from which it was set. The value is updated by the monitor the list of available presentation displays algorithm. | ||
3389 | PresentationConnection | API, Experimental, Interface, Presentation API, PresentationConnection, Reference |
The PresentationConnection interface of the Presentation API provides methods and properties for managing a single presentation. Each presentation connection is represented by a PresentationConnection object. Both the controlling user agent and receiving user agent MUST implement PresentationConnection . | ||
3390 | PresentationConnection.binaryType | API, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, binaryType |
When a PresentationConnection object is created, its binaryType IDL attribute MUST be set to the string "arraybuffer" . Upon getting, the attribute MUST return its most recent value (the value it was last set as). Upon setting, the user agent MUST set the IDL attribute to the new value. | ||
3391 | PresentationConnection.close() | API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, PresentationConnection, Reference |
When the close() method is called on a PresentationConnection , the user agent begins the process of closing the connection by sending an empty closeMessage with the closeReason set to closed . | ||
3392 | PresentationConnection.id | API, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, Web, id |
The id attribute specifies the presentation identifier of a presentation connection. | ||
3393 | PresentationConnection.send() | API, Experimental, Method, NeedsContent, NeedsExample, Presentation API, PresentationConnection, Reference, send |
The send() method of the PresentationConnection interface tells a controlling browsing context to send binary or text data to a presenting browsing context. | ||
3394 | PresentationConnection.state | API, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, state |
The state attribute reflects the presentation connection's current state. Depending on the current PresentationConnectionState , the state attribute can hold one of the following values. | ||
3395 | PresentationConnection.terminate() | API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, terminate |
When the terminate() method is called on a PresentationConnection , the user agent begins the process of terminating the presentation. The exact process differs depending on whether terminate() is called in the controlling or the presenting context. | ||
3396 | PresentationConnection.url | API, Experimental, Presentation, Presentation API, PresentationConnection, Property, Reference, URL |
The url readonly property of the PresentationConnection interface returns the URL used to create or reconnect to the presentation. | ||
3397 | PresentationConnectionAvailableEvent | API, Experimental, Presentation API, PresentationConnectionAvailableEvent, PresentationRequest, Reference, events |
Presentation API | ||
3398 | connection | |
When an incoming connection is created, a receiving user agent fires a trusted event, named connectionavailable , on a PresentationReceiver . The trusted event is fired at the presentation controller's monitor, using the PresentationConnectionAvailableEvent interface, with the connection attribute set to the object that was created. | ||
3399 | PresentationConnectionAvailableEvent | API, Constructor, Experimental, Presentation API, PresentationConnectionAvailableEvent, Reference |
The PresentationConnectionAvailableInit() constructor creates a new PresentationConnectionAvailableEvent . | ||
3400 | PresentationConnectionCloseEvent | API, Experimental, Presentation API, PresentationConnectionCloseEvent, PresentationRequest, Reference, events |
The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed. | ||
3401 | PresentationConnectionList | API, Experimental, Interface, Presentation, Presentation API, PresentationConnectionList, Reference |
PresentationConnectionList is the collection ofincoming presentation connections. | ||
3402 | PresentationReceiver | API, Experimental, Interface, Presentation, Presentation API, PresentationReceiver, Reference |
The PresentationReceiver interface of the Presentation API provides a means for a receiving browsing context to access controlling browsing contexts and communicate with them. | ||
3403 | PresentationRequest | API, Experimental, Interface, Presentation API, PresentationRequest, Reference |
Presentation API | ||
3404 | getAvailability | |
When the getAvailability() method is called, the user agent MUST run the following steps: | ||
3405 | onconnectionavailable | |
The following are event handlers (and their corresponding event handler event types) which must be supported, as event handler IDL attributes, by objects implementing the PresentationRequest interface: | ||
3406 | PresentationRequest.PresentationRequest() | API, Constructor, Experimental, Presentation API, PresentationRequest, Reference |
The PresentationRequest constructor creates a new PresentationRequest object which creates a new PresentationRequest. | ||
3407 | reconnect | Promise, controlled presentations, presentation identifier |
When the reconnect(presentationId) method is called on a PresentationRequest presentationRequest, the user agent MUST run the following steps to reconnect to a presentation: | ||
3408 | PresentationRequest.start() | Experimental, Method, Presentation API, PresentationRequest, Reference, start() |
The start() property of the PresentationRequest interface returns a Promise that resolves with a PresentationConnection after the user agent prompts the user to select a display and grant permission to use that display. | ||
3409 | ProcessingInstruction | API, DOM |
The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction. | ||
3410 | ProgressEvent | API, Interface, Progress Events, ProgressEvent, Reference |
The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest , or the loading of the underlying resource of an img , audio , video , style or link ). | ||
3411 | ProgressEvent.initProgressEvent() | API, Deprecated, Method, Progress Events, ProgressEvent |
The ProgressEvent.initProgressEvent() method Initializes an animation event created using the deprecated Document.createEvent() method. | ||
3412 | ProgressEvent.lengthComputable | API, Progress Events, ProgressEvent, Property |
The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the ProgressEvent.total property has no significant value. | ||
3413 | ProgressEvent.loaded | API, Progress Event, ProgressEvent, Property |
The ProgressEvent.loaded read-only property is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and ProgressEvent.total . When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead. | ||
3414 | ProgressEvent() | API, Constructor, DOM Events, ProgressEvent |
The ProgressEvent() constructor returns a newly created ProgressEvent , representing the current completion of a long process. | ||
3415 | ProgressEvent.total | API, Progress Event, ProgressEvent, Property, Reference |
The ProgressEvent.total read-only property is an unsigned 64-bit integer value indicating the total size of the data being processed or transmitted. In the case of an HTTP transmission, this is the size of the body of the message (the Content-Length ), and does not include headers and other overhead. | ||
3416 | PromiseRejectionEvent | API, HTML DOM, Interface, JavaScript, PromiseRejectionEvent, Promises, Reference, events |
The PromiseRejectionEvent interface represents events which are sent to the global script context when JavaScript Promise s are rejected. | ||
3417 | PromiseRejectionEvent.promise | API, HTML DOM, JavaScript, Promise, Promise Rejection Events, PromiseRejectionEvent, Promises, Property, Reference, events |
The PromiseRejectionEvent interface's promise read-only property indicates the JavaScript Promise which was rejected. You can examine the event's PromiseRejectionEvent.reason property to learn why the promise was rejected. | ||
3418 | PromiseRejectionEvent() | API, Constructor, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Reference, events |
The PromiseRejectionEvent() constructor returns a newly created PromiseRejectionEvent , which represents events fired when a JavaScript Promise is rejected. | ||
3419 | PromiseRejectionEvent.reason | API, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Property, Reference, events, reason |
The PromiseRejectionEvent reason read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject() . This in theory provides information about why the promise was rejected. | ||
3420 | Proximity Events | API, Experimental, Proximity Events, Reference |
The proximity events are a handy way to know when a user is close to a device. These events make it possible to react to such a change, for example by shutting down the screen of a smartphone when the user is having a phone call with the device close to their ear. | ||
3421 | PublicKeyCredential | API, Authentication, Interface, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
The PublicKeyCredential interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password. It inherits from Credential , and was created by the Web Authentication API extension to the Credential Management API. Other interfaces that inherit from Credential are PasswordCredential and FederatedCredential . | ||
3422 | PublicKeyCredential.getClientExtensionResults() | API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
getClientExtensionResults() is a method of the PublicKeyCredential interface that returns an ArrayBuffer which contains a map between the extensions identifiers and their results after having being processed by the client. | ||
3423 | PublicKeyCredential.id | API, Credential Management API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
The id read-only property of the PublicKeyCredential interface is a DOMString , inherited from Credential , which represents the identifier of the current PublicKeyCredential instance. | ||
3424 | PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() | API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
isUserVerifyingPlatformAuthenticatorAvailable() is a static method of the PublicKeyCredential interface that returns a Promise which resolves to true if a user-verifying platform authenticator is available. | ||
3425 | PublicKeyCredential.rawId | API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
The rawId read-only property of the PublicKeyCredential interface is an ArrayBuffer object containing the identifier of the credentials. | ||
3426 | PublicKeyCredential.response | API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn |
The response read-only property of the PublicKeyCredential interface is an AuthenticatorResponse object which is sent from the authenticator to the user agent for the creation/fetching of credentials. The information contained in this response will be used by the relying party's server to verify the demand is legitimate. | ||
3427 | PublicKeyCredentialCreationOptions | API, Dictionary, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The PublicKeyCredentialCreationOptions dictionary of the Web Authentication API holds options passed to CredentialsContainer.create() in order to create a PublicKeyCredential . | ||
3428 | PublicKeyCredentialCreationOptions.attestation | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary. This is a string whose value indicates the preference regarding the attestation transport, between the authenticator, the client and the relying party. | ||
3429 | PublicKeyCredentialCreationOptions.authenticatorSelection | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
authenticatorSelection , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object giving criteria to filter out the authenticators to be used for the creation operation. | ||
3430 | PublicKeyCredentialCreationOptions.challenge | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge. This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator, using its private key, and must be sent back for verification to the server as part of AuthenticatorAttestationResponse.attestationObject . | ||
3431 | PublicKeyCredentialCreationOptions.excludeCredentials | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
excludeCredentials , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an Array whose elements are descriptors for the public keys already existing for a given user. This is provided by the relying party's server if it wants to prevent creation of new credentials for an existing user. | ||
3432 | PublicKeyCredentialCreationOptions.extensions | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
extensions , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values. | ||
3433 | PublicKeyCredentialCreationOptions.pubKeyCredParams | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The pubKeyCredParams property of the PublicKeyCredentialCreationOptions dictionary is an Array whose elements are objects describing the desired features of the credential to be created. These objects define the type of public-key and the algorithm used for cryptographic signature operations. | ||
3434 | PublicKeyCredentialCreationOptions.rp | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The rp property of the PublicKeyCredentialCreationOptions dictionary is an object describing the relying party which requested the credential creation (via CredentialsContainer.create() ). | ||
3435 | PublicKeyCredentialCreationOptions.timeout | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The timeout property, of the PublicKeyCredentialCreationOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the creation operation. | ||
3436 | PublicKeyCredentialCreationOptions.user | API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn |
The user property of the PublicKeyCredentialCreationOptions dictionary is an object describing the user account for which the credentials are generated (via CredentialsContainer.create() ). | ||
3437 | PublicKeyCredentialRequestOptions | API, Dictionary, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
The PublicKeyCredentialRequestOptions dictionary of the Web Authentication API holds the options passed to CredentialsContainer.get() in order to fetch a given PublicKeyCredential . | ||
3438 | PublicKeyCredentialRequestOptions.allowCredentials | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval. This is an Array of credential descriptors. | ||
3439 | PublicKeyCredentialRequestOptions.challenge | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge. This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator's private key and produce AuthenticatorAssertionResponse.signature which should be sent back to the server as part of the response. | ||
3440 | PublicKeyCredentialRequestOptions.extensions | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
extensions , an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values. | ||
3441 | PublicKeyCredentialRequestOptions.rpId | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
The rpId property, of the PublicKeyCredentialRequestOptions dictionary, is an optional property which indicates the relying party's identifier as a USVString . Its value can only be a suffix of the current origin's domain. For example, if you are browsing on foo.example.com , the rpId value may be "example.com" but not "bar.org" or "baz.example.com" . | ||
3442 | PublicKeyCredentialRequestOptions.timeout | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
The timeout property, of the PublicKeyCredentialRequestOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the retrieval operation. | ||
3443 | PublicKeyCredentialRequestOptions.userVerification | API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn |
userVerification is an optional property of the PublicKeyCredentialRequestOptions . This is a string which indicates how the user verification should be part of the authentication process. | ||
3444 | Push API | API, Experimental, Landing, Notifications, Push, Reference, Service Workers |
The Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. This lets developers deliver asynchronous notifications and updates to users that opt in, resulting in better engagement with timely new content. | ||
3445 | Web Push API Notifications best practices | Apps, Beginner, Best practices, Guide, Notifications, Push, Push API, Usability |
This article provides a useful summary of best practices to keep in mind when developing web sites and applications that use Push Notifications for user engagement. | ||
3446 | PushEvent | API, ExtendableEvent, Interface, Offline, Push, Push API, Reference, Service Workers, Workers |
The PushEvent interface of the Push API represents a push message that has been received. This event is sent to the global scope of a ServiceWorker . It contains the information sent from an application server to a PushSubscription . | ||
3447 | PushEvent.data | API, Experimental, Property, Push, PushEvent, Reference, data |
The data read-only property of the PushEvent interface returns a reference to a PushMessageData object containing data sent to the PushSubscription . | ||
3448 | PushEvent.PushEvent() | API, Constructor, Experimental, Push, Push API, PushEvent, Reference, Service Workers |
The PushEvent() constructor creates a new PushEvent object. Note that the this constructor is exposed only to a service worker context. | ||
3449 | PushManager | API, Experimental, Interface, Push, Push API, Reference, Service Workers |
The PushManager interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications. | ||
3450 | PushManager.getSubscription() | API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers |
The PushManager.getSubscription() method of the PushManager interface retrieves an existing push subscription. | ||
3451 | PushManager.hasPermission() | API, Deprecated, Method, PushManager, Reference |
The PushManager.hasPermission() method of the PushManager interface returns a Promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted , denied , or default . | ||
3452 | PushManager.permissionState() | API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers, permissionState |
The permissionState() method of the PushManager interface returns a Promise that resolves to a DOMString indicating the permission state of the push manager. Possible values are 'prompt' , 'denied' , or 'granted' . | ||
3453 | PushManager.register() | API, Deprecated, Method, Reference, Simple Push API |
The register method is used to ask the system to request a new endpoint for notifications. This method has been superseded by PushManager.subscribe() . | ||
3454 | PushManager.registrations() | API, Deprecated, Method, Reference, Simple Push API |
The registrations method is used to ask the system about existing push endpoint registrations. | ||
3455 | PushManager.subscribe() | API, Experimental, Method, PushManager, Reference, Référence(2), WebAPI, subscribe |
The subscribe() method of the PushManager interface subscribes to a push service. | ||
3456 | PushManager.supportedContentEncodings | API, Experimental, Property, PushManager, Reference, Service Workers, supportedContentEncodings |
The supportedContentEncodings read-only property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message. | ||
3457 | PushManager.unregister() | API, Deprecated, Method, Reference, Simple Push API |
The unregister() method was used to ask the system to unregister and delete the specified endpoint. In the updated API, a subscription is can be unregistered via the PushSubscription.unsubscribe() method. | ||
3458 | PushMessageData | API, Experimental, Interface, Push, Push API, PushMessageData, Reference, Service Workers |
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats. | ||
3459 | PushMessageData.arrayBuffer() | API, ArrayBuffer, Experimental, Method, Push, PushMessageData, Reference, Service Workers |
The arrayBuffer() method of the PushMessageData interface extracts push message data as an ArrayBuffer object. | ||
3460 | PushMessageData.blob() | API, Blob, Experimental, Method, Push, PushMessageData, Reference, Service Workers |
The blob() method of the PushMessageData interface extracts push message data as a Blob object. | ||
3461 | PushMessageData.json() | API, Experimental, JSON, Method, Push, PushMessageData, Reference, Service Workers |
The json() method of the PushMessageData interface extracts push message data by parsing it as a JSON string and returning the result. | ||
3462 | PushMessageData.text() | API, Experimental, Method, Plain text, Push, PushMessageData, Reference, Service Workers, Text |
The text() method of the PushMessageData interface extracts push message data as a plain text string. | ||
3463 | PushRegistrationManager | API, Deprecated, Interface, NeedsBrowserCompatibility, NeedsExample, PushRegistrationManager, Reference, Référence(2) |
Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration. This interface has been superseded by PushManager . | ||
3464 | PushSubscription | API, Experimental, Interface, Push, Push API, PushSubscription, Reference, Service Workers |
The PushSubscription interface of the Push API provides a subcription's URL endpoint and allows unsubscription from a push service. | ||
3465 | PushSubscription.endpoint | API, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, endPoint |
The endpoint read-only property of the PushSubscription interface returns a USVString containing the endpoint associated with the push subscription. | ||
3466 | PushSubscription.expirationTime | API, Experimental, Property, Push API, PushManager, PushSubscription, Reference, Service Worker |
The expirationTime read-only property of the PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or null otherwise. | ||
3467 | PushSubscription.getKey() | API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, getKey |
The getKey() method of the PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data. | ||
3468 | PushSubscription.options | API, Experimental, Property, Push API, PushManager, Reference, Service Worker |
The options read-only property of the PushSubscription interface is an object containing the options used to create the subscription. | ||
3469 | PushSubscription.subscriptionId | API, Deprecated, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, subscriptionId |
The endpoint read-only property of the PushSubscription interface returns a DOMString containing the subscription ID associated with the push subscription. | ||
3470 | PushSubscription.toJSON() | API, Experimental, Method, Push, Push API, PushSubscription, Reference, Serializer, Service Workers, toJSON |
The toJSON() method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut. | ||
3471 | PushSubscription.unsubscribe() | API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, unsubscribe |
The unsubscribe() method of the PushSubscription interface returns a Promise that resolves to a Boolean when the current subscription is successfully unsubscribed. | ||
3472 | RadioNodeList | API, HTML DOM, Interface, RadioNodeList |
The RadioNodeList interface represents a collection of radio elements in a form or a fieldset element. | ||
3473 | RadioNodeList.value | HTML DOM, Property, RadioNodeList, Reference |
If the underlying element collection contains radio buttons, the RadioNodeList.value property represents the checked radio button. On retrieving the value property, the value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked . | ||
3474 | Range | API, DOM |
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes. | ||
3475 | Range.cloneContents() | API, DOM, Method, Range |
The Range.cloneContents() returns a DocumentFragment copying the objects of type Node included in the Range . | ||
3476 | Range.cloneRange() | API, DOM, Method, Range |
The Range.cloneRange() method returns a Range object with boundary points identical to the cloned Range . | ||
3477 | Range.collapse() | API, DOM, Method, Range |
The Range.collapse() method collapses the Range to one of its boundary points. | ||
3478 | Range.collapsed | API, DOM, DOM Reference, Property, Range, Reference |
The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not. | ||
3479 | Range.commonAncestorContainer | API, DOM, Property, Range |
The Range.commonAncestorContainer read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range . This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container. | ||
3480 | Range.compareBoundaryPoints() | API, DOM, Method, Range |
The Range.compareBoundaryPoints() method compares the boundary points of the Range with those of another range. | ||
3481 | Range.compareNode() | API, DOM, DOM Reference, Method, Non-standard, Obsolete, Range, Reference, compareNode |
The Range.compareNode() returns a constant indicating the position of the Node . | ||
3482 | Range.comparePoint() | API, DOM, DOM Reference, Experimental, Method, Range, Reference |
The Range.comparePoint() method returns -1 , 0 , or 1 depending on whether the referenceNode is before, the same as, or after the Range . | ||
3483 | Range.createContextualFragment() | API, DOM, DOM Reference, Method, Range, Reference |
The Range.createContextualFragment() method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html , for historical reasons the fragment parsing algorithm is invoked with body as the context instead. | ||
3484 | Range.deleteContents() | API, DOM, Method, Range |
The Range.deleteContents() method removes the contents of the Range from the Document . | ||
3485 | Range.detach() | API, DOM, Method, Range |
The Range.detach() method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility. | ||
3486 | Range.endContainer | API, DOM, Property, Range |
The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one. | ||
3487 | Range.endOffset | API, DOM, Property, Range |
The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends. | ||
3488 | Range.extractContents() | API, DOM, Method, Range |
The Range.extractContents() method moves contents of the Range from the document tree into a DocumentFragment . | ||
3489 | Range.getBoundingClientRect() | API, CSSOM View, Experimental, Method, Range, Reference |
The Range.getBoundingClientRect() method returns a DOMRect object that bounds the contents of the range; this is a rectangle enclosing the union of the bounding rectangles for all the elements in the range. | ||
3490 | Range.getClientRects() | API, CSSOM View, Experimental, Method, Range, Reference |
The Range.getClientRects() method returns a list of DOMRect objects representing the area of the screen occupied by the range. This is created by aggregating the results of calls to Element.getClientRects() for all the elements in the range. | ||
3491 | Range.insertNode() | API, DOM, Method, Range |
The Range.insertNode() method inserts a node at the start of the Range . | ||
3492 | Range.intersectsNode() | API, DOM, Experimental, Method, Range, Reference |
The Range.intersectsNode() method returns a boolean indicating whether the given Node intersects the Range . | ||
3493 | Range.isPointInRange() | API, DOM, Experimental, Method, Range, Reference |
The Range.isPointInRange() method returns a boolean indicating whether the given point is in the Range . It returns true if the point (cursor position) at offset within ReferenceNode is within this range. | ||
3494 | Range() | API, Constructor, DOM, DOM Reference, Experimental, Range, Reference |
The Range() constructor returns a newly created Range object whose start and end is the global Document object. | ||
3495 | Range.selectNode() | API, DOM, Method, Range |
The Range.selectNode() method sets the Range to contain the Node and its contents. The parent Node of the start and end of the Range will be the same as the parent of the referenceNode. | ||
3496 | Range.selectNodeContents() | API, DOM, Method, Range, Reference |
The Range.selectNodeContents() method sets the Range to contain the contents of a Node . | ||
3497 | Range.setEnd() | API, DOM, DOM API, End, Method, Range, Reference, setEnd |
The Range.setEnd() method sets the end position of a Range to be located at the given offset into the specified node x.Setting the end point above (higher in the document) than the start point will result in a collapsed range with the start and end points both set to the specified end position. | ||
3498 | Range.setEndAfter() | API, DOM, Method, Range |
The Range.setEndAfter() method sets the end position of a Range relative to another Node . The parent Node of end of the Range will be the same as that for the referenceNode . | ||
3499 | Range.setEndBefore() | API, DOM, Method, Range |
The Range.setEndBefore() method sets the end position of a Range relative to another Node . The parent Node of end of the Range will be the same as that for the referenceNode . | ||
3500 | Range.setStart() | API, DOM, Method, Range |
The Range.setStart() method sets the start position of a Range . | ||
3501 | Range.setStartAfter() | API, DOM, Method, Range |
The Range.setStartAfter() method sets the start position of a Range relative to a Node . The parent Node of the start of the Range will be the same as that for the referenceNode . | ||
3502 | Range.setStartBefore() | API, DOM, Method, Range |
The Range.setStartBefore() method sets the start position of a Range relative to another Node . The parent Node of the start of the Range will be the same as that for the referenceNode . | ||
3503 | Range.startContainer | API, DOM, Property, Range |
The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods. | ||
3504 | Range.startOffset | API, DOM, Property, Range |
The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts. | ||
3505 | Range.surroundContents() | API, DOM, Method, Range |
The Range.surroundContents() method moves content of the Range into a new node, placing the new node at the start of the specified range. | ||
3506 | Range.toString() | API, DOM, Method, Range, Stringifier |
The Range.toString() method is a stringifier returning the text of the Range . | ||
3507 | ReadableByteStreamController | API, Experimental, Fetch, Interface, ReadableByteStreamController, Reference, Streams |
The ReadableByteStreamController interface of the Streams API represents a controller allowing control of a ReadableStream 's state and internal queue. Byte stream controllers are for byte streams. | ||
3508 | ReadableByteStreamController.byobRequest | API, Experimental, Property, ReadableByteStreamController, Reference, Streams, byobRequest |
The byobRequest read-only property of the ReadableByteStreamController interface returns the current BYOB pull request, or undefined if there are no pending requests. | ||
3509 | ReadableByteStreamController.close() | API, Experimental, Method, ReadableByteStreamController, Reference, Streams, close |
The close() method of the ReadableByteStreamController interface closes the associated stream. | ||
3510 | ReadableByteStreamController.desiredSize | API, Experimental, Property, ReadableByteStreamController, Reference, Streams, desiredSize |
The desiredSize read-only property of the ReadableByteStreamController interface returns the desired size required to fill the stream's internal queue. | ||
3511 | ReadableByteStreamController.enqueue() | API, Experimental, Method, ReadableByteStreamController, Reference, Streams, enqueue |
The enqueue() method of the ReadableByteStreamController interface enqueues a given chunk in the associated stream. | ||
3512 | ReadableByteStreamController.error() | API, Error, Experimental, Method, ReadableByteStreamController, Reference, Streams |
The error() method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error. | ||
3513 | ReadableStream | API, Fetch, Fetch API, Files, HTTP, Interface, Networking, ReadableStream, Reference, Streams, data |
The ReadableStream interface of the Streams API represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the Body.body property of a Response object. | ||
3514 | ReadableStream.cancel() | API, Method, ReadableStream, Reference, Streams, cancel |
The cancel() method of the ReadableStream interface cancels the associated stream. The supplied reason parameter will be given to the underlying source, which may or may not use it. | ||
3515 | ReadableStream.getReader() | API, Method, ReadableStream, Reference, Streams, getReader |
The getReader() method of the ReadableStream interface creates a reader and locks the stream to it. While the stream is locked, no other reader can be acquired until this one is released. | ||
3516 | ReadableStream.locked | API, Property, ReadableStream, Reference, Streams, locked |
The locked read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader. | ||
3517 | ReadableStream.pipeThrough() | API, Experimental, Method, ReadableStream, Reference, Streams, pipeThrough |
The pipeThrough() method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair. | ||
3518 | ReadableStream.pipeTo() | API, Experimental, Method, ReadableStream, Reference, Streams, pipeTo |
The pipeTo() method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. | ||
3519 | ReadableStream.ReadableStream() | API, Constructor, ReadableStream, Reference |
The ReadableStream() constructor creates and returns a readable stream object from the given handlers. | ||
3520 | ReadableStream.tee() | API, Method, ReadableStream, Reference, Streams, tee |
The tee() method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances. | ||
3521 | ReadableStreamBYOBReader | API, Experimental, Fetch, Interface, ReadableStreamBYOBReader, Reference, Streams |
The ReadableStreamBYOBReader interface of the Streams API represents a BYOB ("bring your own buffer") reader that can be used to read stream data supplied by the developer (e.g. a custom ReadableStream.ReadableStream constructor). | ||
3522 | ReadableStreamBYOBReader.cancel() | API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, cancel |
The cancel() method of the ReadableStreamBYOBReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason parameter will be given to the underlying source, which may or may not use it. | ||
3523 | ReadableStreamBYOBReader.closed | API, Experimental, Property, ReadableStreamBYOBReader, Reference, Streams, closed |
The closed read-only property of the ReadableStreamBYOBReader interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors. | ||
3524 | ReadableStreamBYOBReader.read() | API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, read |
The read() method of the ReadableStreamBYOBReader interface returns a promise providing access to the next chunk in the byte stream's internal queue. | ||
3525 | ReadableStreamBYOBReader.ReadableStreamBYOBReader() | API, Constructor, Experimental, ReadableStreamBYOBReader, Reference, Streams |
The ReadableStreamBYOBReader() constructor creates and returns a ReadableStreamBYOBReader object instance. | ||
3526 | ReadableStreamBYOBReader.releaseLock() | API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, releaseLock |
The releaseLock() method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream. After the lock is released, the reader is no longer active. | ||
3527 | ReadableStreamBYOBRequest | API, Experimental, Fetch, Interface, ReadableStreamBYOBRequest, Reference, Steams |
The ReadableStreamBYOBRequest interface of the Streams API represents a pull request into a ReadableByteStreamController view. | ||
3528 | ReadableStreamBYOBRequest.respond() | API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respond |
The error() method of the ReadableStreamBYOBRequest interface xxx | ||
3529 | ReadableStreamBYOBRequest.respondWithNewView() | API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respondWithNewView |
The respondWithNewView() method of the ReadableStreamBYOBRequest interface xxx | ||
3530 | ReadableStreamBYOBRequest.view | API, Experimental, Property, ReadableStreamBYOBRequest, Reference, Streams, View |
The view getter property of the ReadableStreamBYOBRequest interface returns the current view. | ||
3531 | ReadableStreamDefaultController | API, Fetch, Interface, ReadableStreamDefaultController, Reference, Streams |
The ReadableStreamDefaultController interface of the Streams API represents a controller allowing control of a ReadableStream 's state and internal queue. Default controllers are for streams that are not byte streams. | ||
3532 | ReadableStreamDefaultController.close() | API, Method, ReadableStreamDefaultController, Reference, Streams, close |
The close() method of the ReadableStreamDefaultController interface closes the associated stream. | ||
3533 | ReadableStreamDefaultController.desiredSize | API, Property, ReadableStreamDefaultController, Reference, Streams, desiredSize |
The desiredSize read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue. | ||
3534 | ReadableStreamDefaultController.enqueue() | API, Method, ReadableStreamDefaultController, Reference, Streams, enqueue |
The enqueue() method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream. | ||
3535 | ReadableStreamDefaultController.error() | API, Error, Method, ReadableStreamDefaultController, Reference, Streams |
The error() method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error. | ||
3536 | ReadableStreamDefaultReader | API, Fetch, Interface, ReadableStreamDefaultReader, Reference, Streams |
The ReadableStreamDefaultReader interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (e.g. a fetch request). | ||
3537 | ReadableStreamDefaultReader.cancel() | API, Method, ReadableStreamDefaultReader, Reference, Streams, cancel |
The cancel() method of the ReadableStreamDefaultReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it. | ||
3538 | ReadableStreamDefaultReader.closed | API, Property, ReadableStreamDefaultReader, Reference, Streams, closed |
The closed read-only property of the ReadableStreamDefaultReader interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors. | ||
3539 | ReadableStreamDefaultReader.read() | API, Method, ReadableStreamDefaultReader, Reference, Streams, read |
The read() method of the ReadableStreamDefaultReader interface returns a promise providing access to the next chunk in the stream's internal queue. | ||
3540 | ReadableStreamDefaultReader.ReadableStreamDefaultReader() | API, Constructor, ReadableStreamDefaultReader, Reference, Streams |
The ReadableStreamDefaultReader() constructor creates and returns a ReadableStreamDefaultReader object instance. | ||
3541 | ReadableStreamDefaultReader.releaseLock() | API, Method, ReadableStreamDefaultReader, Reference, Streams, releaseLock |
The releaseLock() method of the ReadableStreamDefaultReader interface releases the reader's lock on the stream. | ||
3542 | RelativeOrientationSensor | API, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors |
The RelativeOrientationSensor interface of the Sensor APIs describes the device's physical orientation without regard to the Earth's reference coordinate system. | ||
3543 | RelativeOrientationSensor.RelativeOrientationSensor() | API, Constructor, Generic Sensor API, Orientation Sensor API, OrientationSensor, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors |
The RelativeOrientationSensor constructor creates a new RelativeOrientationSensor object which describes the device's physical orientation. | ||
3544 | RenderingContext | API, Canvas, Context, Graphics, Graphics Context, Helper, Reference, Rendering Context, Type, WebGL, WebGL2, rendering |
RenderingContext is a WebIDL typedef which can refer to any one of the interfaces that represent a graphics rendering context within a canvas element: CanvasRenderingContext2D , WebGLRenderingContext , or WebGL2RenderingContext . | ||
3545 | Report | API, Experimental, Interface, Reference, Report, Reporting API |
The Report interface of the Reporting API represents a single report. | ||
3546 | Report.body | API, BODY, Experimental, Property, Reference, Report, Reporting API |
The body read-only property of the Report interface returns the body of the report, which is a ReportBody object containing the detailed report information. | ||
3547 | Report.type | API, Experimental, Property, Reference, Report, Reporting API, Type |
The type read-only property of the Report interface returns the type of report generated, e.g. deprecation or intervention . | ||
3548 | Report.url | API, Experimental, Property, Reference, Report, Reporting API, URL |
The url read-only property of the Report interface returns the URL of the document that generated the report. | ||
3549 | Reporting API | API, Experimental, Landing, Reference, Reporting, Secure context |
The Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy, Feature-Policy, or feature deprecation reports) in a consistent manner. | ||
3550 | ReportingObserver | API, Experimental, Interface, Reference, Reporting API, ReportingObserver |
The ReportingObserver interface of the Reporting API allows you to collect and access reports. | ||
3551 | ReportingObserver.disconnect() | API, Experimental, Method, Reference, Reporting API, ReportingObserver |
The disconnect() method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports. | ||
3552 | ReportingObserver.observe() | API, Experimental, Method, Reference, Reporting API, ReportingObserver, observe |
The observe() method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue. | ||
3553 | ReportingObserver() | API, Constructor, Experimental, Reference, Reporting API, ReportingObserver |
The ReportingObserver() constructor of the Reporting API creates a new ReportingObserver object instance, which can be used to collect and access reports. | ||
3554 | ReportingObserver.takeRecords() | API, Experimental, Method, Reference, Reporting API, ReportingObserver |
The takeRecords() method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue. | ||
3555 | ReportingObserverOptions | API, Dictionary, Experimental, Reference, Reporting API, ReportingObserverOptions |
The ReportingObserverOptions dictionary of the Reporting API allows options to be set in the constructor when creating a ReportingObserver . | ||
3556 | Request | API, Fetch, Fetch API, Interface, Networking, Reference, request |
The Request interface of the Fetch API represents a resource request. | ||
3557 | Request.cache | API, Cache, Experimental, Fetch, Property, Reference, request |
The cache read-only property of the Request interface contains the cache mode of the request. It controls how the request will interact with the browser's HTTP cache. | ||
3558 | Request.clone() | API, Experimental, Fetch, Method, Reference, clone, request |
The clone() method of the Request interface creates a copy of the current Request object. | ||
3559 | Request.context | API, Context, Experimental, Fetch, Property, Reference, request |
The deprecated context read-only property of the Request interface contains the context of the Request (e.g., audio , image , iframe ). | ||
3560 | Request.credentials | API, Cookies, Fetch, Networking, Property, Reference, Security, credentials, request |
The credentials read-only property of the Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests. | ||
3561 | Request.destination | API, Experimental, Fetch, Fetch API, Files, Loading, Networking, Property, Read-only, Reference, data, destination, request |
The destination read-only property of the Request interface returns a string describing the type of content being requested. | ||
3562 | Request.headers | API, Experimental, Fetch, Headers, Property, Reference, request |
The headers read-only property of the Request interface contains the Headers object associated with the request. | ||
3563 | Request.integrity | API, Experimental, Fetch, Property, Reference, integrity, request |
The integrity read-only property of the Request interface contains the subresource integrity value of the request. | ||
3564 | Request.method | API, Experimental, Fetch, Property, Reference, request |
The method read-only property of the Request interface contains the request's method (GET , POST , etc.) | ||
3565 | Request.mode | API, Experimental, Fetch, Property, Reference, mode, request |
The mode read-only property of the Request interface contains the mode of the request (e.g., cors , no-cors , same-origin , or navigate .) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable. | ||
3566 | Request.redirect | API, Experimental, Fetch, Property, Redirect, Reference, request |
The redirect read-only property of the Request interface contains the mode for how redirects are handled. | ||
3567 | Request.referrer | API, Experimental, Fetch, Property, Reference, referrer, request |
The referrer read-only property of the Request interface is set by the user agent to be the referrer of the Request. (e.g., client , no-referrer , or a URL.) | ||
3568 | Request.referrerPolicy | API, Experimental, Fetch, Property, Reference, referrerPolicy, request |
The referrerPolicy read-only property of the Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request. | ||
3569 | Request() | API, Constructor, Experimental, Fetch, Reference, request |
The Request() constructor creates a new Request object. | ||
3570 | Request.url | API, Experimental, Fetch, Property, Reference, URL, request |
The url read-only property of the Request interface contains the URL of the request. | ||
3571 | RequestDestination | API, Enum, Fetch, Fetch API, Interface, NeedsContent, RequestDestination, Type, destination |
The RequestDestination enumerated type contains the permitted values for a request's Request.destination . These string values indicate potential types of content that a request may try to retrieve. | ||
3572 | Resize Observer API | API, Draft, Element, Monitor, Overview, Reference, Resize Observer, Resize Observer API, observe, size |
Resize Observer API | ||
3573 | ResizeObserver | API, Bounding Box, Experimental, Interface, Reference, Resize Observer API, ResizeObserver, content box, observers |
The ResizeObserver interface reports changes to the dimensions of an Element 's content or border box, or the bounding box of an SVGElement . | ||
3574 | ResizeObserver.disconnect() | API, Method, Reference, Resize Observer API, ResizeObserver, disconnect(), observers |
The disconnect() method of the ResizeObserver interface unobserves all observed Element or SVGElement targets. | ||
3575 | ResizeObserver.observe() | API, Method, Reference, Resize Observer API, ResizeObserver, observe(), observers |
The observe() method of the ResizeObserver interface starts observing the specified Element or SVGElement . | ||
3576 | ResizeObserver() | API, Constructor, Reference, Resize Observer API, ResizeObserver, observers |
The ResizeObserver constructor creates a new ResizeObserver object, which can be used to report changes to the content or border box of an Element or the bounding box of an SVGElement . | ||
3577 | ResizeObserver.unobserve() | API, Method, Reference, Resize Observer API, ResizeObserver, observers, unobserve() |
The unobserve() method of the ResizeObserver interface ends the observing of a specified Element or SVGElement . | ||
3578 | ResizeObserverEntry | API, Bounding Box, Interface, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers |
The ResizeObserverEntry interface represents the object passed to the ResizeObserver.ResizeObserver constructor's callback function, which allows you to access the new dimensions of the Element or SVGElement being observed. | ||
3579 | ResizeObserverEntry.borderBoxSize | API, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, borderBoxSize |
The borderBoxSize read-only property of the ResizeObserverEntry interface returns an array containing the new border box size of the observed element when the callback is run. | ||
3580 | ResizeObserverEntry.contentBoxSize | API, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, contentBoxSize |
The contentBoxSize read-only property of the ResizeObserverEntry interface returns an array containing the new content box size of the observed element when the callback is run. | ||
3581 | ResizeObserverEntry.contentRect | API, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers |
The contentRect read-only property of the ResizeObserverEntry interface returns a DOMRectReadOnly object containing the new size of the observed element when the callback is run. Note that this is better supported than ResizeObserverEntry.borderBoxSize or ResizeObserverEntry.contentBoxSize , but it is left over from an earlier implementation of the Resize Observer API, is still included in the spec for web compat reasons, and may be deprecated in future versions. | ||
3582 | ResizeObserverEntry.target | API, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers, target |
The target read-only property of the ResizeObserverEntry interface returns a reference to the Element or SVGElement that is being observed. | ||
3583 | Resource Timing API | API, Guide, HTTP, Overview, Performance, Resource Timing API, Timing, Web Performance |
The Resource Timing interfaces enable retrieving and analyzing detailed network timing data regarding the loading of an application's resource(s). An application can use the timing metrics to determine, for example, the length of time it takes to load a specific resource, such as an XMLHttpRequest , SVG , image, or script. | ||
3584 | Using the Resource Timing API | API, Guide, NeedsExample, Performance, Resource Timing, Resource Timing API, Timing, Web, Web Development, Web Performance |
The Resource Timing API provides a way to retrieve and analyze detailed network timing data regarding the loading of an application's resource(s). An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource such as an XMLHttpRequest , SVG , image, script, etc.). | ||
3585 | Response | API, Experimental, Fetch, Fetch API, Interface, Reference, Response |
The Response interface of the Fetch API represents the response to a request. | ||
3586 | Response.clone() | API, Experimental, Fetch, Method, Reference, Response, clone |
The clone() method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable. | ||
3587 | Response.error() | API, Error, Experimental, Fetch, Method, Reference, Response |
The error() method of the Response interface returns a new Response object associated with a network error. | ||
3588 | Response.headers | API, Experimental, Fetch, Headers, Property, Reference, Response |
The headers read-only property of the Response interface contains the Headers object associated with the response. | ||
3589 | Response.ok | API, Experimental, Fetch, Property, Reference, Response, ok |
The ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not. | ||
3590 | Response.redirect() | API, Experimental, Fetch, Method, Redirect, Reference, Response |
The redirect() method of the Response interface returns a Response resulting in a redirect to the specified URL. | ||
3591 | Response.redirected | API, Experimental, Fetch, Property, Read-only, Reference, Response, redirected |
The read-only redirected property of the Response interface indicates whether or not the response is the result of a request you made which was redirected. | ||
3592 | Response() | API, Constructor, Experimental, Fetch, Reference, Response |
The Response() constructor creates a new Response object. | ||
3593 | Response.status | API, Experimental, Fetch, Property, Reference, Response, status |
The status read-only property of the Response interface contains the status code of the response (e.g., 200 for a success). | ||
3594 | Response.statusText | API, Experimental, Fetch, Property, Reference, Response, statusText |
The statusText read-only property of the Response interface contains the status message corresponding to the status code (e.g., OK for 200 ). | ||
3595 | Response.type | API, Experimental, Fetch, Property, Reference, Response, Type |
The type read-only property of the Response interface contains the type of the response. It can be one of the following: | ||
3596 | Response.url | API, Experimental, Fetch, Property, Reference, Response, URL |
The url read-only property of the Response interface contains the URL of the response. The value of the url property will be the final URL obtained after any redirects. | ||
3597 | Response.useFinalURL | API, Experimental, Fetch, Obsolete, Property, Reference, Response, useFinalURL |
The useFinalURL property of the Response interface contains a boolean stating whether this is the final URL of the response. | ||
3598 | RsaHashedImportParams | API, Dictionary, Reference, RsaHashedImportParams, Web Crypto API |
The RsaHashedImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey() , when importing any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP. | ||
3599 | RsaHashedKeyGenParams | API, Dictionary, Reference, RsaHashedKeyGenParams, Web Crypto API |
The RsaHashedKeyGenParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey() , when generating any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP. | ||
3600 | RsaOaepParams | API, Dictionary, Reference, RsaOaepParams, Web Crypto API |
The RsaOaepParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt() , SubtleCrypto.decrypt() , SubtleCrypto.wrapKey() , or SubtleCrypto.unwrapKey() , when using the RSA_OAEP algorithm. | ||
3601 | RsaPssParams | API, Dictionary, Reference, RsaPssParams, Web Crypto API |
The RsaPssParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify() , when using the RSA-PSS algorithm. | ||
3602 | RTCAnswerOptions | API, Dictionary, RTCAnswerOptions, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, answer, createAnswer, rtc |
The RTCAnswerOptions dictionary is used to provide optional settings when creating an SDP answer using RTCPeerConnection.createOffer() after receiving an offer from a remote peer. | ||
3603 | RTCCertificate | API, Interface, RTCCertificate, Reference, WebRTC, real-time communications |
The interface of the WebRTC API provides an object represents a certificate that an RTCPeerConnection uses to authenticate. | ||
3604 | RTCConfiguration | API, Configuration, Dictionary, RTCConfiguration, Reference, WebRTC, WebRTC API, WebRTC Device API, rtc |
WebRTC | ||
3605 | RTCConfiguration.bundlePolicy | API, BUNDLE, Configuration, DTLS, Negotiation, Property, RTCConfiguration, RTCPeerConnection, RTP, Reference, SDP, WebRTC, WebRTC API, WebRTC Device API, bundlePolicy |
WebRTC | ||
3606 | RTCConfiguration.certificates | API, Configuration, DLTS, Property, RTCConfiguration, RTCPeerConnection, Reference, Security, Settings, WebRTC, WebRTC API, WebRTC Device API, certificates, parameters |
The RTCConfiguration dictionary's optional certificates property is an array of RTCCertificate objects providing the security certificates available for use when authenticating duing the connection process. | ||
3607 | RTCConfiguration.iceServers | API, Configuration, ICE, JSEP, Negotiation, Property, RTCConfiguration, Reference, SDP, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, iceServers |
WebRTC API | ||
3608 | RTCConfiguration.iceTransportPolicy | API, ICE, Policy, Property, RTCConfiguration, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API\, iceTransportPolicy |
WebRTC API | ||
3609 | RTCDataChannel | API, Communication, Data Transfer, Experimental, Interface, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API |
The RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data. Every data channel is associated with an RTCPeerConnection , and each peer connection can have up to a theoretical maximum of 65,534 data channels (the actual limit may vary from browser to browser). | ||
3610 | RTCDataChannel.binaryType | Experimental, Property, RTCDataChannel, Reference, WebRTC, binaryType |
The property binaryType on the RTCDataChannel interface is a DOMString which specifies the type of JavaScript object which should be used to represent binary data received on the RTCDataChannel . Values allowed by the WebSocket.binaryType property are also permitted here: "blob" if Blob objects are being used or "arraybuffer" if ArrayBuffer objects are being used. The default is "blob" . | ||
3611 | RTCDataChannel.bufferedAmount | Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, bufferedAmount |
The read-only RTCDataChannel property bufferedAmount returns the number of bytes of data currently queued to be sent over the data channel. | ||
3612 | RTCDataChannel: bufferedamountlow event | API, Buffer, Communication, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, bufferedamountlow, data, events, rtc |
A bufferedamountlow event is sent to an RTCDataChannel when the number of bytes currently in the outbound data transfer buffer falls below the threshold specified in RTCDataChannel.bufferedAmountLowThreshold . | ||
3613 | RTCDataChannel.bufferedAmountLowThreshold | Experimental, Property, RTCDataChannel, Reference, WebRTC, bufferedAmountLowThreshold |
The RTCDataChannel property bufferedAmountLowThreshold is used to specify the number of bytes of buffered outgoing data that is considered "low." The default value is 0. | ||
3614 | RTCDataChannel: close event | API, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events |
The close event is sent to the RTCDataChannel.onclose event handler on an RTCDataChannel instance when the data transport being used for the data channel has closed. | ||
3615 | RTCDataChannel.close() | API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, close |
The RTCDataChannel.close() method closes the RTCDataChannel . Either peer is permitted to call this method to initiate closure of the channel. | ||
3616 | RTCDataChannel: closing event | API, Communications, Connection, Disconnecting, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, WebRTC Device API, closing, events |
The closing event is sent to an RTCDataChannel just before the channel begins the process of shutting down its underlying data transport. | ||
3617 | RTCDataChannel: error event | API, Connectivity, Data Channel, Error, Error Handling, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, rtc |
A WebRTC RTCDataChannel.error_event event is sent to an RTCDataChannel object's RTCDataChannel.onerror error handler when an error occurs on the data channel. | ||
3618 | RTCDataChannel.id | Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, id |
The read-only RTCDataChannel property id returns an ID number (between 0 and 65,534) which uniquely identifies the RTCDataChannel . | ||
3619 | RTCDataChannel.label | Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, label |
The read-only RTCDataChannel property label returns a DOMString containing a name describing the data channel. These labels are not required to be unique. | ||
3620 | RTCDataChannel.maxPacketLifeTime | Experimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxPacketLifeTime |
The read-only RTCDataChannel property maxPacketLifeTime returns the amount of time, in milliseconds, the browser is allowed to take to attempt to transmit a message, as set when the data channel was created, or null . | ||
3621 | RTCDataChannel.maxRetransmits | Experimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxRetransmits |
The read-only RTCDataChannel property maxRetransmits returns the maximum number of times the browser should try to retransmit a message before giving up, as set when the data channel was created, or null , which indicates that there is no maximum. | ||
3622 | RTCDataChannel: message event | API, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, message, messaging, rtc |
The WebRTC message event is sent to the RTCDataChannel.onmessage event handler on an RTCDataChannel object when a message has been received from the remote peer. | ||
3623 | RTCDataChannel.negotiated | Networking, Property, RTCDataChannel, Read-only, Reference, WebRTC, WebRTC API, data, datachannel, negotiated |
The read-only RTCDataChannel property negotiated indicates whether the RTCDataChannel 's connection was negotiated by the Web app (true ) or by the WebRTC layer (false ). | ||
3624 | RTCDataChannel.onbufferedamountlow | Event Handler, Experimental, Networking, Property, RTCDataChannel, Reference, WebRTC, buffering, onbufferedamountlow |
The RTCDataChannel.onbufferedamountlow property is an EventHandler which specifies a function the browser calls when the bufferedamountlow event is sent to the RTCDataChannel . This event, which is represented by a simple Event object, is sent when the amount of data buffered to be sent falls to or below the threshold specified by the channel's RTCDataChannel.bufferedAmountLowThreshold . | ||
3625 | RTCDataChannel.onclose | Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onclose |
The RTCDataChannel.onclose property is an EventHandler which specifies a function to be called by the browser when the close event is received by the RTCDataChannel . This is a simple Event which indicates that the data channel has closed down. | ||
3626 | RTCDataChannel.onclosing | Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onclosing |
The RTCDataChannel.onclosing property is an EventHandler which specifies a function to be called by the browser when the closing event is received by the RTCDataChannel . This is a simple Event which indicates that the data channel is being closed, that is, RTCDataChannel transitions to "closing" state. For example, after RTCDataChannel.close was called but the underlying data transport might not have been closed yet. | ||
3627 | RTCDataChannel.onerror | Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onerror |
The RTCDataChannel.onerror property is an EventHandler which specifies a function to be called when the error event is received. When an error occurs on the data channel, the function receives as input an ErrorEvent object describing the error which occurred. | ||
3628 | RTCDataChannel.onmessage | Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onmessage |
The RTCDataChannel.onmessage property stores an EventHandler which specifies a function to be called when the message event is fired on the channel. This event is represented by the MessageEvent interface. This event is sent to the channel when a message is received from the other peer. | ||
3629 | RTCDataChannel.onopen | Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onopen |
The RTCDataChannel.onopen property is an EventHandler which specifies a function to be called when the open event is fired; this is a simple Event which is sent when the data channel's underlying data transport—the link over which the RTCDataChannel 's messages flow—is established or re-established. | ||
3630 | RTCDataChannel: open event | API, Connectivity, Connetion, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events, rtc |
The WebRTC open event is sent to an RTCDataChannel object's RTCDataChannel.onopen event handler when the underlying transport used to send and receive the data channel's messages is opened or re-opened. | ||
3631 | RTCDataChannel.ordered | Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, ordered |
The read-only RTCDataChannel property ordered indicates whether or not the data channel guarantees in-order delivery of messages; the default is true , which indicates that the data channel is indeed ordered. | ||
3632 | RTCDataChannel.protocol | Experimental, NeedsExample, Property, Protocol, RTCDataChannel, Read-only, Reference, WebRTC |
The read-only RTCDataChannel property protocol returns a DOMString containing the name of the subprotocol in use. If no protocol was specified when the data channel was created, then this property's value is "" (the empty string). | ||
3633 | RTCDataChannel.readyState | Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, readyState |
The read-only RTCDataChannel property readyState returns an enum of type RTCDataChannelState which indicates the state of the data channel's underlying data connection. | ||
3634 | RTCDataChannel.reliable | Experimental, Obsolete, Property, RTCDataChannel, Read-only, WebRTC, reliable |
The read-only RTCDataChannel property reliable indicates whether or not the data channel is reliable. | ||
3635 | RTCDataChannel.send() | API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, datachannel, send |
The send() method of the RTCDataChannel interface sends data across the data channel to the remote peer. | ||
3636 | RTCDataChannel.stream | Non-standard, Obsolete, Property, RTCDataChannel, Read-only, Reference, WebRTC, stream |
The deprecated (and never part of the official specification) read-only RTCDataChannel property stream returns an ID number (between 0 and 65,535) which uniquely identifies the RTCDataChannel . | ||
3637 | RTCDataChannelEvent | API, Experimental, Interface, RTCDataChannelEvent, Reference, WebRTC, datachannel |
The RTCDataChannelEvent() constructor returns a new RTCDataChannelEvent object, which represents a datachannel event. These events sent to an RTCPeerConnection when its remote peer is asking to open an RTCDataChannel between the two peers. | ||
3638 | RTCDataChannelEvent.channel | Experimental, Property, RTCDataChannelEvent, Read-only, Reference, WebRTC, channel |
The read-only property RTCDataChannelEvent .channel returns the RTCDataChannel associated with the event. | ||
3639 | RTCDataChannelEvent() | Constructor, Experimental, RTCDataChannelEvent, Reference, WebRTC |
The RTCDataChannelEvent() constructor creates a new RTCDataChannelEvent . | ||
3640 | RTCDtlsTransport | API, Draft, Experimental, Interface, NeedsContent, NeedsExample, RTCDtlsTransport, Reference |
WebRTC | ||
3641 | RTCDtlsTransport: error event | API, Connection, DTLS, Error, Networking, RTCDtlsTransport, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, events |
An RTCDtlsTransport receives an error event when a transport-level error occurs on the RTCPeerConnection . | ||
3642 | RTCDtlsTransport.iceTransport | API, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCDtlsTransport, Read-only, Reference, iceTransport |
The read-only RTCDtlsTransport property iceTransport contains a reference to the underlying RTCIceTransport . | ||
3643 | RTCDtlsTransport.state | API, Property, RTCDtlsTransport, RTCDtlsTransportState, Read-only, Reference, WebRTC, state |
WebRTC | ||
3644 | RTCDTMFSender | Audio, DTMF, Interface, Media, PSTN, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API |
The RTCDTMFSender interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection . You gain access to the connection's RTCDTMFSender through the RTCRtpSender.dtmf property on the audio track you wish to send DTMF with. | ||
3645 | RTCDTMFSender.insertDTMF() | API, DTMF, Media, Method, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, insertDTMF |
The insertDTMF () method on the RTCDTMFSender interface starts sending | ||
3646 | RTCDTMFSender.ontonechange | DTMF, Event Handler, Property, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, ontonechange |
The ontonechange property of the RTCDTMFSender interface is used to set the event handler for the tonechange event, which is sent to the RTCDTMFSender each time a tone begins or ends. The event handler receives as input a single parameter of type RTCDTMFToneChangeEvent , which describes the change. | ||
3647 | RTCDTMFSender.toneBuffer | Audio, DTMF, Media, Property, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, toneBuffer |
The RTCDTMFSender interface's toneBuffer property returns a string containing a list of the DTMF tones currently queued for sending to the remote peer over the RTCPeerConnection . To place tones into the buffer, call RTCDTMFSender.insertDTMF . | ||
3648 | RTCDTMFSender: tonechange event | DTMF, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, events, tonechange |
The tonechange event is sent to an RTCDTMFSender by the WebRTC API to indicate when DTMF tones previously queued for sending (by calling RTCDTMFSender.insertDTMF() ) begin and end. | ||
3649 | RTCDTMFToneChangeEvent | DTMF, Reference, Touch-tone, WebRTC, WebRTC API, events |
The RTCDTMFToneChangeEvent interface represents events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event. | ||
3650 | RTCDTMFToneChangeEvent.RTCDTMFToneChangeEvent() | Constructor, DTMF, Media, RTCDTMFToneChangeEvent, Reference, WebRTC, WebRTC API |
The RTCDTMFToneChangeEvent() constructor creates a new RTCDTMFToneChangeEvent . | ||
3651 | RTCDTMFToneChangeEvent.tone | Media, Property, RTCDTMFToneChangeEvent, Reference, Touch-, WebRTC, WebRTC API, tone |
The read-only property RTCDTMFToneChangeEvent.tone returns the DTMF character which has just begun to play, or an empty string ("" ). if all queued tones have finished playing (that is, RTCDTMFSender.toneBuffer is empty). | ||
3652 | RTCError | API, Audio, Error, Error Handling, Interface, Media, RTCError, Reference, Video, WebRTC, WebRTC API, WebRTC Device API |
WebRTC | ||
3653 | RTCError.errorDetail | API, Audio, Error, Error code, Media, Property, RTCError, Read-only, Reference, Type, Video, WebRTC, WebRTC API, WebRTC Device API, details, errorDetail, rtc |
The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred. | ||
3654 | RTCError.receivedAlert | API, DTLS, Error, Networking, Property, RTCError, Read-only, Reference, WebRTC, WebRTC API, WebRTC Device API, receivedAlert |
The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer. | ||
3655 | RTCError.sctpCauseCode | API, Error, Networking, Property, RTCError, Read-only, Reference, SCTP, WebRTC, WebRTC API, WebRTC Device API, sctpCauseCode |
The read-only sctpCauseCode property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error. | ||
3656 | RTCError.sdpLineNumber | API, Error, Networking, Property, RTCError, Read-only, Reference, SDP, WebRTC, WebRTC API, WebRTC Device API, sdpLineNumber |
The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it. | ||
3657 | RTCError.sentAlert | API, DTLS, Error, Networking, Property, RTCError, Read-only, Reference, WebRTC, WebRTC API, WebRTC Device API, sentAlert |
The read-only sentAlert property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error. | ||
3658 | RTCErrorEvent | API, Error, Error Handling, ICE, Interface, RTCErrorEvent, WebRTC, WebRTC API, WebRTC Device API, rtc |
WebRTC | ||
3659 | RTCErrorEvent.error | API, Audio, Error, Error Handling, Media, Property, RTCError, RTCErrorEvent, Reference, Video, WebRTC, WebRTC API, WebRTC Device API |
WebRTC | ||
3660 | RTCIceCandidate | API, Candidate, Connection, Connectivity, ICE, Interface, Media, RTCIceCandidate, Reference, SDP, Web RTC, WebRTC, WebRTC API |
The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection . | ||
3661 | RTCIceCandidate.address | API, Address, Candidate, ICE, IP, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API |
The RTCIceCandidate interface's read-only address property is a string providing the address of the device which is the source of the candidate. | ||
3662 | RTCIceCandidate.candidate | API, Candidate, Candidates, ICE, Media, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, a-line |
The read-only property candidate on the RTCIceCandidate interface returns a DOMString describing the candidate in detail. | ||
3663 | RTCIceCandidate.component | API, ICE, Property, RTCIceCandidate, RTCP, RTP, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, component |
The read-only component property on the RTCIceCandidate interface is a string which indicates whether the candidate is an RTP or an RTCP candidate. | ||
3664 | RTCIceCandidate.foundation | API, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, foundation |
The RTCIceCandidate interface's read-only foundation property is a string which uniquely identifies the candidate across multiple transports. | ||
3665 | RTCIceCandidate.port | API, Candidate, ICE, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, port |
The RTCIceCandidate interface's read-only port property contains the port number on the device at the address given by RTCIceCandidate.ip at which the candidate's peer can be reached. | ||
3666 | RTCIceCandidate.priority | API, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, priority |
The RTCIceCandidate interface's read-only priority property specifies the candidate's priority according to the remote peer; the higher this value is, the better the remote peer considers the candidate to be. | ||
3667 | RTCIceCandidate.protocol | API, ICE, Property, Protocol, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API |
The RTCIceCandidate interface's read-only protocol property is a string which indicates whether the candidate uses UDP or TCP as its transport protocol. | ||
3668 | RTCIceCandidate.relatedAddress | API, Address, IP, Property, RTCIceCandidate, Read-only, Reference, SDP, STUN, TURN, WebRTC, WebRTC API, relatedAddress |
The RTCIceCandidate interface's read-only relatedAddress property is a string indicating the related address of a relay or reflexive candidate. | ||
3669 | RTCIceCandidate.relatedPort | API, Address, Candidate, ICE, IP, Media, Property, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, relatedPort |
The RTCIceCandidate interface's read-only relatedPort property indicates the port number of reflexive or relay candidates. | ||
3670 | RTCIceCandidate.RTCIceCandidate() | API, Audio, Candidate, Constructor, ICE, Media, RTCIceCandidate, Video, WebRTC, WebRTC API, rtc |
The RTCIceCandidate () constructor creates and returns a new RTCIceCandidate object, which can be configured to represent a single ICE candidate. | ||
3671 | RTCIceCandidate.sdpMid | API, ICE, Identification, Property, RTCIceCandidate, Read-only, SDP, WebRTC, WebRTC API, id, identification-tag, sdpMid, stream |
The read-only property sdpMid on the RTCIceCandidate interface returns a DOMString specifying the media stream identification tag of the media component with which the candidate is associated. | ||
3672 | RTCIceCandidate.sdpMLineIndex | API, Candidate, Media Description, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex |
The read-only sdpMLineIndex property on the RTCIceCandidate interface is a zero-based index of the m-line describing the media associated with the candidate. | ||
3673 | RTCIceCandidate.tcpType | API, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, tcpType |
The RTCIceCandidate interface's read-only tcpType property is included on TCP candidates to provide additional details about the candidate type. | ||
3674 | RTCIceCandidate. toJSON() | API, Candidate, ICE, JSON, Method, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, toJSON |
The RTCIceCandidate method toJSON() converts the RTCIceCandidate on which it's called into JSON in the form of an RTCIceCandidateInit object. | ||
3675 | RTCIceCandidate.type | API, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, Type, WebRTC, WebRTC API |
The RTCIceCandidate interface's read-only type specifies the type of candidate the object represents. | ||
3676 | RTCIceCandidate.usernameFragment | API, Candidate, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment |
The read-only usernameFragment property on the RTCIceCandidate interface is a string indicating the username fragment ("ufrag") that uniquely identifies a single ICE interaction session. | ||
3677 | RTCIceCandidateInit | API, Candidate, Dictionary, ICE, Interface, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API |
The WebRTC API's RTCIceCandidateInit dictionary, which contains the information needed to fundamentally describe an RTCIceCandidate . | ||
3678 | RTCIceCandidateInit.candidate | API, Candidate, ICE, Media, Property, RTCIceCandidateInit, SDP, Signaling, WebRTC, WebRTC API, candidate-attribute |
The optional property candidate in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.candidate property. | ||
3679 | RTCIceCandidateInit.sdpMid | API, ICE, Media, NeedsContent, Property, RTCIceCandidateInit, SDP, WebRTC, WebRTC API, m-line, sdpMid |
The optional property sdpMid in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.sdpMid property. | ||
3680 | RTCIceCandidateInit.sdpMLineIndex | API, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex |
The optional property sdpMLineIndex in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.sdpMLineIndex property. | ||
3681 | RTCIceCandidateInit.usernameFragment | API, Candidate, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment |
The optional property usernameFragment in the RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate object's RTCIceCandidate.usernameFragment property. | ||
3682 | RTCIceCandidatePair | API, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, Pair, Reference, WebRTC, WebRTC API |
The RTCIceCandidatePair dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints. | ||
3683 | RTCIceCandidatePair.local | API, Candidate, Connectivity, ICE, Negotiation, Property, RTCIceCandidatePair, Reference, WebRTC, WebRTC API, local, rtc |
The local property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection. | ||
3684 | RTCIceCandidatePair.remote | API, Candidate, ICE, Negotiation, Pair, Property, RTCIceCandidatePair, Reference, Remote, WebRTC, WebRTC API, rtc |
The remote property of the RTCIceCandidatePair dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection. | ||
3685 | RTCIceCandidatePairStats | API, Candidate, Candidate Pair, Connection, Connectivity, Dictionary, ICE, Media, Networking, Pair, Reference, Statistics, Stats, WebRTC, WebRTC API, candidate-pair, rtc |
The WebRTC RTCIceCandidatePairStats dictionary reports statistics which provide insight into the quality and performance of an RTCPeerConnection while connected and configured as described by the specified pair of ICE candidates. | ||
3686 | RTCIceCandidatePairStats.availableIncomingBitrate | API, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, Network, Pair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, availableIncomingBitrate, priority, speed |
The RTCIceCandidatePairStats property availableIncomingBitrate returns a value indicative of the available inbound capacity of the network connection represented by the candidate pair. | ||
3687 | RTCIceCandidatePairStats.availableOutgoingBitrate | API, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, ICE, Network, Pair, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API |
The RTCIceCandidatePairStats property availableOutgoingBitrate returns a value indicative of the available outbound capacity of the network connection represented by the candidate pair. | ||
3688 | RTCIceCandidatePairStats.bytesReceived | API, Candidate, Candidate Pair, ICE, Network, Networking, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, data |
The RTCIceCandidatePairStats property bytesReceived indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been received to date on the connection described by the candidate pair. | ||
3689 | RTCIceCandidatePairStats.bytesSent | API, Candidate, Candidate Pair, ICE, Pair, RTCIceCandidatePairStats, Sent, Statistics, Stats, Transmitted, WebRTC, WebRTC API, bytesSent, rtc |
The RTCIceCandidatePairStats property bytesSent indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been sent so far on the connection described by the candidate pair. | ||
3690 | RTCIceCandidatePairStats.circuitBreakerTriggerCount | API, Circuit-Breaker, Connection, Property, Reference, Statistics, Stats, WebRTC, WebRTC API, circuitBreakerTriggerCount |
The RTCIceCandidatePairStats property circuitBreakerTriggerCount indicates the number of times the circuit-breaker has been triggered to indicate a connection timeout or other unexpected connection abort on this specific connection configuration. | ||
3691 | RTCIceCandidatePairStats.consentExpiredTimestamp | API, Binding, Connection, Connectivity, Consent, Property, RTCIceCandidatePairStats, Reference, STUN, WebRTC, WebRTC API, consentTimestampExpired, expiration, rtc, timeStamp |
The RTCIceCandidatePairStats property consentExpiredTimestamp indicates the time at which the most recent STUN binding response expired. | ||
3692 | RTCIceCandidatePairStats.consentRequestsSent | API, Candidates, Connectivity, ICE, Networking, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, contentRequestsReceived, data, rtc |
The RTCIceCandidatePairStats property consentRequestsSent specifies the number of consent requests that have been sent by this peer to the remote peer on the connection described by the pair of candidates. | ||
3693 | RTCIceCandidatePairStats.currentRoundTripTime | API, Connectivity, ICE, Network, Performance, Ping, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, currentRoundTripTime, rtc, speed |
The RTCIceCandidatePairStats property currentRoundTripTime is a floating-point value indicating the number of seconds it takes for data to be sent by this peer to the remote peer and back over the connection described by this pair of ICE candidates. | ||
3694 | RTCIceCandidatePairStats.firstRequestTimestamp | API, Connectivity, ICE, Network, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, Timing, WebRTC, WebRTC API, firstRequestTimestamp, timeStamp |
The RTCIceCandidatePairStats property firstRequestTimestamp specifies the time at which the first STUN request was sent on the described candidate pair. | ||
3695 | RTCIceCandidatePairStats.lastPacketReceivedTimestamp | API, ICE, Networking, Packet, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, lastPacketReceivedTimestamp, timeStamp |
The RTCIceCandidatePairStats property lastPacketReceivedTimestamp indicates the time at which the connection described by the candidate pair last received a packet. STUN packets are not included. | ||
3696 | RTCIceCandidateStats.lastPacketSentTimestamp | API, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp |
The RTCIceCandidatePairStats property lastPacketSentTimestamp indicates the time at which the connection described by the candidate pair last sent a packet, not including STUN packets. | ||
3697 | RTCIceCandidatePairStats.lastRequestTimestamp | API, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, lastRequestTimestamp, timeStamp |
The RTCIceCandidatePairStats property lastRequestTimestamp indicates the time at which the most recent STUN request was sent on the described candidate pair. | ||
3698 | RTCIceCandidateStats.lastResponseTimestamp | API, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Response, Statistics, Stats, WebRTC, WebRTC API, lastResponseTimestamp, timeStamp |
The RTCIceCandidatePairStats property lastResponseTimestamp indicates the time at which the last STUN response was received on the described candidate pair. | ||
3699 | RTCIceCandidateStats.localCandidateId | API, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, local, localCandidateId |
The RTCIceCandidatePairStats property localCandidateId is a string that uniquely identifies the local ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates. | ||
3700 | RTCIceCandidatePairStats.nominated | API, Flag, ICE, Negotiation, Networking, Property, RTCIceCandidatePairStats, Reference, WebRTC, WebRTC API, nominated |
The RTCIceCandidatePairStats property nominated specifies whether or not the candidate pair described by the underlying RTCIceCandidatePair has been nominated to be used as the configuration for the WebRTC connection. | ||
3701 | RTCIceCandidatePairStats.packetsReceived | API, Communication, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsReceived |
The RTCIceCandidatePairStats dictionary's packetsReceived property indicates the total number of packets of any kind that have been received on the connection described by the pair of candidates. | ||
3702 | RTCIceCandidatePairStats.packetsSent | API, Candidate, Connectivity, ICE, Networking, Packets, Property, RTCIceCandidatePairStats, Reference, Sent, Statistics, Stats, WebRTC, WebRTC API |
The RTCIceCandidatePairStats dictionary's packetsSent property indicates the total number of packets which have been sent on the connection described by the pair of candidates. | ||
3703 | RTCIceCandidatePairStats.priority | API, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, priority |
The obsolete RTCIceCandidatePairStats property priority reports the priority of the candidate pair as an integer value. | ||
3704 | RTCIceCandidatePairStats.readable | API, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, readable |
The obsolete RTCIceCandidatePairStats property readable reports whether or not the connection described by the candidate pair has received at least one valid incoming ICE request. | ||
3705 | RTCIceCandidatePairStats.remoteCandidateId | API, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id |
The RTCIceCandidatePairStats property remoteCandidateId is a string that uniquely identifies the remote ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates. | ||
3706 | RTCIceCandidatePairStats.requestsReceived | API, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, request, requestsReceived |
The RTCIceCandidatePairStats dictionary's requestsReceived property indicates the total number of STUN connectivity check requests that have been received so far on the connection described by this pairing of candidates. | ||
3707 | RTCIceCandidatePairStats.requestsSent | API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, requestsSent |
The RTCIceCandidatePairStats dictionary's requestsSent property indicates the total number of STUN connectivity check requests that have been sent so far on the connection described by this pair of candidates. | ||
3708 | RTCIceCandidatePairStats.responsesReceived | API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesReceived |
The responsesReceived property in the RTCIceCandidatePairStats dictionary indicates the total number of STUN connectivity check responses that have been received on the connection described by this pair of candidates. | ||
3709 | RTCIceCandidatePairStats.responsesSent | API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesSent |
The RTCIceCandidatePairStats dictionary's responsesSent property indicates the total number of STUN connectivity check responses that have been sent so far on the connection described by this pair of candidates. | ||
3710 | RTCIceCandidatePairStats.retransmissionsReceived | API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Retransmissions, STUN, Statistics, Stats, WebRTC, WebRTC API, retransmissionsReceived |
The RTCIceCandidatePairStats dictionary's retransmissionsReceived property indicates the total number of STUN connectivity check request retransmissions that have been received so far on the pair of candidates. | ||
3711 | RTCIceCandidatePairStats.retransmissionsSent | |
The RTCIceCandidatePairStats dictionary's retransmissionsSent property indicates the total number of STUN connectivity check request retransmissions that have been sent so far on the pair of candidates. | ||
3712 | RTCIceCandidatePairStats.selected | |
The non-standard, Firefox-specific RTCIceCandidatePairStats property selected indicates whether or not the candidate pair described by the object is the one currently being used to communicate with the remote peer. | ||
3713 | RTCIceCandidatePairStats.state | API, Candidate, CandidatePair, Check List, ICE, Pair, Property, RTCIceCandidatePair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, state |
The state property in an RTCIceCandidatePairStats object indicates the state of the check list of which the candidate pair is a member. | ||
3714 | RTCIceCandidatePairStats.totalRoundTripTime | API, Candidate, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, round-trip, rount trip time, rtt, totalRoundTripTime |
The RTCIceCandidatePairStats dictionary's totalRoundTripTime property is the total time that has elapsed between sending STUN requests and receiving the responses, for all such requests that have been made so far on the pair of candidates described by this RTCIceCandidatePairStats object. | ||
3715 | RTCIceCandidatePairStats.transportId | API, ICE, Networking, Property, RTCIceCandidatePairStats, RTCIceTransport, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, transportID |
The transportId property uniquely identifies the RTCIceTransport that was inspected to obtain the transport-related statistics contained in the RTCIceCandidatePairStats object. | ||
3716 | RTCIceCandidatePairStats.writable | API, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, writable |
The obsolete RTCIceCandidatePairStats property writable reports whether or not the connection described by the candidate pair is writable. | ||
3717 | RTCIceCandidateStats | API, Candidate, Dictionary, ICE, Ice Candidate, RTCIceCandidate, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API |
The WebRTC API's RTCIceCandidateStats dictionary provides statistics related to an RTCIceCandidate . | ||
3718 | RTCIceCandidateStats.address | API, Address, Domain, Domain Name, FQDN, IP, IPv4, IPv6, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API |
The address property of the RTCIceCandidateStats dictionary indicates the address of the ICE candidate. While it's preferred that the address be specified as an IPv4 or IPv6 numeric address, a fully-qualified domain name can be used as well. | ||
3719 | RTCIceCandidateStats.candidateType | API, Candidate, ICE, Networking, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, candidateType, rtc |
The RTCIceCandidateStats interface's candidateType property is a string which indicates the type of ICE candidate the object represents. | ||
3720 | RTCIceCandidateStats.deleted | API, Candidate, Property, RTCIceCandidateStats, Reference, WebRTC, WebRTC API, deleted |
The RTCIceCandidateStats dictionary's deleted property indicates whether or not the candidate has been deleted or released. | ||
3721 | RTCIceCandidateStats.mozLocalTransport | API, Candidate, ICE, Media, Non-standard, Obsolete, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Relay, Statistics, Stats, Transport, WebRTC, WebRTC API, mozLocalTransport |
The non-standard Mozilla extension to the RTCIceCandidateStats dictionary, mozLocalTransport , has been supplanted by the standard RTCIceCandidateStats.relayProtocol property. | ||
3722 | RTCIceCandidateStats.networkType | API, Candidate, Connection, Connectivity, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, networkType |
The RTCIceCandidateStats dictionary's networkType property specifies the type of network used by a local candidate to communicate with a remote peer. | ||
3723 | RTCIceCandidateStats.port | API, Candidate, Connection, ICE, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, port |
The RTCIceCandidateStats dictionary's port property specifies the network port used by the candidate. | ||
3724 | RTCIceCandidateStats.priority | |
The RTCIceCandidateStats dictionary's priority property is a positive integer value indicating the priority (or desirability) of the described candidate. | ||
3725 | RTCIceCandidateStats.protocol | API, Candidate, ICE, Media, Property, Protocol, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API |
The RTCIceCandidateStats dictionary's protocol property specifies the protocol the specified candidate would use for communication with the remote peer. | ||
3726 | RTCIceCandidateStats.relayProtocol | API, Candidate, ICE, Media, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Statistics, Stats, WebRTC, WebRTC API, relayProtocol, rtc |
The RTCIceCandidateStats dictionary's relayProtocol property specifies the protocol being used by a local ICE candidate to communicate with the TURN server. | ||
3727 | RTCIceCandidateStats.transportId | API, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, rtc, transportID |
The RTCIceCandidateStats dictionary's transportId property is a string that uniquely identifies the transport that produced the RTCTransportStats from which information about this candidate was taken. | ||
3728 | RTCIceCandidateStats.url | API, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, URL, WebRTC, WebRTC API, rtc |
The RTCIceCandidateStats dictionary's url property specifies the URL of the ICE server from which the described candidate was obtained. This property is only available for local candidates. | ||
3729 | RTCIceCandidateType | API, Enum, Enumerated Type, ICE, Media, RTCIceCandidateType, Reference, SDP, Type, WebRTC, WebRTC API |
The WebRTC API's RTCIceCandidateType enumerated type provides a set of DOMString values representing the types of ICE candidate that can arrive. | ||
3730 | RTCIceComponent | API, Enum, Enumerated, Enumeration, ICE, RTCIceComponent, RTCP, RTP, Reference, SDP, Transport, Type, component |
The WebRTC API's RTCIceComponent enumerated type contains DOMString values that each identify a specific ICE component; these are "rtp" and "rtcp" . | ||
3731 | RTCIceCredentialType | |
The WebRTC API's RTCIceCredentialType enumerated string type defines the authentication method used to gain access to an ICE server identified by an RTCIceServer object. | ||
3732 | RTCIceGathererState | API, Enum, Enumerated Type, Gathering, ICE, RTCIceGathererState, Read-only, Reference, Type, WebRTC, rtc, state |
The RTCIceGathererState enumerated type provides the string values which can be returned by an RTCIceTransport object's RTCIceTransport.gatheringState . | ||
3733 | RTCIceParameters | API, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, RTCIceParameters, Reference, Transport, WebRTC, WebRTC API, password, ufrag, username |
The RTCIceParameters dictionary specifies the username fragment and password assigned to an ICE session. | ||
3734 | RTCIceParameters.password | API, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceParameters, Reference, WebRTC, WebRTC API, password |
The RTCIceParameters dictionary's password property specifies the ICE password that, in tandem with the RTCIceParameters.usernameFragment , uniquely identifies an ICE session for its entire duration. | ||
3735 | RTCIceParameters.usernameFragment | API, Candidate, ICE, Negotiation, Property, RTCIceParameters, Reference, Web RTC API, WebRTC, ice-ufrag, parameters, rtc, ufrag, username, usernameFragment |
The RTCIceParameters dictionary's usernameFragment property specifies the username fragment ("ufrag") that uniquely identifies the corresponding ICE session for the duration of the current ICE session. | ||
3736 | RTCIceProtocol | API, Enumerated Type, ICE, Media, RTCIceProtocol, Reference, SDP, TCP, Type, UDP, WebRTC, WebRTC API |
The WebRTC API's RTCIceProtocol enumerated type provides a set of DOMString values representing the names of the transport protocols ICE candidates can use. | ||
3737 | RTCIceRole | API, Controlled Agent, Controlling Agent, Enumerated Type, Enumeration, ICE, Media, RTCIceRole, Reference, Rôle, Type, WebRTC, WebRTC API, agent, rtc |
The RTCIceRole enumerated type lists the string values that identify whether a connection's ICE agent is serving as the controlling agent or the controlled agent, as indicated by RTCIceTransport.role . | ||
3738 | RTCIceServer | Authentication, Configuration, Dictionary, Experimental, ICE, RTCIceServer, WebRTC |
WebRTC | ||
3739 | RTCIceServer.credential | Credential, Experimental, Property, RTCIceServer, Reference, TURN, WebRTC |
The RTCIceServer dictionary's credential property is a string providing the credential to use when connecting to the described server. This is typically a password, key, or other secret. | ||
3740 | RTCIceServer.credentialType | Authentication, ICE, OAuth, Property, RTCIceServer, Reference, WebRTC, WebRTC API, credentialType, credentials, password |
The RTCIceServer dictionary's credentialType property is a string value from the RTCIceCredentialType enum which indicates what type of credential the RTCIceServer.credential value is. The default is password . | ||
3741 | RTCIceServer.url | Experimental, Obsolete, Property, RTCIceServer, Reference, URL, WebRTC |
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback. | ||
3742 | RTCIceServers.urls | Experimental, Property, RTCIceServer, Reference, WebRTC, urls |
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback. | ||
3743 | RTCIceServer.username | Experimental, Property, RTCIceServer, Reference, WebRTC, username |
I'm experimenting with structure for pages documenting members of dictionaries. Please contact ~~sheppy with any feedback. | ||
3744 | RTCIceTcpCandidateType | API, Enum, Enumerated Type, RTCIceTcpCandidateType, Reference, TCP Type, Type, WebRTC, WebRTC API |
The WebRTC API's RTCIceTcpCandidateType enumerated type provides a set of DOMString values representing the types of TCP candidates. | ||
3745 | RTCIceTransport | API, Audio, Interface, Media, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, rtc |
The RTCIceTransport interface provides access to information about the ICE transport layer over which the data is being sent and received. | ||
3746 | RTCIceTransport.component | API, ICE, Media, Property, RTCIceTransport, RTCP, RTP, Read-only, Reference, Transport, Video, WebRTC, WebRTC API, component |
The read-only RTCIceTransport property component specifies whether the object is serving to transport RTP or RTCP. The value is one of the strings in RTCIceComponent . | ||
3747 | RTCIceTransport.gatheringState | API, Gatherer, Property, RTCIceTransport, Read-only, Reference, WebRTC, WebRTC API, gatheringState, state |
The read-only RTCIceTransport property gatheringState returns a DOMString from the enumerated type RTCIceGathererState that indicates what gathering state the ICE agent is currently in: "new" , "gathering" , or "complete" . | ||
3748 | RTCIceTransport: gatheringstatechange event | Connection, Connectivity, Gathering, ICE, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, events, gatheringSstate, gatheringstatechange |
A gatheringstatechange event is sent to an RTCIceTransport when its ICE candidate gathering state changes. | ||
3749 | RTCIceTransport.getLocalCandidates() | API, Candidates, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, getLocalCandidates, rtc |
The RTCIceTransport method getLocalCandidates() returns an array of RTCIceCandidate objects, one for each of the candidates that have been gathered by the local device during the current ICE agent session. | ||
3750 | RTCIceTransport.getLocalParameters() | API, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, getLocalParameters, parameters, password, ufrag, username, usernameFragment |
The RTCIceTransport method getLocalParameters() returns an RTCIceParameters object which provides information uniquely identifying the local peer for the duration of the ICE session. | ||
3751 | RTCIceTransport.getRemoteCandidates() | API, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceTransport, Reference, Remote, WebRTC, WebRTC API, getRemoteCandidates, rtc |
The RTCIceTransport method getRemoteCandidates() returns an array which contains one RTCIceCandidate for each of the candidates that have been received from the remote peer so far during the current ICE gathering session. | ||
3752 | RTCIceTransport.getRemoteParameters() | |
The RTCIceTransport method getRemoteParameters() returns an RTCIceParameters object which provides information uniquely identifying the remote peer for the duration of the ICE session. | ||
3753 | RTCIceTransport.getSelectedCandidatePair() | API, Candidates, Connectivity, Gathering, ICE, Method, Negotiation, Pair, RTCIceTransport, Reference, WebRTC, WebRTC API, getSelectedCandidatePair |
The RTCIceTransport method getSelectedCandidatePair() returns an RTCIceCandidatePair object containing the current best-choice pair of ICE candidates describing the configuration of the endpoints of the transport. | ||
3754 | RTCIceTransport.ongatheringstatechange | API, Candidates, Connectivity, Event Handler, Gathering, ICE, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, ongatheringstatechange |
The ongatheringstatechange event handler for the RTCIceTransport interface specifies an event handler that is to be called when the gatheringstatechange event occurs on the transport. | ||
3755 | RTCIceTransport.onselectedcandidatepairchange | API, Candidate, Candidate Pair, Connectivity, Event Handler, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, onselectedcandidatepairchange, selectedcandidatepairchange |
The RTCIceTransport interface's onselectedcandidatepairchange event handler specifies a function to be called to handle the selectedcandidatepairchange event, which is fired when the ICE agent selects a new candidate pair to be used for the connection. | ||
3756 | RTCIceTransport.onstatechange | API, Audio, Change, Event Handler, Media, Property, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, onstatechange, rtc, state, statechange |
The onstatechange event handler for the RTCIceTransport interface is a property which specifies a function to serve as the EventHandler for the statechange event that is fired whenever the transport's RTCIceTransport.state changes. | ||
3757 | RTCIceTransport.role | API, Audio, Candidates, ICE, Media, Negotiation, Property, RTCIceTransport, Read-only, Reference, Rôle, Video, WebRTC, WebRTC API, rtc |
The read-only RTCIceTransport property role indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled. | ||
3758 | RTCIceTransport: selectedcandidatepairchange event | Connectivity, ICE, Negotiation, RTCIceCandidate, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, events, onselectedcandidatepairchange, selectedcandidatepairchange |
A selectedcandidatepairchange event is sent to an RTCIceTransport when the ICE agent selects a new pair of candidates that describe the endpoints of a viable connection. | ||
3759 | RTCIceTransport.state | API, Enumerated Type, Enumeration, ICE, Media, Property, RTCIceTransportState, Read-only, Reference, Transport, Type, WebRTC, WebRTC API, state |
The read-only RTCIceTransport property state returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating. | ||
3760 | RTCIceTransport: statechange event | ICE, Negotiation, RTCIceTransport, Reference, SDP, Transport, WebRTC, WebRTC API, events, rtc, state, statechange |
A statechange event occurs when the RTCIceTransport changes state. The RTCIceTransport.state can be used to determine how far through the process of examining, verifying, and selecting a valid candidate pair is prior to successfully connecting the two peers for WebRTC communications. | ||
3761 | RTCIceTransportState | API, Candidate, Enum, Enumerated Type, Enumeration, ICE, Media, RTCIceTransportState, Reference, Transport, Type, WebRTC, WebRTC API, state |
The RTCIceTransportState enumerated type defines the string values which may be returned by the RTCiceTransport.state property on RTCIceTransport objects. The transport state indicates which stage of the candidate gathering process is currently underway. | ||
3762 | RTCIdentityAssertion | API, Experimental, Interface, RTCIdentityAssertion, Reference, WebRTC, WebRTC API |
The RTCIdentityAssertion interface of the WebRTC API represents the identity of the a remote peer of the current connection. If no peer has yet been set and verified this interface returns null . Once set it can't be changed. | ||
3763 | RTCIdentityErrorEvent | API, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC |
The RTCIdentityErrorEvent interface represents an error associated with the identity provider (idP). This is usually for an RTCPeerConnection . Two events are sent with this type: idpassertionerror and idpvalidationerror . | ||
3764 | RTCIdentityErrorEvent.idp | Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC |
The read-only property RTCIdentityErrorEvent.idp returns the DOMString describing the domain name of the identity provider (idp) generating the error response event. | ||
3765 | RTCIdentityErrorEvent.loginUrl | Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC |
The read-only property RTCIdentityErrorEvent.loginUrl is a DOMString giving the URL where the user can complete the authentication. It can be null and is provided by the identity provider (idp). | ||
3766 | RTCIdentityErrorEvent.protocol | Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC |
The read-only property RTCIdentityErrorEvent.protocol is a DOMString describing the Idp protocol in use. | ||
3767 | RTCIdentityEvent | API, Experimental, Interface, RTCIdentityEVent, Reference, WebRTC, WebRTC API |
The RTCIdentityEvent interface represents an identity assertion generated by an identity provider (idP). This is usually for an RTCPeerConnection . The only event sent with this type is identityresult .. | ||
3768 | RTCIdentityEvent.assertion | Experimental, Expérimental(2), Property, RTCIdentyEvent, Read-only, Reference, Référence(2), WebRTC |
The read-only property RTCIdentityEvent.assertion returns the DOMString containing a blob being the coded assertion associated with the event. | ||
3769 | RTCInboundRtpStreamStats | API, Dictionary, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, local, receiver |
The WebRTC API's RTCInboundRtpStreamStats dictionary, based upon RTCReceivedRtpStreamStats and RTCStats , contains statistics related to the receiving end of an RTP stream on the local end of the RTCPeerConnection . | ||
3770 | RTCInboundRtpStreamStats.averageRtcpInterval | API, Packet, Property, RTCInboundRtpStreamStats, RTCP, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate |
The averageRtcpInterval property of the RTCInboundRtpStreamStats dictionary is a floating-point value indicating the average RTCP transmission interval, in seconds. | ||
3771 | RTCInboundRtpStreamStats.bytesReceived | API, Media, Networking, Performance, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, stream |
The RTCInboundRtpStreamStats dictionary's bytesReceived property is an integer value which indicates the total number of bytes received so far from this synchronization source (SSRC). | ||
3772 | RTCInboundRtpStreamStats.fecPacketsDiscarded | API, Errors, FEC, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, fecPacketsDiscarded |
The fecPacketsDiscarded property of the RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of RTP Forward Error Correction (FEC) packets that have been discarded. | ||
3773 | RTCInboundRtpStreamStats.fecPacketsReceived | |
The fecPacketsReceived property of the RTCInboundRtpStreamStats dictionary indicates how many Forward Error Correction (FEC) packets have been received by this RTP receiver from the remote peer. | ||
3774 | RTCInboundRtpStreamStats.firCount | API, FIR, Frames, Property, RTCIncomingRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, firCount, stream |
The firCount property of the RTCInboundRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) packets have been sent by the receiver to the sender. | ||
3775 | RTCInboundRtpStreamStats.framesDecoded | API, Decode, Frames, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, decoding, framesDecoded, stream |
The framesDecoded property of the RTCInboundRtpStreamStats dictionary indicates the total number of frames which have been decoded successfully for this media source. | ||
3776 | RTCInboundRtpStreamStats.lastPacketReceivedTimestamp | API, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Time, Time stamp, WebRTC, WebRTC API, lastPacketReceivedTimestamp, stream, timeStamp |
The lastPacketReceivedTimestamp property of the RTCInboundRtpStreamStats dictionary indicates the time at which the most recently received packet arrived from this source. | ||
3777 | RTCInboundRtpStreamStats.nackCount | API, NACK, Packet Loss, Property, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream |
The nackCount property of the RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender. | ||
3778 | RTCInboundRtpStreamStats.packetsDuplicated | API, Duplicate, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Repeat, Statistics, Stats, WebRTC, WebRTC API, packetsDuplicated, stream |
The packetsDuplicated property of the RTCInboundRtpStreamStats dictionary indicates the total number of packets discarded because they were duplicates of previously-received packets. | ||
3779 | RTCInboundRtpStreamStats.packetsFailedDecryption | API, Decryption, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsFailedDecryption, stream |
The packetsFailedDecryption property of the RTCInboundRtpStreamStats dictionary indicates the total number of RTP packets which failed to be decrypted successfully after being received by the local end of the connection during this session. | ||
3780 | RTCInboundRtpStreamStats.perDscpPacketsReceived | API, DCSP, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDcspPacketsReceived |
The perDscpPacketsReceived property of the RTCInboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets received for that DCSP. | ||
3781 | RTCInboundRtpStreamStats.pliCount | API, Media, PLI, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream |
The pliCount property of the RTCInboundRtpStreamStats dictionary states the number of times the RTCRtpReceiver described by these statistics sent a Picture Loss Indication (PLI) packet to the sender. | ||
3782 | RTCInboundRtpStreamStats.qpSum | API, Property, QP, Quantization, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, qpSum, stream |
The qpSum property of the RTCInboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame sent or received to date on the video track corresponding to this RTCInboundRtpStreamStats object. | ||
3783 | RTCInboundRtpStreamStats.receiverId | API, Audio, Media, Property, RTCInboundRtpStreamStats, RTP, RTP Receiver, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, receiver, receiverId |
The receiverId property of the RTCInboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCAudioReceiverStats or RTCVideoReceiverStats object representing the RTCRtpReceiver receiving the stream. | ||
3784 | RTCInboundRtpStreamStats.remoteId | API, Media, Property, RTCInboundRtpStreamStats, RTCRtpSender, RTP, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId, sender, stream |
The remoteId property of the RTCInboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCRemoteOutboundRtpStreamStats object representing the remote peer's RTCRtpSender which is sending the media to the local peer. | ||
3785 | RTCInboundRtpStreamStats.sliCount | API, Corruption, Errors, Property, RTCInboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream |
The sliCount property of the RTCInboundRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets the RTCRtpReceiver for which this object provdes statistics sent to the remote RTCRtpSender . | ||
3786 | RTCInboundRtpStreamStats.trackId | API, Audio, Media, MediaStreamTrack, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, trackId |
The trackId property of the RTCInboundRtpStreamStats dictionary indicates the RTCStats.id of the RTCReceiverAudioTrackAttachmentStats or RTCReceiverVideoTrackAttachmentStats object representing the MediaStreamTrack which is receiving the incoming media. | ||
3787 | RTCNetworkType | API, Connection, Enum, Enumerated Type, Enumeration, Network, Obsolete, RTCNetworkType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, networkType |
The WebRTC RTCNetworkType enumerated type defines a set of strings used to identify the type of network used by a connection between two peers. | ||
3788 | RTCOfferAnswerOptions | Configuration, Dictionary, Options, RTCOfferAnswerOptions, Reference, Settings, WebRTC, WebRTC API, createAnswer, createOffer |
The WebRTC API's RTCOfferAnswerOptions dictionary is used to specify options that configure and control the process of creating WebRTC offers or answers. | ||
3789 | RTCOfferAnswerOptions.voiceActivityDetection | Audio, Configuration, Offer, Options, Property, RTCOfferAnswerOptions, RTCPeerConnection, Reference, SDP, Voice, WebRTC, WebRTC API, answer, detection |
The voiceActivityDetection property of the RTCOfferAnswerOptions dictionary is used to specify whether or not to use automatic voice detection for the audio on an RTCPeerConnection . The default value, true , indicates that voice detection should be used and that if possible, the user agent should automatically disable or mute outgoing audio when the audio source is not sensing a human voice. | ||
3790 | RTCOfferOptions | Dictionary, Media, Offer, RTCOfferOptions, Reference, SDP, WebRTC, WebRTC API, rtc |
The RTCOfferOptions dictionary is used to provide optional settings when creating an RTCPeerConnection offer with the RTCPeerConnection.createOffer method. | ||
3791 | RTCOfferOptions.iceRestart | Configuration, ICE, ICE Restart, Offer, Option, Property, RTCOfferOptions, Reference, SDP, Setting, WebRTC, WebRTC API, iceRestart |
The iceRestart property of the RTCOfferOptions dictionary is a Boolean value which, when true , tells the RTCPeerConnection to start ICE renegotiation. | ||
3792 | RTCOutboundRtpStreamStats | API, Dictionary, Outbound, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, stream |
The RTCOutboundRtpStreamStats dictionary is the RTCStats -based object which provides metrics and statistics related to an outbound RTP stream being sent by an RTCRtpSender . | ||
3793 | RTCOutboundRtpStreamStats.averageRtcpInterval | API, Media, Packets, Property, RTCOutboundRtpStreamStats, RTCP, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate, sender, stream |
The averageRtcpInterval property of the RTCOutboundRtpStreamStats dictionary is a floating-point value indicating the average time that should pass between transmissions of RTCP packets on this stream. | ||
3794 | RTCOutboundRtpStreamStats.firCount | API, FIR, Frames, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Skipped Frames, Statistics, Stats, Video, WebRTC, WebRTC API, firCount |
The firCount property of the RTCOutboundRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) that the remote RTCRtpReceiver has sent to this RTCRtpSender . | ||
3795 | RTCOutboundRtpStreamStats.framesEncoded | API, Encoding, Frames, Media, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, encode, framesEncoded, stream |
The framesEncoded property of the RTCOutboundRtpStreamStats dictionary indicates the total number of frames that have been encoded by this RTCRtpSender for this media source. | ||
3796 | RTCOutboundRtpStreamStats.lastPacketSentTimestamp | API, Packet, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp, timeStamp |
The lastPacketSentTimestamp property of the RTCOutboundRtpStreamStats dictionary indicates the time at which the RTCRtpSender described by this RTCOutboundRtpStreamStats object last transmitted a packet to the remote receiver. | ||
3797 | RTCOutboundRtpStreamStats.nackCount | API, Audio, Media, NACK, Packet Loss, Packets, Property, RTCOutboundRtpStreamStats, Reference, Reliability, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream |
The nackCount property of the RTCOutboundRtpStreamStats dictionary is a numeric value indicating the number of times the RTCRtpSender described by this object received a NACK packet from the remote receiver. | ||
3798 | RTCOutboundRtpStreamStats.perDscpPacketsSent | API, DSCP, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDscpPacketsSent |
The perDscpPacketsSent property of the RTCOutboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets sent for that DCSP. | ||
3799 | RTCOutboundRtpStreamStats.pliCount | API, Media, PLI, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream |
The pliCount property of the RTCOutboundRtpStreamStats dictionary states the number of times the remote peer's RTCRtpReceiver sent a Picture Loss Indication (PLI) packet to the RTCRtpSender for which this object provides statistics. | ||
3800 | RTCOutboundRtpStreamStats.qpSum | API, Encoding, Media, Property, QP, Quantization, RTCOutboundRtpStreamStats, RTCRtpSender, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, stream |
The qpSum property of the RTCOutboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame this sender has produced to date on the video track corresponding to this RTCOutboundRtpStreamStats object. | ||
3801 | RTCOutboundRtpStreamStats.qualityLimitationReason | API, Media, Property, Quality, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, WebRTC, WebRTC API, qualityLimitationReason, reason, stream |
The qualityLimitationReason property of the RTCOutboundRtpStreamStats dictionary is a string indicating the reason why the media quality in the stream is currently being reduced by the codec during encoding, or none if no quality reduction is being performed. | ||
3802 | RTCOutboundRtpStreamStats.remoteId | API, Property, RTCOutboundRtpStreamStats, RTCRtpReceiver, RTCRtpSender, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId |
The remoteId property of the RTCOutboundRtpStreamStats dictionary specifies the RTCStats.id of the RTCRemoteInboundRtpStreamStats object representing the remote peer's RTCRtpReceiver which is sending the media to the local peer for this SSRC. | ||
3803 | RTCOutboundRtpStreamStats.sliCount | API, Corruption, Errors, Property, RTCOutboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream |
The sliCount property of the RTCOutboundRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets the RTCRtpSender received from the remote RTCRtpReceiver for the RTP stream described by this object. | ||
3804 | RTCOutboundRtpStreamStats.trackId | API, Audio, Media, MediaStreamTrack, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, id, stream, track, trackId |
The trackId property of the RTCOutboundRtpStreamStats dictionary indicates the RTCStats.id of the RTCSenderAudioTrackAttachmentStats or RTCSenderVideoTrackAttachmentStats object representing the MediaStreamTrack which is being sent on this stream. | ||
3805 | RTCPeerConnection: idpvalidationerror event | Authentication, Error, IdP, Identification, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror |
An idpvalidationerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to validate an identity assertion. | ||
3806 | RTCPeerConnection | API, Audio, Communication, Interface, Media, NeedsUpdate, Networking, RTCPeerConnection, Reference, Telecom, Video, WebRTC, WebRTC API |
The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed. | ||
3807 | RTCPeerConnection.addIceCandidate() | API, ICE, Media, Method, RTCPeerConnection, Reference, SDP, Web, WebRTC, WebRTC API, addIceCandidate |
When a web site or app using RTCPeerConnection receives a new ICE candidate from the remote peer over its signaling channel, it delivers the newly-received candidate to the browser's ICE agent by calling RTCPeerConnection.addIceCandidate() . | ||
3808 | RTCPeerConnection: addstream event | Event, Media, MediaStream, Obsolete, RTCPeerConnection, Reference, Streams, WebRTC, WebRTC API, addStream, events |
The obsolete addstream event is sent to an RTCPeerConnection when new media, in the form of a MediaStream object, has been added to it. | ||
3809 | RTCPeerConnection.addStream() | Deprecated, Experimental, Method, RTCPeerConnection, Reference, WebRTC, addStream |
The obsolete RTCPeerConnection method addStream() adds a MediaStream as a local source of audio or video. Instead of using this obsolete method, you should instead use RTCPeerConnection.addTrack once for each track you wish to send to the remote peer. | ||
3810 | RTCPeerConnection.addTrack() | API, Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, addTrack |
The RTCPeerConnection method addTrack() adds a new media track to the set of tracks which will be transmitted to the other peer. | ||
3811 | RTCPeerConnection.addTransceiver() | API, Audio, Media, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceivers, Video, addTransceiver |
The RTCPeerConnection method addTransceiver() creates a new RTCRtpTransceiver and adds it to the set of transceivers associated with the RTCPeerConnection . | ||
3812 | RTCPeerConnection.canTrickleIceCandidates | API, ICE, Media, Property, RTCPeerConnection, Reference, Trickle, Trickling, WebRTC, WebRTC API, canTrickleIceCandidates |
The read-only RTCPeerConnection property canTrickleIceCandidates returns a Boolean which indicates whether or not the remote peer can accept trickled ICE candidates. | ||
3813 | RTCPeerConnection.close() | Experimental, Method, RTCPeerConnection, Reference, WebRTC, close |
The RTCPeerConnection.close() method closes the current peer connection. | ||
3814 | RTCPeerConnection.connectionState | Experimental, Property, RTCPeerConnection, Reference, WebRTC, connectionState |
The read-only connectionState property of the RTCPeerConnection interface indicates the current state of the peer connection by returning one of the string values specified by the enum RTCPeerConnectionState . | ||
3815 | RTCPeerConnection: connectionstatechange event | |
The connectionstatechange event is sent to the RTCPeerConnection.ontrack event handler on an RTCPeerConnection object after a new track has been added to an RTCRtpReceiver which is part of the connection. | ||
3816 | RTCPeerConnection.createAnswer() | API, Experimental, Media, Method, RTCPeerConnection, Reference, Video, Web, WebRTC, createAnswer |
The createAnswer() method on the RTCPeerConnection interface creates an SDP answer to an offer received from a remote peer during the offer/answer negotiation of a WebRTC connection. The answer contains information about any media already attached to the session, codecs and options supported by the browser, and any ICE candidates already gathered. The answer is delivered to the returned Promise , and should then be sent to the source of the offer to continue the negotiation process. | ||
3817 | RTCPeerConnection.createDataChannel() | API, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, createDataChannel |
The createDataChannel() method on the RTCPeerConnection interface creates a new channel linked with the remote peer, over which any kind of data may be transmitted. | ||
3818 | RTCPeerConnection.createOffer() | API, Media, Method, RTCPeerConnection, Reference, SDP, WebRTC, createOffer |
The createOffer() method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer. | ||
3819 | RTCPeerConnection.currentLocalDescription | API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentLocalConnection |
The read-only property RTCPeerConnection.currentLocalDescription returns an RTCSessionDescription object describing the local end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated. | ||
3820 | RTCPeerConnection.currentRemoteDescription | API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentRemoteDescription |
The read-only property RTCPeerConnection.currentRemoteDescription returns an RTCSessionDescription object describing the remote end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated. | ||
3821 | RTCPeerConnection: datachannel event | Channels, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, data, datachannel, events, rtc |
A datachannel event is sent to an RTCPeerConnection instance when an RTCDataChannel has been added to the connection, as a result of the remote peer calling RTCPeerConnection.createDataChannel() . | ||
3822 | RTCPeerConnection.generateCertificate() static function | API, Media, Method, RTCPeerConnection, Reference, Security, Static Method, WebRTC, WebRTC API, generateCertificate |
The static RTCPeerConnection.generateCertificate() function creates an X.509 certificate and corresponding private key, returning a promise that resolves with the new RTCCertificate once it's generated. | ||
3823 | RTCPeerConnection.getConfiguration() | API, Experimental, Interface, Method, RTCConfiguration, Reference, WebRTC, getConfiguration |
The RTCPeerConnection.getConfiguration() method returns an RTCConfiguration object which indicates the current configuration of the RTCPeerConnection on which the method is called. | ||
3824 | RTCPeerConnection.getDefaultIceServers() | Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, getDefaultIceServers |
The getDefaultIceServers() method of the RTCPeerConnection interface returns an array of objects based on the RTCIceServer dictionary, which indicates what, if any, ICE servers the browser will use by default if none are provided to the RTCPeerConnection in its RTCConfiguration . However, browsers are not required to provide any default ICE servers at all. | ||
3825 | RTCPeerConnection.getIdentityAssertion() | Experimental, Method, RTCPeerConnection, Reference, WebRTC |
The RTCPeerConnection.getIdentityAssertion() method initiates the gathering of an identity assertion. This has an effect only if the RTCPeerConnection.signalingState is not "closed" . | ||
3826 | RTCPeerConnection.getReceivers() | Experimental, Media, Method, RTCPeerConnection, RTP, Reference, WebRTC, WebRTC API, getReceivers |
The RTCPeerConnection.getReceivers() method returns an array of RTCRtpReceiver objects, each of which represents one RTP receiver. Each RTP receiver manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection | ||
3827 | RTCPeerConnection.getSenders() | Media, Method, NeedsExample, RTCPeerConnection, RTCRtpSender, RTP, Reference, WebRTC, WebRTC API, getSenders |
The RTCPeerConnection method getSenders() returns an array of RTCRtpSender objects, each of which represents the RTP sender responsible for transmitting one track's data. | ||
3828 | RTCPeerConnection.getStats() | API, Connection, Method, RTCPeerConnection, RTCStats, RTCStatsReport, Reference, Statistics, Stats, WebRTC, WebRTC API, WebRTC Stats, getStats, rtc |
The RTCPeerConnection method getStats() returns a promise which resolves with data providing statistics about either the overall connection or about the specified MediaStreamTrack . | ||
3829 | RTCPeerConnection.getStreamById() | Experimental, Method, RTCPeerConnection, Reference, WebRTC |
The RTCPeerConnection.getStreamById() method returns the MediaStream with the given id that is associated with local or remote end of the connection. If no stream matches, it returns null . | ||
3830 | RTCPeerConnection.getTransceivers() | API, Media, Method, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceiver, WebRTC, getTransceivers |
The RTCPeerConnection interface's getTransceivers() method returns a list of the RTCRtpTransceiver objects being used to send and receive data on the connection. | ||
3831 | RTCPeerConnection: icecandidate event | API, Candidate, Connectivity, ICE, Reference, SDP, WebRTC, WebRTC API, events, icecandidate |
An icecandidate event is sent to an RTCPeerConnection when an RTCIceCandidate has been identified and added to the local peer by a call to RTCPeerConnection.setLocalDescription() . The event handler should transmit the candidate to the remote peer over the signaling channel so the remote peer can add it to its set of remote candidates. | ||
3832 | RTCPeerConnection: icecandidateerror event | API, Connection, Connectivity, Event, Failure, ICE, Networking, RTCPeerConnection, Reference, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, icecandidateerror |
WebRTC | ||
3833 | RTCPeerConnection.iceConnectionState | API, Audio, Connection, ICE, Media, Property, RTCPeerConnection, Read-only, Reference, Video, WebRTC, WebRTC API, iceConnectionState, state |
The read-only property RTCPeerConnection.iceConnectionState returns an enum of type RTCIceConnectionState which state of the ICE agent associated with the RTCPeerConnection . | ||
3834 | RTCPeerConnection: iceconnectionstatechange event | API, Connection, Connectivity, Disconnect, ICE, Media, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, iceConnectionState, iceconnectionstatechange |
An iceconnectionstatechange event is sent to an RTCPeerConnection object each time the ICE connection state changes during the negotiation process. | ||
3835 | RTCPeerConnection.iceGatheringState | Experimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, iceGatheringState |
The read-only property RTCPeerConnection.iceGatheringState returns an enum of type RTCIceGatheringState that describes connection's ICE gathering state. This lets you detect, for example, when collection of ICE candidates has finished. | ||
3836 | RTCPeerConnection: icegatheringstatechange event | API, Connection, Connectivity, Gathering, ICE, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, icegatheringstatechange, state |
The icegatheringstatechange event is sent to the RTCPeerConnection.onicegatheringstatechange event handler on an RTCPeerConnection when the state of the ICE candidate gathering process changes. | ||
3837 | RTCPeerConnection: identityresult event | API, Authentication, Event, Identity, Obsolete, RTCPeerConnection, Reference, WebRTC, WebRTC API, identityresult |
An identityresult event is sent to an RTCPeerConnection object's RTCPeerConnection.onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (IdP) during the process of creating an SDP offer or answer. | ||
3838 | RTCPeerConnection: idpassertionerror event | Assertion, Authentication, Error, IdP, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, idpassertionerror |
An idpassertionerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to generate an identity assertion. | ||
3839 | RTCPeerConnection: idpvalidationerror event | API, Authentication, Error, IdP, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror |
An idpvalidationerror event informs the target, a RTCPeerConnection object's RTCPeerConnection.onidpvalidationerror event handler, that the identity provider (IdP) encountered an error while validating an identity assertion. | ||
3840 | RTCPeerConnection.localDescription | Experimental, Expérimental(2), Property, RTCPeerConnection, Read-only, Reference, Référence(2), WebRTC, localDescription |
The read-only property RTCPeerConnection.localDescription returns an RTCSessionDescription describing the session for the local end of the connection. If it has not yet been set, this is null . | ||
3841 | RTCPeerConnection: negotiationneeded event | API, Event, Negotiation, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, negotiationneeded, rtc |
A negotiationneeded event is sent to the RTCPeerConnection when negotiation of the connection through the signaling channel is required. | ||
3842 | RTCPeerConnection.onaddstream | Deprecated, Event Handler, MediaStream, Property, RTCPeerConnection, SDP, Streams, WebRTC, WebRTC API, onaddstream, rtc |
The RTCPeerConnection.onaddstream event handler is a property containing the code to execute when the addstream event, of type MediaStreamEvent , is received by this RTCPeerConnection . Such an event is sent when a MediaStream is added to this connection by the remote peer. The event is sent immediately after the call RTCPeerConnection.setRemoteDescription and doesn't wait for the result of the SDP negotiation. | ||
3843 | RTCPeerConnection.onconnectionstatechange | API, Connection State, Event Handler, ICE, Property, RTCPeerConnection, Reference, WebRTC, onconnectionstatechange |
The RTCPeerConnection.onconnectionstatechange property specifies an EventHandler which is called to handle the connectionstatechange event when it occurs on an instance of RTCPeerConnection . This happens whenever the aggregate state of the connection changes. | ||
3844 | RTCPeerConnection.ondatachannel | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ondatachannel |
The RTCPeerConnection.ondatachannel property is an EventHandler which specifies a function which is called when the datachannel event occurs on an RTCPeerConnection . This event, of type RTCDataChannelEvent , is sent when an RTCDataChannel is added to the connection by the remote peer calling RTCPeerConnection.createDataChannel . | ||
3845 | RTCPeerConnection.onicecandidate | API, Candidate, Event Handler, ICE, Negotiation, Property, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, onicecandidate |
The RTCPeerConnection property RTCPeerConnection.onicecandidate property is an EventHandler which specifies a function to be called when the icecandidate event occurs on an RTCPeerConnection instance. This happens whenever the local ICE agent needs to deliver a message to the other peer through the signaling server. | ||
3846 | RTCPeerConnection.onicecandidateerror | Experimental, ICE, RTCPeerConnection, Reference, WebRTC, onicecandidateerror |
The RTCPeerConnection.onicecandidateerror property is an EventHandler which specifies a function which is called to handle the icecandidateerror event when it occurs on an RTCPeerConnection instance. This event is fired when an error occurs during the ICE candidate gathering process. | ||
3847 | RTCPeerConnection.oniceconnectionstatechange | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, oniceconnectionstatechange |
The RTCPeerConnection.oniceconnectionstatechange property is an event handler which specifies a function to be called when the iceconnectionstatechange event is fired on an RTCPeerConnection instance. This happens when the state of the connection's ICE agent, as represented by the RTCPeerConnection.iceConnectionState property, changes. | ||
3848 | RTCPeerConnection.onicegatheringstatechange | Event Handler, Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, onicegatheringstatechange |
The RTCPeerConnection.onicegatheringstatechange property is an EventHandler which specifies a function to be called when the icegatheringstatechange event is sent to an RTCPeerConnection instance. This happens when the ICE gathering state—that is, whether or not the ICE agent is actively gathering candidates—changes. | ||
3849 | RTCPeerConnection.onidentityresult | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC |
The RTCPeerConnection.onidentityresult event handler is a property containing the code to execute when the identityresult event, of type RTCIdentityEvent , is received by this RTCPeerConnection . Such an event is sent when an identity assertion is generated, via RTCPeerConnection.getIdentityAssertion() or during the creation of an offer or an answer. | ||
3850 | RTCPeerConnection.onidpassertionerror | Authentication, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, WebRTC, WebRTC API |
The RTCPeerConnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type RTCIdentityErrorEvent , is received by this RTCPeerConnection . Such an event is sent when the associated identity provider (IdP) encounters an error while generating an identity assertion. | ||
3851 | RTCPeerConnection.onidpvalidationerror | Authentication, Error, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onidpvalidationerror |
The RTCPeerConnection.onidpvalidationerror event handler is a property containing the code to execute whent the idpvalidationerror event, of type RTCIdentityErrorEvent , is received by this RTCPeerConnection . Such an event is sent when the associated identity provider (IdP) encounters an error while validating an identity assertion. | ||
3852 | RTCPeerConnection.onnegotiationneeded | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, onnegotiationneeded |
The RTCPeerConnection interface's onnegotiationneeded property is an EventListener which specifies a function which is called to handle the negotiationneeded event when it occurs on an RTCPeerConnection instance. This event is fired when a change has occurred which requires session negotiation. This negotiation should be carried out as the offerer, because some session changes cannot be negotiated as the answerer. | ||
3853 | RTCPeerConnection.onpeeridentity | API, Authentication, Event Handler, IdP, Identity, Obsolete, Peer, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onpeeridentity |
The RTCPeerConnection.onpeeridentity event handler is a property containing the code to execute whent the peeridentity event, of type Event , is received by this RTCPeerConnection . Such an event is sent when an identity assertion, received from a peer, has been successfully validated. | ||
3854 | RTCPeerConnection.onremovestream | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC |
The removestream event has been removed from the WebRTC specification in favor of the existing removetrack event on the remote MediaStream and the corresponding MediaStream.onremovetrack event handler property of the remote MediaStream . The RTCPeerConnection API is now track-based, so having zero tracks in the remote stream is equivalent to the remote stream being removed and the old removestream event. | ||
3855 | RTCPeerConnection.onsignalingstatechange | API, Connectivity, Event Handler, ICE, Offer, Property, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, answer, onsignalingstatechange |
The onsignalingstatechange event handler property of the RTCPeerConnection interface specifies a function to be called when the signalingstatechange event occurs on an RTCPeerConnection interface. | ||
3856 | RTCPeerConnection.ontrack | Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ontrack |
The RTCPeerConnection property ontrack is an EventHandler which specifies a function to be called when the track event occurs, indicating that a track has been added to the RTCPeerConnection . | ||
3857 | RTCPeerConnection: peeridentity event | Authentication, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, peeridentity |
The peeridentity event is sent to the connection concerned when peer identity has been set and verified on it. The new identiy can be access using the RTCPeerConnection.peerIdentity property. | ||
3858 | RTCPeerConnection.peerIdentity | API, Authentication, Identification, Identity, Peer, Property, RTCPeerConnection, Read-only, Reference, WebRTC, WebRTC API |
The read-only RTCPeerConnection property peerIdentity returns a JavaScript Promise that resolves to an RTCIdentityAssertion which contains a DOMString identifying the remote peer. | ||
3859 | RTCPeerConnection.pendingLocalDescription | API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingLocalDescription |
The read-only property RTCPeerConnection.pendingLocalDescription returns an RTCSessionDescription object describing a pending configuration change for the local end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentLocalDescription or RTCPeerConnection.localDescription to get the current state of the endpoint. For details on the difference, see /wiki/en-US/docs/Web/API/WebRTC_API/Connectivity . | ||
3860 | RTCPeerConnection.pendingRemoteDescription | API, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingRemoteDescription |
The read-only property RTCPeerConnection.pendingRemoteDescription returns an RTCSessionDescription object describing a pending configuration change for the remote end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentRemoteDescription or RTCPeerConnection.remoteDescription to get the current session description for the remote endpoint. For details on the difference, see /wiki/en-US/docs/Web/API/WebRTC_API/Connectivity . | ||
3861 | RTCPeerConnection.remoteDescription | Experimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, remoteDescription |
The read-only property RTCPeerConnection.remoteDescription returns a RTCSessionDescription describing the session (which includes configuration and media information) for the remote end of the connection. If this hasn't been set yet, this is null . | ||
3862 | RTCPeerConnection: removestream event | API, Event, Managing Streams, Media, MediaStream, RTCPeerConnection, Reference, Removing Streams, Streams, WebRTC, WebRTC API, removeStream |
The obsolete removestream event was sent to an RTCPeerConnection to inform it that a MediaStream had been removed from the connection. | ||
3863 | RTCPeerConnection.removeStream() | Deprecated, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, removeStream |
The RTCPeerConnection.removeStream() method removes a MediaStream as a local source of audio or video. If the negotiation already happened, a new one will be needed for the remote peer to be able to use it. Because this method has been deprecated, you should instead use RTCPeerConnection.removeTrack if your target browser versions have implemented it. | ||
3864 | RTCPeerConnection.removeTrack() | Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, removeTrack |
The RTCPeerConnection.removeTrack() method tells the local end of the connection to stop sending media from the specified track, without actually removing the corresponding RTCRtpSender from the list of senders as reported by RTCPeerConnection.getSenders() . | ||
3865 | RTCPeerConnection.restartIce() | API, ICE, ICE Restarts, Media, Method, Negotiation, RTCPeerConnection, Reference, Signaling, WebRTC, WebRTC API, restartIce |
The WebRTC API's RTCPeerConnection interface offers the restartIce() method to allow a web application to easily request that ICE candidate gathering be redone on both ends of the connection. | ||
3866 | RTCPeerConnection() | API, Constructor, Experimental, RTCPeerConnection, Reference, WebRTC |
The RTCPeerConnection() constructor returns a newly-created RTCPeerConnection , which represents a connection between the local device and a remote peer. | ||
3867 | RTCPeerConnection.sctp | Experimental, Property, RTCPeerConnection, Reference, SCTP, WebRTC |
The read-only sctp property on the RTCPeerConnection interface returns an RTCSctpTransport describing the SCTP transport over which SCTP data is being sent and received. If SCTP hasn't been negotiated, this value is null . | ||
3868 | RTCPeerConnection.setConfiguration() | Configuration, Experimental, Method, RTCPeerConnection, Reference, WebRTC, setConfiguration |
The RTCPeerConnection.setConfiguration() method sets the current configuration of the RTCPeerConnection based on the values included in the specified RTCConfiguration object. This lets you change the ICE servers used by the connection and which transport policies to use. | ||
3869 | RTCPeerConnection.setIdentityProvider() | Experimental, Method, RTCPeerConnection, Reference, WebRTC |
The RTCPeerConnection.setIdentityProvider() method sets the Identity Provider (IdP) to the triplet given in parameter: its name, the protocol used to communicate with it (optional) and an optional username. The IdP will be used only when an assertion is needed. | ||
3870 | RTCPeerConnection.setLocalDescription() | API, Descriptions, Media, Method, Offer, RTCPeerConnection, Reference, SDP, WebRTC, answer, setLocalDescription |
The RTCPeerConnection method RTCPeerConnection.setLocalDescription changes the local description associated with the connection. This description specifies the properties of the local end of the connection, including the media format. | ||
3871 | RTCPeerConnection.setRemoteDescription() | API, ICE, Method, Negotiation, Offer, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, answer, setRemoteDescription |
The RTCPeerConnection method setRemoteDescription() sets the specified session description as the remote peer's current offer or answer. The description specifies the properties of the remote end of the connection, including the media format. | ||
3872 | RTCPeerConnection.signalingState | API, ICE, Media, Negotiation, Property, RTCPeerConnection, Read-only, Reference, Signaling, WebRTC, WebRTC API, signalingState, state |
The read-only signalingState property on the RTCPeerConnection interface returns one of the string values specified by the RTCSignalingState enum; these values describe the state of the signaling process on the local end of the connection while connecting or reconnecting to another peer. See /wiki/en-US/docs/Web/API/WebRTC_API/Session_lifetime for more details about the signaling process. | ||
3873 | RTCPeerConnection: signalingstatechange event | API, Event, Media, Reference, Signaling, WebRTC, WebRTC API, signalingState, signalingstatechange, state |
An signalingstatechange event is sent to an RTCPeerConnection to notify it that its signaling state, as indicated by the RTCPeerConnection.signalingState property, has changed. | ||
3874 | RTCPeerConnection: track event | DOM, DOM Event Reference, Event Reference, Media, MediaStreamTrack, Reference, WebRTC, WebRTC API, events, track |
The track event is sent to the RTCPeerConnection.ontrack event handler on RTCPeerConnection s after a new track has been added to an RTCRtpReceiver which is part of the connection. | ||
3875 | RTCPeerConnectionIceErrorEvent | API, Communication, Error, Interface, Media, Networking, RTCPeerConnectionIceErrorEvent, Reference, STUN, TURN, WebRTC, WebRTC API, WebRTC Device API, rtc |
WebRTC API | ||
3876 | RTCPeerConnectionIceErrorEvent.address | API, Address, ICE, IP, Negotiation, Networking, Property, RTCPeerConnectionIceErrorEvent, Reference, WebRTC, WebRTC API, WebRTC Device API |
WebRTC | ||
3877 | RTCPeerConnectionIceEvent | API, Experimental, Interface, RTCIceCandidateEvent, Reference, WebRTC |
The RTCPeerConnectionIceEvent interface represents events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection . | ||
3878 | RTCPeerConnectionIceEvent.candidate | Candidate, Negotiation, Networking, Property, RTCPeerConnectionIceEvent, Reference, SDP, WebRTC, WebRTC API, rtc |
The read-only candidate property of the RTCPeerConnectionIceEvent interface returns the RTCIceCandidate associated with the event. | ||
3879 | RTCPeerConnectionIceEvent() | API, Constructor, Experimental, RTCPeerConnectionIceEvent, Reference, WebRTC |
The RTCPeerConnectionIceEvent() constructor creates a new RTCPeerConnectionIceEvent . | ||
3880 | RTCRemoteOutboundRtpStreamStats | API, Dictionary, Identifiers, Media, RTCRemoteOutboundRtpStreamStats, RTCStats, RTCStatsReport, RTP, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, WebRTC Device API, stream |
WebRTC | ||
3881 | RTCRemoteOutboundRtpStreamStats.localId | API, Media, Outbound, Property, RTCRemoteOutboundRtpStreamStats, RTP, Reference, Remote, Statistics, Stats, Streams, WebRTC, WebRTC API, WebRTC Device API, id, localId |
The RTCRemoteOutboundRtpStreamStats dictionary's localId property is a string which can be used to identify the RTCInboundRtpStreamStats object whose RTCInboundRtpStreamStats.remoteId matches this value. | ||
3882 | RTCRemoteOutboundRtpStreamStats.remoteTimestamp | API, Property, RTCRemoteOutboundRtpStreamStats, Reference, Remote, Statistics, Stats, Timer, Timing, WebRTC, WebRTC API, WebRTC Device API, remoteTimestamp, timeStamp |
The RTCRemoteOutboundRtpStreamStats property remoteTimestamp indicates the timestamp on the remote peer at which these statistics were sent. This differs from timestamp , which indicates the time at which the statistics were generated or received locally. | ||
3883 | RTCRemoteOutboundRtpStreamStats.reportsSent | API, Property, RTCP, RTCRemoteOutboundRtpStreamStats, RTP, Reference, SR, Sender Reports, Statistics, Stats, WebRTC, WebRTC API, WebRTC Device API, reportsSent, sender |
The RTCRemoteOutboundRtpStreamStats dictionary's reportsSent property provides the number of Sender Reports (SRs) the remote peer has transmitted to the local peer. | ||
3884 | RTCRtcpParameters | API, Configuration, Dictionary, Media, Options, RTCP, RTCRtcpParameters, WebRTC, WebRTC API, WebRTC Device API, parameters |
WebRTC | ||
3885 | RTCRtpCapabilities | API, Audio, Codec, Dictionary, Media, Negotiation, RTCRtpCapabilities, RTP, Reference, Video, WebRTC, WebRTC API, WebRTC Device API |
WebRTC | ||
3886 | RTCRtpCodecCapability | API, Capability, Codecs, Dictionary, Media, Negotiation, RTCRtpCodecCapability, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API |
WebRTC | ||
3887 | RTCRtpCodecParameters | API, Codec Configuration, Codec Parameters, Codec Preferences, Dictionary, Interface, Media, RTCRtpCodecParameters, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, SDP, WebRTC, setCodecPreferences |
The RTCRtpCodecParameters dictionary, part of the WebRTC API, is used to describe the configuration parameters for a single media codec. | ||
3888 | RTCRtpContributingSource | API, Contributing Source, Dictionary, Interface, Media, RTCRtpContributingSource, RTP, Reference, WebRTC |
The RTCRtpContributingSource dictionary of the WebRTC API is used by RTCRtpReceiver.getContributingSources to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out. | ||
3889 | RTCRtpContributingSource.audioLevel | API, Media, MediaStreamTrack, Property, RTCRtpContributingSource, RTP, Reference, WebRTC, audioLevel |
The read-only audioLevel property of the RTCRtpContributingSource interface indicates the audio level contained in the last RTP packet played from the described source. | ||
3890 | RTCRtpContributingSource.rtpTimestamp | API, Audio, Media, Property, RTCRtpContributingSource, Reference, Stamp, Time, Video, WebRTC, WebRTC API, receiver, rtpTimestamp |
The read-only rtpTimestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the source-generated time at which the media contained int he packet was first sampled or obtained. | ||
3891 | RTCRtpContributingSource.source | API, Media, Property, RTCRtpContributingSource, Reference, WebRTC, source |
The read-only source property of the RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets. | ||
3892 | RTCRtpContributingSource.timestamp | API, Media, Property, RTCRtpContributingSource, Reference, WebRTC, timeStamp |
The read-only timestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source. | ||
3893 | RTCRtpEncodingParameters | API, Codec, Codec Configuration, Dictionary, Encoding, RTCRtpEncodingParameters, RTP, Reference, Settings, WebRTC, WebRTC API, parameters |
An instance of the WebRTC API's RTCRtpEncodingParameters dictionary describes a single configuration of a codec for an RTCRtpSender . | ||
3894 | RTCRtpEncodingParameters.maxBitrate | API, BPS, Bandwidth, Bit Rate, Codec, Encoding, Property, RTCRtpEncodingParameters, Reference, Settings, WebRTC, WebRTC API, maxBitrate, parameters |
The RTCRtpEncodingParameters dictionary's maxBitrate property specifies the maximum number of bits per second to allow a track encoded with this encoding to use. | ||
3895 | RTCRtpEncodingParameters.scaleResolutionDownBy | API, Codec, Encoding, Media, RTCRtpEncodingParameters, RTP, Reference, Scale, Scaling, Settings, Video, WebRTC, WebRTC API, parameters, rtc, scaleResolutionDownBy, size |
The RTCRtpEncodingParameters dictionary's scaleResolutionDownBy property can be used to specify a factor by which to reduce the size of a video track during encoding. | ||
3896 | RTCRtpParameters | API, Configuration, Dictionary, Media, Negoatiation, Options, RTCRtpParameters, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, parameters |
WebRTC | ||
3897 | RTCRtpReceiveParameters | API, Configuration, Dictionary, Media, Options, RTCRtpReceiveParameters, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, parameters |
WebRTC | ||
3898 | RTCRtpReceiver | API, Interface, Media, RTCRtpReceiver, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API |
The RTCRtpReceiver interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection . | ||
3899 | RTCRtpReceiver.getCapabilities() static function | API, Audio, Codecs, Compatibility, Media, Method, Negotiation, RTCRtpReceiver, Reference, Static, Static Function, Video, WebRTC, WebRTC API, WebRTC Device API, capabilities, getCapabilities |
WebRTC | ||
3900 | RTCRtpReceiver.getContributingSources() | API, CSRC, Contributing Sources, Media, Method, RTCRtpReceiver, Reference, WebRTC, getContributingSources |
The getContributingSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds. | ||
3901 | RTCRtpReceiver.getParameters() | API, Configuration, Media, Method, Options, RTCRtpReceiver, RTP, Reference, WebRTC, WebRTC API, WebRTC Device API, getParameters, parameters, rtc |
The getParameters() method of the RTCRtpReceiver interface returns an RTCRtpReceiveParameters object describing the current configuration for the encoding and transmission of media on the receiver's RTCRtpReceiver.track . | ||
3902 | RTCRtpReceiver.getStats() | API, Media, Method, RTCRtpReceiver, Reference, WebRTC, WebRTC API, WebRTC Statistics, WebRTC Statistics API, getStats |
The RTCRtpReceiver method getStats() asynchronously requests an RTCStatsReport object which provides statistics about incoming traffic on the owning RTCPeerConnection , returning a Promise whose fulfillment handler will be called once the results are available. | ||
3903 | RTCRtpReceiver.getSynchronizationSources() | API, Media, Method, RTCRtpReceiver, RTP, Web, WebRTC, getSynchronizationSources |
The getSynchronizationSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds. | ||
3904 | RTCRtpReceiver.track | API, Audio, Media, Property, RTCRtpReceiver, Reference, Video, WebRTC, WebRTC API, track |
The track read-only property of the RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver instance. | ||
3905 | RTCRtpReceiver.transport | API, Communications, DTLS, Media, Networking, RTCP, RTCRtpReceiver, RTP, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, receiver |
WebRTC | ||
3906 | RTCRtpSender | API, Audio, DTLS, DTMF, Interface, Media, NeedsExample, RTCRtpSender, RTP, Reference, Video, WebRTC, WebRTC API, WebRTC Device API |
The RTCRtpSender interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. | ||
3907 | RTCRtpSender.dtmf | DTMF, Media, NeedsExample, Property, RTCRtpSender, Read-only, Reference, WebRTC, WebRTC API |
The read-only dtmf property on the RTCRtpSender interface returns a RTCDTMFSender object which can be used to send DTMF tones over the RTCPeerConnection . See Using DTMF for details on how to make use of the returned RTCDTMFSender object. | ||
3908 | RTCRtpSender.getCapabilities() static function | API, Audio, Codecs, Media, Method, RTCRtpSender, Reference, Static Function, Video, WebRTC, WebRTC API, WebRTC Device API, capabilities, getCapabilities |
WebRTC | ||
3909 | RTCRtpSender.getParameters() | API, Audio, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, getParameters() |
The getParameters() method of the RTCRtpSender interface returns an RTCRtpSendParameters object describing the current configuration for the encoding and transmission of media on the sender's RTCRtpSender.track . | ||
3910 | RTCRtpSender.getStats() | API, Media, Method, RTCRtpSender, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API, getStats |
The RTCRtpSender method getStats() asynchronously requests an RTCStatsReport object which provides statistics about outgoing traffic on the RTCPeerConnection which owns the sender, returning a Promise which is fulfilled when the results are available. | ||
3911 | RTCRtpSender.replaceTrack() | Audio, Media, Method, RTCRtpSender, RTP, Reference, Video, WebRTC, WebRTC API, replace, replaceTrack, track |
The RTCRtpSender method replaceTrack() replaces the track currently being used as the sender's source with a new MediaStreamTrack . | ||
3912 | RTCRtpSender.setParameters() | API, Audio, Codec, Encoding, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, parameters, sender, setParameters |
The setParameters() method of the RTCRtpSender interface applies changes the configuration of sender's RTCRtpSender.track , which is the MediaStreamTrack for which the RTCRtpSender is responsible. | ||
3913 | RTCRtpSender.setStreams() | API, Audio, Media, MediaStream, Method, RTCRtpSender, RTP, Reference, Streams, Video, WebRTC, WebRTC API, WebRTC API Reference, setStreams |
WebRTC API | ||
3914 | RTCRtpSender.track | API, Audio, DTMF, Property, RTCRtpSender, Reference, Video, Web, WebRTC API, track |
The track read-only property of the RTCRtpSender interface returns the MediaStreamTrack which is being handled by the RTCRtpSender . | ||
3915 | RTCRtpSender.transport | API, Connectivity, DTLS, Networking, Property, RTCP, RTCRtpSender, RTP, Reference, Transport, WebRTC, WebRTC API, WebRTC Device API, sender |
WebRTC | ||
3916 | RTCRtpSendParameters | API, Audio, Codec, Dictionary, Encoding, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, Video, WebRTC, WebRTC API, parameters, sender |
The WebRTC API's RTCRtpSendParameters dictionary is used to specify the parameters for an RTCRtpSender when calling its RTCRtpSender.setParameters method. | ||
3917 | RTCRtpSendParameters.encodings | API, Codec, Configuration, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, WebRTC, WebRTC API, encodings, parameters, rtc, sender |
The RTCRtpSendParameters dictionary's encodings property is an RTCRtpEncodingParameters object providing configuration settings for the encoder being used for the RTCRtpSender 's RTCRtpSender.track . | ||
3918 | RTCRtpStreamStats | API, Dictionary, Interface, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc |
The RTCRtpStreamStats dictionary is returned by the RTCPeerConnection.getStats() , RTCRtpSender.getStats() , and RTCRtpReceiver.getStats() methods to provide detailed statistics about WebRTC connectivity. | ||
3919 | RTCRtpStreamStats.codecId | API, Codec, Dictionary, Interface, Property, RTCRtpStreamStats, RTP, Reference, Statistics, WebRTC, WebRTC API, WebRTC Statistics, codecId, id, rtc |
The RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream. | ||
3920 | RTCRtpStreamStats.firCount | API, Dropped Frames, Frames, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, firCount, rtc, stream |
The firCount property of the RTCRtpStreamStats dictionary indicates the number of Full Intra Request (FIR) packets have been sent by the receiver to the sender. | ||
3921 | RTCRtpStreamStats.kind | API, Audio, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, kind, rtc |
The kind property of the RTCRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media. | ||
3922 | RTCRtpStreamStats.nackCount | API, Acknowledgement, Generic NACK, NACK, Negative Acknowledgement, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, nackCount, rtc |
The nackCount property of the RTCRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender. | ||
3923 | RTCRtpStreamStats.pliCount | API, Data Loss, Media, PLI, Packet Loss, Packet Loss Indication, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Streams, WebRTC, WebRTC API, pliCount, rtc |
The pliCount property of the RTCRtpStreamStats dictionary states the number of times the stream's receiving end sent a Picture Loss Indication (PLI) packet to the sender. | ||
3924 | RTCRtpStreamStats.qpSum | API, Media, Parameter, Property, QP, Quantization, Quantization Parameter, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, rtc |
The qpSum property of the RTCRtpStreamStats dictionary is a value generated by adding the Quantization Parameter (QP) values for every frame sent or received to date on the video track corresponding to this RTCRtpStreamStats object. | ||
3925 | RTCRtpStreamStats.sliCount | API, Media, Packet, Property, RTCRtpStream, RTP, Reference, Reliability, SLI, Slice Loss Indication, Transmisison, WebRTC, WebRTC API, compression, rtc, sliCount, slice |
The sliCount property of the RTCRtpStreamStats dictionary indicates how many Slice Loss Indication (SLI) packets were received by the sender. | ||
3926 | RTCRtpStreamStats.ssrc | API, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc, source, ssrc |
The RTCRtpStreamStats dictionary's ssrc property provides the Synchronization Source (SSRC), an integer which uniquely identifies the source of the RTP packets whose statistics are covered by the RTCStatsReport that includes this RTCRtpStreamStats dictionary. | ||
3927 | RTCRtpStreamStats.trackId | API, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc, track, trackId |
The RTCRtpStreamStats dictionary's trackId property is a string which uniquely identifies the RTCMediaStreamTrackStats object which contains the track statistics for the MediaStreamTrack for which statistics are provided in this object. | ||
3928 | RTCRtpStreamStats.transportId | API, Property, RTCRtpStreamStats, RTP, Reference, Transport, WebRTC, WebRTC API, id, rtc, transportID |
The RTCRtpStreamStats dictionary's transportId property is a string which uniquely identifies the object from which the statistics contained in the RTCTransportStats properties in the RTCStatsReport . | ||
3929 | RTCRtpSynchronizationSource | API, Dictionary, Interface, Media, RTCRtpSynchronizationSource, RTP, Reference, Synchronization Source, WebRTC |
The RTCRtpSynchronizationSource dictionary of the WebRTC API is used by RTCRtpReceiver.getSynchronizationSources to describe a particular synchronization source (SSRC). | ||
3930 | RTCRtpSynchronizationSource.voiceActivityFlag | API, Media, Property, RTCRtpSynchronizationSource, RTP, Voice Activity Detection, Voice Detection, WebRTC, voiceActivityFlag |
The read-only voiceActivityFlag property of the RTCRtpSynchronizationSource interface indicates whether or not the most recent RTP packet on the source includes voice activity. | ||
3931 | RTCRtpTransceiver | API, Interface, Media, MediaStreamTrack, RTCRtpTransceiver, RTP, Reference, SDP, Transceiver, WebRTC |
The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver , along with some shared state. | ||
3932 | RTCRtpTransceiver.currentDirection | API, Media, Property, RTCRtpTransceiver, RTP, Read-only, Reference, Transceiver, WebRTC, currentDirection |
The read-only RTCRtpTransceiver property currentDirection is a string which indicates the current directionality of the transceiver. | ||
3933 | RTCRtpTransceiver.direction | API, Media, Property, RTCRtpTransceiver, RTP, Reference, Transceiver, Transceiver Direction, WebRTC, direction |
The RTCRtpTransceiver property direction is a string which indicates the transceiver's preferred directionality. | ||
3934 | RTCRtpTransceiver.mid | API, Media, Media ID, Property, RTCRtpTransceiver, RTP, Read-only, Reference, SDP, WebRTC, mid |
The read-only RTCRtpTransceiver interface's mid property specifies the negotiated media ID (mid ) which the local and remote peers have agreed upon to uniquely identify the stream's pairing of sender and receiver. | ||
3935 | RTCRtpTransceiver.receiver | API, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, receiver |
The read-only receiver property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpReceiver responsible for receiving and decoding incoming media data for the transceiver's stream. | ||
3936 | RTCRtpTransceiver.sender | API, Media, Property, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, WebRTC, sender |
The read-only sender property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpSender responsible for encoding and sending outgoing media data for the transceiver's stream. | ||
3937 | RTCRtpTransceiver.setCodecPreferences() | API, Codec, Codec Configuration, Codec Parameters, Codec Preferences, Media, Method, RTCRtpTransceiver, Reference, Settings, WebRTC, setCodecPreferences |
The RTCRtpTransceiver method setCodecPreferences() configures the transceiver's codecs given a list of RTCRtpCodecCapability objects specifying the new preferences for each codec. | ||
3938 | RTCRtpTransceiver.stop() | API, Media, Method, RTCRtpTransceiver, RTP, Reference, Stopping a Transceiver, WebRTC, stop |
The stop() method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver . | ||
3939 | RTCRtpTransceiver.stopped | API, Deprecated, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, stopped |
The read-only stopped property on the RTCRtpTransceiver interface indicates whether or not the transceiver's associated sender and receiver have both been stopped. | ||
3940 | RTCRtpTransceiverDirection | API, Audio, Media, RTCRtpTransceiver, RTCRtpTransceiverDirection, RTP, Reference, Transceiver, Transceiver Directionality, Video, WebRTC, inactive, recvonly, sendonly, sendrecv |
The RTCRtpTransceiverDirection type is an enumerated set of strings which are used to describe the directionality of a RTCRtpTransceiver instance. | ||
3941 | RTCRtpTransceiverInit | API, Dictionary, Interface, Media, RTCRtpTransceiver, RTCRtpTransceiverInit, Reference, Transceiver, WebRTC |
The RTCRtpTransceiverInit dictionary is used when calling the WebRTC function RTCPeerConnection.addTransceiver() to provide configuration options for the new transceiver. | ||
3942 | RTCSctpTransport | Experimental, Interface, NeedsExample, RTCSctpTransport, Reference, Unimplemented, WebRTC |
The RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security (DTLS) transport over which SCTP packets for all of an RTCPeerConnection 's data channels are sent and received. | ||
3943 | RTCSctpTransport.state | API, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCSctpTransport, RTCSctpTransportState, Read-only, Reference, WebRTC, state |
The state read-only property of the RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state. | ||
3944 | RTCSessionDescription | API, Audio, Experimental, Interface, Media, Reference, Video, Web, WebRTC |
The RTCSessionDescription interface describes one end of a connection—or potential connection—and how it's configured. Each RTCSessionDescription consists of a description RTCSessionDescription.type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. | ||
3945 | RTCSessionDescription() | Constructor, Deprecated, Experimental, Media, RTCSessionDescription, Reference, SDP, WebRTC |
The RTCSessionDescription() constructor creates a new RTCSessionDescription with its properties initialized as described in the specified object. | ||
3946 | RTCSessionDescription.sdp | Experimental, Property, RTCSessionDescription, Reference, SDP, WebRTC |
The property RTCSessionDescription.sdp is a read-only DOMString containing the SDP which describes the session. | ||
3947 | RTCSessionDescription.toJSON() | Experimental, Expérimental(2), Method, RTCSessionDescription, Reference, Référence(2), Serializer, WebRTC |
The RTCSessionDescription.toJSON() method generates a JSON description of the object. Both properties, RTCSessionDescription.type and RTCSessionDescription.sdp , are contained in the generated JSON. | ||
3948 | RTCSessionDescription.type | Experimental, Property, RTCSessionDescription, Reference, SDP, Type, WebRTC |
The property RTCSessionDescription.type is a read-only value of type RTCSdpType which describes the description's type. | ||
3949 | RTCSessionDescriptionCallback | API, Deprecated, Interface, NeedsBrowserCompatibility, NeedsSpecification, RTCSessionDescriptionCallback, Reference, SDP, WebRTC |
The RTCSessionDescriptionCallback type is used to represent the callback function passed into the deprecated callback-based version of RTCPeerConnection.createOffer or RTCPeerConnection.createAnswer when using them to create offers or answers. | ||
3950 | RTCStats | API, Dictionary, RTCStats, Reference, Report, Statistics, Stats, WebRTC, rtc |
The RTCStats dictionary is the basic statistics object used by WebRTC's statistics monitoring model, providing the properties required of all statistics data objects. | ||
3951 | RTCStats.id | API, Property, RTCStats, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc |
The id property of the RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics. | ||
3952 | RTCStats.timestamp | API, Property, RTCStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, rtc, timeStamp |
The timestamp property of the RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled. | ||
3953 | RTCStats.type | API, Property, RTCStats, Report, Statistics, Stats, Type, WebRTC, WebRTC API, rtc |
The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType . | ||
3954 | RTCStatsIceCandidatePairState | API, Candidate, CandidatePair, Check List, Enum, ICE, RTCIceCandidatePair, RTCStatsIceCandidatePairState, Reference, Type, WebRTC, WebRTC API, state |
The RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats object's RTCIceCandidatePairStats.state property. | ||
3955 | RTCStatsReport | API, Dictionary, Draft, Interface, Media, NeedsContent, RTCStatsReport, Reference, WebRTC |
The RTCStatsReport interface provides a statistics report obtained by calling one of the RTCPeerConnection.getStats() , RTCRtpReceiver.getStats() , and RTCRtpSender.getStats() methods. | ||
3956 | RTCStatsType | API, Media, RTCStatsType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, WebRTC Statistics Identifiers, rtc |
The RTCStatsType enumerated type (enum) is a set of strings which define the RTCStats.type of statistics reported in a record found in the RTCStatsReport object. | ||
3957 | RTCTrackEvent | API, Interface, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, rtc, track |
The WebRTC API interface RTCTrackEvent represents the track event, which is sent when a new MediaStreamTrack is added to an RTCRtpReceiver which is part of the RTCPeerConnection . | ||
3958 | RTCTrackEvent.receiver | API, Media, Property, RTCRtpReceiver, RTCTrackEvent, RTP, Read-only, Reference, WebRTC, WebRTC API, events, receiver, track |
The read-only receiver property of the RTCTrackEvent interface indicates the RTCRtpReceiver which is used to receive data containing media for the RTCTrackEvent.track to which the event refers. | ||
3959 | RTCTrackEvent() | API, Constructor, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, track |
The RTCTrackEvent() constructor creates and returns a new RTCTrackEvent object, configured to describe the track which has been added to the RTCPeerConnection . | ||
3960 | RTCTrackEvent.streams | API, Media, Property, RTCTrackEvent, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track |
The WebRTC API interface RTCTrackEvent 's read-only streams property specifies an array of MediaStream objects, one for each of the streams that comprise the track being added to the RTCPeerConnection . | ||
3961 | RTCTrackEvent.track | API, Media, Property, RTCTrackEvent, RTP, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track |
The WebRTC API interface RTCTrackEvent 's read-only track property specifies the MediaStreamTrack that has been added to the RTCPeerConnection . | ||
3962 | RTCTrackEvent.transceiver | API, Media, Property, RTCTrackEvent, RTP, Reference, Transceiver, WebRTC, WebRTC API, events |
The WebRTC API interface RTCTrackEvent 's read-only transceiver property indicates the RTCRtpTransceiver affiliated with the event's RTCTrackEvent.track . | ||
3963 | RTCTrackEventInit | API, Dictionary, Interface, Media, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track |
The WebRTC API's RTCTrackEventInit dictionary is used to provide information describing an RTCTrackEvent when instantiating a new track event using RTCTrackEvent.RTCTrackEvent . | ||
3964 | RTCTrackEventInit.receiver | API, Property, RTCTrackEventInit, RTP, Reference, WebRTC, WebRTC API, events, receiver, track |
The RTCTrackEventInit dictionary's receiver property specifies the RTCRtpReceiver associated with the event. | ||
3965 | RTCTrackEventInit.streams | API, Media, Property, RTCTrackEvent, Reference, Streams, WebRTC, WebRTC API, events, track |
The RTCTrackEventInit dictionary's optional streams property provides an array containing a MediaStream object for each of the streams associated with the event's track. | ||
3966 | RTCTrackEventInit.track | API, Media, Property, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track |
The RTCTrackEventInit dictionary's track property specifies the MediaStreamTrack associated with the track event. | ||
3967 | RTCTrackEventInit.transceiver | API, Media, RTCTrackEventInit, RTP, Reference, Transceiver, WebRTC, WebRTC API, events |
The RTCTrackEventInit dictionary's transceiver property specifies the RTCRtpTransceiver associated with the track event. | ||
3968 | Sanitizer | HTML Sanitizer API, Interface, sanitize |
The Sanitizer interface of the HTML Sanitizer API allows developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM. | ||
3969 | Sanitizer.sanitize() | HTML Sanitizer API, Method, sanitize |
The sanitize() method of the sanitizer interface returns a sanitized DocumentFragment from an input, removing any offending elements or attributes. | ||
3970 | Sanitizer() | Constructor, HTML Sanitizer API, sanitize |
The Sanitizer() constructor creates a new sanitizer object which allows developers to take untrusted strings of HTML, and sanitize them for safe insertion into a document’s DOM. | ||
3971 | Sanitizer.sanitizeToString() | HTML Sanitizer API, Method, sanitize |
The sanitizeToString() method of the Sanitizer interface returns a sanitized String from an input, removing any offending elements or attributes. | ||
3972 | Screen Capture API | API, MediaDevices, MediaStream, Overview, Reference, Screen Capture, Screen Capture API, Screen Sharing, getDisplayMedia |
The Screen Capture API introduces additions to the existing Media Capture and Streams API to let the user select a screen or portion of a screen (such as a window) to capture as a media stream. | ||
3973 | Using the Screen Capture API | API, Capture, Conference, Guide, Media, Screen Capture, Screen Capture API, Sharing, Video, WebRTC, display, getDisplayMedia, screen |
In this article, we will examine how to use the Screen Capture API and its MediaDevices.getDisplayMedia method to capture part or all of a screen for streaming, recording, or sharing during a WebRTC conference session. | ||
3974 | Screen Orientation API | API, Draft, Experimental, NeedsContent, Overview, Screen Orientation |
Screen Orientation API | ||
3975 | Screen Wake Lock API | API, Overview, Reference, Screen Wake Lock API, Wake Lock, WakeLock, screen |
The Screen Wake Lock API provides a way to prevent devices from dimming or locking the screen when an application needs to keep running. | ||
3976 | Screen | API, CSSOM View, Interface, Reference |
The Screen interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen . | ||
3977 | Screen.availHeight | API, CSSOM View, Property, Reference, Screen size, availHeight |
The read-only Screen interface's availHeight property returns the height, in CSS pixels, of the space available for Web content on the screen. Since Screen is exposed on the Window interface's Window.screen property, you access availHeight using window.screen.availHeight . | ||
3978 | Screen.availLeft | API, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property |
Returns the first available pixel available from the left side of the screen. | ||
3979 | Screen.availTop | API, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property |
Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features. | ||
3980 | Screen.availWidth | API, CSSOM View, Property, Reference |
The Screen.availWidth property returns the amount of horizontal space (in pixels) available to the window. | ||
3981 | Screen.colorDepth | API, CSSOM View, Property, Reference |
The Screen.colorDepth read-only property returns the color depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the browser compatibility section for those that don't. | ||
3982 | Screen.height | API, CSSOM View, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference |
The Screen.height read-only property returns the height of the screen in pixels. | ||
3983 | Screen.left | API, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property |
Returns the distance in pixels from the left side of the main screen to the left side of the current screen. | ||
3984 | Screen.lockOrientation() | API, CSSOM View, Deprecated, Method, NeedsUpdate, Screen Orientation, screen |
The lockOrientation() method of the Screen interface locks the screen into a specified orientation. The ScreenOrientation.lock() method should be used instead. | ||
3985 | Screen.mozBrightness | API, API:Mozilla Extensions, Deprecated, Non-standard, Property |
Indicates how bright the screen's backlight is, on a scale from 0 (very dim) to 1 (full brightness); this value is a double-precision float. | ||
3986 | Screen.mozEnabled | API, API:Mozilla Extensions, DOM, Deprecated, Non-standard, Property, Reference |
This Boolean attribute controls the device's screen. Setting it to false will turn off the screen. | ||
3987 | Screen.onorientationchange | API, CSSOM View, Deprecated, Event Handler, Property, Screen Orientation |
An event handler for the Window/orientationchange_event events sent to the screen object. | ||
3988 | Screen.orientation | API, CSSOM View, Experimental, Property, Read-only, Screen Orientation, screen |
The orientation read-only property of the Screen interface returns the current orientation of the screen. | ||
3989 | Screen.pixelDepth | API, CSSOM View, NeedsMarkupWork, Property, Reference |
Returns the bit depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the Browser compatibility section for those that don't. | ||
3990 | Screen.top | API, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property, Window |
Returns the distance in pixels from the top side of the current screen. | ||
3991 | Screen.unlockOrientation() | API, CSSOM View, Deprecated, Method, NeedsMarkupWork, Screen Orientation |
The Screen.unlockOrientation() method removes all the previous screen locks set by the page/app. The ScreenOrientation.unlock() method should be used instead. | ||
3992 | Screen.width | API, CSSOM View, Property, Reference |
The Screen.width read-only property returns the width of the screen in pixels. | ||
3993 | ScreenOrientation | API, Interface, Reference, Screen Orientation API, ScreenOrientation, screen |
The ScreenOrientation interface of the Screen Orientation API provides information about the current orientation of the document. | ||
3994 | ScreenOrientation.angle | API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, angle |
The angle read-only property of the ScreenOrientation interface returns the document's current orientation angle. | ||
3995 | ScreenOrientation.lock() | API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, lock |
The lock() property of the ScreenOrientation interface locks the orientation of the containing document to its default orientation. | ||
3996 | ScreenOrientation.onchange | API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock |
The onchange property of the ScreenOrientation is an event handler fired whenever is the EventHandler called when the screen changes orientation. | ||
3997 | ScreenOrientation.type | API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Type |
The type read-only property of the ScreenOrientation interface returns the document's current orientation type, one of "portrait-primary", "portrait-secondary", "landscape-primary", or "landscape-secondary". | ||
3998 | ScreenOrientation.unlock() | API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock |
The unlock() property of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. | ||
3999 | ScriptProcessorNode | API, Deprecated, Interface, Reference, ScriptProcessorNode, Web Audio API |
The ScriptProcessorNode interface allows the generation, processing, or analyzing of audio using JavaScript. | ||
4000 | ScriptProcessorNode: audioprocess event | ScriptProcessorNode, Web Audio API, audioprocess, events |
The audioprocess event of the ScriptProcessorNode interface is fired when an input buffer of a script processor is ready to be processed. | ||
4001 | ScriptProcessorNode.bufferSize | API, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, bufferSize |
The bufferSize property of the ScriptProcessorNode interface returns an integer representing both the input and output buffer size, in sample-frames. Its value can be a power of 2 value in the range 256 –16384 . | ||
4002 | ScriptProcessorNode.onaudioprocess | API, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, onaudioprocess |
The onaudioprocess event handler of the ScriptProcessorNode interface represents the EventHandler to be called for the audioprocess event that is dispatched to ScriptProcessorNode node types. An event of type AudioProcessingEvent will be dispatched to the event handler. | ||
4003 | ScrollToOptions | API, CSSOM View, Dictionary, Reference, ScrollToOptions |
The ScrollToOptions dictionary of the CSSOM View spec contains properties specifying where an element should be scrolled to, and whether the scrolling should be smooth. | ||
4004 | ScrollToOptions.behavior | API, Property, Reference, ScrollToOptions, behavior |
The behavior property of the ScrollToOptions dictionary specifies whether the scrolling should animate smoothly, or happen instantly in a single jump. | ||
4005 | ScrollToOptions.left | API, Property, Reference, ScrollToOptions, left |
The left property of the ScrollToOptions dictionary specifies the number of pixels along the X axis to scroll the window or element. | ||
4006 | ScrollToOptions.top | API, Property, Reference, ScrollToOptions, top |
The top property of the ScrollToOptions dictionary specifies the number of pixels along the Y axis to scroll the window or element. | ||
4007 | SecurityPolicyViolationEvent | API, CSP, Experimental, HTTP, Interface, Reference, Security, SecurityPolicyViolationEvent |
The SecurityPolicyViolationEvent interface inherits from Event , and represents the event object of an event sent on a document or worker when its content security policy is violated. | ||
4008 | SecurityPolicyViolationEvent.blockedURI | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent |
The blockedURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the resource that was blocked because it violates a policy. | ||
4009 | SecurityPolicyViolationEvent.columnNumber | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, columnNumber |
The columnNumber read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker at which the violation occurred. | ||
4010 | SecurityPolicyViolationEvent.disposition | API, CSP, Disposition, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent |
The disposition read-only property of the SecurityPolicyViolationEvent interface indicates how the violated policy is configured to be treated by the user agent. | ||
4011 | SecurityPolicyViolationEvent.documentURI | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, documentURI |
The documentURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found. | ||
4012 | SecurityPolicyViolationEvent.effectiveDirective | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, effectiveDirective |
The effectiveDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation. | ||
4013 | SecurityPolicyViolationEvent.lineNumber | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, lineNumber |
The lineNumber read-only property of the SecurityPolicyViolationEvent interface is the line number in the document or worker at which the violation occurred. | ||
4014 | SecurityPolicyViolationEvent.originalPolicy | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, originalPolicy |
The originalPolicy read-only property of the SecurityPolicyViolationEvent interface is a DOMString containing the policy whose enforcement uncovered the violation. | ||
4015 | SecurityPolicyViolationEvent.referrer | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, referrer |
The referrer read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the referrer of the resources whose policy was violated. This will be a URL or null . | ||
4016 | SecurityPolicyViolationEvent.sample | API, CSP, Experimental, HTTP, Property, Reference, Sample, Security, SecurityPolicyViolationEvent |
The sample read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing a sample of the resource that caused the violation. | ||
4017 | SecurityPolicyViolationEvent.SecurityPolicyViolationEvent() | API, CSP, Constructor, Experimental, HTTP, Reference, Security, SecurityPolicyViolationEvent |
The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance. | ||
4018 | SecurityPolicyViolationEvent.sourceFile | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, sourceFile |
The sourceFile read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found. | ||
4019 | SecurityPolicyViolationEvent.statusCode | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, Statuscode |
The statusCode read-only property of the SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the document or worker in which the violation occurred. | ||
4020 | SecurityPolicyViolationEvent.violatedDirective | API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, violatedDirective |
The violatedDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation. | ||
4021 | Selection API | API, Junk, Landing, Reference, Selection, Selection API, Text |
The Selection API provides functionality for reading and manipulating the range of text selected by the user. | ||
4022 | Selection | API, Experimental, Interface, Reference, Selection |
A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or manipulation, call window.getSelection() . | ||
4023 | Selection.addRange() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.addRange() method adds a Range to a Selection . | ||
4024 | Selection.anchorNode | API, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.anchorNode read-only property returns the Node in which the selection begins. | ||
4025 | Selection.anchorOffset | API, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.anchorOffset read-only property returns the number of characters that the selection's anchor is offset within the Selection.anchorNode . | ||
4026 | Selection.collapse() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.collapse() method collapses the current selection to a single point. The document is not modified. If the content is focused and editable, the caret will blink there. | ||
4027 | Selection.collapseToEnd() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.collapseToEnd() method collapses the selection to the end of the last range in the selection. If the content of the selection is focused and editable, the caret will blink there. | ||
4028 | Selection.collapseToStart() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.collapseToStart() method collapses the selection to the start of the first range in the selection. If the content of the selection is focused and editable, the caret will blink there. | ||
4029 | Selection.containsNode() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.containsNode() method indicates whether a specfied node is part of the selection. | ||
4030 | Selection.deleteFromDocument() | API, Experimental, HTML Editing, Method, Reference, Selection, deleteFromDocument |
The deleteFromDocument() method of the Selection interface deletes the selected text from the document's DOM. | ||
4031 | Selection.extend() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.extend() method moves the focus of the selection to a specified point. The anchor of the selection does not move. The selection will be from the anchor to the new focus, regardless of direction. | ||
4032 | Selection.focusNode | API, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.focusNode read-only property returns the Node in which the selection ends. | ||
4033 | Selection.focusOffset | API, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.focusOffset read-only property returns the number of characters that the selection's focus is offset within the Selection.focusNode . | ||
4034 | Selection.getRangeAt() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.getRangeAt() method returns a range object representing one of the ranges currently selected. | ||
4035 | Selection.isCollapsed | API, DOM, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.isCollapsed read-only property returns a Boolean which indicates whether or not there is currently any text selected. No text is selected when the selection's start and end points are at the same position in the content. | ||
4036 | Selection.modify() | API, API:Mozilla Extensions, API:WebKit Extensions, HTML Editing, Method, Non-standard, Reference, Selection |
The Selection.modify() method applies a change to the current selection or cursor position, using simple textual commands. | ||
4037 | Selection.rangeCount | API, Experimental, HTML Editing, Property, Read-only, Reference, Selection |
The Selection.rangeCount read-only property returns the number of ranges in the selection. | ||
4038 | Selection.removeAllRanges() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.removeAllRanges() method removes all ranges from the selection, leaving the Selection.anchorNode and Selection.focusNode properties equal to null and leaving nothing selected. | ||
4039 | Selection.removeRange() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.removeRange() method removes a range from a selection. | ||
4040 | Selection.selectAllChildren() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.selectAllChildren() method adds all the children of the specified node to the selection. Previous selection is lost. | ||
4041 | Selection.selectionLanguageChange() | |
Selection.selectionLanguageChange() method is a Gecko/Firefox internal method that was exposed to web pages until Firefox 29. It was removed in 949445 and should not be used. | ||
4042 | Selection.setBaseAndExtent() | API, Experimental, Method, Reference, Selection, setBaseAndExtent |
The setBaseAndExtent() method of the Selection interface sets the selection to be a range including all or parts of two specified DOM nodes, and any content located between them. | ||
4043 | Selection.toString() | API, Experimental, HTML Editing, Method, Reference, Selection |
The Selection.toString() method returns a string currently being represented by the selection object, i.e. the currently selected text. | ||
4044 | Selection.type | API, Experimental, Property, Reference, Selection, Type |
The type read-only property of the Selection interface returns a DOMString describing the type of the current selection. | ||
4045 | Sensor APIs | API, Generic Sensor API, Overview, Reference, Sensor, Sensor APIs, Sensors |
The Sensor APIs are a set of interfaces built to a common design that expose device sensors in a consistent way to the web platform. | ||
4046 | Sensor | API, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors |
The Sensor interface of the Sensor APIs is the base class for all the other sensor interfaces. This interface cannot be used directly. Instead it provides properties, event handlers, and methods accessed by interfaces that inherit from it. | ||
4047 | Sensor.activated | API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activated |
The activated read-only property of the Sensor interface returns a Boolean indicating whether the sensor is active. | ||
4048 | Sensor.hasReading | API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, hasReading |
The hasReading read-only property of the Sensor interface returns a Boolean indicating whether the sensor has a reading. | ||
4049 | Sensor.onactivate | API, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activate, onactivate |
The onactivate EventHandler is called when one of the Sensor interface's child interfaces becomes active. | ||
4050 | Sensor.onerror | API, Error, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onerror |
The onerror EventHandler is called when an error occurs on one of the child interfaces of the Sensor interface. | ||
4051 | Sensor.onreading | API, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onreading, reading |
The onreading EventHandler is called when a reading is taken on one of the child interfaces of the Sensor interface. | ||
4052 | Sensor.start() | API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, start() |
The start method activates one of the sensors based on Sensor . | ||
4053 | Sensor.stop() | API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, stop() |
The stop method of the Sensor interface deactivates the current sensor. | ||
4054 | Sensor.timestamp | API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, timeStamp |
The timestamp read-only property of the Sensor interface returns the time stamp of the latest sensor reading. | ||
4055 | SensorErrorEvent | API, Error, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors |
The SensorErrorEvent interface of the Sensor APIs provides information about errors thrown by a Sensor or related interface. | ||
4056 | SensorErrorEvent.error | API, Error, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors |
The error read-only property of the SensorErrorEvent interface returns the DOMException object passed in the event's contructor. | ||
4057 | SensorErrorEvent.SensorErrorEvent() | API, Constructor, Error, Generic Sensor API, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors |
The SensorErrorEvent constructor creates a new SensorErrorEvent object which provides information about errors thrown by any of the interfaces based on Sensor . | ||
4058 | Server-sent events | API, Overview, SSE, Server-sent events |
Server Sent Events | ||
4059 | Using server-sent events | Advanced, Communication, DOM, Guide, SSE, Server Sent Events, Server-sent events, messaging |
Developing a web application that uses server-sent events is straightforward. You'll need a bit of code on the server to stream events to the front-end, but the client side code works almost identically to websockets in part of handling incoming events. This is one-way connection, so you can't send events from a client to a server. | ||
4060 | Service Worker API | API, Landing, Offline, Overview, Reference, Service Workers, Workers |
Service workers essentially act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network requests and take appropriate action based on whether the network is available, and update assets residing on the server. They will also allow access to push notifications and background sync APIs. | ||
4061 | Using Service Workers | Guide, Service, ServiceWorker, Workers, basics |
This article provides information on getting started with service workers, including basic architecture, registering a service worker, the install and activation process for a new service worker, updating your service worker, cache control and custom responses, all in the context of a simple app with offline functionality. | ||
4062 | ServiceWorker | API, Interface, Offline, Reference, Service Workers, ServiceWorker, Workers |
The ServiceWorker interface of the Service Worker API provides a reference to a service worker. Multiple browsing context (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. | ||
4063 | ServiceWorker.onstatechange | API, Property, Reference, Référence(2), Service Workers, ServiceWorker, onstatechange |
An EventListener property called whenever an event of type statechange is fired; it is basically fired anytime the ServiceWorker.state changes. | ||
4064 | ServiceWorker.scriptURL | API, Property, Reference, Service Workers, ServiceWorker, scriptURL |
Returns the ServiceWorker serialized script URL defined as part of ServiceWorkerRegistration . Must be on the same origin as the document that registers the ServiceWorker . | ||
4065 | ServiceWorker.state | API, Property, Reference, Service Workers, ServiceWorker, state |
The state read-only property of the ServiceWorker interface returns a string representing the current state of the service worker. It can be one of the following values: installing , installed, activating , activated , or redundant . | ||
4066 | ServiceWorkerContainer | API, Draft, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerContainer, Workers |
The ServiceWorkerContainer interface of the Service Worker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. | ||
4067 | ServiceWorkerContainer.controller | API, Controller, Property, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerController |
The controller read-only property of the ServiceWorkerContainer interface returns a ServiceWorker object if its state is activating or activated (the same object returned by ServiceWorkerRegistration.active ). This property returns null if the request is a force refresh (Shift + refresh) or if there is no active worker. | ||
4068 | ServiceWorkerContainer.getRegistration() | API, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer |
The getRegistration() method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided document URL. The method returns a Promise that resolves to a ServiceWorkerRegistration or undefined . | ||
4069 | ServiceWorkerContainer.getRegistrations() | API, Experimental, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer |
The getRegistrations() method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistration s associated with a ServiceWorkerContainer , in an array. The method returns a Promise that resolves to an array of ServiceWorkerRegistration . | ||
4070 | ServiceWorkerContainer: message event | API, Event, Reference, Service Workers |
The message event is used in a page controlled by a service worker to receive messages from the service worker. | ||
4071 | ServiceWorkerContainer.oncontrollerchange | API, Experimental, Interface, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onchange |
The oncontrollerchange property of the ServiceWorkerContainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker. | ||
4072 | ServiceWorkerContainer.onerror | API, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onerror |
The onerror property of the ServiceWorkerContainer interface is an event handler fired whenever an error event occurs in the associated service workers. | ||
4073 | ServiceWorkerContainer.onmessage | API, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer |
The onmessage property of the ServiceWorkerContainer interface is an event handler fired whenever a message event occurs — when incoming messages are received to the ServiceWorkerContainer object (e.g., via a Client.postMessage() call). | ||
4074 | ServiceWorkerContainer.ready | API, Property, Reference, Service worker API, ServiceWorker, ServiceWorkerContainer |
The ready read-only property of the ServiceWorkerContainer interface provides a way of delaying code execution until a service worker is active. It returns a Promise that will never reject, and which waits indefinitely until the ServiceWorkerRegistration associated with the current page has an ServiceWorkerRegistration.active worker. Once that condition is met, it resolves with the ServiceWorkerRegistration . | ||
4075 | ServiceWorkerContainer.register() | API, Method, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerContainer, register |
The register() method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scriptURL . | ||
4076 | ServiceWorkerContainer.startMessages() | API, Experimental, Reference, Service Workers, ServiceWorkerContainer, startMessages |
The startMessages() method of the ServiceWorkerContainer interface explicitly starts the flow of messages being dispatched from a service worker to pages under its control (e.g. sent via Client.postMessage() ). This can be used to react to sent messages earlier, even before that page's content has finished loading. | ||
4077 | ServiceWorkerGlobalScope | API, Interface, Offline, Reference, Service Workers, ServiceWorkerGlobalScope |
The ServiceWorkerGlobalScope interface of the Service Worker API represents the global execution context of a service worker. | ||
4078 | ServiceWorkerGlobalScope: activate event | API, Event, Reference, Service Workers, ServiceWorkerGlobalScope |
The activate event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker. | ||
4079 | ServiceWorkerGlobalScope.caches | API, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope |
The caches read-only property of the ServiceWorkerGlobalScope interface returns the CacheStorage object associated with the service worker. | ||
4080 | ServiceWorkerGlobalScope.clients | API, Clients, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope |
The clients read-only property of the ServiceWorkerGlobalScope interface returns the Clients object associated with the service worker. | ||
4081 | ServiceWorkerGlobalScope: contentdelete event | Content Index API, ServiceWorkerGlobalScope, content indexing, contentdelete, delete, events |
The contentdelete event of the ServiceWorkerGlobalScope interface is fired when an item is removed from the indexed content via the user agent. | ||
4082 | ServiceWorkerGlobalScope: install event | API, Event, Reference, Service worker API, ServiceWorkerGlobalScope, install |
The install event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.installing worker. | ||
4083 | ServiceWorkerGlobalScope: message event | Event, Reference, Service worker API, ServiceWorkerGlobalScope, message |
The message event of the ServiceWorkerGlobalScope interface occurs when incoming messages are received. Controlled pages can use the ServiceWorker.postMessage() method to send messages to service workers.The service worker can optionally send a response back via the Client.postMessage() , corresponding to the controlled page. | ||
4084 | ServiceWorkerGlobalScope: notificationclick event | Event, Notifications, Service Worker, ServiceWorkerGloablScope, events, notificationclick |
The notificationclick event is fired to indicate that a system notification spawned by ServiceWorkerRegistration.showNotification() has been clicked. | ||
4085 | ServiceWorkerGlobalScope.onactivate | API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onactivate |
The onactivate property of the ServiceWorkerGlobalScope interface is an event handler fired whenever an activate event occurs (when the service worker activates). This happens after installation, when the page to be controlled by the service worker refreshes. | ||
4086 | ServiceWorkerGlobalScope.oncontentdelete | Content Index API, Event Handler, ServiceWorkerGlobalScope, content indexing, delete |
The oncontentdelete property of the ServiceWorkerGlobalScope interface is an event handler fired when an item is removed from the indexed content via the user agent. | ||
4087 | ServiceWorkerGlobalScope.onfetch | API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onfetch |
The onfetch property of the ServiceWorkerGlobalScope interface is an event handler fired whenever a fetch event occurs (usually when the WindowOrWorkerGlobalScope.fetch() method is called.) | ||
4088 | ServiceWorkerGlobalScope.oninstall | API, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope |
The oninstall property of the ServiceWorkerGlobalScope interface is an event handler fired whenever an ServiceWorkerGlobalScope/install_event event occurs (when the service worker installs). This happens before activation. | ||
4089 | ServiceWorkerGlobalScope.onmessage | API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onmessage |
The onmessage property of the ServiceWorkerGlobalScope interface is an event handler fired whenever a ServiceWorkerGlobalScope.message_event event occurs — when incoming messages are received. | ||
4090 | ServiceWorkerGlobalScope.onnotificationclick | API, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclick |
The ServiceWorkerGlobalScope.onnotificationclick property is an event handler called whenever the notificationclick event is dispatched on the ServiceWorkerGlobalScope object, that is when a user clicks on a displayed notification spawned by ServiceWorkerRegistration.showNotification() . | ||
4091 | onnotificationclose | API, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclose |
The ServiceWorkerGlobalScope.onnotificationclose property is an event handler called whenever the notificationclose event is dispatched on the ServiceWorkerGlobalScope object, that is when a user closes a displayed notification spawned by ServiceWorkerRegistration.showNotification() . | ||
4092 | ServiceWorkerGlobalScope.onperiodicsync | Background Sync, PWA, Periodic Background Synchronization API, Property, ServiceWorkerGlobalScope |
The onperiodicsync property of the ServiceWorkerGlobalScope interface is an event handler fired at timed intervals, specified when registering a PeriodicSyncManager . | ||
4093 | ServiceWorkerGlobalScope.onpush | API, Property, Push, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope, onpush |
The ServiceWorkerGlobalScope.onpush event of the ServiceWorkerGlobalScope interface is fired whenever a push message is received by a service worker via a push server. | ||
4094 | ServiceWorkerGlobalScope.onpushsubscriptionchange | API, NeedsExample, Property, Push, Reference, Service Workers, ServiceWorkerGlobalScope, onpushsubscriptionchange |
The ServiceWorkerGlobalScope.onpushsubscriptionchange event of the ServiceWorkerGlobalScope interface is fired to indicate a change in push subscription that was triggered outside the application's control, e.g. when browser refresh the push subscription. | ||
4095 | ServiceWorkerGlobalScope.onsync | |
The ServiceWorkerGlobalScope.onsync event of the ServiceWorkerGlobalScope interface is fired whenever a SyncEvent event occurs. This is triggered when a call to SyncManager.register is made from a service worker client page. The attempt to sync is made either immediately if the network is available or as soon as the network becomes available. | ||
4096 | ServiceWorkerGlobalScope: push event | API, Event, Notifications, Push, Push API, PushEvent, Reference, Service Workers, ServiceWorkerGlobalScope, messaging |
The push event is sent to a service worker's global scope (represented by the ServiceWorkerGlobalScope interface) when the service worker has received a push message. | ||
4097 | ServiceWorkerGlobalScope: pushsubscriptionchange event | API, Event, Push, Push API, PushSubscriptionChangeEvent, Reference, Service Workers, ServiceWorkerGlobalScope, Subscription |
The pushsubscriptionchange event is sent to the global scope of a ServiceWorker to indicate a change in push subscription that was triggered outside the application's control. | ||
4098 | ServiceWorkerGlobalScope.registration | API, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope, registration |
The registration read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker's registration. | ||
4099 | ServiceWorkerGlobalScope.skipWaiting() | API, Method, Reference, Service Workers, Service worker API, ServiceWorker, skipWaiting |
The ServiceWorkerGlobalScope.skipWaiting() method of the ServiceWorkerGlobalScope forces the waiting service worker to become the active service worker. | ||
4100 | ServiceWorkerMessageEvent | API, Deprecated, Experimental, Interface, Offline, Référence(2), Service Workers, ServiceWorkerMessageEvent, Workers |
Important: In modern browsers, this interface has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4101 | ServiceWorkerMessageEvent.data | API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, data |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4102 | ServiceWorkerMessageEvent.lastEventId | API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, lastEventID |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4103 | ServiceWorkerMessageEvent.origin | API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, origin |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4104 | ServiceWorkerMessageEvent.ports | API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, ports |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4105 | ServiceWorkerMessageEvent.ServiceWorkerMessageEvent() | API, Constructor, Deprecated, Experimental, Reference, Service Workers, ServiceWorkerMessageEvent |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4106 | ServiceWorkerMessageEvent.source | API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, source |
Important: In modern browsers, this property has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features. | ||
4107 | ServiceWorkerRegistration | API, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerRegistration, Workers |
The ServiceWorkerRegistration interface of the Service Worker API represents the service worker registration. You register a service worker to control one or more pages that share the same origin. | ||
4108 | ServiceWorkerRegistration.active | API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, active |
The active property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is activating or activated . This property is initially set to null . | ||
4109 | ServiceWorkerRegistration.getNotifications() | API, Experimental, Method, Notifications, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerRegistration, getNotifications |
The getNotifications() method of the ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration. Origins can have many active but differently-scoped service worker registrations. Notifications created by one service worker on the same origin will not be available to other active services workers on that same origin. | ||
4110 | ServiceWorkerRegistration.index | Content, Content Index API, Index, PWA, Property, ServiceWorker, ServiceWorkerRegistration, content index, content indexing |
The index read-only property of the ServiceWorkerRegistration interface returns a reference to the ContentIndex interface, which allows for indexing of offline content. | ||
4111 | ServiceWorkerRegistration.installing | API, Installing, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration |
The installing property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installing . This property is initially set to null . | ||
4112 | ServiceWorkerRegistration.navigationPreload | API, NavigationPreloadManager, Offline, Property, Service Workers, ServiceWorkerRegistration, Workers |
The navigationPreload read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration. | ||
4113 | ServiceWorkerRegistration.onupdatefound | API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, onupdatefound |
The onupdatefound property of the ServiceWorkerRegistration interface is an EventListener property called whenever an event of type statechange is fired; it is fired any time the ServiceWorkerRegistration.installing property acquires a new service worker. | ||
4114 | ServiceWorkerRegistration.periodicSync | API, Experimental, PeriodicSyncManager, Property, Reference, Service Workers, ServiceWorkerRegistration, periodicSync |
The periodicSync read-only property of the ServiceWorkerRegistration interface returns a reference to the PeriodicSyncManager interface, which allows for registering of tasks to run at specific intervals. | ||
4115 | ServiceWorkerRegistration.pushManager | API, Property, Push, PushManager, Reference, Service Workers, ServiceWorkerRegistration |
The pushManager property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status. | ||
4116 | ServiceWorkerRegistration.scope | API, Property, Reference, Service Workers, ServiceWorkerRegistration, scope |
The scope read-only property of the ServiceWorkerRegistration interface returns a unique identifier for a service worker registration. The service worker must be on the same origin as the document that registers the ServiceWorker . | ||
4117 | ServiceWorkerRegistration.showNotification() | API, Experimental, Method, NeedsExample, Reference, Service Workers, ServiceWorker, ServiceWorkerRegistration, showNotification |
The showNotification() method of the ServiceWorkerRegistration interface creates a notification on an active service worker. | ||
4118 | ServiceWorkerRegistration.sync | API, Experimental, Property, Reference, Service Workers, ServiceWorkerRegistration, Sync |
The sync property of the ServiceWorkerRegistration interface returns a reference to the SyncManager interface, which manages background synchronization processes. | ||
4119 | ServiceWorkerRegistration.unregister() | API, Method, Reference, Service Workers, ServiceWorkerRegistration, unregister |
The unregister() method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise . The promise will resolve to false if no registration was found, otherwise it resolves to true irrespective of whether unregistration happened or not (it may not unregister if someone else just called ServiceWorkerContainer.register() with the same scope.) The service worker will finish any ongoing operations before it is unregistered. | ||
4120 | ServiceWorkerRegistration.update() | API, Method, Reference, Service Workers, ServiceWorkerRegistration, Update |
The update() method of the ServiceWorkerRegistration interface attempts to update the service worker. It fetches the worker's script URL, and if the new worker is not byte-by-byte identical to the current worker, it installs the new worker. The fetch of the worker bypasses any browser caches if the previous fetch occurred over 24 hours ago. | ||
4121 | ServiceWorkerRegistration.waiting | API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, waiting |
The waiting property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installed . This property is initially set to null . | ||
4122 | ServiceWorkerState | API, Interface, Reference, Service Workers, ServiceWorkerState |
The ServiceWorkerState is associated with its ServiceWorker 's state. | ||
4123 | ShadowRoot | API, Interface, Reference, ShadowRoot, Web Components, shadow dom |
The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree. | ||
4124 | ShadowRoot.delegatesFocus | API, Non-standard, Property, Reference, ShadowRoot, Web Components, delegatesFocus, shadow dom |
The delegatesFocus read-only property of the ShadowRoot interface returns a boolean that indicates whether delegatesFocus was set when the shadow was attached (see Element.attachShadow() ). | ||
4125 | ShadowRoot.host | API, Host, Property, Reference, ShadowRoot, shadow dom |
The host read-only property of the ShadowRoot returns a reference to the DOM element the ShadowRoot is attached to. | ||
4126 | ShadowRoot.innerHTML | API, Property, Reference, ShadowRoot, innerHTML, shadow dom |
The innerHTML property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the ShadowRoot . | ||
4127 | ShadowRoot.mode | API, Property, Reference, ShadowRoot, mode, shadow dom |
The mode property of the ShadowRoot specifies its mode — either open or closed . This defines whether or not the shadow root's internal features are accessible from JavaScript. | ||
4128 | SharedWorker | API, Interface, Reference, SharedWorker, Web Workers, Workers |
The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope . | ||
4129 | SharedWorker.port | API, Property, Reference, SharedWorker, Web Workers, port |
The port property of the SharedWorker interface returns a MessagePort object used to communicate and control the shared worker. | ||
4130 | SharedWorker() | API, Constructor, Reference, SharedWorker, Web Workers |
The SharedWorker() constructor creates a SharedWorker object that executes the script at the specified URL. This script must obey the same-origin policy. | ||
4131 | SharedWorkerGlobalScope | API, Interface, Reference, SharedWorkerGlobalScope, Web Workers |
The SharedWorkerGlobalScope object (the SharedWorker global scope) is accessible through the window.self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See the complete list of functions available to workers. | ||
4132 | SharedWorkerGlobalScope.applicationCache | API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, applicationCache |
Important: Application Cache is deprecated as of Firefox 44, and is no longer available in insecure contexts from Firefox 60 onwards (1354175 , currently Nightly/Beta only). Don't use it to make offline websites — consider using service workers instead. | ||
4133 | SharedWorkerGlobalScope.close() | API, DOM, Method, Reference, SharedWorkerGlobalScope, Web Workers, close |
The close() method of the SharedWorkerGlobalScope interface discards any tasks queued in the SharedWorkerGlobalScope 's event loop, effectively closing this particular scope. | ||
4134 | SharedWorkerGlobalScope: connect event | API, Event, Reference, SharedWorkerGlobalScope, connect, events |
The connect event is fired in shared workers at their SharedWorkerGlobalScope when a new client connects. | ||
4135 | SharedWorkerGlobalScope.name | API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, name |
The name read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created. This is the name that the SharedWorker.SharedWorker constructor can pass to get a reference to the SharedWorkerGlobalScope . | ||
4136 | SharedWorkerGlobalScope.onconnect | API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, onconnect |
The onconnect property of the SharedWorkerGlobalScope interface is an event handler representing the code to be called when the connect event is raised — that is, when a MessagePort connection is opened between the associated SharedWorker and the main thread. | ||
4137 | Slottable | API, Interface, Reference, Slottable, Web Components, shadow dom |
The Slottable mixin defines features that allow nodes to become the contents of a slot element — the following features are included in both Element and Text . | ||
4138 | Slottable: assignedSlot | API, Property, Reference, Slottable, Web Components, assignedSlot, shadow dom |
The assignedSlot read-only property of the Slottable interface returns an HTMLSlotElement representing the slot element the node is inserted in. | ||
4139 | SourceBuffer | API, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBuffer, Video |
The SourceBuffer interface represents a chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments. | ||
4140 | SourceBuffer.abort() | API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, abort |
The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser. | ||
4141 | SourceBuffer.appendBuffer() | API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendBuffer |
The appendBuffer() method of the SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer . | ||
4142 | SourceBuffer.appendBufferAsync() | API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, appendBufferAsync |
The appendBufferAsync() method of the SourceBuffer interface begins the process of asynchronously appending media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer . | ||
4143 | SourceBuffer.appendStream() | API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendstream |
The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer . | ||
4144 | SourceBuffer.appendWindowEnd | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowEnd |
The appendWindowEnd property of the SourceBuffer interface controls the timestamp for the end of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer . Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out. | ||
4145 | SourceBuffer.appendWindowStart | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowStart |
The appendWindowStart property of the SourceBuffer interface controls the timestamp for the start of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer . Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out. | ||
4146 | SourceBuffer.audioTracks | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, audiotracks |
The audioTracks read-only property of the SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer . | ||
4147 | SourceBuffer.buffered | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, buffered |
The buffered read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer as a normalized TimeRanges object. | ||
4148 | SourceBuffer.changeType() | API, Audio, MSE, Media, Media Source, Media Source Extensions, Method, Non-standard, SourceBuffer, Video, changeType |
The changeType() method of the SourceBuffer interface sets the MIME type that future calls to SourceBuffer.appendBuffer should expect the new media data to conform to. | ||
4149 | SourceBuffer.mode | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, mode |
The mode property of the SourceBuffer interface controls whether media segments can be appended to the SourceBuffer in any order, or in a strict sequence. | ||
4150 | SourceBuffer.remove() | API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, remove |
The remove() method of the SourceBuffer interface removes media segments within a specific time range from the SourceBuffer . This method can only be called when SourceBuffer.updating equals false . If SourceBuffer.updating is not equal to false , call SourceBuffer.abort() . | ||
4151 | SourceBuffer.removeAsync() | API, Audio, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, removeAsync |
The removeAsync() method of the SourceBuffer interface starts the process of asynchronously removing from the SourceBuffer media segments found within a specific time range. | ||
4152 | SourceBuffer.textTracks | API, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, textTracks |
The textTracks read-only property of the SourceBuffer interface returns a list of the text tracks currently contained inside the SourceBuffer . | ||
4153 | SourceBuffer.timestampOffset | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, timestampOffset |
The timestampOffset property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the SourceBuffer . | ||
4154 | SourceBuffer.trackDefaults | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, trackDefaults |
The trackDefaults property of the SourceBuffer interface specifies the default values to use if kind, label, and/or language information is not available in the initialization segment of the media to be appended to the SourceBuffer . | ||
4155 | SourceBuffer.updating | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Updating, Video |
The updating read-only property of the SourceBuffer interface indicates whether the SourceBuffer is currently being updated — i.e. whether an SourceBuffer.appendBuffer() , SourceBuffer.appendStream() , or SourceBuffer.remove() operation is currently in progress. | ||
4156 | SourceBuffer.videoTracks | API, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, videoTracks |
The videoTracks read-only property of the SourceBuffer interface returns a list of the video tracks currently contained inside the SourceBuffer . | ||
4157 | SourceBufferList | API, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBufferList, Video |
The SourceBufferList interface represents a simple container list for multiple SourceBuffer objects. | ||
4158 | SourceBufferList.length | API, Audio, MSE, Media Source Extensions, Property, Reference, SourceBufferList, Video, length |
The length read-only property of the SourceBufferList interface returns the number of SourceBuffer objects in the list. | ||
4159 | SourceBufferList: indexed property getter | API, Audio, Experimental, Getter, MSE, Media Source Extensions, Method, Reference, SourceBuffer, SourceBufferList, Video |
The indexed property getter of the SourceBufferList interface allows the SourceBuffer objects in the list to be accessed with an array operator (i.e. [] .) | ||
4160 | SpeechGrammar | API, Experimental, Interface, Reference, SpeechGrammar, Web Speech API, recognition, speech |
The SpeechGrammar interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. | ||
4161 | SpeechGrammar.SpeechGrammar() | API, Constructor, Experimental, Reference, SpeechGrammar, Web, Web Speech API, speech |
The SpeechGrammar constructor of the SpeechGrammar interface creates a new SpeechGrammar object instance. | ||
4162 | SpeechGrammar.src | API, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, src |
The src property of the SpeechGrammar interface sets and returns a string containing the grammar from within in the SpeechGrammar object. | ||
4163 | SpeechGrammar.weight | API, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, weight |
The optional weight property of the SpeechGrammar interface sets and returns the weight of the SpeechGrammar object. | ||
4164 | SpeechGrammarList | API, Experimental, Interface, Reference, SpeechGrammarList, Web Speech API, recognition, speech |
The SpeechGrammarList interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. | ||
4165 | SpeechGrammarList.addFromString() | API, Experimental, Method, Reference, SpeechGrammarList, Web Speech, addFromString, recognition, speech |
The addFromString() method of the SpeechGrammarList interface takes a grammar present in a specific DOMString within the code base (e.g. stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar object. | ||
4166 | SpeechGrammarList.addFromURI() | API, Experimental, Method, Reference, SpeechGrammarList, Web Speech API, addFromURI, recognition, speech |
The addFromURI() method of the SpeechGrammarList interface takes a grammar present at a specific URI and adds it to the SpeechGrammarList as a new SpeechGrammar object. | ||
4167 | SpeechGrammarList.item() | API, Experimental, Getter, Method, Reference, SpeechGrammarList, Web Speech API, item, recognition, speech |
The item getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax. | ||
4168 | SpeechGrammarList.length | API, Experimental, Property, Reference, SpeechGrammarList, Web Speech API, length, recognition, speech |
The length read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList . | ||
4169 | SpeechGrammarList.SpeechGrammarList() | API, Constructor, Experimental, Reference, SpeechGrammarList, Web Speech API, recognition, speech |
The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance. | ||
4170 | SpeechRecognition | API, Experimental, Interface, Reference, SpeechRecognition, Web Speech API, recognition, speech |
The SpeechRecognition interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service. | ||
4171 | SpeechRecognition.abort() | API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, abort, recognition, speech |
The abort() method of the Web Speech API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult . | ||
4172 | SpeechRecognition: audioend event | Event, Reference, Web Speech API |
The audioend event of the Web Speech API is fired when the user agent has finished capturing audio for speech recognition. | ||
4173 | SpeechRecognition: audiostart event | Event, Reference, SpeechRecognition, Web Speech API, audiostart, onaudiostart |
The audiostart event of the Web Speech API is fired when the user agent has started to capture audio for speech recognition. | ||
4174 | SpeechRecognition.continuous | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, continuous, recognition, speech |
The continuous property of the SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result. | ||
4175 | SpeechRecognition: end event | Event, Reference, Web Speech API |
The end event of the Web Speech API SpeechRecognition object is fired when the speech recognition service has disconnected. | ||
4176 | SpeechRecognition: error event | Event, Reference, Web Speech API |
The error event of the Web Speech API SpeechRecognition object is fired when a speech recognition error occurs. | ||
4177 | SpeechRecognition.grammars | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, grammars, recognition, speech |
The grammars property of the SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition . | ||
4178 | SpeechRecognition.interimResults | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, speech |
The interimResults property of the SpeechRecognition interface controls whether interim results should be returned (true ) or not (false .) Interim results are results that are not yet final (e.g. the SpeechRecognitionResult.isFinal property is false .) | ||
4179 | SpeechRecognition.lang | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, lang, recognition, speech |
The lang property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition . If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either. | ||
4180 | SpeechRecognition.maxAlternatives | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, maxAlternatives, recognition, speech |
The maxAlternatives property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternative s provided per SpeechRecognitionResult . | ||
4181 | SpeechRecognition: nomatch event | Event, Reference, Web Speech API |
The nomatch event of the Web Speech API is fired when the speech recognition service returns a final result with no significant recognition. | ||
4182 | SpeechRecognition.onaudioend | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudioend, recognition, speech |
The onaudioend property of the SpeechRecognition interface represents an event handler that will run when the user agent has finished capturing audio (when the audioend event fires.) | ||
4183 | SpeechRecognition.onaudiostart | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudiostart, recognition, speech |
The onaudiostart property of the SpeechRecognition interface represents an event handler that will run when the user agent has started to capture audio (when the audiostart event fires.) | ||
4184 | SpeechRecognition.onend | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onend, recognition, speech |
The onend property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service has disconnected (when the end event fires.) | ||
4185 | SpeechRecognition.onerror | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onerror, recognition, speech |
The onerror property of the SpeechRecognition interface represents an event handler that will run when a speech recognition error occurs (when the error event fires.) | ||
4186 | SpeechRecognition.onnomatch | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onnomatch, recognition, speech |
The onnomatch property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a final result with no significant recognition (when the nomatch event fires.) | ||
4187 | SpeechRecognition.onresult | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onresult, recognition, speech |
The onresult property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app (when the result event fires.) | ||
4188 | SpeechRecognition.onsoundend | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundend, recognition, speech |
The onsoundend property of the SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has stopped being detected (when the soundend event fires.) | ||
4189 | SpeechRecognition.onsoundstart | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundstart, recognition, speech |
The onsoundstart property of the SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has been detected (when the soundstart event fires.) | ||
4190 | SpeechRecognition.onspeechend | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechend, recognition, speech |
The onspeechend property of the SpeechRecognition interface represents an event handler that will run when speech recognised by the speech recognition service has stopped being detected (when the speechend event fires.) | ||
4191 | SpeechRecognition.onspeechstart | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechstart, recognition, speech |
The onspeechstart property of the SpeechRecognition interface represents an event handler that will run when sound recognised by the speech recognition service as speech has been detected (when the speechstart event fires.) | ||
4192 | SpeechRecognition.onstart | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onstart, recognition, speech |
The onstart property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition (when the start event fires.) | ||
4193 | SpeechRecognition: result event | Event, Reference, Web Speech API |
The result event of the Web Speech API is fired when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app | ||
4194 | SpeechRecognition.serviceURI | API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, serviceURI, speech |
The serviceURI property of the SpeechRecognition interface specifies the location of the speech recognition service used by the current SpeechRecognition to handle the actual recognition. The default is the user agent's default speech service. | ||
4195 | SpeechRecognition: soundend event | Event, Reference, Web Speech API |
The soundend event of the Web Speech API is fired when any sound — recognisable speech or not — has stopped being detected. | ||
4196 | SpeechRecognition: soundstart event | Event, Reference, Web Speech API |
The soundstart event of the Web Speech API is fired when any sound — recognisable speech or not — has been detected. | ||
4197 | SpeechRecognition: speechend event | Event, Reference, Web Speech API |
The speechend event of the Web Speech API is fired when speech recognized by the speech recognition service has stopped being detected. | ||
4198 | SpeechRecognition() | API, Constructor, Experimental, Reference, SpeechRecognition, Web Speech API, recognition, speech |
The SpeechRecognition() constructor creates a new SpeechRecognition object instance. | ||
4199 | SpeechRecognition: speechstart event | Event, Reference, Web Speech API |
The speechstart event of the Web Speech API is fired when sound recognized by the speech recognition service as speech has been detected. | ||
4200 | SpeechRecognition: start event | Event, Reference, Web Speech API |
The start event of the Web Speech API SpeechRecognition object is fired when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition . | ||
4201 | SpeechRecognition.start() | API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, start |
The start() method of the Web Speech API starts the speech recognition service listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition . | ||
4202 | SpeechRecognition.stop() | API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, stop |
The stop() method of the Web Speech API stops the speech recognition service from listening to incoming audio, and attempts to return a SpeechRecognitionResult using the audio captured so far. | ||
4203 | SpeechRecognitionAlternative | API, Experimental, Interface, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech |
The SpeechRecognitionAlternative interface of the Web Speech API represents a single word that has been recognised by the speech recognition service. | ||
4204 | SpeechRecognitionAlternative.confidence | API, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, confidence, recognition, speech |
The confidence read-only property of the SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct. | ||
4205 | SpeechRecognitionAlternative.transcript | API, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech, transcript |
The transcript read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognised word(s). | ||
4206 | SpeechRecognitionError | API, Experimental, Interface, Reference, SpeechRecognitionError, Web Speech API, recognition, speech |
The SpeechRecognitionError interface of the Web Speech API represents error messages from the recognition service. | ||
4207 | SpeechRecognitionError.error | API, Error, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, recognition, speech |
The error read-only property of the SpeechRecognitionError interface returns the type of error raised. | ||
4208 | SpeechRecognitionError.message | API, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, message, recognition, speech |
The message read-only property of the SpeechRecognitionError interface returns a message describing the error in more detail. | ||
4209 | SpeechRecognitionErrorEvent | |
The SpeechRecognitionErrorEvent interface of the Web Speech API represents error messages from the recognition service. | ||
4210 | SpeechRecognitionErrorEvent.error | API, Error, Experimental, Property, Reference, SpeechRecognitionErrorEvent, Web Speech API, recognition, speech |
The error read-only property of the SpeechRecognitionErrorEvent interface returns the type of error raised. | ||
4211 | SpeechRecognitionErrorEvent.message | API, Experimental, Property, Reference, SpeechRecognitionErrorEvent, Web Speech API, message, recognition, speech |
The message read-only property of the SpeechRecognitionErrorEvent interface returns a message describing the error in more detail. | ||
4212 | SpeechRecognitionEvent | API, Experimental, Interface, Reference, SpeechRecognitionEvent, Web Speech API, recognition, speech |
The SpeechRecognitionEvent interface of the Web Speech API represents the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result. | ||
4213 | SpeechRecognitionEvent.emma | API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, emma, recognition, speech |
The emma read-only property of the SpeechRecognitionEvent interface returns an Extensible MultiModal Annotation markup language (EMMA) — XML — representation of the result. | ||
4214 | SpeechRecognitionEvent.interpretation | API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, interpretation, recognition, speech |
The interpretation read-only property of the SpeechRecognitionEvent interface returns the semantic meaning of what the user said. | ||
4215 | SpeechRecognitionEvent.resultIndex | API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, resultIndex, speech |
The resultIndex read-only property of the SpeechRecognitionEvent interface returns the lowest index value result in the SpeechRecognitionResultList "array" that has actually changed. | ||
4216 | SpeechRecognitionEvent.results | API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, results, speech |
The results read-only property of the SpeechRecognitionEvent interface returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session. | ||
4217 | SpeechRecognitionResult | API, Experimental, Interface, Reference, SpeechRecognitionResult, Web Speech API, recognition, speech |
The SpeechRecognitionResult interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects. | ||
4218 | SpeechRecognitionResult.isFinal | API, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, isFinal, recognition, speech |
The isFinal read-only property of the SpeechRecognitionResult interface is a Boolean that states whether this result is final (true ) or not (false ) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on. | ||
4219 | SpeechRecognitionResult.item() | API, Experimental, Getter, Method, Reference, SpeechRecognitionResult, Web Speech API, item, recognition, speech |
The item getter of the SpeechRecognitionResult interface is a standard getter that allows SpeechRecognitionAlternative objects within the result to be accessed via array syntax. | ||
4220 | SpeechRecognitionResult.length | API, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, length, recognition, speech |
The length read-only property of the SpeechRecognitionResult interface returns the length of the "array" — thenumber of SpeechRecognitionAlternative objects contained in the result (also referred to as "n-best alternatives".) | ||
4221 | SpeechRecognitionResultList | API, Experimental, Interface, Reference, SpeechRecognitionResultList, Web Speech API, recognition, speech |
The SpeechRecognitionResultList interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode. | ||
4222 | SpeechRecognitionResultList.item() | API, Experimental, Getter, Method, Reference, SpeechRecognitionResultList, Web Speech API, item, recognition, speech |
The item getter of the SpeechRecognitionResultList interface is a standard getter — it allows SpeechRecognitionResult objects in the list to be accessed via array syntax. | ||
4223 | SpeechRecognitionResultList.length | API, Experimental, Property, Reference, SpeechRecognitionResultList, Web Speech API, length, recognition, speech |
The length read-only property of the SpeechRecognitionResultList interface returns the length of the "array" — thenumber of SpeechRecognitionResult objects in the list. | ||
4224 | SpeechSynthesis | API, Experimental, Interface, Reference, SpeechSynthesis, Web Speech API, speech, synthesis |
The SpeechSynthesis interface of the Web Speech API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. | ||
4225 | SpeechSynthesis.cancel() | API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, cancel, speech, synthesis |
The cancel() method of the SpeechSynthesis interface removes all utterances from the utterance queue. | ||
4226 | SpeechSynthesis.getVoices() | API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, getVoices, speech, synthesis |
The getVoices() method of the SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device. | ||
4227 | SpeechSynthesis.onvoiceschanged | API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, onvoiceschanged, speech, synthesis |
The onvoiceschanged property of the SpeechSynthesis interface represents an event handler that will run when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.) | ||
4228 | SpeechSynthesis.pause() | API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, pause, speech, synthesis |
The pause() method of the SpeechSynthesis interface puts the SpeechSynthesis object into a paused state. | ||
4229 | SpeechSynthesis.paused | API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, paused, speech, synthesis |
The paused read-only property of the SpeechSynthesis interface is a Boolean that returns true if the SpeechSynthesis object is in a paused state, or false if not. | ||
4230 | SpeechSynthesis.pending | API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, pending, speech, synthesis |
The pending read-only property of the SpeechSynthesis interface is a Boolean that returns true if the utterance queue contains as-yet-unspoken utterances. | ||
4231 | SpeechSynthesis.resume() | API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, resume, speech, synthesis |
The resume() method of the SpeechSynthesis interface puts the SpeechSynthesis object into a non-paused state: resumes it if it was already paused. | ||
4232 | SpeechSynthesis.speak() | API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, speak, speech, synthesis |
The speak() method of the SpeechSynthesis interface adds an SpeechSynthesisUtterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken. | ||
4233 | SpeechSynthesis.speaking | API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, speaking, speech, synthesis |
The speaking read-only property of the SpeechSynthesis interface is a Boolean that returns true if an utterance is currently in the process of being spoken — even if SpeechSynthesis is in a SpeechSynthesis/pause() state. | ||
4234 | SpeechSynthesis: voiceschanged event | Event, Reference, Web Speech API |
The voiceschanged event of the Web Speech API is fired when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.) | ||
4235 | SpeechSynthesisErrorEvent | API, Experimental, Interface, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis |
The SpeechSynthesisErrorEvent interface of the Web Speech API contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service. | ||
4236 | SpeechSynthesisErrorEvent.error | API, Error, Experimental, Property, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis |
The error property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt. | ||
4237 | SpeechSynthesisEvent | API, Experimental, Interface, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis |
The SpeechSynthesisEvent interface of the Web Speech API contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service. | ||
4238 | SpeechSynthesisEvent.charIndex | API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, charIndex, speech, synthesis |
The charIndex read-only property of the SpeechSynthesisUtterance interface returns the index position of the character in the SpeechSynthesisUtterance.text that was being spoken when the event was triggered. | ||
4239 | SpeechSynthesisEvent.elapsedTime | API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, elapsedTime, speech, synthesis |
The elapsedTime read-only property of the SpeechSynthesisUtterance interface returns the elapsed time in seconds after the SpeechSynthesisUtterance.text started being spoken that the event was triggered at. | ||
4240 | SpeechSynthesisEvent.name | API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, name, speech, synthesis |
The name read-only property of the SpeechSynthesisUtterance interface returns the name associated with certain types of events occuring as the SpeechSynthesisUtterance.text is being spoken: the name of the SSML marker reached in the case of a mark event, or the type of boundary reached in the case of a boundary event. | ||
4241 | SpeechSynthesisEvent.utterance | API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis, utterance |
The utterance read-only property of the SpeechSynthesisUtterance interface returns the SpeechSynthesisUtterance instance that the event was triggered on. | ||
4242 | SpeechSynthesisUtterance | API, Experimental, Interface, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis |
The SpeechSynthesisUtterance interface of the Web Speech API represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.) | ||
4243 | SpeechSynthesisUtterance: boundary event | Event, Reference, Web Speech API |
The boundary event of the Web Speech API is fired when the spoken utterance reaches a word or sentence boundary. | ||
4244 | SpeechSynthesisUtterance: end event | Event, Reference, Web Speech API |
The end event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance has finished being spoken. | ||
4245 | SpeechSynthesisUtterance: error event | Event, Reference, Web Speech API |
The error event of the Web Speech API SpeechSynthesisUtterance object is fired when an error occurs that prevents the utterance from being succesfully spoken. | ||
4246 | SpeechSynthesisUtterance.lang | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, lang, speech, synthesis |
The lang property of the SpeechSynthesisUtterance interface gets and sets the language of the utterance. | ||
4247 | SpeechSynthesisUtterance: mark event | Event, Reference, Web Speech API |
The mark event of the Web Speech API SpeechSynthesisUtterance object is fired when the spoken utterance reaches a named SSML "mark" tag. | ||
4248 | SpeechSynthesisUtterance.onboundary | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onboundary, speech, synthesis |
The onboundary property of the SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a word or sentence boundary (when the boundary event fires.) | ||
4249 | SpeechSynthesisUtterance.onend | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onend, speech, synthesis |
The onend property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has finished being spoken (when the end event fires.) | ||
4250 | SpeechSynthesisUtterance.onerror | API, Experimental, Property, Reference, SpeechSynthesisUtterance, onerror, speech, synthesis |
The onerror property of the SpeechSynthesisUtterance interface represents an event handler that will run when an error occurs that prevents the utterance from being succesfully spoken (when the error_(SpeechSynthesis) event fires.) | ||
4251 | SpeechSynthesisUtterance.onmark | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onmark, speech, synthesis |
The onmark property of the SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a named SSML mark tag (when the mark event fires.) | ||
4252 | SpeechSynthesisUtterance.onpause | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onpause, speech, synthesis |
The onpause property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance is paused part way through (when the pause_(SpeechSynthesis) event fires.) | ||
4253 | SpeechSynthesisUtterance.onresume | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onresume, speech, synthesis |
The onresume property of the SpeechSynthesisUtterance interface represents an event handler that will run when a paused utterance is resumed (when the resume event fires.) | ||
4254 | SpeechSynthesisUtterance.onstart | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onstart, speech, synthesis |
The onstart property of the SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has begun to be spoken (when the start event fires.) | ||
4255 | SpeechSynthesisUtterance: pause event | Event, Reference, Web Speech API |
The pause event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance is paused part way through. | ||
4256 | SpeechSynthesisUtterance.pitch | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, pitch, speech, synthesis |
The pitch property of the SpeechSynthesisUtterance interface gets and sets the pitch at which the utterance will be spoken at. | ||
4257 | SpeechSynthesisUtterance.rate | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, rate, speech, synthesis |
The rate property of the SpeechSynthesisUtterance interface gets and sets the speed at which the utterance will be spoken at. | ||
4258 | SpeechSynthesisUtterance: resume event | Event, Reference, Web Speech API |
The resume event of the Web Speech API SpeechSynthesisUtterance object is fired when a paused utterance is resumed. | ||
4259 | SpeechSynthesisUtterance.SpeechSynthesisUtterance() | API, Constructor, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis |
The SpeechSynthesisUtterance() constructor of the SpeechSynthesisUtterance interface returns a new SpeechSynthesisUtterance object instance. | ||
4260 | SpeechSynthesisUtterance: start event | Event, Reference, Web Speech API |
The start event of the Web Speech API SpeechSynthesisUtterance object is fired when the utterance has begun to be spoken. | ||
4261 | SpeechSynthesisUtterance.text | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Text, Web Speech API, speech, synthesis |
The text property of the SpeechSynthesisUtterance interface gets and sets the text that will be synthesised when the utterance is spoken. | ||
4262 | SpeechSynthesisUtterance.voice | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Voice, Web Speech API, speech, synthesis |
The voice property of the SpeechSynthesisUtterance interface gets and sets the voice that will be used to speak the utterance. | ||
4263 | SpeechSynthesisUtterance.volume | API, Experimental, Property, Reference, SpeechSynthesisUtterance, Volume, Web Speech API, speech, synthesis |
The volume property of the SpeechSynthesisUtterance interface gets and sets the volume that the utterance will be spoken at. | ||
4264 | SpeechSynthesisVoice | API, Experimental, Interface, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis |
The SpeechSynthesisVoice interface of the Web Speech API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI. | ||
4265 | SpeechSynthesisVoice.default | API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, default, speech, synthesis |
The default read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is the default voice for the current app (true ), or not (false .) | ||
4266 | SpeechSynthesisVoice.lang | API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, lang, speech, synthesis |
The lang read-only property of the SpeechSynthesisVoice interface returns a BCP 47 language tag indicating the language of the voice. | ||
4267 | SpeechSynthesisVoice.localService | API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, localService, speech, synthesis |
The localService read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is supplied by a local speech synthesizer service (true ), or a remote speech synthesizer service (false .) | ||
4268 | SpeechSynthesisVoice.name | API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, name, speech, synthesis |
The name read-only property of the SpeechSynthesisVoice interface returns a human-readable name that represents the voice. | ||
4269 | SpeechSynthesisVoice.voiceURI | API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis, voiceURI |
The voiceURI read-only property of the SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice. | ||
4270 | StaticRange | API, Content Range, DOM, DOM API, DOM Tree, Interface, Reference, Static Range API, StaticRange |
The DOM StaticRange interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree. | ||
4271 | StaticRange.collapsed | API, DOM, DOM API, Empty, Property, Range, Reference, Static Range API, StaticRange, collapsed |
The collapsed read-only property of the StaticRange interface returns true if the range's start position and end position are the same. | ||
4272 | StaticRange.endContainer | API, DOM, DOM API, Property, Reference, Static Range API, StaticRange, endContainer |
The endContainer property of the StaticRange interface returns the end Node for the range. | ||
4273 | StaticRange.endOffset | API, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, endOffset, offset, startContainer |
The endOffset property of the StaticRange interface returns the offset into the end node of the range's end position. | ||
4274 | StaticRange.startContainer | API, DOM, DOM API, Property, Range, Read-only, Reference, Static Range API, StaticRange, container, start, startContainer |
The read-only startContainer property of the StaticRange interface returns the start Node for the range. | ||
4275 | StaticRange.startOffset | API, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, startContainer |
The read-only startOffset property of the StaticRange interface returns the offset into the start node of the range's start position. | ||
4276 | StaticRange.StaticRange() | API, Constructor, DOM, DOM API, Range, Reference, StaticRange |
The StaticRange() constructor creates a new StaticRange object representing a span of content within the DOM. | ||
4277 | StaticRange.toRange() | API, Experimental, Method, Reference, Static Range API, StaticRange, toRange() |
The toRange() property of the StaticRange interface converts the StaticRange object to a Range object. | ||
4278 | StereoPannerNode | API, Audio, Interface, Reference, StereoPannerNode, Web Audio API |
The StereoPannerNode interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right. It is an AudioNode audio-processing module that positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm. | ||
4279 | StereoPannerNode.pan | API, Property, Read-only, Reference, StereoPannerNode, Web Audio API |
The pan property of the StereoPannerNode interface is an a-rate AudioParam representing the amount of panning to apply. The value can range between -1 (full left pan) and 1 (full right pan). | ||
4280 | StereoPannerNode.StereoPannerNode() | API, Audio, Constructor, Media, Reference, StereoPannerNode, Web Audio API |
The StereoPannerNode() constructor of the Web Audio API creates a new StereoPannerNode object which is an AudioNode that represents a simple stereo panner node that can be used to pan an audio stream left or right. | ||
4281 | Storage Access API | API, Reference, Storage, Storage Access API |
The Storage Access API provides a way for embedded, cross-origin content to gain unrestricted access to storage that it would normally only have access to in a first-party context (we refer to this as an origin’s first-party storage). | ||
4282 | Using the Storage Access API | API, DOM, Guide, Reference, Storage, Storage Access API |
The Storage Access API should be used by embedded cross-origin documents to verify whether they have access to their first-party storage and, if not, to request access. We’ll briefly look at a common storage access scenario. | ||
4283 | Storage API | API, Overview, Quotas, Reference, Secure context, Storage, Storage API, Usage |
Storage | ||
4284 | Storage | API, Interface, Reference, Storage, Web Storage, data |
The Storage interface of the Web Storage API provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. | ||
4285 | Storage.clear() | API, Method, Reference, Storage, Web Storage |
The clear() method of the Storage interface clears all keys stored in a given Storage object. | ||
4286 | Storage.getItem() | API, Method, Reference, Storage, Web Storage |
The getItem() method of the Storage interface, when passed a key name, will return that key's value, or null if the key does not exist, in the given Storage object. | ||
4287 | Storage.key() | API, Method, Reference, Storage, Web Storage |
The key() method of the Storage interface, when passed a number n, returns the name of the nth key in a given Storage object. The order of keys is user-agent defined, so you should not rely on it. | ||
4288 | Storage.length | API, Property, Read-only, Reference, Storage, Web Storage |
The length read-only property of the Storage interface returns the number of data items stored in a given Storage object. | ||
4289 | Storage.removeItem() | API, Method, Reference, Storage, Web Storage |
The removeItem() method of the Storage interface, when passed a key name, will remove that key from the given Storage object if it exists. The Storage interface of the Web Storage API provides access to a particular domain's session or local storage. | ||
4290 | Storage.setItem() | API, Method, Reference, Storage, Web Storage |
The setItem() method of the Storage interface, when passed a key name and value, will add that key to the given Storage object, or update that key's value if it already exists. | ||
4291 | StorageEstimate | API, Dictionary, Interface, Quotas, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage |
The StorageEstimate dictionary is used by the StorageManager to provide estimates of the size of a site's or application's data store and how much of it is in use. The StorageManager.estimate method returns an object that conforms to this dictionary when its Promise resolves. | ||
4292 | StorageEstimate.quota | API, Property, Quota, Quotas, Reference, Secure context, StorageEstimate |
The StorageEstimate dictionary's quota property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate() ; there may be more space available, but there will not be less. This value is an estimate to help prevent its use for fingerprinting—that is, identifying a device using an amalgamation of the values of seemingly innocuous properties. | ||
4293 | StorageEstimate.usage | API, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage |
The StorageEstimate dictionary's usage property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate() ; there may be more space available, but there will not be less. The value is an estimate because the user agent may use compression, duplication prevention techniques, and other methods to improve storage efficiency. | ||
4294 | StorageEvent | API, Event, Reference, StorageEvent, Web Storage API |
A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. | ||
4295 | StorageManager | API, Interface, Persistence, Quotas, Reference, Secure context, Storage, Storage API, StorageManager, Usage |
The StorageManager interface of the Storage API provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either navigator.storage or WorkerNavigator.storage . | ||
4296 | StorageManager.estimate() | API, Method, Quota, Reference, Secure context, Storage, Storage API, StorageManager, Usage, estimate |
The estimate() method of the StorageManager interface asks the Storage Manager for how much storage the current origin takes up (usage ), and how much space is available (quota ). | ||
4297 | StorageManager.persist() | Method, Reference, Secure context, Storage API, persist() |
The persist() method of the StorageManager interface requests permission to use persistent storage, and returns a Promise that resolves to true if permission is granted and box mode is persistent, and false otherwise. | ||
4298 | StorageManager.persisted() | Method, Reference, Secure context, Storage API, persisted() |
The persisted() method of the StorageManager interface returns a Promise that resolves to true if box mode is persistent for your site's storage. | ||
4299 | StorageQuota | Interface, Obsolete, Quota Management API, Reference, StorageQuota |
The storageQuota property of the Navigator interface of the Quota Management API provides means to query and request storage usage and quota information. | ||
4300 | StorageQuota.queryInfo | Property, Quota Management API, Reference, StorageQuota |
The queryInfo() property of the StorageQuota interface returns a StorageInfo object containting the current data usage and available quota information for the application. | ||
4301 | StorageQuota.requestPersistentQuota | Property, Quota Management API, Reference, StorageQuota |
The requestPersistentQuota() property of the StorageQuota interface requests persistent storage for the requesting application and returns a Promise to an instance of StorageInfo . | ||
4302 | StorageQuota.supportedTypes | Property, Quota Management API, Reference, StorageQuota |
The supportedTypes read-only property of the StorageQuota interface returns a list of the available storage types. | ||
4303 | Streams API | API, Experimental, JavaScript, Landing, Reference, Streams |
The Streams API allows JavaScript to programmatically access streams of data received over the network and process them as desired by the developer. | ||
4304 | Streams API concepts | API, Streams, concepts |
The Streams API adds a very useful set of tools to the web platform, providing objects allowing JavaScript to programmatically access streams of data received over the network and process them as desired by the developer. Some of the concepts and terminology associated with streams might be new to you — this article explains all you need to know. | ||
4305 | Using readable streams | API, Controller, Fetch, Guide, ReadableStreams, Streams, pipe chains, readable streams, reader, tee |
As a JavaScript developer, programmatically reading and manipulating streams of data received over the network, chunk by chunk, is very useful! But how do you use the Streams API’s readable stream functionality? This article explains the basics. | ||
4306 | Using writable streams | API, Controller, Guide, Streams, WritableStream, writable streams, writer |
As a JavaScript developer, programmatically writing data to a stream is very useful! This article explains the Streams API’s writable stream functionality. | ||
4307 | StylePropertyMap | API, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMap |
The StylePropertyMap interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration . | ||
4308 | StylePropertyMap.append() | API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, append() |
The append() method of the StylePropertyMap interface adds the passed CSS value to the StylePropertyMap with the given property. | ||
4309 | StylePropertyMap.clear() | API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, clear() |
The clear() method of the StylePropertyMap interface removes all declarations in the StylePropertyMap . | ||
4310 | StylePropertyMap.delete() | API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, delete() |
The delete() method of the StylePropertyMap interface removes the CSS declaration with the given property. | ||
4311 | StylePropertyMap.set() | API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, set() |
The set() method of the StylePropertyMap interface changes the CSS declaration with the given property. | ||
4312 | StylePropertyMapReadOnly | API, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMapReadOnly |
The StylePropertyMapReadOnly interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration . Retrieve an instance of this interface using Element.computedStyleMap . | ||
4313 | StylePropertyMapReadOnly.entries() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, entries() |
The StylePropertyMapReadOnly.entries() method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a Statements/for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well). | ||
4314 | StylePropertyMapReadOnly.forEach() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, forEach() |
The StylePropertyMapReadOnly.forEach() method executes a provided function once for each element of StylePropertyMapReadOnly . | ||
4315 | StylePropertyMapReadOnly.get() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, get() |
The get() method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property. | ||
4316 | StylePropertyMapReadOnly.getAll() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, getAll() |
The getAll() method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property. | ||
4317 | StylePropertyMapReadOnly.has() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, has() |
The has() method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the StylePropertyMapReadOnly object. | ||
4318 | StylePropertyMapReadOnly.keys() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, keys() |
The StylePropertyMapReadOnly.keys() method returns a new Array Iterator containing the keys for each item in StylePropertyMapReadOnly | ||
4319 | StylePropertyMapReadOnly.size | API, CSS Typed Object Model API, Experimental, Houdini, Property, Reference, StylePropertyMapReadOnly, size |
The size read-only property of the StylePropertyMapReadOnly interface returns an unsinged long integer containing the size of the StylePropertyMapReadOnly object. | ||
4320 | StylePropertyMapReadOnly.values() | API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, values() |
The StylePropertyMapReadOnly.values() method returns a new Array Iterator containing the values for each index in the StylePropertyMapReadOnly object. | ||
4321 | StyleSheet | API, CSS, CSSOM, DOM, Interface, Reference, StyleSheet |
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. | ||
4322 | StyleSheet.disabled | API, CSS, CSSOM, Disabled, Property, Reference |
The disabled property of the StyleSheet interface determines whether the style sheet is prevented from applying to the document. | ||
4323 | Stylesheet.href | API, CSSOM, Property, Reference |
The href property of the StyleSheet interface returns the location of the style sheet. | ||
4324 | StyleSheet.media | API, CSSOM, Property, Reference |
The media property of the StyleSheet interface specifies the intended destination media for style information. It is a read-only, array-like MediaList object and can be removed with deleteMedium() and added with appendMedium() . | ||
4325 | StyleSheet.ownerNode | API, CSSOM, NeedsSpecTable, Property, Reference |
The ownerNode property of the StyleSheet interface returns the node that associates this style sheet with the document. | ||
4326 | StyleSheet.parentStyleSheet | API, CSSOM, NeedsSpecTable, Property, Reference |
The parentStyleSheet property of the StyleSheet interface returns the style sheet, if any, that is including the given style sheet. | ||
4327 | StyleSheet.title | API, CSSOM, NeedsSpecTable, Property, Reference |
The title property of the StyleSheet interface returns the advisory title of the current style sheet. | ||
4328 | StyleSheet.type | API, CSSOM, NeedsSpecTable, Property, Reference |
The type property of the StyleSheet interface specifies the style sheet language for the given style sheet. | ||
4329 | StyleSheetList | API, CSSOM, NeedsContent, NeedsUpdate |
The StyleSheetList interface represents a list of StyleSheet . | ||
4330 | SubmitEvent | API, Form Submission, Forms, HTML DOM, Interface, Reference, SubmitEvent, Web, events, submit |
The SubmitEvent interface defines the object used to represent an HTML form's HTMLFormElement.submit_event event. This event is fired at the form when the form's submit action is invoked. | ||
4331 | SubmitEvent() | API, Allocate, Constructor, Event, Forms, HTML DOM, Initialize, Reference, SubmitEvent, submit |
The SubmitEvent() constructor creates and returns a new SubmitEvent object, which is used to represent a HTMLFormElement.submit_event event fired at an HTML form. | ||
4332 | SubmitEvent.submitter | API, Forms, HTML, HTML DOM, Property, Read-only, Reference, SubmitEvent, submission, submitter |
The read-only submitter property found on the SubmitEvent interface specifies the submit button or other element that was invoked to cause the form to be submitted. | ||
4333 | SubtleCrypto | API, Advanced, Cryptography, Encryption, Interface, Reference, SubtleCrypto, Web Crypto API |
The SubtleCrypto interface of the Web Crypto API provides a number of low-level cryptographic functions. Access to the features of SubtleCrypto is obtained through the Crypto.subtle property of the Crypto object you get from Window.crypto . | ||
4334 | SubtleCrypto.decrypt() | API, Decrypt, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API |
The decrypt() method of the SubtleCrypto interface decrypts some encrypted data. It takes as arguments a key to decrypt with, some optional extra parameters, and the data to decrypt (also known as "ciphertext"). It returns a Promise which will be fulfilled with the decrypted data (also known as "plaintext"). | ||
4335 | SubtleCrypto.deriveBits() | API, Crypto, Method, Reference, SubtleCrypto, deriveBits |
The deriveBits() method of the SubtleCrypto interface can be used to derive an array of bits from a base key. | ||
4336 | SubtleCrypto.deriveKey() | API, Crypto, Method, Reference, SubtleCrypto, Web, deriveKey |
The deriveKey() method of the SubtleCrypto interface can be used to derive a secret key from a master key. | ||
4337 | SubtleCrypto.digest() | API, Method, Reference, SubtleCrypto, WebCrypto API, digest |
The digest() method of the SubtleCrypto interface generates a digest of the given data. A digest is a short fixed-length value derived from some variable-length input. Cryptographic digests should exhibit collision-resistance, meaning that it's hard to come up with two different inputs that have the same digest value. | ||
4338 | SubtleCrypto.encrypt() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, encrypt |
The encrypt() method of the SubtleCrypto interface encrypts data. | ||
4339 | SubtleCrypto.exportKey() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, exportKey |
The exportKey() method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format. | ||
4340 | SubtleCrypto.generateKey() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, generateKey |
Use the generateKey() method of the SubtleCrypto interface to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms). | ||
4341 | SubtleCrypto.importKey() | API, Method, Reference, SubtleCrypto, Web Crypto API, importKey |
The importKey() method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API. | ||
4342 | SubtleCrypto.sign() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, sign |
The sign() method of the SubtleCrypto interface generates a digital signature. | ||
4343 | SubtleCrypto.unwrapKey() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, unwrapKey |
The unwrapKey() method of the SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web Crypto API. | ||
4344 | SubtleCrypto.verify() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, verify |
The verify() method of the SubtleCrypto interface verifies a digital signature. | ||
4345 | SubtleCrypto.wrapKey() | API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, wrapKey |
The wrapKey() method of the SubtleCrypto interface "wraps" a key. This means that it exports the key in an external, portable format, then encrypts the exported key. Wrapping a key helps protect it in untrusted environments, such as inside an otherwise unprotected data store or in transmission over an unprotected network. | ||
4346 | SVGAElement | API, Reference, SVG, SVGAElement |
The SVGAElement interface provides access to the properties of a element, as well as methods to manipulate them. | ||
4347 | SVGAElement.target | API, NeedsBrowserCompatibility, Property, Reference, SVG |
The SVGAElement.target read-only property of SVGAElement returns an SVGAnimatedString object that specifies the portion of a target window, frame, pane into which a document is to be opened when a link is activated. | ||
4348 | SVGAltGlyphDefElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGAltGlyphDefElement interface corresponds to the altGlyphDef element. | ||
4349 | SVGAltGlyphElement | API, Deprecated, NeedsExample, Reference, SVG, SVGAltGlyphElement |
The SVGAltGlyphElement interface represents an altglyph element. This interface makes it possible to implement more sophisticated and particular glyph characters. For some textal representations as: ligatures (e.g. æ, ß, etc ), special-purpose fonts (e.g. musical symbols) or even alternate glyphs such as Asian text strings it is required that a different set of glyphs be used than the normal given character data. | ||
4350 | format | |
The SVGAltGlyphElement.format property is a DOMString that defines the format of the given font. It has the same meaning as the 'format' property of SVGGlyphRefElement property. If the font is in one of the formats listed in CSS2([CSS2], section15.3.5), then its value is the corresponding <string> parameter of the font. | ||
4351 | SVGAltGlyphElement.glyphRef | API, Deprecated, Property, Reference, SVG, SVGAltGlyphElement, SVGAltGlyphRefElement |
The SVGAltGlyphElement.glyphRef property is a DOMString representing a glyph identifier. It has the same meaning as the ‘glyphRef’ property on the SVGGlyphRefElement interface of the glyphRef element. | ||
4352 | SVGAltGlyphItemElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGAltGlyphItemElement interface corresponds to the altGlyphItem element. | ||
4353 | SVGAngle | API, Reference, SVG, SVG DOM |
The SVGAngle interface is used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only. | ||
4354 | SVGAnimateColorElement | API, Deprecated, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimateColorElement interface corresponds to the animateColor element. | ||
4355 | SVGAnimatedAngle | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedAngle interface is used for attributes of basic type <angle> which can be animated. | ||
4356 | SVGAnimatedBoolean | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated. | ||
4357 | SVGAnimatedEnumeration | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated. | ||
4358 | SVGAnimatedInteger | API, NeedsBrowserCompatibility, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated. | ||
4359 | SVGAnimatedLength | API, Reference, Référence(2), SVG |
The SVGAnimatedLength interface is used for attributes of basic type <length> which can be animated. | ||
4360 | SVGAnimatedLengthList | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedLengthList interface is used for attributes of type SVGLengthList which can be animated. | ||
4361 | SVGAnimatedNumber | API, HTML, NeedsExample, SVG, SVG DOM |
The SVGAnimatedNumber interface is used for attributes of basic type <Number> which can be animated. | ||
4362 | SVGAnimatedNumberList | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated. | ||
4363 | SVGAnimatedPoints | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute. | ||
4364 | SVGAnimatedPreserveAspectRatio | API, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedPreserveAspectRatio interface is used for attributes of type SVGPreserveAspectRatio which can be animated. | ||
4365 | SVGAnimatedRect | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated. | ||
4366 | SVGAnimatedString | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this. | ||
4367 | SVGAnimatedString.animVal | |
AnimVal attribute or animVal property contains the same value as the baseVal property.If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal | ||
4368 | SVGAnimatedString.baseVal | |
BaseVal gets or sets the base value of the given attribute before any animations are applied.The base value of the given attribute before applying any animations. Setter throws DOMException. | ||
4369 | SVGAnimatedTransformList | API, Reference, Référence(2), SVG, SVG DOM |
The SVGAnimatedTransformList interface is used for attributes which take a list of numbers and which can be animated. | ||
4370 | SVGAnimateElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimateElement interface corresponds to the animate element. | ||
4371 | SVGAnimateMotionElement | API, Reference, SVG, SVG DOM |
The SVGAnimateMotionElement interface corresponds to the animateMotion element. | ||
4372 | SVGAnimateTransformElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimateTransformElement interface corresponds to the animateTransform element. | ||
4373 | SVGAnimationElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement , SVGSetElement , SVGAnimateColorElement , SVGAnimateMotionElement and SVGAnimateTransformElement . | ||
4374 | SVGAnimationElement: beginEvent event | API, Reference, SVG Animation, SVGAnimationElement, beginEvent, events |
The beginEvent event of the SVGAnimationElement interface is fired when the element local timeline begins to play. It will be raised each time the element begins the active duration (i.e., when it restarts, but not when it repeats). | ||
4375 | SVGAnimationElement: endEvent event | API, Reference, SMIL, SVG animations, SVGAnimationElement, events |
The endEvent event of the SVGAnimationElement interface is fired when at the active end of the animation is reached. | ||
4376 | SVGAnimationElement.onbegin | API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGAnimationElement.onbegin property refers to the event handler for the beginEvent . | ||
4377 | SVGAnimationElement.onend | API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGAnimationElement.onend property refers to the event handler for the endEvent . | ||
4378 | SVGAnimationElement.onrepeat | API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGAnimationElement.onrepeat property refers to the event handler for the repeatEvent . | ||
4379 | SVGAnimationElement: repeatEvent event | API, Reference, SMIL, SVG animations, SVGAnimationElement, events |
The repeatEvent event of the SVGAnimationElement interface is fired when the element's local timeline repeats. It will be fired each time the element repeats, after the first iteration. | ||
4380 | targetElement | API, DOM, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGAnimationElement.targetElement property refers to the element which is being animated. If no target element is being animated (for example, because the href attribute specifies an unknown element), the value returned is null . | ||
4381 | SVGCircleElement | API, DOM, Interface, JavaScript, SVG, SVGCircleElement |
The SVGCircleElement interface is an interface for the circle element. | ||
4382 | cx | API, Property, Reference, SVG, SVGCircleElement, cx |
The cx read-only property of the SVGCircleElement interface reflects the cx attribute of a circle element and by that defines the x-coordinate of the circleʼs center. | ||
4383 | cy | API, Property, Reference, SVG, SVGCircleElement, cy |
The cy read-only property of the SVGCircleElement interface reflects the cy attribute of a circle element and by that defines the y-coordinate of the circleʼs center. | ||
4384 | r | API, Property, Reference, SVG, SVGCircleElement, r |
The r read-only property of the SVGCircleElement interface reflects the r attribute of a circle element and by that defines the radius of the circle. | ||
4385 | SVGClipPathElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGClipPathElement interface provides access to the properties of clipPath elements, as well as methods to manipulate them. | ||
4386 | SVGColorProfileElement | API, Deprecated, NeedsExample, Reference, SVG, SVG DOM |
The SVGColorProfileElement interface corresponds to the color-profile element. | ||
4387 | SVGComponentTransferFunctionElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGComponentTransferFunctionElement interface defines a base interface used by the component transfer function interfaces. | ||
4388 | SVGCursorElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGCursorElement interface provides access to the properties of cursor elements, as well as methods to manipulate them. | ||
4389 | SVGDefsElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGDefsElement interface corresponds to the defs element. | ||
4390 | SVGDescElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGDescElement interface corresponds to the desc element. | ||
4391 | SVGElement | API, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGElement |
All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. | ||
4392 | SVGElement: abort event | API, Reference, SVGElement, abort, events |
The abort event is fired when page loading is stopped before an SVG element has been allowed to load completely. This basically implements the standard abort DOM event. | ||
4393 | SVGElement: error event | API, Error, Reference, SVGElement, events |
The error event is fired when an SVG element does not load properly or when an error occurs during script execution. | ||
4394 | SVGElement: load event | API, Reference, SVGElement, events, load |
The load event fires on an SVGElement when it is loaded in the browser, e.g. in the DOM in the case of an embedded <svg> . It is basically the same as the standard load DOM event. | ||
4395 | SVGElement: resize event | API, Reference, SVGElement, events, resize |
The resize event is fired when an SVG document is being resized. This event is only applicable to outermost SVG elements and is dispatched after the resize operation has taken place. | ||
4396 | SVGElement: scroll event | API, Reference, SVGElement, Scroll, events |
The scroll event is fired when an SVG document view is being shifted along the X and/or Y axes. This basically implements the standard scroll DOM event. | ||
4397 | SVGElement: unload event | API, Reference, SVGElement, events, unload |
The unload event is fired when the DOM implementation removes an SVG document from a window or frame. | ||
4398 | SVGEllipseElement | API, Reference, SVG, SVG DOM |
The SVGEllipseElement interface provides access to the properties of ellipse elements. | ||
4399 | SVGEvent | API, Reference, SVG, WebAPI |
The SVGEvent interface represents the event object for most SVG-related events. | ||
4400 | SVGExternalResourcesRequired | API, Deprecated, Reference, SVG, SVG DOM |
The SVGExternalResourcesRequired interface defines an interface which applies to all elements where this element or one of its descendants can reference an external resource. | ||
4401 | SVGFEBlendElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEBlendElement interface corresponds to the feBlend element. | ||
4402 | SVGFEColorMatrixElement | API, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Reference, SVG, SVG DOM |
The SVGFEColorMatrixElement interface corresponds to the feColorMatrix element. | ||
4403 | SVGFEComponentTransferElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEComponentTransferElement interface corresponds to the feComponentTransfer element. | ||
4404 | SVGFECompositeElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFECompositeElement interface corresponds to the feComposite element. | ||
4405 | SVGFEConvolveMatrixElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEConvolveMatrixElement interface corresponds to the feConvolveMatrix element. | ||
4406 | SVGFEDiffuseLightingElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEDiffuseLightingElement interface corresponds to the feDiffuseLighting element. | ||
4407 | SVGFEDisplacementMapElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEDisplacementMapElement interface corresponds to the feDisplacementMap element. | ||
4408 | SVGFEDistantLightElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEDistantLightElement interface corresponds to the feDistantLight element. | ||
4409 | SVGFEDropShadowElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEDropShadowElement interface corresponds to the feDropShadow element. | ||
4410 | SVGFEFloodElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEFloodElement interface corresponds to the feFlood element. | ||
4411 | SVGFEFuncAElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEFuncAElement interface corresponds to the feFuncA element. | ||
4412 | SVGFEFuncBElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEFuncBElement interface corresponds to the feFuncB element. | ||
4413 | SVGFEFuncGElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEFuncGElement interface corresponds to the feFuncG element. | ||
4414 | SVGFEFuncRElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEFuncRElement interface corresponds to the feFuncR element. | ||
4415 | SVGFEGaussianBlurElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEGaussianBlurElement interface corresponds to the feGaussianBlur element. | ||
4416 | SVGFEImageElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEImageElement interface corresponds to the feImage element. | ||
4417 | SVGFEMergeElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEMergeElement interface corresponds to the feMerge element. | ||
4418 | SVGFEMergeNodeElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEMergeNodeElement interface corresponds to the feMergeNode element. | ||
4419 | SVGFEMorphologyElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEMorphologyElement interface corresponds to the feMorphology element. | ||
4420 | SVGFEOffsetElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEOffsetElement interface corresponds to the feOffset element. | ||
4421 | SVGFEPointLightElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFEPointLightElement interface corresponds to the fePointLight element. | ||
4422 | SVGFESpecularLightingElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFESpecularLightingElement interface corresponds to the feSpecularLighting element. | ||
4423 | SVGFESpotLightElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFESpotLightElement interface corresponds to the feSpotLight element. | ||
4424 | SVGFETileElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFETileElement interface corresponds to the feTile element. | ||
4425 | SVGFETurbulenceElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFETurbulenceElement interface corresponds to the feTurbulence element. | ||
4426 | SVGFilterElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFilterElement interface provides access to the properties of filter elements, as well as methods to manipulate them. | ||
4427 | SVGFilterPrimitiveStandardAttributes | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGFilterPrimitiveStandardAttributes interface defines the set of DOM attributes that are common across the filter primitive interfaces. | ||
4428 | SVGFontElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontElement interface corresponds to the font elements. | ||
4429 | SVGFontFaceElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontFaceElement interface corresponds to the font-face elements. | ||
4430 | SVGFontFaceFormatElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontFaceFormatElement interface corresponds to the font-face-format elements. | ||
4431 | SVGFontFaceNameElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontFaceNameElement interface corresponds to the font-face-name elements. | ||
4432 | SVGFontFaceSrcElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontFaceSrcElement interface corresponds to the font-face-src elements. | ||
4433 | SVGFontFaceUriElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGFontFaceUriElement interface corresponds to the font-face-uri elements. | ||
4434 | SVGForeignObjectElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGForeignObjectElement interface provides access to the properties of foreignObject elements, as well as methods to manipulate them. | ||
4435 | SVGGElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGGElement interface corresponds to the g element. | ||
4436 | SVGGeometryElement | API, DOM, NeedsExample, Reference, SVG, SVG DOM |
The SVGGeometryElement interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes. | ||
4437 | SVGGeometryElement.getPointAtLength() | API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM |
The SVGGeometryElement.getPointAtLength() method returns the point at a given distance along the path. | ||
4438 | SVGGeometryElement.getTotalLength() | API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM |
The SVGGeometryElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units. | ||
4439 | SVGGeometryElement.isPointInFill() | API, DOM, Method, Reference, SVG, SVG DOM |
The SVGGeometryElement.isPointInFill() method determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the fill. The point argument is interpreted as a point in the local coordinate system of the element. | ||
4440 | SVGGeometryElement.isPointInStroke() | API, DOM, Method, Reference, SVG, SVG DOM |
The SVGGeometryElement.isPointInStroke() method determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke. The point argument is interpreted as a point in the local coordiante system of the element. | ||
4441 | SVGGeometryElement.pathLength | API, DOM, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGGeometryElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units. | ||
4442 | SVGGlyphElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGGlyphElement interface corresponds to the glyph element. | ||
4443 | SVGGlyphRefElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGGlyphRefElement interface corresponds to the glyphRef elements. | ||
4444 | SVGGradientElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement . | ||
4445 | SVGGraphicsElement | API, NeedsExample, Reference, SVG, SVG OM |
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group. | ||
4446 | SVGGraphicsElement: copy event | API, Event, Reference, SVG, SVG OM |
The copy event fires on SVGGraphicsElement when the user initiates a copy action through the browser's user interface. | ||
4447 | SVGGraphicsElement: cut event | API, Event, NeedsExample, Reference, SVG, SVG OM |
The cut event is fired on an SVGGraphicsElement when the user has initiated a "cut" action through the browserʼs user interface. | ||
4448 | getBBox() | API, Method, Reference, SVG, SVG DOM, SVGGraphicsElement |
The SVGGraphicsElement.getBBox() allows us to determine the coordinates of the smallest rectangle in which the object fits. The coordinates returned are with respect to the current SVG space (after the application of all geometry attributes on all the elements contained in the target element). | ||
4449 | SVGGraphicsElement: paste event | API, Event, Reference, SVG, SVG OM |
The paste event is fired on an SVGGraphicsElement when the user has initiated a "paste" action through the browser's user interface. | ||
4450 | SVGHKernElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGHKernElement interface corresponds to the hkern elements. | ||
4451 | SVGImageElement | API, Image, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement |
The SVGImageElement interface corresponds to the image element. | ||
4452 | SVGImageElement.decode | API, Decode, Experimental, Image, Method, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement, asynchronous |
The decode() method of the SVGImageElement interface initiates asynchronous decoding of an image, returning a Promise that | ||
4453 | SVGImageElement.decoding | API, Image, Property, Reference, SVG, SVG DOM, SVGImageElement, decoding |
The decoding property of the SVGImageElement interface represents a hint given to the browser on how it should decode the image. | ||
4454 | SVGImageElement.height | API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, height |
The height read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the height attribute of the given image element. | ||
4455 | SVGImageElement.preserveAspectRatio | API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, preserveAspectRatio |
The preserveAspectRatio read-only property of the SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given image element. | ||
4456 | SVGImageElement.width | API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, width |
The width read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the width attribute of the given image element. | ||
4457 | SVGImageElement.x | API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, x |
The x read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the x attribute of the given image element. | ||
4458 | SVGImageElement.y | API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, y |
The y read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the y attribute of the given image element. | ||
4459 | SVGLength | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGLength interface correspond to the <length> basic data type. | ||
4460 | SVGLengthList | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGLengthList defines a list of SVGLength objects. | ||
4461 | SVGLinearGradientElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGLinearGradientElement interface corresponds to the linearGradient element. | ||
4462 | SVGLineElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGLineElement interface provides access to the properties of line elements, as well as methods to manipulate them. | ||
4463 | SVGMaskElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGMaskElement interface provides access to the properties of mask elements, as well as methods to manipulate them. | ||
4464 | SVGMatrix | API, Deprecated, Reference, SVG, SVG DOM |
Many of SVG's graphics operations utilize 2x3 matrices of the form: | ||
4465 | SVGMetadataElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGMetadataElement interface corresponds to the metadata element. | ||
4466 | SVGMissingGlyphElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGMissingGlyphElement interface corresponds to the missing-glyph elements. | ||
4467 | SVGMPathElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGMPathElement interface corresponds to the mpath element. | ||
4468 | SVGNumber | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGNumber interface corresponds to the <number> basic data type. | ||
4469 | SVGNumberList | API, Reference, Référence(2), SVG, SVG DOM |
The SVGNumberList defines a list of SVGNumber objects. | ||
4470 | SVGPathElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGPathElement interface corresponds to the path element. | ||
4471 | SVGPathElement.getPointAtLength() | API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM |
The SVGPathElement.getPointAtLength() method returns the point at a given distance along the path. | ||
4472 | SVGPathElement.getTotalLength() | API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM |
The SVGPathElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units. | ||
4473 | SVGPathElement.pathLength | API, DOM, Deprecated, NeedsExample, Property, Reference, SVG, SVG DOM |
The SVGPathElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units. | ||
4474 | SVGPatternElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGPatternElement interface corresponds to the pattern element. | ||
4475 | SVGPoint | API, DOM, NeedsContent, SVG |
An SVGPoint represents a 2D or 3D point in the SVG coordinate system. | ||
4476 | SVGPolygonElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGPolygonElement interface provides access to the properties of polygon elements, as well as methods to manipulate them. | ||
4477 | SVGPolylineElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGPolylineElement interface provides access to the properties of polyline elements, as well as methods to manipulate them. | ||
4478 | SVGPreserveAspectRatio | API, Reference, Référence(2), SVG, SVG DOM |
The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements. | ||
4479 | SVGRadialGradientElement | API, Reference, SVG, SVG DOM |
The SVGRadialGradientElement interface corresponds to the RadialGradient element. | ||
4480 | SVGRect | API, Reference, SVG, SVG DOM |
The SVGRect represents a rectangle. Rectangles consist of an x and y coordinate pair identifying a minimum x value, a minimum y value, and a width and height , which are constrained to be non-negative. | ||
4481 | The 'X' property | |
The x property describes the horizontal coordinate of the position of the element. | ||
4482 | SVGRectElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGRectElement interface provides access to the properties of rect elements, as well as methods to manipulate them. | ||
4483 | SVGRenderingIntent | API, Deprecated, Reference, SVG, SVG DOM |
The SVGRenderingIntent interface defines the enumerated list of possible values for rendering-intent attributes or descriptors. | ||
4484 | SVGScriptElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGScriptElement interface corresponds to the SVG script element. | ||
4485 | SVGSetElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGSetElement interface corresponds to the set element. | ||
4486 | SVGSolidcolorElement | API, Experimental, NeedsExample, Reference, SVG, SVG DOM |
The SVGSolidcolorElement interface corresponds to the solidcolor element. | ||
4487 | SVGStopElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGStopElement interface corresponds to the stop element. | ||
4488 | SVGStringList | API, Reference, SVG, SVG DOM |
The SVGStringList defines a list of DOMString objects. | ||
4489 | SVGStylable | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style , class and presentation attributes specified on them. | ||
4490 | SVGStyleElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGStyleElement interface corresponds to the SVG style element. | ||
4491 | SVGSVGElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGSVGElement interface provides access to the properties of svg elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. | ||
4492 | SVGSwitchElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGSwitchElement interface corresponds to the switch element. | ||
4493 | SVGSymbolElement | API, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGSymbolElement |
The SVGSymbolElement interface corresponds to the symbol element. | ||
4494 | SVGTests | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTests interface is used to reflect conditional processing attributes and is mixed into other interfaces for elements that support these attributes. | ||
4495 | SVGTextContentElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTextContentElement interface is implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement , SVGTSpanElement , SVGTRefElement , SVGAltGlyphElement and SVGTextPathElement . | ||
4496 | SVGTextElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTextElement interface corresponds to the text elements. | ||
4497 | SVGTextPathElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTextPathElement interface corresponds to the textPath element. | ||
4498 | SVGTextPositioningElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTextPositioningElement interface is implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement , SVGTSpanElement , SVGTRefElement and SVGAltGlyphElement . | ||
4499 | SVGTitleElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTitleElement interface corresponds to the title element. | ||
4500 | SVGTransform | API, Reference, Référence(2), SVG, SVG DOM |
SVGTransform is the interface for one of the component transformations within an SVGTransformList ; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…) ) within a transform attribute. | ||
4501 | SVGTransformable | API, NeedsExample, Reference, Référence(2), SVG, SVG DOM |
Interface SVGTransformable contains properties and methods that apply to all elements which have attribute transform . | ||
4502 | SVGTransformList | API, Reference, Référence(2), SVG, SVG DOM |
The SVGTransformList defines a list of SVGTransform objects. | ||
4503 | SVGTRefElement | API, Deprecated, NeedsExample, Reference, SVG, SVG DOM |
The SVGTRefElement interface corresponds to the tref elements. | ||
4504 | SVGTSpanElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGTSpanElement interface represents a tspan element. | ||
4505 | SVGUnitTypes | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGUnitTypes interface defines a commonly used set of constants used for reflecting gradientUnits , patternContentUnits and other similar attributes. | ||
4506 | SVGURIReference | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGURIReference interface is used to reflect the href attribute and the deprecated xlink:href attribute. | ||
4507 | SVGUseElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGUseElement interface corresponds to the use element. | ||
4508 | SVGViewElement | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGViewElement interface provides access to the properties of view elements, as well as methods to manipulate them. | ||
4509 | SVGVKernElement | API, Deprecated, Reference, SVG, SVG DOM |
The SVGVKernElement interface corresponds to the vkern elements. | ||
4510 | SVGZoomAndPan | API, NeedsExample, Reference, SVG, SVG DOM |
The SVGZoomAndPan interface is used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute. | ||
4511 | SyncEvent | API, Background Sync, Interface, Non-standard, Offline, Reference, ServiceWorker, SyncEvent, Workers |
The SyncEvent interface represents a sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. | ||
4512 | SyncEvent.lastChance | API, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, lastChance |
The SyncEvent.lastChance read-only property of the SyncEvent interface returns true if the user agent will not make further synchronization attempts after the current attempt. This is the value passed in the lastChance parameter of the SyncEvent.SyncEvent constructor. | ||
4513 | registration | DOM, Junk, Property |
The registration read-only property of the SyncEvent interface returns a reference to a SyncRegistration object. | ||
4514 | SyncEvent.SyncEvent() | API, Background Sync, Constructor, Experimental, Reference, ServiceWorker, SyncEvent |
The SyncEvent() constructor creates a new SyncEvent object. | ||
4515 | SyncEvent.tag | API, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, tag |
The SyncEvent.tag read-only property of the SyncEvent interface returns the developer-defined identifier for this SyncEvent . This is the value passed in the tag parameter of the SyncEvent.SyncEvent constructor. | ||
4516 | SyncManager | API, Interface, Non-standard, Reference, ServiceWorker, SyncManager |
The SyncManager interface of the ServiceWorker API provides an interface for registering and listing sync registrations. | ||
4517 | SyncManager.getTags() | API, Experimental, Method, Reference, ServiceWorker, SyncManager, getTags |
The SyncManager.getTags method of the SyncManager interface returns a list of developer-defined identifiers for SyncManager registrations. | ||
4518 | SyncManager.register() | API, Experimental, Method, Reference, ServiceWorker, SyncManager, register |
The SyncManager.register method of the SyncManager interface returns a Promise that resolves to a SyncRegistration instance. | ||
4519 | TaskAttributionTiming | API, Experimental, Interface, Long Tasks API, Performance, TaskAttributionTiming |
The TaskAttributionTiming interface of the Long Tasks API returns information about the work involved in a long task and its associate frame context. The frame context, also called the container, is the iframe, embed or object that is being implicated, on the whole, for a long task. | ||
4520 | TaskAttributionTiming.containerId | API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming |
The containerId readonly property of the TaskAttributionTiming interface returns the container's id attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task. | ||
4521 | TaskAttributionTiming.containerName | API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming |
The containerName readonly property of the TaskAttributionTiming interface returns the container's name attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task. | ||
4522 | TaskAttributionTiming.containerSrc | API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming |
The containerSrc readonly property of the TaskAttributionTiming interface returns the container's src attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task. | ||
4523 | TaskAttributionTiming.containerType | API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming |
The containerType readonly property of the TaskAttributionTiming interface returns the type of frame container, one of iframe , embed , or object . | ||
4524 | Text | API, DOM, Interface, Reference |
The Text interface represents the textual content of Element or Attr . | ||
4525 | HTMLSlotElement.assignedSlot | API, Property, Reference, Text, assignedSlot, shadow dom |
The assignedSlot property of the Text interface returns the HTMLSlotElement object associated with the element. | ||
4526 | Text.isElementContentWhitespace | API, DOM, Obsolete, Property, Text |
The Text.isElementContentWhitespace read-only property returns a Boolean flag indicating whether or not the text node's content consists solely of whitespace. | ||
4527 | Text.replaceWholeText() | API, DOM, Method, Obsolete, Text |
The Text.replaceWholeText() method replaces the text of the node and all of its logically adjacent text nodes with the specified text. The replaced nodes are removed, including the current node, unless it was the recipient of the replacement text. | ||
4528 | Text.splitText() | API, DOM, Method, Text, splitText |
The Text.splitText() method breaks the Text node into two nodes at the specified offset, keeping both nodes in the tree as siblings. | ||
4529 | Text() | API, Constructor, DOM, Experimental, Reference, Text |
The Text() constructor returns a newly created Text object with the optional DOMString given in parameter as its textual content. | ||
4530 | Text.wholeText | API, DOM, Property, Text |
The Text.wholeText read-only property returns the full text of all Text nodes logically adjacent to the node. | ||
4531 | TextDecoder | API, DOM, Encoding, Experimental, Interface, Reference, TextDecoder |
The TextDecoder interface represents a decoder for a specific text encoding, such as UTF-8 , ISO-8859-2 , KOI8-R , GBK , etc. A decoder takes a stream of bytes as input and emits a stream of code points. | ||
4532 | TextDecoder.prototype.decode() | API, Encoding, Experimental, Method, TextDecoder |
The TextDecoder.prototype.decode() method returns a DOMString containing the text, given in parameters, decoded with the specific method for that TextDecoder object. | ||
4533 | TextDecoder.prototype.encoding | API, Encoding, Experimental, Property, Read-only, TextDecoder |
The TextDecoder.prototype.encoding read-only property returns a DOMString containing the name of the decoding algorithm used by the specific decoder. | ||
4534 | TextDecoder() | API, Constructor, Encoding, Experimental, Reference, TextDecoder |
The TextDecoder() constructor returns a newly created TextDecoder object for the encoding specified in parameter. | ||
4535 | TextEncoder | API, Encoding, Experimental, Interface, Reference, TextEncoder |
TextEncoder takes a stream of code points as input and emits a stream of UTF-8 bytes. | ||
4536 | TextEncoder.prototype.encode() | API, Encoding, Method, Reference, TextEncoder, encode |
The TextEncoder.prototype.encode() method takes a USVString as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object. | ||
4537 | TextEncoder.prototype.encodeInto() | API, Experimental, Method, Reference, TextEncoder, encodeInto |
The TextEncoder.prototype.encodeInto() method takes a USVString to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding. This is potentially more performant than the older encode() method especially when the target buffer is a view into a Wasm heap. | ||
4538 | TextEncoder.encoding | API, Encoding, Property, Read-only, Reference, TextEncoder |
The TextEncoder.encoding read-only property returns a DOMString containing the name of the encoding algorithm used by the specific encoder. | ||
4539 | TextEncoder() | API, Constructor, Encoding, Reference, TextEncoder |
The TextEncoder() constructor returns a newly created utf-8 TextEncoder object. | ||
4540 | TextMetrics | API, Canvas, Reference, TextMetrics |
The TextMetrics interface represents the dimensions of a piece of text in the canvas; a TextMetrics instance can be retrieved using the CanvasRenderingContext2D.measureText() method. | ||
4541 | TextMetrics.actualBoundingBoxAscent | API, Experimental, Property, Reference, TextMetrics |
The read-only actualBoundingBoxAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the bounding rectangle used to render the text, in CSS pixels. | ||
4542 | TextMetrics.actualBoundingBoxDescent | API, Experimental, Property, Reference, TextMetrics |
The read-only actualBoundingBoxDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle used to render the text, in CSS pixels. | ||
4543 | TextMetrics.actualBoundingBoxLeft | API, Experimental, Property, Reference, TextMetrics |
The read-only actualBoundingBoxLeft property of the TextMetrics interface is a double giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the left side of the bounding rectangle of the given text, in CSS pixels. | ||
4544 | TextMetrics.actualBoundingBoxRight | API, Experimental, Property, Reference, TextMetrics |
The read-only actualBoundingBoxRight property of the TextMetrics interface is a double giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the right side of the bounding rectangle of the given text, in CSS pixels. | ||
4545 | TextMetrics.alphabeticBaseline | API, Experimental, Property, Reference, TextMetrics |
The read-only alphabeticBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the alphabetic baseline of the line box, in CSS pixels. | ||
4546 | TextMetrics.emHeightAscent | API, Experimental, Property, Reference, TextMetrics |
The read-only emHeightAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the top of the em square in the line box, in CSS pixels. | ||
4547 | TextMetrics.emHeightDescent | API, Experimental, Property, Reference, TextMetrics |
The read-only emHeightDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the bottom of the em square in the line box, in CSS pixels. | ||
4548 | TextMetrics.fontBoundingBoxAscent | API, Experimental, Property, Reference, TextMetrics |
The read-only fontBoundingBoxAscent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the highest bounding rectangle of all the fonts used to render the text, in CSS pixels. | ||
4549 | TextMetrics.fontBoundingBoxDescent | API, Experimental, Property, Reference, TextMetrics |
The read-only fontBoundingBoxDescent property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle of all the fonts used to render the text, in CSS pixels. | ||
4550 | TextMetrics.hangingBaseline | API, Experimental, Property, Reference, TextMetrics |
The read-only hangingBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the hanging baseline of the line box, in CSS pixels. | ||
4551 | TextMetrics.ideographicBaseline | API, Experimental, Property, Reference, TextMetrics |
The read-only ideographicBaseline property of the TextMetrics interface is a double giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the ideographic baseline of the line box, in CSS pixels. | ||
4552 | TextMetrics.width | API, Canvas, Property, Reference, TextMetrics |
The read-only width property of the TextMetrics interface contains the text's advance width (the width of that inline box) in CSS pixels. | ||
4553 | TextRange | API, DHTML, DOM, TextRange |
A TextRange object represents a fragment of text in a document, similar to the standard defined Range interface. | ||
4554 | TextTrack | API, Interface, Media, Reference, TextTrack, Web, WebVTT |
The TextTrack interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular track element. | ||
4555 | TextTrack: cuechange event | API, Event, Reference, TextTrack, WebVTT, cuechange, oncuechange, track |
The cuechange event fires when a TextTrack has changed the currently displaying cues. | ||
4556 | TextTrack.mode | Accessibility, NeedsExample, Property, TextTrack, Web, WebVTT, mode |
The TextTrack interface's mode property is a string specifying and controlling the text track's mode: disabled , hidden , or showing . | ||
4557 | TextTrackCue | API, Accessibility, Draft, HTML5, Interface, Media, NeedsContent, TextTrack, TextTrackCue, WebVTT, a11y, cue, track, vtt |
TextTrackCue is an abstract class which is used as the basis for the various derived cue types, such as VTTCue ; you will instead work with those derived types. | ||
4558 | TextTrackList | API, HTML DOM, HTMLMediaElement, Interface, Media, Reference, TextTrackList, Track List, Tracks, list |
The TextTrackList interface is used to represent a list of the text tracks defined by the track element, with each track represented by a separate textTrack object in the list. | ||
4559 | TextTrackList: addtrack event | API, Reference, TextTrack, TextTrackList, addTrack, addTrack Event, events |
The addtrack event is fired when a track is added to a TextTrackList . | ||
4560 | TextTrackList: change event | Event, TextTrack, TextTrackList, change event |
The change event is fired when a text track is made active or inactive, or a textTrackList is otherwise changed. | ||
4561 | getTrackById() | API, HTML DOM, HTMLMediaElement, Media, Method, Reference, TextTrack, TextTrackList, Track ID, Track List, Tracks, getTrackById, id, track |
The TextTrackList method getTrackById() returns the first TextTrack object from the track list whose id matches the specified string. | ||
4562 | TextTrackList.length | API, HTML DOM, Media, Property, Read-only, Reference, TextTrackList, length, list, track |
The read-only TextTrackList property length returns the number of entries in the TextTrackList , each of which is a TextTrack representing one track in the media element. | ||
4563 | TextTrackList.onaddtrack | API, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, addTrack, onaddtrack, track |
The TextTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new text track has been added to the media element whose text tracks the TextTrackList represents. | ||
4564 | TextTrackList.onchange | API, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, TextTrack, TextTrackList, addTrack, onchange, text track, track |
The TextTrackList property onchange is an event handler which is called when the change event occurs, indicating that a change has occurred on a TextTrack in the VideoTrackList . | ||
4565 | TextTrackList.onremovetrack | API, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, TextTrack, TextTrackList, VideoTrackList, onremovetrack, remove, removeTrack, track |
The TextTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a text track has been removed from the media element, and therefore also from the TextTrackList . | ||
4566 | TextTrackList: removeTrack event | API, Media Streams API, MediaStreamTrackEvent, Reference, Removing Tracks, events, removeTrack |
The removetrack event is fired when a track is removed from a TextTrackList . | ||
4567 | TimeEvent | API, Interface, NeedsMarkupWork, SVG |
The TimeEvent interface, a part of SVG SMIL animation, provides specific contextual information associated with Time events. | ||
4568 | TimeRanges | API, HTML DOM, Interface, Media, NeedsExample, Reference |
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the audio and video elements. | ||
4569 | TimeRanges.end() | API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges |
Returns the time offset at which a specified time range ends. | ||
4570 | TimeRanges.length | API, HTML DOM, Media, Property, Read-only, Reference, TimeRanges |
The TimeRanges.length read-only property returns the number of ranges in the object. | ||
4571 | TimeRanges.start() | API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges |
Returns the time offset at which a specified time range begins. | ||
4572 | Touch events | Advanced, DOM, Event, Guide, Mobile, Overview, touch |
To provide quality support for touch-based user interfaces, touch events offer the ability to interpret finger (or stylus) activity on touch screens or trackpads. | ||
4573 | Multi-touch interaction | Guide, TouchEvent, touch |
Touch Events | ||
4574 | Supporting both TouchEvent and MouseEvent | Guide, TouchEvent, touch |
Touch Events | ||
4575 | Using Touch Events | Guide, TouchEvent, touch |
Touch Events | ||
4576 | Touch | API, DOM, Interface, Reference, TouchEvent, touch |
The Touch interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad. | ||
4577 | Touch.clientX | API, DOM, Property, Read-only, Reference, touch |
The Touch.clientX read-only property returns the X coordinate of the touch point relative to the viewport, not including any scroll offset. | ||
4578 | Touch.clientY | API, DOM, Property, Read-only, Reference, touch |
The Touch.clientY read-only property returns the Y coordinate of the touch point relative to the browser's viewport, not including any scroll offset. | ||
4579 | Touch.force | API, Experimental, Property, Read-only, touch |
The Touch.force read-only property returns the amount of pressure the user is applying to the touch surface for a Touch point. | ||
4580 | Touch.identifier | API, DOM, Identifier, Property, Read-only, Reference, touch |
The Touch.identifier returns a value uniquely identifying this point of contact with the touch surface. This value remains consistent for every event involving this finger's (or stylus's) movement on the surface until it is lifted off the surface. | ||
4581 | msManipulationViewsEnabled | msManipulationViesEnabled |
The msManipulationViewsEnabled read-only property returns true if manipulation features are support available, such as touch panning and zooming using CSS rules. | ||
4582 | Touch.pageX | API, Property, Read-only, Reference, touch |
The Touch.pageX read-only property returns the X coordinate of the touch point relative to the viewport, including any scroll offset. | ||
4583 | Touch.pageY | API, Property, Read-only, Reference, touch |
The Touch.pageY read-only property returns the Y coordinate of the touch point relative to the viewport, including any scroll offset. | ||
4584 | Touch.radiusX | API, DOM, Experimental, Mobile, Property, touch |
Returns the X radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX . | ||
4585 | Touch.radiusY | API, DOM, Experimental, Mobile, Property, touch |
Returns the Y radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX . | ||
4586 | Touch.rotationAngle | API, DOM, Experimental, Mobile, Property, touch |
Returns the rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY . The value may be between 0 and 90. Together, these three values describe an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a relatively large ellipse representing the contact between a fingertip and the screen or a small area representing the tip of a stylus, for example. | ||
4587 | Touch.screenX | API, DOM, Mobile, Property, touch |
Returns the X coordinate of the touch point relative to the screen, not including any scroll offset. | ||
4588 | Touch.screenY | API, DOM, Mobile, Property, touch |
Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset. | ||
4589 | Touch.target | API, DOM, EventTarget, Mobile, Property, touch |
Returns the Element (EventTarget ) on which the touch contact started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that element or even been removed from the document. Note that if the target element is removed from the document, events will still be targeted at it, and hence won't necessarily bubble up to the window or document anymore. If there is any risk of an element being removed while it is being touched, the best practice is to attach the touch listeners directly to the target. | ||
4590 | Touch() | API, Constructor, Experimental, Reference, touch |
The Touch() constructor creates a new Touch object. | ||
4591 | TouchEvent | API, DOM, Interface, Reference, TouchEvent, touch |
The TouchEvent interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. | ||
4592 | TouchEvent.altKey | API, DOM, Mobile, Property, TouchEvent, touch |
A Boolean value indicating whether or not the alt (Alternate) key is enabled when the touch event is created. If the alt key is enabled, the attribute's value is true . Otherwise, it is false . | ||
4593 | TouchEvent.changedTouches | API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch |
The changedTouches read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows: | ||
4594 | TouchEvent.ctrlKey | API, DOM, Mobile, Property, TouchEvent, touch |
A Boolean value indicating whether the control (Control) key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false . | ||
4595 | TouchEvent.metaKey | API, DOM, Mobile, Property, TouchEvent, touch |
A Boolean value indicating whether or not the Meta key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false . | ||
4596 | TouchEvent.shiftKey | API, DOM, Mobile, Property, TouchEvent, touch |
A Boolean value indicating whether or not the shift key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false . | ||
4597 | TouchEvent.targetTouches | API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch |
The targetTouches read-only property is a TouchList listing all the Touch objects for touch points that are still in contact with the touch surface and whose touchstart event occurred inside the same target element as the current target element. | ||
4598 | TouchEvent.touches | API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch |
touches is a read-only TouchList listing all the Touch objects for touch points that are currently in contact with the touch surface, regardless of whether or not they've changed or what their target element was at touchstart time. | ||
4599 | TouchEvent() | API, Constructor, DOM, Reference, events, touch |
The TouchEvent() constructor creates a new TouchEvent . | ||
4600 | TouchList | API, DOM, DOM Reference, Mobile, Reference, Touch Event, TouchList, touch |
The TouchList interface represents a list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries. | ||
4601 | TouchList.identifiedTouch() | API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch |
The identifiedTouch() method returns the first Touch item in the TouchList that matches the specified identifier. | ||
4602 | TouchList.item() | API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch |
The item() method returns the Touch object at the specified index in the TouchList . | ||
4603 | TouchList.length | API, DOM, DOM Reference, Mobile, Property, Reference, TouchList, touch |
The length read-only property indicates the number of items (touch points) in a given TouchList . | ||
4604 | TrackDefault | API, Audio, Experimental, Interface, MSE, MediaSourceExtensions, Reference, TrackDefault, Video |
The TrackDefault interface provides a SourceBuffer with kind, label, and language information for tracks that do not contain this information in the initialization segments of a media chunk. | ||
4605 | TrackDefault.byteStreamTrackID | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, byteStreamTrackID |
The byteStreamTrackID read-only property of the TrackDefault interface returns the ID of the specific track that the SourceBuffer should apply to. | ||
4606 | TrackDefault.kinds | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, kinds |
The kinds read-only property of the TrackDefault interface returns default kinds for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track. | ||
4607 | TrackDefault.label | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, label |
The label read-only property of the TrackDefault interface returns the default label for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track. | ||
4608 | TrackDefault.language | API, Audio, Experimental, Language, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video |
The language read-only property of the TrackDefault interface returns a default language for an associated SourceBuffer to use when an initialization segment does not contain language information for a new track. | ||
4609 | TrackDefault.TrackDefault() | API, Audio, Constructor, Experimental, MSE, Media Source Extensions, Reference, TrackDefault, Video |
The TrackDefault() constructor of the TrackDefault interface constructs and returns a new TrackDefault object. | ||
4610 | TrackDefault.type | API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Type, Video |
The type read-only property of the TrackDefault interface returns the type of track that this SourceBuffer 's media segment data relates to (i.e. audio, video, or text track.) | ||
4611 | TrackDefaultList | API, Audio, Experimental, Extensions, Interface, MSE, Media, Reference, TrackDefaultList, Video, source |
The TrackDefaultList interface represents a simple container list for multiple TrackDefault objects. | ||
4612 | TrackDefaultList.length | API, Audio, Experimental, Extensions, MSE, Media, Property, Reference, TrackDefaultList, Video, length, source |
The length read-only property of the TrackDefaultList interface returns the number of TrackDefault objects in the list. | ||
4613 | TrackDefaultList.TrackDefault() | API, Audio, Extensions, Getter, MSE, Media, Method, Reference, Video, source |
The TrackDefault() getter method of the TrackDefaultList interface allows the TrackDefault objects in the list to be accessed with an array operator (i.e. [] .) | ||
4614 | TrackDefaultList.TrackDefaultList() | API, Audio, Constructor, Experimental, Extensions, MSE, Media, Reference, TrackDefaultList, Video, source |
The TrackDefaultList() constructor of the TrackDefaultList interface constructs and returns a new TrackDefaultList object. | ||
4615 | TrackEvent | API, Audio, HTML DOM, Interface, Media, Reference, TrackEvent, Video |
The TrackEvent interface, which is part of the HTML DOM specification, is used for events which represent changes to a set of available tracks on an HTML media element; these events are addtrack and removetrack . | ||
4616 | TrackEvent.track | API, Audio, Event, HTML DOM, Media, Property, Read-only, Reference, TrackEvent, Video, track |
The read-only track property of the TrackEvent interface specifies the media track object to which the event applies. | ||
4617 | TrackEvent() | API, Audio, Constructor, HTML DOM, Media, Reference, TrackEvent, Tracks, Video |
The TrackEvent() constructor creates and returns a new TrackEvent object describing an event which occurred on a list of tracks (AudioTrackList , VideoTrackList , or TextTrackList ). | ||
4618 | Transferable | API, Interface, Reference, Transferable, Web Workers |
The Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers. | ||
4619 | TransformStream | Streams API |
The TransformStream interface of the Streams API represents a set of transformable data. | ||
4620 | TransitionEvent | API, CSS, CSS3 Transitions, CSSOM, Experimental, Reference |
The TransitionEvent interface represents events providing information related to transitions. | ||
4621 | TransitionEvent.transitionName | API, CSS, CSS3 Transitions, Experimental, Property, Reference, TransitionEvent |
The TransitionEvent.transitionName read-only property is a DOMString containing the name of the CSS property associated with the transition. | ||
4622 | TransitionEvent.elapsedTime | API, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent |
The TransitionEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired. This value is not affected by the transition-delay property. | ||
4623 | TransitionEvent.initTransitionEvent() | API, CSS, CSS3 Transitions, CSSOM, Deprecated, Experimental, Method, Reference, TransitionEvent |
The TransitionEvent.initTransitionEvent() method Initializes a transition event created using the deprecated Document.createEvent() method. | ||
4624 | TransitionEvent.pseudoElement | API, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent |
The TransitionEvent.pseudoElement read-only property is a DOMString , starting with '::' , containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: '' . | ||
4625 | TransitionEvent() | API, CSS, CSS3 Transitions, CSSOM, Constructor, Experimental, Reference, TransitionEvent |
The TransitionEvent() constructor returns a newly created TransitionEvent , representing an event in relation with an transition. | ||
4626 | TreeWalker | API, DOM |
The TreeWalker object represents the nodes of a document subtree and a position within them. | ||
4627 | TreeWalker.currentNode | API, DOM, Property, TreeWalker |
The TreeWalker.currentNode property represents the Node on which the TreeWalker is currently pointing at. | ||
4628 | TreeWalker.expandEntityReferences | API, DOM, Obsolete, Property, TreeWalker |
The TreeWalker.expandEntityReferences read-only property returns a Boolean flag indicating whether or not the children of entity reference nodes are visible to the TreeWalker . | ||
4629 | TreeWalker.filter | API, DOM, Property, TreeWalker |
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker . | ||
4630 | TreeWalker.firstChild() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed. | ||
4631 | TreeWalker.lastChild() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed. | ||
4632 | TreeWalker.nextNode() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed. | ||
4633 | TreeWalker.nextSibling() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed. | ||
4634 | TreeWalker.parentNode() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker 's root node, returns null and the current node is not changed. | ||
4635 | TreeWalker.previousNode() | API, DOM, DOM Reference, Method, TreeWalker |
The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed. | ||
4636 | TreeWalker.previousSibling() | API, DOM, DOM Reference, Method, TreeWalker, createTreeWalker, treeWalker.previousSibling |
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed. | ||
4637 | TreeWalker.root | API, DOM, Property, TreeWalker |
The TreeWalker.root read-only property returns the node that is the root of what the TreeWalker traverses. | ||
4638 | TreeWalker.whatToShow | API, DOM, Property, TreeWalker |
The TreeWalker.whatToShow read-only property returns an unsigned long being a bitmask made of constants describing the types of Node that must to be presented. Non-matching nodes are skipped, but their children may be included, if relevant. The possible values are: | ||
4639 | TypeInfo | API, DOM, DOM Reference, Interface, NeedsContent, Obsolete, Reference, TypeInfo, Web |
The obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema. | ||
4640 | UDP Socket API | UDPSocket, mozUDPSocket |
//TODO: docs are missing, see https://bugzilla.mozilla.org/show_bug.cgi?id=745283 | ||
4641 | UIEvent | API, DOM, Event, Interface, Reference, UIEvent, events |
The UIEvent interface represents simple user interface events. | ||
4642 | UIEvent.cancelBubble | API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, UIEvent |
The UIEvent.cancelBubble property indicates if event bubbling for this event has been canceled or not. It is set to false by default, allowing the event to bubble up the DOM, if it is a bubbleable event. Setting this property to true stops the event from bubbling up the DOM. Not all events are allowed to bubble up the DOM. | ||
4643 | UIEvent.detail | API, DOM, Property, Read-only, Reference |
The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count. | ||
4644 | UIEvent.initUIEvent() | API, DOM, Deprecated, Event, Method, UIEvent |
The UIEvent.initUIEvent() method initializes a UI event once it's been created. | ||
4645 | UIEvent.isChar | API, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UIEvent, isChar |
The UIEvent.isChar read-only property returns a Boolean indicating whether the event produced a key character or not. | ||
4646 | UIEvent.layerX | API, DOM, Property, Read-only, Reference, UIEvent |
The UIEvent.layerX read-only property returns the horizontal coordinate of the event relative to the current layer. | ||
4647 | UIEvent.layerY | API, DOM, Property, Read-only, Reference, UIEvent |
The UIEvent.layerY read-only property returns the vertical coordinate of the event relative to the current layer. | ||
4648 | UIEvent.pageX | API, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UI Events, UIEvent, events, pageX |
The non-standard, read-only UIEvent property pageX returns the horizontal coordinate of the event relative to the whole document. | ||
4649 | UIEvent.pageY | API, DOM, Property, Read-only, Reference, UIEvent |
The UIEvent.pageY read-only property returns the vertical coordinate of the event relative to the whole document. | ||
4650 | sourceCapabilities | API, DOM, Property, Reference, UIEvent |
The UIEvent.sourceCapabilities read-only property returns an instance of the InputDeviceCapabilities interface which provides information about the physical device responsible for generating a touch event. If no input device was responsible for the event, it returns null . | ||
4651 | UIEvent() | API, Constructor, Reference, UIEvent |
The UIEvent() constructor creates a new UIEvent . | ||
4652 | UIEvent.view | API, DOM, NeedsLiveExample, Property, Read-only, Reference, UIEvent |
The UIEvent.view read-only property returns the WindowProxy object from which the event was generated. In browsers, this is the Window object the event happened in. | ||
4653 | ULongRange | API, Constraints, Dictionary, Interface, LongRange, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC |
The ULongRange dictionary is used to define a range of permitted integer values for a property, with either or both a maximum and minimum value specified. The ConstrainULongRange dictionary is based on this, augmenting it to support exact and ideal values as well. | ||
4654 | URL API | API, Address, Domain, Forms, Host, IP, Overview, URL, URL API, Web, hostname |
The URL API is a component of the URL standard, which defines what constitutes a valid URL and the API that accesses and manipulates URLs. | ||
4655 | URL | API, Address, Domain, Interface, Location, Networking, Reference, URI, URL, URL API, Web, hostname, href, origin |
The URL interface is used to parse, construct, normalize, and encode URL. It works by providing properties which allow you to easily read and modify the components of a URL. | ||
4656 | URL.createObjectURL() | API, Blob, DOM, File, Method, Object URL, URL, URL API, createObjectURL |
The URL.createObjectURL() static method creates a DOMString containing a URL representing the object given in the parameter. | ||
4657 | URL.hash | API, Property, Reference, URL, URL API |
The hash property of the URL interface is a USVString containing a '#' followed by the fragment identifier of the URL. | ||
4658 | URL.host | API, Property, Reference, URL, URL API |
The host property of the URL interface is a USVString containing the host, that is the URL.hostname , and then, if the port of the URL is nonempty, a ':' , followed by the URL.port of the URL. | ||
4659 | URL.hostname | API, Property, Reference, URL, URL API |
The hostname property of the URL interface is a USVString containing the domain name of the URL. | ||
4660 | URL.href | API, Property, Reference, URL, URL API |
The href property of the URL interface is a USVString containing the whole URL. | ||
4661 | URL.origin | API, Property, Read-only, Reference, URL, URL API, origin |
The origin read-only property of the URL interface returns a USVString containing the Unicode serialization of the origin of the represented URL. | ||
4662 | URL.password | API, Property, Reference, URL, URL API, password |
The password property of the URL interface is a USVString containing the password specified before the domain name. | ||
4663 | URL.pathname | API, Property, Reference, URL, URL API |
The pathname property of the URL interface is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path). | ||
4664 | URL.port | API, Property, Reference, URL, URL API, port |
The port property of the URL interface is a USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to '' . | ||
4665 | URL.protocol | API, Property, Reference, URL, URL API |
The protocol property of the URL interface is a USVString representing the protocol scheme of the URL, including the final ':' . | ||
4666 | URL.revokeObjectURL() | API, Method, URL, URL API, revokeObjectURL |
The URL.revokeObjectURL() static method releases an existing object URL which was previously created by calling URL.createObjectURL() . | ||
4667 | URL.search | API, Property, Reference, URL, URL API |
The search property of the URL interface is a search string, also called a query string, that is a USVString containing a '?' followed by the parameters of the URL. | ||
4668 | URL.searchParams | API, Property, Read-only, Reference, URL, URLSearchParams |
The searchParams readonly property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL. | ||
4669 | URL.toJSON() | API, Method, Reference, URL, URL API |
The toJSON() method of the URL interface returns a USVString containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString() . | ||
4670 | URL.toString() | API, Method, Reference, Stringifier, URL, URL API |
The URL.toString() stringifier method returns a USVString containing the whole URL. It is effectively a read-only version of URL.href . | ||
4671 | URL() | API, Constructor, Reference, URL, URL API |
The URL() constructor returns a newly created URL object representing the URL defined by the parameters. | ||
4672 | URL.username | API, Property, Reference, URL, URL API, username |
The username property of the URL interface is a USVString containing the username specified before the domain name. | ||
4673 | URLSearchParams | API, Interface, Landing, Reference, URL API, URLSearchParams |
The URLSearchParams interface defines utility methods to work with the query string of a URL. | ||
4674 | URLSearchParams.append() | API, Append, Method, URL API, URLSearchParams |
The append() method of the URLSearchParams interface appends a specified key/value pair as a new search parameter. | ||
4675 | URLSearchParams.delete() | API, Method, URL API, URLSearchParams, delete |
The delete() method of the URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters. | ||
4676 | URLSearchParams.entries() | API, Method, Reference, URL API, URLSearchParams |
The entries() method of the URLSearchParams interface returns an Iteration_protocols allowing iteration through all key/value pairs contained in this object. The key and value of each pair are USVString objects. | ||
4677 | URLSearchParams.forEach() | API, Method, Reference, URLSearchParams, forEach |
The forEach() method of the URLSearchParams interface allows iteration through all values contained in this object via a callback function. | ||
4678 | URLSearchParams.get() | API, Method, URL API, URLSearchParams, get |
The get() method of the URLSearchParams interface returns the first value associated to the given search parameter. | ||
4679 | URLSearchParams.getAll() | API, Method, URL API, URLSearchParams, getAll |
The getAll() method of the URLSearchParams interface returns all the values associated with a given search parameter as an array. | ||
4680 | URLSearchParams.has() | API, Method, URL API, URLSearchParams, has |
The has() method of the URLSearchParams interface returns a Boolean that indicates whether a parameter with the specified name exists. | ||
4681 | URLSearchParams.keys() | API, Method, Reference, URL API, URLSearchParams |
The keys() method of the URLSearchParams interface returns an Iteration_protocols allowing iteration through all keys contained in this object. The keys are USVString objects. | ||
4682 | URLSearchParams.set() | API, Method, URL API, URLSearchParams, set |
The set() method of the URLSearchParams interface sets the value associated with a given search parameter to the given value. If there were several matching values, this method deletes the others. If the search parameter doesn't exist, this method creates it. | ||
4683 | URLSearchParams.sort() | API, Method, Reference, URLSearchParams, sort |
The URLSearchParams.sort() method sorts all key/value pairs contained in this object in place and returns undefined . The sort order is according to unicode code points of the keys. This method uses a stable sorting algorithm (i.e. the relative order between key/value pairs with equal keys will be preserved). | ||
4684 | URLSearchParams.toString() | API, Method, URL API, URLSearchParams, toString |
The toString() method of the URLSearchParams interface returns a query string suitable for use in a URL. | ||
4685 | URLSearchParams() | API, Constructor, Reference, URL API, URLSearchParams |
The URLSearchParams() constructor creates and returns a new URLSearchParams object. | ||
4686 | URLSearchParams.values() | API, Iterator, Method, Reference, URL API, URLSearchParams |
The values() method of the URLsearchParams interface returns an Iteration_protocols allowing iteration through all values contained in this object. The values are USVString objects. | ||
4687 | URLUtilsReadOnly | API, Interface, Obsolete, Reference, URL API |
The obsolete URLUtilsReadOnly interface previously defined utility methods for working with URLs. These were then inherited by other interfaces, such as WorkerLocation . | ||
4688 | URLUtilsReadOnly.hash | API, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .hash read-only property returns a DOMString containing a '#' followed by the fragment identifier of the URL. The hash is not percent encoded. | ||
4689 | URLUtilsReadOnly.host | API, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .host read-only property returns a DOMString containing the host, that is the hostname, a ':' , and the port of the URL. | ||
4690 | URLUtilsReadOnly.hostname | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .hostname read-only property returns a DOMString containing the domain of the URL. | ||
4691 | URLUtilsReadOnly.href | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .href read-only property is a stringifier that returns a DOMString containing the whole URL. | ||
4692 | URLUtilsReadOnly.origin | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .origin read-only property is a DOMString containing the Unicode serialization of the origin of the represented URL, that is, for http and https, the scheme followed by '://' , followed by the domain, followed by ':' , followed by the port (the default port, 80 and 443 respectively, if explicitely specified). For URL using file: scheme, the value is browser dependant. | ||
4693 | URLUtilsReadOnly.pathname | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .pathname read-only property returns a USVString containing an initial '/' followed by the path of the URL, not including the query string or fragment. | ||
4694 | URLUtilsReadOnly.port | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .port read-only property returns a DOMString containing the port number of the URL. | ||
4695 | URLUtilsReadOnly.protocol | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .protocol read-only property returns a DOMString containing the protocol scheme of the URL, including the final ':' . | ||
4696 | URLUtilsReadOnly.search | API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .search read-only property returns a DOMString containing a '?' followed by the parameters of the URL. | ||
4697 | URLUtilsReadOnly.toString() | API, Experimental, Expérimental(2), Method, Stringifier, URL API, URLUtilsReadOnly |
The URLUtilsReadOnly .toString() stringifier method returns a DOMString containing the whole URL. It is a synonym for URLUtilsReadOnly.href . | ||
4698 | USB | API, Interface, Reference, USB, WebUSB, WebUSB API |
The USB interface of the WebUSB API provides attributes and methods for finding and connecting USB devices from a web page. | ||
4699 | USB.getDevices() | API, Method, Reference, USB, WebUSB, WebUSB API, getDevices() |
The getDevices method of the USB interface returns a Promise that resolves with an array of USBDevice objects for paired attached devices. For information on pairing devices, see USB.requestDevice() . | ||
4700 | USB.onconnect | API, Method, Reference, USB, WebUSB, WebUSB API, onconnect |
The onconnect property of the USB interface is an event handler called whenever a paired device is connected. | ||
4701 | USB.ondisconnect | API, Method, Reference, USB, WebUSB, WebUSB API, ondisconnect |
The ondisconnect property of the USB is an event handler called whenever a paired device is disconnected. | ||
4702 | USB.requestDevice() | API, Method, Reference, USB, WebUSB, WebUSB API, getDevices() |
The requestDevice() method of the USB interface returns a Promise that resolves with an instance of USBDevice if the specified device is found. Calling this function triggers the user agent's pairing flow. | ||
4703 | USBAlternateInterface | API, Experimental, Interface, NeedsExample, Reference, USBAlternateInterface, WebUSB, WebUSB API |
The USBAlternateInterface interface of the WebUSB API provides information about a particular configuration of an interface provided by the USB device. An interface includes one or more alternate settings which can configure a set of endpoints based on the operating mode of the device. | ||
4704 | USBConfiguration | API, Interface, Reference, USB, USBConfiguration, WebUSB, WebUSB API |
WebUSB API | ||
4705 | USBConfiguration.configurationName | API, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API, configurationName |
The configurationName read-only property of the USBConfiguration interface returns the name provided by the device to describe this configuration. This is equal to the value of the string descriptor with the index provided in the iConfiguration field of the configuration descriptor defining this configuration. | ||
4706 | USBConfiguration.configurationValue | API, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API, configurationValue |
The configurationValue read-only property of the USBConfiguration interface null | ||
4707 | USBConfiguration.interfaces | API, Interfaces, Property, Reference, USB, USBConfiguration, WebUSB, WebUSB API |
The interfaces read-only property of the USBConfiguration interface returns an array containing instances of the USBInterface describing each interface supported by this configuration. | ||
4708 | USBConfiguration.USBConfiguration() | API, Constructor, Experimental, NeedsE, Reference, USB, USBConfiguration, WebUSB, WebUSB API |
The USBConfiguration() constructor creates a new USBConfiguration object which contains information about the configuration on the provided USBDevice with the given configuration value. | ||
4709 | USBDevice | API, Interface, Reference, USBDevice, WebUSB, WebUSB API |
The USBDevice interface of the WebUSB API provides access to metadata about a paired USB device and methods for controlling it. | ||
4710 | USBDevice.claimInterface() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, claimInterface |
The claimInterface() method of the USBDevice interface returns a promise that resolves when the requested interface is claimed for exclusive access. | ||
4711 | USBDevice.clearHalt() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, clearHalt |
The clearHalt() method of the USBDevice interface returns a promise that resolves when a halt condition is cleared. A halt condition is when a data tranfer to or from the device has a status of 'stall' , which requires the web page (the host system, in USB terminology) to clear that condition. See the for details. | ||
4712 | USBDevice.close() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, close |
The close() method of the USBDevice interface returns a promise that resolves when all open interfaces are released and the device session has ended. | ||
4713 | USBDevice.configuration | API, Configuration, Property, Reference, USB, USBDevice, WebUSB, WebUSB API |
The configuration read only property of the USBDevice interface returns a USBConfiguration object for the currently selected interface for a paired USB device. | ||
4714 | USBDevice.configurations | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, configurations |
The configurations read only property of the USBDevice interface an array of device-specific interfaces for controlling a paired USB device. | ||
4715 | USBDevice.controlTransferIn() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferIn |
The controlTransferIn() method of the USBDevice interface returns a promise that resolves with a USBInTransferResult when the result of a command or status request has been received from the USB device. | ||
4716 | USBDevice.controlTransferOut() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferOut |
The controlTransferOut() method of the USBDevice interface returns a promise that resolves with a USBOutTransferResult when a command or status operation has been transmitted to the USB device. | ||
4717 | USBDevice.deviceClass | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass |
The deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol. | ||
4718 | USBDevice.deviceProtocol | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceProtocol |
The deviceProtocol read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceSubclass . | ||
4719 | USBDevice.deviceSubclass | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceSubclass |
The deviceSubclass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceProtocol. | ||
4720 | USBDevice.deviceVersionMajor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMajor |
The deviceVersionMajor read only property of the USBDevice interface he major version number of the device in a semantic versioning scheme. | ||
4721 | USBDevice.deviceVersionMinor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMinor |
The deviceVersionMinor read only property of the USBDevice interface the minor version number of the device in a semantic versioning scheme. | ||
4722 | USBDevice.deviceVersionSubminor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionSubminor |
The deviceVersionSubminor read only property of the USBDevice interface the patch version number of the device in a semantic versioning scheme. | ||
4723 | USBDevice.isochronousTransferIn() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferIn |
The isochronousTransferIn() method of the USBDevice interface returns a promise that resolves with a USBIsochronousInTransferResult when time sensitive information has been transmitted received from the USB device. | ||
4724 | USBDevice.isochronousTransferOut() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferOut |
The isochronousTransferOut() method of the USBDevice interface returns a promise that resolves with a USBIsochronousOutTransferResult when time sensitive information has been transmitted to the USB device. | ||
4725 | USBDevice.manufacturerName | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, manufacturerName |
The manufacturerName read only property of the USBDevice interface the of the organization that manufactured the USB device. | ||
4726 | USBDevice.open() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, open |
The open() method of the USBDevice interface returns a promise that resolves when a device session has started. | ||
4727 | USBDevice.opened | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, opened |
The opened read only property of the USBDevice interface indicates whether a session has been started with a paired USB device. A device must be opened before it can be controlled by a web page. | ||
4728 | USBDevice.productId | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productID |
The productId read only property of the USBDevice interface the manufacturer-defined code that identifies a USB device. | ||
4729 | USBDevice.productName | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productName |
The productName read only property of the USBDevice interface the manufacturer-defined name that identifies a USB device. | ||
4730 | USBDevice.releaseInterface() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, releaseInterface |
The releaseInterface() method of the USBDevice interface returns a promise that resolves when a cliamed interface is released from exclusive access. | ||
4731 | USBDevice.reset() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, reset |
The reset() method of the USBDevice interface returns a promise that resolves when the device is reset and all app operations canceled and their promises rejected. | ||
4732 | USBDevice.selectAlternateInterface() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectAlternateInterface |
The selectAlternateInterface() method of the USBDevice interface returns a promise that resolves when the specified alternative endpoint is selected. | ||
4733 | USBDevice.selectConfiguration() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectConfiguration |
The selectConfiguration() method of the USBDevice interface returns a promise that resolves when the specified configuration is selected. | ||
4734 | USBDevice.serialNumber | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, serialNumber |
The serialNumber read only property of the USBDevice interface is the manufacturer-defined serial number for the specific USB device. | ||
4735 | USBDevice.transferIn() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferIn |
The transferIn() method of the USBDevice interface returns a promise that resolves with a USBTransferInResult when bulk or interrupt data is received from the USB device. | ||
4736 | USBDevice.transferOut() | API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferOut |
The transferOut() method of the USBDevice interface returns a promise that resolves with a USBTransferOutResult when bulk or interrupt data is sent to the USB device. | ||
4737 | USBDevice.deviceClass | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass |
The deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol . | ||
4738 | USBDevice.usbVersionMajor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMajor |
The usbVersionMajor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMinor and USBDevice.usbVersionSubminor. | ||
4739 | USBDevice.usbVersionMinor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMinor |
The usbVersionMinor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionSubminor. | ||
4740 | USBDevice.usbVersionSubminor | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionSubminor |
The usbVersionSubminor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionMinor. | ||
4741 | USBDevice.vendorId | API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, vendorID |
The vendorId read only property of the USBDevice interface is the official usg.org-assigned vendor ID. | ||
4742 | USBEndpoint | API, Interface, Reference, USB, USBEndpoint, Web USB API |
The USBEndpoint interface of the WebUSB API provides information about an endpoint provided by the USB device. An endpoint represents a unidirectional data stream into or out of a device. | ||
4743 | USBInterface | API, Experimental, Interface, NeedsExample, Reference, USBInterface, WebUSB, WebUSB API |
The USBInterface interface of the WebUSB API provides information about an interface provided by the USB device. An interface represents a feature of the device which implements a particular protocol and may contain endpoints for bidirectional communication. | ||
4744 | USBInTransferResult | API, Experimental, Interface, NeedsExample, Reference, USBInTransferResult, WebUSB, WebUSB API |
The USBInTransferResult interface of the WebUSB API provides the result from a call to the transferIn() and controlTransferIn() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host. | ||
4745 | USBIsochronousInTransferPacket | API, Experimental, Interface, NeedsExample, Reference, USBIsochronousInTransferPacket, WebUSB, WebUSB API |
The USBIsochronousInTransferPacket interface of the WebUSB API is part of the response from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB device to the USB host over an isochronous endpoint. | ||
4746 | USBIsochronousInTransferResult | API, Experimental, Interface, NeedsExample, Reference, USBIsochronousInTransferResult, WebUSB, WebUSB API |
The USBIsochronousInTransferResult interface of the WebUSB API provides the result from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host. | ||
4747 | USBIsochronousOutTransferPacket | API, Experimental, Interface, NeedsExample, Reference, USBIsochronousOutTransferPacket, WebUSB, WebUSB API |
The USBIsochronousOutTransferPacket interface of the WebUSB API is part of the response from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB host to the USB device over an isochronous endpoint. | ||
4748 | USBIsochronousOutTransferResult | API, Experimental, Interface, NeedsExample, Reference, USBIsochronousOutTransferResult, WebUSB, WebUSB API |
The USBIsochronousOutTransferResult interface of the WebUSB API provides the result from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device. | ||
4749 | USBOutTransferResult | API, CSSUnparsedValue, Experimental, Interface, NeedsExample, Reference, USBOutTransferResult, WebUSB, WebUSB API |
The USBOutTransferResult interface of the WebUSB API provides the result from a call to the transferOut() and controlTransferOut() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device. | ||
4750 | User Timing API | Guide, Overview, Web Performance |
The User Timing interface allows the developer to create application specific DOMHighResTimeStamp that are part of the browser's performance timeline. There are two types of user defined timing event types: the "mark " PerformanceEntry.entryType and the "measure " PerformanceEntry.entryType . | ||
4751 | Using the User Timing API | Guide, Web Performance |
The User Timing interface allows the developer to create application specific DOMHighResTimeStamp that are part of the browser's performance timeline. There are two types of user defined timing entry types: the "mark " PerformanceEntry.entryType and the "measure " PerformanceEntry.entryType . | ||
4752 | UserDataHandler | API, DOM, NeedsMarkupWork, Obsolete |
When associating user data with a key on a node, Node.setUserData() can also accept, in its third argument, a handler which will be called when the object is cloned, imported, deleted, renamed, or adopted. Per the specification, exceptions should not be thrown in a UserDataHandler . In both document.importNode() and Node.cloneNode() , although user data is not copied over, the handler will be called. | ||
4753 | UserProximityEvent | API, Experimental, Interface, Proximity Events, Reference |
The UserProximityEvent indicates whether a nearby physical object is present by using the proximity sensor of a device. | ||
4754 | UserProximityEvent.near | API, Experimental, NeedsContent, NeedsExample, NeedsSyntax, Property, Proximity |
The near property tell if there is an object close to the device (true ) or not (false ). | ||
4755 | USVString | API, DOM, Reference, String, WebIDL |
A USVString is a sequence of Unicode scalar values. This definition differs from that of DOMString or the JavaScript String type in that it always represents a valid sequence suitable for text processing, while the latter can contain surrogate code points. The USVString type is generally found in APIs that perform text processing, while DOMString is used by most other APIs. | ||
4756 | ValidityState | API, Constraint Validation API, Forms, HTML DOM, Interface |
The ValidityState interface represents the validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid. | ||
4757 | validityState.badInput | API, Constraints API, HTML DOM, Property, Read-only, ValidityState |
The read-only badInput property of a ValidityState object indicates if the user has provided input that the browser is unable to convert. For example, if you have a number input element whose content is a string. Note: While this is unsupported in Internet Explorer, any non-numeric value will be dismissed from the field if it is a number input. | ||
4758 | ValidityState.patternMismatch | API, Constraint Validation API, DOM, Property, Reference |
The read-only patternMismatch property of a ValidityState object indicates if the value of an input , after having been edited by the user, does not conform to the constraints set by the element's pattern attribute. | ||
4759 | ValidityState.rangeOverflow | API, Constraint Validation API, DOM, Property, Reference |
The read-only rangeOverflow property of a ValidityState object indicates if the value of an input , after having been edited by the user, does not conform to the constraints set by the element's max attribute. | ||
4760 | ValidityState.rangeUnderflow | API, Constraint Validation API, DOM, Property, Reference |
The read-only rangeUnderflow property of a ValidityState object indicates if the value of an input , after having been edited by the user, does not conform to the constraints set by the element's min attribute. | ||
4761 | ValidityState.stepMismatch | API, Constraint Validation API, DOM, Property, Reference |
The read-only stepMismatch property of a ValidityState object indicates if the value of an input , after having been edited by the user, does not conform to the constraints set by the element's step attribute. | ||
4762 | validityState.tooLong | API, Constraint Validation API, DOM, NeedsExample, Property, Reference |
The read-only tooLong property of a ValidityState object indicates if the value of an input or textarea , after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength attribute. | ||
4763 | validityState.tooShort | |
The read-only tooShort property of a ValidityState object indicates if the value of an input , button , select , output , fieldset or textarea , after having been edited by the user, is less than the minimum code-unit length established by the element's minlength attribute. | ||
4764 | ValidityState.typeMismatch | API, Constraint Validation API, DOM, Property, Reference |
The read-only typeMismatch property of a ValidityState object indicates if the value of an input , after having been edited by the user, does not conform to the constraints set by the element's type attribute. | ||
4765 | Vibration API | API, Beginner, Mobile, Vibration |
Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it. | ||
4766 | VideoConfiguration | API, Audio, Experimental, Interface, Media Capabilities API, Reference, Video, VideoConfiguration |
The VideoConfiguration dictionary of the Media Capabilities API is used to define the video file being tested when calling the MediaCapabilities methods MediaCapabilities.encodingInfo and MediaCapabilities.decodingInfo to determine whether or not the described video configuration is supported, and how smoothly and how smoooth and power-efficient it can be handled. | ||
4767 | VideoPlaybackQuality | API, Experimental, Frames, HTML DOM, Interface, Media, Media Playback Quality, Media Playback Quality API, Playback, Quality, Reference, Video, VideoPlaybackQuality |
A VideoPlaybackQuality object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. | ||
4768 | VideoPlaybackQuality.corruptedVideoFrames | API, Corruption, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, corruptedVideoFrames |
The VideoPlaybackQuality interface's read-only corruptedVideoFrames property the number of corrupted video frames that have been received since the video element was last loaded or reloaded. | ||
4769 | VideoPlaybackQuality.creationTime | API, Experimental, Media, Media Playback Quality, Media Playback Quality API, Property, Quality, Reference, Video, VideoPlaybackQuality, creationTime |
The read-only creationTime property on the VideoPlaybackQuality interface reports the number of milliseconds since the browsing context was created this quality sample was recorded. | ||
4770 | VideoPlaybackQuality.droppedVideoFrames | API, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, droppedVideoFrames |
The read-only droppedVideoFrames property of the VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement . | ||
4771 | VideoPlaybackQuality.totalFrameDelay | API, Experimental, Media Source Extensions, Obsolete, Property, Reference, Video, VideoPlaybackQuality, totalFrameDelay |
The VideoPlaybackQuality.totalFrameDelay read-only property returns a double containing the sum of the frame delay since the creation of the associated HTMLVideoElement . The frame delay is the difference between a frame's theoretical presentation time and its effective display time. | ||
4772 | VideoPlaybackQuality.totalVideoFrames | API, Experimental, Frames, HTML DOM, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, totalVideoFrames |
The VideoPlaybackQuality interface's totalVideoFrames read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded. | ||
4773 | VideoTrack | HTML, HTML DOM, Interface, Media, Reference, Video, VideoTrack, track |
The VideoTrack interface represents a single video track from a video element. | ||
4774 | VideoTrack.id | API, HTML DOM, Interface, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track |
The id property contains a string which uniquely identifies the track represented by the VideoTrack . | ||
4775 | VideoTrack.kind | API, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track |
The kind property contains a string indicating the category of video contained in the VideoTrack . | ||
4776 | VideoTrack.label | API, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, label, metadata, track |
The read-only VideoTrack property label returns a string specifying the video track's human-readable label, if one is available; otherwise, it returns an empty string. | ||
4777 | Videotrack.language | API, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Video, VideoTrack, track |
The read-only VideoTrack property language returns a string identifying the language used in the video track. | ||
4778 | VideoTrack.selected | HTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, VideoTrack, selected, track |
The VideoTrack property selected controls whether or not a particular video track is active. | ||
4779 | VideoTrack.sourceBuffer | API, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, Video, VideoTrack, track |
The read-only VideoTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source. | ||
4780 | VideoTrackList | API, HTML DOM, Interface, Media, Reference, Track List, Tracks, Video, VideoTrackList, list |
The VideoTrackList interface is used to represent a list of the video tracks contained within a video element, with each track represented by a separate VideoTrack object in the list. | ||
4781 | VideoTrackList: addtrack event | API, Reference, events |
The addtrack event is fired when a track is added to a VideoTrackList . | ||
4782 | VideoTrackList: change event | Event |
The change event is fired when a video track is made active or inactive, for example by changing the track's selected property. | ||
4783 | getTrackById | API, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, Video, VideoTrackList, getTrackById, id, track |
The VideoTrackList method getTrackById() returns the first VideoTrack object from the track list whose VideoTrack.id matches the specified string. | ||
4784 | VideoTrackList.length | API, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, length, list, track |
The read-only VideoTrackList property length returns the number of entries in the VideoTrackList , each of which is a VideoTrack representing one video track in the media element. | ||
4785 | VideoTrackList.onaddtrack | API, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onaddtrack, track |
The VideoTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new video track has been added to the media element whose video tracks the VideoTrackList represents. | ||
4786 | VideoTrackList.onchange | API, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onchange, track |
The VideoTrackList property onchange is an event handler which is called when the change event occurs, indicating that a VideoTrack in the VideoTrackList has been made active. | ||
4787 | VideoTrackList.onremovetrack | API, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, Removing Video Tracks, Video, VideoTrackList, onremovetrack, remove, removeTrack, track |
The VideoTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a video track has been removed from the media element, and therefore also from the VideoTrackList . | ||
4788 | VideoTrackList: removetrack event | API, Media Streams API, MediaStreamTrackEvent, NeedsBrowserCompatibility, Reference, Removing Tracks, events, removeTrack |
The removetrack event is fired when a track is removed from a VideoTrackList . | ||
4789 | VideoTrackList.selectedIndex | API, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, track |
The read-only VideoTrackList property selectedIndex returns the index of the currently selected track, if any, or -1 otherwise. | ||
4790 | Visual Viewport API | API, Experimental, Layout, Overview, Reference, layout viewport, viewport, visual, visual viewport |
The Visual Viewport API provides an explicit mechanism for querying and modifying the properties of the window's visual viewport. The visual viewport is the visual portion of a screen excluding on-screen keyboards, areas outside of a pinch-zoom area, or any other on-screen artifact that doesn't scale with the dimensions of a page. | ||
4791 | VisualViewport | API, Experimental, Interface, Reference, Visual Viewport API, VisualViewport, viewport |
The VisualViewport interface of the Visual Viewport API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window. | ||
4792 | VisualViewport.height | API, Property, Reference, Visual Viewport API, VisualViewport, height, viewport |
The height read-only property of the VisualViewport interface returns the height of the visual viewport, in CSS pixels. | ||
4793 | VisualViewport.offsetleft | API, Property, Reference, Visual Viewport API, VisualViewport, offsetleft, viewport |
The offsetLeft read-only property of the VisualViewport interface returns the offset of the left edge of the visual viewport from the left edge of the layout viewport in CSS pixels. | ||
4794 | VisualViewport.offsetTop | API, Property, Reference, Visual Viewport API, VisualViewport, offsetTop, viewport |
The offsetTop read-only property of the VisualViewport interface returns the offset of the top edge of the visual viewport from the top edge of the layout viewport in CSS pixels. | ||
4795 | VisualViewport.onresize | API, Event, Experimental, Reference, Visual Viewport API, VisualViewport, onresize, resize, viewport |
The onresize event handler of the VisualViewport interface is called when a viewport is resized, i.e. when the resize event is fired. | ||
4796 | VisualViewport.onscroll | API, Event, Experimental, Reference, Scroll, Visual Viewport API, VisualViewport, onscroll, viewport |
The onscroll event handler of the VisualViewport interface is called when a viewport is scrolled, i.e. when the scroll event is fired. | ||
4797 | VisualViewport.pageLeft | API, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport |
The pageLeft read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels. | ||
4798 | VisualViewport.pageTop | API, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport |
The pageTop read-only property of the VisualViewport interface returns the y coordinate of the top edge of the visual viewport relative to the initial containing block origin, in CSS pixels. | ||
4799 | VisualViewport: resize event | API, Experimental, Reference, VisualViewport, events, resize |
The resize event of the VisualViewport interface is fired when the visual viewport is resized. | ||
4800 | VisualViewport.scale | API, Property, Reference, Visual Viewport API, VisualViewport, size, viewport |
The scale read-only property of the VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport. | ||
4801 | VisualViewport: scroll event | API, Experimental, Reference, Scroll, VisualViewport, events |
The scroll event of the VisualViewport interface is fired when the visual viewport is scrolled. | ||
4802 | VisualViewport.width | API, Property, Reference, Visual Viewport API, VisualViewport, viewport, width |
The width read-only property of the VisualViewport interface returns the width of the visual viewport, in CSS pixels. | ||
4803 | VRDisplay | API, DOM, Experimental, Interface, Media, Reference, VR, VRDisplay, Virtual Reality, WebVR |
The VRDisplay interface of the WebVR API represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality. | ||
4804 | VRDisplay.cancelAnimationFrame() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, cancelAnimationFrame() |
The cancelAnimationFrame() method of the VRDisplay interface is a special implementation of Window.cancelAnimationFrame that unregisters callbacks registered with VRDisplay.requestAnimationFrame() . | ||
4805 | VRDisplay.capabilities | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, capabilities |
The capabilities read-only property of the VRDisplay interface returns a VRDisplayCapabilities object that indicates the various capabilities of the VRDisplay . | ||
4806 | VRDisplay.depthFar | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthFar |
The depthFar property of the VRDisplay interface gets and sets the z-depth defining the far plane of the eye view frustum, i.e. the furthest viewable boundary of the scene. | ||
4807 | VRDisplay.depthNear | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthNear |
The depthNear property of the VRDisplay interface gets and sets the z-depth defining the near plane of the eye view frustum, i.e. the nearest viewable boundary of the scene. | ||
4808 | VRDisplay.displayId | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayId |
The displayId read-only property of the VRDisplay interface returns an identifier for this particular VRDisplay , which is also used as an association point in the Gamepad API (see Gamepad.displayId ). | ||
4809 | VRDisplay.displayName | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayName |
The displayName read-only property of the VRDisplay interface returns a human-readable name to identify the VRDisplay . | ||
4810 | VRDisplay.exitPresent() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, exitPresent() |
The exitPresent() method of the VRDisplay interface stops the VRDisplay presenting a scene. | ||
4811 | VRDisplay.getEyeParameters() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getEyeParameters() |
The getEyeParameters() method of the VRDisplay interface returns the VREyeParameters object containing the eye parameters for the specified eye. | ||
4812 | VRDisplay.getFrameData() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getFrameData |
The getFrameData() method of the VRDisplay interface accepts a VRFrameData object and populates it with the information required to render the current frame. | ||
4813 | VRDisplay.getImmediatePose() | API, Experimental, Method, Obsolete, Reference, VR, VRDisplay, Virtual Reality, WebVR, getImmediatePose() |
The getImmediatePose() method of the VRDisplay interface returns a VRPose object defining the current pose of the VRDisplay , with no prediction applied. | ||
4814 | VRDisplay.getLayers() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getLayers() |
The getLayers() method of the VRDisplay interface returns the layers currently being presented by the VRDisplay . | ||
4815 | VRDisplay.getPose() | API, Deprecated, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getPose() |
The getPose() method of the VRDisplay interface returns a VRPose object defining the future predicted pose of the VRDisplay as it will be when the current frame is actually presented. | ||
4816 | VRDevice.hardwareUnitId | API, Experimental, Obsolete, Property, Reference, VR, VRDevice, Virtual Reality, WebVR, hardwareUnitId |
The hardwareUnitId read-only property of the VRDevice interface returns the distinct hardware ID for the overall hardware unit that this VRDevice is a part of. All devices that are part of the same physical piece of hardware will have the same hardwareUnitId . | ||
4817 | VRdisplay.isConnected | API, Deprecated, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isConnected |
The isConnected read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is connected to the computer. | ||
4818 | VRDisplay.isPresenting | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isPresenting |
The isPresenting read-only property of the VRDisplay interface returns a Boolean indicating whether the VRDisplay is currently having content presented through it. | ||
4819 | VRDisplay.requestAnimationFrame() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, requestAnimationFrame() |
The requestAnimationFrame() method of the VRDisplay interface is a special implementation of Window.requestAnimationFrame containing a callback function that will be called every time a new frame of the VRDisplay presentation is rendered: | ||
4820 | VRDisplay.requestPresent() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Display, WebVR, requestPresent() |
The requestPresent() method of the VRDisplay interface starts the VRDisplay presenting a scene. | ||
4821 | VRDevice.resetPose() | API, Deprecated, Experimental, Method, Reference, VR, VRDevice, Virtual Reality, WebVR, resetPose() |
The resetPose() method of the VRDisplay interface resets the pose for the VRDisplay , treating its current VRPose.position and VRPose.orientation as the "origin/zero" values. | ||
4822 | VRDisplay.stageParameters | API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, stageParameters |
The stageParameters read-only property of the VRDisplay interface returns a VRStageParameters object containing room-scale parameters, if the VRDisplay is capable of supporting room-scale experiences. | ||
4823 | VRDisplay.submitFrame() | API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, submitFrame() |
The submitFrame() method of the VRDisplay interface captures the current state of the VRLayerInit currently being presented and displays it on the VRDisplay . | ||
4824 | VRDisplayCapabilities | API, Experimental, Interface, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR |
The VRDisplayCapabilities interface of the WebVR API describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information. | ||
4825 | VRDisplayCapabilities.canPresent | API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, canPresent |
The canPresent read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is capable of presenting content (e.g. through an HMD). | ||
4826 | VRDisplayCapabilities.hasExternalDisplay | API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasExternalDisplay |
The hasExternalDisplay read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display is separate from the device's primary display. | ||
4827 | VRDisplayCapabilities.hasOrientation | API, Deprecated, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasOrientation |
The hasOrientation read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return orientation information. | ||
4828 | VRDisplayCapabilities.hasPosition | API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasPosition |
The hasPosition read-only property of the VRDisplayCapabilities interface returns a Boolean stating whether the VR display can track and return position information. | ||
4829 | VRDisplayCapabilities.maxLayers | API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, maxLayers |
The maxLayers read-only property of the VRDisplayCapabilities interface returns a number indicating the maximum number of VRLayer s that the VR display can present at once (e.g. the maximum length of the array that Display.requestPresent() can accept.) | ||
4830 | VRDisplayEvent | API, Experimental, Interface, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR |
The VRDisplayEvent interface of the WebVR API represents the event object of WebVR-related events (see the list of WebVR window extensions). | ||
4831 | VRDisplayEvent.display | API, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, display |
The display read-only property of the VRDisplayEvent interface returns the VRDisplay associated with this event. | ||
4832 | VRDisplayEvent.reason | API, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, reason |
The reason read-only property of the VRDisplayEvent interface returns a human-readable reason why the event was fired. | ||
4833 | VRDisplayEvent.VRDisplayEvent() | API, Constructor, Experimental, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR |
The VRDisplayEvent constructor creates a VRDisplayEvent object instance. | ||
4834 | VREyeParameters | API, Experimental, Landing, Reference, VR, VREyeParameters, Virtual Reality, WebVR |
The VREyeParameters interface of the WebVR API represents all the information required to correctly render a scene for a given eye, including field of view information. | ||
4835 | VREyeParameters.fieldOfView | API, Deprecated, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, fieldOfView |
The fieldOfView read-only property of the VREyeParameters interface returns a VRFieldOfView object describing the current field of view for the eye, which can vary as the user adjusts their interpupillary distance (IPD). | ||
4836 | VREyeParameters.maximumFieldOfView | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, maximumFieldOfView |
The maximumFieldOfView read-only property of the VREyeParameters interface describes the maximum supported field of view for the current eye. | ||
4837 | VREyeParameters.minimumFieldOfView | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, minimumFieldOfView |
The minimumFieldOfView read-only property of the VREyeParameters interface describes the minimum supported field of view for the current eye. | ||
4838 | VREyeParameters.offset | API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, offset |
The offset read-only property of the VREyeParameters interface represents the offset from the center point between the user's eyes to the center of the eye, measured in meters. | ||
4839 | VREyeParameters.recommendedFieldOfView | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, recommendedFieldOfView |
The recommendedFieldOfView read-only property of the VREyeParameters interface describes the recommended field of view for the current eye — ideally based on user calibration. | ||
4840 | VREyeParameters.renderHeight | API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderHeight |
The renderHeight read-only property of the VREyeParameters interface describes the recommended render target height of each eye viewport, in pixels. | ||
4841 | VREyeParameters.renderRect | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, renderRect |
The renderRect read-only property of the VREyeParameters interface specifies the viewport of a canvas into which visuals for the current eye should be rendered. | ||
4842 | VREyeParameters.renderWidth | API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderWidth |
The renderWidth read-only property of the VREyeParameters interface describes the recommended render target width of each eye viewport, in pixels. | ||
4843 | VRFieldOfView | API, Experimental, Interface, Reference, VR, VRFieldOfView, Virtual Reality, WebVR |
The VRFieldOfView interface of the WebVR API represents a field of view defined by 4 different degree values describing the view from a center point. | ||
4844 | VRFieldOfView.downDegrees | API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, downDegrees |
The downDegrees read-only property of the VRFieldOfView interface returns the number of degrees downwards that the field of view extends in. | ||
4845 | VRFieldOfView.leftDegrees | API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, leftDegrees |
The leftDegrees read-only property of the VRFieldOfView interface returns the number of degrees to the left that the field of view extends in. | ||
4846 | VRFieldOfView.rightDegrees | API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, rightDegrees |
The rightDegrees read-only property of the VRFieldOfView interface returns the number of degrees to the right that the field of view extends in. | ||
4847 | VRFieldOfView.upDegrees | API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, upDegrees |
The upDegrees read-only property of the VRFieldOfView interface returns the number of degrees upwards that the field of view extends in. | ||
4848 | VRFieldOfView.VRFieldOfView() | API, Constructor, Obsolete, Reference, VR, VRFieldOfView, Virtual Reality, WebVR |
The VRFieldOfView() constructor creates a new VRFieldOFView object. | ||
4849 | VRFrameData | API, Experimental, Interface, Reference, VR, VRFrameData, Virtual Reality, WebVR |
The VRFrameData interface of the WebVR API represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData() . | ||
4850 | VRFrameData.leftProjectionMatrix | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftProjectionMatrix |
The leftProjectionMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the left eye’s rendering. | ||
4851 | VRFrameData.leftViewMatrix | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftViewMatrix |
The leftViewMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the left eye’s rendering. | ||
4852 | VRFrameData.pose | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, pose |
The pose read-only property of the VRFrameData interface returns the VRPose of the VRDisplay at the current VRFrameData.timestamp . | ||
4853 | VRFrameData.rightProjectionMatrix | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightProjectionMatrix |
The rightProjectionMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the right eye’s rendering. | ||
4854 | VRFrameData.rightViewMatrix | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightViewMatrix |
The rightViewMatrix read-only property of the VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the right eye’s rendering. | ||
4855 | VRFrameData.timestamp | API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, timeStamp |
The timestamp read-only property of the VRFrameData interface returns a constantly increasing timestamp value representing the time a frame update occurred. | ||
4856 | VRFrameData.VRFrameData() | API, Constructor, Experimental, Reference, VR, VRFrameData, Virtual Reality, WebVR |
The VRFrameData constructor creates a VRFrameData object instance. | ||
4857 | VRLayerInit | API, Dictionary, Experimental, Interface, Reference, VR, VRLayerInit, Virtual Reality, WebVR |
The VRLayerInit interface (dictionary) of the WebVR API represents a content layer (an HTMLCanvasElement or OffscreenCanvas ) that you want to present in a VR display. | ||
4858 | VRLayerInit.leftBounds | API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, leftBounds |
The leftBounds property of the VRLayerInit interface (dictionary) defines the left texture bounds of the canvas whose contents will be presented by the VRDisplay . | ||
4859 | VRLayerInit.rightBounds | API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, rightBounds |
The rightBounds property of the VRLayerInit interface (dictionary) defines the right texture bounds of the canvas whose contents will be presented by the VRDisplay . | ||
4860 | VRLayerInit.source | API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, source |
The source property of the VRLayerInit interface (dictionary) defines the canvas whose contents will be presented by the VRDisplay . | ||
4861 | VRPose | API, Experimental, Landing, Reference, VR, VRPose, Virtual Reality, WebVR |
The VRPose interface of the WebVR API represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.) | ||
4862 | VRPose.angularAcceleration | API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularAcceleration |
The angularAcceleration read-only property of the VRPose interface returns an array representing the angular acceleration vector of the VRDisplay at the current VRPose.timestamp , in meters per second per second. | ||
4863 | VRPose.angularVelocity | API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularVelocity |
The angularVelocity read-only property of the VRPose interface returns an array representing the angular velocity vector of the VRDisplay at the current VRPose.timestamp , in radians per second. | ||
4864 | VRPose.hasOrientation | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasOrientation |
The hasOrientation read-only property of the VRPositionState interface returns a boolean indicating whether the VRPositionState.orientation property is valid (i.e. if the hardware is currently registering a valid orientation). If it is false , the orientation property will return null . | ||
4865 | VRPose.hasPosition | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasPosition |
The hasPosition read-only property of the VRPositionState interface returns a boolean indicating whether the VRPositionState.position property is valid (i.e. if the hardware is currently registering a valid position). If it is false , the position property will return null . | ||
4866 | VRPose.linearAcceleration | API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearAcceleration |
The linearAcceleration read-only property of the VRPose interface returns an array representing the linear acceleration vector of the VRDisplay at the current VRPose.timestamp , in meters per second per second. | ||
4867 | VRPose.linearVelocity | API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearVelocity |
The linearVelocity read-only property of the VRPose interface returns an array representing the linear velocity vector of the VRDisplay at the current VRPose.timestamp , in meters per second. | ||
4868 | VRPose.orientation | API, Experimental, Expérimental(2), Orientation, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR |
The orientation read-only property of the VRPositionState interface returns the orientation of the sensor at the current VRPose.timestamp , as a quarternion value. | ||
4869 | VRPose.position | API, Experimental, Expérimental(2), Position, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR |
The position read-only property of the VRPose interface returns the position of the VRDisplay at the current VRPose.timestamp as a 3D vector. | ||
4870 | VRPose.timestamp | API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, timeStamp |
The timestamp read-only property of the VRPose interface returns the current time stamp of the system — a monotonically increasing value representing the time since the current app was started. | ||
4871 | VRStageParameters | API, Experimental, Interface, Reference, VR, VRStageParameters, Virtual Reality, WebVR |
The VRStageParameters interface of the WebVR API represents the values describing the stage area for devices that support room-scale experiences. | ||
4872 | VRStageParameters.sittingToStandingTransform | API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sittingToStandingTransform |
The sittingToStandingTransform read-only property of the VRStageParameters interface contains a matrix that transforms the sitting-space view matrices of VRFrameData to standing-space. | ||
4873 | VRStageParameters.sizeX | API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeX |
The sizeX read-only property of the VRStageParameters interface returns the width of the play-area bounds in meters. | ||
4874 | VRStageParameters.sizeY | API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeY |
The sizeY read-only property of the VRStageParameters interface returns the depth of the play-area bounds in meters. | ||
4875 | VTTCue | VTTCue, text track, vtt |
The VTTCue interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular track element. | ||
4876 | VTTCue() | API, Accessibility, Constructor, Reference, VTTCue, WebVTT, WebVTT API, a11y, captions, vtt |
The VTTCue() constructor creates and returns a new VTTCue object. | ||
4877 | VTTRegion | API, VTTRegion, WebVTT |
The VTTRegion interface—part of the API for handling WebVTT (text tracks on media presentations)—describes a portion of the video to render a VTTCue onto. | ||
4878 | WakeLock | Interface, Reference, Screen Wake Lock API, Wake Lock, screen |
The WakeLock interface of the Screen Wake Lock API prevents device screens from dimming or locking when an application needs to keep running. | ||
4879 | WakeLock.request() | API, Method, Reference, Screen Wake Lock API, WakeLock |
The request() method of the WakeLock interface returns a Promise that resolves with a WakeLockSentinel object, which allows control over screen dimming and locking. | ||
4880 | WakeLockSentinel | API, Interface, Reference, Screen Wake Lock API, Wake Lock, screen |
The WakeLockSentinel interface of the Screen Wake Lock API provides a handle to the underlying platform wake lock and can be manually released and reacquired. An Object representing the wake lock is returned via the WakeLock.request() method. | ||
4881 | WakeLockSentinel.onrelease | Event Handler, Property, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen, screen wake lock |
The onrelease property of the WakeLockSentinel is fired when the sentinel object's handle has been released. | ||
4882 | WakeLockSentinel.release() | API, Method, Reference, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen |
The release() method of the WakeLockSentinel interface releases the WakeLockSentinel , returning a Promise that is resolved once the sentinel has been successfully released. | ||
4883 | WakeLockSentinel.released | Property, Read-only, Screen Wake Lock API, WakeLockSentinel |
The read-only released property of the WakeLockSentinel interface returns a boolean that indicates whether a WakeLockSentinel has been released yet. | ||
4884 | WakeLockSentinel.type | Property, Read-only, Screen Wake Lock API, Wake Lock, WakeLockSentinel, screen |
The read-only type property of the WakeLockSentinel interface returns a String representation of the currently acquired WakeLockSentinel type. | ||
4885 | WaveShaperNode | API, Interface, Reference, WaveShaperNode, Web Audio API |
The WaveShaperNode interface represents a non-linear distorter. It is an AudioNode that uses a curve to apply a wave shaping distortion to the signal. Beside obvious distortion effects, it is often used to add a warm feeling to the signal. | ||
4886 | WaveShaperNode.curve | API, Property, Reference, WaveShaperNode, Web Audio API, curve |
The curve property of the WaveShaperNode interface is a Float32Array of numbers describing the distortion to apply. | ||
4887 | WaveShaperNode.oversample | API, Property, Reference, WaveShaperNode, Web Audio API, oversample |
The oversample property of the WaveShaperNode interface is an enumerated value indicating if oversampling must be used. Oversampling is a technique for creating more samples (up-sampling) before applying a distortion effect to the audio signal. | ||
4888 | WaveShaperNode.WaveShaperNode() | API, Audio, Constructor, Media, Reference, WaveShaperNode, Web Audio API |
The WaveShaperNode() constructor of the Web Audio API creates a new WaveShaperNode object which is an AudioNode that represents a non-linear distorter. | ||
4889 | Web Animations API | API, Animation, Landing, Reference, Web Animations |
Web Animations | ||
4890 | Keyframe Formats | API, Animation, Experimental, KeyframeEffect(), Reference, animate(), setKeyframes(), waapi, web animations api |
Element.animate() , KeyframeEffect.KeyframeEffect() , and KeyframeEffect.setKeyframes() all accept objects formatted to represent a set of keyframes. There are several options to this format, which are explained below. | ||
4891 | Using the Web Animations API | Alice, Animations, Beginner, CSS, Guide, JavaScript, Timing, Tutorial, animate, duration, keyframes, pause, play, reverse, web animations api |
The Web Animations API lets us construct animations and control their playback with JavaScript. This article will start you off in the right direction with fun demos and tutorials featuring Alice in Wonderland. | ||
4892 | Web Animations API Concepts | Animations, Beginner, CSS, Guide, JavaScript, animate, concepts, web animations api |
The Web Animations API (WAAPI) provides JavaScript developers access to the browser’s animation engine and describes how animations should be implemented across browsers. This article will introduce you to the important concepts behind the WAAPI, providing you with a theoretical understanding of how it works so you can use it effectively. To learn how to put the API to use, check out its sister article, Using the Web Animations API. | ||
4893 | Web Audio API | API, Audio, Example, Landing, Overview, Web Audio API, sound |
The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more. | ||
4894 | Advanced techniques: Creating and sequencing audio | API, Advanced, Audio, Guide, Reference, Web Audio API, sequencer |
In this tutorial, we're going to cover sound creation and modification, as well as timing and scheduling. We're going to introduce sample loading, envelopes, filters, wavetables, and frequency modulation. If you're familiar with these terms and you're looking for an introduction to their application within with the Web Audio API, you've come to the right place. | ||
4895 | Basic concepts behind Web Audio API | Audio, Beginner, Guide, Introduction, Media, Web Audio, Web Audio API, concepts, sound |
This article explains some of the audio theory behind how the features of the Web Audio API work, to help you make informed decisions while designing how audio is routed through your app. It won't turn you into a master sound engineer, but it will give you enough background to understand why the Web Audio API works like it does. | ||
4896 | Web Audio API best practices | Audio, Best practices, Guide, Web Audio API |
There's no strict right or wrong way when writing creative code. As long as you consider security, performance, and accessibility, you can adapt to your own style. In this article, we'll share a number of best practices — guidelines, tips, and tricks for working with the Web Audio API. | ||
4897 | Controlling multiple parameters with ConstantSourceNode | Audio, Example, Guide, Intermediate, Media, Tutorial, Web Audio, Web Audio API |
This article demonstrates how to use a ConstantSourceNode to link multiple parameters together so they share the same value, which can be changed by setting the value of the ConstantSourceNode.offset parameter. | ||
4898 | Migrating from webkitAudioContext | API, Audio, Guide, Migrating, Migration, Updating, Web Audio API, porting, webkitAudioContext |
In this article, we cover the differences in Web Audio API since it was first implemented in WebKit and how to update your code to use the modern Web Audio API. | ||
4899 | Example and tutorial: Simple synth keyboard | Audio, Example, Guide, Media, Oscillator, Piano, Synthesizer, Tutorial, Web Audio API |
This article presents the code and working demo of a video keyboard you can play using the mouse. The keyboard allows you to switch among the standard waveforms as well as one custom waveform, and you can control the master gain using a volume slider beneath the keyboard. This example makes use of the following Web API interfaces: AudioContext , OscillatorNode , PeriodicWave , and GainNode . | ||
4900 | Tools for analyzing Web Audio usage | API, Audio, Debugging, Media, Tools, Web, Web Audio, Web Audio API, sound |
While working on your Web Audio API code, you may find that you need tools to analyze the graph of nodes you create or to otherwise debug your work. This article discusses tools available to help you do that. | ||
4901 | Background audio processing using AudioWorklet | API, Audio, AudioWorklet, Background, Examples, Guide, Processing, Web Audio, Web Audio API, WebAudio API, sound |
The process of creating an audio processor using JavaScript, establishing it as an audio worklet processor, and then using that processor within a Web Audio application is the topic of this article. | ||
4902 | Using IIR filters | API, Audio, Guide, IIRFilter, Using, Web Audio API |
The IIRFilterNode interface of the Web Audio API is an AudioNode processor that implements a general infinite impulse response (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers, and the filter response parameters can be specified, so that it can be tuned as needed. This article looks at how to implement one, and use it in a simple example. | ||
4903 | Using the Web Audio API | API, Audio, Guide, Playback, Using, Web, Web Audio, Web Audio API, basics, sound |
Let's take a look at getting started with the Web Audio API. We'll briefly look at some concepts, then study a simple boombox example that allows us to load an audio track, play and pause it, and change its volume and stereo panning. | ||
4904 | Visualizations with Web Audio API | API, Web Audio API, analyser, fft, visualisation, visualization, waveform |
One of the most interesting features of the Web Audio API is the ability to extract frequency, waveform, and other data from your audio source, which can then be used to create visualizations. This article explains how, and provides a couple of basic use cases. | ||
4905 | Web audio spatialization basics | PannerNode, Web Audio API, panning |
As if its extensive variety of sound processing (and other) options wasn't enough, the Web Audio API also includes facilities to allow you to emulate the difference in sound as a listener moves around a sound source, for example panning as you move around a sound source inside a 3D game. The official term for this is spatialization, and this article will cover the basics of how to implement such a system. | ||
4906 | Web Authentication API | 2FA, API, Authentication, Landing, Reference, Web Authentication API, WebAuthn |
The Web Authentication API is an extension of the Credential Management API that enables strong authentication with public key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts. | ||
4907 | Attestation and Assertion | API, Guide, Web Authentication API, WebAuthn |
Web Authentication API | ||
4908 | Web Bluetooth API | API, Bluetooth, Overview, Reference, Web Bluetooth API |
The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals. | ||
4909 | Web Budget API | API, BudgetService, BudgetState, Landing, NeedsContent, Overview, Reference, Web Budget API |
TBD | ||
4910 | Web Crypto API | API, Overview, Reference, Web Crypto API |
The Web Crypto API is an interface allowing a script to use cryptographic primitives in order to build systems using cryptography. | ||
4911 | Web Locks API | API, Experimental, LockManager, Overview, Reference, Web Locks API, lock |
The Web Locks API allows scripts running in one tab or worker to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script executing in the same origin can acquire the same lock, which allows a web app running in multiple tabs or workers to coordinate work and the use of resources. | ||
4912 | Web NFC API | NDEF, Reference, Web NFC |
The Web NFC API allows exchanging data over NFC via light-weight NFC Data Exchange Format (NDEF) messages. | ||
4913 | Web Periodic Background Synchronization API | API, Background, Landing, Offline, Overview, PWA, Service Workers, Sync, Web Periodic Background Synchronization API, periodic |
The Web Periodic Background Synchronization API provides a way to register tasks to be run in a Service Worker API at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests. | ||
4914 | Web Speech API | API, Experimental, Landing, Reference, Web Speech API, recognition, speech, synthesis |
The Web Speech API enables you to incorporate voice data into web apps. The Web Speech API has two parts: SpeechSynthesis (Text-to-Speech), and SpeechRecognition (Asynchronous Speech Recognition.) | ||
4915 | Using the Web Speech API | API, Guide, Tutorial, Using, Web Speech API, recognition, speech, synthesis |
The Web Speech API provides two distinct areas of functionality — speech recognition, and speech synthesis (also known as text to speech, or tts) — which open up interesting new possibilities for accessibility, and control mechanisms. This article provides a simple introduction to both areas, along with demos. | ||
4916 | Web Storage API | API, Reference, Storage, Web Storage, Web Storage API, localStorage, sessionStorage |
The Web Storage API provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookie. | ||
4917 | Using the Web Storage API | API, Guide, Storage, Web Storage API, localStorage, sessionStorage |
The Web Storage API provides mechanisms by which browsers can securely store key/value pairs. | ||
4918 | Web Workers API | API, Overview, Reference, Web Workers |
Web Workers makes it possible to run a script operation in a background thread separate from the main execution thread of a web application. The advantage of this is that laborious processing can be performed in a separate thread, allowing the main (usually the UI) thread to run without being blocked/slowed down. | ||
4919 | Functions and classes available to Web Workers | Reference, Web |
In addition to the standard JavaScript set of functions (such as String , Array , Object , JSON , etc), there are a variety of functions available from the DOM to workers. This article provides a list of those. | ||
4920 | The structured clone algorithm | Advanced, DOM, HTML5, JavaScript, Reference |
The structured clone algorithm copies complex JavaScript objects. It is used internally to transfer data between Workers via Worker.postMessage() , storing objects with IndexedDB, or copying objects for other APIs. | ||
4921 | Using Web Workers | Advanced, Firefox, Guide, HTML5, JavaScript, WebWorkers, Workers |
Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null) or fetch (with no such restrictions). Once created, a worker can send messages to the JavaScript code that created it by posting messages to an event handler specified by that code (and vice versa). | ||
4922 | WebGL: 2D and 3D graphics for the web | 3D, 3D Graphics, API, Advanced, Graphics, JavaScript, Media, Overview, Reference, WebGL, WebGL API |
WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML5 | ||
4923 | A basic 2D WebGL animation example | 2D Animation, 2D Graphics, Animation, Drawing, Example, Graphics, WebGL, WebGL API |
In this WebGL example, we create a canvas and within it render a rotating square using WebGL. The coordinate system we use to represent our scene is the same as the canvas's coordinate system. That is, (0, 0) is at the top-left corner and the bottom-right corner is at (600, 460). | ||
4924 | WebGL by example | Beginner, Example, Graphics, Learn, WebGL |
WebGL by example is a series of live samples with short explanations that showcase WebGL concepts and capabilities. The examples are sorted according to topic and level of difficulty, covering the WebGL rendering context, shader programming, textures, geometry, user interaction, and more. | ||
4925 | Basic scissoring | Beginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL, scissor |
In this example, we see how to draw simple rectangles and squares using WebGL scissoring operations. Scissoring establishes a clipping region outside which drawing will not occur. | ||
4926 | Boilerplate 1 | Beginner, Example, Learn, Tutorial, WebGL |
This example describes repeated pieces of code that will be hidden from now on, as well as defining a JavaScript utility function to make WebGL initialization easier. | ||
4927 | Canvas size and WebGL | Beginner, Example, Learn, Tutorial, WebGL |
This WebGL example explores the effect of setting (or not setting) the canvas size to its element size in CSS pixels, as it appears in the browser window. | ||
4928 | Clearing by clicking | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
This example demonstrates how to combine user interaction with WebGL graphics operations by clearing the rendering context with a random color when the user clicks. | ||
4929 | Clearing with colors | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
An example showing how to clear a WebGL rendering context to a solid color. | ||
4930 | Color masking | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
This WebGL example modifies random colors by applying color masking to limit the range of displayed colors to specific shades. | ||
4931 | Detect WebGL | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
This example demonstrates how to detect a WebGL rendering context and reports the result to the user. | ||
4932 | Hello GLSL | Beginner, Example, GLSL, Graphics, Learn, Shaders, Tutorial, WebGL |
This WebGL example demonstrates a very basic GLSL shader program that draws a solid color square. | ||
4933 | Hello vertex attributes | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
This WebGL example demonstrates how to combine shader programming and user interaction by sending user input to the shader using vertex attributes. | ||
4934 | Raining rectangles | Beginner, Example, Game, Graphics, Learn, Scissoring, Tutorial, WebGL |
A simple WebGL game that demonstrates clearing with solid colors, scissoring, animation, and user interaction. | ||
4935 | Scissor animation | Animation, Beginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL |
A simple WebGL example in which we have some animation fun using scissoring and clearing operations. | ||
4936 | Simple color animation | Beginner, Example, Graphics, Learn, Tutorial, WebGL |
A very basic color animation created using WebGL, performed by clearing the drawing buffer with a different random color every second. | ||
4937 | Textures from code | Beginner, Example, Graphics, Learn, Procedural Texturing, Shaders, Textures, Texturing, Tutorial, WebGL |
This WebGL example provides a simple demonstration of procedural texturing with fragment shaders. That is, using code to generate textures for use in shading WebGL objects. | ||
4938 | Video textures | Advanced, Example, Graphics, Learn, NeedsContent, Tutorial, WebGL |
This example demonstrates how to use video files as textures for WebGL surfaces. | ||
4939 | Compressed texture formats | |
The WebGL API provides methods to use compressed texture formats. These are useful to increase texture detail while limiting the additional video memory necessary. By default, no compressed formats are available: a corresponding compressed texture format extension must first be enabled. | ||
4940 | WebGL constants | API, Reference, WebGL, constants |
The WebGL API provides several constants that are passed into or returned by functions. All constants are of type GLenum . | ||
4941 | Data in WebGL | 3D, 3D Graphics, Attributes, Drawing, Graphics, Guide, Intermediate, NeedsContent, NeedsExample, Uniforms, Varyings, WebGL, WebGL API |
Shader programs have access to three kinds of data storage, each of which has a specific use case. Each kind of variable is accessible by one or both types of shader program (depending on the data store type) and possibly by the site's JavaScript code, depending on the specific type of variable. | ||
4942 | Matrix math for the web | 3D, 3D2D, Animation, CSS, GLSL, Graphics, Guide, WebGL, WebXR, matrices, matrix, rendering, transform3d |
Matrices can be used to represent transformations of objects in space, and are used for performing many key types of computation when constructing images and visualizing data on the Web. This article explores how to create matrices and how to use them with CSS transforms and the matrix3d transform type. | ||
4943 | WebGL tutorial | Overview, Tutorial, WebGL, WebGL API |
WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 3D rendering in an HTML | ||
4944 | Adding 2D content to a WebGL context | 2D Graphics, 3D, 3D Graphics, Drawing, Graphics, Intermediate, Shaders, Tutorial, WebGL, WebGL API |
Once you've successfully created a WebGL context, you can start rendering into it. A simple thing we can do is draw a simple square untextured plane, so let's start there, by building code to draw a square plane. | ||
4945 | Animating objects with WebGL | Tutorial, WebGL |
In this example, we'll actually rotate our square plane. | ||
4946 | Animating textures in WebGL | Media, Tutorial, Video, WebGL |
Tutorial | ||
4947 | Creating 3D objects using WebGL | 3D, Drawing, Graphics, Guide, Tutorial, WebGL, rendering |
Tutorial | ||
4948 | Getting started with WebGL | Tutorial, WebGL |
WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 2D and 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins. | ||
4949 | Lighting in WebGL | 3D, Fragments, Graphics, Guide, Light Sources, Shaders, Shading, Tutorial, Vertexes, WebGL, lighting, vertices |
Tutorial | ||
4950 | Using shaders to apply color in WebGL | Graphics, Tutorial, WebGL |
Tutorial | ||
4951 | Using textures in WebGL | Tutorial, WebGL |
Tutorial | ||
4952 | WebGL types | Reference, Types, WebGL |
The following types are used in WebGL interfaces. | ||
4953 | Using WebGL extensions | Advanced, WebGL |
WebGL, like its sister APIs (OpenGL and OpenGL ES), supports extensions. A complete list of extensions is available in the khronos webgl extension registry. | ||
4954 | WebGL best practices | 2D, 3D, Advanced, Best practices, Drawing, GL, Graphics, Guide, OpenGL, WebGL |
WebGL is a complicated API, and it's often not obvious what the recommended ways to use it are. This page tackles recommendations across the spectrum of expertise, and not only highlights dos and don'ts, but also details why. You can rely on this document to guide your choice of approach, and ensure you're on the right track no matter what browser or hardware your users run. | ||
4955 | WebGL model view projection | 3D, Graphics, Guide, Model, Scale, Transformation, View, WebGL, matrix, projection, render, rotation |
This article explores how to take data within a WebGL project, and project it into the proper spaces to display it on the screen. It assumes a knowledge of basic matrix math using translation, scale, and rotation matrices. It explains the three core matrices that are typically used when composing a 3D scene: the model, view and projection matrices. | ||
4956 | WEBGL_color_buffer_float | API, Reference, WebGL, WebGL extension |
The WEBGL_color_buffer_float extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers. | ||
4957 | WEBGL_compressed_texture_astc | API, Reference, WebGL, WebGL extension, WebGL extensions |
The WEBGL_compressed_texture_astc extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL. | ||
4958 | WEBGL_compressed_texture_astc.getSupportedProfiles() | API, Method, Reference, WebGL, WebGL extension, WebGL extensions |
The WEBGL_compressed_texture_astc.getSupportedProfiles() method returns an array of strings containing the names of the ASTC profiles supported by the implementation. | ||
4959 | WEBGL_compressed_texture_atc | API, Reference, WebGL, WebGL extensions |
The WEBGL_compressed_texture_atc extension is part of the WebGL API and exposes 3 ATC compressed texture formats. ATC is a proprietary compression algorithm for compressing textures on handheld devices. | ||
4960 | WEBGL_compressed_texture_etc | API, Reference, WebGL, WebGL extension |
The WEBGL_compressed_texture_etc extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats. | ||
4961 | WEBGL_compressed_texture_etc1 | API, Reference, WebGL, WebGL extension |
The WEBGL_compressed_texture_etc1 extension is part of the WebGL API and exposes the ETC1 compressed texture format. | ||
4962 | WEBGL_compressed_texture_pvrtc | API, Reference, WebGL, WebGL extension |
The WEBGL_compressed_texture_pvrtc extension is part of the WebGL API and exposes four PVRTC compressed texture formats. | ||
4963 | WEBGL_compressed_texture_s3tc_srgb | API, Reference, WebGL, WebGL extension |
The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace. | ||
4964 | WEBGL_compressed_texture_s3tc | API, Reference, WebGL, WebGL extension |
The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. | ||
4965 | WEBGL_debug_renderer_info | API, Reference, WebGL, WebGL extension |
The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. | ||
4966 | WEBGL_debug_shaders | API, Reference, WebGL, WebGL extension |
The WEBGL_debug_shaders extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts. | ||
4967 | WEBGL_debug_shaders.getTranslatedShaderSource() | API, Method, Reference, WebGL, WebGL extension |
The WEBGL_debug_shaders.getTranslatedShaderSource() method is part of the WebGL API and allows you to debug a translated shader. | ||
4968 | WEBGL_depth_texture | API, Reference, WebGL, WebGL extension |
The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. | ||
4969 | WEBGL_draw_buffers | API, Reference, WebGL, WebGL extension |
The WEBGL_draw_buffers extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example. | ||
4970 | WEBGL_draw_buffers.drawBuffersWEBGL() | API, Method, Reference, WebGL |
The WEBGL_draw_buffers.drawBuffersWEBGL() method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written. | ||
4971 | WEBGL_lose_context | API, Reference, WebGL, WebGL extension |
The WEBGL_lose_context extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext . | ||
4972 | WEBGL_lose_context.loseContext() | API, Method, Reference, WebGL, WebGL extension |
The WEBGL_lose_context.loseContext() method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context. | ||
4973 | WEBGL_lose_context.restoreContext() | API, Method, Reference, WebGL, WebGL extension |
The WEBGL_lose_context.restoreContext() method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object. | ||
4974 | WEBGL_multi_draw | API, Reference, WebGL, WebGL extension |
The WEBGL_multi_draw extension is part of the WebGL API and allows to render more than one primitive with a single function call. This can improve a WebGL application's performance as it reduces binding costs in the renderer and speeds up GPU thread time with uniform data. | ||
4975 | WEBGL_multi_draw.multiDrawArraysInstancedWEBGL() | Method, Reference, WebGL, WebGL extension |
The WEBGL_multi_draw.multiDrawArraysInstancedWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArraysInstanced() method. | ||
4976 | WEBGL_multi_draw.multiDrawArraysWEBGL() | Method, Reference, WebGL, WebGL extension |
The WEBGL_multi_draw.multiDrawArraysWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArrays() method. | ||
4977 | WEBGL_multi_draw.multiDrawElementsInstancedWEBGL() | Method, Reference, WebGL, WebGL extension |
The WEBGL_multi_draw.multiDrawElementsWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElementsInstanced() method. | ||
4978 | WEBGL_multi_draw.multiDrawElementsWEBGL() | Method, Reference, WebGL, WebGL extension |
The WEBGL_multi_draw.multiDrawElementsWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElements() method. | ||
4979 | WebGL2RenderingContext | API, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element. | ||
4980 | WebGL2RenderingContext.beginQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.beginQuery() method of the WebGL 2 API starts an asynchronous query. The target parameter indicates which kind of query to begin. | ||
4981 | WebGL2RenderingContext.beginTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.beginTransformFeedback() method of the WebGL 2 API starts a transform feedback operation. | ||
4982 | WebGL2RenderingContext.bindBufferBase() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.bindBufferBase() method of the WebGL 2 API binds a given WebGLBuffer to a given binding point (target ) at a given index . | ||
4983 | WebGL2RenderingContext.bindBufferRange() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.bindBufferRange() method of the WebGL 2 API binds a range of a given WebGLBuffer to a given binding point (target ) at a given index . | ||
4984 | WebGL2RenderingContext.bindSampler() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.bindSampler() method of the WebGL 2 API binds a passed WebGLSampler object to the texture unit at the passed index. | ||
4985 | WebGL2RenderingContext.bindTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.bindTransformFeedback() method of the WebGL 2 API binds a passed WebGLTransformFeedback object to the current GL state. | ||
4986 | WebGL2RenderingContext.bindVertexArray() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.bindVertexArray() method of the WebGL 2 API binds a passed WebGLVertexArrayObject object to the buffer. | ||
4987 | WebGL2RenderingContext.blitFramebuffer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.blitFramebuffer() method of the WebGL 2 API transfers a block of pixels from the read framebuffer to the draw framebuffer. Read and draw framebuffers are bound using WebGLRenderingContext.bindFramebuffer() . | ||
4988 | WebGL2RenderingContext.clearBuffer[fiuv]() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.clearBuffer[fiuv]() methods of the WebGL 2 API clear buffers from the currently bound framebuffer. | ||
4989 | WebGL2RenderingContext.clientWaitSync() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.clientWaitSync() method of the WebGL 2 API blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed. | ||
4990 | WebGL2RenderingContext.compressedTexSubImage3D() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.compressedTexSubImage3D() method of the WebGL API specifies a three-dimensional sub-rectangle for a texture image in a compressed format. | ||
4991 | WebGL2RenderingContext.copyBufferSubData() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.copyBufferSubData() method of the WebGL 2 API copies part of the data of a buffer to another buffer. | ||
4992 | WebGL2RenderingContext.copyTexSubImage3D() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.copyTexSubImage3D() method of the WebGL API copies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image. | ||
4993 | WebGL2RenderingContext.createQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.createQuery() method of the WebGL 2 API creates and initializes WebGLQuery objects, which provide ways to asynchronously query for information. | ||
4994 | WebGL2RenderingContext.createSampler() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.createSampler() method of the WebGL 2 API creates and initializes WebGLSampler objects. | ||
4995 | WebGL2RenderingContext.createTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.createTransformFeedback() method of the WebGL 2 API creates and initializes WebGLTransformFeedback objects. | ||
4996 | WebGL2RenderingContext.createVertexArray() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.createVertexArray() method of the WebGL 2 API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data. | ||
4997 | WebGL2RenderingContext.deleteQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.deleteQuery() method of the WebGL 2 API deletes a given WebGLQuery object. | ||
4998 | WebGL2RenderingContext.deleteSampler() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.deleteSampler() method of the WebGL 2 API deletes a given WebGLSampler object. | ||
4999 | WebGL2RenderingContext.deleteSync() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.deleteSync() method of the WebGL 2 API deletes a given WebGLSync object. | ||
5000 | WebGL2RenderingContext.deleteTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.deleteTransformFeedback() method of the WebGL 2 API deletes a given WebGLTransformFeedback object. | ||
5001 | WebGL2RenderingContext.deleteVertexArray() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.deleteVertexArray() method of the WebGL 2 API deletes a given WebGLVertexArrayObject object. | ||
5002 | WebGL2RenderingContext.drawArraysInstanced() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.drawArraysInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawArrays() method. In addition, it can execute multiple instances of the range of elements. | ||
5003 | WebGL2RenderingContext.drawBuffers() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.drawBuffers() method of the WebGL 2 API defines draw buffers to which fragment colors are written into. The draw buffer settings are part of the state of the currently bound framebuffer or the drawingbuffer if no framebuffer is bound. | ||
5004 | WebGL2RenderingContext.drawElementsInstanced() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.drawElementsInstanced() method of the WebGL 2 API renders primitives from array data like the WebGLRenderingContext.drawElements() method. In addition, it can execute multiple instances of a set of elements. | ||
5005 | WebGL2RenderingContext.drawRangeElements() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.drawRangeElements() method of the WebGL API renders primitives from array data in a given range. | ||
5006 | WebGL2RenderingContext.endQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.endQuery() method of the WebGL 2 API marks the end of a given query target. | ||
5007 | WebGL2RenderingContext.endTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.endTransformFeedback() method of the WebGL 2 API ends a transform feedback operation. | ||
5008 | WebGL2RenderingContext.fenceSync() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.fenceSync() method of the WebGL 2 API creates a new WebGLSync object and inserts it into the GL command stream. | ||
5009 | WebGL2RenderingContext.framebufferTextureLayer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.framebufferTextureLayer() method of the WebGL 2 API attaches a single layer of a texture to a framebuffer. | ||
5010 | WebGL2RenderingContext.getActiveUniformBlockName() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getActiveUniformBlockName() method of the WebGL 2 API retrieves the name of the active uniform block at a given index within a WebGLProgram . | ||
5011 | WebGL2RenderingContext.getActiveUniformBlockParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getActiveUniformBlockParameter() method of the WebGL 2 API retrieves information about an active uniform block within a WebGLProgram . | ||
5012 | WebGL2RenderingContext.getActiveUniforms() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getActiveUniforms() method of the WebGL 2 API retrieves information about active uniforms within a WebGLProgram . | ||
5013 | WebGL2RenderingContext.getBufferSubData() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getBufferSubData() method of the WebGL 2 API reads data from a buffer binding point and writes them to an ArrayBuffer or SharedArrayBuffer . | ||
5014 | WebGL2RenderingContext.getFragDataLocation() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getFragDataLocation() method of the WebGL 2 API returns the binding of color numbers to user-defined varying out variables. | ||
5015 | WebGL2RenderingContext.getIndexedParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getIndexedParameter() method of the WebGL 2 API returns indexed information about a given target . | ||
5016 | WebGL2RenderingContext.getInternalformatParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getInternalformatParameter() method of the WebGL 2 API returns information about implementation-dependent support for internal formats. | ||
5017 | WebGL2RenderingContext.getQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getQuery() method of the WebGL 2 API returns the currently active WebGLQuery for the target , or null . | ||
5018 | WebGL2RenderingContext.getQueryParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getQueryParameter() method of the WebGL 2 API returns parameter information of a WebGLQuery object. | ||
5019 | WebGL2RenderingContext.getSamplerParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getSamplerParameter() method of the WebGL 2 API returns parameter information of a WebGLSampler object. | ||
5020 | WebGL2RenderingContext.getSyncParameter() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getSyncParameter() method of the WebGL 2 API returns parameter information of a WebGLSync object. | ||
5021 | WebGL2RenderingContext.getTransformFeedbackVarying() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getTransformFeedbackVarying() method of the WebGL 2 API returns information about varying variables from WebGLTransformFeedback buffers. | ||
5022 | WebGL2RenderingContext.getUniformBlockIndex() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getUniformBlockIndex() method of the WebGL 2 API retrieves the index of a uniform block within a WebGLProgram . | ||
5023 | WebGL2RenderingContext.getUniformIndices() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.getUniformIndices() method of the WebGL 2 API retrieves the indices of a number of uniforms within a WebGLProgram . | ||
5024 | WebGL2RenderingContext.invalidateFramebuffer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.invalidateFramebuffer() method of the WebGL 2 API invalidates the contents of attachments in a framebuffer. | ||
5025 | WebGL2RenderingContext.invalidateSubFramebuffer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.invalidateSubFramebuffer() method of the WebGL 2 API invalidates portions of the contents of attachments in a framebuffer. | ||
5026 | WebGL2RenderingContext.isQuery() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.isQuery() method of the WebGL 2 API returns true if the passed object is a valid WebGLQuery object. | ||
5027 | WebGL2RenderingContext.isSampler() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.isSampler() method of the WebGL 2 API returns true if the passed object is a valid WebGLSampler object. | ||
5028 | WebGL2RenderingContext.isSync() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.isSync() method of the WebGL 2 API returns true if the passed object is a valid WebGLSync object. | ||
5029 | WebGL2RenderingContext.isTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.isTransformFeedback() method of the WebGL 2 API returns true if the passed object is a valid WebGLTransformFeedback object. | ||
5030 | WebGL2RenderingContext.isVertexArray() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.isVertexArray() method of the WebGL API returns true if the passed object is a valid WebGLVertexArrayObject object. | ||
5031 | WebGL2RenderingContext.pauseTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.pauseTransformFeedback() method of the WebGL 2 API pauses a transform feedback operation. | ||
5032 | WebGL2RenderingContext.readBuffer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.readBuffer() method of the WebGL 2 API selects a color buffer as the source for pixels for subsequent calls to WebGLRenderingContext.copyTexImage2D , WebGLRenderingContext.copyTexSubImage2D , WebGL2RenderingContext.copyTexSubImage3D or WebGLRenderingContext.readPixels . | ||
5033 | WebGL2RenderingContext.renderbufferStorageMultisample() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.renderbufferStorageMultisample() method of the WebGL 2 API returns creates and initializes a renderbuffer object's data store and allows specifying a number of samples to be used. | ||
5034 | WebGL2RenderingContext.resumeTransformFeedback() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.resumeTransformFeedback() method of the WebGL 2 API resumes a transform feedback operation. | ||
5035 | WebGL2RenderingContext.samplerParameter[if]() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.samplerParameter[if]() methods of the WebGL 2 API set WebGLSampler parameters. | ||
5036 | WebGL2RenderingContext.texImage3D() | API, Method, Reference, WebGL, WebGL2 |
The WebGLRenderingContext.texImage3D() method of the WebGL API specifies a three-dimensional texture image. | ||
5037 | WebGL2RenderingContext.texStorage2D() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.texStorage2D() method of the WebGL API specifies all levels of two-dimensional texture storage. | ||
5038 | WebGL2RenderingContext.texStorage3D() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.texStorage3D() method of the WebGL API specifies all levels of a three-dimensional texture or two-dimensional array texture. | ||
5039 | WebGL2RenderingContext.texSubImage3D() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.texSubImage3D() method of the WebGL API specifies a sub-rectangle of the current texture. | ||
5040 | WebGL2RenderingContext.transformFeedbackVaryings() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.transformFeedbackVaryings() method of the WebGL 2 API specifies values to record in WebGLTransformFeedback buffers. | ||
5041 | WebGL2RenderingContext.uniform[1234][uif][v]() | API, Method, Reference, WebGL, WebGL2, WebGL2RenderingContext |
The WebGL2RenderingContext.uniform[1234][uif][v]() methods of the WebGL API specify values of uniform variables. | ||
5042 | WebGL2RenderingContext.uniformBlockBinding() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.uniformBlockBinding() method of the WebGL 2 API assigns binding points for active uniform blocks. | ||
5043 | WebGL2RenderingContext.uniformMatrix[234]x[234]fv() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.uniformMatrix[234]x[234]fv() methods of the WebGL 2 API specify matrix values for uniform variables. | ||
5044 | WebGL2RenderingContext.vertexAttribDivisor() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.vertexAttribDivisor() method of the WebGL 2 API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with WebGL2RenderingContext.drawArraysInstanced() and WebGL2RenderingContext.drawElementsInstanced() . | ||
5045 | WebGL2RenderingContext.vertexAttribI4[u]i[v]() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.vertexAttribI4[u]i[v]() methods of the WebGL 2 API specify integer values for generic vertex attributes. | ||
5046 | WebGL2RenderingContext.vertexAttribIPointer() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.vertexAttribIPointer() method of the WebGL 2 API specifies integer data formats and locations of vertex attributes in a vertex attributes array. | ||
5047 | WebGL2RenderingContext.waitSync() | API, Method, Reference, WebGL, WebGL2 |
The WebGL2RenderingContext.waitSync() method of the WebGL 2 API returns immediately, but waits on the GL server until the given WebGLSync object is signaled. | ||
5048 | WebGLActiveInfo | API, Reference, WebGL |
The WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. | ||
5049 | WebGLActiveInfo.name | API, Property, Reference, WebGL |
The read-only WebGLActiveInfo.name property represents the name of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods. | ||
5050 | WebGLActiveInfo.size | API, Property, Reference, WebGL |
The read-only WebGLActiveInfo.size property is a Number representing the size of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods. | ||
5051 | WebGLActiveInfo.type | API, Property, Reference, WebGL |
The read-only WebGLActiveInfo.type property represents the type of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods. | ||
5052 | WebGLBuffer | API, Reference, WebGL |
The WebGLBuffer interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. | ||
5053 | WebGLContextEvent | API, Interface, Reference, WebGL, WebGLContextEvent |
The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. | ||
5054 | WebGLContextEvent.statusMessage | API, Property, Read-only, Reference, WebGL, WebGLContextEvent |
The read-only WebGLContextEvent.statusMessage property contains additional event status information, or is an empty string if no additional information is available. | ||
5055 | WebGLFramebuffer | API, Reference, WebGL |
The WebGLFramebuffer interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination. | ||
5056 | WebGLProgram | API, GL, GLSL, Graphics, Interface, Program, Reference, Shader, WebGL, WebGLProgram |
The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShader s consisting of a vertex shader and a fragment shader (both written in GLSL). | ||
5057 | WebGLQuery | API, Experimental, Reference, WebGL, WebGL2 |
The WebGLQuery interface is part of the WebGL 2 API and provides ways to asynchronously query for information. By default, occlusion queries and primitive queries are available. | ||
5058 | WebGLRenderbuffer | API, Reference, WebGL |
The WebGLRenderbuffer interface is part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. | ||
5059 | WebGLRenderingContext | 2D, 3D, API, Canvas, Context, Drawing, GL, Graphics, Interface, Reference, WebGL, WebGLRenderingContext, rendering |
The WebGLRenderingContext interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element. | ||
5060 | WebGLRenderingContext.activeTexture() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.activeTexture() method of the WebGL API specifies which texture unit to make active. | ||
5061 | WebGLRenderingContext.attachShader() | Method, WebGL |
The WebGLRenderingContext.attachShader() method of the WebGL API attaches either a fragment or vertex WebGLShader to a WebGLProgram . | ||
5062 | WebGLRenderingContext.bindAttribLocation() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bindAttribLocation() method of the WebGL API binds a generic vertex index to an attribute variable. | ||
5063 | WebGLRenderingContext.bindBuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bindBuffer() method of the WebGL API binds a given WebGLBuffer to a target. | ||
5064 | WebGLRenderingContext.bindFramebuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bindFramebuffer() method of the WebGL API binds a given WebGLFramebuffer to a target. | ||
5065 | WebGLRenderingContext.bindRenderbuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bindRenderbuffer() method of the WebGL API binds a given WebGLRenderbuffer to a target, which must be gl.RENDERBUFFER . | ||
5066 | WebGLRenderingContext.bindTexture() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bindTexture() method of the WebGL API binds a given WebGLTexture to a target (binding point). | ||
5067 | WebGLRenderingContext.blendColor() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.blendColor() method of the WebGL API is used to set the source and destination blending factors. | ||
5068 | WebGLRenderingContext.blendEquation() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.blendEquation() method of the WebGL API is used to set both the RGB blend equation and alpha blend equation to a single equation. | ||
5069 | WebGLRenderingContext.blendEquationSeparate() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.blendEquationSeparate() method of the WebGL API is used to set the RGB blend equation and alpha blend equation separately. | ||
5070 | WebGLRenderingContext.blendFunc() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.blendFunc() method of the WebGL API defines which function is used for blending pixel arithmetic. | ||
5071 | WebGLRenderingContext.blendFuncSeparate() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.blendFuncSeparate() method of the WebGL API defines which function is used for blending pixel arithmetic for RGB and alpha components separately. | ||
5072 | WebGLRenderingContext.bufferData() | API, Buffer, Graphics, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.bufferData() method of the WebGL API initializes and creates the buffer object's data store. | ||
5073 | WebGLRenderingContext.bufferSubData() | API, Method, Reference, WebGL, WebGLRenderingContext, bufferSubData |
The WebGLRenderingContext.bufferSubData() method of the WebGL API updates a subset of a buffer object's data store. | ||
5074 | WebGLRenderingContext.canvas | Property, Read-only, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.canvas property is a read-only reference to the HTMLCanvasElement or OffscreenCanvas object that is associated with the context. It might be null if it is not associated with a canvas element or an OffscreenCanvas object. | ||
5075 | WebGLRenderingContext.checkFramebufferStatus() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.checkFramebufferStatus() method of the WebGL API returns the completeness status of the WebGLFramebuffer object. | ||
5076 | WebGLRenderingContext.clear() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.clear() method of the WebGL API clears buffers to preset values. | ||
5077 | WebGLRenderingContext.clearColor() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.clearColor() method of the WebGL API specifies the color values used when clearing color buffers. | ||
5078 | WebGLRenderingContext.clearDepth() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.clearDepth() method of the WebGL API specifies the clear value for the depth buffer. | ||
5079 | WebGLRenderingContext.clearStencil() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.clearStencil() method of the WebGL API specifies the clear value for the stencil buffer. | ||
5080 | WebGLRenderingContext.colorMask() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.colorMask() method of the WebGL API sets which color components to enable or to disable when drawing or rendering to a WebGLFramebuffer . | ||
5081 | WebGLRenderingContext.commit() | API, Experimental, Method, OffscreenCanvas, Reference, WebGL |
The WebGLRenderingContext .commit() method pushes frames back to the original HTMLCanvasElement , if the context is not directly fixed to a specific canvas. | ||
5082 | WebGLRenderingContext.compileShader() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.compileShader() method of the WebGL API compiles a GLSL shader into binary data so that it can be used by a WebGLProgram . | ||
5083 | WebGLRenderingContext.compressedTexImage[23]D() | API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext |
The WebGLRenderingContext.compressedTexImage2D() and WebGL2RenderingContext.compressedTexImage3D() methods of the WebGL API specify a two- or three-dimensional texture image in a compressed format. | ||
5084 | WebGLRenderingContext.compressedTexSubImage2D() | API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext |
The WebGLRenderingContext.compressedTexSubImage2D() method of the WebGL API specifies a two-dimensional sub-rectangle for a texture image in a compressed format. | ||
5085 | WebGLRenderingContext.copyTexImage2D() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.copyTexImage2D() method of the WebGL API copies pixels from the current WebGLFramebuffer into a 2D texture image. | ||
5086 | WebGLRenderingContext.copyTexSubImage2D() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.copyTexSubImage2D() method of the WebGL API copies pixels from the current WebGLFramebuffer into an existing 2D texture sub-image. | ||
5087 | WebGLRenderingContext.createBuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.createBuffer() method of the WebGL API creates and initializes a WebGLBuffer storing data such as vertices or colors. | ||
5088 | WebGLRenderingContext.createFramebuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.createFramebuffer() method of the WebGL API creates and initializes a WebGLFramebuffer object. | ||
5089 | WebGLRenderingContext.createProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.createProgram() method of the WebGL API creates and initializes a WebGLProgram object. | ||
5090 | WebGLRenderingContext.createRenderbuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.createRenderbuffer() method of the WebGL API creates and initializes a WebGLRenderbuffer object. | ||
5091 | WebGLRenderingContext.createShader() | API, Graphics, Method, Reference, Shader, WebGL |
The WebGLRenderingContext method createShader() of the WebGL API creates a WebGLShader that can then be configured further using WebGLRenderingContext.shaderSource() and WebGLRenderingContext.compileShader() . | ||
5092 | WebGLRenderingContext.createTexture() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.createTexture() method of the WebGL API creates and initializes a WebGLTexture object. | ||
5093 | WebGLRenderingContext.cullFace() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.cullFace() method of the WebGL API specifies whether or not front- and/or back-facing polygons can be culled. | ||
5094 | WebGLRenderingContext.deleteBuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteBuffer() method of the WebGL API deletes a given WebGLBuffer . This method has no effect if the buffer has already been deleted. | ||
5095 | WebGLRenderingContext.deleteFramebuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteFramebuffer() method of the WebGL API deletes a given WebGLFramebuffer object. This method has no effect if the frame buffer has already been deleted. | ||
5096 | WebGLRenderingContext.deleteProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteProgram() method of the WebGL API deletes a given WebGLProgram object. This method has no effect if the program has already been deleted. | ||
5097 | WebGLRenderingContext.deleteRenderbuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteRenderbuffer() method of the WebGL API deletes a given WebGLRenderbuffer object. This method has no effect if the render buffer has already been deleted. | ||
5098 | WebGLRenderingContext.deleteShader() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteShader() method of the WebGL API marks a given WebGLShader object for deletion. It will then be deleted whenever the shader is no longer in use. This method has no effect if the shader has already been deleted, and the WebGLShader is automatically marked for deletion when it is destroyed by the garbage collector. | ||
5099 | WebGLRenderingContext.deleteTexture() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.deleteTexture() method of the WebGL API deletes a given WebGLTexture object. This method has no effect if the texture has already been deleted. | ||
5100 | WebGLRenderingContext.depthFunc() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.depthFunc() method of the WebGL API specifies a function that compares incoming pixel depth to the current depth buffer value. | ||
5101 | WebGLRenderingContext.depthMask() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.depthMask() method of the WebGL API sets whether writing into the depth buffer is enabled or disabled. | ||
5102 | WebGLRenderingContext.depthRange() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.depthRange() method of the WebGL API specifies the depth range mapping from normalized device coordinates to window or viewport coordinates. | ||
5103 | WebGLRenderingContext.detachShader() | Method, WebGL |
The WebGLRenderingContext.detachShader() method of the WebGL API detaches a previously attached WebGLShader from a WebGLProgram . | ||
5104 | WebGLRenderingContext.disable() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.disable() method of the WebGL API disables specific WebGL capabilities for this context. | ||
5105 | WebGLRenderingContext.disableVertexAttribArray() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.disableVertexAttribArray() method of the WebGL API turns the generic vertex attribute array off at a given index position. | ||
5106 | WebGLRenderingContext.drawArrays() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.drawArrays() method of the WebGL API renders primitives from array data. | ||
5107 | WebGLRenderingContext.drawElements() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.drawElements() method of the WebGL API renders primitives from array data. | ||
5108 | WebGLRenderingContext.drawingBufferHeight | API, Property, Read-only, Reference, WebGL, WebGLRenderingContext |
The read-only WebGLRenderingContext.drawingBufferHeight property represents the actual height of the current drawing buffer. It should match the height attribute of the canvas element associated with this context, but might differ if the implementation is not able to provide the requested height. | ||
5109 | WebGLRenderingContext.drawingBufferWidth | API, Property, Read-only, Reference, WebGL, WebGLRenderingContext |
The read-only WebGLRenderingContext.drawingBufferWidth property represents the actual width of the current drawing buffer. It should match the width attribute of the canvas element associated with this context, but might differ if the implementation is not able to provide the requested width. | ||
5110 | WebGLRenderingContext.enable() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.enable() method of the WebGL API enables specific WebGL capabilities for this context. | ||
5111 | WebGLRenderingContext.enableVertexAttribArray() | 3D, API, Attribute Array, Graphics, Method, Reference, Vertex Attributes, WebGL, WebGL API, WebGLRenderingContext, enableVertexAttribArray, vertex, vertex shader |
The WebGLRenderingContext method enableVertexAttribArray() , part of the WebGL API, turns on the generic vertex attribute array at the specified index into the list of attribute arrays. | ||
5112 | WebGLRenderingContext.finish() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.finish() method of the WebGL API blocks execution until all previously called commands are finished. | ||
5113 | WebGLRenderingContext.flush() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.flush() method of the WebGL API empties different buffer commands, causing all commands to be executed as quickly as possible. | ||
5114 | WebGLRenderingContext.framebufferRenderbuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.framebufferRenderbuffer() method of the WebGL API attaches a WebGLRenderbuffer object to a WebGLFramebuffer object. | ||
5115 | WebGLRenderingContext.framebufferTexture2D() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.framebufferTexture2D() method of the WebGL API attaches a texture to a WebGLFramebuffer . | ||
5116 | WebGLRenderingContext.frontFace() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.frontFace() method of the WebGL API specifies whether polygons are front- or back-facing by setting a winding orientation. | ||
5117 | WebGLRenderingContext.generateMipmap() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.generateMipmap() method of the WebGL API generates a set of mipmaps for a WebGLTexture object. | ||
5118 | WebGLRenderingContext.getActiveAttrib() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getActiveAttrib() method of the WebGL API returns a WebGLActiveInfo object containing size, type, and name of a vertex attribute. It is generally used when querying unknown attributes either for debugging or generic library creation. | ||
5119 | WebGLRenderingContext.getActiveUniform() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getActiveUniform() method of the WebGL API returns a WebGLActiveInfo object containing size, type, and name of a uniform attribute. It is generally used when querying unknown uniforms either for debugging or generic library creation. | ||
5120 | WebGLRenderingContext.getAttachedShaders() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getAttachedShaders() method of the WebGL API returns a list of WebGLShader objects attached to a WebGLProgram . | ||
5121 | WebGLRenderingContext.getAttribLocation() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getAttribLocation() method of the WebGL API returns the location of an attribute variable in a given WebGLProgram . | ||
5122 | WebGLRenderingContext.getBufferParameter() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getBufferParameter() method of the WebGL API returns information about the buffer. | ||
5123 | WebGLRenderingContext.getContextAttributes() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getContextAttributes() method returns a WebGLContextAttributes object that contains the actual context parameters. Might return null , if the context is lost. | ||
5124 | WebGLRenderingContext.getError() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getError() method of the WebGL API returns error information. | ||
5125 | WebGLRenderingContext.getExtension() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getExtension() method enables a WebGL extension. | ||
5126 | WebGLRenderingContext.getFramebufferAttachmentParameter() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getFramebufferAttachmentParameter() method of the WebGL API returns information about a framebuffer's attachment. | ||
5127 | WebGLRenderingContext.getParameter() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getParameter() method of the WebGL API returns a value for the passed parameter name. | ||
5128 | WebGLRenderingContext.getProgramInfoLog() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getProgramInfoLog returns the information log for the specified WebGLProgram object. It contains errors that occurred during failed linking or validation of WebGLProgram objects. | ||
5129 | WebGLRenderingContext.getProgramParameter() | API, Method, Reference, WebGL, WebGL2, WebGLRenderingContext |
The WebGLRenderingContext.getProgramParameter() method of the WebGL API returns information about the given program. | ||
5130 | WebGLRenderingContext.getRenderbufferParameter() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getRenderbufferParameter() method of the WebGL API returns information about the renderbuffer. | ||
5131 | WebGLRenderingContext.getShaderInfoLog() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getShaderInfoLog returns the information log for the specified WebGLShader object. It contains warnings, debugging and compile information. | ||
5132 | WebGLRenderingContext.getShaderParameter() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getShaderParameter() method of the WebGL API returns information about the given shader. | ||
5133 | WebGLRenderingContext.getShaderPrecisionFormat() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getShaderPrecisionFormat() method of the WebGL API returns a new WebGLShaderPrecisionFormat object describing the range and precision for the specified shader numeric format. | ||
5134 | WebGLRenderingContext.getShaderSource() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getShaderSource() method of the WebGL API returns the source code of a WebGLShader as a DOMString . | ||
5135 | WebGLRenderingContext.getSupportedExtensions() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getSupportedExtensions() method returns a list of all the supported WebGL extensions. | ||
5136 | WebGLRenderingContext.getTexParameter() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getTexParameter() method of the WebGL API returns information about the given texture. | ||
5137 | WebGLRenderingContext.getUniform() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getUniform() method of the WebGL API returns the value of a uniform variable at a given location. | ||
5138 | WebGLRenderingContext.getUniformLocation() | API, Method, Reference, Uniform Variables, Uniforms, Variables, Variables in WebGL, WebGL, WebGLRenderingContext, getUniformLocation |
Part of the WebGL API, the WebGLRenderingContext method getUniformLocation() returns the location of a specific uniform variable which is part of a given WebGLProgram . | ||
5139 | WebGLRenderingContext.getVertexAttrib() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getVertexAttrib() method of the WebGL API returns information about a vertex attribute at a given position. | ||
5140 | WebGLRenderingContext.getVertexAttribOffset() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.getVertexAttribOffset() method of the WebGL API returns the address of a specified vertex attribute. | ||
5141 | WebGLRenderingContext.hint() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.hint() method of the WebGL API specifies hints for certain behaviors. The interpretation of these hints depend on the implementation. | ||
5142 | WebGLRenderingContext.isBuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isBuffer() method of the WebGL API returns true if the passed WebGLBuffer is valid and false otherwise. | ||
5143 | WebGLRenderingContext.isContextLost() | API, Context, Lost, Method, Reference, WebGL, WebGLRenderingContext, isContextLost |
The WebGLRenderingContext.isContextLost() method returns a Boolean indicating whether or not the WebGL context has been lost and must be re-established before rendering can resume. | ||
5144 | WebGLRenderingContext.isEnabled() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isEnabled() method of the WebGL API tests whether a specific WebGL capability is enabled or not for this context. | ||
5145 | WebGLRenderingContext.isFramebuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isFramebuffer() method of the WebGL API returns true if the passed WebGLFramebuffer is valid and false otherwise. | ||
5146 | WebGLRenderingContext.isProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isProgram() method of the WebGL API returns true if the passed WebGLProgram is valid, false otherwise. | ||
5147 | WebGLRenderingContext.isRenderbuffer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isRenderbuffer() method of the WebGL API returns true if the passed WebGLRenderbuffer is valid and false otherwise. | ||
5148 | WebGLRenderingContext.isShader() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isShader() method of the WebGL API returns true if the passed WebGLShader is valid, false otherwise. | ||
5149 | WebGLRenderingContext.isTexture() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.isTexture() method of the WebGL API returns true if the passed WebGLTexture is valid and false otherwise. | ||
5150 | WebGLRenderingContext.lineWidth() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.lineWidth() method of the WebGL API sets the line width of rasterized lines. | ||
5151 | WebGLRenderingContext.linkProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext interface's linkProgram() method links a given WebGLProgram , completing the process of preparing the GPU code for the program's fragment and vertex shaders. | ||
5152 | WebGLRenderingContext.makeXRCompatible() | 3D, API, AR, Context, Mixed, Reality, Reference, VR, Virtual, WebGL, WebGL API, WebGLRenderingContext, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, makeXRCompatible |
The WebGLRenderingContext method makeXRCompatible() ensures that the rendering context described by the WebGLRenderingContext is ready to render the scene for the immersive WebXR device on which it will be displayed. If necessary, the WebGL layer may reconfigure the context to be ready to render to a different device than it originally was. | ||
5153 | WebGLRenderingContext.pixelStorei() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.pixelStorei() method of the WebGL API specifies the pixel storage modes. | ||
5154 | WebGLRenderingContext.polygonOffset() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.polygonOffset() method of the WebGL API specifies the scale factors and units to calculate depth values. | ||
5155 | WebGLRenderingContext.readPixels() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.readPixels() method of the WebGL API reads a block of pixels from a specified rectangle of the current color framebuffer into an ArrayBufferView object. | ||
5156 | WebGLRenderingContext.renderbufferStorage() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.renderbufferStorage() method of the WebGL API creates and initializes a renderbuffer object's data store. | ||
5157 | WebGLRenderingContext.sampleCoverage() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.sampleCoverage() method of the WebGL API specifies multi-sample coverage parameters for anti-aliasing effects. | ||
5158 | WebGLRenderingContext.scissor() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.scissor() method of the WebGL API sets a scissor box, which limits the drawing to a specified rectangle. | ||
5159 | WebGLRenderingContext.shaderSource() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.shaderSource() method of the WebGL API sets the source code of a WebGLShader . | ||
5160 | WebGLRenderingContext.stencilFunc() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilFunc() method of the WebGL API sets the front and back function and reference value for stencil testing. | ||
5161 | WebGLRenderingContext.stencilFuncSeparate() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilFuncSeparate() method of the WebGL API sets the front and/or back function and reference value for stencil testing. | ||
5162 | WebGLRenderingContext.stencilMask() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilMask() method of the WebGL API controls enabling and disabling of both the front and back writing of individual bits in the stencil planes. | ||
5163 | WebGLRenderingContext.stencilMaskSeparate() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilMaskSeparate() method of the WebGL API controls enabling and disabling of front and/or back writing of individual bits in the stencil planes. | ||
5164 | WebGLRenderingContext.stencilOp() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilOp() method of the WebGL API sets both the front and back-facing stencil test actions. | ||
5165 | WebGLRenderingContext.stencilOpSeparate() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.stencilOpSeparate() method of the WebGL API sets the front and/or back-facing stencil test actions. | ||
5166 | WebGLRenderingContext.texImage2D() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.texImage2D() method of the WebGL API specifies a two-dimensional texture image. | ||
5167 | WebGLRenderingContext.texParameter[fi]() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.texParameter[fi]() methods of the WebGL API set texture parameters. | ||
5168 | WebGLRenderingContext.texSubImage2D() | API, Method, Reference, Textures, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.texSubImage2D() method of the WebGL API specifies a sub-rectangle of the current texture. | ||
5169 | WebGLRenderingContext.uniform[1234][fi][v]() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.uniform[1234][fi][v]() methods of the WebGL API specify values of uniform variables. All active uniform variables defined in a program object are initialized to 0 when the program object is linked successfully. They retain the values assigned to them by a call to this method until the next successful link operation occurs on the program object, when they are once again initialized to 0. | ||
5170 | WebGLRenderingContext.uniformMatrix[234]fv() | API, Method, Reference, Uniform Variables, Uniforms, WebGL, WebGL API, WebGLRenderingContext, matrices, matrix, uniformMatrix2fv, uniformMatrix3fv, uniformMatrix4fv |
The WebGLRenderingContext.uniformMatrix[234]fv() methods of the WebGL API specify matrix values for uniform variables. | ||
5171 | WebGLRenderingContext.useProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.useProgram() method of the WebGL API sets the specified WebGLProgram as part of the current rendering state. | ||
5172 | WebGLRenderingContext.validateProgram() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.validateProgram() method of the WebGL API validates a WebGLProgram . It checks if it is successfully linked and if it can be used in the current WebGL state. | ||
5173 | WebGLRenderingContext.vertexAttrib[1234]f[v]() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.vertexAttrib[1234]f[v]() methods of the WebGL API specify constant values for generic vertex attributes. | ||
5174 | WebGLRenderingContext.vertexAttribPointer() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.vertexAttribPointer() method of the WebGL API binds the buffer currently bound to gl.ARRAY_BUFFER to a generic vertex attribute of the current vertex buffer object and specifies its layout. | ||
5175 | WebGLRenderingContext.viewport() | API, Method, Reference, WebGL, WebGLRenderingContext |
The WebGLRenderingContext.viewport() method of the WebGL API sets the viewport, which specifies the affine transformation of x and y from normalized device coordinates to window coordinates. | ||
5176 | WebGLSampler | API, Experimental, Reference, WebGL, WebGL2 |
The WebGLSampler interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader. | ||
5177 | WebGLShader | Reference, WebGL, WebGLShader |
The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. | ||
5178 | WebGLShaderPrecisionFormat | API, Reference, WebGL |
The WebGLShaderPrecisionFormat interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. | ||
5179 | WebGLShaderPrecisionFormat.precision | API, Property, Reference, WebGL |
The read-only WebGLShaderPrecisionFormat.precision property returns the number of bits of precision that can be represented. | ||
5180 | WebGLShaderPrecisionFormat.rangeMax | API, Property, Reference, WebGL |
The read-only WebGLShaderPrecisionFormat.rangeMax property returns the base 2 log of the absolute value of the maximum value that can be represented. | ||
5181 | WebGLShaderPrecisionFormat.rangeMin | API, Property, Reference, WebGL |
The read-only WebGLShaderPrecisionFormat.rangeMin property returns the base 2 log of the absolute value of the minimum value that can be represented. | ||
5182 | WebGLSync | API, Experimental, Reference, WebGL, WebGL2 |
The WebGLSync interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application. | ||
5183 | WebGLTexture | API, Reference, WebGL |
The WebGLTexture interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. | ||
5184 | WebGLTransformFeedback | API, Interface, Reference, WebGL, WebGL2 |
The WebGLTransformFeedback interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times. | ||
5185 | WebGLUniformLocation | API, Reference, WebGL |
The WebGLUniformLocation interface is part of the WebGL API and represents the location of a uniform variable in a shader program. | ||
5186 | WebGLVertexArrayObject | API, Reference, WebGL, WebGL2 |
The WebGLVertexArrayObject interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data. | ||
5187 | WebRTC API | API, Audio, Conferencing, Landing, Media, Networking, Video, WebRTC, WebRTC API, streaming |
WebRTC (Web Real-Time Communication) is a technology which enables Web applications and sites to capture and optionally stream audio and/or video media, as well as to exchange arbitrary data between browsers without requiring an intermediary. | ||
5188 | Improving compatibility using WebRTC adapter.js | API, Audio, Guide, Video, WebRTC |
The WebRTC organization provides on GitHub the WebRTC adapter to work around compatibility issues in different browsers' WebRTC implementations. The adapter is a JavaScript shim which lets your code to be written to the specification so that it will "just work" in all browsers with WebRTC support. | ||
5189 | Building an Internet-Connected Phone with PeerJS | |
Recently I’ve been fiddling around with WebRTC. WebRTC is a group of API endpoints and protocols that make it possible to send data (in the form of audio, video or anything else really) from one peer/device to another without the need of a traditional server. The issue is, WebRTC is pretty complicated to use and develop with in and of itself, handling the signalling service and knowing when to call the right endpoint can get confusing. But I come bearing good news; PeerJS is a WebRTC framework that abstracts all of the ice and signalling logic so that you can focus on the functionality of your application. There are two parts to PeerJS, the client-side framework and the server, we’ll be using both but most of our work will be handling the client-side code. | ||
5190 | Building the Server | |
The server file will look like a regular Express server file with one difference, the Peer server. | ||
5191 | Connecting the Peers | |
This is the part you’ve been waiting for, actually creating the peer connection and call logic. This is going to be an involved process so strap in. First up, create a script.js file, this is where all your logic will live. | ||
5192 | Answering a Call | |
The peerJS framework makes the .on('call') event available to use so let’s use it here. | ||
5193 | Creating a Peer Connection | |
Next, you want to ensure your users have a way of connecting their peers. In order to connect two peers, you’ll need the peer ID for one of them. You can create a variable with let then assign it in a function to be called later. | ||
5194 | Creating a Call | |
Now you’ll want to give your users the ability to create calls. First get the call button that’s defined in the HTML: | ||
5195 | Ending a Call | |
The last thing you want to do, is ensure your callers have a way of ending the call. The most graceful way of doing this is closing the connection using the close , which you can do in an event listener for the hang up button. | ||
5196 | Getting Browser Microphone Permission | |
After you’ve created the peer, you’ll want to get the browser’s permission to access the microphone. We’ll be using the getUserMedia function on the navigator.MediaDevices object, which is part of the Media Devices Web interface. The getUserMedia endpoint takes a constraints object which specifies which permissions are needed. getUserMedia is a promise which when successfully resolved returns a MediaStream object. In this case this is going to be the audio from our stream. If the promise isn’t successfully resolved, you’ll want to catch and display the error. | ||
5197 | Showing and Hiding the HTML | |
Alright, so you’ve got the permissions, now you’ll want to make sure each user knows what their peer ID is so that they can make connections. The peerJS framework gives us a bunch of event listeners we can call on the peer we created earlier on. So when the peer is open, display the peer’s ID: | ||
5198 | Deployment and Further Reading | |
The easiest place to deploy this app would be Glitch, since you don’t have to fiddle with configuring the port for the peer server. | ||
5199 | Setup | |
Web/API/WebRTC_API/build_a_phone_with_peerjs | ||
5200 | WebRTC coding guide | |
Once you have an overall understanding of what WebRTC does and how it works, your mind likely turns to implementation. How do you create a Web application that uses two-way video or data streams without having to do all the hard work of compressing frames, building streams, and so forth by yourself? This coding guide will explain in depth how WebRTC works, and will dive into actual code that uses WebRTC to do useful things. | ||
5201 | WebRTC connectivity | API, Advanced, Audio, Draft, Guide, Media, Video, WebRTC |
This article describes how the various WebRTC-related protocols interact with one another in order to create a connection and transfer data and/or media among peers. | ||
5202 | High-level guides | API, Audio, Landing, Media, Video, WebAPI, WebRTC |
WebRTC (Web Real-Time Communications) is a broad, multi-component system for setting up and operating complex audio, video, and data channels across networks among two or more peers on the Web. The high-level guides listed below introduce WebRTC technology from a top-down perspective, describing the overall architecture, the life cycle of a WebRTC connection, and basic security and technological issues you might run into as you explore and build Web content or apps using the WebRTC API. | ||
5203 | Introduction to the Real-time Transport Protocol (RTP) | API, Connectivity, Guide, Intermediate, Protocols, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, WebRTC |
The Real-time Transport Protocol (RTP), defined in 3550 , is an IETF standard protocol to enable real-time connectivity for exchanging data that needs real-time priority. This article provides an overview of what RTP is and how it functions in the context of WebRTC. | ||
5204 | Establishing a connection: The WebRTC perfect negotiation pattern | API, Configure, Connection, Connectivity, Guide, Intermediate, Negotiation, Perfect Negotiation, Setup, Startup, WebRTC, WebRTC API |
This article introduces WebRTC perfect negotiation, describing how it works and why it's the recommended way to negotiate a WebRTC connection between peers, and provides sample code to demonstrate the technique. | ||
5205 | Introduction to WebRTC protocols | API, Audio, Beginner, Draft, Guide, ICE, Media, NAT, SDP, STUN, TURN, Video, WebRTC, WebRTC API |
This article introduces the protocols on top of which the WebRTC API is built. | ||
5206 | Lifetime of a WebRTC session | Advanced, Guide, NeedsContent, WebRTC |
WebRTC lets you build peer-to-peer communication of arbitrary data, audio, or video—or any combination thereof—into a browser application. In this article, we'll look at the lifetime of a WebRTC session, from establishing the connection all the way through closing the connection when it's no longer needed. | ||
5207 | Signaling and video calling | API, Audio, Calling, Example, Guide, Media, Signaling, Tutorial, Video, WebRTC |
WebRTC allows real-time, peer-to-peer, media exchange between two devices. A connection is established through a discovery and negotiation process called signaling. This tutorial will guide you through building a two-way video-call. | ||
5208 | A simple RTCDataChannel sample | API, Communication, Example, Tutorial, WebRTC |
The RTCDataChannel interface is a feature of the WebRTC API which lets you open a channel between two peers over which you may send and receive arbitrary data. The API is intentionally similar to the WebSocket API, so that the same programming model can be used for each. | ||
5209 | Taking still photos with WebRTC | API, Advanced, Example, Photos, Sample code, Still Photos, Video, WebRTC, camera, getusermedia, webcam |
This article shows how to use WebRTC to access the camera on a computer or mobile phone with WebRTC support and take a photo with it. | ||
5210 | Using WebRTC data channels | Communications, Data Transfer, Draft, Guide, NeedsContent, Networking, RTCDataChannel, WebRTC, WebRTC API, buffering |
In this guide, we'll examine how to add a data channel to a peer connection, which can then be used to securely exchange arbitrary data; that is, any kind of data we wish, in any format we choose. | ||
5211 | Using DTMF with WebRTC | API, DTMF, Example, Guide, Media, RTCDTMFSender, RTCPeerConnection, Touch-tone, WebRTC, WebRTC API |
In order to more fully support audio/video conferencing, WebRTC supports sending DTMF to the remote peer on an RTCPeerConnection . This article offers a brief high-level overview of how DTMF works over WebRTC, then provides a guide for everyday developers about how to send DTMF over an RTCPeerConnection . The DTMF system is often referred to as "touch tone," after an old trade name for the system. | ||
5212 | WebRTC Statistics API | API, Draft, Identifiers, Identifiers for WebRTC Statistics API, Landing, RTP, Statistics, Stats, WebRTC, WebRTC Statistics API |
WebRTC | ||
5213 | WebSocket | API, Interface, NeedsContent, WebSocket, WebSockets |
The WebSocket object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. | ||
5214 | WebSocket.binaryType | API, Property, Reference, Web API, WebSocket |
The WebSocket.binaryType property returns the type of binary data being transmitted by the connection. | ||
5215 | WebSocket.bufferedAmount | API, Property, Reference, Web API, WebSocket |
The WebSocket.bufferedAmount read-only property returns the number of bytes of data that have been queued using calls to send but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send , this will continue to climb. | ||
5216 | WebSocket: close event | Reference, Web, WebSocket, close, events |
The close event is fired when a connection with a WebSocket is closed. | ||
5217 | WebSocket.close() | API, Method, Reference, Web API, WebSocket |
The WebSocket.close() method closes the WebSocket connection or connection attempt, if any. If the connection is already CLOSED , this method does nothing. | ||
5218 | WebSocket: error event | API, Error, Event, Reference, Web, WebSocket |
The error event is fired when a connection with a WebSocket has been closed due to an error (some data couldn't be sent for example). | ||
5219 | WebSocket.extensions | API, Property, Reference, Web API, WebSocket |
The WebSocket.extensions read-only property returns the extensions selected by the server. This is currently only the empty string or a list of extensions as negotiated by the connection. | ||
5220 | WebSocket: message event | Event, Reference, WebSocket, message |
The message event is fired when data is received through a WebSocket . | ||
5221 | WebSocket.onclose | API, Property, Reference, Web API, WebSocket |
The WebSocket.onclose property is an EventHandler that is called when the WebSocket connection's WebSocket.readyState changes to WebSocket.readyState . It is called with a CloseEvent . | ||
5222 | WebSocket.onerror | API, Connection, Error, Error Handler, Networking, Property, Reference, Web API, WebSocket, onerror |
The WebSocket interface's onerror event handler property is a function which gets called when an error occurs on the WebSocket. | ||
5223 | WebSocket.onmessage | API, Property, Reference, Web API, WebSocket |
The WebSocket.onmessage property is an EventHandler that is called when a message is received from the server. It is called with a MessageEvent . | ||
5224 | WebSocket.onopen | API, Property, Reference, Web API, WebSocket |
The WebSocket.onopen property is an EventHandler that is called when the WebSocket connection's WebSocket.readyState changes to WebSocket.readyState ; this indicates that the connection is ready to send and receive data. It is called with an Event . | ||
5225 | WebSocket: open event | API, WebSocket, events, open |
The open event is fired when a connection with a WebSocket is opened. | ||
5226 | WebSocket.protocol | API, Property, Reference, Web API, WebSocket |
The WebSocket.protocol read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the protocols parameter when creating the WebSocket object, or the empty string if no connection is established. | ||
5227 | WebSocket.readyState | API, Property, Reference, Web API, WebSocket |
The WebSocket.readyState read-only property returns the current state of the WebSocket connection. | ||
5228 | WebSocket.send() | API, Method, Reference, Web API, WebSocket |
The WebSocket.send() method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of bufferedAmount by the number of bytes needed to contain the data. If the data can't be sent (for example, because it needs to be buffered but the buffer is full), the socket is closed automatically. | ||
5229 | WebSocket.url | API, Property, Reference, Web API, WebSocket |
The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor. | ||
5230 | WebSocket() | API, Constructor, Reference, Web API, WebSocket |
The WebSocket() constructor returns a new WebSocket object. | ||
5231 | The WebSocket API (WebSockets) | API, Client, Communication, Overview, Server, Two-Way, WebSocket, WebSocket API, WebSockets, data, interactive |
Websockets API | ||
5232 | Writing a WebSocket server in Java | HTML5, Handshaking, NeedsMarkupWork, Tutorial, WebSockets |
This example shows you how to create a WebSocket API server using Oracle Java. Although other server-side languages can be used to create a WebSocket server, this example uses Oracle Java to simplify the example code. | ||
5233 | Writing WebSocket client applications | Client, Example, Guide, Networking, Web Sockets API, WebSocket, WebSocket API, WebSockets |
WebSocket client applications use the WebSocket API to communicate with WebSocket servers using the WebSocket protocol. | ||
5234 | Writing a WebSocket server in C# | HTML5, NeedsMarkupWork, Tutorial, WebSockets |
If you would like to use the WebSocket API, it is useful if you have a server. In this article I will show you how to write one in C#. You can do it in any server-side language, but to keep things simple and more understandable, I chose Microsoft's language. | ||
5235 | Writing WebSocket servers | Guide, HTML5, NeedsContent, NeedsExample, NeedsMarkupWork, Tutorial, WebSocket, WebSocket API, WebSockets |
A WebSocket server is nothing more than an application listening on any port of a TCP server that follows a specific protocol. The task of creating a custom server tends to scare people; however, it can be straightforward to implement a simple WebSocket server on your platform of choice. | ||
5236 | WebVR API | API, Deprecated, Experimental, Landing, Obsolete, Reference, VR, Virtual Reality, WebVR |
WebVR provides support for exposing virtual reality devices — for example, head-mounted displays like the Oculus Rift or HTC Vive — to web apps, enabling developers to translate position and movement information from the display into movement around a 3D scene. This has numerous, interesting applications, from virtual product tours and interactive training apps to immersive first-person games. | ||
5237 | WebVR concepts | Acceleration, Apps, FOV, Guide, Orientation, Position, VR, Virtual Reality, WebVR, concepts, velocity |
This article discusses some of the concepts and theory behind virtual reality (VR). If you are a newcomer to the area, it is worthwhile getting an understanding of these topics before you start diving into code. | ||
5238 | Using the WebVR API | 1.1, API, Canvas, Tutorial, VR, Virtual Reality, WebGL, WebVR |
The WebVR API is a fantastic addition to the web developer's toolkit, allowing WebGL scenes to be presented in virtual reality displays such as the Oculus Rift and HTC Vive. But how do you get started with developing VR apps for the Web? This article will guide you through the basics. | ||
5239 | Using VR controllers with WebVR | Experimental, Gamepad API, Guide, VR, Virtual Reality, WebGL, WebVR, controllers |
Many WebVR hardware setups feature controllers that go along with the headset. These can be used in WebVR apps via the Gamepad API, and specifically the Gamepad Extensions API that adds API features for accessing controller pose, haptic actuators, and more. This article explains the basics. | ||
5240 | Web Video Text Tracks Format (WebVTT) | API, Intermediate, Media, NeedsMarkupWork, NeedsUpdate, Reference, Video, Web Video Text Tracks, WebVTT, captions, subtitles, text tracks |
Web Video Text Tracks Format (WebVTT) is a format for displaying timed text tracks (such as subtitles or captions) using the track element. | ||
5241 | WebXR Device API | API, AR, Augmented Reality, Graphics, Overview, VR, Virtual Reality, WebXR, WebXR API, WebXR Device API, XR |
WebXR is a group of standards which are used together to support rendering 3D scenes to hardware designed for presenting virtual worlds (virtual reality, or VR), or for adding graphical imagery to the real world, (augmented reality, or AR). | ||
5242 | Using bounded reference spaces | 3D, Graphics, Guide, Reference Space, WebXR, WebXR Device API, XRBoundedReferenceSpace, space |
This article examines bounded reference spaces as represented by XRBoundedReferenceSpace , describing what they are and how they're used. | ||
5243 | Viewpoints and viewers: Simulating cameras in WebXR | 3D, API, AR, Advanced, Cameras, Coordinates, Guide, Location, Motion, Position, VR, Viewers, Viewpoints, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRPose, XRView, XRViewerPose, rotation, transform |
In this guide we show how use WebGL to simulate camera movements without having a camera to move. These techniques can be used in any WebGL (or WebXR) project. | ||
5244 | Fundamentals of WebXR | API, AR, Getting Started, Guide, Reality, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, basics, memory |
In this guide, we provide a fundamental overview of what WebXR is and how it works, as well as providing a foundation for what you'll need to know before you even begin to learn to develop augmented reality and virtual reality experiences for the web. | ||
5245 | Geometry and reference spaces in WebXR | API, Geometry, Guide, Math, Orientation, Placement, Position, Reference Spaces, Spaces, WebXR, WebXR API, WebXR Device API |
In this article, we introduce the ways in which WebXR expands upon the geometry of WebGL, and how the positions and orientations of objects—both physical and virtual—are described in relation to one another using spaces and, in particular, reference spaces. | ||
5246 | Inputs and input sources | API, AR, Controls, Graphics, Guide, Input, Input Sources, Inputs, Sources, VR, WebXR, WebXR API, WebXR Device API, XR, controllers |
In this guide, we'll look at how to use WebXR's input device management features to determine what input sources are available and how to then monitor those sources for inputs in order to handle user interactivity with your virtual or augmented environment. | ||
5247 | WebXR application life cycle | API, Application, Draft, Guide, Life Cycle, Lifecycle, NeedsContent, Outline, Plan, Web, WebXR, WebXR API, WebXR Device API |
In this guide, we'll get a birds-eye view of what's involved in creating and driving a WebXR application, without diving down to the code level in detail. | ||
5248 | Lighting a WebXR setting | 3D, API, Graphics, Light, Shading, Shadows, WebGL, WebXR, WebXR Device API, lighting, rendering |
However, there are issues and details to keep in mind while creating your lighting code, especially for augmented reality (AR) applications. This guide discusses these topics. | ||
5249 | Movement, orientation, and motion: A WebXR example | 3D, API, AR, Example, Guide, Reality, Tutorial, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, rendering |
In this article, we'll make use of information introduced in the previous articles in our WebXR tutorial series to construct an example which animates a rotating cube around which the user can move freely using a VR headset, keyboard, and/or mouse. | ||
5250 | WebXR performance guide | API, Guide, Performance, Quality, Scale, Scaling, WebXR, WebXR API, WebXR Device API, detail, effects, frame rate, frameRate, rendering, resolution, size, speed |
WebXR Device API | ||
5251 | WebXR permissions and security | |
The variety of hardware and software involved in XR brings multiple APIs and technologies into play. In this guide, we'll cover how to ensure your app has the permissions it needs to provide a secure and private XR experience. | ||
5252 | A perspective retrospective for WebXR developers | 3D, API, AR, Graphics, Guide, Mixed, Reality, VR, Virtual, WebXR, WebXR Device API, XR, augmented, perspective |
In this article, we examine scenarios in which the way your project calculates, applies, and thinks about perspective may differ from code written for non-XR applications. | ||
5253 | Rendering and the WebXR frame animation callback | API, AR, Animation, Drawing, Frames, Games, Guide, Intermediate, Reality, Scene, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented, display, rendering, requestAnimationFrame |
This article covers the process of driving the frames of the XR scene to the device in the rendering loop, using the XRSession to obtain an XRFrame object representing each frame, which is then used to prepare the framebuffer for delivery to the XR device. | ||
5254 | Spaces and reference spaces: Spatial tracking in WebXR | 3D, API, AR, Guide, Motion, NeedsContent, NeedsExample, Orientation, Poses, Position, Spaces, Spatial tracking, VR, WebXR, WebXR API, WebXR Device API, XR, movement, tracking |
In this guide, we'll explore how WebXR uses spaces and, more specifically, reference spaces, to track the positions, orientations, and movements of objects and of the user's body in the virtual world. | ||
5255 | Starting up and shutting down a WebXR session | 3D, API, AR, Beginner, Guide, Initialization, Mixed, Preparation, Reality, Setup, Shutdown, Startup, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented |
Before you can begin to render your augmented or virtual reality scenario, you need to create and set up the WebXR session, and you should know how to shut it down properly as well. You will learn how to do these things in this article. | ||
5256 | Targeting and hit detection | Draft |
WebXR Device API | ||
5257 | WheelEvent | API, DOM, Interface, Reference, WheelEvent |
The WheelEvent interface represents events that occur due to the user moving a mouse wheel or similar input device. | ||
5258 | WheelEvent.deltaMode | API, DOM, Property, Read-only, Reference, WheelEvent |
The WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount. Permitted values are: | ||
5259 | WheelEvent.deltaX | API, DOM, Property, Read-only, Reference, Référence(2), WheelEvent |
The WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit. | ||
5260 | WheelEvent.deltaY | API, DOM, Property, Read-only, Reference, Référence(2), WheelEvent |
The WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit. | ||
5261 | WheelEvent.deltaZ | API, DOM, Interface, Property, Read-only, Reference, Référence(2), WheelEvent |
The WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit. | ||
5262 | WheelEvent() | Constructor, DOM, Interface, Reference, WheelEvent |
The WheelEvent() constructor returns a newly created WheelEvent object. | ||
5263 | Window | API, Browser, HTML DOM, Interface, Reference, Tab, Window, global, global scope, scope |
The Window interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window. | ||
5264 | Window: afterprint event | Event, Reference |
The afterprint event is fired after the associated document has started printing or the print preview has been closed. | ||
5265 | Window.alert() | API, HTML DOM, Method, Reference, Window, alert |
The Window.alert() method displays an alert dialog with the optional specified content and an OK button. | ||
5266 | Window: animationcancel event | API, Animation, CSS Animations, Event, Reference, Window |
The animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an Window/animationend_event event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden. | ||
5267 | Window: animationend event | API, Animation, CSS Animations, Event, Reference, Window |
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired. | ||
5268 | Window: animationiteration event | API, Animation, CSS Animations, Event, Reference, Window |
The animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the Window/animationend_event event, and therefore does not occur for animations with an animation-iteration-count of one. | ||
5269 | Window: animationstart event | API, Animation, CSS Animations, Reference, Web, Window |
The animationstart event is fired when a CSS Animation has started. If there is an animation-delay , this event will fire once the delay period has expired. A negative delay will cause the event to fire with an AnimationEvent/elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence). | ||
5270 | Window: appinstalled event | API, Manifest, Reference, Web, appinstalled, events, web manifest |
The appinstalled event of the Web Manifest API is fired when the browser has successfully installed a page as an application. | ||
5271 | Window.applicationCache | API, Deprecated, HTML DOM, NeedsCompatTable, NeedsExample, NeedsSpecTable, Property, Reference, Window |
Returns a reference to the application cache object for the window. | ||
5272 | Window.back() | API, Firefox, Gecko, HTML DOM, Method, Non-standard, Obsolete, Window, back |
The obsolete and non-standard method back() on the window interface returns the window to the previous item in the history. This was a Firefox-specific method and was removed in Firefox 31. | ||
5273 | Window: beforeprint event | Event, Reference |
The beforeprint event is fired when the associated document is about to be printed or previewed for printing. | ||
5274 | Window: beforeunload event | Event, Reference, Window |
The beforeunload event is fired when the window, the document and its resources are about to be unloaded. | ||
5275 | Window: blur event | API, Event, FocusEvent, Reference, Web, Window, blur, onblur |
The blur event fires when an element has lost focus. | ||
5276 | Window.blur() | API, DOM, Gecko, Method |
Shifts focus away from the window. | ||
5277 | window.cancelAnimationFrame() | API, Animation, DOM, Experimental, Method, Reference, Window |
The window.cancelAnimationFrame() method cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame() . | ||
5278 | window.cancelIdleCallback() | API, HTML DOM, JavaScript timers, Method, Reference, Window, cancelIdleCallback |
The window.cancelIdleCallback() method cancels a callback previously scheduled with window.requestIdleCallback() . | ||
5279 | Window.captureEvents() | API, Gecko, HTML DOM, Method, Non-standard |
The Window.captureEvents() method registers the window to capture all events of the specified type. | ||
5280 | Window.clearImmediate() | API, HTML DOM, Method, Window |
This method clears the action specified by window.setImmediate . | ||
5281 | Window: clipboardchange event | API, Clipboard API, Reference, clipboardchange, events |
The clipboardchange event fires when the system clipboard content changes. | ||
5282 | Window.close() | API, Gecko, HTML DOM, Method, Reference, Window |
The Window.close() method closes the current window, or the window on which it was called. | ||
5283 | Window.closed | API, HTML DOM, NeedsCompatTable, Property, Reference, Window |
The Window.closed read-only property indicates whether the referenced window is closed or not. | ||
5284 | Window.confirm() | API, HTML DOM, Method, Reference, Window, confirm |
The Window.confirm() method displays a modal dialog with an optional message and two buttons: OK and Cancel. | ||
5285 | Window.console | API, Property, Read-only, Reference, Window, console |
The Window.console property returns a reference to the Console object, which provides methods for logging information to the browser's console. These methods are intended for debugging purposes only and should not be relied on for presenting information to end users. | ||
5286 | Window.content | |
Returns a Window object for the primary content window. This is useful in XUL windows that have a <browser> (or tabbrowser or <iframe> ) with type="content-primary" attribute on it — the most famous example is Firefox main window, browser.xul . In such cases, content returns a reference to the Window object for the document currently displayed in the browser. It is a shortcut for browserRef.contentWindow . | ||
5287 | Window.controllers | API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, Non-standard, Property, Reference, Window |
The controllers property of the Window interface returns the XUL controllers of the chrome window. | ||
5288 | Window.convertPointFromNodeToPage() | API, HTML DOM, Method, Non-standard, Point, Reference, Safari, WebKit, Window |
Given a Point specified in a particular DOM Node 's coordinate system, the Window method convertPointFromNodeToPage() returns a Point which specifies the same position in the page's coordinate system. This method is non-standard and should not be used. | ||
5289 | Window.convertPointFromPageToNode | API, Method, Non-standard, Point, Reference, Safari, WebKit, Window, convertPointFromPageToNode |
Given a Point specified in the page's coordinate system, the Window method convertPointFromPageToNode() returns a Point object specifying the same location in the coordinate system of the specified DOM Node . | ||
5290 | Window: copy event | API, Clippboard API, Event, Reference, Web, Window, copy |
The copy event fires when the user initiates a copy action through the browser's user interface. | ||
5291 | Window.crypto | API, Crypto, Cryptography, Encoding, Encryption, HTML DOM, Property, Read-only, Reference, Security, Window |
The read-only Window.crypto property returns the Crypto object associated to the global object. This object allows web pages access to certain cryptographic related services. | ||
5292 | Window.customElements | API, CustomElementRegistry, Property, Reference, Web Components, Window, custom elements, customElements |
The customElements read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements. | ||
5293 | Window: cut event | API, Clippboard API, Cut, Event, Reference, Web, Window |
The cut event is fired when the user has initiated a "cut" action through the browser's user interface. | ||
5294 | Window.defaultStatus | API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window |
Gets/sets the status bar text for the given window. | ||
5295 | Window: devicemotion event | API, Device Orientation API, Sensors, events |
The devicemotion event is fired at a regular interval and indicates the amount of physical force of acceleration the device is receiving at that time. It also provides information about the rate of rotation, if available. | ||
5296 | Window: deviceorientation event | Device Orientation API, Sensors, Window Event, events |
The deviceorientation event is fired when fresh data is available from an orientation sensor about the current orientation of the device as compared to the Earth coordinate frame. This data is gathered from a magnetometer inside the device. | ||
5297 | Window.devicePixelRatio | API, Adaptive Design, Property, Read-only, Reference, Window, devicePixelRatio, ratio, resolution |
The devicePixelRatio of Window interface returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device. | ||
5298 | Window.dialogArguments | API, Deprecated, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window |
The dialogArguments property returns the parameters that were passed into the window.showModalDialog() method. | ||
5299 | Window.directories | API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window |
Returned the window personalbar toolbar object. Use the window.personalbar instead. | ||
5300 | Window.document | API, HTML DOM, Property, Reference, Window |
window.document returns a reference to the document contained in the window. | ||
5301 | Window: DOMContentLoaded event | Event, Reference, Web, Window, events |
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. | ||
5302 | Window.dump() | API, HTML DOM, Method, Non-standard, Window |
Window.dump() prints messages to the (native) console. | ||
5303 | Window: error event | API, Event, UI Events, Window |
The error event is fired on a Window object when a resource failed to load or couldn't be used — for example if a script has an execution error. | ||
5304 | Window.event | API, Event, Event Handler, HTML DOM, Property, Read-only, Window |
The read-only Window property event returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined . | ||
5305 | Window.external | API, Deprecated, Window, external |
The external property of the Window API returns an instance of the External interface, which was intended to contain functions related to adding external search providers to the browser. However, this is now deprecated, and the contained methods are now dummy functions that do nothing as per spec. | ||
5306 | Window.find() | API, HTML DOM, Method, NeedsCompatTable, NeedsContent, Non-standard, Reference, Window, find |
The Window.find() method finds a string in a window. | ||
5307 | Window: focus event | API, Event, Focus, FocusEvent, Reference, Web, Window, onfocus |
The focus event fires when an element has received focus. | ||
5308 | Window.focus() | API, Gecko, HTML DOM, Method, Window |
Makes a request to bring the window to the front. It may fail due to user settings and the window isn't guaranteed to be frontmost before this method returns. | ||
5309 | Window.forward() | API, Deprecated, Firefox, HTML DOM, Method, Non-standard, Obsolete, Window, forward |
Moves the window one document forward in history. This was a Firefox-specific method and was removed in Firefox 31. | ||
5310 | Window.frameElement | API, DOM, Property, Reference, Window |
The Window.frameElement property returns the element (such as iframe or object ) in which the window is embedded. | ||
5311 | Window.frames | API, Gecko, HTML DOM, NeedsContent, NeedsUpdate, Property, Reference, Window |
Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window. | ||
5312 | Window.fullScreen | API, HTML DOM, NeedsMarkupWork, Non-standard, Property, Reference, Window |
The fullScreen property of the Window interface indicates whether the window is displayed in full screen mode or not. | ||
5313 | Window: gamepadconnected event | |
The gamepadconnected event is fired when the browser detects that a gamepad has been connected or the first time a button/axis of the gamepad is used. | ||
5314 | Window: gamepaddisconnected event | |
The gamepaddisconnected event is fired when the browser detects that a gamepad has been disconnected. | ||
5315 | Window.getAttention() | API, Gecko, HTML DOM, Method, Reference, Window |
The Window.getAttention() method attempts to get the user's attention. The mechanism for this happening depends on the specific operating system and window manager. | ||
5316 | Window.getComputedStyle() | API, CSSOM View, Method, Reference, Window, getComputedStyle |
The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain. Individual CSS property values are accessed through APIs provided by the object, or by indexing with CSS property names. | ||
5317 | Window.getDefaultComputedStyle() | API, CSS, Method, Reference |
The getDefaultComputedStyle() method gives the default computed values of all the CSS properties of an element, ignoring author styling. That is, only user-agent and user styles are taken into account. | ||
5318 | Window.getSelection() | API, HTML DOM, Method, Reference, Selection, Selection API, Window |
The Window.getSelection() method returns a Selection object representing the range of text selected by the user or the current position of the caret. | ||
5319 | Window: hashchange event | API, Event, HTML DOM, Reference, Window |
The hashchange event is fired when the fragment identifier of the URL has changed (the part of the URL beginning with and following the # symbol). | ||
5320 | Window.history | API, HTML DOM, History API, Property, Reference, Window |
The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in). | ||
5321 | Window.home() | API, Gecko, HTML DOM, Method, Obsolete, Reference, Window |
The Window.home() method returns the window to the home page. | ||
5322 | Window.innerHeight | API, CSSOM, CSSOM View, HTML DOM, NeedsInteractiveExample, Property, Reference, View, Window, height, innerHeight |
The read-only innerHeight property of the Window interface returns the interior height of the window in pixels, including the height of the horizontal scroll bar, if present. | ||
5323 | Window.innerWidth | API, CSSOM View, HTML DOM, Layout, Property, Reference, Window, innerWidth, width |
The read-only Window property innerWidth returns the interior width of the window in pixels. This includes the width of the vertical scroll bar, if one is present. | ||
5324 | Window.isSecureContext | API, Property, Reference, Security, Window |
Thewindow.isSecureContext read-only property indicates whether a context is capable of using features that require secure contexts. | ||
5325 | Window: languagechange event | Event, Experimental, HTML DOM, Reference, Window |
The languagechange event is fired at the global scope object when the user's preferred language changes. | ||
5326 | Window.length | API, Gecko, HTML DOM, Property, Reference, Window |
Returns the number of frames (either frame or iframe elements) in the window. | ||
5327 | Window: load event | Event, HTML DOM, Reference, Window, load |
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets and images. This is in contrast to Document/DOMContentLoaded_event , which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading. | ||
5328 | Window.localStorage | API, Property, Read-only, Reference, Storage, Web Storage, Window, WindowLocalStorage, localStorage |
The read-only localStorage property allows you to access a Storage object for the Document 's origin; the stored data is saved across browser sessions. | ||
5329 | Window.location | API, HTML, NeedsExample, Property, Reference, Window |
The Window.location read-only property returns a Location object with information about the current location of the document. | ||
5330 | Window.locationbar | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
Returns the locationbar object, whose visibility can be checked. | ||
5331 | Window.matchMedia() | API, CSSOM View, HTML DOM, JavaScript, Media Queries, Method, Reference, Window |
The Window interface's matchMedia() method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query. | ||
5332 | Window.menubar | API, HTML DOM, Property, Reference, Window |
The Window.menubar property returns the menubar object, whose visibility can be checked. | ||
5333 | Window: message event | Event |
The message event is fired on a Window object when the window receives a message, for example from a call to Window.postMessage() from another browsing context. | ||
5334 | Window: messageerror event | API, Event, MessageEvent, Reference, Window |
The messageerror event is fired on a Window object when it receives a message that can't be deserialized. | ||
5335 | Window.minimize() | API, HTML DOM, Method, NeedsContent, NeedsExample, Reference, Window |
The Window.minimize() method sets the window to a minimized state. | ||
5336 | Window.moveBy() | API, CSSOM View, Method, Reference, Window |
The moveBy() method of the Window interface moves the current window by a specified amount. | ||
5337 | Window.moveTo() | API, CSSOM View, Method, Reference, Window |
The moveTo() method of the Window interface moves the current window to the specified coordinates. | ||
5338 | Window.mozAnimationStartTime | API, HTML DOM, Obsolete, Property, Reference, Window |
Returns the time, in milliseconds since the epoch, at which animations started now should be considered to have started. This value should be used instead of, for example, Date.now() , because this value will be the same for all animations started in this window during this refresh interval, allowing them to remain in sync with one another. | ||
5339 | Window.mozInnerScreenX | API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window |
Gets the X coordinate of the top-left corner of the window's viewport, in screen coordinates. | ||
5340 | Window.mozInnerScreenY | API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window |
Gets the Y coordinate of the top-left corner of the window's viewport, in screen coordinates. | ||
5341 | Window.mozPaintCount | API, API:Mozilla Extensions, Deprecated, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Non-standard, Property, Reference, Window |
Returns the number of times the current document has been painted to the screen in this window. | ||
5342 | Window.name | API, HTML DOM, Property, Reference |
The Window.name property gets/sets the name of the window's browsing context. | ||
5343 | Window.navigator | API, HTML DOM, Property, Read-only, Reference, Window |
The Window.navigator read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script. | ||
5344 | Window: offline event | API, Event, Offline, Reference, Window |
The offline event of the Window interface is fired when the browser has lost access to the network and the value of Navigator.onLine switches to false . | ||
5345 | Window.onappinstalled | API, Event Handler, Manifest, Obsolete, Property, Reference, Window, onappinstalled, web manifest |
The onappinstalled attribute of the Window object serves as an event handler for the appinstalled event, which is dispatched once the web application is successfully installed as a progressive web app. The event that is fired is a "simple event" that implements the Event interface. | ||
5346 | Window.onbeforeinstallprompt | API, Event Handler, Manifest, Property, Reference, Window, onbeforeinstallprompt |
The Window.onbeforeinstallprompt property is an event handler for processing a beforeinstallprompt , which is dispatched on devices when a user is about to be prompted to "install" a web application. Its associated event may be saved for later and used to prompt the user at a more suitable time. | ||
5347 | Window.ondevicelight | API, Ambient Light Events, Experimental, NeedsMarkupWork, Property, Reference |
Specifies an event listener to receive devicelight events. These events occur when the device's light level sensor detects a change in the intensity of the ambient light level. | ||
5348 | Window.ondevicemotion | API, Device Orientation, Event Handler, Mobile, Motion, Orientation, Property, Reference |
An event handler for the Window/devicemotion_event events sent to the window. | ||
5349 | Window.ondeviceorientation | API, Device Orientation, Mobile, Orientation, Property |
An event handler for the deviceorientation event, which contains information about a relative device orientation change. | ||
5350 | Window.ondeviceorientationabsolute | API, Device Orientation, Mobile, Orientation, Property |
An event handler for the deviceorientationabsolute event containing information about an absolute device orientation change. | ||
5351 | Window.ondeviceproximity | API, Event Handler, Experimental, NeedsMarkupWork, Property, Proximity Events, Reference, Window |
The ondeviceproximity property of the Window interface specifies an EventHandler to receive deviceproximity events. These events occur when the device sensor detects that an object becomes closer to or farther from the device. | ||
5352 | Window.ondragdrop | API, HTML DOM, Obsolete, Property, Window, ondragdrop |
Removed in Firefox 50, and never implemented in any other browser. Use the modern standard HTML5 drag and drop feature instead. | ||
5353 | Window.ongamepadconnected | API, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepadconnected |
The ongamepadconnected property of the Window interface represents an event handler that will run when a gamepad is connected (when the gamepadconnected event fires). | ||
5354 | Window.ongamepaddisconnected | API, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepaddisconnected |
The ongamepaddisconnected property of the Window interface represents an event handler that will run when a gamepad is disconnected (when the gamepaddisconnected event fires). | ||
5355 | Window: online event | API, Event, Online, Reference, Window |
The online event of the Window interface is fired when the browser has gained access to the network and the value of Navigator.onLine switches to true . | ||
5356 | Window.onmozbeforepaint | API, Event Handler, Mozilla, Non-standard, Obsolete, Property, Window, onmozbeforepaint |
An event handler for the MozBeforePaint event. This is used in concert with the window.mozRequestAnimationFrame() method to perform smooth, synchronized animations from JavaScript code. | ||
5357 | Window.onpaint | API, Event Handler, HTML DOM, Non-standard, Property |
Window.onpaint is an event handler for the paint event on the window. | ||
5358 | Window.onuserproximity | API, Experimental, NeedsBetterSpecLink, Property, Proximity Events, Reference, Window |
The Window.onuserproxymity property represents an EventHandler , that is a function to be called when the userproximity event occurs. These events are of type UserProximityEvent and occur when the device sensor detects that an object becomes nearby. | ||
5359 | Window.onvrdisplayactivate | API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayactivate |
The onvrdisplayactivate property of the Window interface represents an event handler that will run when a display is able to be presented to (when the vrdisplayactivate event fires), for example if an HMD has been moved to bring it out of standby, or woken up by being put on. | ||
5360 | Window.onvrdisplayblur | API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayblur |
The onvrdisplayblur property of the Window interface represents an event handler that will run when presentation to a display has been paused for some reason by the browser, OS, or VR hardware (when the vrdisplayblur event fires) — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience. | ||
5361 | Window.onvrdisplayconnect | API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayconnect |
The onvrdisplayconnect property of the Window interface represents an event handler that will run when a compatible VR display has been connected to the computer (when the vrdisplayconnect event fires). | ||
5362 | Window.onvrdisplaydeactivate | API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydeactivate |
The onvrdisplaydeactivate property of the Window interface represents an event handler that will run when a display can no longer be presented to (when the vrdisplaydeactivate event fires), for example if an HMD has gone into standby or sleep mode due to a period of inactivity. | ||
5363 | Window.onvrdisplaydisconnect | API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydisconnect |
The onvrdisplaydisconnect event handler property of the Window interface is called when a compatible VR display has been disconnected from the computer (when the vrdisplaydisconnect event fires). | ||
5364 | Window.onvrdisplayfocus | API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayfocus |
The onvrdisplayfocus property of the Window interface represents an event handler that will run when presentation to a display has resumed after being blurred (when the vrdisplayfocus event fires). | ||
5365 | Window.onvrdisplaypointerrestricted | Event Handler, Experimental, Property, Reference, Window, onvrdisplaypointerrestricted |
The onvrdisplaypointerrestricted property of the Window interface represents an event handler that will run when the VR display's pointer input is restricted to consumption via a pointerlocked element. | ||
5366 | Window.onvrdisplaypointerunrestricted | Event Handler, Experimental, Property, WebVR, Window, onvrdisplaypointerunrestricted |
The onvrdisplaypointerunrestricted property of the Window interface represents an event handler that will run when the VR display's pointer input is no longer restricted to consumption via a pointerlocked element. | ||
5367 | Window.onvrdisplaypresentchange | API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaypresentchange |
The onvrdisplaypresentchange property of the Window interface represents an event handler that will run when the presenting state of a VR display changes — i.e. goes from presenting to not presenting, or vice versa (when the vrdisplaypresentchange event fires). | ||
5368 | Window.open() | API, DOM, Method, NeedsMarkupWork, NeedsUpdate, Reference, Window, open |
The Window interface's open() method loads the specified resource into the new or existing browsing context (window, iframe or tab) with the specified name. If the name doesn't exist, then a new browsing context is opened in a new tab or a new window, and the specified resource is loaded into it. | ||
5369 | Obsolete features | |
This page lists the obsolete windowFeatures parameter of window.open function. | ||
5370 | Privileged features | |
This page lists the windowFeatures parameter of window.open function that requires chrome-privilege in Firefox. | ||
5371 | Window.openDialog() | API, Gecko, HTML DOM, Method, Non-standard, Reference, Window |
window.openDialog() is an extension to window.open() . It behaves the same, except that it can optionally take one or more parameters past windowFeatures , and windowFeatures itself is treated a little differently. | ||
5372 | Window.opener | API, HTML DOM, NeedsExample, Property, Reference, Window, opener |
The Window interface's opener property returns a reference to the window that opened the window, either with Window.open , or by navigating a link with a target attribute. | ||
5373 | Window.orientation | NeedsContent |
Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation. | ||
5374 | Window: orientationchange event | API, Event, Reference, Sensors, Window, onorientationchange |
The orientationchange event is fired when the orientation of the device has changed. | ||
5375 | Window.outerHeight | API, CSSOM View, NeedsContent, Property, Reference |
The Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles. | ||
5376 | Window.outerWidth | API, CSSOM View, NeedsContent, Property, Reference |
Window.outerWidth read-only property returns the width of the outside of the browser window. It represents the width of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles. | ||
5377 | Window: pagehide event | API, Event, History, Navigation, Reference, Window, pagehide |
The pagehide event is sent to a Window when the browser hides the current page in the process of presenting a different page from the session's history. | ||
5378 | Window: pageshow event | API, Document, Event, History, Navigation, Page, PageTransitionEvent, Reference, Window, pageshow, show |
The pageshow event is sent to a Window when the browser displays the window's document due to navigation. | ||
5379 | Window.pageXOffset | API, Alias, CSSOM View, CSSOM View API, NeedsMobileBrowserCompatibility, Property, Window, scrolling |
The read-only Window property pageXOffset is an alias for scrollX . | ||
5380 | Window.pageYOffset | API, Alias, CSSOM View, CSSOM View API, Property, Scrolling Documents, Scrolling Windows, Vertical, Window, scrolling |
The read-only Window property pageYOffset is an alias for Window.scrollY ; as such, it returns the number of pixels the document is currently scrolled along the vertical axis (that is, up or down) with a value of 0.0, indicating that the top edge of the Document is currently aligned with the top edge of the window's content area. | ||
5381 | Window.parent | API, HTML DOM, NeedsSpecTable, Property, Reference, Window |
The Window.parent property is a reference to the parent of the current window or subframe. | ||
5382 | Window: paste event | API, Event, Reference, Web, Window, paste |
The paste event is fired when the user has initiated a "paste" action through the browser's user interface. | ||
5383 | Window.performance | API, HTML DOM, High Resolution Time, High Resolution Time API, Navigation Timing, Navigation Timing API, Optimization, Performance, Property, Reference, Telemetry, Window |
The Window interface's performance property returns a Performance object, which can be used to gather performance information about the current document. It serves as the point of exposure for the Performance Timeline API, the High Resolution Time API, the Navigation Timing API, the User Timing API, and the Resource Timing API. | ||
5384 | Window.personalbar | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
Returns the personalbar object, whose visibility can be toggled in the window. | ||
5385 | Window.pkcs11 | API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window |
Returns the pkcs11 object, which is used to install drivers and other software associated with the pkcs11 protocol. If pkcs11 isn't supported, this property returns null . | ||
5386 | Window: popstate event | API, Event, HTML DOM, History, History API, Location, Navigation, Reference, URL, Window, popstate |
The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. It changes the current history entry to that of the last page the user visited or, if history.pushState() has been used to add a history entry to the history stack, that history entry is used instead. | ||
5387 | Window.postMessage() | API, Cross-origin Communication, HTML DOM, Method, Reference, Window, postMessage |
The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it. | ||
5388 | Window.print() | API, HTML DOM, Method, Reference, Window |
Opens the Print Dialog to print the current document. | ||
5389 | Window.prompt() | API, HTML DOM, MakeBrowserAgnostic, Method, Reference, Window, prompt |
The Window.prompt() displays a dialog with an optional message prompting the user to input some text. | ||
5390 | Window: rejectionhandled event | API, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Window, Worker, events, global, onrejectionhandled, rejectionhandled |
The rejectionhandled event is sent to the script's global scope (usually window but also Worker ) whenever a JavaScript Promise is rejected but after the promise rejection has been handled. | ||
5391 | Window.releaseEvents() | API, DOM, DOM_0, Method, Non-standard, Reference, Window, releaseEvents |
Releases the window from trapping events of a specific type. | ||
5392 | Window.requestAnimationFrame() | API, Animations, Drawing, Games, Graphics, HTML DOM, Intermediate, JavaScript timers, Method, Performance, Reference, Scheduling, Window, requestAnimationFrame |
The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation before the next repaint. The method takes a callback as an argument to be invoked before the repaint. | ||
5393 | Window.requestFileSystem() | API, Deprecated, File, File System, File System API, File and Directory Entry API, Files, Method, Non-standard, Reference, Window, filesystem, requestFileSystem |
The non-standard Window method requestFileSystem() method is a Google Chrome-specific method which lets a web site or app gain access to a sandboxed file system for its own use. The returned FileSystem is then available for use with the other file system APIs. | ||
5394 | window.requestIdleCallback() | API, HTML DOM, JavaScript timers, Method, Reference, Window, requestIdleCallback |
The window.requestIdleCallback() method queues a function to be called during a browser's idle periods. This enables developers to perform background and low priority work on the main event loop, without impacting latency-critical events such as animation and input response. Functions are generally called in first-in-first-out order; however, callbacks which have a timeout specified may be called out-of-order if necessary in order to run them before the timeout elapses. | ||
5395 | Window: resize event | API, Reference, Web, Window, events, resize |
The resize event fires when the document view (window) has been resized. | ||
5396 | Window.resizeBy() | API, CSSOM View, Method, NeedsMarkupWork, Reference, Window |
The Window.resizeBy() method resizes the current window by a specified amount. | ||
5397 | Window.resizeTo() | API, CSSOM View, Method, Reference, Window |
The Window.resizeTo() method dynamically resizes the window. | ||
5398 | Window.routeEvent() | API, Method, Obsolete, Reference, Window, routeEvent |
The Window method routeEvent() , which is obsolete and no longer available, used to be called to forward an event to the next object that has asked to capture events. | ||
5399 | Window.screen | API, CSSOM View, HTML DOM, Property, Window |
The Window property screen returns a reference to the screen object associated with the window. The screen object, implementing the Screen interface, is a special object for inspecting properties of the screen on which the current window is being rendered. | ||
5400 | Window.screenLeft | API, CSSOM View, Property, Read-only, Reference, Window, screenLeft |
The Window.screenLeft read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen. | ||
5401 | Window.screenTop | API, CSSOM View, Property, Read-only, Reference, Window, screenTop |
The Window.screenTop read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen. | ||
5402 | Window.screenX | API, CSSOM View, Property, Read-only, Reference, Window, screenX |
The Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen. | ||
5403 | Window.screenY | API, CSSOM View, Property, Read-only, Reference, Window |
The Window.screenY read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen. | ||
5404 | Window.scroll() | API, CSSOM View, Method, NeedsMarkupWork, Reference |
The Window.scroll() method scrolls the window to a particular place in the document. | ||
5405 | Window.scrollbars | API, HTML DOM, NeedsExample, Property, Reference, Window |
The Window.scrollbars property returns the scrollbars object, whose visibility can be checked. | ||
5406 | Window.scrollBy() | API, CSSOM View, Method, Reference |
The Window.scrollBy() method scrolls the document in the window by the given amount. | ||
5407 | Window.scrollByLines() | API, HTML DOM, Method, Non-standard, Reference, Window |
The Window.scrollByLines() method scrolls the document by the specified number of lines. | ||
5408 | Window.scrollByPages() | API, HTML DOM, Method, Non-standard, Reference, Window, scrollByPages, scrolling |
The Window.scrollByPages() method scrolls the current document by the specified number of pages. | ||
5409 | Window.scrollMaxX | API, Gecko, HTML DOM, Non-standard, Property, Window |
The Window.scrollMaxX read-only property returns the maximum number of pixels that the document can be scrolled horizontally. | ||
5410 | Window.scrollMaxY | API, DOM_0, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Non-standard, Property, Reference, Window |
The Window.scrollMaxY read-only property returns the maximum number of pixels that the document can be scrolled vertically. | ||
5411 | Window.scrollTo() | API, CSSOM View, Method, NeedsMarkupWork, Reference |
Window.scrollTo() scrolls to a particular set of coordinates in the document. | ||
5412 | Window.scrollX | API, CSSOM View, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference |
The read-only scrollX property of the Window interface returns the number of pixels that the document is currently scrolled horizontally. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number. You can get the number of pixels the document is scrolled vertically from the Window.scrollY property. | ||
5413 | Window.scrollY | API, CSSOM View, NeedsMarkupWork, Property, Reference, Window, scrollY |
The read-only scrollY property of the Window interface returns the number of pixels that the document is currently scrolled vertically. | ||
5414 | Window.self | API, HTML DOM, Property, Read-only, Reference, Window |
The Window.self read-only property returns the window itself, as a WindowProxy . It can be used with dot notation on a window object (that is, window.self ) or standalone (self ). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Worker . By using self , you can refer to the global scope in a way that will work not only in a window context (self will resolve to window.self ) but also in a worker context (self will then resolve to WorkerGlobalScope.self ). | ||
5415 | Window.sessionStorage | APIs, Property, Reference, Storage, Window, WindowSessionStorage, sessionStorage |
The read-only sessionStorage property accesses a session Storage object for the current origin. sessionStorage is similar to Window.localStorage ; the difference is that while data in localStorage doesn't expire, data in sessionStorage is cleared when the page session ends. | ||
5416 | Window.setCursor() | API, DOM_0, Method, Non-standard, Reference, Window |
The Window.setCursor() method sets the cursor for the current window. | ||
5417 | Window.setImmediate() | API, HTML DOM, Method, Non-standard, Reference, Window, setImmediate |
This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates. | ||
5418 | Window.showDirectoryPicker() | Directory, File, File System Access API, Method, Window, working with files |
The showDirectoryPicker() method of the Window interface displays a directory picker which allows the user to select a directory. | ||
5419 | Window.showModalDialog() | API, Deprecated, HTML DOM, Method, Window |
The Window.showModalDialog() created and displayed a modal dialog box containing a specified HTML document. | ||
5420 | Window.showOpenFilePicker() | File, File System Access API, Method, Window, working with files |
The showOpenFilePicker() method of the Window interface shows a file picker that allows a user to select a file or multiple files and returns a handle for the file(s). | ||
5421 | Window.showSaveFilePicker() | Directory, File, File System Access API, Method, Window, working with files |
The showSaveFilePicker() method of the Window interface shows a file picker that allows a user to save a file. Either by selecting an existing file, or entering a name for a new file. | ||
5422 | Window.sidebar | HTML DOM, Non-standard, Property, Reference, Window |
Returns a sidebar object which contains several methods for registering add-ons with the browser. | ||
5423 | Window.sizeToContent() | API, HTML DOM, Method, Reference, Window |
The Window.sizeToContent() method sizes the window according to its content. In order for it to work, the DOM content should be loaded when this function is called—for example, once the DOMContentLoaded event has been thrown. | ||
5424 | Window.speechSynthesis | API, Experimental, Property, Reference, SpeechSynthesis, Window |
The speechSynthesis read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality. | ||
5425 | Window.status | API, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference, Window |
The status property of the Window interface was originally intended to set the text in the status bar at the bottom of the browser window. However, the HTML standard now requires setting window.status to have no effect on the text displayed in the status bar. | ||
5426 | Window.statusbar | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
The Window.statusbar property returns the statusbar object, whose visibility can be toggled in the window. | ||
5427 | Window.stop() | API, DOM, HTML DOM, Method, Reference, Window, stop |
The window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser. | ||
5428 | Window: storage event | API, Event, Reference, Storage, Web Storage, Window |
The storage event of the Window interface fires when a storage area (localStorage ) has been modified in the context of another document. | ||
5429 | Window.toolbar | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
The Window.toolbar property returns the toolbar object, whose visibility can be toggled in the window. | ||
5430 | Window.top | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
Returns a reference to the topmost window in the window hierarchy. | ||
5431 | Window: transitioncancel event | API, Event, Reference, Web, Window, events, transitioncancel |
The transitioncancel event is fired when a CSS transition is canceled. | ||
5432 | Window: transitionend event | API, Reference, Web, Window, events, transitionend |
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to none , then the event will not be generated. | ||
5433 | Window: transitionrun event | API, Reference, Web, Window, events, transitionrun |
The transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun. | ||
5434 | Window: transitionstart event | API, Reference, Web, Window, events, transitionstart |
The transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended. | ||
5435 | Window: unhandledrejection event | API, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Rejection, Window, Worker, events, global scope, unhandledrejection |
The unhandledrejection event is sent to the global scope of a script when a JavaScript Promise that has no rejection handler is rejected; typically, this is the window , but may also be a Worker . | ||
5436 | Window: unload event | Event, Reference, Window, events |
The unload event is fired when the document or a child resource is being unloaded. | ||
5437 | Window.updateCommands() | API, HTML DOM, Method, Reference, Window, XUL command nodes, sCommandName, updateCommands |
Updates the state of commands of the current chrome window (UI). | ||
5438 | Window.visualViewport | API, Experimental, Property, Reference, Visual Viewport API, VisualViewport, Window |
The visualViewport read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window. | ||
5439 | Window: vrdisplayactivate event | Reference, WebVR, events, onvrdisplayactivate, vrdisplayactivate |
The vrdisplayactivate event of the WebVR API is fired when a VR display is able to be presented to, for example if an HMD has been moved to bring it out of standby, or woken up by being put on. | ||
5440 | Window: vrdisplayblur event | Experimental, Reference, WebVR, events, onvrdisplayblur, vrdisplayblur |
The vrdisplayblur event of the WebVR API is fired when presentation to a VR display has been paused for some reason by the browser, OS, or VR hardware — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience. | ||
5441 | Window: vrdisplayconnect event | Event, Reference, WebVR, onvrdisplayconnect, vrdisplayconnect |
The vrdisplayconnect event of the WebVR API is fired when a compatible VR display is connected to the computer. | ||
5442 | Window: vrdisplaydeactivate event | Reference, WebVR, events, onvrdisplaydeactivate, vrdisplaydeactivate |
The vrdisplaydeactivate event of the WebVR API is fired when a VR display can no longer be presented to, for example if an HMD has gone into standby or sleep mode due to a period of inactivity. | ||
5443 | Window: vrdisplaydisconnect event | Event, Reference, WebVR, onvrdisplaydisconnect, vrdisplaydisconnect |
The vrdisplaydisconnect event of the WebVR API is fired when a compatible VR display is disconnected from the computer. | ||
5444 | Window: vrdisplayfocus event | Reference, WebVR, events, onvrdisplayfocus, vrdisplayfocus |
The vrdisplayfocus event of the WebVR API is fired when presentation to a VR display has resumed after being blurred. | ||
5445 | Window: vrdisplaypointerrestricted event | Reference, Web VR, Window, events, vrdisplaypointerrestricted |
The vrdisplaypointerrestricted event of the WebVR API is fired when the VR display's pointer input is restricted to consumption via a pointerlocked element. | ||
5446 | Window: vrdisplaypointerunrestricted event | Reference, WebVR, Window, events, vrdisplaypointerunrestricted |
The vrdisplaypointerunrestricted event of the WebVR API is fired when the VR display's pointer input is no longer restricted to consumption via a pointerlocked element. | ||
5447 | Window: vrdisplaypresentchange event | Event, Reference, WebVR, onvrdisplaypresentchange, vrdisplaypresentchange |
The vrdisplaypresentchange event of the WebVR API is fired when the presenting state of a VR display changes — i.e. goes from presenting to not presenting, or vice versa. | ||
5448 | Window.window | API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window |
The window property of a Window object points to the window object itself. | ||
5449 | WindowClient | API, Client, Experimental, Interface, Reference, Service Workers, ServiceWorker, WindowClient |
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. | ||
5450 | WindowClient.focus() | API, Client, Experimental, Focus, Method, Reference, Service Workers, WindowClient |
The focus() method of the WindowClient interface gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient . | ||
5451 | WindowClient.focused | API, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, focused |
The focused read-only property of the WindowClient interface is a Boolean that indicates whether the current client has focus. | ||
5452 | WindowClient.navigate() | API, Client, Experimental, Method, Navigate, Reference, Service Workers, WindowClient |
The navigate() method of the WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient . | ||
5453 | WindowClient.visibilityState | API, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, visibilityState |
The visibilityState read-only property of the WindowClient interface indicates the visibility of the current client. This value can be one of "hidden" , "visible" , or "prerender" . | ||
5454 | WindowEventHandlers | API, HTML-DOM, Interface, Mixin, Reference, WindowEventHandlers |
The WindowEventHandlers mixin describes the event handlers common to several interfaces like Window , or HTMLBodyElement and HTMLFrameSetElement . Each of these interfaces can implement additional specific event handlers. | ||
5455 | WindowEventHandlers.onafterprint | API, Event Handler, HTML DOM, Property, Reference, Window, printing |
The onafterprint property of the WindowEventHandlers mixin is the EventHandler for processing afterprint events for the current window. These events are raised after the user prints, or if they abort the print dialog. | ||
5456 | WindowEventHandlers.onbeforeprint | API, Event Handler, HTML DOM, Property, Reference, Wiindow, printing |
The onbeforeprint property of the WindowEventHandlers mixin is the EventHandler for processing beforeprint events for the current window. These events are raised before the print dialog window is opened. | ||
5457 | WindowEventHandlers.onbeforeunload | API, Event Handler, HTML DOM, Property, Reference, Window |
The onbeforeunload property of the WindowEventHandlers mixin is the EventHandler for processing beforeunload events. These events fire when a window is about to unload its resources. At this point, the document is still visible and the event is still cancelable. | ||
5458 | WindowEventHandlers.onhashchange | Event Handler, HTML-DOM, Hash, Property, Reference, URL & Hash, WindowEventHandlers |
The WindowEventHandlers.onhashchange property of the WindowEventHandlers mixin is the EventHandler for processing hashchange events. | ||
5459 | WindowEventHandlers.onlanguagechange | API, Event Handler, Experimental, Property, Reference, WindowEventHandlers |
The onlanguagechange property of the WindowEventHandlers mixin is the EventHandler for processing languagechange events. | ||
5460 | WindowEventHandlers.onmessage | API, Event Handler, HTML-DOM, Property, Reference, Window, WindowEventHandlers, events, onmessage |
The onmessage property of the WindowEventHandlers mixin is the EventHandler called whenever an object receives a message event. | ||
5461 | WindowEventHandlers.onmessageerror | API, Event Handler, HTML-DOM, Property, Reference, Window, onmessageerror |
The onmessageerror event handler of the WindowEventHandlers interface is an EventListener , called whenever an MessageEvent of type messageerror is fired on a window—that is, when it receives a message that cannot be Deserialization. | ||
5462 | WindowEventHandlers.onpopstate | API, Event Handler, HTML DOM, HTML5, NeedsSpecTable, Property, Window, events |
The onpopstate property of the WindowEventHandlers mixin is the EventHandler for processing popstate events on the window. | ||
5463 | WindowEventHandlers.onrejectionhandled | API, Event Handler, HTML DOM, JavaScript, Promises, Property, Reference, WindowEventHandlers, events, onrejectionhandled |
The onrejectionhandled property of the WindowEventHandlers mixin is the EventHandler for processing rejectionhandled events. These events are raised when Promise s are rejected. | ||
5464 | WindowEventHandlers.onstorage | API, Event Handler, Property, Reference, Web Storage, WindowEventHandlers |
The onstorage property of the WindowEventHandlers mixin is an EventHandler for processing storage events. | ||
5465 | WindowEventHandlers.onunhandledrejection | API, Event Handler, HTML DOM, Promises, Property, Reference, WindowEventHandlers, events, onunhandledrejection |
The onunhandledrejection property of the WindowEventHandlers mixin is the EventHandler for processing unhandledrejection events. These events are raised for unhandled Promise rejections. | ||
5466 | WindowEventHandlers.onunload | API, Event Handler, MakeBrowserAgnostic, Property, Reference, WindowEventHandlers |
The onunload property of the WindowEventHandlers mixin is the EventHandler for processing unload events. These events fire when the window is unloading its content and resources. The resource removal is processed after the unload event occurs. | ||
5467 | WindowOrWorkerGlobalScope | API, HTML DOM, Service Worker, Window, WindowOrWorkerGlobalScope, Worker, WorkerGlobalScope |
The WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope interfaces. | ||
5468 | WindowOrWorkerGlobalScope.atob() | API, HTML DOM, Method, Reference, WindowOrWorkerGlobalScope, atob |
The WindowOrWorkerGlobalScope.atob() function decodes a string of data which has been encoded using Base64 encoding. You can use the WindowOrWorkerGlobalScope.btoa method to encode and transmit data which may otherwise cause communication problems, then transmit it and use the atob() method to decode the data again. For example, you can encode, transmit, and decode control characters such as ASCII values 0 through 31. | ||
5469 | WindowOrWorkerGlobalScope.btoa() | API, HTML DOM, Method, Reference, Web, WindowOrWorkerGlobalScope, btoa, data, strings |
The WindowOrWorkerGlobalScope.btoa() method creates a Base64-encoded ASCII string from a binary string (i.e., a String object in which each character in the string is treated as a byte of binary data). | ||
5470 | WindowOrWorkerGlobalScope.caches | API, Experimental, Property, Read-only, Reference, Service Workers, Web Workers, Window, WindowOrWorkerGlobalScope |
The caches read-only property of the WindowOrWorkerGlobalScope interface returns the CacheStorage object associated with the current context. This object enables functionality such as storing assets for offline use, and generating custom responses to requests. | ||
5471 | WindowOrWorkerGlobalScope.clearInterval() | API, HTML DOM, JavaScript timers, Method, Reference, WindowOrWorkerGlobalScope, clearInterval |
The clearInterval() method of the WindowOrWorkerGlobalScope mixin cancels a timed, repeating action which was previously established by a call to WindowOrWorkerGlobalScope.setInterval . | ||
5472 | WindowOrWorkerGlobalScope.clearTimeout() | API, HTML DOM, Method, Reference, WindowOrWorkerGlobalScope, clearTimeout |
The clearTimeout() method of the WindowOrWorkerGlobalScope mixin cancels a timeout previously established by calling WindowOrWorkerGlobalScope.setTimeout . | ||
5473 | self.createImageBitmap() | API, Canvas, DOM, Method, Reference, WindowOrWorkerGlobalScope, createImageBitmap |
The createImageBitmap() method creates a bitmap from a given source, optionally cropped to contain only a portion of that source. The method exists on the global scope in both windows and workers. It accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap . | ||
5474 | WindowOrWorkerGlobalScope.crossOriginIsolated | API, Experimental, Property, Reference, WindowOrWorkerGlobalScope, crossOriginIsolated |
The crossOriginIsolated read-only property of the WindowOrWorkerGlobalScope interface returns a boolean value that indicates whether a SharedArrayBuffer can be sent via a Window.postMessage() call. | ||
5475 | WindowOrWorkerGlobalScope.fetch() | API, Experimental, Fetch, Fetch API, GlobalFetch, Method, Reference, WindowOrWorkerGlobalScope, request |
The fetch() method of the WindowOrWorkerGlobalScope mixin starts the process of fetching a resource from the network, returning a promise which is fulfilled once the response is available. | ||
5476 | WindowOrWorkerGlobalScope.indexedDB | API, Database, IndexedDB, Property, Read-only, Reference, Storage, WindowOrWorkerGlobalScope |
The indexedDB read-only property of the WindowOrWorkerGlobalScope mixin provides a mechanism for applications to asynchronously access the capabilities of indexed databases. | ||
5477 | WindowOrWorkerGlobalScope.isSecureContext | API, HTML DOM, Property, Reference, Web, WindowOrWorkerGlobalContext, Workers, isSecureContext |
The isSecureContext read-only property of the WindowOrWorkerGlobalScope interface returns a boolean indicating whether the current context is secure (true ) or not (false ). | ||
5478 | WindowOrWorkerGlobalScope.origin | API, HTML DOM, Property, Reference, Web, Window, WindowOrWorkerGlobalScope, Worker, origin |
The origin read-only property of the WindowOrWorkerGlobalScope interface returns the origin of the global scope, serialized as a string. | ||
5479 | WindowOrWorkerGlobalScope.queueMicrotask() | API, HTML DOM, Intervals, JavaScript, Method, Microtask, Performance, Reference, Scheduling, ServiceWorker, SharedWorker, Tasks, Timers, Window, WindowOrWorkerGlobalScope, Worker, asynchronous, queueMicrotask, setTimeout |
The queueMicrotask() method, which is exposed on the Window or Worker interface, queues a microtask to be executed at a safe time prior to control returning to the browser's event loop. | ||
5480 | WindowOrWorkerGlobalScope.setInterval() | API, Gecko, HTML DOM, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, Timers, WindowOrWorkerGlobalScope, setInterval |
The setInterval() method, offered on the Window and Worker interfaces, repeatedly calls a function or executes a code snippet, with a fixed time delay between each call. | ||
5481 | WindowOrWorkerGlobalScope.setTimeout() | API, HTML DOM, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, NeedsUpdate, Reference, Timers, WindowOrWorkerGlobalScope, setTimeout |
The setTimeout() method of the WindowOrWorkerGlobalScope mixin (and successor to Window.setTimeout() ) sets a timer which executes a function or specified piece of code once the timer expires. | ||
5482 | Worker | API, DOM, Interface, JavaScript, Reference, Web Workers, Worker, Workers |
The Worker interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator. | ||
5483 | Worker: message event | Event |
The message event is fired on a Worker object when the worker's parent receives a message from its worker (i.e. when the worker sends a message using DedicatedWorkerGlobalScope.postMessage() ). | ||
5484 | Worker: messageerror event | Event |
The messageerror event is fired on a Worker object when it receives a message that can't be deserialized. | ||
5485 | Worker.onmessage | API, EventHandler, Property, Reference, Référence(2), Web Workers, Worker, onmessage |
The onmessage property of the Worker interface represents an EventHandler , that is a function to be called when the message event occurs. These events are of type MessageEvent and will be called when the worker's parent receives a message (i.e. from the DedicatedWorkerGlobalScope.postMessage method). | ||
5486 | Worker.onmessageerror | API, Event Handler, Property, Reference, Worker, onmessageerror |
The onmessageerror event handler of the Worker interface is an EventListener , called whenever an MessageEvent of type messageerror is fired on the Worker instance — that is, when it receives a message that cannot be Deserialization. | ||
5487 | Worker.prototype.postMessage() | API, JavaScript, Method, Reference, Référence(2), Web Workers, Worker, postMessage |
The postMessage() method of the Worker interface sends a message to the worker's inner scope. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references. | ||
5488 | Worker.terminate() | API, Method, Reference, Référence(2), Web Workers, Worker, terminate |
The terminate() method of the Worker interface immediately terminates the Worker . This does not offer the worker an opportunity to finish its operations; it is stopped at once. | ||
5489 | Worker() | API, Constructor, Reference, Web Workers, Worker |
The Worker() constructor creates a Worker object that executes the script at the specified URL. This script must obey the same-origin policy. | ||
5490 | WorkerGlobalScope | API, Interface, Reference, WorkerGlobalScope, Workers |
The WorkerGlobalScope interface of the Web Workers API is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. | ||
5491 | WorkerGlobalScope.close() | API, Deprecated, Method, Reference, Référence(2), Web Workers, WorkerGlobalScope, close |
The close() method of the WorkerGlobalScope interface discards any tasks queued in the WorkerGlobalScope 's event loop, effectively closing this particular scope. | ||
5492 | WorkerGlobalScope.console | API, Property, Read-only, Reference, Référence(2), Web Workers, WorkerGlobalScope |
The console read-only property of the WorkerGlobalScope interface returns a Console object providing access to the browser console for the worker. | ||
5493 | WorkerGlobalScope.dump() | API, Method, Reference, Web Workers, WorkerGlobalScope, dump |
The dump() method of the WorkerGlobalScope interface allows you to write a message to stdout — i.e. in your terminal, in Firefox only. This is the same as Firefox's window.dump , but for workers. | ||
5494 | WorkerGlobalScope.importScripts() | API, Method, Reference, Web Workers, WorkerGlobalScope, importScripts |
The importScripts() method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope. | ||
5495 | WorkerGlobalScope: languagechange event | API, Event, Reference, WorkerGlobalScope |
The languagechange event is fired at the global scope object when the user's preferred language changes. | ||
5496 | WorkerGlobalScope.location | API, Location, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope |
The location read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers. | ||
5497 | WorkerGlobalScope.navigator | API, Navigator, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope |
The navigator read-only property of the WorkerGlobalScope interface returns the WorkerNavigator associated with the worker. It is a specific navigator object, mostly a subset of the Navigator for browsing scopes, but adapted to workers. | ||
5498 | WorkerGlobalScope.onclose | API, Event Handler, Non-standard, Obsolete, Property, Reference, Web Workers, WorkerGlobalScope, onclose |
The onclose property of the WorkerGlobalScope interface represents an EventHandler to be called when the close event occurs and bubbles through the Worker . | ||
5499 | WorkerGlobalScope.onerror | API, EventHandler, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onerror |
The onerror property of the WorkerGlobalScope interface represents an EventHandler to be called when the error event occurs and bubbles through the Worker . | ||
5500 | WorkerGlobalScope.onlanguagechange | API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onlanguagechange |
The onlanguagechange property of the WorkerGlobalScope interface represents an EventHandler to be called when the languagechange event occurs and bubbles through the Worker . | ||
5501 | WorkerGlobalScope.onoffline | API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onoffline |
The onoffline property of the WorkerGlobalScope interface represents an EventHandler to be called when the offline event occurs and bubbles through the Worker . | ||
5502 | WorkerGlobalScope.ononline | API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, ononline |
The ononline property of the WorkerGlobalScope interface represents an EventHandler to be called when the online event occurs and bubbles through the Worker . | ||
5503 | WorkerGlobalScope.performance | API, CheckExample, Performance, Property, Read-only, Reference, Référence(2), WorkerGlobalScope |
The performance read-only property of the WorkerGlobalScope interface returns a Performance object to be used on the worker. | ||
5504 | WorkerGlobalScope.self | API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, self |
The self read-only property of the WorkerGlobalScope interface returns a reference to the WorkerGlobalScope itself. Most of the time it is a specific scope like DedicatedWorkerGlobalScope , SharedWorkerGlobalScope , or ServiceWorkerGlobalScope . | ||
5505 | WorkerLocation | API, Web Workers |
The WorkerLocation interface defines the absolute location of the script executed by the Worker . Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location . | ||
5506 | WorkerNavigator | API, HTML DOM, Interface, Reference, Web Workers, WorkerNavigator, Workers |
The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker . Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator . | ||
5507 | WorkerNavigator.connection | API, Connection, Experimental, Property, Reference, WorkerNavigator |
The WorkerNavigator.connection read-only property returns a NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered. This could be used to select high definition content or low definition content based on the user's connection. | ||
5508 | WorkerNavigator.locks | API, Experimental, LockManager, Property, Reference, Web Locks API |
The locks read-only property of the WorkerNavigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object. | ||
5509 | WorkerNavigator.permissions | API, Experimental, Permissions, Property, Reference, Web Workers, WorkerNavigator, Workers |
The WorkerNavigator.permissions read-only property returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API. | ||
5510 | Worklet | API, Interface, Reference, Worklet, Worklets |
The Worklet interface is a lightweight version of Worker and gives developers access to low-level parts of the rendering pipeline. With Worklets, you can run JavaScript and WebAssembly code to do graphics rendering or audio processing where high performance is required. | ||
5511 | Worklet.addModule() | API, Background, Experimental, Houdini, Method, Multiprocessor, Processes, Reference, Tasks, Worklets, addModule |
The addModule() method of the Worklet interface loads the module in the given JavaScript file and adds it to the current Worklet . | ||
5512 | WritableStream | API, Experimental, Interface, Reference, Streams, WritableStream |
The WritableStream interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. | ||
5513 | WritableStream.abort() | API, Experimental, Method, Reference, Streams, WritableStream, abort |
The abort() method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded. | ||
5514 | WritableStream.getWriter() | API, Experimental, Method, Reference, Streams, WritableStream, getWriter |
The getWriter() method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance. While the stream is locked, no other writer can be acquired until this one is released. | ||
5515 | WritableStream.locked | API, Experimental, Property, Reference, Streams, WritableStream, locked |
The locked read-only property of the WritableStream interface returns a boolean indicating whether the WritableStream is locked to a writer. | ||
5516 | WritableStream.WritableStream() | API, Constructor, Experimental, Reference, Streams, WritableStream |
The WritableStream() constructor creates a new WritableStream object instance. | ||
5517 | WritableStreamDefaultController | API, Experimental, Fetch, Interface, Reference, Streams, WritableStreamDefaultController |
The WritableStreamDefaultController interface of the Streams API represents a controller allowing control of a WritableStream 's state. When constructing a WritableStream , the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. | ||
5518 | WritableStreamDefaultController.error() | API, Error, Experimental, Method, Reference, Streams, WritableStreamDefaultController |
The error() method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error. | ||
5519 | WritableStreamDefaultWriter | API, Experimental, Interface, Reference, Streams, Streams API, WritableStream |
The WritableStreamDefaultWriter interface of the Streams API is the object returned by WritableStream.getWriter() and once created locks the writer to the WritableStream ensuring that no other streams can write to the underlying sink. | ||
5520 | WritableStreamDefaultWriter.abort() | API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, abort |
The abort() method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded. | ||
5521 | WritableStreamDefaultWriter.close() | API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, close |
The close() method of the WritableStreamDefaultWriter interface closes the associated writable stream. | ||
5522 | WritableStreamDefaultWriter.closed | API, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, closed |
The closed read-only property of the WritableStreamDefaultWriter interface returns a promise that fulfills if the stream becomes closed or the writer's lock is released, or rejects if the stream errors. | ||
5523 | WritableStreamDefaultWriter.desiredSize | API, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, desiredSize |
The desiredSize read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue. | ||
5524 | WritableStreamDefaultWriter.ready | API, Method, Ready, Reference, Streams, Streams API, WritableStream, WritableStreamDefaultWriter |
The ready read-only property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure. | ||
5525 | WritableStreamDefaultWriter.releaseLock() | API, Experimental, Method, Reference, Streams, WritiableStream, releaseLock |
The releaseLock() method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream. After the lock is released, the writer is no longer active. If the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed. | ||
5526 | WritableStreamDefaultWriter.WritableStreamDefaultWriter() | API, Constructor, Experimental, Reference, Streams, WritableStreamDefaultWriter |
The WritableStreamDefaultWriter() constructor creates a new WritableStreamDefaultWriter object instance. | ||
5527 | WritableStreamDefaultWriter.write() | API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, write |
The write() property of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation. | ||
5528 | XDomainRequest | AJAX, API, IE, JavaScript, Microsoft, Obsolete, Web |
XDomainRequest is an implementation of HTTP access control (CORS) that worked in Internet Explorer 8 and 9. It was removed in Internet Explorer 10 in favor of using XMLHttpRequest with proper CORS; if you are targeting Internet Explorer 10 or later, or wish to support any other browser, you need to use standard HTTP access control. | ||
5529 | XDomainRequest.abort() | API, DOM, IE, Method, Microsoft, Obsolete, Reference |
Aborts an XDomainRequest . | ||
5530 | XDomainRequest.onerror | AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference |
An event handler which is called when an XDomainRequest encounters an error. | ||
5531 | XDomainRequest.onload | AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference |
An event handler for when an XDomainRequest has finished receiving the response from the server. You can find the entire server response in the XDomainRequest.responseText property. | ||
5532 | XDomainRequest.onprogress | AJAX, API, DOM, Event, IE, Microsoft, Obsolete, Property, Reference |
This method is called periodically as an event handler for progress events on XDomainRequest s, so that code can monitor progress while loading content. | ||
5533 | XDomainRequest.ontimeout | AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference |
An event handler which is called when a pending XDomainRequest times out. | ||
5534 | XDomainRequest.open() | AJAX, IE, JavaScript, Method, Microsoft, Obsolete, Reference |
Opens an XDomainRequest which is configured to use a given method (GET/POST) and URL. | ||
5535 | XDomainRequest.responseText | AJAX, IE, Microsoft, Obsolete, Property, Reference |
Returns the response body of an XDomainRequest as a string. | ||
5536 | XDomainRequest.send() | API, DOM, IE, Method, Microsoft, Obsolete, Reference |
Sends an XDomainRequest which has previously been opened calling XDomainRequest.open() . | ||
5537 | XDomainRequest.timeout | AJAX, IE, Microsoft, Obsolete, Property, Reference, Référence(2) |
Gets or sets the amount of time in milliseconds until an XDomainRequest times out. | ||
5538 | XMLDocument | API, DOM, Interface, Reference, XMLDocument |
The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. | ||
5539 | XMLDocument.async | API, DOM, DOM Reference, Deprecated, Document, Non-standard, Property, Reference, async |
document.async can be set to indicate whether a XMLDocument.load() call should be an asynchronous or synchronous request. true is the default value, indicating that documents should be loaded asynchronously. | ||
5540 | XMLDocument.load() | API, DOM, Deprecated, Method, Non-standard, Reference, load |
document.load() is a part of an old version of the W3C DOM Level 3 Load & Save module. Can be used with document.async to indicate whether the request is synchronous or asynchronous (the default). As of at least Gecko 1.9, this no longer supports cross-site loading of documents (Use XMLHttpRequest or WindowOrWorkerGlobalScope.fetch instead). | ||
5541 | XMLHttpRequest | AJAX, API, Communication, HTTP, Interface, Reference, Web, XHR, XMLHttpRequest |
XMLHttpRequest (XHR) objects are used to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. | ||
5542 | XMLHttpRequest: abort event | API, Event, ProgressEvent, Web, XMLHttpRequest, abort |
The abort event is fired when a request has been aborted, for example because the program called XMLHttpRequest.abort() . | ||
5543 | XMLHttpRequest.abort() | AJAX, API, Abort XHR, Cancel XHR, HTTP, HttpRequest, Method, Reference, Stop XHR, XHR, XMLHttpRequest, abort, cancel, stop |
The XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its XMLHttpRequest.readyState is changed to XMLHttpRequest.UNSENT (0) and the request's XMLHttpRequest.status code is set to 0. | ||
5544 | XMLHttpRequest.channel | API, Non-standard, Property, Reference, XHR, XMLHttpRequest, channel, nsIChannel |
XMLHttpRequest.channel is an nsIChannel that used by the object when performing the request. This is null if the channel hasn't been created yet. In the case of a multi-part request, this is the initial channel, not the different parts in the multi-part request. Requires elevated privileges to access. | ||
5545 | XMLHttpRequest: error event | API, Error, Event, ProgressEvent, Web, XMLHttpRequest |
The error event is fired when the request encountered an error. | ||
5546 | XMLHttpRequest.getAllResponseHeaders() | API, Fetch Headers, Get Headers, HTTP, HTTP Header, Method, Reference, Response Header, XHR, XMLHttpRequest, getAllResponseHeaders |
The XMLHttpRequest method getAllResponseHeaders() returns all the response headers, separated by CRLF, as a string, or returns null if no response has been received. | ||
5547 | XMLHttpRequest.getResponseHeader() | API, Examine Header, Get Header, HTTP, HTTP Header, Headers, Method, Reference, XHR, XHR Header, XMLHttpRequest, getResponseHeader |
The XMLHttpRequest method getResponseHeader() returns the string containing the text of a particular header's value. | ||
5548 | How to check the security state of an XMLHTTPRequest over SSL | |
Here is a an example Javascript function that prints the security details of an XMLHTTPRequest sent over SSL. The function is passed the channel property of an XMLHTTPRequest to extract the following information: | ||
5549 | HTML in XMLHttpRequest | API, Guide, HTML, HTML with XMLHttpRequest, Loading HTML, Parsing HTML, Web, XMLHttpRequest |
The W3C XMLHttpRequest specification adds HTML parsing support to XMLHttpRequest , which originally supported only XML parsing. This feature allows Web apps to obtain an HTML resource as a parsed DOM using XMLHttpRequest . | ||
5550 | XMLHttpRequest: load event | API, Event, ProgressEvent, Web, XMLHttpRequest, load |
The load event is fired when an XMLHttpRequest transaction completes successfully. | ||
5551 | XMLHttpRequest: loadend event | API, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Reference, Web, events, loadend |
The loadend event is fired when a request has completed, whether successfully (after XMLHttpRequest/load_event ) or unsuccessfully (after XMLHttpRequest/abort_event or XMLHttpRequest/error_event ). | ||
5552 | XMLHttpRequest: loadstart event | API, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Web, XMLHttpRequest, events, loadstart |
The loadstart event is fired when a request has started to load data. | ||
5553 | XMLHttpRequest.mozAnon | API, Authentication, Cookies, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozAnon |
XMLHttpRequest.mozAnon is a boolean. If true, the request will be sent without cookies or authentication headers. | ||
5554 | XMLHttpRequest.mozBackgroundRequest | API, Background Service, Mozilla, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozBackgroundRequest |
XMLHttpRequest.mozBackgroundRequest is a Boolean, indicating if the object represents a background service request. | ||
5555 | XMLHttpRequest.mozResponseArrayBuffer | API, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozResponseArrayBufer |
Is an ArrayBuffer response to the request, written as a JavaScript typed array. | ||
5556 | XMLHttpRequest.mozSystem | AP, Non-standard, Property, Reference, Same Origin Policy, XHR, XMLHttpRequest, mozSystem, origin |
mozSystem is a boolean. If true, the same origin policy is not enforced on the request. | ||
5557 | XMLHttpRequest.multipart | API, Gecko, Mozilla, Non-standard, Obsolete, Property, Reference, XMLHttpRequest, multipart |
This boolean indicates if the response is expected to be a stream of possibly multiple XML documents. | ||
5558 | XMLHttpRequest.onreadystatechange | API, Event, Handler, Property, Reference, XHR, XMLHttpRequest |
An EventHandler that is called whenever the readyState attribute changes. The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange property contains the event handler to be called when the Document/readystatechange_event event is fired, that is every time the XMLHttpRequest.readyState property of the XMLHttpRequest changes. | ||
5559 | XMLHttpRequest.open() | API, HTTP, Method, NeedsExample, Reference, XHR, XMLHttpRequest, open |
The XMLHttpRequest method open() initializes a newly-created request, or re-initializes an existing one. | ||
5560 | XMLHttpRequest.openRequest() | API, DOM, Firefox, Gecko, Method, Non-standard, XHR, XMLHttpRequest, openRequest |
This Mozilla-specific method is available only from within privileged code, and is only called from a C++ context in order to initialize an XMLHttpRequest . | ||
5561 | XMLHttpRequest.overrideMimeType() | API, File Type, MIME Type, Method, Reference, XHR, XHR MIME Type, XMLHttpRequest, overrideMimeType |
The XMLHttpRequest method overrideMimeType() specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request. | ||
5562 | XMLHttpRequest: progress event | API, Event, ProgressEvent, Reference, Web, XMLHttpRequest, progress |
The progress event is fired periodically when a request receives more data. | ||
5563 | XMLHttpRequest.readyState | AJAX, Property, Reference, XMLHttpRequest |
The XMLHttpRequest.readyState property returns the state an XMLHttpRequest client is in. An XHR client exists in one of the following states: | ||
5564 | XMLHttpRequest.response | AJAX, API, Fetching Content, Fetching Data, Loading Data, Property, Read-only, Reading Data, Reference, Response, Server, XMLHttpRequest |
The XMLHttpRequest response property returns the response's body content as an ArrayBuffer , Blob , Document , JavaScript Object , or DOMString , depending on the value of the request's XMLHttpRequest.responseType property. | ||
5565 | XMLHttpRequest.responseText | API, Fetching Text, Loading Text, Property, Read-only, Reference, XMLHttpRequest, responseText |
The read-only XMLHttpRequest property responseText returns the text received from a server following a request being sent. | ||
5566 | XMLHttpRequest.responseType | AJAX, API, HTTP, HTTP Response, HTTP Response Type, Property, Reference, Response, XHR, XMLHttpRequest, responseType |
The XMLHttpRequest property responseType is an enumerated string value specifying the type of data contained in the response. | ||
5567 | XMLHttpRequest.responseURL | AJAX, Property, Read-only, Reference, URL, XMLHttpRequest, responseURL |
The read-only XMLHttpRequest.responseURL property returns the serialized URL of the response or the empty string if the URL is null . If the URL is returned, any URL fragment present in the URL will be stripped away. The value of responseURL will be the final URL obtained after any redirects. | ||
5568 | XMLHttpRequest.responseXML | AJAX, API, Fetching XML, Loading XML, Property, Read-only, Reading XML, Reference, Transfer, XML, XMLHttpRequest, download, responseXML, upload |
The XMLHttpRequest.responseXML read-only property returns a Document containing the HTML or XML retrieved by the request; or null if the request was unsuccessful, has not yet been sent, or if the data can't be parsed as XML or HTML. | ||
5569 | XMLHttpRequest.send() | AJAX, API, HTTP request, Method, NeedsContent, NeedsExample, Reference, XHR, XHR Request, XMLHttpRequest, send |
The XMLHttpRequest method send() sends the request to the server. | ||
5570 | XMLHttpRequest.sendAsBinary() | Binary Data, HTTP, Method, Non-standard, Obsolete, Reference, Sending Binary Data, XHR, XMLHttpRequest, sendAsBinary |
The obsolete XMLHttpRequest method sendAsBinary() is a variant of the XMLHttpRequest.send method that sends binary data. The send() method now supports binary data and should now be used instead. | ||
5571 | Sending and Receiving Binary Data | AJAX, FileReader, MIME, XMLHttpRequest |
The responseType property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), "arraybuffer" , "blob" , "document" , "json" , and "text" . The response property will contain the entity body according to responseType , as an ArrayBuffer , Blob , Document , JSON , or string. This is null if the request is not complete or was not successful. | ||
5572 | XMLHttpRequest.setRequestHeader() | API, HTTP, HTTP Header, Method, NeedsExample, Reference, Request header, XHR, XHR Request, XMLHttpRequest, header, request, setRequestHeader |
The XMLHttpRequest method setRequestHeader() sets the value of an HTTP request header. When using setRequestHeader() , you must call it after calling XMLHttpRequest.open , but before calling XMLHttpRequest.send . If this method is called several times with the same header, the values are merged into one single request header. | ||
5573 | XMLHttpRequest.status | API, Error, Property, Reference, XMLHttpRequest, XMLHttpRequest Status, result, status |
The read-only XMLHttpRequest.status property returns the numerical HTTP status code of the XMLHttpRequest 's response. | ||
5574 | XMLHttpRequest.statusText | AJAX, API, Property, Read-only, Reference, XMLHttpRequest, XMLHttpRequest Status |
The read-only XMLHttpRequest.statusText property returns a DOMString containing the response's status message as returned by the HTTP server. Unlike XMLHTTPRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in UNSENT or OPENED state, the value of statusText will be an empty string. | ||
5575 | Synchronous and asynchronous requests | Communication, DOM, Guide, Intermediate, Networking, Synchronous, XMLHttpRequest, asynchronous |
XMLHttpRequest supports both synchronous and asynchronous communications. In general, however, asynchronous requests should be preferred to synchronous requests for performance reasons. | ||
5576 | XMLHttpRequest: timeout event | API, Event, Reference, XHR, XMLHttpRequest, events, timeout |
The timeout event is fired when progression is terminated due to preset time expiring. | ||
5577 | XMLHttpRequest.timeout | AJAX, Asynchronous XHR, Asynchronous XMLHttpRequest, Property, Reference, XHR, XMLHttpRequest, timeout |
The XMLHttpRequest.timeout property is an unsigned long representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, which means there is no timeout. Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception. When a timeout happens, a timeout event is fired. | ||
5578 | XMLHttpRequest.upload | AJAX, API, Monitoring XMLHttpRequest, Property, Read-only, Reference, Sending Files, Uploading, XHR, XHR Uploads, XMLHttpRequest, XMLHttpRequest Uploads, XMLHttpRequestUpload, upload |
The XMLHttpRequest upload property returns an XMLHttpRequestUpload object that can be observed to monitor an upload's progress. | ||
5579 | Using XMLHttpRequest in IE6 | Web Development, Web Standards |
XMLHttpRequest was first introduced by Microsoft in Internet Explorer 5.0 as an ActiveX control. However, in IE7 and other browsers XMLHttpRequest is a native JavaScript object. | ||
5580 | Using XMLHttpRequest | AJAX, AJAXfile, Advanced, DOM, Guide, HTTP, JXON, MakeBrowserAgnostic, Tutorial, XHR, XML, XMLHttpRequest |
In this guide, we'll take a look at how to use XMLHttpRequest to issue HTTP requests in order to exchange data between the web site and a server | ||
5581 | XMLHttpRequest.withCredentials | AJAX, API, Property, Reference, Security, XHR, XMLHttpRequest, credentials, withCredentials |
The XMLHttpRequest.withCredentials property is a Boolean that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests. | ||
5582 | init() | |
Initializes the object for use from C++ code. | ||
5583 | XMLHttpRequest() | API, Constructor, Creating an XMLHttpRequest, Fetching Data, Loading Data, NeedsBrowserCompatibility, NeedsExample, NeedsSpecTable, Reading Data, Reference, Server Access, XHR, XMLHttpRequest |
The XMLHttpRequest() constructor creates a new XMLHttpRequest . | ||
5584 | XMLHttpRequestEventTarget | AJAX, API, NeedsBrowserCompatibility, NeedsContent, Reference, XMLHttpRequest |
XMLHttpRequestEventTarget is the interface that describes the event handlers you can implement in an object that will handle events for an XMLHttpRequest . | ||
5585 | XMLHttpRequestEventTarget.onabort | API, Event Handler, Property, Reference, Web, XHMLHttpRequestEventTarget |
The XMLHttpRequestEventTarget.onabort is the function called when an XMLHttpRequest transaction is aborted, such as when the XMLHttpRequest.abort() function is called. | ||
5586 | XMLHttpRequestEventTarget.onerror | API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget |
The XMLHttpRequestEventTarget.onerror is the function called when an XMLHttpRequest transaction fails due to an error. | ||
5587 | XMLHttpRequestEventTarget.onload | API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget |
The XMLHttpRequestEventTarget.onload is the function called when an XMLHttpRequest transaction completes successfully. | ||
5588 | XMLHttpRequestEventTarget.onloadstart | API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget |
The XMLHttpRequestEventTarget.onloadstart is the function called when an XMLHttpRequest transaction starts transferring data. | ||
5589 | XMLHttpRequestEventTarget.onprogress | Event Handler, Property, Reference, Web, XHR, XMLHttpRequestEventTarget |
The XMLHttpRequestEventTarget.onprogress is the function called periodically with information when an XMLHttpRequest before success completely. | ||
5590 | XMLHttpRequestResponseType | Definition, Enum, Enumerated, Response, Response Type, Type, XMLHttpRequest, XMLHttpRequestResponseType |
The XMLHttpRequestResponseType type is an enumerated set of strings which are used to specify the type of data contained in the XMLHttpRequest.response of an XMLHttpRequest . | ||
5591 | XMLSerializer | Converting, DOM Parsing, Interface, Parsing, Reference, Serialization, Serializing, XML, XMLSerializer, conversion |
The XMLSerializer interface provides the XMLSerializer.serializeToString method to construct an XML string representing a DOM tree. | ||
5592 | XMLSerializer.serializeToString() | API, DOM, DOM Parsing, DOM to HTML, DOM to XML, Parsing, Reference, Serialize, Serializing DOM, XML, XMLSerializer, serializeToString |
The XMLSerializer method serializeToString() constructs a string representing the specified DOM tree in XML form. | ||
5593 | XPathEvaluator | API, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathEvaluator |
The XPathEvaluator interface allows to compile and evaluate XPath expressions. | ||
5594 | XPathEvaluator.createExpression() | API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator |
This method compiles an XPathExpression which can then be used for (repeated) evaluations of the XPath expression. | ||
5595 | XPathEvaluator.createNSResolver() | API, DOM, DOM XPath API, Method, NeedsExample, Reference, XPath, XPathEvaluator |
This method adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document. | ||
5596 | XPathEvaluator.evaluate() | API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator |
The evaluate() method of the XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult . | ||
5597 | XPathException | API, DOM, DOM XPath API, Exception, Reference, XPath |
In the DOM XPath API the XPathException interface represents exception conditions that can be encountered while performing XPath operations. | ||
5598 | XPathException.code | API, DOM, DOM XPath API, Property, Reference, XPath, XPathException |
The code read-only property of the XPathException interface returns a short that contains one of the error code constants. | ||
5599 | XPathExpression | API, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathExpression |
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information from its DOM tree. | ||
5600 | XPathExpression.evaluate() | API, DOM XPath API, Method, Reference, XPath, XPathExpression |
The evaluate() method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult . | ||
5601 | XPathNSResolver | API, DOM, DOM XPath API, Interface, Reference, XML, XPath, XPathNSResolver |
The XPathNSResolver interface permits prefix strings in an XPath expression to be properly bound to namespace URI strings. | ||
5602 | XPathNSResolver.lookupNamespaceURI() | API, DOM, DOM XPath API, Method, Reference, XPath, XPathNSResolver |
The lookupNamespaceURI method looks up the namespace URI associated to the given namespace prefix within an XPath expression evaluated by the XPathEvaluator interface. | ||
5603 | XPathResult | API, DOM XPath API, Interface, Reference, XPath, XPathResult |
The XPathResult interface represents the results generated by evaluating an XPath expression within the context of a given node. | ||
5604 | XPathResult.booleanValue | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only booleanValue property of the XPathResult interface returns the boolean value of a result with XPathResult.resultType being BOOLEAN_TYPE . | ||
5605 | XPathResult.invalidIteratorState | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only invalidIteratorState property of the XPathResult interface signifies that the iterator has become invalid. It is true if XPathResult.resultType is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE and the document has been modified since this result was returned. | ||
5606 | XPathResult.iterateNext() | API, DOM XPath API, Method, Reference, XPath, XPathResult |
The iterateNext() method of the XPathResult interface iterates over a node set result and returns the next node from it or null if there are no more nodes. | ||
5607 | XPathResult.numberValue | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only numberValue property of the XPathResult interface returns the numeric value of a result with XPathResult.resultType being NUMBER_TYPE . | ||
5608 | XPathResult.resultType | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only resultType property of the XPathResult interface represents the type of the result, as defined by the type constants. | ||
5609 | XPathResult.singleNodeValue | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only singleNodeValue property of the XPathResult interface returns a Node value or null in case no node was matched of a result with XPathResult.resultType being ANY_UNORDERED_NODE_TYPE or FIRST_ORDERED_NODE_TYPE . | ||
5610 | XPathResult.snapshotItem() | API, DOM XPath API, Method, Reference, XPath, XPathResult |
The snapshotItem() method of the XPathResult interface returns an item of the snapshot collection or null in case the index is not within the range of nodes. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated. | ||
5611 | XPathResult.snapshotLength | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only snapshotLength property of the XPathResult interface represents the number of nodes in the result snapshot. | ||
5612 | XPathResult.stringValue | API, DOM XPath API, Property, Reference, XPath, XPathResult |
The read-only stringValue property of the XPathResult interface returns the string value of a result with XPathResult.resultType being STRING_TYPE . | ||
5613 | XRBoundedReferenceSpace | API, AR, Boundary, Interface, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRBoundedReferenceSpace, augmented |
The WebXR Device API's XRBoundedReferenceSpace interface describes a virtual world reference space which has preset boundaries. This extends XRReferenceSpace , which describes an essentially unrestricted space around the viewer's position. | ||
5614 | XRBoundedReferenceSpace.boundsGeometry | API, AR, Boundary, Edges, Geometry, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRBoundedReferenceSpace, augmented, boundsGeometry, space |
The read-only XRBoundedReferenceSpace property boundsGeometry is an array of DOMPointReadOnly objects which specifies the points making up a polygon inside which the viewer is allowed to move. | ||
5615 | XREnvironmentBlendMode | API, AR, Enum, Enumerated Type, Graphics, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented |
The WebXR API's enumerated type XREnvironmentBlendMode defines strings used to identify if and how to blend the rendered virtual content with the real world. Its values are used by the XRSession interface's XRSession.environmentBlendMode property. | ||
5616 | XREye | API, AR, Enumerated Type, Reality, Reference, Type, VR, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XREye, augmented |
The XREye enumerated type is used to identify which eye a particular XRView represents: left or right ; or, if the view doesn't represent a single eye, the value may be none . | ||
5617 | XRFrame | 3D, API, AR, Animation, Augmented Reality, Frame, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame |
A WebXR Device API XRFrame object is passed into the XRSession.requestAnimationFrame callback function and provides access to the information needed in order to render a single frame of animation for an XRSession describing a VR or AR sccene. Events which communicate the tracking state of objects also provide an XRFrame reference as part of their structure. | ||
5618 | XRFrame.getPose() | API, AR, Augmented Reality, Interface, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame, getPose |
The XRFrame method getPose() returns the relative position and orientation—the pose—of one XRSpace to that of another space. With this, you can observe the motion of objects relative to each other and to fixed locations throughout the scene. | ||
5619 | XRFrame.getViewerPose() | API, AR, Augmented Reality, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame, getViewerPose, pose |
The getViewerPose() method, a member of the XRFrame interface, returns a XRViewerPose object which describes the viewer's pose (position and orientation) relative to the specified reference space. | ||
5620 | XRFrame.session | API, AR, Augmented Reality, Property, Reference, Session, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRFrame |
An XRFrame object's read-only session property returns the XRSession object that generated the frame. | ||
5621 | XRFrameRequestCallback | Fixup spec table |
The XRFrameRequestCallback is a callback function passed into XRSession.requestAnimationFrame (part of WebXR API) to obtain the current time and the current XRFrame . | ||
5622 | XRHandedness | API, AR, Enum, Enumerated Type, Handedness, Reference, Type, VR, WebXR, WebXR Device API, XRHandedness, hand, left, right |
The WebXR enumerated type XRHandedness provides values which identify which of a user's hands is being used to operate a particular input controller attached to the XR input device being used. XRHandedness is used as the value of the the XRInputSource property XRInputSource.handedness . | ||
5623 | XRInputSource | API, AR, Augmented Reality, Experimental, Input, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSource, control |
The WebXR Device API's XRInputSource interface describes a single source of control input which is part of the user's WebXR-compatible virtual or augmented reality system. | ||
5624 | XRInputSource.gripSpace | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSession, gripSpace |
The read-only XRInputSource property gripSpace returns an XRSpace whose native origin tracks the pose used to render virtual objects so they appear to be held in (or part of) the user's hand. For example, if a user were holding a virtual straight rod, the native origin of this XRSpace would be located at the approximate center of mass of the user's fist. | ||
5625 | XRInputSource.handedness | API, AR, Controller, Handedness, Input, Property, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, hand, left, right |
The read-only XRInputSource property handedness indicates which of the user's hands the WebXR input source is associated with, or if it's not associated with a hand at all. | ||
5626 | XRInputSource.profiles | API, AR, Configuration, Input, Property, Read-only, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, augmented, profile |
The read-only XRInputSource property profiles returns an array of strings, each describing a configuration profile for the input source. | ||
5627 | XRInputSource.targetRayMode | API, AR, Pointing, Property, Ray, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, direction, pointer, target, targetRayMode |
The read-only XRInputSource property targetRayMode indicates the method by which the target ray for the input source should be generated and how it should be presented to the user. | ||
5628 | XRInputSource.targetRaySpace | API, AR, Controller, Input, Mixed, Property, Ray, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRReferenceSpace, XRSpace, augmented, source, space, target |
The read-only XRInputSource property targetRaySpace returns an XRSpace (typically an XRReferenceSpace ) representing the position and orientation of the target ray in the virtual space. | ||
5629 | XRInputSourceArray | API, AR, Input Sources, Inputs, Interface, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, list |
The interface XRInputSourceArray represents a live list of WebXR input sources, and is used as the return value of the XRSession property XRSession.inputSources . | ||
5630 | XRInputSourceArray.entries() | API, AR, Entries, Input Sources, Inputs, Iterator, Method, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray |
The XRInputSourceArray interface's entries() method returns a JavaScript iterator which can then be used to iterate over the key/value pairs in the input source array. | ||
5631 | XRInputSourceArray.forEach() | API, AR, Input Sources, Inputs, Method, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, forEach |
The XRInputSourceArray method forEach() executes the specified callback once for each input source in the array, starting at index 0 and progressing until the end of the list. | ||
5632 | XRInputSourceArray.keys() | API, AR, Devices, Input Sources, Inputs, Iterator, Method, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, keys |
The keys() method in the XRInputSourceArray interface returns a JavaScript iterator which can then be used to iterate over the keys used to reference each item in the array of input sources. | ||
5633 | XRInputSourceArray.length | API, AR, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceArray, augmented, controllers, count |
The read-only length property returns an integer value indicating the number of items in the input source list represented by the XRInputSourceArray object. | ||
5634 | XRInputSourceArray.values() | API, AR, Input Sources, Inputs, Iterator, Method, Mixed, Reality, Reference, Sources, VR, Virtual, WebXR, WebXR API, WebXR API Reference, XR, XRInputSourceArrray, augmented, values |
The XRInputSourceArray method values() returns a JavaScript iterator that can walk over the list of XRInputSource objects contained in the array, from first to last. | ||
5635 | XRInputSourceEvent | 3D, API, AR, Graphics, Input Sources, Inputs, Interface, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events |
The WebXR Device API's XRInputSourceEvent interface describes an event which has occurred on a WebXR user input device such as a hand controller, gaze tracking system, or motion tracking system. | ||
5636 | XRInputSourceEvent.frame | API, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, events |
The read-only XRInputSourceEvent property frame specifies an XRFrame object representing the event frame during which a WebXR user input occurred. | ||
5637 | XRInputSourceEvent.inputSource | API, AR, Controller, Input, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, inputSource, source |
The XRInputSourceEvent interface's read-only inputSource property specifies the XRInputSource which generated the input event. | ||
5638 | XRInputSourceEvent() | API, AR, Constructor, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events |
The XRInputSourceEvent() constructor creates and returns a new XRInputSourceEvent object describing an event (state change) which has occurred on a WebXR user input device represented by an XRInputSource . | ||
5639 | XRInputSourceEventInit | API, AR, Dictionary, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEventInit, augmented, events |
The XRInputSourceEventInit dictionary is used when calling the XRInputSourceEvent.XRInputSourceEvent constructor to provide configuration options for the newly-created XRInputSourceEvent object to take on. | ||
5640 | XRInputSourceEventInit.frame | API, AR, Augmetned, Configuration, Dictionary, Frame, Input, Input Source, Mixed, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEventInit, source |
The XRInputSourceEventInit dictionary's property frame specifies an XRFrame providing information about the timestamp at which the new input source event took place, as well as access to the XRFrame method XRFrame.getPose which can be used to map the coordinates of any XRReferenceSpace to the space in which the event took place. | ||
5641 | XRInputSourceEventInit.inputSource | API, Coordinate, Input Sources, Inputs, Property, Reference, Setting, Sources, WebXR, WebXR API, WebXR Device API, XRInputSourceEventInit, controllers, inputSource, value |
The XRInputSourceEventInit dictionary's inputSource property is used when calling the XRInputSourceEvent.XRInputSourceEvent constructor to specify the XRInputSource from which the newly-created event is being sent. | ||
5642 | XRInputSourcesChangeEvent | API, AR, Input Sources, Inputs, Interface, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented, events, inputsourceschange |
The WebXR Device API interface XRInputSourcesChangeEvent is used to represent the XRSession.inputsourceschange_event event sent to an XRSession when the set of available WebXR input controllers changes. | ||
5643 | XRInputSourcesChangeEvent.added | API, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, XR, XRInputSource, XRInputSourcesChangeEvent, augmented |
The read-only XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.added is a list of zero or more input sources, each identified using an XRInputSource object, which have been newly made available for use. | ||
5644 | XRInputSourcesChangeEvent.removed | API, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented, controllers, removed |
The read-only XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.removed is an array of zero or more XRInputSource objects representing the input sources which have been removed from the XRSession . | ||
5645 | XRInputSourcesChangeEvent.session | API, AR, Input Sources, Inputs, Mixed, Property, Read-only, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented |
The XRInputSourcesChangeEvent property XRInputSourcesChangeEvent.session specifies the XRSession to which the input source list change event applies. | ||
5646 | XRInputSourcesChangeEvent() | API, AR, Change, Constructor, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEvent, augmented |
The XRInputSourcesChangeEvent() constructor creates and returns a new XRInputSourcesChangeEvent object, representing an update to the list of available WebXR input devices. | ||
5647 | XRInputSourcesChangeEventInit | API, AR, Dictionary, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRInputSourcesChangeEventInit, augmented |
The XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent.XRInputSourcesChangeEvent constructor in order to set the initial state of the new XRInputSourcesChangeEvent object. | ||
5648 | XRInputSourcesChangeEventInit.added | API, AR, Added, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSource, XRInputSourcesChangeEventInit, augmented |
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.added specifies a list of input sources, each identified using an XRInputSource object, which the represented XRSession.inputsourceschange_event event is to indicate are newly available for use. | ||
5649 | XRInputSourcesChangeEventInit.removed | API, AR, Input Sources, Inputs, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEventInit, augmented, removed |
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.removed is an array of zero or more XRInputSource objects, each representing one input source which has been removed from the XRSession . | ||
5650 | XRInputSourcesChangeEventInit.session | API, AR, Mixed, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourcesChangeEventInit, augmented |
The XRInputSourcesChangeEventInit property XRInputSourcesChangeEventInit.session specifies the XRSession to which the input source list change event applies. | ||
5651 | XRPermissionDescriptor | API, AR, Dictionary, Mixed, Permissions, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, descriptor |
User permissions in the WebXR Device API are managed using the Permissions API. To that end, the XRPermissionDescriptor dictionary is used to describe the WebXR features the app needs to use, as well as those features it would like ot use if permision is granted. | ||
5652 | XRPermissionDescriptor.mode | API, AR, Mixed, Permissions, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, XRSessionMode, augmented, mode |
The mode property of the XRPermissionDescriptor dictionary is a string taken from the XRSessionMode enumerated type, specifying which Web XR session mode (inline , immersive-vr , or immersive-ar ) the described permissions will be used for. | ||
5653 | XRPermissionDescriptor.optionalFeatures | API, AR, Mixed, Permissions, Property, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, descriptor |
The XRPermissionDescriptor dictionary's optionalFeatures property is used to specify a list of WebXR features which your app or site would like to use but can operate without if permission isn't granted to use them. | ||
5654 | XRPermissionDescriptor.requiredFeatures | API, AR, Mixed, Permissions, Property, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionDescriptor, augmented, features, requiredFeatures |
The XRPermissionDescriptor dictionary's requiredFeatures property should be set prior to calling permissions.query to a list of WebXR features which must be supported for the app to work. | ||
5655 | XRPermissionStatus | API, AR, Interface, Mixed, Permissions, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPermissionStatus, augmented |
The XRPermissionStatus interface defines the object returned by calling Permissions.query for the xr permission name; it indicates whether or not the app or site has permission to use WebXR, an may be monitored over time for changes to that permissions tate. | ||
5656 | XRPermissionStatus.granted | API, AR, Mixed, Permissions, Property, Reality, Reference, VR, Virtual, WebXR API, WebXR Device API, WenXR, XR, XRPermissionStatus, augmented, granted |
The WebXR Device API's XRPermissionStatus interface's granted property is an array of strings, each identifying one of the WebXR features for which permission has been granted as of the time at which the Permission API's Permissions.query method was called. | ||
5657 | XRPose | 3DoF, 6DoF, API, AR, Interface, NeedsExample, Orientation, Position, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPose, augmented, pose, space, transform |
XRPose is a WebXR API interface representing a position and orientation in the 3D space, relative to the XRSpace within which it resides. | ||
5658 | XRPose.emulatedPosition | API, AR, Orientation, Position, Property, Read-only, Reality, Reference, VR, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRPose, augmented, emulatedPosition, offset, pose, tracking |
The emulatedPosition read-only attribute of the XRPose interface is a Boolean value indicating whether or not both the XRRigidTransform.position component of the pose's XRPose.transform is directly taken from the XR device, or it's simulated or computed based on other sources. | ||
5659 | XRPose.transform | API, AR, Orientation, Position, Property, Read-only, Reference, VR, WebXR, WebXR API, WebXR Device API, XR, XRPose, transform |
The transform read-only attribute of the XRPose interface is a XRRigidTransform object providing the position and orientation of the pose relative to the base XRSpace as specified when the pose was obtained by calling XRFrame.getPose() . | ||
5660 | XRReferenceSpace | API, AR, Augmented Reality, Distances, Interface, Mixed Reality, Offsets, Reference, Spaces, VR, Virtual Reality, WebXR API, WebXR Device API, WebXR\, XR, XRReferenceSpace, matrix, transform |
The WebXR Device API's XRReferenceSpace interface describes the coordinate system for a specific tracked entity or object within the virtual world using a specified tracking behavior. | ||
5661 | XRReferenceSpace.getOffsetReferenceSpace() | API, AR, Mixed, Orientation, Position, Reality, Reference, Rotate, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, getOffsetReferenceSpace, move, movement |
The XRReferenceSpace interface's getOffsetReferenceSpace() method returns a new reference space object which describes the relative difference in position between the object on which the method is called and a given point in 3D space. | ||
5662 | XRReferenceSpace.onreset | API, AR, Event Handler, Property, Reality, Reference, Spatial, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, onreset, reset, tracking |
The XRReferenceSpace interface's onreset event handler property can be set to a function which is called when the XRReferenceSpace receives a XRReferenceSpace.reset_event event, signaling that the XR device has experienced a discontinuity large enough to require that the position and/or orientation of the origin be significantly altered to compensate. | ||
5663 | XRReferenceSpace: reset event | API, AR, Event, Graphics, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, reset |
The reset event is sent to an XRReferenceSpace object when a discontinuity is detected in either the native origin or the effective origin, causing a jump in the position or orientation of objects oriented using the reference space. | ||
5664 | XRReferenceSpaceEvent | API, AR, Event, Interface, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented |
The WebXR Device API interface XRReferenceSpaceEvent represents an event sent to an XRReferenceSpace . Currently, the only event that uses this type is the XRReferenceSpace.reset_event event. | ||
5665 | XRReferenceSpaceEvent.referenceSpace | API, AR, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented, events, referenceSpace, source |
The read-only XRReferenceSpaceEvent property referenceSpace specifies the reference space which is the originator of the event. | ||
5666 | XRReferenceSpaceEvent.transform | API, AR, Coordinate System, Coordinates, Event, Mixed, Orientation, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, augmented, reset, transform |
The read-only XRReferenceSpaceEvent property transform indicates the position and orientation of the affected XRReferenceSpaceEvent.referenceSpace 's native origin after the changes the event represents are applied. | ||
5667 | XRReferenceSpaceEvent() | API, AR, Constructor, Eventss, Mixed, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEvent, augmented, events |
The XRReferenceSpaceEvent() constructor is used to create a new XRReferenceSpaceEvent object, which represents an event regarding the state of a WebXR reference space object, XRReferenceSpace . | ||
5668 | XRReferenceSpaceEventInit | API, AR, Configuration, Dictionary, Mixed, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented |
The XRReferenceSpaceEventInit dictionary is used when calling the XRReferenceSpaceEvent.XRReferenceSpaceEvent constructor to provide the values for its properties. Since the properties are read-only, this is the only opportunity available to set their values. | ||
5669 | XRReferenceSpaceEventInit.referenceSpace | API, AR, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented, referenceSpace |
The XRReferenceSpaceEventInit property referenceSpace is used to establish the value of a newly-constructed XRReferenceSpaceEvent object when calling the XRReferenceSpaceEvent.XRReferenceSpaceEvent constructor. | ||
5670 | XRReferenceSpaceEventInit.transform | API, AR, Mixed, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpaceEventInit, augmented, transform |
The XRReferenceSpaceEventInit property transform indicates the position and orientation of the affected reference space's native origin after the changes the event represents are applied. | ||
5671 | XRReferenceSpaceType | API, AR, Enumerated, Enumerated Type, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, XRReferenceSpaceType, augmented, space, tracking |
The XRReferenceSpaceType enumerated type defines the strings which identify the types of reference spaces supported by WebXR. | ||
5672 | XRRenderState | API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState |
The XRRenderState interface of the WebXR Device API contains configurable values which affect how the imagery generated by an XRSession gets composited. | ||
5673 | XRRenderState.baseLayer | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, baseLayer |
The read-only baseLayer property of the XRRenderState interface returns the XRWebGLLayer instance that is the source of bitmap images and a description of how the image is to be rendered in the device. | ||
5674 | XRRenderState.depthFar | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, depthFar |
The depthFar read-only property of the XRRenderState interface returns the distance in meters of the far clip plane from the viewer. | ||
5675 | XRRenderState.depthNear | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, depthNear |
The depthNear read-only property of the XRRenderState interface returns the distance in meters of the near clip plane from the viewer. | ||
5676 | XRRenderState.inlineVerticalFieldOfView | API, Field of View, Vertical Field of View, WebXR, WebXR Device API |
The read-only inlineVerticalFieldOfView property of the XRRenderState interface returns the default vertical field of view for "inline" sessions and null for all immersive sessions. | ||
5677 | XRRenderState.inlineVerticalFieldOfView | 'Augmented Reality, API, AR, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, inlineVerticalFieldOfView |
The inlineVerticalFieldOfView read-only property of the XRRenderState interface defines the angle of the field of view in radians used when computing projection matrices for "inline" XRSession objects. This option must be null for immersive sessions. | ||
5678 | XRRenderStateInit | API, AR, Dictionary, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRenderStateInit, augmented, render, state |
The XRRenderStateInit dictionary is a writeable version of the XRRenderState interface, and is used when calling an XRSession 's XRSession.updateRenderState method to apply changes to the render state prior to rendering the next frame. | ||
5679 | XRRigidTransform | API, AR, Interface, Reality, Reference, Reference Space, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRReferenceSpace, XRRigidTransform, augmented, space, transform |
The XRRigidTransform is a WebXR API interface that represents the 3D geometric transform described by a position and orientation. | ||
5680 | XRRigidTransform.inverse | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, inverse, transform |
The read-only inverse property of the XRRigidTransform interface returns another XRRigidTransform object which is the inverse of its owning transform. | ||
5681 | XRRigidTransform.matrix | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, matrix, transform |
The read-only XRRigidTransform property matrix returns the transform matrix represented by the object. The returned matrix can then be premultiplied with a column vector to rotate the vector by the 3D rotation specified by the XRRigidTransform.orientation , then translate it by the XRRigidTransform.position . | ||
5682 | XRRigidTransform.orientation | API, AR, Orientation, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRRigidTransform, augmented, rotation |
The read-only XRRigidTransform property orientation is a DOMPointReadOnly containing a normalized quaternion (also called a unit quaternion or versor) specifying the rotational component of the transform represented by the object. | ||
5683 | XRRigidTransform.position | 3D, API, AR, Coordinates, Location, Point, Position, Property, Reference, VR, WebXR, WebXR API, XR, XRRigidTransform, transform |
The read-only XRRigidTransform property position is a DOMPointReadOnly object which provides the 3D point, specified in meters, describing the translation component of the transform. | ||
5684 | XRRigidTransform() | API, AR, Constructor, Mixed Reality, Orientation, Position, Reality, Reference, VR, Virtual, WebXR, XR, XRRigidTransform, augmented, transform |
The XRRigidTransform () constructor creates and returns a new XRRigidTransform object, representing the position and orientation of a point or object. | ||
5685 | XRSession | API, AR, Augmented Reality, Interface, Reference, VR, Virtual Reality, WebXR Device API, XRSession |
The WebXR Device API's XRSession interface represents an ongoing XR session, providing methods and properties used to interact with and control the session. To open a WebXR session, use the XRSystem interface's XRSystem.requestSession method. | ||
5686 | XRSession.cancelAnimationFrame() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, cancelAnimationFrame() |
The cancelAnimationFrame() method of the XRSession interface cancels an animation frame which was previously requested by calling XRSession.requestAnimationFrame . | ||
5687 | XRSession: end event | API, AR, End, Event end, Finish, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR Device API, XR, XRSession, augmented, events, stop, terminate |
An end event is fired at an XRSession object when the WebXR session has ended, either because the web application has chosen to stop the session, or because the user agent terminated the session. | ||
5688 | XRSession.end() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, end() |
The end() method shuts down the XRSession on which it's called, returning a promise which resolves once the session has fully shut down. | ||
5689 | XRSession.environmentBlendMode | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR Augmented Reality, WebXR Augmented Reality API, XRSession, augmented, environmentBlendMode |
The XRSession interface's read-only environmentBlendMode property identifies if—and to what degree—the computer-generated imagery is overlaid atop the real world. | ||
5690 | XRSession.inputSources | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, inputSources |
The read-only inputSources property of the XRSession interface returns an XRInputSourceArray object which lists all controllers and input devices which are expressly associated with the XR device and are currently available. | ||
5691 | XRSession: inputsourceschange event | API, AR, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSources, XRSession, augmented, events, inputsourceschange |
The inputsourceschange event is sent to an XRSession when the set of available WebXR input devices changes. | ||
5692 | XRSession.onend | API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, onend |
The onend attribute of the XRSession object is the event handler for the XRSession.end_event event, which is dispatched after the XR session ends and all related hardware-specific routines are completed. | ||
5693 | XRSession.oninputsourceschange | API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, oninputsourceschange |
The oninputsourcechange attribute of the XRSession object is the event handler for the XRSession.inputsourcechange_event event, which is dispatched when session's list of active XR input sources has changed. The list itself is accessible via XRSession.inputSources . | ||
5694 | XRSession.onselect | API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, onselect |
The onselect property of the XRSession object is the event handler for the XRSession.select_event event, which is dispatched when a primary action is completed successfully by the user. | ||
5695 | XRSession.onselectend | API, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onselectend |
The onselectend attribute of the XRSession object is the event handler for the XRSession.selectend_event event, which is dispatched when user finishes making some sort of selection by releasing a trigger, touchpad, or button, finishes speaking a command, or makes a hand gesture. For example, this might include releasing a button or joystick. | ||
5696 | XRSession.onselectstart | API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, onselectstart |
The onselectstart attribute of the XRSession object is the event handler for the XRSession.selectstart_event event, which is dispatched when user starts making some sort of selection by pressing a trigger, touchpad, or button, speaking a command, or making a hand gesture. For example, this might include pressing a button or moving a joystick. | ||
5697 | XRSession.onsqueeze | API, AR, Event Handler, Mixed, Primary Squeeze Action, Reality, Reference, Squeeze Action, VR, Virtual, WebXR, XR, XRSession, actions, augmented, onsqueeze, squeeze |
The XRSession interface's onsqueeze event handler property can be set to a function which is then invoked to handle the XRSession.squeeze_event event that's sent when the user successfully completes a primary squeeze action on a WebXR input device. | ||
5698 | XRSession.onsqueezeend | API, AR, Event Handler, Primary, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, action, augmented, onsqueezeend, squeeze |
The XRSession interface's onsqueezeend event handler property is a function to be invokedn when the XRSession.squeezeend_event event sent to an XRSession when a primary squeeze action ends. | ||
5699 | XRSession.onsqueezestart | API, AR, Event Handler, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, actions, augmented, onsqueezestart |
The XRSession interface's onsqueezestart event handler property can be set to a function which is then invoked to handle the XRSession.squeezestart_event event that's sent when the user successfully begins a primary squeeze action on a WebXR input device. | ||
5700 | XRSession.onvisibilitychange | API, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onvisibilitychange |
The onvisibilitychange attribute of the XRSession object is the event handler for the XRSession.visibilitychange_event event, which is dispatched when the visibility state of the XR session changes. The visibility state of the session is accessible via XRSession.visibilityState . | ||
5701 | XRSession.renderState | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, renderState |
The read-only renderState property of an XRSession object indicates the returns a XRRenderState object describing how the user's environment which should be rendered. | ||
5702 | XRSession.requestAnimationFrame() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, requestAnimationFrame() |
The XRSession method requestAnimationFrame() , much like the Window method of the same name, schedules a callback to be executed the next time the browser is ready to paint the session's virtual environment to the XR display. | ||
5703 | XRSession.requestReferenceSpace() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, requestReferenceSpace, space, tracking |
The requestReferenceSpace() method of the XRSession interface returns a promise that resolves with an instance of either XRReferenceSpace or XRBoundedReferenceSpace as appropriate given the type of reference space requested. | ||
5704 | XRSession: select event | API, AR, Input Source, Inputs, Mixed, Reality, Reference, Select, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRInputSourceEvent, augmented, controllers, events, target |
The WebXR event select is sent to an XRSession when one of the session's input sources has completed a primary action. | ||
5705 | XRSession: selectend event | API, AR, Event, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, selectend |
The WebXR event selectend is sent to an XRSession when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnected without successfully completing the action. | ||
5706 | XRSession: selectstart event | API, AR, Event, Input Sources, Inputs, Mixed, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, selectstart |
The WebXR event selectstart is sent to an XRSession when the user begins a primary action on one of its input sources. | ||
5707 | XRSession: squeeze event | API, AR, Event, Input Sources, Inputs, Mixed, Primary Squeeze Action, Reality, Reference, Squeeze Action, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, squeeze |
The WebXR event squeeze is sent to an XRSession when one of the session's input sources has completed a primary squeeze action. | ||
5708 | XRSession: squeezeend event | API, AR, Event, Input Sources, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, actions, augmented, squeezeend |
The WebXR event squeezeend is sent to an XRSession when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnected without successfully completing the action. | ||
5709 | XRSession: squeezestart event | API, AR, Event, Input Sources, Inputs, Mixed, Primary Squeeze Actions, Reality, Reference, Squeeze Actions, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, augmented, controllers, squeezestart |
The WebXR event squeezestart is sent to an XRSession when the user begins a primary squeeze action on one of its input sources. | ||
5710 | XRSession.updateRenderState() | API, AR, Augmented Reality, Experimental, Method, Reference, Update, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSession, render, state, updateRenderState() |
The updateRenderState() method of the XRSession interface of WebXR API schedules changes to be applied to the active render state prior to rendering of the next frame. | ||
5711 | XRSession: visibilitychange event | API, AR, Blurred, Mixed, Reality, Reference, VR, Virtual, Visibility, Visible, WebXR, WebXR API, WebXR Device API, XR, XRSession, active, augmented, events, focused, hidden, visibilitychange |
The visibilitychange event is sent to an XRSession to inform it when it becomes visible or hidden, or when it becomes visible but not currently focused. | ||
5712 | XRSession.visibilityState | API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, visibilityState |
The read-only visibilityState property of the XRSession interface is a string indicating whether the WebXR content is currently visible to the user, and if it is, whether it's the primary focus. | ||
5713 | XRSessionEvent | API, AR, Event, Interface, Mixed, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionEvent, augmented |
The WebXR Device API's XRSessionEvent interface describes an event which indicates the change of the state of an XRSession . | ||
5714 | XRSessionEvent.session | API, AR, Mixed, Property, Reality, Reference, Session, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionEvent, augmented, events, sessions |
The read-only XRSessionEvent interface's session property indicates which XRSession the event is about. | ||
5715 | XRSessionEvent() | API, Constructor, Mixed, Reality, Reference, Session, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEvent, augmented, events |
The WebXR Device API's XRSessionEvent() constructor creates and returns a new XRSessionEvent object. | ||
5716 | XRSessionEventInit | API, AR, Configuration, Dictionary, Init, Mixed, Options, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEventInit, augmented, events, sessions |
The XRSessionEventInit dictionary is used when calling the XRSessionEvent.XRSessionEvent constructor to provide the new event's initial values. | ||
5717 | XRSessionEventInit.session | API, AR, Event, Mixed, Options, Reality, Reference, Session, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRSessionEventInit, augmented |
The XRSessionEventInit dictionary's session property specifies the XRSession for which the event describes a state change. | ||
5718 | XRSessionInit | API, AR, Dictionary, Reality, Reference, Session, VR, Virtual, WebXR API, WebXR Device API, WehXR, XR, XRSessionInit, augmented |
The WebXR Device API dictionary XRSessionInit specifies required and/or optional features when requesting a new XRSession by calling the XRSystem.requestSession method. | ||
5719 | XRSessionMode | API, AR, Enum, Graphics, Reference, Session, Type, VR, WebXR, WebXR API, WebXR Device API, XR, XRSession, XRSessionMode |
The WebXR Device API's XRSessionMode enumerated type defines the string values used to identify the possible kinds of session mode that can be used. | ||
5720 | XRSpace | API, AR, Augmented Realty, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSpace |
The XRSpace interface of the WebXR Device API is an abstract interface providing a common basis for every class which represents a virtual coordinate system within the virtual world, in which its origin corresponds to a physical location. Spatial data in WebXR is always expressed relative to an object based upon one of the descendant interfaces of XRSpace , at the time at which a given XRFrame takes place. | ||
5721 | XRSystem | API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem |
The WebXR Device API interface XRSystem provides methods which let you get access to an XRSession object representing a WebXR session. With that XRSession in hand, you can use it to interact with the Augmented Reality (AR) or Virtual Reality (VR) device. | ||
5722 | XRSystem: devicechange event | API, AR, Augmented Reality, Reference, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, devicechange |
A devicechange event is fired on an XRSystem object whenever the whenever the availability of immersive XR devices has changed; for example, a VR headset or AR goggles have been connected or disconnected. | ||
5723 | XRSystem: isSessionSupported() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, isSessionSupported |
The XRSystem method isSessionSupported() returns a promise which resolves to true if the specified WebXR session mode is supported by the user's WebXR device. Otherwise, the promise resolves with false . | ||
5724 | XRSystem: ondevicechange | AR, Augmented Reality, Event Handler, Experimental, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, ondevicechange |
The ondevicechange property of the XRSystem interface is passed a devicechange event whenever availability of an immersive device changes. The event that is fired is a "simple event" that implements the Event interface. | ||
5725 | XRSystem: requestSession() | API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRSystem, requestSession |
The XRSystem interface's requestSession() method returns a promise which resolves to an XRSession object through which you can manage the requested type of WebXR session. | ||
5726 | XRTargetRayMode | 3D, API, AR, Enum, Enumerated Type, Input, Reality, Reference, Type, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRTargetRayMode, augmented, source, target |
The WebXR Device API enumerated type XRTargetRayMode describes the method by an input controller's targeting ray is being produced. | ||
5727 | XRView | API, AR, Eye, Interface, Orientation, Position, Reference, VR, View, WebXR, WebXR API, WebXR Device API, XR, XRView, camera |
The WebXR Device API's XRView interface provides information describing a single view into the XR scene for a specific frame, providing orientation and position information for the viewpoint. | ||
5728 | XRView.eye | API, AR, Eye, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRView, augmented |
The XRView interface's read-only eye property is a string taken from the XREye enumerated type, indicating which eye's viewpoint the XRView represents: left or right . For views which represent neither eye, such as monoscopic views, this property's value is none . | ||
5729 | XRView.projectionMatrix | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR DeviceAPI, XR, XRView, augmented, perspective, projectionMatrix |
The XRView interface's read-only projectionMatrix property specifies the projection matrix to apply to the underlying view. This should be used to integrate perspective to everything in the scene, in order to ensure the result is consistent with what the eye expects to see. | ||
5730 | XRView.transform | API, AR, Orientation, Position, Property, Read-only, Reality, Reference, VR, View, Viewpoint, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRView, augmented, camera, transform |
The read-only transform property of the XRView interface is an XRRigidTransform object which provides the position and orientation of the viewpoint relative to the XRReferenceSpace specified when the XRFrame.getViewerPose() method was called to obtain the view object. | ||
5731 | XRViewerPose | 3D, API, AR, Graphics, Mixed Reality, Overview, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, augmented |
The WebXR Device API interface XRViewerPose represents the pose (the position and orientation) of a viewer's point of view on the scene. Each XRViewerPose can have multiple views to represent, for example, the slight separation between the left and right eye. | ||
5732 | XRViewerPose.views | 3D, API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR Device API, XR, XRViewerPose, augmented, pose, views |
The read-only XRViewerPose property views returns an array which contains every XRView which must be rendered in order to fully represent the scene from the viewpoint defined by the viewer pose. For monoscopic devices, this array contains a single view. | ||
5733 | XRViewport | API, AR, Graphics, Interface, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, render, viewport |
The WebXR Device API's XRViewport interface provides properties used to describe the size and position of the current viewport within the XRWebGLLayer being used to render the 3D scene. | ||
5734 | XRViewport.height | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, height, size, viewport |
The read-only XRViewport property height specifies the height, in pixels, of the viewport onto the drawing surface within which the WebXR view is to be rendered. | ||
5735 | XRViewport.width | API, AR, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, size, viewport, width |
The read-only XRViewport property width specifies the width of the viewport, in pixels, onto the drawing surface the 3D scene is to be rendered into. | ||
5736 | XRViewport.x | API, AR, Coordinate, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, left, origin, viewport, x |
The read-only XRViewport interface's x property indicates the offset from the left edge of the destination surface (typically a XRWebGLLayer to the left edge of the viewport within the surface into which WebXR content is to be rendered. | ||
5737 | XRViewport.y | API, AR, Horizontal, Position, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRViewport, augmented, origin, viewport, y |
The read-only XRViewport interface's y property indicates the offset from the bottom edge of the destination surface (typically a XRWebGLLayer to the bottom edge of the viewport within the surface into which WebXR content is to be rendered. | ||
5738 | XRVisibilityState | API, AR, Enum, Enumerated Type, Focus, Reality, Reference, Type, VR, Virtual, Visibility, XR, XRVisibilityState, augmented, blur, hidden |
The XRVisibilityState enumerated type defines the string values which are valid for the XRSession interface's XRSession.visibilityState property, which indicates whether or not an XR session is currently visible to the user, and if it is, whether or not it's currently the primary focus. | ||
5739 | XRWebGLLayer | API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, XRWebGLLayer |
The XRWebGLLayer interface of the WebXR Device API provides a linkage between the WebXR device (or simulated XR device, in the case of an inline session) and a WebGL context used to render the scene for display on the device. In particular, it provides access to the WebGL framebuffer and viewport to ease access to the context. | ||
5740 | XRWebGLLayer.antialias | API, AR, Drawing, Graphics, Quality, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, anti-aliasing, antialias, appearance, augmented, rendering |
The read-only XRWebGLLayer property antialias is a Boolean value which is true if the rendering layer's frame buffer supports antialiasing. | ||
5741 | XRWebGLLayer.framebuffer | API, AR, Buffer, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebuffer |
The read-only XRWebGLLayer property framebuffer is an opaque WebGLFramebuffer which is used to buffer the rendered image if the XR compositor is being used. Otherwise, this property's value is null . | ||
5742 | XRWebGLLayer.framebufferHeight | API, AR, Buffer, Frame, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebufferHeight, height, size |
The read-only XRWebGLLayer property framebufferHeight indicates the height of the framebuffer, in pixels. | ||
5743 | XRWebGLLayer.framebufferWidth | API, AR, Buffer, Frame, Property, Read-only, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebufferWidth, width |
The read-only XRWebGLLayer property framebufferWidth specifies the width of the framebuffer, in pixels. | ||
5744 | XRWebGLLayer.getNativeFramebufferScaleFactor() static method | API, AR, Effective, Factor, Reality, Reference, Scaling, Static, Static Method, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, framebuffer, getNativeFramebufferScaleFactor, native, resolution |
The static method XRWebGLLayer.getNativeFramebufferScaleFactor() returns a floating-point scaling factor by which one can multiply the specified XRSession 's resolution to get the native resolution of the WebXR device's frame buffer. | ||
5745 | XRWebGLLayer.getViewport() | API, AR, Layer, Method, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, getViewport, viewport |
The XRWebGLLayer interface's getViewport() method returns the XRViewport that should be used to render the specified XRView into the WebGL layer. | ||
5746 | XRWebGLLayer.ignoreDepthValues | 3D, API, AR, Depth, Property, Read-only, Reality, Reference, VR, Virtual, WebGL, WebGL API, WebGL Device API, XR, XRWebGLLayer, augmented, ignoreDepthValues |
The read-only XRWebGLLayer property ignoreDepthValues is a Boolean value which is true if the session has been configured to ignore the values in the depth buffer while rendering the scene. If the depth buffer is being used to determine the position of vertices, this property is false . | ||
5747 | XRWebGLLayer() | API, AR, Constructor, Context, Create, Initialize, Layer, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayer, augmented, new |
The WebXR Device API XRWebGLLayer() constructor creates and returns a new XRWebGLLayer object, providing the linkage between the WebXR device and the WebGL graphics layer used to render the 3D scene. | ||
5748 | XRWebGLLayerInit | API, AR, Configuration, Dictionary, Options, Reality, Reference, Settings, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented |
The WebXR Device API's XRWebGLLayerInit dictionary is used to provide configuration options when creating a new XRWebGLLayer object with the XRWebGLLayer.XRWebGLLayer constructor. | ||
5749 | XRWebGLLayerInit.alpha | API, Alpha, Property, Reference, See-through, Translucent, Transparent, WebXR, WebXR API, WebXR Device API, XRWebGLLayerInit, color |
The alpha property is a Boolean value which, if present and set to true in the XRWebGLLayerInit dictionary passed into the XRWebGLLayer.XRWebGLLayer constructor, specifies that the new layer's color buffer is to include an alpha. | ||
5750 | XRWebGLLayerInit.antialias | API, AR, Graphics, Property, Quality, Reality, Reference, Smoothing, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, anti-aliasing, antialias, augmented, detail, rendering |
The Boolean antialias property, if present and set to true in the XRWebGLLayerInit object provided as the XRWebGLLayer.XRWebGLLayer constructor's layerInit parameter, requests that the new WebGL rendering layer support anti-aliasing. If this property is missing or is false , anti-aliasing is not desired. | ||
5751 | XRWebGLLayerInit.depth | API, AR, Buffer, Compositing, Depth, Distance, Property, Reality, Reference, VR, Virtual, WebGL, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, rendering |
When using the XRWebGLLayer.XRWebGLLayer constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose depth property is false will request that the new layer be created without a depth buffer. | ||
5752 | XRWebGLLayerInit.framebufferScaleFactor | API, AR, Buffer, Factor, Frame buffer, Property, Reality, Reference, Scale, Scaling, VR, Virtual, WeXR API, WebXR, WebXR Device API, XR, XRWebGLLayerInit, augmented, framebuffer, framebufferScaleFactor, resolution, size |
The XRWebGLLayerInit dictionary's framebufferScaleFactor property, when specified upon instantiating a new XRWebGLLayer using its constructor, XRWebGLLayer.XRWebGLLayer , specifies the scaling factor to use when determining the size of the frame buffer to use when rendering the scene, relative to the default XR device display resolution. | ||
5753 | XRWebGLLayerInit.ignoreDepthValues | API, AR, Compositing, Depth, Distance, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, ignoreDepthValues |
The XRWebGLLayerInit dictionary's Boolean ignoreDepthValues property can be provided in the options passed into the XRWebGLLayer.XRWebGLLayer constructor to indicate that the depth buffer, if it exists, should be ignored while composing the scene. | ||
5754 | XRWebGLLayerInit.stencil | API, AR, Property, Reality, Reference, VR, Virtual, WebXR, WebXR API, WebXR Device API, XR, XRWebGLLayerInit, augmented, stencil |
When using the XRWebGLLayer.XRWebGLLayer constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose stencil property is false requests that the new layer be created without a stencil buffer. | ||
5755 | XSLTProcessor | API, DOM, DOM Reference, Reference, XSLT |
An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents. | ||
5756 | XSLT Basic Example | XSLT |
This first example demonstrates the basics of setting up an XSLT transformation in a browser. The example will take an XML document that contains information (title, list of authors and body text) about an article and present it in an human readable form. | ||
5757 | Browser Differences | |
Netscape 7.x (all platforms) and Internet Explorer 6 (Windows) support the W3C XSLT 1.0 standard (http://www.w3.org/TR/xslt). IE 5.0 and 5.5 (both Windows) supported only the working draft of XSLT, and thus are not compatible with XSLT 1.0 stylesheets. Netscape 6.x only partially supported XSLT 1.0. | ||
5758 | Generating HTML | |
One common application of XSLT in the browser is to transform XML into HTML on the client. The second example will transform the input document (example2.xml), which again contains information about an article, into an HTML document. | ||
5759 | Introduction | |
One noticeable trend in W3C standards has been the effort to separate content from style. This would allow the same style to be reused for multiple content, as well as simplify maintenance and allow a quick (only modify one file) way to change the look of content. | ||
5760 | Resources | |
No summary! | ||
5761 | XSL Transformations in Mozilla FAQ | Guide, XSLT |
Make sure the mime type for both source and stylesheet are set to an XML mimetype, namely text/xml or application/xml . The XSLT namespace is http://www.w3.org/1999/XSL/Transform . Use the <?xml-stylesheet ?> processing instruction instead of the non-standard xml:stylesheet. The most common cause is the MIME type handling. To find out which MIME type your server sends, look at Page Info, use extensions like LiveHTTPHeaders or a download manager like wget . Mozilla won't load XSLT stylesheets from a different domain for security reasons. | ||
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论