Found 3782 pages:
# | Page | Tags and summary |
---|---|---|
1 | Web APIs | API, DOM, JavaScript, Reference, Web |
When writing code for the Web with JavaScript, there are a great many APIs available. Below is a list of all the interfaces (that is, types of objects) that you may be able to use while developing your Web app or site. | ||
2 | ANGLE_instanced_arrays | API, Reference, WebGL, WebGL extension |
The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. |
||
3 | ANGLE_instanced_arrays.drawArraysInstancedANGLE() | ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension |
The ANGLE_instanced_arrays.drawArraysInstancedANGLE() method of the WebGL API renders primitives from array data like the gl.drawArrays() method. In addition, it can execute multiple instances of the range of elements. |
||
4 | ANGLE_instanced_arrays.drawElementsInstancedANGLE() | ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension |
The ANGLE_instanced_arrays.drawElementsInstancedANGLE() method of the WebGL API renders primitives from array data like the gl.drawElements() method. In addition, it can execute multiple instances of a set of elements. |
||
5 | ANGLE_instanced_arrays.vertexAttribDivisorANGLE() | ANGLE_instanced_arrays, API, Method, Reference, WebGL, WebGL extension |
The ANGLE_instanced_arrays.vertexAttribDivisorANGLE() method of the WebGL API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ext.drawArraysInstancedANGLE() and ext.drawElementsInstancedANGLE() . |
||
6 | AbstractWorker | API, AbstractWorker, Interface, Reference, Référence, Web Workers |
The AbstractWorker interface of the Web Workers API abstracts properties and methods common to all kind of workers, being Worker or SharedWorker . |
||
7 | AbstractWorker.onerror | API, AbstractWorker, EventHandler, Property, Reference, Référence, 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 . |
||
8 | 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. | ||
9 | Ambient Light Sensor API | API, Ambient Light Sensor API, AmbientLightSensor, Landing, Overview, Reference |
TBD | ||
10 | AmbientLightSensor | API, Ambient Light Sensor API, AmbientLightSensor, Interface, Reference |
The AmbientLightSensor interface of the the Ambient Light Sensor API returns an interface for accessing AmbientLightSensorReading . |
||
11 | AmbientLightSensor.AmbientLightSensor() | API, Ambient Light Sensor API, AmbientLightSensor, Constructor, Reference |
The AmbinentLightSensor() constructor creates a new AmbientLightSensor object. |
||
12 | reading | Ambient Light Sensor API, AmbientLightSensor, Property, Reference, reading |
The reading read-only property of the AmbientLightSensor interface returns an AmbientLightSensorReading interface, containing the current light level. |
||
13 | AmbientLightSensorReading | API, Ambient Light Sensor API, AmbientLightSensor, Interface, Reference |
The AmbientLightSensorReading interface of the the Ambient Light Sensor API returns an interface for reading the current light level. |
||
14 | AmbientLightSensorReading.AmbientLightSensorReading() | API, Ambient Light Sensor API, AmbientLightSensor, AmbientLightSensorReading, Constructor, Reference |
The AmbientLightSensorReading() constructor creates a new AmbientLightSensorReading object. |
||
15 | illuminance | API, Ambient Light Level API, AmbientLightSensorReading, Property, Reference, illuminance |
The illuminance property of the AmbientLightSensorReading interface returns a Number indicating the current light level. |
||
16 | 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. |
||
17 | AnalyserNode() | AnalyserNode, Audio, Constructor, Media, Web Audio API |
The AnalyserNode constructor creates a new AnalyserNode object. |
||
18 | AnalyserNode.fftSize | API, AnalyserNode, Property, Reference, Référence, Web Audio API, fftSize |
The fftSize property of the AnalyserNode interface is an unsigned long value representing the size of the FFT (Fast Fourier Transform) to be used to determine the frequency domain. |
||
19 | AnalyserNode.frequencyBinCount | API, AnalyserNode, Property, Reference, Référence, Web Audio API, frequencyBinCount |
The frequencyBinCount property of the AnalyserNode interface is an unsigned long value half that of the FFT size. This generally equates to the number of data values you will have to play with for the visualization. |
||
20 | AnalyserNode.getByteFrequencyData() | API, AnalyserNode, Method, Reference, Référence, Web Audio API |
A Uint8Array . |
||
21 | AnalyserNode.getByteTimeDomainData() | API, AnalyserNode, Method, Reference, Référence, Web Audio API |
A Uint8Array . |
||
22 | AnalyserNode.getFloatFrequencyData() | API, AnalyserNode, Method, Reference, Référence, Web Audio API |
undefined . |
||
23 | AnalyserNode.getFloatTimeDomainData() | API, AnalyserNode, Method, Reference, Référence, Web Audio API |
A Float32Array . |
||
24 | AnalyserNode.maxDecibels | API, AnalyserNode, Property, Reference, Référence, 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() . |
||
25 | AnalyserNode.minDecibels | API, AnalyserNode, Property, Reference, Référence, 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() . |
||
26 | AnalyserNode.smoothingTimeConstant | API, AnalyserNode, Property, Reference, Référence, 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 averagebetween the current buffer and the last buffer the AnalyserNode processed, and results in a much smoother set of value changes over time. |
||
27 | Animation | API, Animations, Experimental, Interface, Reference, Web Animations, waapi, web animation 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. |
||
28 | Animation() | API, Animation, Animations, Constructor, Experimental, Reference, animations, web animations api |
The Animation() constructor of the Web Animations API returns a new Animation object instance. |
||
29 | Animation.cancel() | API, Animation, Experimental, 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. |
||
30 | Animation.currentTime | API, Animation, Animations, Experimental, Property, Reference, Web Animations, 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. |
||
31 | 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 . |
||
32 | Animation.finish() | API, Animation, Experimental, 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. |
||
33 | 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. |
||
34 | Animation.id | API, Animation, Experimental, 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. |
||
35 | Animation.oncancel | API, Animation, Event Handler, Experimental, Property, Reference, Web Animations, events, oncancel, web animations api |
The oncancel property of the Web Animations API's Animation interface is the event handler for the cancel event. |
||
36 | Animation.onfinish | API, Animation, Event Handler, Events, Experimental, 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. |
||
37 | Animation.pause() | Animation, Experimental, 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. |
||
38 | Animation.play() | API, Animation, Experimental, 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. |
||
39 | Animation.playState | API, Animation, Experimental, 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. |
||
40 | Animation.playbackRate | API, Animation, Experimental, 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. |
||
41 | Animation.ready | API, Animation, Experimental, Property, Ready, Ready Promise, Reference, Web Animations, ready, 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. |
||
42 | Animation.reverse() | API, Animation, Experimental, 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. |
||
43 | Animation.startTime | API, Animation, Experimental, 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. |
||
44 | Animation.timeline | API, Animation, Experimental, Property, Reference, Web Animations, timeline, web animations api |
The Animation.timeline property of the Animation interface returns or sets the timeline associated with this animation. A timeline is a source of time values for synchronization purposes, and is an AnimationTimeline -based object. By default, the animation's timeline and the Document 's timeline are the same. |
||
45 | AnimationEffectReadOnly | API, Animation, AnimationEffectReadOnly, Experimental, Interface, Reference, web animations api |
The AnimationEffectReadOnly 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). |
||
46 | AnimationEffectReadOnly.getComputedTiming() | API, Animation, AnimationEffectReadOnly, Experimental, Method, Reference, getComputedTiming, waapi, web animations api |
The getComputedTiming() method of the AnimationEffectReadOnly interface returns the calculated timing properties for this animation effect. |
||
47 | AnimationEffectReadOnly.timing | API, Animation, AnimationEffectReadOnly, Attribute, Experimental, Property, Reference, Timing, waapi, web animations api |
The AnimationEffectReadOnly.timing read-only attribute of the AnimationEffectReadOnly interface returns an AnimationEffectTimingReadOnly object containing the timing properties for the Animation Effect. |
||
48 | AnimationEffectTiming | API, Animation, AnimationEffectTiming, AnimationEffectTimingReadOnly, Experimental, Interface, Reference, web animations api |
The AnimationEffectTiming interface of the Web Animations API is comprised of timing properties. It is returned by the timing attribute of a KeyframeEffect . |
||
49 | AnimationEffectTimingProperties | API, Animation, AnimationEffectTimingProperties, Dictionary, Experimental, Interface, KeyframeEffect, KeyframeEffectReadOnly, Reference, Web Animations, animate, web animations api |
The AnimationEffectTimingProperties dictionary, part of the Web Animations API, is used by Element.animate() , KeyframeEffectReadOnly() , and KeyframeEffect() to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play. |
||
50 | AnimationEffectTimingProperties.delay | API, Animation, AnimationEffectTimingProperties, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, delay, waapi, web animations api |
The AnimationEffectTimingProperties dictionary's delay property in the Web Animations API represents the number of milliseconds to delay the start of the animation. |
||
51 | AnimationEffectTimingProperties.direction | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, direction, waapi, web animations api |
The direction property of the Web Animations API dictionary AnimationEffectTimingProperties indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an interation |
||
52 | AnimationEffectTimingProperties.duration | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, duration, waapi, web animations api |
The duration property of the dictionary AnimationEffectTimingProperties in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete. |
||
53 | AnimationEffectTimingProperties.easing | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Timing Function, Web Animations, animate, easing, waapi, web animations api |
The {domxref("AnimationEffectTimingProperties")}} 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. |
||
54 | AnimationEffectTimingProperties.endDelay | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, endDelay, waapi, web animations api |
The endDelay property of the AnimationEffectTimingProperties dictionary (part of the Web Animations API) indicates the number of milliseconds to delay after the active period of an animation sequence. The animation's end time—the time at which an iteration is considered to have finished—is the time at which the animation finishes an iteration (its initial delay, AnimationEffectTimingReadOnly.delay , plus its duration,duration , plus its end delay. |
||
55 | AnimationEffectTimingProperties.fill | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, fill, web animations api |
The Web Animations API's AnimationEffectTimingProperties dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time. |
||
56 | AnimationEffectTimingProperties.iterationStart | API, Animate, Animation, Animation Timing Properties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, iterationStart, waapi, web animations api |
Web Animations API's AnimationEffectTimingProperties dictionary's iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it. |
||
57 | AnimationEffectTimingProperties.iterations | API, Animate, Animation, AnimationEffectTimingProperties, AnimationEffectTimingReadOnly, Experimental, KeyframeEffect, KeyframeEffectReadOnly, Property, Reference, Web Animations, animate, iterations, waapi, web animations api |
The Web Animations API dictionary AnimationEffectTimingProperties '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. |
||
58 | AnimationEffectTimingReadOnly | API, Animation, AnimationEffectTimingReadOnly, Experimental, Interface, Reference, waapi, web animations api |
The AnimationEffectTimingReadOnly interface of the Web Animations API is comprised of timing properties. |
||
59 | AnimationEffectTimingReadOnly.delay | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, delay, waapi, web animations api |
The delay property of the AnimationEffectTimingReadOnly object represents the number of milliseconds to delay the start of the animation. |
||
60 | AnimationEffectTimingReadOnly.direction | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, direction, waapi, web animations api |
The direction property of the AnimationEffectTimingReadOnly dictionary object represents the direction of the animation's playback along its timeline and its behavior after completing each iteration. |
||
61 | AnimationEffectTimingReadOnly.duration | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, duration, waapi, web animations api |
The duration property of AnimationEffectTimingReadOnly represents the duration in milliseconds to complete a single iteration of the animation. |
||
62 | AnimationEffectTimingReadOnly.easing | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, easing, web animations api |
The easing property of the AnimationEffectTimingReadOnly object represents the timing function used to scale the time to produce easing effects. Easing is the rate of the animation's change over time. |
||
63 | AnimationEffectTimingReadOnly.endDelay | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, endDelay, waapi, web animations api |
The endDelay property of AnimationEffectTimingReadOnly represents the number of milliseconds to delay after the end time of an animation. The end time of an animation effect is simply the sum of its delay , duration , and endDelay . |
||
64 | AnimationEffectTimingReadOnly.fill | API, Animation, AnimationTimingEffectReadOnly, Experimental, Property, Reference, fill, waapi, web animations api |
The fill property of AnimationEffectTimingReadOnly dictates how and when the animation's effects should be reflected by the element(s) visual state. |
||
65 | AnimationEffectTimingReadOnly.iterationStart | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, waapi, web animations api |
The iterationStart property of AnimationEffectTimingReadOnly represents which repetition the animation begins at and its progress through it. |
||
66 | AnimationEffectTimingReadOnly.iterations | API, Animation, AnimationEffectTimingReadOnly, Experimental, Property, Reference, iterations, waapi, web animations api |
The iterations property of AnimationEffectTimingReadOnly represents the number of times the animation should repeat. It defaults to 1 , and can also take a value of Infinity to make it loop infinitely. |
||
67 | AnimationEvent | API, Experimental, Interface, Reference, Web Animations |
The AnimationEvent interface represents events providing information related to animations. |
||
68 | AnimationEvent() | API, AnimationEvent, CSSOM, Constructor, Experimental, Expérimental, Reference, Référence, Web Animations |
The AnimationEvent() constructor returns a newly created AnimationEvent , representing an event in relation with an animation. |
||
69 | 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. |
||
70 | AnimationEvent.elapsedTime | API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations |
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay , in which case the event will be fired with elapsedTime containing (-1 * delay) . |
||
71 | AnimationEvent.initAnimationEvent() | API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations |
The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent("AnimationEvent") method. |
||
72 | 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: '' . |
||
73 | AnimationPlaybackEvent | API, Animation, AnimationPlaybackEvent, Events, Experimental, Interface, Reference, events, waapi, web animations api |
The AnimationPlaybackEvent interface of the Web Animations API represents animation events. | ||
74 | 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. |
||
75 | 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. |
||
76 | 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 timeline at the moment the event is queued. This will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive. |
||
77 | AnimationTimeline | API, Animation, AnimationTimeline, Experimental, Interface, Reference, Web Animations, waapi, web animations api |
The AnimationTimeline interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features (inherited by DocumentTimeline and future timeline types) and is not itself directly used by developers. Anywhere you see AnimationTimeline , you should use DocumentTimeline or any other timeline type instead. |
||
78 | AnimationTimeline.currentTime | API, Animation, AnimationTimeline, Experimental, Property, Read-only, Reference, Web Animations, currentTime, waapi, web animations api |
The currentTime read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive. |
||
79 | ArrayBufferView | API, Interface, JavaScript, Reference, Référence, Typed Arrays |
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types: |
||
80 | Attr | API, DOM, NeedsBrowserCompatibility |
This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute() , but certain functions (e.g., Element.getAttributeNode() ) or means of iterating give Attr types. |
||
81 | Attr.localName | API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference |
The Attr.localName read-only property returns the local part of the qualified name of an element. |
||
82 | Attr.namespaceURI | API, Api, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, 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. |
||
83 | Attr.prefix | API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference |
The Attr.prefix read-only property returns the namespace prefix of the specified attribute, or null if no prefix is specified. |
||
84 | AudioBuffer | API, AudioBuffer, Interface, Reference, Référence, Web Audio API |
Objects of these types are designed to hold small audio snippets, typically less than 45 s. For longer sounds, objects implementing the MediaElementAudioSourceNode are more suitable. The buffer contains data in the following format: non-interleaved IEEE754 32-bit linear PCM with a nominal range between -1 and +1 , that is, 32bits floating point buffer, with each samples between -1.0 and 1.0. If the AudioBuffer has multiple channels, they are stored in separate buffer. |
||
85 | AudioBuffer() | Audio, AudioBuffer, Constructor, Media, Web Audio API |
The AudioBuffer constructor creates a new AudioBuffer object. |
||
86 | AudioBuffer.copyFromChannel() | API, AudioBuffer, Method, Reference, Référence, Web Audio API, copyFromChannel |
The copyFromChannel() method of the AudioBuffer interface copies the samples from the specified channel of the AudioBuffer to the destination array. |
||
87 | 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. |
||
88 | AudioBuffer.duration | API, AudioBuffer, Property, Reference, Référence, Web Audio API, duration |
A double. | ||
89 | AudioBuffer.getChannelData() | API, AudioBuffer, Method, Reference, Référence, Web Audio API |
A Float32Array . |
||
90 | AudioBuffer.length | API, AudioBuffer, Property, Reference, Référence, Web Audio API, length |
A float. | ||
91 | AudioBuffer.numberOfChannels | API, AudioBuffer, Property, Reference, Référence, Web Audio API, numberOfChannels |
An integer. | ||
92 | AudioBuffer.sampleRate | API, AudioBuffer, Property, Reference, Référence, Web Audio API, sampleRate |
A float. | ||
93 | 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. |
||
94 | AudioBufferSourceNode() | Audio, AudioBufferSourceNode, Constructor, Media, Web Audio API |
The AudioBufferSourceNode() constructor creates a new AudioBufferSourceNode object. |
||
95 | 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. |
||
96 | AudioBufferSourceNode.detune | API, AudioBufferSourceNode, Property, Reference, Référence, Web Audio API, detune |
The detune property of the AudioBufferSourceNode interface is an k-rate AudioParam representing detuning of oscillation in cents. |
||
97 | AudioBufferSourceNode.loop | API, Audio, AudioBufferSourceNode, Loop, Media, Property, Reference, Web Audio API, sound |
The loop property's default value is false . |
||
98 | AudioBufferSourceNode.loopEnd | API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopEnd, sound |
A floating-point number indicating the offset, in seconds, into the audio buffer at which each loop will loop return to the beginning of the loop (that is, the current play time gets reset to AudioBufferSourceNode.loopStart ). This property is only used if the loop property is true . |
||
99 | AudioBufferSourceNode.loopStart | API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopStart, sound |
The loopStart property's default value is 0 . |
||
100 | AudioBufferSourceNode.playbackRate | API, AudioBufferSourceNode, Property, Reference, Référence, 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. |
||
101 | AudioBufferSourceNode.start() | API, Audio, AudioBufferSourceNode, Media, Method, Reference, Web Audio API, sound, start |
undefined . |
||
102 | AudioContext | API, Audio, AudioContext, Interface, Reference, Web Audio API, sound |
An AudioContext can be a target of events, therefore it implements the EventTarget interface. |
||
103 | AudioContext() | Audio, AudioContext, Constructor, Media, 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 . |
||
104 | 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. |
||
105 | AudioContext.createAnalyser() | API, AudioContext, Method, Reference, Référence, Web Audio API, createAnalyser |
An AnalyserNode . |
||
106 | AudioContext.createBiquadFilter() | API, AudioContext, Method, Reference, Référence, Web Audio API, createBiquadFilter |
A BiquadFilterNode . |
||
107 | AudioContext.createBuffer() | API, AudioContext, Method, Reference, Référence, Web Audio API, createBuffer |
An AudioBuffer . |
||
108 | AudioContext.createBufferSource() | API, AudioContext, Method, Reference, Référence, Web Audio API, createBufferSource |
An AudioBufferSourceNode . |
||
109 | AudioContext.createChannelMerger() | API, Audio, AudioContext, Method, Reference, Référence, Web Audio API, audio, createChannelMerger |
A ChannelMergerNode . |
||
110 | AudioContext.createChannelSplitter() | API, AudioContext, Method, Reference, Référence, Web Audio API, createChannelSplitter |
A ChannelSplitterNode . |
||
111 | AudioContext.createConstantSource() | API, Audio, AudioContext, Method, Reference, Web Audio API, audio |
The createConstantSource() method of the AudioContext Interface creates a new ConstantSourceNode , representing a monaural (1-channel) audio source which generates a constant series of samples whose values are all the same. |
||
112 | AudioContext.createConstantSource() | API, Audio, AudioContext, ConstantSourceNode, Media, Method, createConstantSource |
The createConstantSource() property of the AudioContext 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. |
||
113 | AudioContext.createConvolver() | API, AudioContext, Method, Reference, Référence, Web Audio API, createConvolver |
A ConvolverNode . |
||
114 | AudioContext.createDelay() | API, AudioContext, Method, Reference, Référence, Web Audio API, createDelay |
A DelayNode . The default DelayNode.delayTime if no parameter is passed to createDelay() is 0 seconds. |
||
115 | AudioContext.createDynamicsCompressor() | API, AudioContext, Method, Reference, Référence, Web Audio API, createDynamicsCompressor |
Compression lowers the volume of the loudest parts of the signal and raises the volume of the softest parts. Overall, a louder, richer, and fuller sound can be achieved. It is especially important in games and musical applications where large numbers of individual sounds are played simultaneously, where you want to control the overall signal level and help avoid clipping (distorting) of the audio output. | ||
116 | AudioContext.createGain() | API, Audio, AudioContext, Method, Reference, Volume Control, Web Audio API, createGain, sound |
A GainNode which takes as input one or more audio sources and outputs audio whose volume has been adjusted in gain (volume) to a level specified by the node's GainNode.gain a-rate parameter. |
||
117 | AudioContext.createIIRFilter() | API, Audio, AudioContext, CreateIIRFilter, Method, Reference, Web Audio API, audio, filter |
The createIIRFilter() method of the AudioContext interface creates an IIRFilterNode , which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter. |
||
118 | AudioContext.createJavaScriptNode() | API, Audio, Method, Obsolete, Reference, Référence, Web, createJavaScriptNode |
This method is obsolete, and has been renamed to AudioContext.createScriptProcessor. See also ScriptProcessorNode. | ||
119 | AudioContext.createMediaElementSource() | API, AudioContext, Method, Reference, Référence, Web Audio API, createMediaElementSource |
For more details about media element audio source nodes, check out the MediaElementAudioSourceNode reference page. |
||
120 | AudioContext.createMediaStreamDestination() | API, AudioContext, Method, Reference, Référence, Web Audio API, createMediaStreamDestination |
The MediaStream is created when the node is created and is accessible via the MediaStreamAudioDestinationNode 's stream attribute. This stream can be used in a similar way as a MediaStream obtained via navigator.getUserMedia — it can, for example, be sent to a remote peer using the RTCPeerConnection addStream() method. |
||
121 | AudioContext.createMediaStreamSource() | API, Audio, AudioContext, Method, Reference, Web Audio API, createMediastreamSource |
For more details about media stream audio source nodes, check out the MediaStreamAudioSourceNode reference page. |
||
122 | AudioContext.createOscillator() | API, AudioContext, Method, Reference, Référence, Web Audio API, createOscillator |
An OscillatorNode . |
||
123 | AudioContext.createPanner() | API, AudioContext, Method, Reference, Web Audio API, createPanner |
The panner node is spatialized in relation to the AudioContext's AudioListener (defined by the AudioContext.listener attribute), which represents the position and orientation of the person listening to the audio. |
||
124 | AudioContext.createPeriodicWave() | API, Audio, AudioContext, Media, Method, Reference, Web Audio API, createPeriodicWave |
A PeriodicWave . |
||
125 | AudioContext.createScriptProcessor() | API, AudioContext, Method, Reference, Référence, Web Audio API, createScriptProcessor |
A ScriptProcessorNode . |
||
126 | AudioContext.createStereoPanner() | API, AudioContext, Media, Method, Reference, Web Audio API, createStereoPanner |
A StereoPannerNode . |
||
127 | AudioContext.createWaveShaper() | API, AudioContext, Method, Reference, Référence, Web Audio API, createWaveShaper |
A WaveShaperNode . |
||
128 | AudioContext.createWaveTable() | API, Method, Obsolete, Reference, Référence, Web Audio API |
129 | AudioContext.currentTime | API, AudioContext, Property, Reference, Référence, Web Audio API, currentTime |
The currentTime read-only property of the AudioContext 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. |
||
130 | AudioContext.decodeAudioData() | API, Audio, AudioContext, Method, Reference, Web Audio API, decodeAudioData |
This is the preferred method of creating an audio source for Web Audio API from an audio track. | ||
131 | AudioContext.destination | API, AudioContext, Property, Reference, Référence, Web Audio API, destination |
An AudioDestinationNode . |
||
132 | AudioContext.getOutputTimestamp() | API, Audio, AudioContext, Method, Reference, Web Audio API, getOutputTimestamp, sound |
The getOutputTimestamp() property of the AudioContext interface returns a new AudioTimestamp containing two correlated context's audio stream position values: |
||
133 | AudioContext.listener | API, AudioContext, Property, Reference, Référence, Web Audio API, listener, spatialization |
An AudioListener object. |
||
134 | AudioContext.mozAudioChannelType | API, Audio, AudioChannels, AudioContext, NeedsExample, Property, Reference, Web Audio API, mozAudioChannelType |
The readonly mozAudioChannelType property of the AudioContext interface can be used to set the audio channel that the sound playing in an audio context element will play in, on a Firefox OS device. |
||
135 | AudioContext.onstatechange | API, AudioContext, Property, Reference, Référence, Web Audio API, onstatechange |
Technical review completed. Editorial review completed. | ||
136 | AudioContext.resume() | API, Audio, AudioContext, Method, Reference, Web Audio API, audio, resume |
The resume() method of the AudioContext Interface resumes the progression of time in an audio context that has previously been suspended. |
||
137 | AudioContext.sampleRate | API, AudioContext, Property, Reference, Référence, Web Audio API, sampleRate |
A floating point number. | ||
138 | AudioContext.state | API, Audio, AudioContext, Property, Reference, Référence, Web Audio API, state |
A DOMString . Possible values are: |
||
139 | AudioContext.suspend() | API, Audio, AudioContext, Method, Reference, Web Audio API, audio, 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 | AudioDestinationNode | API, AudioDestinationNode, Interface, Reference, Web Audio API |
AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. |
||
141 | AudioDestinationNode.maxChannelCount | API, AudioDestinationNode, Property, Reference, Référence, Web Audio API, maxChannelCount |
An unsigned long . |
||
142 | AudioListener | API, AudioListener, Interface, Reference, Référence, Web Audio API |
It is important to note that there is only one listener per context and that it isn't an AudioNode . |
||
143 | AudioListener.dopplerFactor | API, AudioListener, Deprecated, Property, Reference, Web Audio API, dopplerFactor |
A double. | ||
144 | AudioListener.forwardX | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, 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. |
||
145 | AudioListener.forwardY | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, 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. |
||
146 | AudioListener.forwardZ | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, 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. |
||
147 | AudioListener.positionX | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, positionX |
The positionX read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space. |
||
148 | AudioListener.positionY | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, positionY |
The positionY read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space. |
||
149 | AudioListener.positionZ | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, positionZ |
The positionZ read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space. |
||
150 | AudioListener.setOrientation() | API, AudioListener, Method, Reference, Référence, Web Audio API, setOrientation |
Void. | ||
151 | AudioListener.setPosition() | API, AudioListener, Deprecated, Method, Reference, Référence, Web Audio API, setPosition |
Void. | ||
152 | AudioListener.speedOfSound | API, AudioListener, Deprecated, Property, Reference, Référence, Web Audio API, speedOfSound |
The speedOfSound property of the AudioListener interface is a double value representing the speed of sound, in meters per second. |
||
153 | AudioListener.upX | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, 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. |
||
154 | 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. |
||
155 | AudioListener.upZ | API, Audio, AudioListener, Property, Reference, Web Audio API, audio, 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. |
||
156 | AudioNode | API, AudioNode, Interface, Reference, Référence, Web Audio API |
The AudioNode interface is a generic interface for representing an audio processing module like an audio source (e.g. an HTML <audio> or <video> element, an OscillatorNode , etc.), the audio destination, intermediate processing module (e.g. a filter like BiquadFilterNode or ConvolverNode ), or volume control (like GainNode ). |
||
157 | AudioNode.channelCount | API, AudioNode, Property, Reference, Référence, Web Audio API, channelCount |
channelCount 's usage and precise definition depend on the value of AudioNode.channelCountMode : |
||
158 | AudioNode.channelCountMode | API, AudioNode, Property, Reference, Web Audio API, channelCountMode |
The possible values of channelCountMode and their meanings are: |
||
159 | AudioNode.channelInterpretation | API, AudioNode, Property, Reference, Référence, Web Audio API, channelInterpretation |
When the amount of channels doesn't match between an input and an output, up- or down-mixing happens according the following rules. This can be somewhat controlled by setting the AudioNode.channelInterpretation property to speakers or discrete . |
||
160 | AudioNode.connect() | API, Audio, AudioNode, Media, Method, Reference, Web Audio API, connect |
If the destination is a node, connect() returns a reference to the destination AudioNode object. In some browsers, older implementations of this interface return undefined . |
||
161 | AudioNode.connect(AudioParam) | API, AudioNode, Method, Reference, Référence, Web Audio API, connect |
It is possible to connect an AudioNode output to more than one AudioParam , and more than one AudioNode output to a single AudioParam , with multiple calls to connect() . Fan-in and fan-out are therefore supported. |
||
162 | AudioNode.context | API, AudioNode, Context, Property, Reference, Référence, Web Audio API |
An AudioContext object. |
||
163 | AudioNode.disconnect() | API, Audio, AudioNode, Disconnect, Method, Reference, Web Audio API |
undefined |
||
164 | AudioNode.numberOfInputs | API, AudioNode, Property, Reference, Référence, Web Audio API, numberOfInputs |
An integer. | ||
165 | AudioNode.numberOfOutputs | API, AudioNode, Property, Reference, Référence, Web Audio API, numberOfOutputs |
An integer. | ||
166 | AudioParam | API, Audio, AudioParam, Interface, Reference, Web Audio API |
There are two kinds of AudioParam , a-rate and k-rate parameters: |
||
167 | AudioParam.cancelAndHoldAtTime() | API, Audio, AudioParam, 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. The new value is given in the value parameter. |
||
168 | AudioParam.cancelScheduledValues() | API, AudioParam, Method, Reference, Web Audio API, cancelScheduledValues |
A reference to this AudioParam object. In some older implementations this method returns void. |
||
169 | AudioParam.defaultValue | API, AudioParam, Property, Reference, Référence, Web Audio API, defaultValue |
A float. | ||
170 | AudioParam.exponentialRampToValueAtTime() | API, AudioParam, Method, Reference, Web Audio API, exponentialRampToValueAtTime |
A reference to this AudioParam object. In some browsers older implementations of this interface return void. |
||
171 | AudioParam.linearRampToValueAtTime() | API, Audio, AudioParam, Method, Reference, Web Audio API, audio, linearRampToValueAtTime |
NOTE: both the example and live example are incorrect, see https://github.com/WebAudio/web-audio-api/issues/34 | ||
172 | AudioParam.setTargetAtTime() | API, AudioParam, Method, Reference, Web Audio API, setTargetAtTime |
The change starts at the time specified in startTime and exponentially moves towards the value given by the target parameter. The exponential decay rate is defined by the timeConstant parameter. This is the time it takes a first-order linear continuous time-invariant system to reach the value 1 - 1/e (around 63.2%) given a step input response (transition from 0 to 1 value): basically, the larger it is, the slower the transition will be. This is useful for decay or release portions of envelopes. |
||
173 | AudioParam.setValueAtTime() | API, AudioParam, Method, Reference, Web Audio API, setValueAtTime |
A reference to this AudioParam object. In some browsers older implementations of this interface return void. |
||
174 | AudioParam.setValueCurveAtTime() | API, Audio, AudioParam, Method, Reference, Web, Web Audio, Web Audio API, setValueCurveAtTime |
A reference to this AudioParam object. In some browsers older implementations of this interface return void. |
||
175 | AudioParam.value | API, AudioParam, Property, Reference, Référence, Web Audio API, value |
Though value can be set, any modifications happening while there are automation events scheduled — that is, events scheduled using the methods of the AudioParam — are ignored, without raising any exception. |
||
176 | maxValue | API, Audio, AudioParam, Property, Reference, Web Audio API, audio, maxValue |
The maxValue property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range. |
||
177 | minValue | API, Audio, AudioParam, Property, Reference, Web Audio API, audio, minValue |
The minValue property of the AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range. |
||
178 | AudioProcessingEvent | API, Deprecated, Interface, Internationalization, Reference, Référence, Web Audio API |
The Web Audio API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed. |
||
179 | AudioScheduledSourceNode | API, Audio, AudioScheduledSourceNode, Interface, Media, Reference, Web Audio API, sound |
The AudioScheduledSourceNode interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times. Specifically, this interface defines the start() and stop() methods, as well as the onended event handler. |
||
180 | 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. |
||
181 | AudioScheduledSourceNode.start() | API, Audio, AudioScheduledSoundNOde, Media, Method, Node, Reference, Web Audio API, play, sound, start |
undefined |
||
182 | 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. |
||
183 | Battery Status API | API, Apps, Battery, Battery API, Battery Status API, Firefox OS, Guide, Mobile, Overview |
The Battery Status API, more often referred to as the Battery API, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level or charging status change. This can be used to adjust your app's resource usage to reduce battery drain when the battery is low, or to save changes before the battery runs out in order to prevent data loss. | ||
184 | BatteryManager | API, Battery API, Device API, Interface, Reference, Référence |
The BatteryManager interface provides ways to get information about the system's battery charge level. |
||
185 | BatteryManager.charging | API, Battery API, NeedsMarkupWork, Property, Reference, Référence |
A Boolean value indicating whether or not the device's battery is currently being charged. | ||
186 | BatteryManager.chargingTime | API, Battery API, NeedsMarkupWork, Property, Reference, Référence |
Indicates the amount of time, in seconds, that remain until the battery is fully charged. | ||
187 | BatteryManager.dischargingTime | API, Battery API, NeedsMarkupWork, Property, Reference, Référence |
Indicates the amount of time, in seconds, that remains until the battery is fully discharged. | ||
188 | BatteryManager.level | API, Battery API, NeedsMarkupWork, Property, Reference, Référence |
Indicates the current battery charge level as a value between 0.0 and 1.0 . |
||
189 | BatteryManager.onchargingchange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence |
Specifies an event listener to receive chargingchange events. These events occur when the battery charging state is updated. |
||
190 | BatteryManager.onchargingtimechange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence |
Specifies an event listener to receive chargingtimechange events. These events occur when the battery chargingTime is updated. |
||
191 | BatteryManager.ondischargingtimechange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence |
Specifies an event listener to receive dischargingtimechange events. These events occur when the battery dischargingTime is updated. |
||
192 | BatteryManager.onlevelchange | API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence |
Specifies an event listener to receive levelchange events. These events occur when the battery level is updated. |
||
193 | Beacon API | Guide, Overview, Web Performance |
The Beacon interface is used to schedule an asynchronous and non-blocking request to a web server. Beacon requests use the HTTP POST method and requests typically do not require a response. Requests are guaranteed to be initiated before a page is unloaded and they are run to completion without requiring a blocking request (for example XMLHttpRequest ). |
||
194 | Using the Beacon API | Guide, Web Performance |
The Beacon interface schedules an asynchronous and non-blocking request to a web server. Beacon requests use HTTP POST and requests 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 ). |
||
195 | BeforeInstallPrompt | API, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference |
The BeforeInstallPromptEvent is fired at the Window.onbeforeinstallprompt handler before a user is prompted to "install" a web site to a home screen on mobile. |
||
196 | 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. |
||
197 | BeforeUnloadEvent | API, NeedsCompatTable, NeedsMarkupWork, NeedsUpdate, Reference |
The beforeunload event is fired when the window, the document and its resources are about to be unloaded. |
||
198 | BiquadFilterNode | API, BiquadFilterNode, Interface, NeedsMobileBrowserCompatibility, 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. |
||
199 | BiquadFilterNode | Audio, BiquadFilterNode, Constructor, Media, Web Audio API |
The BiquadFilterNode() constructor creates a new BiquadFilterNode object, which represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. |
||
200 | BiquadFilterNode.Q | API, BiquadFilterNode, Property, Q, Reference, Référence, Web Audio API |
An AudioParam . |
||
201 | BiquadFilterNode.detune | API, BiquadFilterNode, Property, Reference, Référence, Web Audio API, detune |
An a-rate AudioParam . |
||
202 | BiquadFilterNode.frequency | API, BiquadFilterNode, Property, Reference, Référence, Web Audio API, frequency |
An AudioParam . |
||
203 | BiquadFilterNode.gain | API, BiquadFilterNode, Gain, Property, Reference, Référence, Web Audio API |
An AudioParam . |
||
204 | BiquadFilterNode.getFrequencyResponse() | API, Audio, BiquadFilterNode, Method, Reference, Web Audio API, audio, filter, getFrequencyResponse |
undefined |
||
205 | BiquadFilterNode.type | API, BiquadFilterNode, Property, Reference, Référence, Type, Web Audio API |
A string (enum) representing a BiquadFilterType. | ||
206 | Blob | API, Files, NeedsMobileBrowserCompatibility, Reference, WebAPI |
A Blob object represents a file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob , inheriting blob functionality and expanding it to support files on the user's system. |
||
207 | Blob() | API, Blob, Constructor, Experimental, Expérimental, File API, Reference, Référence |
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. |
||
208 | Blob.size | API, Files, Property, Reference, Référence, Web API |
The Blob.size property returns the size in bytes of the Blob or a File . |
||
209 | Blob.slice() | API, Files, Method, Reference |
The Blob.slice() method is used to create a new Blob object containing the data in the specified range of bytes of the source Blob . |
||
210 | Blob.type | API, DOM, File, Files, Property, Reference |
The type property of a Blob object provides the MIME type of the file. It returns an empty string if the type couldn't determined. |
||
211 | BlobBuilder | API, DOM, DOM Reference, File API, Obsolete, Reference, Référence |
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. |
||
212 | BlobEvent | API, Experimental, Media, Media Stream Recording, Reference |
The BlobEvent interface represents events associated with a Blob . These blobs are typically, but not necessarily, associated with media content. |
||
213 | 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 . |
||
214 | BlobEvent.data | API, BlobEvent, DOM, DOM Reference, Experimental, Expérimental, Media Stream Recording, Property, Reference, Référence |
The BlobEvent.data read-only property represents a Blob associated with the event. |
||
215 | 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. |
||
216 | Bluetooth | API, Bluetooth, Interface, Non-standard, Reference, Web Bluetooth API |
The Bluetooth interface of the Web Bluetooth API returns a Promise to a BluetoothDevice object with the specified options. |
||
217 | 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. |
||
218 | BluetoothAdvertisingData | API, Bluetooth, BluetoothAdvertisingData, Interface, Non-Standard, Non-standard, Reference, Web Bluetooth API |
The BluetoothDevice interface of the Web Bluetooth API provides advertising data about a particular Bluetooth device. | ||
219 | BluetoothAdvertisingData.appearance | API, Bluetooth, BluetoothAdvertisingData, Property, Reference, appearance |
Editorial review completed. | ||
220 | manufacturerData | API, Bluetooth, BluetoothAdvertisingData, Property, Reference, manufacturerData |
Editorial review completed. | ||
221 | rssi | API, Bluetooth, BluetoothAdvertisingData, Property, Reference, rssi |
Editorial review completed. | ||
222 | serviceData | API, Bluetooth, BluetoothAdvertisingData, Property, Reference, serviceData |
Editorial review completed. | ||
223 | txPower | API, Bluetooth, BluetoothAdvertisingData, Property, Reference, txPower |
Editorial review completed. | ||
224 | BluetoothCharacteristicProperties | API, Bluetooth, BluetoothCharacteristicProperties, BluetoothRemoveGATTCharacteristic, Interface, Non-standard, Reference, Web Bluetooth API |
The BluetoothCharacteristicProperties interface of the the Web Bluetooth API provides an object provides propertieds of a particular BluetoothRemoteGATTCharacteristic. |
||
225 | BluetoothRemoteGATTCharacteristic | API, Bluetooth, BluetoothGattCharacteristic, Interface, Non-standard, 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. |
||
226 | BluetoothRemoteGATTCharacteristic.getDescriptor() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, Property, Reference, Web Bluetooth API, getDescriptor() |
The BluetoothRemoteGATTCharacteristic.getDescriptor() method returns a Promise that resolves to the first BluetoothGATTDescriptor for a given descriptor UUID. |
||
227 | BluetoothRemoteGATTCharacteristic.getDescriptors() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, 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. |
||
228 | BluetoothRemoteGATTCharacteristic.properties | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-Standard, Non-standard, Property, Reference, Web Bluetooth API, properties |
The BluetoothRemoteGATTCharacteristic.properties read-only property returns a BluetoothCharacteristicProperties instance containing the properties of this characteristic. |
||
229 | BluetoothRemoteGATTCharacteristic.readValue() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-Standard, Non-standard, 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. |
||
230 | BluetoothRemoteGATTCharacteristic.service | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, Property, Reference, Service, Web Bluetooth API |
Editorial review completed. | ||
231 | BluetoothRemoteGATTCharacteristic.startNotifications() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-Standard, Non-standard, 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. |
||
232 | BluetoothRemoteGATTCharacteristic.stopNotifications() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-Standard, Non-standard, 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. |
||
233 | BluetoothRemoteGATTCharacteristic.uuid | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, 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. |
||
234 | BluetoothRemoteGATTCharacteristic.value | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, Property, Reference, Web Bluetooth API, value |
Editorial review completed. | ||
235 | BluetoothRemoteGATTCharacteristic.writeValue() | API, Bluetooth, BluetoothRemoteGATTCharacteristic, Non-standard, Property, Reference, Web Bluetooth API, writeValue |
Editorial review completed. | ||
236 | BluetoothRemoteGATTDescriptor | API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Interface, Non-standard, 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. |
||
237 | characteristic | API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Interface, Non-standard, Reference, Web Bluetooth API, characteristic |
The BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to. |
||
238 | readValue() | API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Interface, Non-standard, 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. |
||
239 | uuid | API, Bluetooth, BluetoothRemoteGATTDescriptor, Interface, Non-standard, 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. |
||
240 | value | API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Interface, Non-standard, 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. |
||
241 | writeValue() | API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Interface, Non-standard, Reference, Web Bluetooth API, writeValue() |
The BluetoothRemoteGATTDescriptor .writeValue() method sets the value property to the bytes contained in an ArrayBuffer and returns a Promise . |
||
242 | BluetoothRemoteGATTServer | API, Bluetooth, BluetoothGATTRemoteServer, Interface, Non-standard, Reference, Web Bluetooth API |
The BluetoothRemoteGATTServer interface of the Web Bluetooth API represents a GATT Server on a remote device. |
||
243 | BluetoothRemoteGATTServer.connect() | API, Bluetooth, BluetoothRemoteGATTServer, Method, Non-standard, Reference, Web Bluetooth API, connect() |
The BluetoothRemoteGATTServer.connect() method causes the script execution environment to connect to this.device . |
||
244 | BluetoothRemoteGATTServer.connected | API, Bluetooth, BluetoothRemoteGATTServer, Non-standard, 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. |
||
245 | BluetoothRemoteGATTServer.device | |
Editorial review completed. | ||
246 | BluetoothRemoteGATTServer.disconnect() | API, Bluetooth, BluetoothRemoteGATTServer, Method, Non-Standard, Non-standard, Reference, Web Bluetooth API, disconnect() |
The BluetoothRemoteGATTServer.disconnect() method causes the script execution environment to disconnect from this.device . |
||
247 | BluetoothRemoteGATTServer.getPrimaryService() | API, Bluetooth, BluetoothRemoteGATTServer, Method, Non-standard, Reference, Web Bluetooth API, getPrimaryService() |
Editorial review completed. | ||
248 | BluetoothRemoteGATTServer.getPrimaryServices() | API, Bluetooth, BluetoothRemoteGATTServer, Method, Non-standard, Reference, Web Bluetooth API, getPrimaryServices() |
Editorial review completed. | ||
249 | BluetoothStatusChangedEvent | API, Firefox OS, Reference, Référence, Web Bluetooth |
The BluetoothStatusChangedEvent API provides access to information regarding any change to the status of a Bluetooth device. |
||
250 | BluetoothStatusChangedEvent.address | API, Firefox OS, Non Standard, Property, Reference, Référence, Web Bluetooth |
The address property represents the address of the device for which the status has changed in the Bluetooth micro-network. |
||
251 | BluetoothStatusChangedEvent.status | API, Firefox OS, Non Standard, Property, Reference, Référence, Web Bluetooth |
The status property indicates if the connection is active (true ) or not (false ). |
||
252 | Body | API, BODY, Experimental, Fetch, 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. |
||
253 | Body.arrayBuffer() | API, ArrayBuffer, BODY, Experimental, Expérimental, Fetch, Method, Reference, Référence |
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 . |
||
254 | 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 . |
||
255 | 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. |
||
256 | Body.formData() | API, BODY, Experimental, Fetch, 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. |
||
257 | 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 . |
||
258 | 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). |
||
259 | Broadcast Channel API | API, Broadcast Channel API, HTML API, Overview, Reference, Référence |
The Broadcast Channel API allows simple communication between browsing contexts (that is windows, tabs, frames, or iframes) with the same origin (usually pages from the same site). | ||
260 | 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. |
||
261 | 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. |
||
262 | 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. |
||
263 | BroadcastChannel.name | Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Property, Read-only, Reference |
The read-only BroadcastChannel.name property returns a DOMString , which uniquely identifies the given channel with its name. This name is passed to the BroadcastChannel() constructor at creation time and is therefore read-only. |
||
264 | 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. |
||
265 | BroadcastChannel.postMessage() | API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference |
The BroadcastChannel.postMessage() sends a message, which can be of any kind of Object , to each listener in any browser context with the same origin. The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel. |
||
266 | BudgetService | API, BudgetService, Interface, Reference, Web Budget API |
Editorial review completed. | ||
267 | BudgetService.getBudget() | API, BudgetService, Method, Reference, Web Budget API, getBudget |
The getBudget() property of the BudgetService interface returns a Promise that resolves to an array of BudgetState objects indicating the expected state of the budget at times in the future. |
||
268 | BudgetService.getCost() | API, BudgetService, Method, Reference, Web Budget API, getCost |
The getCost() property of the BudgetService interface returns a Promise that resolves to a double indicating the worst-case background operation cost of the provided background operation. |
||
269 | 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. |
||
270 | BudgetState | API, BudgetState, Interface, Reference, Web Budget API |
The BudgetState interface of the the Web Budget API provides the amount of the user agent's processing budget at a specific point in time. |
||
271 | budgetAt | API, BudtetState, Property, Reference, Web Budget API, budgetAt |
The budgetAt readonly property of the BudgetState interface returns the anticipated processing budget at the specified time. |
||
272 | time | API, BudgetState, Property, Reference, Time, Web Budget API |
The time readonly property of the BudgetState interface returns a timestamp at which the budgetAt value is valid. |
||
273 | BufferSource | API, Interface, JavaScript, Reference, Référence, Typed Arrays |
BufferSource is a typedef used to represent objects that are either themselves an ArrayBuffer , or which are a TypedArray providing an ArrayBufferView . |
||
274 | ByteString | API, DOM, DOM Reference, Reference, Référence, 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. |
||
275 | CDATASection | API, DOM, Deprecated, Reference |
The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text. |
||
276 | CSS | API, CSSOM, Interface, Reference, Référence |
The CSS interface holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. |
||
277 | CSS.escape() | API, CSS, CSSOM, Method, Reference, Static, escape() |
The CSS.escape() static method returns a DOMString containing the escaped string passed as parameter, mostly for use as part of a CSS selector. |
||
278 | CSS.supports() | API, CSSOM, Method, Reference |
The CSS.supports() static methods returns a Boolean value indicating if the browser supports a given CSS feature, or not. |
||
279 | 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. | ||
280 | CSS Font Loading API | API, CSSFontLoading, Experimental, Fonts, NeedsContent, Reference |
The CSS Font Loading API provides events and interfaces for dynamically loading font resources. | ||
281 | CSS Object Model | API, CSSOM, Reference |
The CSS Object Model is a set of APIs allowing to manipulate CSS from JavaScript. It is the pendant of DOM and HTML APIs, but for CSS. It allows to read and modify CSS style dynamically. | ||
282 | Determining the dimensions of elements | CSSOM View, Client width, Guide, Intermediate, NeedsCompatTable, NeedsSpecTable, 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. |
||
283 | Managing screen orientation | Advanced, CSSOM View, Guide, Screen Orientation |
Screen orientation is something slightly different than device orientation. Even if a device doesn't have the capacity to detect its own orientation, a screen always has one. And if a device is able to know its orientation, it's good to have the ability to control the screen orientation in order to preserve or adapt the interface of a web application. | ||
284 | Using dynamic styling information | Beginner, CSSOM, 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. | ||
285 | CSSConditionRule | API, CSSOM, Interface, Reference, Référence |
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 . |
||
286 | CSSCounterStyleRule | API, CSS Counter Styles, Interface, Reference |
The CSSCounterStyleRule interface represents an @counter-style at-rule. |
||
287 | CSSGroupingRule | API, CSSOM, Interface, Reference, Référence |
An object implementing the CSSGroupingRule interface represents any CSS at-rule that contains other rules nested within it. |
||
288 | 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 ). |
||
289 | CSSKeyframesRule | API, CSS Animations, CSSOM, Experimental, Interface, Reference |
The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE ). |
||
290 | CSSMatrix | API, NeedsBrowserCompatibility, Reference, Référence |
A CSSMatrix represents a homogeneous 4x4 matrix to which 2D or 3D transforms can be applied. This class was allegedly part of CSS Transitions Module Level 3 at some point, but is not present in the current Working Draft. Use DOMMatrix instead. |
||
291 | CSSMediaRule | API, CSSOM, Interface, Reference |
The CSSMediaRule is an interface representing a single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE ). |
||
292 | CSSNamespaceRule | API, CSSOM, Experimental, Expérimental, 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 ). |
||
293 | 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. |
||
294 | 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 . |
||
295 | 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 ). |
||
296 | CSSPrimitiveValue | API, CSSPrimitiveValue, Interface, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference |
The CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property. |
||
297 | CSSPrimitiveValue.getCounterValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, 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. |
||
298 | CSSPrimitiveValue.getFloatValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, 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. |
||
299 | CSSPrimitiveValue.getRGBColorValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, 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. |
||
300 | CSSPrimitiveValue.getRectValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, 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. |
||
301 | CSSPrimitiveValue.getStringValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, 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. |
||
302 | CSSPrimitiveValue.primitiveType | API, Api, CSSPrimitiveValue, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Read-only, Reference, primitiveValue |
The primitiveType read-only property of the CSSPrimitiveValue interface represents the type of a CSS value. |
||
303 | CSSPrimitiveValue.setFloatValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, 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. |
||
304 | CSSPrimitiveValue.setStringValue() | API, Api, CSSPrimitiveValue, Method, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, 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. |
||
305 | 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. |
||
306 | CSSRule.cssText | API, CSSOM, NeedsCompatTable, NeedsSpecTable, NeedsWarkupWork, Property, Reference, Référence |
cssText returns the actual text of a CSSStyleSheet style-rule. |
||
307 | CSSRule.parentStyleSheet | API, CSSOM, NeedsCompatTable, NeedsMarkupWork, NeedsSpecTable, Property, Reference |
parentStyleSheet returns the stylesheet object in which the current rule is defined. | ||
308 | CSSRuleList | API, CSSOM, Interface, NeedsBrowserCompatibility, NeedsCompatTable, Reference, Référence |
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. |
||
309 | CSSStyleDeclaration | API, CSSOM, Interface, NeedsCompatTable, NeedsMarkupWork, Reference |
CSSStyleDeclaration represents a collection of CSS property-value pairs. It is used in a few APIs: |
||
310 | CSSStyleDeclaration.cssText | |
cssText returns or sets the text of the element's inline style declaration only. To be able to set a stylesheet rule dynamically, see Using dynamic styling information. | ||
311 | CSSStyleDeclaration.getPropertyCSSValue() | API, CSSOM, Method, Obsolete, Reference |
The CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property. |
||
312 | CSSStyleDeclaration.getPropertyPriority() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property. |
||
313 | CSSStyleDeclaration.getPropertyValue() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property. |
||
314 | CSSStyleDeclaration.item() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index |
||
315 | 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. | ||
316 | CSSStyleDeclaration.parentRule | API, CSSOM, Property, Reference |
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block |
||
317 | CSSStyleDeclaration.removeProperty() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object. |
||
318 | CSSStyleDeclaration.setProperty() | API, CSSOM, Method, Reference |
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object. |
||
319 | CSSStyleRule | API, CSSOM, Interface, NeedsCompatData, Reference |
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE ). |
||
320 | CSSStyleRule.selectorText | API, CSSOM, CSSStyleRule, NeedsCompatTable, NeedsMarkupWork, NeedsSpecTable, Reference, Référence |
The CSSRule.selectorText property gets the textual representation of the selector for the rule set. This is implemented in a readonly manner; to set stylesheet rules dynamically, see Using dynamic styling information. |
||
321 | CSSStyleRule.style | API, CSSOM, NeedsCompatTable, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Référence |
The CSSRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSRule . |
||
322 | CSSStyleSheet | API, CSSOM, Reference |
The CSSStyleSheet interface represents a single CSS style sheet. It inherits properties and methods from its parent, StyleSheet . |
||
323 | CSSStyleSheet.deleteRule() | API, CSSOM, CSSStyleSheet, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference |
The CSSStyleSheet.deleteRule() method removes a style rule from the current style sheet object. |
||
324 | CSSStyleSheet.insertRule() | API, CSSOM, CSSStyleSheet, Method, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Reference |
CSSStyleSheet.insertRule() method inserts a new CSS rule into the current style sheet, with some restrictions. | ||
325 | CSSSupportsRule | API, CSSOM, Interface, Reference, Référence |
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 ). |
||
326 | CSSValue | API, CSSValue, DOM, Interface, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Reference |
The CSSValue interface represents the current computed value of a CSS property. |
||
327 | CSSValue.cssText | API, Api, CSSValue, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference, cssText |
The cssText property of the CSSValue interface represents the current computed CSS property value. |
||
328 | CSSValue.cssValueType | API, Api, CSSValue, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Read-only, Reference, cssValueType |
The cssValueType read-only property of the CSSValue interface represents the type of the current computed CSS property value. |
||
329 | CSSValueList | API, CSSValueList, DOM, Interface, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference |
The CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values. |
||
330 | CSSValueList.item() | API, Api, CSSValueList, Method, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Reference, item |
The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index. |
||
331 | CSSValueList.length | API, Api, CSSValueList, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, 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. |
||
332 | Cache | API, Cache, Draft, Experimental, Interface, Offline, Reference, Service Workers, Storage |
The Cache interface provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. |
||
333 | Cache.add() | API, Cache, Experimental, Expérimental, Method, Reference, Référence, Service Workers, ServiceWorker |
The add() method of the Cache interface takes a URL, retrieves it and adds the resulting response object to the given cache. The add() method is functionally equivalent to the following: |
||
334 | Cache.addAll() | API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, 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. |
||
335 | 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 returns false . |
||
336 | 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. |
||
337 | Cache.match() | API, Cache, Experimental, Method, Reference, Service Workers, 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 . |
||
338 | Cache.matchAll() | API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, matchAll |
The matchAll() method of the Cache interface returns a Promise that resolves to an array of all matching requests in the Cache object. |
||
339 | Cache.put() | API, Cache, Experimental, Expérimental, Method, NeedsExample, Reference, Référence, Service Workers, ServiceWorker, put |
The put() method of the Cache interface allows key/value pairs to be added to the current Cache object. |
||
340 | CacheStorage | API, CacheStorage, Experimental, Expérimental, Interface, Reference, Référence, Service Workers, ServiceWorker |
The CacheStorage interface represents the storage for Cache objects. It provides a master directory of all the named caches that a ServiceWorker , other type of worker or window scope can access (you don't have to use it with service workers, even though that is the spec that defines it) and maintains a mapping of string names to corresponding Cache objects. |
||
341 | CacheStorage.delete() | API, CacheStorage, Experimental, Expérimental, Method, Reference, Référence, Service Workers, ServiceWorker, delete |
The delete () method of the CacheStorage interface finds the Cache object matching the cacheName , and if found, deletes the Cache object and returns a Promise that resolves to true . If no Cache object is found, it returns false . |
||
342 | CacheStorage.has() | API, CacheStorage, Experimental, Expérimental, Method, Reference, Référence, 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 . |
||
343 | CacheStorage.keys() | API, CacheStorage, Experimental, Expérimental, Method, Reference, Référence, Service Workers, 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. |
||
344 | CacheStorage.match() | API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, match |
The match() method of the CacheStorage interface checks if a given Request is a key in any of the Cache objects that the CacheStorage object tracks and returns a Promise that resolves to the matching Response . |
||
345 | CacheStorage.open() | API, CacheStorage, Experimental, Expérimental, Method, Reference, Référence, Service Workers, ServiceWorker, open |
The open() method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the cacheName . |
||
346 | Canvas API | API, Canvas, Overview, Reference |
Added in HTML5, the HTML <canvas> element can be used to draw graphics via scripting in JavaScript. For example, it can be used to draw graphs, make photo compositions, create animations, or even do real-time video processing or rendering. |
||
347 | A basic ray-caster | Advanced, Canvas, Example, Graphics, HTML, Web |