Found 5328 pages:

# Page 标签和摘要
1 Web API API, DOM, Landing, Reference, Web
当为 Web 编写代码时,有大量可用 Web API。以下是当开发 Web APP 或站点时可能用到的所有 API 和接口 (对象类型) 的列表。
2 ANGLE_instanced_arrays API, Reference, WebGL, WebGL extension
ANGLE_instanced_arrays 扩展属于 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
ANGLE_instanced_arrays.drawArraysInstancedANGLE() 方法在 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
ANGLE_instanced_arrays.drawElementsInstancedANGLE() 方法在 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
ANGLE_instanced_arrays.vertexAttribDivisorANGLE() 方法在 WebGL API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ext.drawArraysInstancedANGLE() and ext.drawElementsInstancedANGLE() .
6 AbortController API, AbortController, Experimental, Interface, Reference
AbortController interface represents a controller object that allows you to abort one or more DOM requests as and when desired.
7 AbortController.AbortController() API, AbortController, Constructor, Experimental, Fetch, Reference
AbortController() 构造函数创建新 AbortController 对象实例。
8 AbortController.abort() API, AbortController, Experimental, Fetch, Method, Reference, abort()
abort() 方法在 AbortController interface aborts a DOM request (e.g. a Fetch request) before it has completed. This is able to abort fetch requests , consumption of any response Body , and streams.
9 AbortController.signal API, AbortController, Experimental, Fetch, Property, Reference, signal
signal 只读特性在 AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort a DOM request as desired.
10 AbortSignal API, AbortSignal, DOM, Experimental, Interface, Reference
AbortSignal interface represents a signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController 对象。
11 AbortSignal.aborted API, AbortSignal, Experimental, Property, Reference, aborted
aborted 只读特性返回 布尔 that indicates whether the DOM request(s) the signal is communicating with is/are aborted ( true ) 或不 ( false ).
12 AbortSignal.onabort API, AbortSignal, Event Handler, Experimental, Fetch, Property, Reference, onabort
onabort 只读特性在 FetchSignal interface is an event handler Invoked when an abort event fires, i.e. when the fetch request(s) the signal is communicating with is/are aborted.
13 AbortSignal: abort event abort, events
abort event of the 抓取 API is fired when a fetch request is aborted, i.e. using AbortController.abort() .
14 AbsoluteOrientationSensor API, AbsoluteOrientationSensor, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors
AbsoluteOrientationSensor 接口在 Sensor APIs describes the device's physical orientation in relation to the Earth's reference coordinate system.
15 AbsoluteOrientationSensor API, AbsoluteOrientationSensor, Constructor, Generic Sensor API, Orientation Sensor API, Reference, Sensor, Sensor APIs, Sensors
AbsoluteOrientationSensor 构造函数创建新 AbsoluteOrientationSensor object which describes the device's physical orientation in relation to the Earth's reference coordinate system.
16 AbstractRange API, Abstract, Abstract Interface, AbstractRange, DOM, DOM API, Interface, Range, Reference
AbstractRange abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.
17 AbstractRange.collapsed API, AbstractRange, DOM, DOM API, Empty, Property, Range, Reference, collapsed
collapsed 只读特性在 AbstractRange interface returns true if the range's start position and end position are the same.
18 AbstractRange.endContainer API, AbstractRange, DOM, DOM API, End, Node, Position, Property, Range, Read-only, Reference, container, endContainer
endContainer 特性为 AbstractRange interface returns the 节点 in which the end of the range is located.
19 AbstractRange.endOffset API, AbstractRange, DOM, DOM API, End, Property, Range, Read-only, Reference, endOffset, offset
endOffset 特性为 AbstractRange interface returns the offset into the end node of the range's end position.
20 AbstractRange.startContainer API, AbstractRange, DOM, DOM API, Property, Range, Read-only, Reference, start, startContainer
只读 startContainer 特性为 AbstractRange interface returns the start 节点 for the range.
21 AbstractRange.startOffset API, AbstractRange, DOM, DOM API, Property, Range, Read-only, Reference, offset, startOffset
只读 startOffset 特性为 AbstractRange interface returns the offset into the start node of the range's start position.
22 AbstractWorker API, Abstract, AbstractWorker, Interface, Reference, SharedWorker, Web Workers, Web Workers API, Worker
AbstractWorker 接口在 Web 工作者 API is an abstract interface that defines properties and methods that are common to all types of worker, including not only the basic Worker , but also ServiceWorker and SharedWorker .
23 AbstractWorker.onerror API, AbstractWorker, EventHandler, Property, Reference, Web Workers, Workers, onerror
AbstractWorker .onerror 特性为 AbstractWorker interface represents an EventHandler , that is a function to be called when the error event occurs and bubbles through the Worker .
24 Accelerometer API, Accelerometer, Accelerometer API, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
Accelerometer 接口在 Sensor APIs provides on each reading the acceleration applied to the device along all three axes.
25 Accelerometer.Accelerometer() API, Accelerometer, Accelerometer API, Constructor, Generic Sensor API, Reference, Sensor, Sensor APIs, Sensors
Accelerometer 构造函数创建新 Accelerometer object which returns the acceleration of the device along all three axes at the time it is read.
26 Accelerometer.x API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, x
x 只读特性在 Accelerometer interface returns a double precision integer containing the acceleration of the device along the its x axis.
27 Accelerometer.y API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, y
y 只读特性在 Accelerometer interface returns a double precision integer containing the acceleration of the device along the its y axis.
28 Accelerometer.z API, Accelerometer, Accelerometer API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, z
z 只读特性在 Accelerometer interface returns a double precision integer containing the acceleration of the device along the its z axis.
29 AddressErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress
AddressErrors 字典用于 支付请求 API to to report validation errors in a physical address (typically a billing address or a shipping address).
30 AddressErrors.addressLine API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, addressLine, payment
An object based on AddressErrors includes an addressLine property when validation of the address finds one or more errors in the array of strings in the address's addressLine . The returned string explains the error and should offer suggestions for how to correct it.
31 AddressErrors.city API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, city, payment
An object based on AddressErrors includes a city property when validation of the address fails for the value given for the address's city property. The returned string explains the error and should offer suggestions for how to correct it.
32 AddressErrors.country API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, country, payment
An object based on AddressErrors includes a country property if during validation of the address the specified value of country was determined to be invalid. The value is a string describing the error and should offer suggestions for how to correct it.
33 AddressErrors.dependentLocality API, AddressErrors, Error, Locality, Payment Request, Payment Request API, Property, Read-only, Reference, dependentLocality, payment
An object based on AddressErrors includes a dependentLocality property when the address's dependentLocality property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
34 AddressErrors.languageCode API, Address, AddressErrors, Deprecated, Language, LanguageCode, Locale, Payment Request, Payment Request API, Property, Reference, payment
An object based on AddressErrors includes a languageCode property when the address's languageCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
35 AddressErrors.organization API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, organization, payment
An object based on AddressErrors includes an organization property when the address's organization property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
36 AddressErrors.phone API, Address, AddressErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Read-only, Reference, Telephone Number, Téléphone, Validation, payment
An object based on AddressErrors includes a phone property when the address's phone property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
37 AddressErrors.postalCode API, Address, AddressErrors, Payment Request, Payment Request API, Post Code, Postal Code, Property, Read-only, Reference, Validation, ZIP, ZIP Code, payment, postalCode
An object based on AddressErrors includes a postalCode property when the address's postalCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
38 AddressErrors.recipient API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, name, payment
An object based on AddressErrors includes a recipient property when the address's recipient property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
39 AddressErrors.region API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, region
An object based on AddressErrors includes a region property when the address's region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
40 AddressErrors.regionCode API, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, paymentAddress, region, regionCode
An object based on AddressErrors includes a regionCode property when the address's regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
41 AddressErrors.sortingCode API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment, sortingCode
An object based on AddressErrors includes a sortingCode property when the address's sortingCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it.
42 AesCbcParams API, AesCbcParams, Dictionary, Reference, Web Crypto API
AesCbcParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt() , SubtleCrypto.decrypt() , SubtleCrypto.wrapKey() ,或 SubtleCrypto.unwrapKey() , when using the AES-CBC 算法。
43 AesCtrParams API, AesCtrParams, Dictionary, Reference, Web Crypto API
AesCtrParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt() , SubtleCrypto.decrypt() , SubtleCrypto.wrapKey() ,或 SubtleCrypto.unwrapKey() , when using the AES-CTR 算法。
44 AesGcmParams API, AesGcmParams, Dictionary, Reference, Web Crypto API
AesGcmParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt() , SubtleCrypto.decrypt() , SubtleCrypto.wrapKey() ,或 SubtleCrypto.unwrapKey() , when using the AES-GCM 算法。
45 AesKeyGenParams API, AesKeyGenParams, Dictionary, Reference, Web Crypto API
See the examples for SubtleCrypto.generateKey() .
46 环境光事件 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.
47 Ambient Light Sensor API API, Ambient Light Sensor API, AmbientLightSensor, Junk, Landing, Overview, Reference
No summary!
48 AmbientLightSensor API, Ambient Light Sensor API, AmbientLightSensor, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
AmbientLightSensor 接口的 Sensor APIs returns the current light level or illuminance of the ambient light around the hosting device.
49 AmbientLightSensor.AmbientLightSensor() API, Ambient Light Sensor API, AmbientLightSensor, Constructor, Reference
AmbinentLightSensor() 构造函数创建新 AmbientLightSensor object, which returns the current light level or illuminance of the ambient light around the hosting device.
50 AmbientLightSensor.illuminance API, Ambient Light Level API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, illuminance
illuminance 特性为 AmbientLightSensor interface returns the current light level in lux of the ambient light level around the hosting device.
51 AnalyserNode API, AnalyserNode, Interface, Reference, Web Audio API
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.
52 AnalyserNode.AnalyserNode() API, AnalyserNode, Audio, Constructor, Media, Reference, Web Audio API
AnalyserNode constructor of the Web 音频 API creates a new AnalyserNode 对象实例。
53 AnalyserNode.fftSize API, AnalyserNode, Property, Reference, Web Audio API, fftSize
fftSize 特性为 AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.
54 AnalyserNode.frequencyBinCount API, AnalyserNode, Property, Reference, Web Audio API, frequencyBinCount
frequencyBinCount 只读特性在 AnalyserNode interface is an unsigned integer half that of the AnalyserNode.fftSize . This generally equates to the number of data values you will have to play with for the visualization.
55 AnalyserNode.getByteFrequencyData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
getByteFrequencyData() 方法在 AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it.
56 AnalyserNode.getByteTimeDomainData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
getByteTimeDomainData() 方法在 AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it.
57 AnalyserNode.getFloatFrequencyData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
getFloatFrequencyData() 方法在 AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it.
58 AnalyserNode.getFloatTimeDomainData() API, AnalyserNode, Method, Reference, Référence(2), Web Audio API
getFloatTimeDomainData() 方法在 AnalyserNode Interface copies the current waveform, or time-domain, data into a Float32Array array passed into it.
59 AnalyserNode.maxDecibels API, AnalyserNode, Property, Reference, Web Audio API, maxDecibels
maxDecibels 特性为 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() .
60 AnalyserNode.minDecibels API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, minDecibels
minDecibels 特性为 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() .
61 AnalyserNode.smoothingTimeConstant API, AnalyserNode, Property, Reference, Référence(2), Web Audio API, smoothingTimeConstant
smoothingTimeConstant 特性为 AnalyserNode interface is a double value representing the averaging constant with the last analysis frame. It's basically an average between the current buffer and the last buffer the AnalyserNode processed, and results in a much smoother set of value changes over time.
62 Animation API, Animations, Experimental, Interface, Reference, Web Animations, waapi, web animations api
动画 接口在 Web 动画 API represents a single animation player and provides playback controls and a timeline for an animation node or source.
63 Animation() API, Animation, Animations, Constructor, Experimental, Reference, web animations api
Animation() constructor of the Web 动画 API returns a new 动画 对象实例。
64 Animation.cancel() API, Animation, Method, Reference, Web Animations, cancel, waapi, web animations api
The Web Animations API's cancel() 方法在 动画 interface clears all KeyframeEffect s caused by this animation and aborts its playback.
65 Animation.currentTime API, Animation, Animations, Property, Reference, Web Animations, web animations api
动画 .currentTime 特性为 Web 动画 API returns and sets the current time value of the animation in milliseconds, whether running or paused.
66 Animation.effect API, Animation, Experimental, Property, Reference, Web Animations, effect, web animations api
动画 .effect 特性为 Web 动画 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 ,譬如 KeyframeEffect ,或 null .
67 Animation.finish() API, Animation, Finish, Interface, Method, Reference, Web Animations, waapi, web animations api
finish() 方法在 Web 动画 API 's 动画 Interface sets the current playback time to the end of the animation corresponding to the current playback direction.
68 Animation.finished API, Animation, Experimental, Property, Reference, Web Animations, finished, web animations api
动画 .finished 只读特性在 Web 动画 API 返回 Promise which resolves once the animation has finished playing.
69 Animation.id API, Animation, Property, Reference, id, web animations api
动画 .id 特性为 Web 动画 API returns or sets a string used to identify the animation.
70 Animation.oncancel API, Animation, Event Handler, Property, Reference, Web Animations, events, oncancel, web animations api
oncancel 特性为 Web 动画 API 's 动画 interface is the event handler for the cancel 事件。
71 Animation.onfinish API, Animation, Event Handler, Property, Reference, Web Animations, events, onfinish, waapi, web animations api
动画 接口的 onfinish property (from the Web 动画 API ) is the event handler for the finish event. This event is sent when the animation finishes playing.
72 Animation.pause() Animation, Method, Reference, Web Animations, pause, waapi, web animations api
pause() 方法在 Web 动画 API 's 动画 interface suspends playback of the animation.
73 Animation.pending API, Animation, Animations, Property, Reference, Web Animations, web animations api
只读 动画 .pending 特性为 Web 动画 API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.
74 Animation.play() API, Animation, Interface, Method, Reference, Web Animations, play, waapi, web animations api
play() 方法在 Web 动画 API 's 动画 Interface starts or resumes playing of an animation. If the animation is finished, calling play() restarts the animation, playing it from the beginning.
75 Animation.playState API, Animation, Property, Reference, Web Animations, playState, web animations api
动画 .playState 特性为 Web 动画 API returns and sets an enumerated value describing the playback state of an animation.
76 Animation.playbackRate API, Animation, Interface, Property, Reference, Web Animations, playbackRate, web animations api
动画 .playbackRate 特性为 Web 动画 API returns or sets the playback rate of the animation.
77 Animation.ready API, Animation, Experimental, Property, Ready, Ready Promise, Reference, Web Animations, web animations api
只读 Animation.ready 特性为 Web 动画 API 返回 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.
78 Animation.reverse() API, Animation, Interface, Method, Reference, Web Animations, reverse, waapi, web animations api
Animation.reverse() 方法在 动画 Interface reverses the playback direction, meaning the animation ends at its beginning. If called on an unplayed animation, the whole animation is played backwards. If called on a paused animation, the animation will continue in reverse.
79 Animation.startTime API, Animation, Interface, Property, Reference, Web Animations, startTime, web animations api
Animation.startTime 特性为 动画 interface is a double-precision floating-point value which indicates the scheduled time when an animation's playback should begin.
80 Animation.timeline API, Animation, Experimental, Property, Reference, Web Animations, timeline, web animations api
Animation.timeline 特性为 动画 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.
81 Animation.updatePlaybackRate() API, Animation, Experimental, Interface, Method, Reference, Web Animations, playbackRate, updatePlaybackRate, waapi, web animations api
updatePlaybackRate() 方法在 Web 动画 API 's 动画 Interface sets the speed of an animation after first synchronizing its playback position.
82 AnimationEffect API, Animation, Experimental, Interface, Reference, Web Animations, web animations api
AnimationEffect 接口在 Web 动画 API defines current and future animation effects like KeyframeEffect , which can be passed to 动画 objects for playing, and KeyframeEffectReadOnly (which is used by CSS 动画 and 过渡 ).
83 AnimationEffect.getComputedTiming() API, Animation, Experimental, Method, Reference, getComputedTiming, waapi, web animations api
getComputedTiming() 方法在 AnimationEffect interface returns the calculated timing properties for this animation effect.
84 AnimationEffect.getTiming() API, Animation, Experimental, Method, Reference, Timing, waapi, web animations api
AnimationEffect.getTiming() 方法在 AnimationEffect interface returns an EffectTiming object containing the timing properties for the Animation Effect.
85 AnimationEffect.updateTiming() API, Animation, Experimental, Method, Reference, Web Animations, waapi, web animations api
updateTiming() 方法在 AnimationEffect interface updates the specified timing properties for an animation effect.
86 AnimationEvent API, Experimental, Interface, Reference, Web Animations
AnimationEvent interface represents events providing information related to animations .
87 AnimationEvent() API, AnimationEvent, CSSOM, Constructor, Experimental, Reference, Web Animations
AnimationEvent() constructor returns a newly created AnimationEvent , representing an event in relation with an animation.
88 AnimationEvent.animationName API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.
89 AnimationEvent.elapsedTime API, AnimationEvent, CSSOM, Experimental, Property, Reference, Web Animations
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 包含 (-1 * delay ) .
90 AnimationEvent.initAnimationEvent() API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations
AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent("AnimationEvent") 方法。
91 AnimationEvent.pseudoElement API, AnimationEvent, CSS, CSSOM, Experimental, Property, Reference, Web Animations
AnimationEvent.pseudoElement read-only property is a DOMString , starting with '::' , containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: '' .
92 AnimationPlaybackEvent API, Animation, AnimationPlaybackEvent, Experimental, Interface, Reference, events, waapi, web animations api
The AnimationPlaybackEvent interface of the Web 动画 API represents animation events.
93 AnimationPlaybackEvent.AnimationPlaybackEvent() API, Animation, AnimationPlaybackEvent, AnimationPlaybackEvent(), Constructor, Experimental, Reference, waapi, web animations api
AnimationPlaybackEvent() constructor of the Web 动画 API returns a new AnimationPlaybackEvent 对象实例。
94 AnimationPlaybackEvent.currentTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, currentTime, waapi, web animations api
currentTime 只读特性在 AnimationPlaybackEvent interface represents the current time of the animation that generated the event at the moment the event is queued. This will be unresolved if the animation was idle at the time the event was generated.
95 AnimationPlaybackEvent.timelineTime API, Animation, AnimationPlaybackEvent, Attribute, Experimental, Property, Reference, timelineTime, waapi, web animations api
timelineTime 只读特性在 AnimationPlaybackEvent interface represents the time value of the animation's timeline at the moment the event is queued. This will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.
96 AnimationTimeline API, Animation, AnimationTimeline, Experimental, Interface, Reference, Web Animations, waapi, web animations api
AnimationTimeline 接口在 Web 动画 API represents the timeline of an animation. This interface exists to define timeline features (inherited by DocumentTimeline and future timeline types) and is not itself directly used by developers. Anywhere you see AnimationTimeline , you should use DocumentTimeline or any other timeline type instead.
97 AnimationTimeline.currentTime API, Animation, AnimationTimeline, Experimental, Property, Read-only, Reference, Web Animations, currentTime, waapi, web animations api
currentTime 只读特性在 Web 动画 API 's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.
98 ArrayBufferView API, Interface, JavaScript, Reference, Typed Arrays
ArrayBufferView is a helper type representing any of the following JavaScript TypedArray types:
99 Attr API, DOM
Attr interface represents one of a DOM element's attributes as an object. In most DOM methods, you will directly retrieve the attribute as a string (e.g., Element.getAttribute() ), but certain functions (e.g., Element.getAttributeNode() ) or means of iterating return Attr 类型。
100 Attr.localName API, DOM, Property, Reference
Attr.localName read-only property returns the local part of the qualified name of an element.
101 Attr.namespaceURI API, DOM, Property, Reference
Attr.namespaceURI read-only property returns the namespace URI of the attribute, or null if the element is not in a namespace.
102 Attr.prefix API, DOM, Property, Reference
Attr.prefix read-only property returns the namespace prefix of the specified attribute, or null if no prefix is specified.
103 AudioBuffer API, AudioBuffer, Interface, Reference, Web Audio API
AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer() . Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode .
104 AudioBuffer() API, Audio, AudioBuffer, Buffer, Constructor, Media, Reference, Web Audio, Web Audio API, sound
AudioBuffer constructor of the Web 音频 API creates a new AudioBuffer 对象。
105 AudioBuffer.copyFromChannel() API, Audio, AudioBuffer, Copying, Frames, Method, Reference, Samples, Web Audio, Web Audio API, copy, copyFromChannel, sound
copyFromChannel() 方法在 AudioBuffer interface copies the audio sample data from the specified channel of the AudioBuffer to a specified Float32Array .
106 AudioBuffer.copyToChannel() API, Audio, AudioBuffer, Method, Reference, Web Audio API, copyToChannel
copyToChannel() 方法在 AudioBuffer interface copies the samples to the specified channel of the AudioBuffer , from the source array.
107 AudioBuffer.duration API, AudioBuffer, Property, Reference, Web Audio API, duration
A double.
108 AudioBuffer.getChannelData() API, AudioBuffer, Method, Reference, Web Audio API
getChannelData() 方法在 AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
109 AudioBuffer.length API, AudioBuffer, Property, Reference, Web Audio API, length
length 特性为 AudioBuffer interface returns an integer representing the length, in sample-frames, of the PCM data stored in the buffer.
110 AudioBuffer.numberOfChannels API, AudioBuffer, Property, Reference, Web Audio API, numberOfChannels
An integer.
111 AudioBuffer.sampleRate API, AudioBuffer, Property, Reference, Web Audio API, sampleRate
A floating-point value indicating the current sample rate of the buffers data, in samples per second.
112 AudioBufferSourceNode API, Audio, AudioBufferSourceNode, Interface, Media, Reference, Web Audio API
AudioBufferSourceNode interface is an AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer . It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
113 AudioBufferSourceNode.AudioBufferSourceNode() API, Audio, AudioBufferSourceNode, Constructor, Media, Reference, Web Audio API
AudioBufferSourceNode() 构造函数创建新 AudioBufferSourceNode 对象实例。
114 AudioBufferSourceNode.buffer API, Audio, AudioBufferSourceNode, Buffer, Media, Property, Reference, Web Audio API, sound
buffer 特性为 AudioBufferSourceNode interface provides the ability to play back audio using an AudioBuffer as the source of the sound data.
115 AudioBufferSourceNode.detune API, Audio, AudioBufferSourceNode, Property, Reference, Web Audio API, detune
detune 特性为 AudioBufferSourceNode 接口是 k-rate AudioParam representing detuning of oscillation in cents .
116 AudioBufferSourceNode.loop API, Audio, AudioBufferSourceNode, Loop, Media, Property, Reference, Web Audio API, sound
loop property's default value is false .
117 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 特性为 true .
118 AudioBufferSourceNode.loopStart API, Audio, AudioBufferSourceNode, Media, Property, Reference, Web Audio API, loopStart, sound
loopStart 特性为 AudioBufferSourceNode interface is a floating-point value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.
119 AudioBufferSourceNode.playbackRate API, AudioBufferSourceNode, Property, Reference, Web Audio API, playbackRate
playbackRate 特性为 AudioBufferSourceNode interface Is a k-rate AudioParam that defines the speed at which the audio asset will be played.
120 AudioBufferSourceNode.start() API, Audio, AudioBufferSourceNode, Media, Method, Reference, Web Audio API, sound, start
undefined .
121 AudioConfiguration API, Audio, AudioConfiguration, Experimental, Interface, Media Capabilities API, Reference, Video
AudioConfiguration dictionary of the 媒体能力 API defines the audio file being tested when calling MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() to query whether a specific audio configuration is supported, smooth, and/or power efficient.
122 AudioContext API, Audio, AudioContext, Interface, Reference, Web Audio API, sound
AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode .
123 AudioContext() Audio, Audio Context, Audio Graph, AudioContext, Constructor, Context, Media, Media Graph, Reference, Web Audio, Web Audio API
AudioContext() 构造函数创建新 AudioContext object which represents an audio-processing graph, built from audio modules linked together, each represented by an AudioNode .
124 AudioContext.baseLatency API, Audio, AudioContext, Experimental, Media, Property, Web Audio API, baseLatency
baseLatency 只读特性在 AudioContext interface returns a double that represents the number of seconds of processing latency incurred by the AudioContext passing the audio from the AudioDestinationNode to the audio subsystem.
125 AudioContext.close() API, AudioContext, Media, Method, Reference, Web Audio API, close
close() 方法在 AudioContext Interface closes the audio context, releasing any system audio resources that it uses.
126 AudioContext.createJavaScriptNode() API, Audio, Method, Obsolete, Reference, Web, createJavaScriptNode
The following script illustrates the use of createJavaScriptNode() :
127 AudioContext.createMediaElementSource() API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaElementSource
For more details about media element audio source nodes, check out the MediaElementAudioSourceNode reference page.
128 AudioContext.createMediaStreamDestination() API, AudioContext, Method, Reference, Référence(2), Web Audio API, createMediaStreamDestination
MediaStream is created when the node is created and is accessible via the MediaStreamAudioDestinationNode 's strea m 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() 方法。
129 AudioContext.createMediaStreamSource() API, Audio, AudioContext, AudioNode, Media, MediaStream, MediaStreamTrack, Method, Reference, Web, Web Audio, Web Audio API, createMediastreamSource
For more details about media stream audio source nodes, check out the MediaStreamAudioSourceNode reference page.
130 AudioContext.createMediaStreamTrackSource() API, Audio, AudioContext, MediaStreamTrack, MediaStreamTrackAudioSource, Method, Node, Reference, Web Audio API, createMediaStreamTrackSource, sound, source, track
A MediaStreamTrackAudioSourceNode object which acts as a source for audio data found in the specified audio track.
131 AudioContext.createWaveTable() API, AudioContext, Method, Obsolete, Reference, Web Audio API, createWaveTable
AudioContext 方法 createWaveTable() 现为 obsolete ; you should instead use the method createPeriodicWave() .
132 AudioContext.getOutputTimestamp() API, Audio, AudioContext, Method, Reference, Web Audio API, getOutputTimestamp, sound
getOutputTimestamp() 特性为 AudioContext interface returns a new AudioTimestamp object containing two correlated context's audio stream position values.
133 AudioContext.outputLatency API, Audio, AudioContext, Experimental, Property, Reference, Web Audio API, outputLatency
outputLatency 只读特性在 AudioContext Interface provides an estimation of the output latency of the current audio context.
134 AudioContext.resume() API, Audio, AudioContext, Method, Reference, Web Audio API, resume
resume() 方法在 AudioContext interface resumes the progression of time in an audio context that has previously been suspended.
135 AudioContext.suspend() API, Audio, AudioContext, Method, Reference, Web Audio API, suspend
suspend() 方法在 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.
136 AudioContextLatencyCategory API, Audio, Audio Context, AudioContextLatencyCategory, Enum, Interface, Media, Reference, Type, Web Audio, Web Audio API, latency
AudioContextLatencyCategory type is an enumerated set of strings which are used to select one of a number of default values for acceptable maximum latency of an audio context.
137 AudioContextOptions API, Audio, AudioContext, AudioContextOptions, Configuration, Context, Dictionary, Interface, Options, Reference, Settings, Web Audio API, sampleRate
AudioContextOptions dictionary is used to specify configuration options when constructing a new AudioContext object to represent a graph of web audio nodes.
138 AudioContextOptions.latencyHint API, Audio, Audio Context, AudioContext, AudioContextOptions, Context, Options, Property, Reference, Web Audio, Web Audio API, latency, latencyHint
AudioContextOptions dictionary (used when instantiating an AudioContext ) may contain a property named latencyHint , which indicates the preferred maximum latency in seconds for the audio context.
139 AudioContextOptions.sampleRate API, Audio, AudioContext, AudioContextOptions, Dictionary, Interface, Media, Options, Reference, Sample Rate, Web Audio, Web Audio API, sampleRate
AudioContextOptions dictionary (used when instantiating an AudioContext ) may contain a property named sampleRate , which indicates the sample rate to use for the new context.
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 maxChannelCount value or an exception is raised.
141 AudioDestinationNode.maxChannelCount API, AudioDestinationNode, Property, Reference, Référence(2), Web Audio API, maxChannelCount
An unsigned long .
142 AudioListener API, AudioListener, Interface, Reference, Référence(2), Web Audio API
AudioListener interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialization . All PannerNode s spatialize in relation to the AudioListener stored in the BaseAudioContext.listener 属性。
143 AudioListener.dopplerFactor API, Audio, AudioListener, Deprecated, Doppler, Doppler Effect, Property, Reference, Web Audio API, dopplerFactor, effects
The deprecated dopplerFactor 特性为 AudioListener interface is a double value representing the amount of pitch shift to use when rendering a doppler effect .
144 AudioListener.forwardX API, Audio, AudioListener, Property, Reference, Web Audio API, forwardX
forwardX 只读特性在 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, forwardY
forwardY 只读特性在 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, forwardZ
forwardZ 只读特性在 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, positionX
positionX 只读特性在 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, positionY
positionY 只读特性在 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, positionZ
positionZ 只读特性在 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(2), Web Audio API, setOrientation
Void.
151 AudioListener.setPosition() API, AudioListener, Deprecated, Method, Reference, Référence(2), Web Audio API, setPosition
Void.
152 AudioListener.speedOfSound API, AudioListener, Deprecated, Property, Reference, Web Audio API, speedOfSound
speedOfSound 特性为 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, upX
upX 只读特性在 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
upY 只读特性在 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, upZ
upZ 只读特性在 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, Web Audio API
AudioNode interface is a generic interface for representing an audio processing module. Examples include:
157 AudioNode.channelCount API, AudioNode, Property, Reference, Web Audio API, channelCount
channelCount 特性为 AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
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, Web Audio API, channelInterpretation
When the number of channels doesn't match between an input and an output, up- or down-mixing happens according the following rules. This can be somewhat controlled by setting the AudioNode.channelInterpretation 特性到 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, allowing you to chain multiple connect() calls. In some browsers, older implementations of this interface return undefined .
161 AudioNode.context API, AudioNode, Context, Property, Reference, Web Audio API
只读 context 特性为 AudioNode interface returns the associated BaseAudioContext , that is the object representing the processing graph the node is participating in.
162 AudioNode.disconnect() API, Audio, AudioNode, Disconnect, Method, Reference, Web Audio API
undefined
163 AudioNode.numberOfInputs API, AudioNode, Property, Reference, Web Audio API, numberOfInputs
numberOfInputs 特性为 AudioNode interface returns the number of inputs feeding the node.
164 AudioNode.numberOfOutputs API, AudioNode, Property, Reference, Web Audio API, numberOfOutputs
numberOfOutputs 特性为 AudioNode interface returns the number of outputs coming out of the node.
165 AudioNodeOptions API, Audio, AudioNodeOptions, Dictionary, Interface, Options, Reference, Web Audio API
AudioNodeOptions dictionary of the Web 音频 API specifies options that can be used when creating new AudioNode 对象。
166 AudioParam API, Audio, AudioParam, Interface, Parameter, Reference, Web Audio API, sound
The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (譬如 GainNode.gain ).
167 AudioParam.cancelAndHoldAtTime() API, Audio, AudioParam, Experimental, Method, Reference, Web Audio API, cancelAndHoldAtTime, cancelValuesAndHoldAtTime
cancelAndHoldAtTime() 特性为 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.
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, Web Audio API, defaultValue
defaultValue 只读特性在 AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the AudioParam .
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, linearRampToValueAtTime
A reference to this AudioParam object. In some browsers older implementations of this interface return void.
172 AudioParam.maxValue API, Audio, AudioParam, Property, Reference, Web Audio API, maxValue
maxValue 只读特性在 AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.
173 AudioParam.minValue API, Audio, AudioParam, Property, Reference, Web Audio API, minValue
minValue 只读特性在 AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range.
174 AudioParam.setTargetAtTime() API, AudioParam, Method, Reference, Web Audio API, setTargetAtTime
setTargetAtTime() 方法在 AudioParam interface schedules the start of a gradual change to the AudioParam value. This is useful for decay or release portions of ADSR envelopes.
175 AudioParam.setValueAtTime() API, AudioParam, Method, Reference, Web Audio API, setValueAtTime
setValueAtTime() 方法在 AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against AudioContext.currentTime . The new value is given in the value parameter.
176 AudioParam.setValueCurveAtTime() API, Audio, AudioParam, Method, Reference, Web, Web Audio, Web Audio API, setValueCurveAtTime
setValueCurveAtTime() 方法在 AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
177 AudioParam.value API, AudioParam, Parameter, Property, Reference, Web Audio API, sound, value
Web Audio API's AudioParam interface property gets or sets the value of this AudioParam at the current time.
178 AudioParamDescriptor API, Audio, AudioParamDescriptor, AudioWorkletProcessor, Dictionary, Reference, Web Audio API, parameterDescriptors
AudioParamDescriptor dictionary of the Web 音频 API specifies properties for an AudioParam 对象。
179 AudioParamMap Draft, Experimental
The Web Audio API interface AudioParamMap represents a set of multiple audio parameters, each described as a mapping of a DOMString identifying the parameter to the AudioParam object representing its value.
180 AudioProcessingEvent API, Deprecated, Interface, Internationalization, Reference, Référence(2), Web Audio API
Web 音频 API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed.
181 AudioScheduledSourceNode API, Audio, AudioScheduledSourceNode, Interface, Media, Reference, Web Audio API, sound
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.
182 AudioScheduledSourceNode.onended API, Audio, AudioBufferSourceNode, AudioScheduledSourceNode, ConstantSourceNode, Event Handler, Media, OscillatorNode, Property, Web Audio API, onended
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 ,或 ConstantSourceNode ) determines that it has stopped playing.
183 AudioScheduledSourceNode.start() API, Audio, AudioScheduledSourceNode, Media, Method, NeedsExample, Node, Reference, Web Audio API, play, sound, start
undefined
184 AudioScheduledSourceNode.stop() API, Audio, AudioScheduledSourceNode, Media, Method, Reference, Web Audio API, sound, stop
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.
185 AudioScheduledSourceNode: ended event Audio, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended, events
ended event of the AudioScheduledSourceNode interface is fired when the source node has stopped playing.
186 AudioTrack Audio, AudioTrack, HTML, HTML DOM, Interface, Media, Reference, track
AudioTrack interface represents a single audio track from one of the HTML media elements, <audio> or <video> .
187 AudioTrack.enabled Audio, AudioTrack, HTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, enabled, mute, track
AudioTrack property 被启用 specifies whether or not the described audio track is currently enabled for use. If the track is disabled by setting enabled to false , the track is muted and does not produce audio.
188 AudioTrack.id API, Audio, Audio Track, AudioTrack, HTML DOM, Interface, Media, Property, Read-only, Reference, id, track
id property contains a string which uniquely identifies the track represented by the AudioTrack .
189 AudioTrack.kind API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, id, track
kind property contains a string indicating the category of audio contained in the AudioTrack .
190 AudioTrack.label API, Audio, Audio Track, AudioTrack, HTML DOM, Media, Property, Read-only, Reference, label, metadata, track
只读 AudioTrack property label returns a string specifying the audio track's human-readable label, if one is available; otherwise, it returns an empty string.
191 AudioTrack.language API, Audio, AudioTrack, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Translated, Translation, track
只读 AudioTrack property 语言 returns a string identifying the language used in the audio track.
192 AudioTrack.sourceBuffer API, Audio, AudioTrack, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, track
只读 AudioTrack property sourceBuffer 返回 SourceBuffer that created the track, or null if the track was not created by a SourceBuffer SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
193 AudioTrackList API, Audio, AudioTrackList, HTML DOM, Interface, Media, Reference, Track List, Tracks, list
AudioTrackList interface is used to represent a list of the audio tracks contained within a given HTML media element, with each track represented by a separate AudioTrack object in the list.
194 AudioTrackList.getTrackById() API, Audio, AudioTrackList, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, getTrackById, id, track
AudioTrackList 方法 getTrackById() 返回第一 AudioTrack object from the track list whose id matches the specified string.
195 AudioTrackList.length API, Audio, AudioTrackList, HTML DOM, Media, Property, Read-only, Reference, length, list, track
只读 AudioTrackList property length returns the number of entries in the AudioTrackList , each of which is an AudioTrack representing one audio track in the media element.
196 AudioTrackList.onaddtrack API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onaddtrack, track
AudioTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new audio track has been added to the media element whose audio tracks the AudioTrackList represents.
197 AudioTrackList.onchange API, Adding Audio Tracks, Adding Tracks, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, addTrack, onchange, track
AudioTrackList property onchange is an event handler which is called when the change event occurs, indicating that one or more of the AudioTrack s in the AudioTrackList have been enabled or disabled.
198 AudioTrackList.onremovetrack API, Audio, AudioTrackList, Event Handler, HTML DOM, Media, Property, Reference, Removing Audio Tracks, Removing Tracks, onremovetrack, remove, removeTrack, track
AudioTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that an audio track has been removed from the media element, and therefore also from the AudioTrackList .
199 AudioTrackList: addtrack event 事件
addtrack event is fired when a track is added to an AudioTrackList .
200 AudioTrackList: change event 事件
change event is fired when an audio track is enabled or disabled, for example by changing the track's enabled 特性。
201 AudioTrackList: removetrack event 事件
removetrack event is fired when a track is removed from an AudioTrackList .
202 AudioWorklet API, Audio, AudioWorklet, Experimental, Interface, Reference, Web Audio API, Worklet
AudioWorklet 接口在 Web 音频 API is used to supply custom audio processing scripts. User-supplied code is run in the AudioWorkletGlobalScope global execution context in a separate Web Audio rendering thread along with other nodes, allowing for zero-latency audio processing.
203 AudioWorkletGlobalScope API, AudioWorkletGlobalScope, Experimental, Interface, Reference, Web Audio API
AudioWorkletGlobalScope 接口在 Web 音频 API represents a global execution context for user-supplied code, which defines custom AudioWorkletProcessor -derived classes. Each BaseAudioContext has a single AudioWorklet available under the audioWorklet property, which runs its code in a single AudioWorkletGlobalScope .
204 AudioWorkletGlobalScope.registerProcessor API, Audio, AudioWorkletGlobalScope, AudioWorkletProcessor, Method, Reference, Web Audio API
registerProcessor 方法在 AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified name .
205 AudioWorkletNode API, Audio, AudioWorkletNode, Experimental, Interface, Reference, Web Audio API
AudioWorkletNode 接口在 Web 音频 API represents a base class for a user-defined AudioNode , which can be connected to an audio routing graph along with other nodes. It has an associated AudioWorkletProcessor , which does the actual audio processing in a Web Audio rendering thread.
206 AudioWorkletNode() API, AudioWorkletNode, Constructor, Reference, Web Audio API
AudioWorkletNode() 构造函数创建新 AudioWorkletNode object, which represents an AudioNode with custom audio processing capabilities.
207 AudioWorkletNode.onprocessorerror API, Audio, AudioWorkletNode, AudioWorkletProcessor, Event Handler, Property, Reference, Web Audio API, onprocessorerror
onprocessorerror 特性为 AudioWorkletNode interface defines an event handler function to be called when the processorerror event fires. This occurs when the underlying AudioWorkletProcessor behind the node throws an exception in its constructor, the process method, or any user-defined class method.
208 AudioWorkletNode.parameters API, Audio, AudioParam, AudioWorkletNode, Experimental, Property, Reference, Web Audio API
只读 参数 特性为 AudioWorkletNode interface returns the associated AudioParamMap — that is, a 地图 -like collection of AudioParam objects. They are instantiated during creation of the underlying AudioWorkletProcessor according to its parameterDescriptors static getter.
209 AudioWorkletNode.port API, AudioWorkletNode, Experimental, Property, Reference, Web Audio API, port
只读 port 特性为 AudioWorkletNode interface returns the associated MessagePort . It can be used to communicate between the node and its associated AudioWorkletProcessor .
210 AudioWorkletNodeOptions API, AudioWorkletNodeOptions, Dictionary, Reference, Web Audio API
AudioWorkletNodeOptions dictionary of the Web 音频 API is used to specify configuration options when constructing a new AudioWorkletNode object for custom audio processing.
211 AudioWorkletProcessor API, Audio, AudioWorklet, AudioWorkletProcessor, Interface, Reference, Web Audio API
AudioWorkletProcessor 接口在 Web 音频 API represents an audio processing code behind a custom AudioWorkletNode . It lives in the AudioWorkletGlobalScope and runs on the Web Audio rendering thread. In turn, an AudioWorkletNode based on it runs on the main thread.
212 AudioWorkletProcessor() API, Audio, AudioWorkletNode, AudioWorkletProcessor, Constructor, Reference, Web Audio API
AudioWorkletProcessor() 构造函数创建新 AudioWorkletProcessor object, which represents an underlying audio processing mechanism of an AudioWorkletNode .
213 AudioWorkletProcessor.parameterDescriptors API, AudioWorkletProcessor, Experimental, Property, Reference, parameterDescriptors
只读 parameterDescriptors property of an AudioWorkletProcessor -derived class is a static getter , which returns an iterable of AudioParamDescriptor -based objects.
214 AudioWorkletProcessor.port API, Audio, AudioWorkletProcessor, Experimental, Property, Reference, Web Audio API
只读 port 特性为 AudioWorkletProcessor interface returns the associated MessagePort . It can be used to communicate between the processor and the AudioWorkletNode to which it belongs.
215 AudioWorkletProcessor.process API, Audio, AudioWorkletNode, AudioWorkletProcessor, Experimental, Method, Process, Reference, Web Audio API
process() 方法对于 AudioWorkletProcessor -derived class implements the audio processing algorithm of the processor. Although the method is not a part of the AudioWorkletProcessor interface, each class that derives from it must have it implemented.
216 AuthenticatorAssertionResponse API, Authentication, AuthenticatorAssertionResponse, Interface, Reference, Web Authentication API, WebAuthn
AuthenticatorAssertionResponse 接口在 Web 身份验证 API 的返回是通过 CredentialsContainer.get() PublicKeyCredential is passed, and provides proof to a service that it has a key pair and that the authentication request is valid and approved.
217 AuthenticatorAssertionResponse.authenticatorData API, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
authenticatorData 特性为 AuthenticatorAssertionResponse interface returns an ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash), a signature counter, test of user presence, user verification flags, and any extensions processed by the authenticator.
218 AuthenticatorAssertionResponse.signature API, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
signature 只读特性在 AuthenticatorAssertionResponse interface is an ArrayBuffer object which is the signature of the authenticator for both AuthenticatorAssertionResponse.authenticatorData and a SHA-256 hash of the client data ( AuthenticatorAssertionResponse.clientDataJSON ).
219 AuthenticatorAssertionResponse.userHandle API, AuthenticatorAssertionResponse, Property, Reference, Web Authentication API, WebAuthn
userHandle 只读特性在 AuthenticatorAssertionResponse interface is an ArrayBuffer object which is an opaque identifier for the given user. Such an identifier can be used by the relying party's server to link the user account with its corresponding credentials and other data.
220 AuthenticatorAttestationResponse API, Authentication, AuthenticatorAttestationResponse, Interface, Reference, Web Authentication API, WebAuthn
AuthenticatorAttestationResponse 接口在 Web 身份验证 API 的返回是通过 CredentialsContainer.create() PublicKeyCredential is passed, and provides a cryptographic root of trust for the new key pair that has been generated. This response should be sent to the relying party's server to complete the creation of the credential.
221 AuthenticatorAttestationResponse.attestationObject API, AuthenticatorAttestationResponse, Property, Reference, Web Authentication API, WebAuthn
attestationObject 特性为 AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the new public key, as well as signature over the entire attestationObject with a private key that is stored in the authenticator when it is manufactured.
222 AuthenticatorAttestationResponse.getTransports() API, AuthenticatorAttestationResponse, Method, Reference, Web Authentication API, WebAuthn
getTransports() is a method of the AuthenticatorAttestationResponse interface that returns an 数组 containing strings describing the different transports which may be used by the authenticator.
223 AuthenticatorResponse API, Authentication, AuthenticatorResponse, Interface, Reference, Web Authentication API, WebAuthn
AuthenticatorResponse 接口在 Web 身份验证 API is the base interface for interfaces that provide a cryptographic root of trust for a key pair. The child interfaces include information from the browser such as the challenge origin and either may be returned from PublicKeyCredential.response .
224 AuthenticatorResponse.clientDataJSON API, AuthenticatorResponse, Property, Reference, Web Authentication API, WebAuthn
clientDataJSON 特性为 AuthenticatorResponse interface stores a JSON string in an ArrayBuffer , representing the client data that was passed to CredentialsContainer.create() or CredentialsContainer.get() . This property is only accessed on one of the child objects of AuthenticatorResponse , specifically AuthenticatorAttestationResponse or AuthenticatorAssertionResponse .
225 Background Tasks API API, Background Tasks API, Guide, IdleDeadline, Overview, cancelIdleCallback, requestIdleCallback
Cooperative Scheduling of Background Tasks API (also referred to as the Background Tasks API or simply the requestIdleCallback() API) provides the ability to queue tasks to be executed automatically by the user agent when it determines that there is free time to do so.
226 BaseAudioContext API, Audio, BaseAudioContext, Context, Interface, Reference, Web Audio API, sound
BaseAudioContext 接口在 Web 音频 API acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext 分别。
227 BaseAudioContext.audioWorklet API, Audio, AudioContext, AudioWorklet, BaseAudioContext, Property, Reference, Web Audio API, Worklet
audioWorklet 只读特性在 BaseAudioContext interface returns an instance of AudioWorklet that can be used for adding AudioWorkletProcessor -derived classes which implement custom audio processing.
228 BaseAudioContext.createAnalyser() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createAnalyser
createAnalyser() 方法在 BaseAudioContext interface creates an AnalyserNode , which can be used to expose audio time and frequency data and create data visualisations.
229 BaseAudioContext.createBiquadFilter() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBiquadFilter
A BiquadFilterNode .
230 BaseAudioContext.createBuffer() API, Audio, AudioContext, BaseAudioContext, Buffer, Media, Method, Reference, Web Audio, Web Audio API, createBuffer
An AudioBuffer configured based on the specified options.
231 BaseAudioContext.createBufferSource() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createBufferSource
An AudioBufferSourceNode .
232 BaseAudioContext.createChannelMerger() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelMerger
A ChannelMergerNode .
233 BaseAudioContext.createChannelSplitter() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createChannelSplitter
A ChannelSplitterNode .
234 BaseAudioContext.createConstantSource() API, Audio, AudioContext, BaseAudioContext, ConstantSourceNode, Media, Method, createConstantSource
createConstantSource() 特性为 BaseAudioContext interface creates a ConstantSourceNode object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
235 BaseAudioContext.createConvolver() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createConvolver
A ConvolverNode .
236 BaseAudioContext.createDelay() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDelay
createDelay() 方法在 BaseAudioContext Interface is used to create a DelayNode , which is used to delay the incoming audio signal by a certain amount of time.
237 BaseAudioContext.createDynamicsCompressor() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createDynamicsCompressor
Compression lowers the volume of the loudest parts of the signal and raises the volume of the softest parts. Overall, a louder, richer, and fuller sound can be achieved. It is especially important in games and musical applications where large numbers of individual sounds are played simultaneously, where you want to control the overall signal level and help avoid clipping (distorting) of the audio output.
238 BaseAudioContext.createGain() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Volume Control, Web Audio API, createGain, sound
A GainNode which takes as input one or more audio sources and outputs audio whose volume has been adjusted in gain (volume) to a level specified by the node's GainNode.gain a-rate 参数。
239 BaseAudioContext.createIIRFilter() API, Audio, AudioContext, BaseAudioContext, CreateIIRFilter, Method, Reference, Web Audio API, filter
createIIRFilter() 方法在 BaseAudioContext interface creates an IIRFilterNode , which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
240 BaseAudioContext.createOscillator() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createOscillator
createOscillator() 方法在 BaseAudioContext interface creates an OscillatorNode , a source representing a periodic waveform. It basically generates a constant tone.
241 BaseAudioContext.createPanner() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createPanner
The panner node is spatialized in relation to the AudioContext's AudioListener (defined by the AudioContext.listener attribute), which represents the position and orientation of the person listening to the audio.
242 BaseAudioContext.createPeriodicWave() API, Audio, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createPeriodicWave
createPeriodicWave() 方法在 BaseAudioContext Interface is used to create a PeriodicWave , which is used to define a periodic waveform that can be used to shape the output of an OscillatorNode .
243 BaseAudioContext.createScriptProcessor() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createScriptProcessor
A ScriptProcessorNode .
244 BaseAudioContext.createStereoPanner() API, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createStereoPanner
A StereoPannerNode .
245 BaseAudioContext.createWaveShaper() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createWaveShaper
A WaveShaperNode .
246 BaseAudioContext.currentTime API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, currentTime
currentTime 只读特性在 BaseAudioContext interface returns a double representing an ever-increasing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc. It starts at 0.
247 BaseAudioContext.decodeAudioData() API, Audio, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, decodeAudioData
This is the preferred method of creating an audio source for Web Audio API from an audio track. This method only works on complete file data, not fragments of audio file data.
248 BaseAudioContext.destination API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, destination
An AudioDestinationNode .
249 BaseAudioContext.listener API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, listener, spatialization
An AudioListener 对象。
250 BaseAudioContext.onstatechange API, Audio, AudioContext, BaseAudioContext, Event Handler, Reference, Web Audio API, onstatechange
The following snippet is taken from our AudioContext states demo ( see it running live .) The onstatechange hander is used to log the current state to the console every time it changes.
251 BaseAudioContext.sampleRate API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, sampleRate
sampleRate 特性为 BaseAudioContext interface returns a floating point number representing the sample rate, in samples per second, used by all nodes in this audio context.
252 BaseAudioContext.state API, Audio, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, state
A DOMString . Possible values are:
253 BasicCardRequest API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Dictionary, Payment Method, Payment Request, Payment Request API, Reference, card, payment
BasicCardRequest dictionary is a JavaScript object-structure that can be used in the 支付请求 API . The properties of BasicCardRequest are defined in the Basic Card Payment spec ).
254 BasicCardRequest.supportedNetworks API, Basic Card Payment, BasicCardRequest, Experimental, Payment Request, Payment Request API, Property, Reference, supportedNetworks
supportedNetworks 特性为 BasicCardRequest dictionary contains an array of DOMString s representing the card networks that the retailer supports (e.g. amex , mastercard ).
255 BasicCardRequest.supportedTypes API, Basic Card Payment, BasicCardRequest, Commerce, Credit, Debit, Payment Method, Payment Request, Payment Request API, Property, Reference, payment, supportedTypes
过时 supportedTypes 特性为 BasicCardRequest dictionary can optionally be provided to specify an array of DOMString s representing the card types that the retailer supports (e.g. credit , debit , prepaid ).
256 BasicCardResponse API, Basic Card Payment, BasicCardResponse, Experimental, Interface, Payment Request, Payment Request API, Reference
BasicCardResponse dictionary (related to the 支付请求 API , although defined in the Basic Card Payment spec ) defines an object structure for payment response details such as the number/expiry date of the card used to make the payment, and the billing address.
257 BasicCardResponse.billingAddress API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, billingAddress
billingAddress 特性为 BasicCardResponse dictionary contains the billing address of the card used to make the payment.
258 BasicCardResponse.cardNumber API, Basic Card Request, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardNumber
cardNumber 特性为 BasicCardResponse dictionary contains the number of the card used to make the payment.
259 BasicCardResponse.cardSecurityCode API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, cardSecurityCode
cardSecurityCode 特性为 BasicCardResponse dictionary contains the security code of the card used to make the payment.
260 BasicCardResponse.cardholderName API, Basic Card Payment, BasicCardResponse, Payment Request, Payment Request API, Property, Reference, cardholderName
cardNumber 特性为 BasicCardResponse dictionary contains the cardholder name of the card used to make the payment.
261 BasicCardResponse.expiryMonth API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryMonth
expiryMonth 特性为 BasicCardResponse dictionary contains the expiry month of the card used to make the payment.
262 BasicCardResponse.expiryYear API, Basic Card Payment, BasicCardResponse, Experimental, Payment Request, Payment Request API, Property, Reference, expiryYear
expiryYear 特性为 BasicCardResponse dictionary contains the expiry year of the card used to make the payment.
263 Battery Status API API, Apps, Battery, Battery API, Battery Status API, Guide, Mobile, Obsolete, Overview
Battery Status API , more often referred to as the 电池 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.
264 BatteryManager API, Battery API, Device API, Interface, Obsolete, Reference, Référence(2)
BatteryManager interface provides ways to get information about the system's battery charge level.
265 BatteryManager.charging API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
A Boolean value indicating whether or not the device's battery is currently being charged.
266 BatteryManager.chargingTime API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the amount of time, in seconds, that remain until the battery is fully charged.
267 BatteryManager.dischargingTime API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the amount of time, in seconds, that remains until the battery is fully discharged.
268 BatteryManager.level API, Battery API, NeedsMarkupWork, Property, Reference, Référence(2)
Indicates the current battery charge level as a value between 0.0 and 1.0 .
269 BatteryManager.onchargingchange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive chargingchange events. These events occur when the battery charging state is updated.
270 BatteryManager.onchargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive chargingtimechange events. These events occur when the battery chargingTime is updated.
271 BatteryManager.ondischargingtimechange API, Battery API, Event Handler, NeedsMarkupWork, Property, Reference, Référence(2)
Specifies an event listener to receive dischargingtimechange events. These events occur when the battery dischargingTime is updated.
272 BatteryManager.onlevelchange API, Battery API, Event Handler, Property, Reference
BatteryManager.onlevelchange property specifies an event listener to receive levelchange events. These events occur when the battery level is updated.
273 Beacon API Guide, Overview, Web Performance, user behavior tracker, user tracker
信标 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 ).
274 Using the Beacon API Guide, Web Performance
信标 interface schedules an asynchronous and non-blocking request to a web server.
275 BeforeInstallPromptEvent API, BeforeInstallPromptEvent, Event, Experimental, Interface, Reference
BeforeInstallPromptEvent is fired at the Window.onbeforeinstallprompt handler before a user is prompted to "install" a web site to a home screen on mobile.
276 BeforeInstallPromptEvent.prompt() API, BeforeInstallPromptEvent, Experimental, Method, Reference, prompt
prompt() 方法在 BeforeInstallPromptEvent interface allows a developer to show the install prompt at a time of their own choosing.
277 BeforeUnloadEvent API, Reference
beforeunload event is fired when the window, the document and its resources are about to be unloaded.
278 BiquadFilterNode API, BiquadFilterNode, Interface, Reference, Web Audio API
BiquadFilterNode 接口表示简单低阶过滤器,且创建是使用 AudioContext.createBiquadFilter() 方法。它是 AudioNode 可以表示不同种类的过滤器、色调控制设备及图形均衡器。
279 BiquadFilterNode() API, Audio, BiquadFilterNode, Constructor, Media, Reference, Web Audio API
BiquadFilterNode() constructor of the Web 音频 API creates a new BiquadFilterNode object, which represents a simple low-order filter, and is created using the AudioContext.createBiquadFilter() method.
280 BiquadFilterNode.Q API, BiquadFilterNode, Property, Q, Reference, Web Audio API
An AudioParam .
281 BiquadFilterNode.detune API, BiquadFilterNode, Property, Reference, Référence(2), Web Audio API, detune
An a-rate AudioParam .
282 BiquadFilterNode.frequency API, BiquadFilterNode, Property, Reference, Web Audio API, frequency
An AudioParam .
283 BiquadFilterNode.gain API, BiquadFilterNode, Gain, Property, Reference, Référence(2), Web Audio API
An AudioParam .
284 BiquadFilterNode.getFrequencyResponse() API, Audio, BiquadFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse
undefined
285 BiquadFilterNode.type API, BiquadFilterNode, Property, Reference, Référence(2), Type, Web Audio API
A string (enum) representing a BiquadFilterType .
286 Blob API, Blob, File, File API, Interface, Raw, Reference, data
A Blob object represents a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data. Blobs can represent data that isn't necessarily in a JavaScript-native format. The File 接口基于 Blob ,继承并扩展 Blob 功能以支持用户系统文件。
287 Blob() API, Blob, Constructor, File API, Reference
Blob() constructor returns a new Blob object. The content of the blob consists of the concatenation of the values given in the parameter array .
288 Blob.arrayBuffer() API, ArrayBuffer, Blob, File API, Method, Reference, binary, read
arrayBuffer() 方法在 Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer .
289 Blob.size API, Blob, Bytes, File API, Files, Property, Reference, length, size
Blob 接口的 size property returns the size of the Blob or File 以字节为单位。
290 Blob.slice() API, Blob, File, File API, Method, Reference, Section, Subset, data, slice, split
Blob 接口的 slice() method creates and returns a new Blob object which contains data from a subset of the blob on which it's called.
291 Blob.stream() API, Blob, Change, Convert, File API, Method, ReadableStream, Reference, stream
Blob 接口的 stream() 方法返回 ReadableStream which upon reading returns the data contained within the Blob .
292 Blob.text() API, Blob, File API, Method, Reference, String, Text, Utf-8, get, read
text() 方法在 Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
293 Blob.type API, Blob, DOM, File, File API, Format, MIME, MIME Type, Property, Reference, Type
type property of a Blob object returns the MIME 类型 of the file.
294 BlobBuilder API, DOM, DOM Reference, File API, Obsolete, Reference
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.
295 BlobEvent API, Audio, Blob, Interface, Media, MediaStream Recording, MediaStream Recording API, Recording Media, Reference, Video, events
BlobEvent interface represents events associated with a Blob . These blobs are typically, but not necessarily,  associated with media content.
296 BlobEvent.BlobEvent() API, BlobEvent, Constructor, DOM, DOM Reference, Experimental, Media Stream Encoding, Reference
BlobEvent() constructor returns a newly created BlobEvent object with an associated Blob .
297 BlobEvent.data API, BlobEvent, DOM, DOM Reference, Experimental, Media Stream Recording, Property, Reference
BlobEvent.data read-only property represents a Blob 与事件关联。
298 BlobEvent.timecode API, BlobEvent, Media, Media Stream Recording, Property, Reference
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.
299 蓝牙 API, Bluetooth, Experimental, Interface, Reference, Web Bluetooth API
蓝牙 接口在 Web Bluetooth API 返回 Promise to a BluetoothDevice object with the specified options.
300 Bluetooth.requestDevice() API, Bluetooth, Method, Reference, Web Bluetooth API, requestDevice
Bluetooth.requestDevice() 方法在 蓝牙 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.
301 BluetoothAdvertisingData API, Bluetooth, BluetoothAdvertisingData, Interface, Non-standard, Obsolete, Reference, Web Bluetooth API
The BluetoothDevice interface of the Web Bluetooth API provides advertising data about a particular Bluetooth device.
302 BluetoothAdvertisingData.appearance API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, appearance
appearance 只读特性在 BluetoothAdvertisingData interface returns one of the values defined by the org.bluetooth.characteristic.gap.appearance characteristic.
303 manufacturerData API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, manufacturerData
manufacturerData 只读特性在 BluetoothAdvertisingData interface returns a map that relates Company Identifier Codes to ArrayBuffers .
304 rssi API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, rssi
rssi 只读特性在 BluetoothAdvertisingData interface returns the power at which the device’s packets are being received, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi .
305 serviceData API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, serviceData
serviceData 只读特性在 BluetoothAdvertisingData interface returns a map that relates UUIDs to ArrayBuffers .
306 txPower API, Bluetooth, BluetoothAdvertisingData, Non-standard, Obsolete, Property, Reference, txPower
txPower 只读特性在 BluetoothAdvertisingData interface returns the transmission power at which the device is broadcasting, measured in dBm. This is used to compute the path loss as this.txPower - this.rssi .
307 BluetoothCharacteristicProperties API, BluetoothCharacteristicProperties, Experimental, Interface, Reference, Web Bluetooth API
BluetoothCharacteristicProperties 接口的 Web Bluetooth API provides an object provides propertieds of a particular BluetoothRemoteGATTCharacteristic.
308 BluetoothDevice API, Bluetooth, BluetoothDevice, Experimental, Interface, Reference, Web Bluetooth API
The BluetoothDevice interface of the Web Bluetooth API represents a Bluetooth device inside a particular script execution environment.
309 BluetoothDevice.gatt API, BluetoothDevice, Experimental, GATT server, Property, Reference
BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer .
310 BluetoothDevice.name API, Bluetooth, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, name
BluetoothDevice.name 只读特性返回 DOMString that provides a human-readable name for the device.
311 BluetoothDevice.paired API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API
BluetoothDevice.paired 只读特性返回 布尔 value indicating whether the device is paired with the system.
312 BluetoothDevice.uuids API, BluetoothDevice, Experimental, Property, Reference, UUIDs, Web Bluetooth API
BluetoothDevice.uuids read-only property lists the UUIDs of GATT services provided by the device, that the current origin is allowed to access.
313 adData API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, adData
BluetoothDevice.adData read-only property returns instance of BluetoothAdvertisingData containing the most recent advertising data received for the device.
314 connectGATT() API, Method, Non-standard, Obsolete, Reference, Web Bluetooth API, connectGATT
The BluetoothDevice.connectGATT() method returns a Promise that resolves to an instance of BluetoothGATTRemoteServer .
315 deviceClass API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, deviceClass
BluetoothDevice.deviceClass read-only property returns a number representing the Bluetooth devices "Class of Device".
316 gattServer API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, gattServer
BluetoothDevice.gattServer read-only property returns a reference to the device's GATT server or null if the device is disconnected.
317 id API, BluetoothDevice, Experimental, Property, Reference, Web Bluetooth API, id
BluetoothDevice.id 只读特性返回 DOMString that uniquely identifies a device.
318 productID API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productID
BluetoothDevice.productID read-only property returns the 16-bit Product ID field in the pnp_id characteristic in the device_information service.
319 productVersion API, Bluetooth, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, productVersion
BluetoothDevice.productVersion read-only property returns the 16-bit Product Version field in the pnp_id characteristic in the device_information service.
320 vendorID API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorID
BluetoothDevice.vendorID read-only property returns the 16-bit Vendor ID field in the pnp_id characteristic in the device_information service.
321 vendorIDSource API, BluetoothDevice, Non-standard, Obsolete, Property, Reference, Web Bluetooth API, vendorIDSource
BluetoothDevice.vendorIDSource read-only property returns the Vendor ID Source field in the pnp_id characteristic in the device_information service.
322 BluetoothRemoteGATTCharacteristic API, Bluetooth, BluetoothGattCharacteristic, Experimental, Interface, Reference, Web Bluetooth API
BluetoothRemoteGattCharacteristic 接口在 Web Bluetooth API represents a GATT Characteristic, which is a basic data element that provides further information about a peripheral’s service.
323 BluetoothRemoteGATTCharacteristic.getDescriptor() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptor()
BluetoothRemoteGATTCharacteristic.getDescriptor() 方法返回 Promise that resolves to the first BluetoothGATTDescriptor for a given descriptor UUID.
324 BluetoothRemoteGATTCharacteristic.getDescriptors() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, getDescriptors()
BluetoothRemoteGATTCharacteristic.getDescriptors() 方法返回 Promise that resolves to an 数组 of all BluetoothGATTDescriptor objects for a given descriptor UUID.
325 BluetoothRemoteGATTCharacteristic.properties API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, properties
BluetoothRemoteGATTCharacteristic.properties 只读特性返回 BluetoothCharacteristicProperties instance containing the properties of this characteristic.
326 BluetoothRemoteGATTCharacteristic.readValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, readValue
BluetoothRemoteGATTCharacteristic.readValue() 方法返回 Promise that resolves to a DataView holding a duplicate of the value property if it is available and supported. Otherwise it throws an error.
327 BluetoothRemoteGATTCharacteristic.service API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API
BluetoothRemoteGATTCharacteristic.service read-only property returns the BluetoothGATTService this characteristic belongs to.
328 BluetoothRemoteGATTCharacteristic.startNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, startNotifications()
BluetoothRemoteGATTCharacteristic.startNotifications() 方法返回 Promise to the BluetoothRemoteGATTCharacteristic instance when there is an active notification on it.
329 BluetoothRemoteGATTCharacteristic.stopNotifications() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, stopNotifications
BluetoothRemoteGATTCharacteristic.stopNotifications() 方法返回 Promise to the BluetoothRemoteGATTCharacteristic instance when there is no longer an active notification on it.
330 BluetoothRemoteGATTCharacteristic.uuid API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Service, Web Bluetooth API, uuid
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.
331 BluetoothRemoteGATTCharacteristic.value API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, value
BluetoothRemoteGATTCharacteristic.value read-only property returns currently cached characteristic value. This value gets updated when the value of the characteristic is read or updated via a notification or indication.
332 BluetoothRemoteGATTCharacteristic.writeValue() API, Bluetooth, BluetoothRemoteGATTCharacteristic, Experimental, Property, Reference, Web Bluetooth API, writeValue
BluetoothRemoteGATTCharacteristic.writeValue() method sets the value property to the bytes contained in an ArrayBuffer 并返回 Promise .
333 BluetoothRemoteGATTDescriptor API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API
BluetoothRemoteGATTDescriptor 接口在 Web Bluetooth API provides a GATT Descriptor, which provides further information about a characteristic’s value.
334 characteristic API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Interface, Reference, Web Bluetooth API, characteristic
BluetoothRemoteGATTDescriptor.characteristic read-only property returns the BluetoothRemoteGATTCharacteristic this descriptor belongs to.
335 readValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Method, Reference, Web Bluetooth API, readValue()
BluetoothRemoteGATTDescriptor .readValue() 方法返回 Promise that resolves to an ArrayBuffer holding a duplicate  of the value property if it is available and supported. Otherwise it throws an error.
336 uuid API, Bluetooth, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, uuid
BluetoothRemoteGATTDescriptor.uuid read-only property returns the UUID of the characteristic descriptor, for example ' 00002902-0000-1000-8000-00805f9b34fb ' for theClient Characteristic Configuration descriptor.
337 value API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, value
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.
338 writeValue() API, Bluetooth, BluetoothGattDescriptor, BluetoothRemoteGATTDescriptor, Experimental, Property, Reference, Web Bluetooth API, writeValue()
BluetoothRemoteGATTDescriptor .writeValue() method sets the value property to the bytes contained in an ArrayBuffer 并返回 Promise .
339 BluetoothRemoteGATTServer API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Interface, Reference, Web Bluetooth API
BluetoothRemoteGATTServer 接口在 Web Bluetooth API represents a GATT Server on a remote device.
340 BluetoothRemoteGATTServer.connect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, connect()
BluetoothRemoteGATTServer.connect() method causes the script execution environment to connect to this.device .
341 BluetoothRemoteGATTServer.connected API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Property, Reference, Web Bluetooth API
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.
342 BluetoothRemoteGATTServer.device API, Bluethooth, BluetoothRemoteGATTServer, Experimental, Property, Reference
BluetoothRemoteGATTServer.device read-only property returns a reference to the BluetoothDevice running the server.
343 BluetoothRemoteGATTServer.disconnect() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, disconnect()
BluetoothRemoteGATTServer.disconnect() method causes the script execution environment to disconnect from this.device .
344 BluetoothRemoteGATTServer.getPrimaryService() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryService()
BluetoothRemoteGATTServer.getPrimaryService() method returns a promise to the primary BluetoothGATTService offered by the bluetooth device for a specified BluetoothServiceUUID .
345 BluetoothRemoteGATTServer.getPrimaryServices() API, Bluetooth, BluetoothRemoteGATTServer, Experimental, Method, Reference, Web Bluetooth API, getPrimaryServices()
BluetoothRemoteGATTServer.getPrimaryServices() method returns a promise to a list of primary BluetoothGATTService objects offered by the bluetooth device for a specified BluetoothServiceUUID .
346 BluetoothRemoteGATTService API, Bluetooth, BluetoothGattService, BluetoothRemoteGATTService, Experimental, Interface, Reference, Web Bluetooth API
BluetoothRemoteGATTService 接口在 Web Bluetooth API represents a service provided by a GATT server, including a device, a list of referenced services, and a list of the characteristics of this service.
347 device API, Bluetooth, BluetoothRemoteGATTService, Device, Experimental, Property, Reference, Web Bluetooth API
BluetoothGATTService.device read-only property returns information about a Bluetooth device through an instance of BluetoothDevice .
348 getCharacteristic() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristic()
BluetoothGATTService.getCharacteristic() method returns a Promise to an instance of BluetoothGATTCharacteristic for a given universally unique identifier (UUID).
349 getCharacteristics() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getCharacteristics()
BluetoothGATTService.getCharacteristics() method returns a Promise to a list of BluetoothGATTCharacteristic instances for a given universally unique identifier (UUID).
350 getIncludedService() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedService
BluetoothGATTService.getIncludedService() method returns a Promise to an instance of BluetoothGATTService for a given universally unique identifier (UUID).
351 getIncludedServices() API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, getIncludedServices()
BluetoothGATTService.getIncludedServices() method returns a Promise to an 数组 of BluetoothGATTService instances for an optional universally unique identifier (UUID).
352 isPrimary API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, isPrimary
BluetoothGATTService.isPrimary read-only property returns a 布尔 that indicates whether this is a primary service. If it is not a primary service, it is a secondary service.
353 uuid API, Bluetooth, BluetoothRemoteGATTService, Experimental, Property, Reference, Web Bluetooth API, uuid
BluetoothGATTService.uuid read-only property returns a DOMString representing the UUID of this service.
354 Body API, BODY, Experimental, Fetch, Fetch API, Interface, Reference, request
Body mixin 抓取 API represents the body of the response/request, allowing you to declare what its content type is and how it should be handled.
355 Body.arrayBuffer() API, ArrayBuffer, BODY, Experimental, Fetch, Method, Reference
arrayBuffer() 方法在 Body mixin takes a 响应 stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer .
356 Body.blob() API, BODY, Blob, Experimental, Fetch, Method, Reference
blob() 方法在 Body mixin takes a 响应 stream and reads it to completion. It returns a promise that resolves with a Blob .
357 Body.body API, BODY, Experimental, Fetch, Property, Reference, Streams
body 只读特性在 Body mixin is a simple getter used to expose a ReadableStream of the body contents.
358 Body.bodyUsed API, BODY, Experimental, Fetch, Property, Reference, bodyUsed
bodyUsed 只读特性在 Body mixin contains a 布尔 that indicates whether the body has been read yet.
359 Body.formData() API, BODY, Experimental, Fetch, Fetch API, FormData, Method, NeedsExample, Reference
formData() 方法在 Body mixin takes a 响应 stream and reads it to completion. It returns a promise that resolves with a FormData 对象。
360 Body.json() API, BODY, Experimental, Fetch, JSON, Method, Reference
json() 方法在 Body mixin takes a 响应 stream and reads it to completion. It returns a promise that resolves with the result of parsing the body text as JSON .
361 Body.text() API, BODY, Experimental, Fetch, Method, Reference, Text
text() method Body mixin takes a 响应 stream and reads it to completion. It returns a promise that resolves with a USVString object (text). The response is always decoded using UTF-8.
362 广播通道 API API, Broadcast Channel API, HTML API, Overview, Reference
广播通道 API allows simple communication between 浏览上下文 (that is windows , tabs , frames ,或 iframes ) with the same origin (usually pages from the same site).
363 BroadcastChannel API, Broadcast Channel API, Experimental, HTML API, Interface, Reference
BroadcastChannel interface represents a named channel that any 浏览上下文 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.
364 BroadcastChannel() API, Broadcast Channel API, BroadcastChannel, Constructor, Experimental, HTML API, Reference
BroadcastChannel() 构造函数创建新 BroadcastChannel and connects it to the underlying channel.
365 BroadcastChannel.close() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
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.
366 BroadcastChannel.name Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Property, Read-only, Reference
只读 BroadcastChannel.name 特性返回 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.
367 BroadcastChannel.onmessage API, Broadcast Channel API, BroadcastChannel, Event Handler, Experimental, HTML API, Property, Reference
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.
368 BroadcastChannel.onmessageerror API, BroadcastChannel, Event Handler, Property, Reference, onmessageerror
onmessageerror event handler of the BroadcastChannel interface is an EventListener , called whenever an MessageEvent 类型 messageerror is fired on the BroadcastChannel instance — that is, when it receives a message that cannot be deserialized .
369 BroadcastChannel.postMessage() API, Broadcast Channel API, BroadcastChannel, Experimental, HTML API, Method, Reference
BroadcastChannel.postMessage() sends a message, which can be of any kind of 对象 , to each listener in any 浏览上下文 with the same origin . The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel.
370 BroadcastChannel: message event Communication, Event, EventSource, Reference, events, message, messaging
message event is fired on a BroadcastChannel object when a message arrives on that channel.
371 BroadcastChannel: messageerror event 事件
messageerror event is fired on a BroadcastChannel object when a message arrives on the channel that can't be deserialized.
372 BudgetService API, BudgetService, Interface, Reference, Web Budget API
BudgetService 接口在 Web Budget API provides a programmatic interface to the user agent’s budget service. It is available in both document and worker environments.
373 BudgetService.getBudget() API, BudgetService, Method, Reference, Web Budget API, getBudget
getBudget() 特性为 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.
374 BudgetService.getCost() API, BudgetService, Method, Reference, Web Budget API, getCost
getCost() 特性为 BudgetService interface returns a Promise that resolves to a double indicating the worst-case background operation cost of the provided background operation.
375 BudgetService.reserve() API, BudgetService, Method, Reference, Web Budget API, reserve
reserve() 特性为 BudgetService interface returns a Promise that resolves to a boolean indicating whether the requested budget operation can be reserved.
376 BudgetState API, BudgetState, Interface, Reference, Web Budget API
BudgetState 接口的 Web Budget API provides the amount of the user agent's processing budget at a specific point in time.
377 BudgetState.budgetAt API, BudtetState, Property, Reference, Web Budget API, budgetAt
budgetAt 只读特性在 BudgetState interface returns the anticipated processing budget at the specified time.
378 BudgetState.time API, BudgetState, Property, Reference, Time, Web Budget API
time 只读特性在 BudgetState interface returns a timestamp at which the budgetAt value is valid.
379 BufferSource API, Interface, JavaScript, Reference, Typed Arrays
BufferSource is a typedef used to represent objects that are either themselves an ArrayBuffer , or which are a TypedArray providing an ArrayBufferView .
380 ByteLengthQueuingStrategy API, ByteLengthqueueingStrategy, Experimental, Interface, Reference, Streams
ByteLengthQueuingStrategy 接口的 Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
381 ByteLengthQueuingStrategy.ByteLengthQueuingStrategy() API, ByteLengthQueuingStrategy, Constructor, Experimental, Reference, Streams
ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy() 对象实例。
382 ByteLengthQueuingStrategy.size() API, ByteLengthqueueingStrategy, Experimental, Method, Reference, Streams, size
size() 方法在 ByteLengthQueueingStrategy interface returns the given chunk’s byteLength 特性。
383 ByteString API, DOM, DOM Reference, Reference, String, WebIDL
ByteString is a UTF-8 String that corresponds to the set of all possible sequences of bytes. ByteString maps to a 字符串 when returned in JavaScript; generally, it's only used when interfacing with protocols that use bytes and strings interchangably, such as HTTP.
384 CDATASection API, CDATASection, DOM, Interface, Reference
CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section.
385 CSS API, CSSOM, Interface, Painting, Reference
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.
386 CSS numeric factory functions API, CSS, CSS API, Houdini, Reference, factory function
CSS numeric factory functions are methods that return CSSUnitValues with the value being the numeric argument and the unit being the name of the method used.
387 CSS.RegisterProperty CSS, Houdini, Reference
Registering a custom property allows you to tell the browser how the custom property should behave; what are allowed types, whether the custom property inherits its value, and what the default value of the custom property is.
388 CSS.escape() API, CSS, CSSOM, Method, Reference, Static, escape()
CSS.escape() static method returns a CSSOMString containing the escaped string passed as parameter, mostly for use as part of a CSS selector.
389 CSS.paintWorklet (Static property) API, CSS, CSS Paint API, Experimental, Houdini, Painting, Property, Reference, Worklet, paintWorklet
paintWorklet is a static, read-only property of the CSS interface that provides access to the PaintWorklet , which programmatically generates an image where a CSS property expects a file.
390 CSS.supports() API, CSS, CSSOM, Method, Reference, supports
CSS.supports() 方法返回 布尔 value indicating if the browser supports a given CSS feature, or not.
391 CSS 计数器样式 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.
392 CSS 字体加载 API API, CSSFontLoading, Experimental, Fonts, NeedsContent, Reference
The CSS Font Loading API provides events and interfaces for dynamically loading font resources.
393 CSS Object Model (CSSOM) API, CSSOM, Overview, Reference
CSS Object Model is a set of APIs allowing the manipulation of CSS from JavaScript. It is much like the DOM, but for the CSS rather than the HTML. It allows users to read and modify CSS style dynamically.
394 Determining the dimensions of elements API, CSSOM View, Client width, Guide, Intermediate, client height, offsetHeight, offsetWidth, size of displayed content
There are several properties you can look at in order to determine the width and height of elements, and it can be tricky to determine which is the right one for your needs. This article is designed to help you make that decision. Note that all these properties are read-only. If you want to set the width and height of an element, use width and height or the overriding min-width and max-width ,和 min-height and max-height 特性。
395 Managing screen orientation API, Advanced, CSSOM View, Guide, Screen Orientation
Screen orientation is something slightly different than device orientation . Even if a device doesn't have the capacity to detect its own orientation, a screen always has one. And if a device is able to know its orientation, it's good to have the ability to control the screen orientation in order to preserve or adapt the interface of a web application.
396 Using dynamic styling information API, Beginner, CSSOM, Guide, NeedsBeginnerUpdate
The CSS Object Model (CSSOM), part of the DOM, exposes specific interfaces allowing manipulation of a wide amount of information regarding CSS. Initially defined in the DOM Level 2 Style recommendation, these interfaces forms now a specification, CSS Object Model (CSSOM) which aims at superseding it.
397 CSS Painting API API, CSS, CSS Paint API, Houdini, Painting, Reference
The CSS Painting API — part of the CSS Houdini umbrella of APIs — allows developers to write JavaScript functions that can draw directly into an element's background, border, or content.
398 Using the CSS Painting API CSS, CSS Paint API, Canvas, Houdini, Learn
The CSS Paint API is designed to enable developers to programmatically define images which can then be used anywhere a CSS image can be invoked, such as CSS background-image , border-image , mask-image ,等。
399 CSS Properties and Values API Houdini
The CSS Properties and Values API — part of the CSS Houdini umbrella of APIs — allows developers to explicitly define their css custom properties , allowing for property type checking, default values, and properties that do or do not inherit their value.
400 Using the CSS properties and values API API, CSS, CSS Properties and Values, Guide, Houdini, JavaScript, Learn
allows the registration of css custom properties , allowing for property type checking, default values, and properties that do or do not inherit their value.
401 CSS Typed Object Model API CSS Typed OM, CSS Typed Object Model API, Houdini, Reference
The CSS Typed Object Model API simplifies CSS property manipulation by exposing CSS values as typed JavaScript objects rather than strings. This not only simplifies CSS manipulation, but also lessens the negative impact on performance as compared to HTMLElement.style .
402 Using the CSS Typed Object Model CSS, CSS Typed OM, Houdini, Learn
This should get you started with understanding the CSS Typed OM. Take a look at all the CSS Typed OM interfaces to learn more.
403 CSSConditionRule API, CSSOM, Interface, Reference
An object implementing the CSSConditionRule interface represents a single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule .
404 CSSCounterStyleRule API, CSS Counter Styles, Interface, Reference
CSSCounterStyleRule interface represents an @counter-style at-rule .
405 CSSGroupingRule API, CSSOM, Interface, Reference
An object implementing the CSSGroupingRule interface represents any CSS at-rule that contains other rules nested within it.
406 CSSImageValue API, CSS Typed Object Model API, CSSImageValue, Experimental, Houdini, Interface, Reference
CSSImageValue 接口在 CSS Typed Object Model API represents values for properties that take an image, for example background-image , list-style-image ,或 border-image-source
407 CSSKeyframeRule API, CSS Animations, CSSOM, Experimental, Interface, Reference
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 ).
408 CSSKeyframesRule API, CSS Animations, CSSOM, Experimental, Interface, Reference
CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contents of a whole @keyframes at-rule . It implements the CSSRule interface with a type value of 7 ( CSSRule.KEYFRAMES_RULE ).
409 CSSKeywordValue API, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Interface, Reference
CSSKeywordValue 接口的 CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
410 CSSKeywordValue.CSSKeywordValue() API, CSS Typed Object Model API, CSSKeywordValue, Constructor, Experimental, Houdini, Reference
CSSKeywordValue 构造函数创建新 CSSKeywordValue object which represents CSS keywords and other identifiers.
411 CSSKeywordValue.value API, CSS Typed Object Model API, CSSKeywordValue, Experimental, Houdini, Property, Reference, value
value 特性为 CSSKeywordValue interface returns or sets the value of the CSSKeywordValue .
412 CSSMathSum API, CSS Typed Object Model API, CSSMathSum, Experimental, Houdini, Interface, Reference
CSSMathSum 接口在 CSS Typed Object Model API represents the result obtained by calling add() , sub() ,或 toSum() on CSSNumericValue .
413 CSSMathValue API, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Interface, Reference
CSSMathValue 接口在 CSS Typed Object Model API a base class for classes representing complex numeric values.
414 CSSMathValue.operator API, CSS Typed Object Model API, CSSMathValue, Experimental, Houdini, Operator, Property, Reference
CSSMathValue.operator 只读特性在 CSSMathValue interface indicates the operator that the current subtype represents. For example, if the current CSSMathValue subtype is CSSMathSum , this property will return the string "sum" .
415 CSSMatrix API, Reference
A CSSMatrix represents a homogeneous 4x4 matrix to which 2D or 3D transforms can be applied. This class was allegedly part of CSS Transitions Module Level 3 at some point, but is not present in the current Working Draft. Use DOMMatrix 代替。
416 CSSMediaRule API, CSSOM, Interface, Reference
CSSMediaRule interface represents a single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule CSSRule interface with a type value of 4 ( CSSRule.MEDIA_RULE ).
417 CSSNamespaceRule API, CSSOM, Interface, Reference
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 ).
418 CSSNamespaceRule.namespaceURI API, CSSNamespaceRule, CSSOM, Property, Reference, namespaceURI
CSSNamespaceRule.namespaceURI 只读特性返回 DOMString containing the text of the URI of the given namespace.
419 CSSNamespaceRule.prefix API, CSSNamespaceRule, CSSOM, Property, Reference, prefix
CSSNamespaceRule.prefix 只读特性返回 DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns null .
420 CSSNumericValue API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Interface, Reference
CSSNumericValue 接口在 CSS Typed Object Model API represents operations that all numeric values can perform.
421 CSSNumericValue.add() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, add()
add() 方法在 CSSNumericValue interface adds a supplied number to the CSSNumericValue .
422 CSSNumericValue.div() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, div()
div() 方法在 CSSNumericValue interface divides the CSSNumericValue by the supplied value.
423 CSSNumericValue.equals() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, equals()
equals() 方法在 CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal. To return a value of true , all passed values must be of the same type and value and must be in the same order. This allows structural equality to be tested quickly.
424 CSSNumericValue.max() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, max()
max() 方法在 CSSNumericValue interface returns the highest value from among the values passed. The passed values must be of the same type.
425 CSSNumericValue.min() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, min()
min() 方法在 CSSNumericValue interface returns the lowest value from among those values passed. The passed values must be of the same type.
426 CSSNumericValue.mul() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, mul()
mul() 方法在 CSSNumericValue interface multiplies the CSSNumericValue by the supplied value.
427 CSSNumericValue.parse() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, parse()
parse() 方法在 CSSNumericValue interface converts a value string into an object whose members are value and the units.
428 CSSNumericValue.sub() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, sub()
sub() 方法在 CSSNumericValue interface subtracts a supplied number from the CSSNumericValue .
429 CSSNumericValue.sum() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, sum()
sub() 方法在 CSSNumericValue interface subtracts a supplied number from the CSSNumericValue .
430 CSSNumericValue.to() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, to()
to() 方法在 CSSNumericValue interface converts a numberic value from one unit to another.
431 CSSNumericValue.toSum() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, toSum()
toSum() 方法在 CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
432 CSSNumericValue.type API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Property, Reference, Type
type() 方法在 CSSNumericValue interface returns the type of CSSNumericValue , one of angle , flex , frequency , length , resolution , percent , percentHint ,或 time .
433 CSSOMString API, CSSOM, Reference
CSSOMString is used to denote string data in CSSOM specifications and can refer to either DOMString or USVString . When a specification says CSSOMString , it depends on the browser vendors to choose whether to use DOMString or USVString . While browser implementations that use UTF-8 internally to represent strings in memory can use USVString when the specification says CSSOMString , implementations that already represent strings as 16-bit sequences might choose to use DOMString 代替。
434 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 ).
435 CSSPositionValue API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Interface, Reference
CSSPositionValue 接口的 CSS Typed Object Model API represents values for properties that take a position, for example object-position .
436 CSSPositionValue.CSSPositionValue() API, CSS Typed Object Model API, CSSPositionValue, Constructor, Experimental, Houdini, Reference
CSSPositionValue 构造函数创建新 CSSPositionValue object which represents values for properties that take a position, for example object-position .
437 CSSPositionValue.x API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, x
x 特性为 CSSPositionValue interface returns returns the item's position along the web page's horizontal axis.
438 CSSPositionValue.y API, CSS Typed Object Model API, CSSPositionValue, Experimental, Houdini, Property, Reference, y
y 特性为 CSSPositionValue interface returns the item's position along the vertical axis.
439 CSSPrimitiveValue API, CSSPrimitiveValue, Interface, Reference
CSSPrimitiveValue interface derives from the CSSValue interface and represents the current computed value of a CSS property.
440 CSSPrimitiveValue.getCounterValue() API, CSSPrimitiveValue, Method, NeedsExample, getCounterValue
getCounterValue() 方法在 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 接口。
441 CSSPrimitiveValue.getFloatValue() API, CSSPrimitiveValue, Method, getFloatValue
getFloatValue() 方法在 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 被引发。
442 CSSPrimitiveValue.getRGBColorValue() API, CSSPrimitiveValue, Method, getRGBColorValue
getRGBColorValue() 方法在 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 接口。
443 CSSPrimitiveValue.getRectValue() API, CSSPrimitiveValue, Method, getRectValue
getRectValue() 方法在 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 接口。
444 CSSPrimitiveValue.getStringValue() API, CSSPrimitiveValue, Method, getStringValue
getStringValue() 方法在 CSSPrimitiveValue interface is used to get a string value. If this CSS value doesn't contain a string value, a DOMException 被引发。
445 CSSPrimitiveValue.primitiveType API, CSSPrimitiveValue, Property, Read-only, Reference, primitiveValue
primitiveType 只读特性在 CSSPrimitiveValue interface represents the type of a CSS value.
446 CSSPrimitiveValue.setFloatValue() API, CSSPrimitiveValue, Method, NeedsExample, setFloatValue
setFloatValue() 方法在 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 会被引发。
447 CSSPrimitiveValue.setStringValue() API, CSSPrimitiveValue, Method, NeedsExample, setStringValue
setStringValue() 方法在 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 会被引发。
448 CSSPseudoElement API, CSSPseudoElement, Element, Experimental, Interface, Reference
CSSPseudoElement interface represents a pseudo-element that may be the target of an event or animated using the Web 动画 API . Instances of this interface may be obtained by calling Element.pseudo() .
449 CSSPseudoElement.element API, CSSPseudoElement, Element, Experimental, Property, Reference
element 只读特性在 CSSPseudoElement interface returns a reference to the originating element of the pseudo-element, in other words its parent element.
450 CSSPseudoElement.type API, CSSPseudoElement, Experimental, Property, Reference, Type
type 只读特性在 CSSPseudoElement interface returns the type of the pseudo-element as a string, represented in the form of a CSS selector .
451 CSSRule API, CSSOM, Interface, Reference
CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants 以下章节。
452 CSSRule.cssText API, CSSOM, NeedsSpecTable, Property, Reference
cssText 特性为 CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
453 CSSRule.parentStyleSheet API, CSSOM, CSSRule, NeedsSpecTable, Property, Reference
parentStyleSheet 特性为 CSSRule interface returns the StyleSheet object in which the current rule is defined.
454 CSSRuleList API, CSSOM, Interface, Reference
A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule 对象。
455 CSSStyleDeclaration API, CSSOM, CSSRule, Interface, Reference
CSSStyleDeclaration interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
456 CSSStyleDeclaration.cssText API, CSSOM, NeedsSpecTable, Reference
cssText 特性为 CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.
457 CSSStyleDeclaration.getPropertyCSSValue() API, CSSOM, Method, Obsolete, Reference
CSSStyleDeclaration.getPropertyCSSValue() method interface returns a CSSValue containing the CSS value for a property.
458 CSSStyleDeclaration.getPropertyPriority() API, CSSOM, Method, Reference
CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property.
459 CSSStyleDeclaration.getPropertyValue() API, CSSOM, Method, Reference
CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property.
460 CSSStyleDeclaration.item() API, CSSOM, Method, Reference
CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index
461 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.
462 CSSStyleDeclaration.parentRule API, CSSOM, Property, Reference
CSSStyleDeclaration.parentRule 只读特性返回 CSSRule that is the parent of this style block
463 CSSStyleDeclaration.removeProperty() API, CSSOM, Method, Reference
CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
464 CSSStyleDeclaration.setProperty() API, CSSOM, Method, Reference
CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
465 CSSStyleRule API, CSSOM, CSSStyleRule, Interface, Reference
CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 ( CSSRule.STYLE_RULE ).
466 CSSStyleRule.selectorText API, CSSOM, CSSStyleRule, Reference
CSSRule.selectorText property gets the textual representation of the selector for the rule set. This is readonly in some browsers; to set stylesheet rules dynamically cross-browser, see Using dynamic styling information .
467 CSSStyleRule.style API, CSSOM, NeedsSpecTable, Property, Reference
CSSRule.style property is the CSSStyleDeclaration interface for the declaration block CSSRule .
468 CSSStyleRule.styleMap
styleMap 只读特性在 CSSStyleRule interface returns a StylePropertyMap object which provides access the rule's property-value pairs.
469 CSSStyleSheet API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Interface, Layout, Object Model, Reference, StyleSheet
CSSStyleSheet interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet.
470 CSSStyleSheet.addRule() API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Style, StyleSheet, addRule, legacy, rules
过时 CSSStyleSheet 接口的 addRule() legacy method adds a new rule to the stylesheet. You should avoid using this method, and should instead use the more standard insertRule() 方法。
471 CSSStyleSheet.cssRules API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Property, Read-only, Reference, StyleSheet
只读 CSSStyleSheet property cssRules returns a live CSSRuleList which provides a real-time, up-to-date list of every CSS rule which comprises the stylesheet.
472 CSSStyleSheet.deleteRule() API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Reference, Rule, StyleSheet, delete, deleteRule, remove
CSSStyleSheet 方法 deleteRule() removes a rule from the stylesheet object.
473 CSSStyleSheet.insertRule() API, CSSOM, CSSStyleSheet, Method, Reference
CSSStyleSheet.insertRule() method inserts a new CSS rule current style sheet , with some restrictions .
474 CSSStyleSheet.ownerRule @import, API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Property, Read-only, Reference, StyleSheet, import, ownerRule
只读 CSSStyleSheet property ownerRule 返回 CSSImportRule corresponding to the @import at-rule which imported the stylesheet into the document.
475 CSSStyleSheet.removeRule() API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Method, Object Model, Obsolete, Reference, Rule, StyleSheet, delete, legacy, remove, removeRule
过时 CSSStyleSheet 方法 removeRule() removes a rule from the stylesheet object.
476 CSSStyleSheet.rules API, CSS, CSSOM, CSSOM API, CSSStyleSheet, Layout, Object Model, Obsolete, Property, Read-only, Reference, Style, StyleSheet, legacy
rules 弃用 legacy property CSSStyleSheet interface. Functionally identical to the preferred cssRules property, it provides access to a live-updating list of the CSS rules comprising the stylesheet.
477 CSSStyleValue API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Interface, Reference
CSSStyleValue 接口的 CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.
478 CSSStyleValue.parse() API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parse()
parse() 方法在 CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue 对象。
479 CSSStyleValue.parseAll() API, CSS Typed Object Model API, CSSStyleValue, Experimental, Houdini, Method, Reference, parseAll()
parseAll() 方法在 CSSStyleValue interface sets all occurences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.
480 CSSSupportsRule API, CSSOM, Interface, Reference
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 ).
481 CSSUnitValue API, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Interface, Reference
CSSUnitValue 接口在 CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue .
482 CSSUnitValue.CSSUnitValue() API, CSS Typed Object Model API, CSSUnitValue, Constructor, Experimental, Houdini, Reference
CSSUnitValue() 构造函数创建新 CSSUnitValue object which returns a new CSSUnitValue object which represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue .
483 CSSUnitValue.unit API, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Property, Reference, unit
CSSUnitValue.unit 只读特性在 CSSUnitValue interface returns a USVString indicating the type of unit.
484 CSSUnitValue.value API, CSS Typed Object Model API, CSSUnitValue, Experimental, Houdini, Property, Reference, value
CSSUnitValue.value 特性为 CSSUnitValue interface returns a double indicating the number of units.
485 CSSUnparsedValue API, CSS Typed Object Model API, CSSUnparsedValue, Experimental, Houdini, Interface, NeedsExample, Reference
CSSUnparsedValue 接口在 CSS Typed Object Model API represents property values that reference custom properties . It consists of a list of string fragments and variable references.
486 CSSUnparsedValue.CSSUnparsedValue() API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, NeedsExample, Reference
CSSUnparsedValue() 构造函数创建新 CSSUnparsedValue object which represents property values that reference custom properties.
487 CSSUnparsedValue.entries() API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Entries, Experimental, Houdini, Method, NeedsExample, Reference
CSSUnparsedValue.entries() method returns an array of a given object's own enumerable property [key, value] pairs in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
488 CSSUnparsedValue.forEach() API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, forEach()
CSSUnparsedValue.forEach() method executes a provided function once for each element of the CSSUnparsedValue .
489 CSSUnparsedValue.keys() API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, keys()
CSSUnparsedValue.keys() method returns a new Array Iterator object that contains the keys for each index in the array.
490 CSSUnparsedValue.length API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, NeedsExample, Property, Reference, length
length 只读特性在 CSSUnparsedValue interface returns the number of items in the object.
491 CSSUnparsedValue.values() API, CSS Typed Object Model API, CSSUnparsedValue, Constructor, Experimental, Houdini, Method, NeedsExample, Reference, values()
CSSUnparsedValue.values() method returns a new Array Iterator object that contains the values for each index in the CSSUnparsedValue object.
492 CSSValue API, CSSValue, DOM, Interface, NeedsExample, Reference
CSSValue interface represents the current computed value of a CSS property.
493 CSSValue.cssText API, CSSValue, Property, Reference, cssText
cssText 特性为 CSSValue interface represents the current computed CSS property value.
494 CSSValue.cssValueType API, CSSValue, Property, Read-only, Reference, cssValueType
cssValueType 只读特性在 CSSValue interface represents the type of the current computed CSS property value.
495 CSSValueList API, CSSValueList, DOM, Interface, Reference
CSSValueList interface derives from the CSSValue interface and provides the abstraction of an ordered collection of CSS values.
496 CSSValueList.item() API, CSSValueList, Method, Reference, item
item() 方法在 CSSValueList interface is used to retrieve a CSSValue by ordinal index.
497 CSSValueList.length API, CSSValueList, NeedsExample, Property, Read-only, Reference, length
length 只读特性在 CSSValueList interface represents the number of CSSValue s in the list. The range of valid values of the indices is 0 to length-1 包括在内。
498 CSSVariableReferenceValue API, CSS Typed Object Model API, CSSVariableReferenceValue, Experimental, Houdini, Interface, Reference
CSSVariableReferenceValue 接口在 CSS Typed Object Model API allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes.
499 CSSVariableReferenceValue.CSSVariableReferenceValue() API, CSS Typed Object Model API, CSSVariableReferenceValue, Constructor, Houdini, NeedsExample, Reference
CSSVariableReferenceValue 接口在 CSS Typed Object Model API allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes.
500 CSSVariableReferenceValue.fallback API, CSS Typed Object Model API, CSSVariableReferenceValue, Houdini, NeedsExample, Property, Reference, fallback
fallback 只读特性在 CSSVariableReferenceValue interface returns a custom name for a built-in CSS value.
501 CSSVariableReferenceValue.variable API, CSS Typed Object Model API, CSSVariableReferenceValue, Houdini, NeedsExample, Property, Reference, variable
variable 特性为 CSSVariableReferenceValue interface a built-in CSS value to be returned by the custom name.
502 缓存 API, Cache, Cache API, Experimental, Interface, Offline, Reference, Service Workers, Service worker API, Storage
缓存 interface provides a storage mechanism for Request / 响应 object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the 缓存 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.
503 Cache.add() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker
add() 方法在 缓存 interface takes a URL, retrieves it, and adds the resulting response object to the given cache.
504 Cache.addAll() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, addAll
addAll() 方法在 缓存 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.
505 Cache.delete() API, Cache, Experimental, Method, NeedsContent, NeedsExample, Reference, Service Workers, ServiceWorker, delete
delete() 方法在 缓存 interface finds the 缓存 entry whose key is the request, and if found, deletes the 缓存 entry and returns a Promise that resolves to true . If no 缓存 entry is found, it resolves to false .
506 Cache.keys() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, keys
keys() 方法在 缓存 interface returns a Promise that resolves to an array of 缓存 键。
507 Cache.match() API, Cache, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
match() 方法在 缓存 interface returns a Promise that resolves to the 响应 associated with the first matching request in the 缓存 object. If no match is found, the Promise resolves to undefined .
508 Cache.matchAll() API, Cache, Experimental, Method, Reference, Service Workers, ServiceWorker, matchAll
matchAll() 方法在 缓存 interface returns a Promise that resolves to an array of all matching responses in the 缓存 对象。
509 Cache.put() API, Cache, Experimental, Method, NeedsExample, Reference, Service Workers, Service worker API, ServiceWorker, put
put() 方法在 缓存 interface allows key/value pairs to be added to the current 缓存 对象。
510 CacheStorage API, CacheStorage, Experimental, Interface, Reference, Service Workers, ServiceWorker
CacheStorage interface represents the storage for 缓存 对象。
511 CacheStorage.delete() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, delete
delete () 方法在 CacheStorage interface finds the 缓存 object matching the cacheName , and if found, deletes the 缓存 object and returns a Promise that resolves to true . If no 缓存 object is found, it returns false .
512 CacheStorage.has() API, CacheStorage, Experimental, Method, Reference, Service Workers, ServiceWorker, has
has() 方法在 CacheStorage interface returns a Promise that resolves to true 缓存 object matches the cacheName .
513 CacheStorage.keys() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, keys
keys () 方法在 CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named 缓存 objects tracked by the CacheStorage object in the order they were created. Use this method to iterate over a list of all 缓存 对象。
514 CacheStorage.match() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, match
match() 方法在 CacheStorage interface (available globally as caches ) checks if a given Request or url string is a key for a stored 响应 . This method returns a Promise 对于 响应 ,或 undefined if no match is found.
515 CacheStorage.open() API, CacheStorage, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, open
open() 方法在 CacheStorage interface returns a Promise that resolves to the 缓存 object matching the cacheName .
516 画布 API API, Canvas, JavaScript, Overview, Reference
画布 API provides a means for drawing graphics via JavaScript HTML <canvas> element. Among other things, it can be used for animation, game graphics, data visualization, photo manipulation, and real-time video processing.
517 A basic ray-caster Advanced, Canvas, Example, Graphics, HTML, Web
518 Canvas tutorial Canvas, Graphics, Guide, HTML, HTML5, Intermediate, Web
This tutorial describes how to use the <canvas> element to draw 2D graphics, starting with the basics. The examples provided should give you some clear ideas what you can do with canvas, and will provide code snippets that may get you started in building your own content.
519 Advanced animations Canvas, Graphics, Tutorial
We are going to use a ball for our animation studies, so let's first draw that ball onto the canvas. The following code will set us up.
520 Applying styles and colors Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
Up until now we have only seen methods of the drawing context. If we want to apply colors to a shape, there are two important properties we can use: fillStyle and strokeStyle .
521 Basic animations Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
Probably the biggest limitation is, that once a shape gets drawn, it stays that way. If we need to move it we have to redraw it and everything that was drawn before it. It takes a lot of time to redraw complex frames and the performance depends highly on the speed of the computer it's running on.
522 Basic usage of canvas Canvas, Graphics, HTML, Intermediate, Tutorial
At first sight a <canvas> looks like the <img> element, with the only clear difference being that it doesn't have the src and alt attributes. Indeed, the <canvas> element has only two attributes, width and height . These are both optional and can also be set using DOM properties 。当没有 width and height attributes are specified, the canvas will initially be 300 pixels wide and 150 pixels high. The element can be sized arbitrarily by CSS , but during rendering the image is scaled to fit its layout size: if the CSS sizing doesn't respect the ratio of the initial canvas, it will appear distorted.
523 Compositing and clipping Canvas, Graphics, HTML, HTML5, Intermediate, Tutorial
We can not only draw new shapes behind existing shapes but we can also use it to mask off certain areas, clear sections from the canvas (not limited to rectangles like the clearRect() method does) and more.
524 Compositing example Canvas, Example, Graphics, HTML, HTML5, Tutorial
This sample program demonstrates a number of compositing operations . The output looks like this:
525 Drawing shapes with canvas Canvas, Graphics, HTML, HTML Canvas, HTML5, Intermediate, Tutorial
Before we can start drawing, we need to talk about the canvas grid or coordinate space . Our HTML skeleton from the previous page had a canvas element 150 pixels wide and 150 pixels high. To the right, you see this canvas with the default grid overlayed. Normally 1 unit in the grid corresponds to 1 pixel on the canvas. The origin of this grid is positioned in the top left corner at coordinate (0,0). All elements are placed relative to this origin. So the position of the top left corner of the blue square becomes x pixels from the left and y pixels from the top, at coordinate (x,y). Later in this tutorial we'll see how we can translate the origin to a different position, rotate the grid and even scale it, but for now we'll stick to the default.
526 绘制文本 Canvas, Graphics, Intermediate, Tutorial
The canvas rendering context provides two methods to render text:
527 Finale Canvas, Graphics, Tutorial
There are a variety of demos and further explanations about canvas on these sites:
528 Hit regions and accessibility Canvas, Graphics, Tutorial
The content inside the <canvas> ... </canvas> tags can be used as a fallback for browsers which don't support canvas rendering. It's also very useful for assistive technology users (like screen readers) which can read and interpret the sub DOM in it. A good example at html5accessibility.com demonstrates how this can be done:
529 Optimizing canvas Advanced, Canvas, Graphics, HTML, HTML5, Tutorial
This article provides suggestions for optimizing your use of the canvas element to ensure that your graphics perform well.
530 Pixel manipulation with canvas Canvas, Graphics, Intermediate, Tutorial
ImageData object represents the underlying pixel data of an area of a canvas object. It contains the following read-only attributes:
531 Transformations Canvas, Graphics, Guide, HTML, HTML5, Intermediate, Web
Before we look at the transformation methods, let's look at two other methods which are indispensable once you start generating ever more complex drawings.
532 Using images Advanced, Canvas, Graphics, HTML, Tutorial
Importing images into a canvas is basically a two step process:
533 Manipulating video using canvas API, Canvas, Chroma-Key, Editing, Guide, Manipulating, Video, effects
534 CanvasCaptureMediaStreamTrack CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Interface, Media, Media Capture, Reference, Web
CanvasCaptureMediaStreamTrack interface represents the video track contained in a MediaStream being generated from a <canvas> following a call to HTMLCanvasElement.captureStream() .
535 CanvasCaptureMediaStreamTrack.canvas Canvas, CanvasCaptureMediaStreamTrack, Experimental, Frame Capture, Media Capture, Property, Read-only, Reference, Web
CanvasCaptureMediaStreamTrack canvas read-only property returns the HTMLCanvasElement from which frames are being captured.
536 CanvasCaptureMediaStreamTrack.requestFrame() Canvas, CanvasCaptureMediaStream, DOM, Experimental, Frame Capture, Media, Method, Reference, requestFrame
CanvasCaptureMediaStreamTrack 方法 requestFrame() requests that a frame be captured from the canvas and sent to the stream.
537 CanvasGradient API, Canvas, CanvasGradient, Gradients, Interface, Reference
CanvasGradient interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient() .
538 CanvasGradient.addColorStop() API, Canvas, CanvasGradient, Gradients, Method, Reference
CanvasGradient .addColorStop() method adds a new color stop, defined by an offset color , to a given canvas gradient.
539 CanvasImageSource API, Canvas, Helper, Reference
CanvasImageSource provides a mechanism for other interfaces to be used as image sources for some methods of the CanvasDrawImage and CanvasFillStrokeStyles interfaces. It’s just an internal helper type to simplify the specification. It’s not an interface and there are no objects implementing it.
540 CanvasPattern API, Canvas, Interface, Reference
CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() 方法。
541 CanvasPattern.setTransform() API, Canvas, CanvasPattern, Experimental, Method, Reference
CanvasPattern .setTransform() method uses an SVGMatrix object as the pattern's transformation matrix and invokes it on the pattern.
542 CanvasRenderingContext2D API, Canvas, CanvasRenderingContext2D, Games, Graphics, Reference
CanvasRenderingContext2D interface, part of the 画布 API , provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects.
543 CanvasRenderingContext2D.addHitRegion() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
CanvasRenderingContext2D 方法 addHitRegion() adds a hit region to the bitmap.
544 CanvasRenderingContext2D.arc() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .arc() 方法在 Canvas 2D API adds a circular arc to the current sub-path.
545 CanvasRenderingContext2D.arcTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .arcTo() method of the Canvas 2D API adds a circular arc to the current sub-path, using the given control points and radius. The arc is automatically connected to the path's latest point with a straight line, if necessary for the specified parameters.
546 CanvasRenderingContext2D.beginPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .beginPath() method of the Canvas 2D API starts a new path by emptying the list of sub-paths. Call this method when you want to create a new path.
547 CanvasRenderingContext2D.bezierCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .bezierCurveTo() method of the Canvas 2D API adds a cubic Bézier curve to the current sub-path. It requires three points: the first two are control points and the third one is the end point. The starting point is the latest point in the current path, which can be changed using moveTo() before creating the Bézier curve.
548 CanvasRenderingContext2D.canvas API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D.canvas property, part of the 画布 API , is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated <canvas> 元素。
549 CanvasRenderingContext2D.clearHitRegions() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
CanvasRenderingContext2D 方法 clearHitRegions() removes all hit regions from the canvas.
550 CanvasRenderingContext2D.clearRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .clearRect() method of the Canvas 2D API erases the pixels in a rectangular area by setting them to transparent black.
551 CanvasRenderingContext2D.clip() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .clip() method of the Canvas 2D API turns the current or given path into the current clipping region. It replaces any previous clipping region.
552 CanvasRenderingContext2D.closePath() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .closePath() method of the Canvas 2D API attempts to add a straight line from the current point to the start of the current sub-path. If the shape has already been closed or has only one point, this function does nothing.
553 CanvasRenderingContext2D.createImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D.createImageData() method of the Canvas 2D API creates a new, blank ImageData object with the specified dimensions. All of the pixels in the new object are transparent black.
554 CanvasRenderingContext2D.createLinearGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
CanvasRenderingContext2D .createLinearGradient() method of the Canvas 2D API creates a gradient along the line connecting two given coordinates.
555 CanvasRenderingContext2D.createPattern() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .createPattern() method of the Canvas 2D API creates a pattern using the specified image and repetition. This method returns a CanvasPattern .
556 CanvasRenderingContext2D.createRadialGradient() API, Canvas, CanvasRenderingContext2D, Gradients, Method, Reference
CanvasRenderingContext2D .createRadialGradient() method of the Canvas 2D API creates a radial gradient using the size and coordinates of two circles.
557 CanvasRenderingContext2D.currentTransform API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
CanvasRenderingContext2D .currentTransform property of the Canvas 2D API returns or sets a DOMMatrix (current specification) or SVGMatrix (old specification) object for the current transformation matrix.
558 CanvasRenderingContext2D.direction API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference
CanvasRenderingContext2D .direction property of the Canvas 2D API specifies the current text direction used to draw text.
559 CanvasRenderingContext2D.drawFocusIfNeeded() API, Accessibility, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .drawFocusIfNeeded() method of the Canvas 2D API draws a focus ring around the current or given path, if the specified element is focused.
560 CanvasRenderingContext2D.drawImage() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D.drawImage() method of the Canvas 2D API provides different ways to draw an image onto the canvas.
561 CanvasRenderingContext2D.drawWidgetAsOnScreen() API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The non-standard and internal only CanvasRenderingContext2D.drawWidgetAsOnScreen() method of the Canvas 2D API renders the root widget of a window into the canvas. Unlike drawWindow() , this API uses the operating system to snapshot the widget on-screen, rather than reading from Gecko's own compositor.
562 CanvasRenderingContext2D.drawWindow() API, Canvas, CanvasRenderingContext2D, Method, Non-standard, Reference
The non-standard and internal only CanvasRenderingContext2D .drawWindow() method of the Canvas 2D API renders a region of a window into the canvas . The contents of the window's viewport are rendered, ignoring viewport clipping and scrolling.
563 CanvasRenderingContext2D.ellipse() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .ellipse() method of the Canvas 2D API adds an elliptical arc to the current sub-path.
564 CanvasRenderingContext2D.fill() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .fill() method of the Canvas 2D API fills the current or given path with the current fillStyle .
565 CanvasRenderingContext2D.fillRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .fillRect() method of the Canvas 2D API draws a rectangle that is filled according to the current fillStyle .
566 CanvasRenderingContext2D.fillStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .fillStyle 特性为 Canvas 2D API specifies the color, gradient, or pattern to use inside shapes. The default style is #000 (黑色)。
567 CanvasRenderingContext2D.fillText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Fill Text, Filling Text, Method, Reference, Text, fillText
CanvasRenderingContext2D 方法 fillText() , part of the Canvas 2D API, draws a text string at the specified coordinates, filling the string's characters with the current fillStyle . An optional parameter allows specifying a maximum width for the rendered text, which the 用户代理 will achieve by condensing the text or by using a lower font size.
568 CanvasRenderingContext2D.filter API, Canvas, CanvasRenderingContext2D, Experimental, Property
CanvasRenderingContext2D .filter property of the Canvas 2D API provides filter effects such as blurring and grayscaling. It is similar to the CSS filter property and accepts the same values.
569 CanvasRenderingContext2D.font API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .font property of the Canvas 2D API specifies the current text style to use when drawing text. This string uses the same syntax as the CSS font specifier.
570 CanvasRenderingContext2D.getImageData() API, Canvas, Canvas API, CanvasRenderingContext2D, Cut, Graphics, Image, ImageData, Method, Reference, copy, getImageData, img
CanvasRenderingContext2D 方法 getImageData() of the Canvas 2D API returns an ImageData object representing the underlying pixel data for a specified portion of the canvas.
571 CanvasRenderingContext2D.getLineDash() API, Canvas, CanvasRenderingContext2D, Method, Reference
getLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface gets the current line dash pattern.
572 CanvasRenderingContext2D.getTransform() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .getTransform() method of the Canvas 2D API retrieves the current transformation matrix being applied to the context.
573 CanvasRenderingContext2D.globalAlpha API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .globalAlpha property of the Canvas 2D API specifies the alpha (transparency) value that is applied to shapes and images before they are drawn onto the canvas.
574 CanvasRenderingContext2D.globalCompositeOperation API, Blending, Canvas, CanvasRenderingContext2D, Compositing, Property, Reference
CanvasRenderingContext2D .globalCompositeOperation property of the Canvas 2D API sets the type of compositing operation to apply when drawing new shapes.
575 CanvasRenderingContext2D.imageSmoothingEnabled API, Canvas, CanvasRenderingContext2D, Property, Reference
imageSmoothingEnabled 特性为 CanvasRenderingContext2D interface, part of the 画布 API , determines whether scaled images are smoothed ( true , default) or not ( false ). On getting the imageSmoothingEnabled property, the last value it was set to is returned.
576 CanvasRenderingContext2D.imageSmoothingQuality API, Canvas, CanvasRenderingContext2D, Experimental, Property, Reference, imageSmoothingQuality
imageSmoothingQuality 特性为 CanvasRenderingContext2D interface, part of the 画布 API , lets you set the quality of image smoothing.
577 CanvasRenderingContext2D.isPointInPath() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .isPointInPath() method of the Canvas 2D API reports whether or not the specified point is contained in the current path.
578 CanvasRenderingContext2D.isPointInStroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .isPointInStroke() method of the Canvas 2D API reports whether or not the specified point is inside the area contained by the stroking of a path.
579 CanvasRenderingContext2D.lineCap API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .lineCap property of the Canvas 2D API determines the shape used to draw the end points of lines.
580 CanvasRenderingContext2D.lineDashOffset API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .lineDashOffset property of the Canvas 2D API sets the line dash offset, or "phase."
581 CanvasRenderingContext2D.lineJoin API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .lineJoin property of the Canvas 2D API determines the shape used to join two line segments where they meet.
582 CanvasRenderingContext2D.lineTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D 方法 lineTo() , part of the Canvas 2D API, adds a straight line to the current sub-path by connecting the sub-path's last point to the specified (x, y) 坐标。
583 CanvasRenderingContext2D.lineWidth API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .lineWidth property of the Canvas 2D API sets the thickness of lines.
584 CanvasRenderingContext2D.measureText() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .measureText() 方法返回 TextMetrics object that contains information about the measured text (such as its width, for example).
585 CanvasRenderingContext2D.miterLimit API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio.
586 CanvasRenderingContext2D.moveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .moveTo() method of the Canvas 2D API begins a new sub-path at the point specified by the given (x, y) 坐标。
587 CanvasRenderingContext2D.putImageData() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .putImageData() method of the Canvas 2D API paints data from the given ImageData object onto the canvas. If a dirty rectangle is provided, only the pixels from that rectangle are painted. This method is not affected by the canvas transformation matrix.
588 CanvasRenderingContext2D.quadraticCurveTo() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .quadraticCurveTo() method of the Canvas 2D API adds a quadratic Bézier curve to the current sub-path. It requires two points: the first one is a control point and the second one is the end point. The starting point is the latest point in the current path, which can be changed using moveTo() before creating the quadratic Bézier curve.
589 CanvasRenderingContext2D.rect() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .rect() method of the Canvas 2D API adds a rectangle to the current path.
590 CanvasRenderingContext2D.removeHitRegion() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
CanvasRenderingContext2D 方法 removeHitRegion() removes a given hit region from the canvas.
591 CanvasRenderingContext2D.resetTransform() Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
CanvasRenderingContext2D .resetTransform() method of the Canvas 2D API resets the current transform to the identity matrix.
592 CanvasRenderingContext2D.restore() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .restore() method of the Canvas 2D API restores the most recently saved canvas state by popping the top entry in the drawing state stack. If there is no saved state, this method does nothing.
593 CanvasRenderingContext2D.rotate() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .rotate() method of the Canvas 2D API adds a rotation to the transformation matrix.
594 CanvasRenderingContext2D.save() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .save() method of the Canvas 2D API saves the entire state of the canvas by pushing the current state onto a stack.
595 CanvasRenderingContext2D.scale() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .scale() method of the Canvas 2D API adds a scaling transformation to the canvas units horizontally and/or vertically.
596 CanvasRenderingContext2D.scrollPathIntoView() API, Canvas, CanvasRenderingContext2D, Experimental, Method, Reference
CanvasRenderingContext2D .scrollPathIntoView() method of the Canvas 2D API scrolls the current or given path into view. It is similar to Element.scrollIntoView() .
597 CanvasRenderingContext2D.setLineDash() API, Canvas, CanvasRenderingContext2D, Dashes, LInes, Method, Reference, patterns, setLineDash
setLineDash() method of the Canvas 2D API's CanvasRenderingContext2D interface sets the line dash pattern used when stroking lines. It uses an array of values that specify alternating lengths of lines and gaps which describe the pattern.
598 CanvasRenderingContext2D.setTransform() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .setTransform() method of the Canvas 2D API resets (overrides) the current transformation to the identity matrix, and then invokes a transformation described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
599 CanvasRenderingContext2D.shadowBlur API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .shadowBlur property of the Canvas 2D API specifies the amount of blur applied to shadows. The default is 0 (no blur).
600 CanvasRenderingContext2D.shadowColor API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .shadowColor property of the Canvas 2D API specifies the color of shadows.
601 CanvasRenderingContext2D.shadowOffsetX API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .shadowOffsetX property of the Canvas 2D API specifies the distance that shadows will be offset horizontally.
602 CanvasRenderingContext2D.shadowOffsetY API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .shadowOffsetY property of the Canvas 2D API specifies the distance that shadows will be offset vertically.
603 CanvasRenderingContext2D.stroke() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .stroke() method of the Canvas 2D API strokes (outlines) the current or given path with the current stroke style.
604 CanvasRenderingContext2D.strokeRect() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .strokeRect() method of the Canvas 2D API draws a rectangle that is stroked (outlined) according to the current strokeStyle and other context settings.
605 CanvasRenderingContext2D.strokeStyle API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D.strokeStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use for the strokes (outlines) around shapes. The default is #000 (黑色)。
606 CanvasRenderingContext2D.strokeText() API, Canvas, CanvasRenderingContext2D, Draw String, Draw Text, Drawing Strings, Drawing Text, Method, Reference, Stroke String, Stroking Text, strokeText
CanvasRenderingContext2D 方法 strokeText() , part of the Canvas 2D API, strokes — that is, draws the outlines of — the characters of a text string at the specified coordinates. An optional parameter allows specifying a maximum width for the rendered text, which the 用户代理 will achieve by condensing the text or by using a lower font size.
607 CanvasRenderingContext2D.textAlign API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .textAlign property of the Canvas 2D API specifies the current text alignment used when drawing text.
608 CanvasRenderingContext2D.textBaseline API, Canvas, CanvasRenderingContext2D, Property, Reference
CanvasRenderingContext2D .textBaseline property of the Canvas 2D API specifies the current text baseline used when drawing text.
609 CanvasRenderingContext2D.transform() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .transform() method of the Canvas 2D API multiplies the current transformation with the matrix described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.
610 CanvasRenderingContext2D.translate() API, Canvas, CanvasRenderingContext2D, Method, Reference
CanvasRenderingContext2D .translate() method of the Canvas 2D API adds a translation transformation to the current matrix.
611 CaretPosition API, CSSOM View, Experimental, Interface, Reference
CaretPosition interface represents the caret position, an indicator for the text insertion point. You can get a CaretPosition 使用 document.caretPositionFromPoint 方法。
612 通道消息 API API, Channel messaging, HTML API, Overview, Reference
通道消息 API 允许 2 个单独脚本在附加到同一文档的不同浏览上下文中运行 (如:2 个 IFrame、或主文档和 IFrame,2 个文档凭借 SharedWorker ,或 2 个工作者) 通过 2 端带有端口的双向通道 (或管道) 在彼此之间直接通信,传递消息。
613 Using channel messaging API, Channel messaging, HTML5, MessageChannel, MessagePort, Tutorial
通道消息 API allows two separate scripts running in different browsing contexts attached to the same document (e.g., two IFrames, or the main document and an IFrame, or two documents via a SharedWorker ) to communicate directly, passing messages between one another through two-way channels (or pipes) with a port at each end.
614 ChannelMergerNode API, ChannelMergerNode, Interface, Reference, Web Audio API
ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode , reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
615 ChannelMergerNode() API, Audio, ChannelMergerNode, Constructor, Reference, Web Audio API
ChannelMergerNode() 构造函数创建新 ChannelMergerNode 对象实例。
616 ChannelSplitterNode API, Audio, ChannelSplitterNode, Interface, Reference, Splitter, Web Audio, Web Audio API
ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode , separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
617 ChannelSplitterNode.ChannelSplitterNode() API, Audio, ChannelSplitterNode, Constructor, Reference, Splitter, Web Audio, Web Audio API
ChannelSplitterNode() constructor of the Web 音频 API creates a new ChannelSplitterNode object instance, representing a node that splits the input into a separate output for each of the source node's audio channels.
618 CharacterData API, DOM
CharacterData abstract interface represents a 节点 object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData : it is implemented by other interfaces, like 文本 , 注释 ,或 ProcessingInstruction which aren't abstract.
619 ChildNode API, DOM, Experimental, Interface, Node
ChildNode interface contains methods that are particular to 节点 objects that can have a parent.
620 ChildNode.after() API, DOM, Experimental, Method, Node, Reference
ChildNode.after() method inserts a set of 节点 or DOMString objects in the children list of this ChildNode 's parent, just after this ChildNode . DOMString objects are inserted as equivalent 文本 节点。
621 ChildNode.before() API, DOM, Experimental, Method, Node, Reference
ChildNode.before() method inserts a set of 节点 or DOMString objects in the children list of this ChildNode 's parent, just before this ChildNode . DOMString objects are inserted as equivalent 文本 节点。
622 ChildNode.remove() API, ChildNode, DOM, Experimental, Method
ChildNode.remove() method removes the object from the tree it belongs to.
623 ChildNode.replaceWith() API, DOM, Experimental, Method, Node, Reference
ChildNode.replaceWith() method replaces this ChildNode in the children list of its parent with a set of 节点 or DOMString 对象。 DOMString objects are inserted as equivalent 文本 节点。
624 Client API, Client, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorkerClient, ServiceWorkers
Client interface represents an executable context such as a Worker ,或 SharedWorker . Window clients are represented by the more-specific WindowClient . You can get Client / WindowClient objects from methods such as Clients.matchAll() and Clients.get() .
625 Client.frameType API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, frameType
frameType 只读特性在 Client interface indicates the type of browsing context of the current Client . This value can be one of auxiliary , top-level , nested ,或 none .
626 Client.id API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, id
id 只读特性在 Client interface returns the universally unique identifier of the Client 对象。
627 Client.postMessage() API, Client, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, postMessage
postMessage() 方法为 Client allows a service worker to send a message to a client (a Window , Worker ,或 SharedWorker ). The message is received in the " message " event on navigator.serviceWorker .
628 Client.type API, Client, Property, Reference, Service Workers, Type
type 只读特性在 Client interface indicates the type of client the service worker is controlling.
629 Client.url API, Client, Experimental, Property, Reference, Service Workers, URL
url 只读特性在 Client interface returns the URL of the current service worker client.
630 Clients API, Clients, Experimental, Interface, Reference, Service Workers, Service worker API, ServiceWorker, Workers
Clients interface provides access to Client objects. Access it via self .clients service worker .
631 Clients.claim() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, claim
claim() 方法在 Clients allows an active service worker to set itself as the controller for all clients within its scope . This triggers a " controllerchange " event on navigator.serviceWorker in any clients that become controlled by this service worker.
632 Clients.get() API, Clients, Experimental, Method, Reference, Service Workers, get
get () 方法在 Clients interface gets a service worker client matching a given id and returns it in a Promise .
633 Clients.matchAll() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker
matchAll() 方法在 Clients interface returns a Promise for a list of service worker Client objects. Include the 选项 parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker.
634 Clients.openWindow() API, Clients, Experimental, Method, Reference, Service Workers, ServiceWorker, openWindow
openWindow() 方法在 Clients interface creates a new top level browsing context and loads a given URL. If the calling script doesn't have permission to show popups, openWindow() will throw an InvalidAccessError.
635 Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Interface, Pasteboard, Reference, copy, paste
Clipboard interface implements the Clipboard API , providing—if the user grants permission—both read and write access to the contents of the system clipboard.
636 Clipboard.read() API, Clip, Clipboard, Clipboard API, Editing, Method, Reference, Scrap, Text, paste, read
read() 方法在 Clipboard interface requests a copy of the clipboard's contents, delivering the data to the returned Promise when the promise is resolved. Unlike readText() read() method can return arbitrary data, such as images.
637 Clipboard.readText() API, Async Clipboard API, Clip, Clipboard, Clipboard API, Cut, Editing, Method, Pasteboard, Reference, Text, copy, paste, readText
Clipboard 接口的 readText() 方法返回 Promise which resolves with a copy of the textual contents of the system clipboard.
638 Clipboard.write() API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, write
Clipboard 方法 write() writes arbitrary data, such as images, to the clipboard.
639 Clipboard.writeText() API, Clip, Clipboard, Clipboard API, Cut, Method, Pasteboard, Reference, Scrap, copy, writeText
Clipboard 接口的 writeText() property writes the specified text string to the system clipboard.
640 Clipboard API API, Async Clipboard API, Clipboard, Clipboard API, Clipboard Event API, ClipboardEvent, Landing, Reference
Clipboard API provides the ability to respond to clipboard commands (cut, copy, and paste) as well as to asynchronously read from and write to the system clipboard. Access to the contents of the clipboard is gated behind the 权限 API ; without user permission, reading or altering the clipboard contents is not permitted.
641 ClipboardEvent API, Clipboard API, Event, Experimental, Interface
ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut , copy ,和 paste 事件。
642 ClipboardEvent() API, Clipboard API, ClipboardEvent, Constructor, Experimental, Reference
ClipboardEvent() constructor returns a newly created ClipboardEvent , representing an event providing information related to modification of the clipboard, that is cut , copy ,和 paste 事件。
643 ClipboardEvent.clipboardData API, Clipboard API, ClipboardEvent, Experimental, Method, Read-only
ClipboardEvent.clipboardData property holds a DataTransfer object, which can be used:
644 CloseEvent API, Interface, Reference, Web, WebSocket, WebSockets
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket 对象的 onclose 属性。
645 CloseEvent() API, CloseEvent, Constructor, Reference
CloseEvent() 构造函数创建新 CloseEvent .
646 CloseEvent.initCloseEvent()
CloseEvent.initCloseEvent() method initializes the value of a close event once it's been created (normally using the Document.createEvent() 方法)。
647 注释 API, DOM, Reference
注释 interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
648 Comment() API, Comment, Constructor, DOM
Comment() constructor returns a newly created 注释 object with the optional DOMString given in parameter as its textual content.
649 CompositionEvent API, CompositionEvent, DOM, Event, Reference
DOM CompositionEvent represents events that occur due to the user indirectly entering text.
650 CompositionEvent.CompositionEvent() API, CompositionEvent, Constructor, Reference
CompositionEvent() 构造函数创建新 CompositionEvent 对象实例。
651 CompositionEvent.data API, CompositionEvent, Property, Reference, data
data 只读特性在 CompositionEvent interface returns the characters generated by the input method that raised the event; its exact nature varies depending on the type of event that generated the CompositionEvent 对象。
652 CompositionEvent.initCompositionEvent() API, CompositionEvent, Deprecated, Method, Reference, initCompositionEvent
initCompositionEvent () 方法在 CompositionEvent interface initializes the attributes of a CompositionEvent 对象实例。
653 CompositionEvent.locale API, CompositionEvent, Deprecated, Locale, Property, Reference
locale 只读特性在 CompositionEvent interface returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with IME).
654 控制台 API API, Debugging, Overview, console, dump, log, output, test
控制台 API 提供允许开发者履行调试任务的功能,譬如:在代码中设定点日志消息或变量值,或计时完成操作需要多长时间。
655 ConstantSourceNode API, Audio, ConstantSourceNode, Interface, Media, Reference, Web Audio API
ConstantSourceNode interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode ) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode .
656 ConstantSourceNode() API, Audio, AudioNode, ConstantSourceNode, Constructor, Reference, Web Audio API
ConstantSourceNode() 构造函数创建新 ConstantSourceNode object instance, representing an audio source which constantly outputs samples whose values are always the same.
657 ConstantSourceNode.offset API, Audio, ConstantSourceNode, Media, Property, Read-only, Web Audio API
只读 offset 特性为 ConstantSourceNode interface returns a AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
658 ConstrainBoolean API, ConstrainBooleanParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
ConstrainBoolean dictionary is used to specify a constraint for a property whose value is a Boolean value. You can specify an exact value which must be matched, an ideal value that should be matched if at all possible, and a fallback value to attempt to match once all more specific constraints have been applied.
659 ConstrainDOMString API, ConstrainDOMStringParameters, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, Web, WebRTC
ConstrainDOMString dictionary is used to specify a constraint for a property whose value is a string. It allows you to specify one or more exact string values from which one must be the parameter's value, or a set of ideal values which should be used if possible. You can also specify a single string (or an array of strings) which the user agent will do its best to match once all more stringent constraints have been applied.
660 ConstrainDouble API, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Stream API, Reference, WebRTC
ConstrainDouble type is used to specify a constraint for a property whose value is a double-precision floating-point number. It extends the DoubleRange dictionary (which provides the ability to specify a permitted range of property values) to also support an exact value and/or an ideal value the property should take on. Additionally, you can specify the property's value as a simple floating-point value, in which case the user agent does its best to match the value once all other more stringent constraints are met.
661 ConstrainLong API, ConstrainLongRange, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
ConstrainLong type is used to specify a constraint for a property whose value is an integral number. It extends the LongRange dictionary (which provides the ability to specify a permitted range of property values) to also support an exact value and/or an ideal value the property should take on. In addition, you can specify the value as a simple long integer value, in which case the user agent does its best to match the value once all other more stringent constraints are met.
662 Constraint validation API API, Constraint validation, Landing, Reference
The Constraint Validation API enables checking values that users have entered into form controls, before submitting the values to the server.
663 ConvolverNode API, ConvolverNode, Interface, Reference, Web Audio API
ConvolverNode interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer , often used to achieve a reverb effect. A ConvolverNode 总是准确拥有一个输入和一个输出。
664 ConvolverNode() API, Audio, Constructor, Convolver, Reference, Web Audio API
ConvolverNode() constructor of the Web 音频 API creates a new ConvolverNode 对象实例。
665 ConvolverNode.buffer API, Buffer, ConvolverNode, Property, Reference, Web Audio API
An AudioBuffer .
666 ConvolverNode.normalize API, ConvolverNode, Property, Reference, Web Audio API, parent
normalize 特性为 ConvolverNode interface is a boolean that controls whether the impulse response from the buffer will be scaled by an equal-power normalization when the buffer attribute is set, or not.
667 坐标 API, Coordinates, Geolocation API, Interface, Secure context
坐标 interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.
668 Coordinates.accuracy API, Coordinates, Geolocation API, Property, Secure context, accuracy
Coordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the Coordinates.latitude and Coordinates.longitude properties expressed in meters.
669 Coordinates.altitude API, Coordinates, Geolocation API, Property, Secure context, altitude
Coordinates.altitude read-only property is a double representing the altitude of the position in meters, relative to sea level. This value is null if the implementation cannot provide this data.
670 Coordinates.altitudeAccuracy API, Coordinates, Geolocation API, Property, Secure context, altitudeAccuracy
Coordinates.altitudeAccuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude.
671 Coordinates.heading API, Coordinates, Geolocation API, Property, Secure context, heading
Coordinates.heading read-only property is a double representing the direction in which the device is traveling. This value, specified in degrees, indicates how far off from heading due north the device is. Zero degrees represents true true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). If Coordinates.speed is 0 , heading is NaN . If the device is not able to provide heading information, this value is null .
672 Coordinates.latitude API, Coordinates, Geolocation API, Property, Secure context, latitude
Coordinates.latitude read-only property is a double representing the latitude of the position in decimal degrees.
673 Coordinates.longitude API, Coordinates, GPS, Geolocation, Geolocation API, Global Positioning System, Property, Read-only, Reference, Secure context, longitude
坐标 interface's read-only longitude property is a double-precision floating point value which represents the longitude of a geographical position, specified in decimal degrees. Together with a DOMTimeStamp indicating a time of measurement, the 坐标 object is part of the 位置 interface which is the object type returned by Geolocation API functions that obtain and return a geographical position.
674 Coordinates.speed API, Coordinates, Geolocation API, Property, Secure context, speed
Coordinates.speed read-only property is a double representing the velocity of the device in meters per second. This value is null if the implementation is not able to measure it.
675 CountQueuingStrategy API, CountQueuingStrategy, Experimental, Interface, Reference, Streams
The CountQueuingStrategy interface of the the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
676 CountQueuingStrategy.CountQueuingStrategy() API, Constructor, CountQueuingStrategy, Experimental, Reference, Streams
CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy() 对象实例。
677 CountQueuingStrategy.size() API, CountQueuingStrategy, Experimental, Method, Reference, Streams, size
size() 方法在 CountQueuingStrategy interface always returns 1 , so that the total queue size is a count of the number of chunks in the queue.
678 CrashReportBody API, CrashReportBody, Experimental, Interface, Reference, Reporting API
CrashReportBody 接口在 Reporting API represents the body of a crash report (the return value of its Report.body 特性)。
679 Credential API, Credential Management API, Experimental, Interface, NeedsExample, Reference, credential management
Credential 接口的 证书管理 API provides information about an entity as a prerequisite to a trust decision.
680 Credential.id API, Credential, Credential Management API, Property, Reference, credential management, id
id 特性为 Credential interface returns a DOMString containing the credential's identifier. This might be any one of a GUID, username, or email address.
681 Credential.name API, Credential, Property, Reference, credential management, name
名称 特性为 Credential interface returns a DOMString , containing the name associated with a credential.
682 Credential.type API, Credential, Credential Management API, Property, Reference, credential management
type 特性为 Credential interface returns a DOMString containing the credential's type. Valid values are password , federated and public-key .
683 证书管理 API API, Credential Management API, Landing, NeedsContent, Overview, Reference, credential management
This API lets websites interact with a user agent’s password system so that websites can deal in a uniform way with site credentials and user agents can provide better assistance with the management of their credentials. For example, user agents have a particularly hard time dealing with federated identity providers or esoteric sign-in mechanisms that use more than just a username and password. To address these problems, the Credential Management API provides ways for a website to store and retrieve different types of credentials. This give users capabilities such as seeing the federated account they used to sign on to a site, or resuming a session without the explicit sign-in flow of an expired session.
684 CredentialsContainer API, Credential Management API, CredentialsContainer, Experimental, Interface, NeedsExample, Reference, credential management
CredentialsContainer 接口的 证书管理 API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen. This interface is accessible from Navigator.credentials .
685 CredentialsContainer.create() API, Credential Management API, CredentialsContainer, Method, Reference, credential management
create() 方法在 CredentialsContainer interface returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created.
686 CredentialsContainer.get() API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
get() 方法在 CredentialsContainer interface returns a Promise to a single Credential instance that matches the provided parameters. If no match is found the Promise will resolve to null.
687 CredentialsContainer.preventSilentAccess() API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
preventSilentAccess() 方法在 CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns an empty Promise .
688 CredentialsContainer.store() API, Credential Management API, CredentialsContainer, Method, NeedsExample, Reference, credential management
store() 方法在 CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise .
689 Crypto API, Interface, Reference, Web Crypto API
Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
690 Crypto.getRandomValues() API, Cryptography, Method, Reference
Crypto.getRandomValues() method lets you get cryptographically strong random values. The array given as the parameter is filled with random numbers (random in its cryptographic meaning).
691 Crypto.subtle API, Cryptography, Property, Read-only, Reference, Web Crypto API
Crypto.subtle 只读特性返回 SubtleCrypto object allowing to perform cryptographical operations.
692 CryptoKey API, CryptoKey, Dictionary, Reference, Référence(2), Web Crypto API
CryptoKey 接口在 Web 加密 API represents a cryptographic key .
693 CryptoKeyPair API, CryptoKeyPair, Dictionary, Reference, Web Crypto API
CryptoKeyPair dictionary of the Web 加密 API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
694 CustomElementRegistry API, CustomElementRegistry, Experimental, Interface, Landing, Reference, Web Components, custom elements
CustomElementRegistry interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements 特性。
695 CustomElementRegistry.define() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, define
define() 方法在 CustomElementRegistry interface defines a new custom element.
696 CustomElementRegistry.get() API, CustomElementRegistry, Experimental, Method, Reference, Web Components, custom elements, get
get() 方法在 CustomElementRegistry interface returns the constructor for a previously-defined custom element.
697 CustomElementRegistry.upgrade() API, CustomElementRegistry, Method, Reference, Upgrade, Web Components, custom elements
upgrade() 方法在 CustomElementRegistry interface upgrades all shadow-containing custom elements in a 节点 subtree, even before they are connected to the main document.
698 CustomElementRegistry.whenDefined() API, CustomElementRegistry, Method, Reference, Web Components, custom elements, whenDefined
whenDefined() 方法在 CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
699 CustomEvent API, DOM, Interface, NeedsExample, Reference
This interface inherits properties from its parent, 事件 :
700 CustomEvent() API, Constructor, CustomEvent, Reference, events
CustomEvent() 构造函数创建新 CustomEvent .
701 CustomEvent.detail API, CustomEvent, DOM, Property, Reference, detail
detail readonly property of the CustomEvent interface returns any data passed when initializing the event.
702 CustomEvent.initCustomEvent() API, CustomEvent, DOM, Deprecated, Method, Reference
CustomEvent.initCustomEvent() method initializes a CustomEvent object. If the event has already been dispatched, this method does nothing.
703 DOMConfiguration API, DOM, Obsolete, Reference
Pre-defined parameters: "canonical-form", "cdata-sections", "check-character-normalization", "comments", "datatype-normalization", "element-content-whitespace", "entities", "error-handler", "infoset", "namespaces", "namespace-declarations", "normalize-characters","schema-location", "schema-type", "split-cdata-sections", "validate", "validate-if-schema", "well-formed"
704 DOMError API, DOM, DOMError, Deprecated, Interface, Reference
DOMError interface describes an error object that contains an error name.
705 DOMException API, DOM, DOMException, Error, Error code, Exception, Reference
DOMException interface represents an abnormal event (called an exception ) which occurs as a result of calling a method or accessing a property of a web API.
706 DOMException() API, Constructor, DOMException, Reference
DOMException() constructor returns a DOMException object with a specified message and name.
707 DOMException.code API, Code, DOMException, Property, Reference
code 只读特性在 DOMException interface returns a short that contains one of the error code constants ,或 0 if none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name 属性。
708 DOMException.message API, DOMException, Property, Reference, message
message 只读特性在 DOMException interface returns a DOMString representing a message or description associated with the given error name .
709 DOMException.name API, DOMException, Property, Reference, name
名称 只读特性在 DOMException interface returns a DOMString that contains one of the strings associated with an error name .
710 DOMHighResTimeStamp API, DOMHighResTimeStamp, High Resolution Time, Reference, Time, Type
DOMHighResTimeStamp type is a double and is used to store a time value. The value could be a discrete point in time or the difference in time between two discrete points in time.
711 DOMImplementation API, DOM, Interface, Reference
DOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation 特性。
712 DOMImplementation.createDocument() API, DOM, DOMImplementation, Method, Reference
DOMImplementation.createDocument() method creates and returns an XMLDocument .
713 DOMImplementation.createDocumentType() API, DOM, DOMImplementation, Method, Reference
DOMImplementation.createDocumentType() 方法返回 DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore() or Node.replaceChild() .
714 DOMImplementation.createHTMLDocument() API, DOM, DOM Reference, DOMImplementation, Method, Reference
DOMImplementation.createHTMLDocument() method creates a new HTML Document .
715 DOMImplementation.hasFeature() API, DOM, DOMImplementation, Method, Reference
DOMImplementation.hasFeature() 方法返回 布尔 flag indicating if a given feature is supported. It is deprecated and modern browsers return true in all cases.
716 DOMImplementationList API, DOM, Obsolete, Reference
Returned by DOMImplementationSource.getDOMImplementationList() and DOMImplementationRegistry.getDOMImplementationList() . Can be iterated with 0-based index.
717 DOMLocator API, DOM, DOM Reference, Obsolete, Reference
Indicates a location such as where an error occurred. Returned by DOMError.location .
718 DOMMatrix API, DOMMatrix, Experimental, Geometry, Geometry Interfaces, Interface, Reference, matrix
DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations including rotation and translation. It is a mutable version of the DOMMatrixReadOnly 接口。
719 DOMMatrix() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
DOMMatrix 构造函数创建新 DOMMatrix object which represents 4x4 matrices, suitable for 2D and 3D operations..
720 DOMMatrixReadOnly 2D, 3D, API, Computation, DOMMatrixReadOnly, Geometry, Geometry Interfaces, Graphics, Interface, Math, Modeling, Read-only, Reference, Rotate, Scale, Skew, VR, Web, angle, camera, matrix, transform
DOMMatrixReadOnly interface represents a read-only 4x4 matrix, suitable for 2D and 3D operations. The DOMMatrix interrface—which is based upon DOMMatrixReadOnly —adds mutability , allowing you to alter the matrix after creating it.
721 DOMMatrixReadOnly() API, Constructor, Experimental, Geometry, Geometry Interfaces, Reference, matrix
DOMMatrixReadOnly 构造函数创建新 DOMMatrixReadOnly object which represents 4x4 matrices, suitable for 2D and 3D operations.
722 DOMMatrixReadOnly.flipX() API, DOMMatrix, DOMMatrixReadOnly, Experimental, FlipX, Geometry, Geometry Interfaces, Interface, Method, Reference, matrix
flipX() 方法在 DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.
723 DOMMatrixReadOnly.scale() API, DOMMatrix, DOMMatrixReadOnly, Experimental, Geometry, Geometry Interfaces, Interface, Method, Reference, Scale, matrix
No summary!
724 DOMMatrixReadOnly.translate() API, DOMMatrix, DOMMatrixReadOnly, Experimental, Geometry, Geometry Interfaces, Interface, Method, Reference, Translate, matrix
translate() 方法在 DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
725 DOMObject API, DOM, DOM Reference, DOMObject, Object, Obsolete, Reference
过时 DOMObject interface was used in earlier versions of the DOM specification as the base class for any object data type.
726 DOMParser API, DOM, DOM Parsing, Document, HTML, HTMLDocument, MakeBrowserAgnostic, NeedsMarkupWork, Parsing, Reference, SVG, XML, XMLDocument
DOMParser 接口提供能力为剖析 XML or HTML 源代码从字符串到 DOM Document .
727 DOMParser() API, Constructor, DOM Parsing, Parsing, Reference
DOMParser() 构造函数创建新 DOMParser 对象。
728 DOMPoint API, Coordinate, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Interface, Point, Reference, VR
A DOMPoint object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.
729 DOMPoint.DOMPoint() API, Constructor, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Reference
DOMPoint() constructor creates and returns a new DOMPoint object, given the values for some or all of its properties.
730 DOMPoint.fromPoint() API, Coordiantes, DOM, DOMPoint, Geometry, Geometry Interfaces, Method, Point, Reference, Static, Static Method, fromPoint
静态 DOMPoint 方法 fromPoint() creates and returns a new mutable DOMPoint object given a source point.
731 DOMPoint.w API, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
DOMPoint 接口的 w property holds the point's perspective value, w, for a point in space.
732 DOMPoint.x API, Coordinates, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, x
DOMPoint 接口的 x property holds the horizontal coordinate, x, for a point in space.
733 DOMPoint.y API, Coordinate, DOM, DOMPoint, Geometry, Geometry Interfaces, Point, Property, Reference, y
DOMPoint 接口的 y property holds the vertical coordinate, y , for a point in space.
734 DOMPoint.z API, Coordinate, DOM, DOMPoint, Depth, Geometry, Geometry Interfaces, Point, Position, Property, Reference, z
DOMPoint 接口的 z property specifies the depth coordinate of a point in space.
735 DOMPointInit API, Coordinates, DOM, DOMPointInit, Dictionary, Geometry, Geometry Interfaces, Interface, Point, Reference
DOMPointInit dictionary is used to provide the values of the coordinates and perspective when creating and JSONifying a DOMPoint or DOMPointReadOnly 对象。
736 DOMPointInit.w API, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, W, perspective
DOMPointInit dictionary's w property is used to specify the w perspective value of a point in space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly 对象。
737 DOMPointInit.x API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, x
DOMPointInit dictionary's x property is used to specify the x component of a point in 2D or 3D space when either creating or serializing a DOMPoint or DOMPointReadOnly .
738 DOMPointInit.y API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, y
DOMPointInit dictionary's y property is used to specify the y -coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly 对象。
739 DOMPointInit.z API, Coordinates, DOM, DOMPointInit, Geometry, Geometry Interfaces, Point, Property, Reference, z
DOMPointInit dictionary's z property is used to specify the z -coordinate of a point in 2D or 3D space when either creating or serializing to JSON a DOMPoint or DOMPointReadOnly 对象。
740 DOMPointReadOnly API, Coordinate, DOM, DOM Reference, DOMPointReadOnly, Geometry, Geometry Interfaces, Interface, Point, Reference
DOMPointReadOnly interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
741 DOMPointReadOnly() API, Constructor, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Reference
DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
742 DOMPointReadOnly.fromPoint() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Method, Point, Reference, Static Method, fromPoint
静态 DOMPointReadOnly 方法 fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
743 DOMPointReadOnly.toJSON() API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, JSON, Method, Point, Reference, toJSON
DOMPointReadOnly 方法 toJSON() 返回 DOMPointInit object giving the JSON form of the point object.
744 DOMPointReadOnly.w API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Position, Property, Read-only, Reference, W, perspective
DOMPointReadOnly 接口的 w property holds the point's perspective value, w, for a read-only point in space.
745 DOMPointReadOnly.x API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, x
DOMPointReadOnly 接口的 x property holds the horizontal coordinate, x, for a read-only point in space. This property cannot be changed by JavaScript code in this read-only version of the DOMPoint 对象。
746 DOMPointReadOnly.y API, Coordinates, DOM, DOMPointReadOnly, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, Vertical, y
DOMPointReadOnly 接口的 y property holds the vertical coordinate, y, for a read-only point in space.
747 DOMPointReadOnly.z API, Coordinates, DOM, DOMPointReadOnly, Depth, Geometry, Geometry Interfaces, Point, Property, Read-only, Reference, z
DOMPointReadOnly 接口的 z property holds the depth coordinate, z, for a read-only point in space.
748 DOMQuad API, DOM, DOM Reference, DOMQuad, Experimental, Geometry
A DOMQuad is a collection of four DOMPoint s defining the corners of an arbitrary quadrilateral. Returning DOMQuad s lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.
749 DOMRect API, DOM, DOM Reference, DOMRect, Geometry, Geometry Interfaces, Interface, Rectangle, Reference
A DOMRect represents a rectangle.
750 DOMRect.DOMRect() API, Constructor, DOM Reference, DOMRect, Experimental, Geometry, Reference
DOMRect() 构造函数创建新 DOMRect 对象。
751 DOMRectReadOnly API, DOM Reference, DOMRectReadOnly, Geometry, Geometry Interfaces, Interface, Read-only, Rectangle, Reference
DOMRectReadOnly interface specifies the standard properties used by DOMRect to define a rectangle whose properties are immutable.
752 DOMRectReadOnly() API, Constructor, DOM, DOM Reference, DOMRectReadOnly, Experimental, Geometry, Reference
DOMRectReadOnly() 构造函数创建新 DOMRectReadOnly 对象。
753 DOMRectReadOnly.bottom API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), bottom
bottom 只读特性在 DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect. (Has the same value as y + height ,或 y if height is negative.)
754 DOMRectReadOnly.fromRect() API, DOM Reference, DOMRect, DOMRectReadOnly, Experimental, Geometry, Method, Reference, fromRect()
fromRect() 特性为 DOMRectReadOnly interface creates a new DOMRectReadOnly object with a given location and dimensions.
755 DOMRectReadOnly.height API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), height
height 只读特性在 DOMRectReadOnly interface represents the height of the DOMRect .
756 DOMRectReadOnly.left API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), left
left 只读特性在 DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x ,或 x + width if width is negative.)
757 DOMRectReadOnly.right API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), right
right 只读特性在 DOMRectReadOnly interface returns the right coordinate value of the DOMRect. (Has the same value as x + width ,或 x if width is negative.)
758 DOMRectReadOnly.top API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), top
top 只读特性在 DOMRectReadOnly interface returns the top coordinate value of the DOMRect. (Has the same value as y ,或 y + height if height is negative.)
759 DOMRectReadOnly.width API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), width
width 只读特性在 DOMRectReadOnly interface represents the width of the DOMRect .
760 DOMRectReadOnly.x API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), x
x 只读特性在 DOMRectReadOnly interface represents the x coordinate of the DOMRect 's origin.
761 DOMRectReadOnly.y API, DOM, DOMRect, DOMRectReadOnly, Experimental, Expérimental(2), Geometry, Property, Reference, Référence(2), y
y 只读特性在 DOMRectReadOnly interface represents the y coordinate of the DOMRect 's origin.
762 DOMString API, DOM, Reference, String
DOMString 是 UTF-16 字符串。由于 JavaScript 已经使用这种字符串, DOMString 被直接映射到 字符串 .
763 二进制字符串 DOM, JavaScript, JavaScript typed arrays, Reference, String
JavaScript strings are UTF-16 encoded strings. This means that each code unit requires two bytes of memory and is able to represent 65535 different code points. A subset of these strings is represented by UTF-16 strings containing only ASCII characters (i.e., characters whose code point does not exceed 127 ). For instance, the string "Hello world!" belongs to the ASCII subset, while the string "ÀÈÌÒÙ" does not. A binary string is a concept similar to the ASCII subset, but instead of limiting the range to 127 , it allows code points until 255 . Its purpose however is not to represent characters, but binary data. The size of the data so represented is twice as big as it would be in normal binary format, however this will not be visible to the final user, since the length of JavaScript strings is calculated using two bytes as the unit.
764 DOMStringList API, DOM, DOMStringList, Reference
A type returned by some APIs which contains a list of DOMString (strings).
765 DOMStringMap API, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference
Used by the attribute to represent data for custom attributes added to elements.
766 DOMTimeStamp API, DOM, Interface, Reference
DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears.
767 DOMTokenList API, DOM, DOMTokenList, Interface, Reference
DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList , HTMLLinkElement.relList , HTMLAnchorElement.relList , HTMLAreaElement.relList , HTMLIframeElement.sandbox ,或 HTMLOutputElement.htmlFor . It is indexed beginning with 0 as with JavaScript 数组 对象。 DOMTokenList is always case-sensitive.
768 DOMTokenList.add() API, Add, DOM, DOMTokenList, Method, Reference
add() 方法在 DOMTokenList interface adds the given token to the list.
769 DOMTokenList.contains() API, Contains, DOM, DOMTokenList, Method, Reference
contains() 方法在 DOMTokenList interface returns a 布尔 true if the underlying list contains the given token ,否则 false .
770 DOMTokenList.entries() DOM, DOMTokenList, Iterable, Method, Reference, Web
DOMTokenList.entries() method returns an iterator allowing you to go through all key/value pairs contained in this object. The values are DOMString objects, each representing a single token.
771 DOMTokenList.forEach() DOM, DOMTokenList, Iterable, Method, Reference, Web, forEach
forEach() 方法在 DOMTokenList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
772 DOMTokenList.item() API, DOM, DOMTokenList, Method, Reference, item
item() 方法在 DOMTokenList interface returns an item in the list by its index.
773 DOMTokenList.keys() DOM, DOMTokenList, Iterable, Method, Reference, Web, keys
keys() 方法在 DOMTokenList interface returns an iterator allowing to go through all keys contained in this object. The keys are of type unsigned integer .
774 DOMTokenList.length API, DOM, DOMTokenList, Property, Reference, length
length 只读特性在 DOMTokenList interface is an integer representing the number of objects stored in the object.
775 DOMTokenList.remove() API, DOM, DOMTokenList, Method, Reference, remove
remove() 方法在 DOMTokenList interface removes the specified tokens from the list.
776 DOMTokenList.replace() API, DOM, Document, Method, Reference
replace() 方法在 DOMTokenList interface replaces an existing token with a new token.
777 DOMTokenList.supports() API, DOM, Method, Reference
supports() 方法在 DOMTokenList interface returns true if a given token is in the associated attribute's supported tokens. This method is intended to support feature detection.
778 DOMTokenList.toggle() API, DOM, DOMTokenList, Method, Reference, toggle
toggle() 方法在 DOMTokenList interface removes a given token from the list and returns false 。若 token doesn't exist it's added and the function returns true .
779 DOMTokenList.value API, DOM, DOMTokenList, Method, Reference, value
特性为 DOMTokenList interface returns the value of the list as a DOMString , or clears and sets the list to the given value.
780 DOMTokenList.values() DOM, DOMTokenList, Iterable, Method, Reference, Web, values
values() 方法在 DOMTokenList interface returns an iterator allowing developers to go through all values contained in the DOMTokenList . The individual values are DOMString 对象。
781 DOMUserData API, DOM, Interface, NeedsCompatTable, Obsolete, Reference
DOMUserData refers to application data. In JavaScript, it maps directly to 对象 . It is returned or used as an argument by Node.setUserData () , Node.getUserData () , used as the third argument to handle() on UserDataHandler , and is used or returned by various DOMConfiguration 方法。
782 DataTransfer API, DataTransfer, HTML Drag and Drop API, Interface, NeedsMarkupWork, Reference, Web Development, drag and drop
DataTransfer object is used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML 拖放 API .
783 DataTransfer() API, Constructor, DataTransfer, HTML Drag and Drop API, Reference, drag and drop
DataTransfer 构造函数创建新 DataTransfer 对象实例。
784 DataTransfer.addElement() API, Method, Non-standard, Reference, drag and drop
DataTransfer.addElement() method sets the drag source to the given element. This element will be the element to which drag and dragend events are fired, and not the defaut target (the node that was dragged).
785 DataTransfer.clearData() API, DataTransfer, HTML DOM, Method, Reference, clearData, drag and drop
DataTransfer.clearData() method removes the drag operation's drag data for the given type. If data for the given type does not exist, this method does nothing.
786 DataTransfer.dropEffect API, HTML DOM, Property, Reference, drag and drop
DataTransfer.dropEffect property controls the feedback (typically visual) the user is given during a drag and drop operation. It will affect which cursor is displayed while dragging. For example, when the user hovers over a target drop element, the browser's cursor may indicate which type of operation will occur.
787 DataTransfer.effectAllowed API, HTML DOM, Property, Reference, drag and drop
DataTransfer.effectAllowed property specifies the effect that is allowed for a drag operation. The copy operation is used to indicate that the data being dragged will be copied from its present location to the drop location. The move operation is used to indicate that the data being dragged will be moved, and the link operation is used to indicate that some form of relationship or connection will be created between the source and drop locations.
788 DataTransfer.files API, HTML DOM, Property, Reference, drag and drop
DataTransfer.files 特性为 list of the files in the drag operation. If the operation includes no files, the list is empty.
789 DataTransfer.getData() API, HTML DOM, Method, Reference, drag and drop
DataTransfer.getData() method retrieves drag data (as a DOMString ) for the specified type. If the drag operation does not include data, this method returns an empty string.
790 DataTransfer.items API, HTML DOM, Property, Reference, drag and drop
只读 DataTransfer property 特性为 list data transfer items in a drag operation. The list includes one item for each item in the operation and if the operation had no items, the list is empty.
791 DataTransfer.mozClearDataAt() API, Method, Non-standard, Reference, drag and drop
DataTransfer.mozClearDataAt() method removes the data associated with the given format for an item at the specified index. The index must be in the range from zero to the number of items minus one.
792 DataTransfer.mozCursor API, Non-standard, Property, Reference, drag and drop
DataTransfer.mozCursor property returns or sets the drag cursor's state. This is primarily used to control the cursor during tab drags.
793 DataTransfer.mozGetDataAt() API, Method, Non-standard, Reference, drag and drop
DataTransfer.mozGetDataAt() method is used to retrieve an item in the drag event's data transfer object, based on a given format and index 。此方法返回 null if the specified item does not exist or if the index is not in the range from zero to the number of items minus one.
794 DataTransfer.mozItemCount API, Non-standard, Property, Reference, drag and drop
DataTransfer.mozItemCount property returns the number of items being dragged. This can be used, for example, to get the number of files being dragged.
795 DataTransfer.mozSetDataAt() API, Method, Non-standard, Reference, drag and drop
DataTransfer.mozSetDataAt() method is used to add data to a specific index in the drag event's data transfer 对象。
796 DataTransfer.mozSourceNode API, Non-standard, Property, Reference, drag and drop
DataTransfer.mozSourceNode property is used to determine the 节点 over which the mouse cursor was located when the the drag operation was initiated (for example, when a <button> was clicked). For external drags or if the calling function cannot reach the node, null 被返回。
797 DataTransfer.mozTypesAt() API, Method, Non-standard, Reference, drag and drop
DataTransfer.mozTypesAt() method returns a list of the format types that are stored for an item at the specified index. If the index is not in the range from 0 to the number of items minus one, an empty string list is returned.
798 DataTransfer.mozUserCancelled API, Non-standard, Property, Reference, drag and drop
DataTransfer.mozUserCancelled property is used in the dragend event handler to determine if the user canceled the drag or not. If the user canceled the event, the property returns true 并返回 false otherwise. This property only applies to the dragend 事件。
799 DataTransfer.setData() API, HTML DOM, Method, Reference, drag and drop
DataTransfer.setData() method sets the drag operation's drag data to the specified data and type. If data for the given type does not exist, it is added at the end of the drag data store, such that the last item in the 类型 list will be the new type. If data for the given type already exists, the existing data is replaced in the same position. That is, the order of the 类型 list is not changed when replacing data of the same type.
800 DataTransfer.setDragImage() API, H5 DnD, HTML DOM, Method, Reference, drag and drop
When a drag occurs, a translucent image is generated from the drag target (the element the dragstart event is fired at), and follows the mouse pointer during the drag. This image is created automatically, so you do not need to create it yourself. However, if a custom image is desired, the DataTransfer.setDragImage() method can be used to set the custom image to be used. The image will typically be an <image> element but it can also be a <canvas> or any other visible element.
801 DataTransfer.types API, HTML DOM, Property, Reference, drag and drop
DataTransfer.types read-only property returns an array of the drag data formats (as strings ) that were set in the dragstart event. The order of the formats is the same order as the data included in the drag operation.
802 DataTransferItem API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
DataTransferItem object represents one drag data item. During a drag operation , each drag event 拥有 dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem 对象。
803 DataTransferItem.getAsFile() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
If the item is a file, the DataTransferItem.getAsFile() method returns the drag data item's File object. If the item is not a file, this method returns null .
804 DataTransferItem.getAsString() API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, getAsString
DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's kind Plain unicode string (即 kind is string ).
805 DataTransferItem.kind API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, drag and drop, kind
只读 DataTransferItem.kind 特性返回 DataTransferItem 表示 drag data item kind: some text or some file.
806 DataTransferItem.type API, DataTransferItem, HTML DOM, HTML Drag and Drop API, Property, Reference, Type, drag and drop
只读 DataTransferItem.type property returns the type (format) of the DataTransferItem object representing the drag data item. The type is a Unicode string generally given by a MIME type, although a MIME type is not required.
807 DataTransferItem.webkitGetAsEntry() API, DataTransferItem, File System API, File and Directory Entries API, Files, Method, Non-standard, Offline, Reference, drag and drop, getAsEntry
If the item described by the DataTransferItem is a file, webkitGetAsEntry() 返回 FileSystemFileEntry or FileSystemDirectoryEntry representing it. If the item isn't a file, null 被返回。
808 DataTransferItemList API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Interface, Reference, drag and drop
DataTransferItemList object is a list of DataTransferItem objects representing items being dragged. During a drag operation , each DragEvent 拥有 dataTransfer property and that property is a DataTransferItemList .
809 DataTransferItemList.DataTransferItem() API, DataTransferItemList, Getter, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
DataTransferItem() getter method implements support for accessing items in the DataTransferItemList using array-style syntax (that is DataTransferItem [ index ] ).
810 DataTransferItemList.add() API, Add, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop
DataTransferItemList.add() method creates a new DataTransferItem using the specified data and adds it to the drag data list. The item may be a File string of a given type. If the item is successfully added to the list, the newly-created DataTransferItem 对象被返回。
811 DataTransferItemList.clear() API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, clear, drag and drop
DataTransferItemList 方法 clear() removes all DataTransferItem objects from the drag data items list, leaving the list empty.
812 DataTransferItemList.length API, DataTransferItemList, Draggged Items, Drop Items, HTML DOM, HTML Drag and Drop API, Item List, Property, Read-only, Reference, drag and drop, length
只读 length 特性为 DataTransferItemList interface returns the number of items currently in the drag item list.
813 DataTransferItemList.remove() API, DataTransferItemList, HTML DOM, HTML Drag and Drop API, Method, Reference, drag and drop, remove
undefined .
814 DedicatedWorkerGlobalScope API, DedicatedWorkerGlobalScope, Interface, Reference, Référence(2), Web Workers, Workers
DedicatedWorkerGlobalScope object (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript 参考 . See also: Functions available to workers .
815 DedicatedWorkerGlobalScope.close() API, DOM, DedicatedWorkerGlobalScope, Method, Reference, Web Workers, close
close() 方法在 DedicatedWorkerGlobalScope interface discards any tasks queued in the DedicatedWorkerGlobalScope 's event loop, effectively closing this particular scope.
816 DedicatedWorkerGlobalScope.name API, DOM, DedicatedWorkerGlobalScope, Property, Reference, Worker, name
名称 只读特性在 DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created. This is the name that the Worker() constructor can pass to get a reference to the DedicatedWorkerGlobalScope .
817 DedicatedWorkerGlobalScope.onmessage API, DedicatedWorkerGlobalScope, Property, Reference, Référence(2), Web Workers, onmessage
onmessage 特性为 DedicatedWorkerGlobalScope interface represents an EventHandler to be called when the message event occurs and bubbles through the Worker — i.e. when a message is sent to the worker using the Worker.postMessage 方法。
818 DedicatedWorkerGlobalScope.onmessageerror API, DedicatedWorkerGlobalScope, Event Handler, Property, Reference, onmessageerror
onmessageerror event handler of the DedicatedWorkerGlobalScope interface is an EventListener , called whenever an MessageEvent 类型 messageerror is fired on the worker—that is, when it receives a message that cannot be deserialized .
819 DedicatedWorkerGlobalScope.postMessage() API, DedicatedWorkerGlobalScope, Method, Reference, Référence(2), Web Workers, postMessage
postMessage() 方法在 DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
820 DedicatedWorkerGlobalScope: message event 事件
message event is fired on a DedicatedWorkerGlobalScope object when the worker receives a message from its parent (i.e. when the parent sends a message using Worker.postMessage() ).
821 DedicatedWorkerGlobalScope: messageerror event 事件
messageerror event is fired on a DedicatedWorkerGlobalScope object when it receives a message that can't be deserialized.
822 DelayNode API, Audio, DelayNode, Interface, Reference, Web Audio API
DelayNode 接口表示 delay-line ; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output.
823 DelayNode() API, Audio, Constructor, DelayNode, Media, Reference, Web Audio API
DelayNode() constructor of the Web 音频 API creates a new DelayNode object with a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data, and its propagation to the output.
824 DelayNode.delayTime API, DelayNode, Property, Reference, Web Audio API, delayTime
An AudioParam .
825 DeprecationReportBody API, DeprecationReportBody, Experimental, Interface, Reference, Reporting API
DeprecationReportBody 接口在 Reporting API represents the body of a deprecation report (the return value of its Report.body 特性)。
826 Detecting device orientation API, Device Orientation, Intermediate, Mobile, Motion, Orientation, Reference
Increasingly, web-enabled devices are capable of determining their orientation ; that is, they can report data indicating changes to their orientation with relation to the pull of gravity. In particular, hand-held devices such as mobile phones can use this information to automatically rotate the display to remain upright, presenting a wide-screen view of the web content when the device is rotated so that its width is greater than its height.
827 Device Memory API Device Memory API
Capabilities of the client devices largely depend on the amount of available RAM. Traditionally, developrs had to use heruistics and either benchmark the device or infer the device capabilities based on other factors like device manufacturer or User Agent strings.
828 DeviceAcceleration API, DeviceAcceleration, Experimental, Interface, NeedsExample, Reference
A DeviceAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.
829 DeviceAcceleration.x API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the X axis in a DeviceAcceleration 对象。
830 DeviceAcceleration.y API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Y axis in a DeviceAcceleration 对象。
831 DeviceAcceleration.z API, DeviceAcceleration, NeedsExample, Property, Reference
This read-only property indicates the amount of acceleration that occurred along the Z axis in a DeviceAcceleration 对象。
832 DeviceLightEvent API, Ambient Light Events, Experimental, Interface, NeedsBetterSpecLink, NeedsMarkupWork
DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability.
833 DeviceLightEvent.value API, Ambient Light Events, Experimental, NeedsBetterSpecLink, NeedsMarkupWork, Property
value property provides the current level of the ambient light.
834 Using light sensors API, DeviceLightEvent, Guide, HTML5, JavaScript
环境光事件 give a web application access to a device's ambient light sensor to detect changes in light intensity.
835 DeviceMotionEvent API, Device Orientation, DeviceMotionEvent, Experimental, Interface, Mobile, Motion, Orientation, Reference
DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation.
836 DeviceMotionEvent.DeviceMotionEvent() API, Constructor, Device Orientation, Device Orientation API, Experimental, Mobile, Motion, Non-standard, Orientation, Reference
DeviceMotionEvent 构造函数创建新 DeviceMotionEvent .
837 DeviceMotionEvent.acceleration API, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
acceleration property returns the amount of acceleration recorded by the device, in meters per second squared (m/s 2 ) .
838 DeviceMotionEvent.accelerationIncludingGravity API, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
accelerationIncludingGravity property returns the amount of acceleration recorded by the device, in meters per second squared (m/s 2 ) 。不像 DeviceMotionEvent.acceleration which compensates for the influence of gravity, its value is the sum of the acceleration of the device as induced by the user and the acceleration caused by gravity.
839 DeviceMotionEvent.interval API, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
Returns the interval, in milliseconds, at which data is obtained from the underlaying hardware. You can use this to determine the granularity of motion events.
840 DeviceMotionEvent.rotationRate API, DOM, DOM Reference, Device Orientation, Experimental, Mobile, Motion, NeedsExample, Orientation, Property, Reference
Returns the rate at which the device is rotating around each of its axes in degrees per second.
841 DeviceOrientationEvent API, Device Orientation API, Experimental, Interface, Reference
DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.
842 DeviceOrientationEvent.DeviceOrientationEvent() API, Constructor, Device Orientation API, DeviceOrientationEvent, Experimental, Reference
DeviceOrientationEvent 构造函数创建新 DeviceOrientationEvent .
843 DeviceOrientationEvent.absolute API, Device Orientation API, DeviceOrientationEvent, NeedsExample, NeedsMarkupWork, Property, Reference
Indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained 了解细节。
844 DeviceOrientationEvent.alpha API, DeviceOrientation API, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Z axis; that is, the number of degrees by which the device is being twisted around the center of the screen. See Orientation and motion data explained 了解细节。
845 DeviceOrientationEvent.beta API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180,  by which the device is tipped forward or backward. See Orientation and motion data explained 了解细节。
846 DeviceOrientationEvent.gamma API, Device Orientation API, DeviceOrientationEvent, NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Reference
Returns the rotation of the device around the Y axis; that is, the number of degrees, ranged between -90 and 90 , by which the device is tilted left or right. See Orientation and motion data explained 了解细节。
847 DeviceProximityEvent API, Interface, Proximity Events, Reference
DeviceProximityEvent interface provides information about the distance of a nearby physical object using the proximity sensor of a device.
848 DeviceProximityEvent.max API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
max property provides the maximum sensing distance the sensor is able to report, in centimeters.
849 DeviceProximityEvent.min API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
min property provides the minimum distance the sensor can report, in centimeters.
850 DeviceProximityEvent.value API, DeviceProximityEvent, Experimental, Expérimental(2), NeedsBetterSpecLink, NeedsExample, NeedsMarkupWork, Property, Proximity Events, Reference, Référence(2)
value property of DeviceProximityEvent objects provides the current distance between the device and the detected object, in centimeters.
851 DeviceRotationRate API, DOM, DOM Reference, Experimental, Reference
A DeviceRotationRate object provides information about the rate at which the device is rotating around all three axes.
852 DeviceRotationRate.alpha API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the Z axis -- in degrees per second -- in a DeviceRotationRate 对象。
853 DeviceRotationRate.beta API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the X axis -- in degrees per second -- in a DeviceRotationRate 对象。
854 DeviceRotationRate.gamma API, DOM, DOM Reference, Property, Reference
This property indicates the rate of rotation around the Y axis -- in degrees per second -- in a DeviceRotationRate 对象。
855 DirectoryEntrySync API, File API, File System API, Offline, Reference, Référence(2), filesystem
DirectoryEntrySync 接口在 文件系统 API represents a directory in a file system. It includes methods for creating, reading, looking up, and recursively removing files in a directory.
856 DirectoryReaderSync API, Reference, Référence(2)
DirectoryReaderSync 接口在 文件系统 API lets you read the entries in a directory.
857 DisplayMediaStreamConstraints API, Audio, Capture, Constraints, Dictionary, DisplayMediaStreamConstraints, Media, Reference, Screen Capture, Screen Capture API, Video, display, getDisplayMedia, screen
DisplayMediaStreamConstraints dictionary is used to specify whether or not to include video and/or audio tracks in the MediaStream to be returned by getDisplayMedia() , as well as what type of processing must be applied to the tracks.
858 DisplayMediaStreamConstraints.audio API, Audio, Capture, Constraints, DisplayMediaStreamTrack, Options, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Settings, Sharing, screen, track
DisplayMediaStreamConstraints dictionary's audio property is used to specify whether or not to request that the MediaStream containing screen display contents also include an audio track. This value may simply be a Boolean, where true indicates that an audio track should be included an false (the default) indicates that no audio should be included in the stream.
859 DisplayMediaStreamConstraints.video API, Capture, Constraints, DisplayMediaStreamConstraints, Media, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Video, display, getDisplayMedia, screen
DisplayMediaStreamConstraints dictionary's 视频 property is used to configure the video track in the stream returned by getDisplayMedia() .
860 Document API, DOM, Document, Interface, Reference
Document 接口表示在浏览器中加载的任何网页,并充当网页内容的入口点,其是 DOM 树 .
861 Document() API, Constructor, DOM, Document, Reference
Document 构造函数创建新 Document 对象,是在浏览器中加载的网页和充当页面内容的入口点。
862 Document.URL API, Document, HTML DOM, Property, Reference
URL 只读特性在 Document 接口以字符串形式返回文档位置。
863 Document.adoptNode() API, DOM, DOM Reference, Method, NeedsExample, NeedsSpecTable, NeedsUpdate, Reference
Document.adoptNode() transfers a node from another document into the method's document. The adopted node and its subtree is removed from its original document (if any), and its ownerDocument is changed to the current document. The node can then be inserted into the current document.
864 Document.alinkColor API, Deprecated, HTML DOM, Property, Reference
Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup 事件。
865 Document.all API, DOM, Deprecated, Document, HTMLAllCollection, Property, Reference, all
Document interface's read-only all property returns an HTMLAllCollection rooted at the document node. In other words, it returns the entire contents of the page.
866 Document.anchors API, Deprecated, Document, HTML DOM, Property, Reference
anchors 只读特性在 Document interface returns a list of all of the anchors in the document.
867 Document.applets API, Deprecated, Document, HTML DOM, NeedsMarkupWork, Property, Reference
applets 特性为 Document interface returns a list of the applets within a document.
868 Document.bgColor API, Deprecated, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
The deprecated bgColor property gets or sets the background color of the current document.
869 Document.body API, Document, HTML DOM, Property, Reference
Document.body 特性表示 <body> or <frameset> 节点在当前文档,或 null 若不存在这种元素。
870 Document.caretRangeFromPoint() API, CSSOM View, DOM, Document, Method, Non-standard, Reference, caretRangeFromPoint
caretRangeFromPoint() 方法在 Document interface returns a 范围 object for the document fragment under the specified coordinates.
871 Document.characterSet API, DOM, Document, Property, Read-only, Reference
Document.characterSet read-only property returns the character encoding of the document that it's currently rendered with.
872 Document.clear() API, Deprecated, Document, HTML DOM, Method, NeedsExample, NeedsSpecTable, Reference
Document.clear() method clears the whole specified document in early (pre-1.0) versions of Mozilla.
873 Document.close() API, Document, HTML DOM, Method, Reference
Document.close() method finishes writing to a document, opened with Document.open() .
874 Document.compatMode API, DOM, Document, NeedsSpecTable, Property, Reference
Document.compatMode property indicates whether the document is rendered in Quirks mode or Standards mode.
875 Document.contentType API, DOM, Document, MIME, Property, Read-only, Reference
Document.contentType read-only property returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.
876 Document.cookie API, DOM, Document, HTML DOM, JS, NeedsMarkupWork, Reference, Storage, cookie
Document property cookie lets you read and write Cookie associated with the document. It serves as a getter and setter for the actual values of the cookies.
877 Simple cookie framework Cookies, cookie
As cookies are just specially formatted strings it is sometimes difficult to manage them.  The following library aims to abstract the access to document.cookie by defining an object ( docCookies ) that is partially consistent with a 存储 对象 . It also offers full Unicode support.
878 Document.createAttribute() API, DOM, Method, Reference
Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
879 Document.createCDATASection() API, DOM, Method, Reference
createCDATASection() creates a new CDATA section node, and returns it.
880 Document.createComment() API, DOM, Method, Reference
createComment() creates a new comment node, and returns it.
881 Document.createDocumentFragment() API, DOM, Document, Method, Reference, createDocumentFragment
Creates a new empty DocumentFragment into which DOM nodes can be added to build an offscreen DOM tree.
882 Document.createElement() API, DOM, Document, Method, Reference, createElement
In an HTML document, the document.createElement() method creates the HTML element specified by tagName ,或 HTMLUnknownElement if tagName isn't recognized.
883 Document.createElementNS() API, DOM, Method, Reference
Creates an element with the specified namespace URI and qualified name.
884 Document.createEntityReference() API, DOM, Method, Obsolete, Reference
Prior to Gecko 7.0 this method showed up as present, due to bug bug 9850 , it always only returned null. The only workaround is to create a text node, CDATA section, attribute node value, etc. which has the value referred to by the entity, using Unicode 转义序列 or fromCharCode() as necessary.
885 Document.createEvent() API, DOM, Method, Reference
创建 event of the type specified. The returned object should be first initialized and can then be passed to EventTarget.dispatchEvent .
886 Document.createExpression() API, DOM, Method, Reference, XPath, createExpression
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
887 Document.createNSResolver() API, DOM, DOM Reference, Method, Reference
创建 XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
888 Document.createNodeIterator() API, DOM, Gecko, MakeBrowserAgnostic, Method
返回新的 NodeIterator 对象。
889 Document.createProcessingInstruction() API, DOM, Document, Method, Reference, createProcessInstruction
createProcessingInstruction() generates a new processing instruction node and returns it.
890 Document.createRange() API, DOM, DOM Reference, Document, DocumentRange.createRange, Method, Range
Document.createRange() method returns a new 范围 对象。
891 Document.createTextNode() API, DOM, Document, Method, Reference, createTextNode
创建新的 文本 node. This method can be used to escape HTML characters.
892 Document.createTouch() API, DOM, Deprecated, Method, Mobile, Reference, createTouch, touch
Document.createTouch() 方法 creates and returns a new 触摸 对象。
893 Document.createTouchList() API, DOM, Deprecated, Document, Method, Mobile, createTouchList, touch
Document.createTouchList() 方法 creates and returns a new TouchList 对象。
894 Document.createTreeWalker() API, DOM, DOM Reference, Document, Method
Document.createTreeWalker() creator method returns a newly created TreeWalker 对象。
895 Document.currentScript API, DOM, Document, Property, Reference
Document.currentScript property returns the <script> element whose script is currently being processed and isn't a JavaScript module . (For modules use import.meta instead.)
896 Document.defaultView API, Document, HTML DOM, Property, Reference
在浏览器中, document.defaultView 返回 window 对象关联 文档 ,或 null 若不可用。
897 Document.designMode API, Document, HTML DOM, NeedsContent, NeedsSpecTable, Property, Reference, editor
document.designMode controls whether the entire document is editable. Valid values are "on" and "off" . According to the specification, this property is meant to default to "off" . Firefox follows this standard. The earlier versions of Chrome and IE default to "inherit" . Starting in Chrome 43, the default is "off" and "inherit" is no longer supported. In IE6-10, the value is capitalized.
898 Document.dir API, Document, HTML DOM, NeedsSpecTable, Property, Reference
Document.dir 特性为 DOMString representing the directionality of the text of the document, whether left to right (default) or right to left. Possible values are 'rtl' , right to left, and 'ltr' , left to right.
899 Document.doctype API, DOM, Document, Property, Reference
Returns the Document Type Declaration (DTD) associated with current document. The returned object implements the DocumentType interface. Use DOMImplementation.createDocumentType() to create a DocumentType .
900 Document.documentElement API, DOM, Node, Property, Reference, root
Document.documentElement 返回 元素 that is the root element of the document (for example, the <html> element for HTML documents).
901 Document.documentURI API, DOM, NeedsContent, NeedsExample, Property, Reference
documentURI 特性为 Document 接口以字符串形式返回文档位置。
902 Document.documentURIObject API, DOM, Non-standard, Property, Reference
Document.documentURIObject read-only property returns an nsIURI object representing the URI of the document .
903 Document.domConfig API, Deprecated, Property
This should return the DOMConfiguration for the document.
904 Document.domain API, Document, HTML DOM, Property, Reference
domain 特性为 Document interface gets/sets the domain portion of the origin of the current document, as used by the same origin policy .
905 Document.embeds API, Document, HTML DOM, NeedsExample, Property
嵌入 只读特性在 Document interface returns a list of the embedded <object> 元素在当前文档中。
906 Document.enableStyleSheetsForSet() API, CSSOM, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference
Enables the style sheets matching the specified name in the current style sheet set, and disables all other style sheets (except those without a title, which are always enabled).
907 Document.evaluate() API, DOM, Method, Reference, XPath
返回 XPathResult based on an XPath expression and other given parameters.
908 Document.execCommand() API, DOM, Method, NeedsExample, Reference, editor
When an HTML document has been switched to designMode , its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable 元素。
909 Document.exitFullscreen() API, DOM, Document, Full, Full-screen, Fullscreen API, Method, Reference, exitFullscreen, fullscreen, screen
Document 方法 exitFullscreen() requests that the element on this document which is currently being presented in full-screen mode be taken out of full-screen mode, restoring the previous state of the screen.
910 Document.exitPointerLock() API, Experimental, Method, Reference, mouse lock
exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock .
911 Document.featurePolicy API, Document, Feature Policy, Feature-Policy, Reference
featurePolicy 只读特性在 Document interface returns the FeaturePolicy interface which provides a simple API for inspecting the feature policies applied to a specific document.
912 Document.fgColor API, Deprecated, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Property, Reference
fgColor gets/sets the foreground color, or text color, of the current document.
913 Document.fonts API, DOM, Font Loading API, FontFace, FontFaceSet, Fonts, font
fonts 特性为 Document interface returns the FontFaceSet interface of the document.
914 Document.forms API, DOM, Document, Forms, HTML DOM, HTML forms, Property, Reference
forms 只读特性在 Document interface returns an HTMLCollection listing all the <form> elements contained in the document.
915 Document.fullscreen API, Deprecated, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, screen
过时 Document 接口的 fullscreen read-only property reports whether or not the document is currently displaying content in full-screen mode.
916 Document.fullscreenEnabled API, Document, Full-screen, Fullscreen API, Property, Read-only, Reference, fullscreen, fullscreenEnabled, screen
只读 fullscreenEnabled property on the Document interface indicates whether or not full-screen mode is available.
917 Document.getAnimations() API, Animation, CSS, CSS Animations, CSS Transitions, Document, Experimental, Method, Reference, Transitions, Web Animations, getAnimations, waapi, web animations api
getAnimations() 方法在 Document interface returns an array of all 动画 objects currently in effect whose target elements are descendants of the document. This array includes CSS 动画 , CSS Transitions ,和 Web 动画 .
918 Document.getBoxObjectFor() API, DOM, Method, Obsolete, Reference
返回 boxObject (x, y, width, height) for a specified element.
919 Document.getElementById() API, DOM, Document, Elements, Method, Reference, Web, getElementById, id
Document 方法 getElementById() 返回 元素 object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
920 Document.getElementsByClassName() API, DOM, DOM Element Methods, Gecko, HTML5, Method, Reference
returns an array-like object of all child elements which have all of the given class names.
921 Document.getElementsByName() API, DOM, Document, HTML, Method, Reference
getElementsByName() 方法在 Document 对象返回 NodeList Collection of elements with a given 名称 in the document.
922 Document.getElementsByTagName() API, DOM, Method, Reference
返回 HTMLCollection 若元素具有给定标签名称。
923 Document.getElementsByTagNameNS() API, DOM, Method, NeedsMarkupWork, NeedsSpecTable, Reference, getElementsByTagNameNS
返回属于给定名称空间采用给定标签名称的元素列表。搜索完整文档,包括根节点。
924 Document.hasFocus() API, DOM, Focus, Method, Reference
hasFocus() 方法在 Document interface returns a 布尔 value indicating whether the document or any element inside the document has focus. This method can be used to determine whether the active element in a document has focus.
925 Document.hasStorageAccess() API, DOM, Document, Method, Reference, Storage Access API, hasStorageAccess
hasStorageAccess() 方法在 Document interface returns a Promise that resolves with a boolean value indicating whether the document has access to its first-party storage.
926 Document.head API, Document, HTML DOM, Property, Reference
head 只读特性在 Document interface returns the <head> 元素在当前文档。
927 Document.height API, Document, HTML DOM, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference
Returns the height of the document object. In most cases, this is equal to the <body> 元素在当前文档。
928 Document.hidden Document, Page Visibility API, Property, Read-only, Reference, Web
Document.hidden read-only property returns a Boolean value indicating if the page is considered hidden or not.
929 Document.images API, Document, HTML DOM, Images, Property, Reference
图像 只读特性在 Document interface returns a collection 图像 in the current HTML document.
930 Document.implementation API, DOM, Document, NeedsContent, Property, Reference
Document.implementation 特性返回 DOMImplementation object associated with the current document.
931 Document.importNode() API, DOM, Document, Method, Node, Reference, copy, importNode
Document 对象的 importNode() method creates a copy of a 节点 or DocumentFragment from another document, to be inserted into the current document later.
932 Document.lastModified API, Document, HTML DOM, NeedsSpecTable, Property, Reference
lastModified 特性为 Document interface returns a string containing the date and time on which the current document was last modified.
933 Document.lastStyleSheetSet API, CSSOM, DOM, Document, Property, Reference, Stylesheets, lastStyleSheetSet
Document.lastStyleSheetSet property returns the last enabled style sheet set. This property's value changes whenever the document.selectedStyleSheetSet 特性改变。
934 Document.linkColor API, Deprecated, Document, HTML DOM, NeedsSpecTable, Property, Reference
Document.linkColor property gets/sets the color of links within the document.
935 Document.links API, Document, HTML DOM, Property, Reference
链接 只读特性在 Document interface returns a collection of all <area> elements and <a> elements in a document with a value for the href 属性。
936 Document.location API, Document, HTML DOM, Property, Read-only, Reference
Document.location 只读特性返回 定位 object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
937 Document.mozSetImageElement() API, DOM, DOM Reference, Method, Non-standard, Reference
Document.mozSetImageElement() method changes the element being used as the CSS background for a background with a given background element ID.
938 Document.mozSyntheticDocument API, DOM, Non-standard, Property, Reference
Document.mozSyntheticDocument property indicates whether or not the document is a synthetic one; that is, a document representing a standalone image, video, audio, or the like.
939 Document.onafterscriptexecute API, DOM, Non-standard, Property, Reference
Document.onafterscriptexecute property references a function that fires when a static <script> element finishes executing its script. It does not fire if the element is added dynamically, such as with appendChild() .
940 Document.onbeforescriptexecute API, DOM, Non-standard, Property, Reference, element.onbeforescriptexecute
Fired when the code in a <script> element declared in an HTML document is about to start executing. Does not fire if the element is added dynamically, eg with appendChild().
941 Document.onfullscreenchange API, Document, Event Handler, Fullscreen API, Property, Reference, fullscreen, onfullscreenchange
Document 接口的 onfullscreenchange property is an event handler for the fullscreenchange event that is fired immediately before a document transitions into or out of full-screen mode.
942 Document.onfullscreenerror API, Document, Error, Event Handler, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenerror, screen
Document.onfullscreenerror property is an event handler for the fullscreenerror event that is sent to the  document when it fails to transition into full-screen mode after a prior call to Element.requestFullscreen() .
943 Document.onoffline API, DOM, NeedsContent, Property, Reference
Document.onoffline event handler is called when an offline is fired on the <body> element and bubbles up, when navigator.onLine property changes and becomes false .
944 Document.ononline API, DOM, Document, Property, Reference
Document.online event is fired on the <body> of each page when the browser switches between online and offline mode. Additionally, the events bubble up from document.body ,到 document , ending at window . Both events are non-cancellable (you can't prevent the user from coming online, or going offline).
945 Document.onvisibilitychange API, Document, Event Handler, Page Visibility, Property, Reference, onvisibilitychange
Document.onvisibilitychange property represents the event handler that is called when a visibilitychange event reaches this object.
946 Document.open() API, DOM, Document, Method, Reference, open
Document.open() method opens a document for writing .
947 Document.origin API, DOM, Document, Experimental, Interface, Property, Read-only
Document.origin read-only property returns the document's origin. In most cases, this property is equivalent to document.defaultView.location.origin .
948 Document.plugins API, Document, NeedsMarkupWork, Property, Reference
plugins 只读特性在 Document interface returns an HTMLCollection object containing one or more HTMLEmbedElement s representing the <embed> elements in the current document.
949 Document.popupNode API, DOM, Deprecated, Property, Reference
When a popup attached via the popup or context attributes is opened, the XUL document's popupNode property is set to the node that was clicked on. This will be the target of the mouse event that activated the popup. If the popup was opened via the keyboard, the popup node may be set to null. Typically, this property will be checked during a popupshowing event handler for a context menu to initialize the menu based on the context.
950 Document.preferredStyleSheetSet API, CSSOM, DOM, Document, Property, Reference, Stylesheets
preferredStyleSheetSet property returns the preferred style sheet set as set by the page author.
951 Document.queryCommandEnabled() CSS, Document, Method, Reference
Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser.
952 Document.queryCommandState() API, DOM, NeedsExample, Reference
queryCommandState method will tell you if the current selection has a certain Document.execCommand() command applied.
953 Document.queryCommandSupported() API, DOM, Method, Reference, editor
Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser.
954 Document.querySelector() API, CSS Selectors, DOM, DOM Elements, Document, Method, Reference, Selector API, Selectors, querySelector
Document 方法 querySelector() 返回第一 元素 在文档中匹配指定选择器或选择器组。若未找到匹配, null 被返回。
955 Document.querySelectorAll() API, CSS Selectors, DOM, Document, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelectorAll
Document 方法 querySelectorAll() returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
956 Document.readyState API, HTML DOM, Property, Reference
Document.readyState 特性描述加载状态为 document .
957 Document.referrer API, Document, HTML DOM, NeedsSpecTable, Property, Reference
Document.referrer property returns the URI of the page that linked to this page.
958 Document.registerElement() API, DOM, Deprecated, Method, Reference, Web Components
document.registerElement() method registers a new custom element in the browser and returns a constructor for the new element.
959 Document.releaseCapture() API, DOM, Method, Reference
releaseCapture() method releases mouse capture if it's currently enabled on an element within this document. Enabling mouse capture on an element is done by calling element.setCapture() .
960 Document.requestStorageAccess() API, DOM, Document, Method, Reference, Storage Access API, requestStorageAccess
requestStorageAccess() 方法在 Document interface returns a Promise that resolves if the access to first-party storage was granted, and rejects if access was denied.
961 Document.scripts API, Document, HTML DOM, Property, Reference
脚本 特性为 Document interface returns a list of the <script> elements in the document. The returned object is an HTMLCollection .
962 Document.scrollingElement API, Document, Property, Reference, scrollingElement
scrollingElement 只读特性在 Document interface returns a reference to the 元素 that scrolls the document. In standards mode, this is the root element of the document, document.documentElement .
963 Document.selectedStyleSheetSet API, CSSOM, DOM, Property, Reference, Stylesheets
selectedStyleSheetSet property indicates the name of the style sheet set that's currently in use.
964 Document.styleSheetSets API, CSSOM, DOM, Property, Reference, Stylesheets
styleSheetSets read-only property returns a live list of all of the currently-available style sheet sets.
965 Document.timeline API, Animation, AnimationTimeline, Document, DocumentTimeline, Experimental, Property, Reference, Web Animations, timeline, waapi, web animations api
timeline readonly property of the Document interface represents the default timeline of the current document. This timeline is a special instance of DocumentTimeline 它是在页面加载时自动创建的。
966 Document.title API, Command API, Document, HTML DOM, NeedsSpecTable, Property, Reference
document.title property gets or sets the current title of the document.
967 Document.tooltipNode API, API:Mozilla Extensions, DOM, Draft, Gecko, Mozilla, Non-standard, Property, Reference
Document.tooltipNode property returns the node which is the target of the current <xul:tooltip> .
968 Document.visibilityState DOM, Document, Page Visibility API, Property, Read-only, Reference, Web
Document.visibilityState read-only property returns the visibility of the document , that is in which context this element is now visible. It is useful to know if the document is in the background or an invisible tab, or only loaded for pre-rendering.
969 Document.vlinkColor API, Deprecated, Document, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference
Document.vlinkColor property gets/sets the color of links that the user has visited in the document.
970 Document.width API, Document, HTML DOM, NeedsBrowserAgnosticism, NeedsSpecTable, Obsolete, Property, Reference
返回宽度为 <body> element of the current document in pixels.
971 Document.write() API, DOM, Document, Method, Reference, write
Document.write() 方法把文本字符串写入文档流,打开通过 document.open() .
972 Document.writeln() API, DOM, Method, Reference
把后跟换行符的文本字符串写入文档。
973 Document.xmlEncoding API, DOM, Document.xmlEncoding, MakeBrowserAgnostic, Obsolete, Property
Returns the encoding as determined by the XML declaration. Should be null if unspecified or unknown.
974 Document.xmlVersion API, DOM, DOM Reference, Obsolete, Property, Reference
Returns the version number as specified in the XML declaration (e.g., <?xml version="1.0"?> ) or "1.0" if the declaration is absent.
975 Document:DOMContentLoaded 事件 事件
DOMContentLoaded 事件激发当初始 HTML 文档已完全加载并剖析,无需等待样式表、图像及子框架完成加载。
976 Document: animationcancel event CSS Animations, Document, Event, Reference, Web, animationcancel
animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an animationend event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
977 Document: animationend event CSS Animations, Document, Event, Reference, Web, animationend
animationend event is fired when a CSS Animation has completed (but not if it aborts before reaching completion, such as if the element becomes invisible or the animation is removed from the element).
978 Document: animationiteration event Animation, AnimationEvent, CSS Animations, Event, Reference, animationiteration
animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the animationend event, and therefore does not occur for animations with an animation-iteration-count of one.
979 Document: animationstart event CSS Animations, Document, Event, Reference, Web, animationstart
animationstart event is fired when a CSS Animation has started. If there is an animation-delay , this event will fire once the delay period has expired. A negative delay will cause the event to fire with an elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
980 Document: copy event 事件
copy event fires when the user initiates a copy action through the browser's user interface.
981 Document: cut event 事件
cut event is fired when the user has initiated a "cut" action through the browser's user interface.
982 Document: drag event API, DOM, Document, Drag, DragEvent, Event, Reference, Web, drag and drop
drag event is fired every few hundred milliseconds as an element or text selection is being dragged by the user.
983 Document: dragend event API, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragend
dragend event is fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
984 Document: dragenter event API, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragenter
dragenter event is fired when a dragged element or text selection enters a valid drop target.
985 Document: dragexit event DOM, Event, Reference, drag and drop
dragexit event is fired when an element is no longer the drag operation's immediate selection target.
986 Document: dragleave event API, DOM, Document, DragEvent, Event, Reference, Web, drag and drop, dragleave
dragleave event is fired when a dragged element or text selection leaves a valid drop target.
987 Document: dragover event API, DOM, Document, DragEvent, Event, Reference, Web, drag and drop
dragover event is fired when an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).
988 Document: dragstart event DOM, Event, Reference, drag and drop
dragstart event is fired when the user starts dragging an element or text selection.
989 Document: drop event DOM, Drag Event, Drop, Event, HTML 5, Reference, drag and drop
drop event is fired when an element or text selection is dropped on a valid drop target.
990 Document: fullscreenchange event API, Fullscreen API, Reference, events, fullscreen, fullscreenchange
fullscreenchange event is fired immediately after the browser switches into or out of full-screen mode.
991 Document: fullscreenerror event API, Error, Fullscreen API, Reference, events, fullscreen, fullscreenerror
fullscreenerror event is fired when the browser cannot switch to full-screen mode.
992 Document: gotpointercapture event Document, Event, PointerEvent, Reference, Web, gotpointercapture
gotpointercapture event is fired when an element captures a pointer using setPointerCapture() .
993 Document: keydown event API, DOM, Document, Event, KeyboardEvent, Reference, keydown
keydown event is fired when a key is pressed.
994 Document: keypress event DOM, Deprecated, Event, KeyboardEvent, Reference
keypress event is fired when a key that produces a character value is pressed down.
995 Document: keyup event DOM, Document, Event, KeyboardEvent, Reference, keyup
keyup event is fired when a key is released.
996 Document: lostpointercapture event API, Document, Event, PointerEvent, Reference, lostpointercapture
lostpointercapture event is fired when a 捕获指针 被释放。
997 Document: paste event 事件
paste event is fired when the user has initiated a "paste" action through the browser's user interface.
998 Document: pointercancel event API, Document, Event, PointerEvent, onpointercancel, pointercancel
pointercancel event is fired when the browser determines that there are unlikely to be any more pointer events, or if after the pointerdown event is fired, the pointer is then used to manipulate the viewport by panning, zooming, or scrolling.
999 Document: pointerdown event API, Document, Event, PointerEvent, Reference, onpointerdown, pointerdown
pointerdown event is fired when a pointer becomes active. For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer.
1000 Document: pointerenter event API, Document, Event, PointerEvent, Reference, onpointerenter, pointerenter
pointerenter event fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not support hover (see pointerdown ).
1001 Document: pointerleave event API, Document, Event, PointerEvent, Reference, onpointerleave, pointerleave
pointerleave event is fired when a pointing device is moved out of the hit test boundaries of an element. For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
1002 Document: pointerlockchange event Document, Event, Reference, Web, pointerlockchange
pointerlockchange event is fired when the pointer is locked/unlocked.
1003 Document: pointerlockerror event Document, Event, Reference, Web, pointerlockerror
pointerlockerror event is fired when locking the pointer failed (for technical reasons or because the permission was denied).
1004 Document: pointermove event Document, Event, PointerEvent, Reference, Web, pointer, pointermove
pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action .
1005 Document: pointerout event Document, Event, PointerEvent, Reference, Web, onpointerout, pointerout
pointerout event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not support hover (see pointerup ); after firing the pointercancel event (see pointercancel ); when a pen stylus leaves the hover range detectable by the digitizer.
1006 Document: pointerover event Document, Event, PointerEvent, Reference, Web, onpointerover, pointer, pointerover
pointerover event is fired when a pointing device is moved into an element's hit test boundaries.
1007 Document: pointerup event API, Document, Event, PointerEvent, Reference, Web, onpointerup, pointerup
pointerup event is fired when a pointer is no longer active.
1008 Document: readystatechange event Event, Reference, XMLHttpRequest, interactive
readystatechange 事件被激发当 readyState 文档属性有改变。
1009 Document: scroll event API, DOM, Document, Event, Reference, Scroll, UIEvent
scroll event fires when the document view or an element has been scrolled.
1010 Document: selectionchange event Reference, Selection, Selection API, events, selectionchange
No summary!
1011 Document: selectstart event Document, Reference, Selection, Selection API, events, selectstart
No summary!
1012 Document: touchcancel event Document, Event, Reference, TouchEvent, Web, touchcancel
touchcancel event is fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created).
1013 Document: touchend event API, Event, Reference, Touch Events, TouchEvent, UI, UI Events, UX, ontouchend, touch, touchend
touchend event fires when one or more touch points are removed from the touch surface.
1014 Document: touchmove event API, Document, Event, Reference, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchmove
touchmove event is fired when one or more touch points are moved along the touch surface.
1015 Document: touchstart event Document, Event, Reference, TouchEvent, Web, touchstart
touchstart event is fired when one or more touch points are placed on the touch surface.
1016 Document: transitioncancel event Document, Event, Reference, TransitionEvent, Web, transitioncancel
transitioncancel event is fired when a CSS transition 被取消。
1017 Document: transitionend event CSS transition, Document, Event, Reference, Web, transitionend
transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display 被设为 none , then the event will not be generated.
1018 Document: transitionrun event Document, Event, Reference, TransitionEvent, Web, transitionrun
transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
1019 Document: transitionstart event DOM, Document, Event, Reference, Web, transitionstart
transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
1020 Document: visibilitychange API, Event, Reference, Visibility, Web, events, visibilitychange
visibilitychange event is fired at the document when the content of its tab have become visible or have been hidden.
1021 Document: wheel event API, Document, Reference, events, wheel
wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1022 DOM (文档对象模型) API, DOM, Document, Document Object Model, Guide, Overview, Reference
DOM (文档对象模型) ( DOM ) connects web pages to scripts or programming languages by representing the structure of a document—such as the HTML representing a web page—in memory.
1023 Events and the DOM DOM, Guide
This chapter describes the DOM Event Model. The 事件 interface itself is described, as well as the interfaces for event registration on nodes in the DOM, and event listeners , and several longer examples that show how the various event interfaces relate to one another.
1024 Examples of web and XML development using the DOM DOM, DOM Reference
This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.
1025 How to create a DOM tree AJAX, Add-ons, DOM, Extensions, JXON, NeedsUpdate, XML
This page describes how to use the DOM Core API in JavaScript to create and modify DOM objects. It applies to all Gecko-based applications (such as Firefox) both in privileged (extensions) and unprivileged (web pages) code.
1026 Introduction to the DOM Beginner, DOM, Document, Guide, HTML DOM, Introduction, Tutorial
DOM (文档对象模型) ( DOM ) is the data representation of the objects that comprise the structure and content of a document on the web. In this guide, we'll briefly introduce the DOM.
1027 使用选择器定位 DOM 元素 Beginner, DOM, NeedsBeginnerUpdate
选择器 API 提供的方法使之能快速且轻松检索 元素 nodes from the DOM by matching against a set of selectors. This is much faster than past techniques, wherein it was necessary to, for example, use a loop in JavaScript code to locate the specific items you needed to find.
1028 Traversing an HTML table with JavaScript and DOM Interfaces API, DOM, Guide, HTML, JavaScript
This article is an overview of some powerful, fundamental DOM level 1 methods and how to use them from JavaScript. You will learn how to create, access and control, and remove HTML elements dynamically. The DOM methods presented here are not specific to HTML; they also apply to XML. The demonstrations provided here will work fine in any modern browser, including all versions of Firefox and IE 5+.
1029 Using the W3C DOM Level 1 Core DOM, NeedsUpdate
The W3C's DOM Level 1 Core is a powerful object model for changing the content tree of documents. It is supported in all major browsers including Mozilla Firefox and Microsoft Internet Explorer. It is a powerful base for scripting on the web.
1030 范例 DOM
No summary!
1031 Whitespace in the DOM DOM, Intermediate, NeedsUpdate
The presence of whitespace in the DOM can cause layout problems and make manipulation of the content tree difficult in unforeseen ways. Any whitespace characters that are outside of tags in the original document are represented in the DOM. This is needed internally so that the editor can preserve formatting of documents and so that white-space: pre in CSS will work. This means that:
1032 DocumentFragment API, DOM, DocumentFragment, Documents, Interface, Reference, Web Components
DocumentFragment 接口表示没有父级的最小文档对象。它被用作轻量版本的 Document that stores a segment of a document structure comprised of nodes just like a standard document.
1033 DocumentFragment() API, Constructor, DOM, DocumentFragment, Experimental
DocumentFragment() 构造函数返回新的、空 DocumentFragment 对象。
1034 DocumentFragment.querySelector() API, DOM, DocumentFragment, Method
DocumentFragment.querySelector() method returns the first element, or null if no matches are found, within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
1035 DocumentFragment.querySelectorAll() API, DOM, DocumentFragment, Method
DocumentFragment.querySelectorAll() 方法返回 NodeList of elements within the DocumentFragment (using depth-first pre-order traversal of the document's nodes) that matches the specified group of selectors.
1036 DocumentOrShadowRoot API, Document, DocumentOrShadowRoot, Interface, Reference, ShadowRoot, shadow dom
DocumentOrShadowRoot mixin of the Shadow DOM API provides APIs that are shared between documents and shadow roots. The following features are included in both Document and ShadowRoot .
1037 DocumentOrShadowRoot.activeElement API, Document, DocumentOrShadowRoot, Focus, Property, Reference, ShadowRoot, activeElement
activeElement 只读特性在 Document and ShadowRoot interfaces returns the 元素 within the DOM or shadow DOM tree that currently has focus.
1038 DocumentOrShadowRoot.caretPositionFromPoint() API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, caretPositionFromPoint()
caretPositionFromPoint() 特性为 DocumentOrShadowRoot interface returns a CaretPosition object, containing the DOM node, along with the caret and caret's character offset within that node.
1039 DocumentOrShadowRoot.elementFromPoint() API, Coordinates, Document, DocumentOrShadowRoot, Find Element, Method, Point, Reference, ShadowRoot, elementFromPoint, elementFromPoint(), find, shadow dom
elementFromPoint() method—available on both the Document and ShadowRoot objects—returns the topmost 元素 at the specified coordinates (relative to the viewport).
1040 DocumentOrShadowRoot.elementsFromPoint() API, Document, DocumentOrShadowRoot, Method, Reference, ShadowRoot, elementsFromPoint, elementsFromPoint(), shadow dom
elementsFromPoint() 特性为 DocumentOrShadowRoot interface returns an array of all elements at the specified coordinates (relative to the viewport).
1041 DocumentOrShadowRoot.fullscreenElement API, Document, DocumentOrShadowRoot, Full-screen, Fullscreen API, Graphics, Property, Read-only, Reference, fullscreenElement, screen
DocumentOrShadowRoot.fullscreenElement read-only property returns the 元素 that is currently being presented in full-screen mode in this document, or null if full-screen mode is not currently in use.
1042 DocumentOrShadowRoot.getSelection() API, DocumentOrShadowRoot, Doument, Method, Reference, ShadowRoot, getSelection, getSelection(), shadow dom
getSelection() 特性为 DocumentOrShadowRoot interface returns a Selection object representing the range of text selected by the user, or the current position of the caret.
1043 DocumentOrShadowRoot.msElementsFromRect() API, API:Microsoft Extensions, Method, Non-standard, Reference, msElementsFromRect
msElementsFromRect method returns the node list of elements that are under a rectangle defined by left, top, width, and height.
1044 DocumentOrShadowRoot.nodeFromPoint() API, DocumentOrShadowRoot, Method, Non-standard, Reference, nodeFromPoint
nodeFromPoint() 特性为 DocumentOrShadowRoot interface returns the topmost node at the specified coordinates (relative to the viewport).
1045 DocumentOrShadowRoot.nodesFromPoint() API, DocumentOrShadowRoot, Method, Non-standard, Reference, nodesFromPoint
nodesFromPoint() 特性为 DocumentOrShadowRoot interface returns an array of all nodes at the specified coordinates (relative to the viewport).
1046 DocumentOrShadowRoot.pointerLockElement API, DOM, Document, Property, Reference, ShadowRoot, mouse lock
pointerLockElement 特性为 Document and ShadowRoot interfaces provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.
1047 DocumentOrShadowRoot.styleSheets API, Document, DocumentOrShadowRoot, Property, Reference, ShadowRoot, Stylesheets, shadow dom
styleSheets 只读特性在 DocumentOrShadowRoot interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
1048 DocumentTimeline API, Animation, AnimationTimeline, DocumentTimeline, Experimental, Interface, Reference, Web Animations, waapi, web animations api
DocumentTimeline 接口的 Web 动画 API 表示动画时间线,包括默认的文档时间线 (访问凭借 Document.timeline ).
1049 DocumentTimeline.DocumentTimeline() API, Animation, Constructor, DocumentTimeline, DocumentTimeline(), Experimental, Reference, waapi, web animations api
DocumentTimeline() constructor of the Web 动画 API creates a new instance of the DocumentTimeline object associated with the active document of the current browsing context.
1050 DocumentTouch API, DOM, DocumentTouch, Mobile, Obsolete, TouchList, touch
DocumentTouch interface used to provide convenience methods for creating 触摸 and TouchList objects, but DocumentTouch been removed from the standards. These two methods now live on the Document 接口。
1051 DocumentType API, DOM, DocumentType, Interface
DocumentType 接口表示 节点 包含 doctype。
1052 DoubleRange API, Constraints, Dictionary, DoubleRange, Interface, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
DoubleRange dictionary is used to define a range of permitted double-precision floating-point values for a property, with either or both a maximum and minimum value specified. The ConstrainDouble dictionary is based on this, augmenting it to support exact and ideal values as well.
1053 DragEvent API, DragEvent, Reference, drag and drop
DragEvent 接口是 DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.
1054 DragEvent() API, Constructor, DOM, Reference, drag and drop
This constructor is used to create a synthetic DragEvent 对象。
1055 DragEvent.dataTransfer API, DOM, Property, Reference, drag and drop
DragEvent.dataTransfer property holds the drag operation's data (as a DataTransfer 对象)。
1056 DynamicsCompressorNode API, Audio, DynamicsCompressorNode, Interface, Media, Reference, Web Audio API
继承的特性来自其父级, AudioNode .
1057 DynamicsCompressorNode() Audio, Constructor, DynamicsCompressorNode, Media, Web Audio API
DynamicsCompressorNode() 构造函数创建新 DynamicsCompressorNode object which provides a compression effect, which lowers the volume of the loudest parts of the signal
1058 DynamicsCompressorNode.attack API, Attack, DynamicsCompressorNode, Property, Reference, Web Audio API
An AudioParam .
1059 DynamicsCompressorNode.knee API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, knee
An AudioParam .
1060 DynamicsCompressorNode.ratio API, DynamicsCompressorNode, Property, Reference, Web Audio API, ratio
An AudioParam .
1061 DynamicsCompressorNode.reduction API, DynamicsCompressorNode, Property, Reference, Référence(2), Web Audio API, reduction
reduction 只读特性在 DynamicsCompressorNode interface is a float representing the amount of gain reduction currently applied by the compressor to the signal.
1062 DynamicsCompressorNode.release API, DynamicsCompressorNode, Property, Reference, Release, Web Audio API
An AudioParam .
1063 DynamicsCompressorNode.threshold API, DynamicsCompressorNode, Property, Reference, Web Audio API, threshold
An AudioParam .
1064 EXT_blend_minmax API, Reference, WebGL, WebGL extension
EXT_blend_minmax 扩展属于 WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
1065 EXT_color_buffer_float API, Reference, WebGL, WebGL extension, WebGL2
EXT_color_buffer_float extension is part of WebGL and adds the ability to render a variety of floating point formats.
1066 EXT_color_buffer_half_float API, Reference, WebGL, WebGL extension
EXT_color_buffer_half_float 扩展属于 WebGL API and adds the ability to render to 16-bit floating-point color buffers.
1067 EXT_disjoint_timer_query API, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query 扩展属于 WebGL API and provides a way to measure the duration of a set of GL commands, without stalling the rendering pipeline.
1068 EXT_disjoint_timer_query.beginQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.beginQueryEXT() 方法在 WebGL API starts a timer query.
1069 EXT_disjoint_timer_query.createQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.createQueryEXT() 方法在 WebGL API creates and initializes WebGLQuery objects, which track the time needed to fully complete a set of GL commands.
1070 EXT_disjoint_timer_query.deleteQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.deleteQueryEXT() 方法在 WebGL API deletes a given WebGLQuery 对象。
1071 EXT_disjoint_timer_query.endQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.endQueryEXT() 方法在 WebGL API ends a timer query.
1072 EXT_disjoint_timer_query.getQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.getQueryEXT() 方法在 WebGL API returns information about a query target.
1073 EXT_disjoint_timer_query.getQueryObjectEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.getQueryObjectEXT() 方法在 WebGL API returns the state of a query object.
1074 EXT_disjoint_timer_query.isQueryEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.isQueryEXT() 方法在 WebGL API 返回 true if the passed object is a WebGLQuery 对象。
1075 EXT_disjoint_timer_query.queryCounterEXT() API, Method, Reference, WebGL, WebGL extension
EXT_disjoint_timer_query.queryCounterEXT() 方法在 WebGL API records the current time into the corresponding query object.
1076 EXT_float_blend 32-bit, API, Blending, Draw Buffer, EXT_float_blend, Floating-Point, Reference, WebGL, WebGL extension, WebGL extensions, float
WebGL API 's EXT_float_blend extension allows blending and draw buffers with 32-bit floating-point components.
1077 EXT_frag_depth API, Fragment Shader, Reference, WebGL, WebGL extension
EXT_frag_depth 扩展属于 WebGL API and enables to set a depth value of a fragment from within the fragment shader.
1078 EXT_sRGB API, Reference, WebGL, WebGL extension
EXT_sRGB 扩展属于 WebGL API and adds sRGB support to textures and framebuffer objects.
1079 EXT_shader_texture_lod API, Reference, WebGL, WebGL extensions
EXT_shader_texture_lod 扩展属于 WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD ( Level of detail ).
1080 EXT_texture_compression_bptc API, Reference, WebGL, WebGL extensions
EXT_texture_compression_bptc 扩展属于 WebGL API and exposes 4 BPTC compressed texture formats. These compression formats are called BC7 and BC6H in Microsoft's DirectX API .
1081 EXT_texture_compression_rgtc API, Reference, WebGL, WebGL extensions
EXT_texture_compression_rgtc 扩展属于 WebGL API and exposes 4 RGTC compressed texture formats. RGTC is a block-based texture compression format suited for unsigned and signed red and red-green textures ( R ed- G reen T exture C ompression).
1082 EXT_texture_filter_anisotropic API, Reference, WebGL, WebGL extension
EXT_texture_filter_anisotropic 扩展属于 WebGL API 和暴露了 2 个常量为 AF (各向异性过滤) .
1083 EcKeyGenParams API, Dictionary, EcKeyGenParams, Reference, Web Crypto API
EcKeyGenParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey() , when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH .
1084 EcKeyImportParams API, Dictionary, EcKeyImportParams, Reference, Web Crypto API
See the examples for SubtleCrypto.importKey() .
1085 EcdhKeyDeriveParams API, Dictionary, EcdhKeyDeriveParams, Reference, Web Crypto API
EcdhKeyDeriveParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey() ,  when using the ECDH 算法。
1086 EcdsaParams API, Dictionary, EcdsaParams, Reference, Web Crypto API
EcdsaParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify() when using the ECDSA 算法。
1087 EffectTiming API, Animation, Dictionary, EffectTiming, Experimental, Interface, KeyframeEffect, Reference, Web Animations, animate, web animations api
EffectTiming dictionary, part of the Web 动画 API , is used by Element.animate() , KeyframeEffectReadOnly() ,和 KeyframeEffect() to describe timing properties for animation effects. These properties are all optional, although without setting a duration the animation will not play.
1088 EffectTiming.delay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, delay, waapi, web animations api
EffectTiming dictionary's delay property in the Web 动画 API represents the number of milliseconds to delay the start of the animation.
1089 EffectTiming.direction API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, direction, waapi, web animations api
direction 特性为 Web 动画 API dictionary EffectTiming indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an interation
1090 EffectTiming.duration API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, duration, waapi, web animations api
duration property of the dictionary EffectTiming Web 动画 API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
1091 EffectTiming.easing API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Timing Function, Web Animations, animate, easing, waapi, web animations api
EffectTiming dictionary's easing property in the Web 动画 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.
1092 EffectTiming.endDelay API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, endDelay, waapi, web animations api
endDelay 特性为 EffectTiming dictionary (part of the Web 动画 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.
1093 EffectTiming.fill API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, fill, web animations api
Web 动画 API 's EffectTiming dictionary's fill property specifies a fill mode , which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time.
1094 EffectTiming.iterationStart API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterationStart, waapi, web animations api
Web 动画 API 's EffectTiming dictionary's iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it.
1095 EffectTiming.iterations API, Animation, EffectTiming, Experimental, KeyframeEffect, Property, Reference, Web Animations, animate, iterations, waapi, web animations api
Web 动画 API dictionary EffectTiming 's iterations property specifies the number of times the animation should repeat. The default value is 1, indicating that it should only play once, but you can set it to any floating-point value (including positive Infinity 默认为 1 , and can also take a value of Infinity to make it loop infinitely.
1096 Element API, DOM, DOM Reference, Element, Interface, Reference, Web API
元素 is the most general base class from which all objects in a Document 继承。它只拥有所有种类元素共有的方法和特性。更具体的类继承自 元素 .
1097 Element.accessKey API, Access Keys, DOM, Element, Hotkeys, Keyboard Equivalents, Keyboard Shortcuts, NeedsContent, Property, Reference
Element.accessKey property sets the keystroke which a user can press to jump to a given element.
1098 Element.animate() API, Animation, Element, Experimental, Method, Reference, Web Animations
元素 接口的 animate() method is a shortcut method which creates a new 动画 , applies it to the element, then plays the animation. It returns the created 动画 对象实例。
1099 Element.attachShadow() API, Element, Method, Reference, attachShadow, shadow dom
Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot .
1100 Element.attributes API, Attributes, DOM, Element, Property, Reference
Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap , not an 数组 , so it has no 数组 methods and the Attr nodes' indexes may differ among browsers. To be more specific, 属性 is a key/value pair of strings that represents any information regarding that attribute.
1101 Element.classList API, DOM, Element, Property, Read-only, Reference
Element.classList is a read-only property that returns a live DOMTokenList collection of the class attributes of the element.
1102 Element.className API, DOM, Gecko, Property, Reference
className 特性为 元素 interface gets and sets the value of the class 属性 of the specified element.
1103 Element.clientHeight API, CSSOM View, NeedsMarkupWork, Property, Reference
Element.clientHeight read-only property is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present).
1104 Element.clientLeft API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right–to–left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding. clientLeft is read-only.
1105 Element.clientTop API, CSSOM View, NeedsAgnostify, NeedsMarkupWork, Property, Reference
The width of the top border of an element in pixels. It is a read-only, integer property of element.
1106 Element.clientWidth API, CSSOM View, NeedsMarkupWork, Property, Reference
Element.clientWidth property is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present).
1107 Element.closest() API, DOM, Element, Method, Reference
For browsers that do not support Element.closest() , but carry support for element.matches() (or a prefixed equivalent, meaning IE9+), a polyfill exists:
1108 Element.computedStyleMap() API, CSS Typed Object Model API, Element, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, computedStyleMap()
computedStyleMap() 方法在 元素 interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration .
1109 Element.createShadowRoot() API, Deprecated, Element, Method, Non-standard, Reference, shadow dom
使用 Element.createShadowRoot to create an instance of shadow DOM . When shadow DOM is created, it is always attached to an existing element. After the shadow DOM is created, the element that it is attached to is called the shadow root .
1110 Element.currentStyle API, NeedsExample, Non-standard, Property
Element.currentStyle is a proprietary property which is similar to the standardized window.getComputedStyle() 方法。
1111 Element.getAnimations() API, Animatable, CSS, CSS Animations, CSS Transitions, Element, Experimental, Method, Reference, Transitions, Web Animations, getAnimations, waapi, web animations api
getAnimations() 方法在 元素 interface (specified on the Animatable mixin) returns an array of all 动画 objects affecting this element or which are scheduled to do so in future. It can optionally return 动画 objects for descendant elements too.
1112 Element.getAttribute() API, DOM, Element, Method, NeedsSpecTable, Reference
getAttribute() 方法在 元素 interface returns the value of a specified attribute on the element.
1113 Element.getAttributeNS() API, DOM, Element, Method, Reference
getAttributeNS() 方法在 元素 interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see 注意事项 了解细节。
1114 Element.getAttributeNames() API, Attribute, DOM, Element, Method, getAttributeNames
getAttributeNames() 方法在 元素 interface returns the attribute names of the element as an 数组 of strings. If the element has no attributes it returns an empty array.
1115 Element.getAttributeNode() API, DOM, Element, Method, Reference
Returns the specified attribute of the specified element, as an Attr 节点。
1116 Element.getAttributeNodeNS() API, DOM, Method, Reference
返回 Attr node for the attribute with the given namespace and name.
1117 Element.getBoundingClientRect() API, Boundary, Bounding, Bounds, CSSOM View, Client, Containing, DOM, Element, Enclosing, Method, Minimum, Rectangle, Reference, Smallest, clientHeight, getBoundingClientRect, getClientRects, offsetHeight, scrollHeight
Element.getBoundingClientRect() method returns the size of an element and its position relative to the viewport.
1118 Element.getClientRects() API, CSSOM View, Element, Method, Reference, clientHeight, getBoundingClientRect, getClientRects, offsetHeight, scrollHeight
getClientRects() 方法在 元素 interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.
1119 Element.getElementsByClassName() API, Classes, Element, Method, Reference, getElementsByClassName
元素 方法 getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
1120 Element.getElementsByTagName() API, DOM, Element, Method, Reference
Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name .
1121 Element.getElementsByTagNameNS() API, DOM, Element, Method, Reference
Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS , except that its search is restricted to descendants of the specified element.
1122 Element.hasAttribute() API, DOM, Element, Method, Reference
Element.hasAttribute() 方法返回 布尔 value indicating whether the specified element has the specified attribute or not.
1123 Element.hasAttributeNS() API, DOM, Element, Method, Reference
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute.
1124 Element.hasAttributes() API, DOM, Element, Method, Reference
hasAttributes() 方法在 元素 interface returns a 布尔 indicating whether the current element has any attributes or not.
1125 Element.hasPointerCapture() API, DOM, Element, Method, PointerEvent, Reference, hasPointerCapture
hasPointerCapture() 方法在 元素 interface sets whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
1126 Element.id API, DOM, Element, Property, Reference
id 特性为 元素 interface represents the element's identifier, reflecting the id 全局属性。
1127 Element.innerHTML API, DOM, DOM Parsing, Element, Parsing HTML, Property, Reference, innerHTML
元素 property innerHTML 获取或设置包含在元素中的 HTML 或 XML 标记。
1128 Element.insertAdjacentElement() API, DOM, Element, Gecko, Method, Reference, insertAdjacentElement
insertAdjacentElement() 方法在 元素 interface inserts a given element node at a given position relative to the element it is invoked upon.
1129 Element.insertAdjacentHTML() API, Amending the DOM, Changing the DOM, DOM, Element, HTML, Inserting Elements, Inserting Nodes, Method, Reference, insertAdjacentHTML
insertAdjacentHTML() 方法在 元素 interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position. It does not reparse the element it is being used on, and thus it does not corrupt the existing elements inside that element. This avoids the extra step of serialization, making it much faster than direct innerHTML manipulation.
1130 Element.insertAdjacentText() API, DOM, Element, Gecko, Method, Reference, insertAdjacentText
insertAdjacentText() 方法在 元素 interface inserts a given text node at a given position relative to the element it is invoked upon.
1131 Element.localName API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
Element.localName read-only property returns the local part of the qualified name of an element.
1132 Element.matches() API, DOM, Element, Method, Reference, msMatchesSelector, webkitMatchesSelector
selectorString is a string representing the selector to test.
1133 Element.msZoomTo() API, API:Microsoft Extensions, Method, Microsoft, Non-standard, Reference, msZoomTo
msZoomTo method scrolls and/or zooms an element to its specified coordinate with animation.
1134 Element.name API, DOM, Element, NeedsBrowserCompatibility, NeedsSpecTable, NeedsUpdate, Property, Reference, Web
名称 gets or sets the 名称 property of an element in the DOM. It only applies to the following elements: <a> , <applet> , <button> , <form> , <frame> , <iframe> , <img> , <input> , <map> , <meta> , <object> , <param> , <select> ,和 <textarea> .
1135 Element.namespaceURI API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.
1136 Element.onfullscreenchange API, Element, Event Handler, Full, Full-screen, Fullscreen API, Property, Reference, fullscreen, onfullscreenchange, screen
元素 接口的 onfullscreenchange property is an event handler for the fullscreenchange event that is fired when the element has transitioned into or out of full-screen mode.
1137 Element.onfullscreenerror API, Element, Event Handler, Full, Full-screen API, Property, Reference, fullscreen, onfullscreenerror, screen
元素 接口的 onfullscreenerror property is an event handler for the fullscreenerror event which is sent to the element when an error occurs while attempting to transition into or out of full-screen mode.
1138 Element.openOrClosedShadowRoot API, Add-ons, Element, Extensions, Mozilla, Needs Privileges, Non-standard, Property, Reference, WebExtensions, openOrClosedShadowRoot, shadow dom
Element.openOrCloseShadowRoot read-only property represents the shadow root hosted by the element, regardless if its mode is open or closed .
1139 Element.outerHTML API, DOM, DOM Parsing, Element, NeedsMobileBrowserCompatibility, Parsing, Property, Reference, Serialization, Serializing, outerHTML
outerHTML 属性在 元素 DOM 接口获取描述元素 (包括其后代) 的序列化 HTML 片段。也可以设置它为把元素替换为剖析自给定字符串的节点。
1140 Element.prefix API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Property, Reference
Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.
1141 Element.querySelector() API, CSS, CSS Selectors, DOM, Element, Elements, Finding Elements, Locating Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
querySelector() 方法在 元素 interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.
1142 Element.querySelectorAll() API, CSS Selectors, DOM, Element, Finding Elements, Method, Reference, Searching Elements, Selecting Elements, Selectors, querySelector
元素 方法 querySelectorAll() returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.
1143 Element.releasePointerCapture() API, DOM, Element, Method, PointerEvent, Reference
releasePointerCapture() 方法在 元素 interface releases (stops) pointer capture that was previously set for a specific ( PointerEvent ) pointer .
1144 Element.removeAttribute() API, Attribute, DOM, Element, Method, NeedsSpecTable, Reference, remove, removeAttribute
元素 方法 removeAttribute() removes the attribute with the specified name from the element.
1145 Element.removeAttributeNS() API, DOM, Element, Method, NeedsSpecTable, Reference
removeAttributeNS() 方法在 元素 interface removes the specified attribute from an element.
1146 Element.removeAttributeNode() API, DOM, Element, Method, NeedsSpecTable, Reference
removeAttributeNode() 方法在 元素 object removes the specified attribute from the current element.
1147 Element.requestFullscreen() API, DOM, Element, Full, Fullscreen API, Graphics, Method, Reference, Video, full screen, fullscreen, requestFullscreen, screen
Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.
1148 Element.requestPointerLock() API, DOM, Experimental, Method, NeedsExample, PointerEvent, Reference, mouse lock
Element.requestPointerLock() method lets you asynchronously ask for the pointer to be locked on the given element.
1149 Element.runtimeStyle API, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property
Element.runtimeStyle is a proprietary property similar to HTMLElement.style , except its styles, that have higher precedence and modification.
1150 Element.scroll() API, Element, Method, Reference, Scroll
scroll() 方法在 元素 interface scrolls the element to a particular set of coordinates inside a given element.
1151 Element.scrollBy() API, Element, Method, Reference, scrollBy
scrollBy() 方法在 元素 interface scrolls an element by the given amount.
1152 Element.scrollHeight API, CSSOM View, NeedsDHTMLRemovalInExample, Property, Reference
Element.scrollHeight read-only property is a measurement of the height of an element's content, including content not visible on the screen due to overflow.
1153 Element.scrollIntoView() API, CSSOM Views, DOM, Element, Method, Reference, View, scrollIntoView, scrolling
元素 接口的 scrollIntoView() method scrolls the element's parent container such that the element on which scrollIntoView() is called is visible to the user
1154 Element.scrollIntoViewIfNeeded() API, DOM, Element, Method, Non-standard, Reference
Element.scrollIntoViewIfNeeded() method scrolls the current element into the visible area of the browser window if it's not already within the visible area of the browser window. If the element is already within the visible area of the browser window, then no scrolling takes place. This method is a proprietary variation of the standard Element.scrollIntoView() 方法。
1155 Element.scrollLeft API, CSSOM View, Property, Reference
Element.scrollLeft property gets or sets the number of pixels that an element's content is scrolled from its left edge.
1156 Element.scrollLeftMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
Element.scrollLeftMax 只读特性返回 Number representing the maximum left scroll offset possible for the element.
1157 Element.scrollTo() API, Element, Method, Reference, scrollTo
scrollTo() 方法在 元素 interface scrolls to a particular set of coordinates inside a given element.
1158 Element.scrollTop API, CSSOM View, NeedsArtUpdate, NeedsMarkupWork, Property, Reference
Element.scrollTop property gets or sets the number of pixels that an element's content is scrolled vertically.
1159 Element.scrollTopMax API, CSSOM View, Element, Non-standard, Property, Read-only, Reference
Element.scrollTopMax 只读特性返回 Number representing the maximum top scroll offset possible for the element.
1160 Element.scrollWidth API, CSSOM View, NeedsMarkupWork, NeedsSpecTable, Property, Reference
Element.scrollWidth read-only property is a measurement of the width of an element's content, including content not visible on the screen due to overflow.
1161 Element.setAttribute() API, DOM, Element, Method, NeedsBrowserCompatibility, NeedsSpecTable, Reference, setAttribute
Sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
1162 Element.setAttributeNS() API, DOM, Element, Method, Reference
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
1163 Element.setAttributeNode() API, DOM, Element, Method, Reference
setAttributeNode() method adds a new Attr node to the specified element.
1164 Element.setAttributeNodeNS() API, DOM, Element, Method, Reference
setAttributeNodeNS adds a new namespaced attribute node to an element.
1165 Element.setCapture() API, DOM, Element, Method, Non-standard, Reference
Call this method during the handling of a mousedown event to retarget all mouse events to this element until the mouse button is released or document.releaseCapture() 被调用。
1166 Element.setPointerCapture() API, DOM, Element, Method, PointerEvent, Reference
setPointerCapture() 方法在 元素 interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() ).
1167 Element.shadowRoot API, Element, Property, Reference, ShadowRoot, shadow dom
Element.shadowRoot read-only property represents the shadow root hosted by the element.
1168 Element.slot API, Element, Property, Reference, shadow dom, slot
slot 特性为 元素 interface returns the name of the shadow DOM slot the element is inserted in.
1169 Element.tabStop API, DOM, Element, NeedsExample, Non-standard, Obsolete, Property, Reference
tabStop 特性为 元素 interface returns a 布尔 indicating if the element can receive input focus via the tab key. If the specified element is a shadow host tab navigation is delegated to its children.
1170 Element.tagName API, DOM, DOM Reference, Element, Gecko, NeedsBrowserCompatibility, Property, Read-only, Reference, tagName
tagName 只读特性在 元素 interface returns the tag name of the element on which it's called.
1171 Element.toggleAttribute() API, Element, Method, Reference
toggleAttribute() 方法在 元素 interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
1172 Element: DOMActivate event API, Input, Mouse Events, MouseEvent, Reference, activate event, events, onactivate
DOMActivate event is fired at an element when it becomes active, such as when it is clicked on using the mouse or a keypress is used to navigate to it.
1173 Element: DOMMouseScroll event API, DOM, DOMMouseScroll, Deprecated, Element, Event, Input, Non-standard, Reference, mouse, scrolling
DOM DOMMouseScroll event is fired asynchronously when mouse wheel or similar device is operated and the accumulated scroll amount is over 1 line or 1 page since last event. It's represented by the MouseScrollEvent interface. This event was only implemented by Firefox. You should instead use the standard wheel 事件。
1174 Element: MSGestureChange event Event, Non-standard, Reference
MSGestureChange event is fired when touch contact positions move and also while inertia-based movements are being processed.
1175 Element: MSGestureEnd event Event, Non-standard, Reference
MSGestureEnd event is fired when all associated touch points have stopped contacting the touch surface, and any associated inertial movements have ended; thus ending the gesture.
1176 Element: MSGestureHold event Event, Non-standard, Reference
MSGestureHold event is fired when the user contacts the touch surface and remains in the same position for a while.
1177 Element: MSGestureStart event Event, Non-standard, Reference
MSGestureStart event is fired when there's a new point of contact on the touch surface, thus starting a new gesture. When the gesture has ended, a MSGestureEnd event will be fired.
1178 Element: MSGestureTap event Event, Non-standard, Reference
MSGestureTap event is fired when the user "taps" the pointing device (e.g., touches the touch surface with their finger, taps the touch surface with a pen device, clicks with a mouse). Typically, it's preferable to listen for the click event instead.
1179 Element: MSInertiaStart event Event, Non-standard, Reference
MSInertiaStart event is fired when contact with the touch surface stops when a scroll has enough inertia to continue scrolling. This event may not be fired if the scroll is sufficiently slow.
1180 Element: MSManipulationStateChanged event Event, Event:Microsoft Extensions, MSManipulationStateChanged, Non-standard, Reference
MSManipulationStateChanged fires when the state of an element being manipulated has changed (ie. whenever you start or finish panning or zooming an element).
1181 Element: MozMousePixelScroll event DOM, Event, Firefox, Mouse Wheel, MozMousePixelScroll, Mozilla, Non-standard, Reference, events, mouse, wheel
The Firefox-only, non-standard ,和 obsolete MozMousePixelScroll event is fired at an 元素 asynchronously when a mouse wheel or similar device is operated. It's represented by the MouseScrollEvent 接口。
1182 Element: afterscriptexecute event Event, Non-standard, Reference
afterscriptexecute event is fired after a script has been executed.
1183 Element: auxclick event Element, Event, MouseEvent, Reference, UI, auxclick, events, mouse
auxclick event is fired at an 元素 when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button) has been pressed and released both within the same element.
1184 Element: beforescriptexecute event DOM, Non-standard, Reference
beforescriptexecute event is fired when a script is about to be executed. Cancelling the event prevents the script from executing.
1185 Element: blur event API, DOM, Element, Event, FocusEvent, Reference, blur, onblur
blur event fires when an element has lost focus. The main difference between this event and focusout is that focusout bubbles while blur 不会。
1186 Element: click event API, DOM, Element, Event, Interface, MouseEvent, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference, UI, click, events, mouse
An element receives a click event when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
1187 Element: compositionend event Event, Reference
compositionend event is fired when a text composition system such as an 输入法编辑器 completes or cancels the current composition session.
1188 Element: compositionstart event Event, Reference
compositionstart event is fired when a text composition system such as an 输入法编辑器 starts a new composition session.
1189 Element: compositionupdate event Event, Reference
compositionupdate event is fired when a new character is received in the context of a text composition session controlled by a text composition system such as an 输入法编辑器 .
1190 Element: contextmenu event API, Context, DOM, Element, Event, Interface, MouseEvent, Reference, Right Click, Right-Click, button, contextmenu, events, menu, mouse
contextmenu event fires when the user attempts to open a context menu. This event is typically triggered by clicking the right mouse button, or by pressing the context menu key.
1191 Element: copy event Clipboard API, Event, Reference
copy event fires when the user initiates a copy action through the browser's user interface.
1192 Element: cut event Clipboard API, Event, Reference
cut event is fired when the user has initiated a "cut" action through the browser's user interface.
1193 Element: dblclick event API, DOM, Double Click, Double-Click, Element, Event, Input, Interface, MouseEvent, Reference, button, dblclick, events, mouse
dblclick event fires when a pointing device button (such as a mouse's primary button) is double-clicked; that is, when it's rapidly clicked twice on a single element within a very short span of time.
1194 Element: error event Audio, DOM, Error Handling, Errors, Event, Media, Reference, UI, UI Events, UIEvent, Video, Web, events
error event is fired on an 元素 object when a resource failed to load, or can't be used. For example, if a script has an execution error or an image can't be found or is invalid.
1195 Element: focus event API, DOM, Element, Event, Focus, FocusEvent, Reference
focus event fires when an element has received focus. The main difference between this event and focusin is that focusin bubbles while focus 不会。
1196 Element: focusin event API, DOM, Element, Event, FocusEvent, Reference, focusin
focusin event fires when an element is about to receive focus. The main difference between this event and focus is that focusin bubbles while focus 不会。
1197 Element: focusout event API, DOM, Element, Event, FocusEvent, Reference, focusout, onfocusout
focusout event fires when an element is about to lose focus. The main difference between this event and blur is that focusout bubbles while blur 不会。
1198 Element: fullscreenchange event API, Fullscreen API, Fullscreen events, events, fullscreen, fullscreenchange
fullscreenchange event is fired immediately after an 元素 switches into or out of full-screen mode.
1199 Element: fullscreenerror event
fullscreenerror event is fired when the browser cannot switch to full-screen mode.
1200 Element: gesturechange event Event, Non-standard, Reference
gesturechange event is fired when digits move during a touch gesture.
1201 Element: gestureend event Event, Non-standard, Reference
gestureend event is fired when there are no longer multiple fingers contacting the touch surface, thus ending the gesture.
1202 Element: gesturestart event Event, Non-standard, Reference
gesturestart event is fired when multiple fingers contact the touch surface, thus starting a new gesture. During the gesture, gesturechange events will be fired. When the gesture has ended, a gestureend event will be fired.
1203 Element: keydown event API, DOM, Element, Event, KeyboardEvent, Reference, keyboard, keydown
keydown event is fired when a key is pressed.
1204 Element: keypress event API, Element, Reference, events, keypress
keypress event is fired when a key that produces a character value is pressed down.
1205 Element: keyup event DOM, Element, Reference, events, keyup
keyup event is fired when a key is released.
1206 Element: mousedown event API, DOM, Down, Element, Event, Interface, MouseEvent, Press, Reference, UI, button, events, mouse, mousedown
mousedown event is fired at an 元素 when a pointing device button is pressed while the pointer is inside the element.
1207 Element: mouseenter event API, Cursor, DOM, Element, Event, Interface, MouseEvent, Reference, events, mouse, mouseenter, pointer
mouseenter event is fired at an 元素 when a pointing device (usually a mouse) is initially moved so that its hotspot is within the element at which the event was fired.
1208 Element: mouseleave event API, DOM, Element, MouseEvent, Reference, events, mouse, mouseleave, move
mouseleave event is fired at an 元素 when the cursor of a pointing device (usually a mouse) is moved out of it.
1209 Element: mousemove event API, DOM, Event, Interface, MouseEvent, Reference, events, mouse, mousemove, move, pointer
mousemove event is fired at an element when a pointing device (usually a mouse) is moved while the cursor's hotspot is inside it.
1210 Element: mouseout event API, DOM, Event, Interface, MouseEvent, Reference, events, mouse, mouseout, move
mouseout event is fired  at an 元素 when a pointing device (usually a mouse) is used to move the cursor so that it is no longer contained within the element or one of its children.
1211 Element: mouseover event API, Cursor, DOM, Event, Interface, MouseEvent, Reference, events, mouse, mouseover, move, pointer
mouseover event is fired at an 元素 when a pointing device (such as a mouse or trackpad) is used to move the cursor onto the element or one of its child elements.
1212 Element: mouseup event API, DOM, Event, Interface, MouseEvent, Reference, Release, UI, Up, button, events, mouse, mouseup
mouseup event is fired at an 元素 when a button on a pointing device (such as a mouse or trackpad) is released while the pointer is located inside it.
1213 Element: mousewheel event DOM, Deprecated, Event, Interface, Non-standard, UI, mouse, mousewheel, scrolling, wheel
obsolete and non-standard mousewheel event is fired asynchronously at an 元素 to provide updates while a mouse wheel or similar device is operated. The mousewheel event was never part of any standard, and while it was implemented by several browsers, it was never implemented by Firefox.
1214 Element: msContentZoom event Event, Event:Microsoft Extensions, MSContentZoom, Non-standard, Reference
msContentZoom event fires when a user zooms the element (changes the scale of the content).
1215 Element: overflow event 事件
overflow event is fired when an element has been overflowed by its content or has been rendered for the first time in this state (only works for elements styled with overflow != visible).
1216 Element: paste event Clipboard API, Event, NeedsUpdate, Reference
paste event is fired when the user has initiated a "paste" action through the browser's user interface.
1217 Element: scroll event API, Element, Reference, Scroll, events
scroll event fires an element has been scrolled.
1218 Element: select event Element, Event, Event Handler, NeedsCompatTable, Reference, UIEvent
select event fires when some text has been selected.
1219 Element: show event API, Deprecated, Event, Reference, events, show
show event is fired when a contextmenu event was fired on/bubbled to an element that has a contextmenu 属性 .
1220 Element: touchcancel event Event, Touch Events, TouchEvent, UI, UI Events, UX, touch
touchcancel event is fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created).
1221 Element: touchend event
touchend event fires when one or more touch points are removed from the touch surface.
1222 Element: touchmove event
touchmove event is fired when one or more touch points are moved along the touch surface.
1223 Element: touchstart event Event, Touch Events, TouchEvent, UI, UI Events, UX, touch, touchstart
touchstart event is fired when one or more touch points are placed on the touch surface.
1224 Element: underflow event Event, Firefox, Gecko, Layout, Mozilla, Non-standard, Reference, events, underflow
The non-standard underflow event, which is specific to Firefox, is fired when an element is no longer overflowed by its content.
1225 Element: webkitmouseforcechanged event Event, Force Touch, MouseEvent, NeedsExample, Non-standard, Reference, Safari, Trackpad, UI, Web, WebKit, apple, mouse, touch, webkitmouseforcechanged
The non-standard webkitmouseforcechanged event is fired by Safari each time the amount of pressure changes on the trackpad/touchscreen.
1226 Element: webkitmouseforcedown event Event, Force Touch, MouseEvent, NeedsCompatTable, NeedsExample, Reference, Safari, Trackpad, UI, Web, WebKit, apple, events, mouse, touch, webkitmouseforcedown
After a mousedown event has been fired at the element, if and when sufficient pressure has been applied to the mouse or trackpad button to qualify as a "force click," Safari begins sending webkitmouseforcedown events to the element.
1227 Element: webkitmouseforceup event Event, Force Touch, MouseEvent, NeedsCompatTable, NeedsExample, Non-standard, Reference, Safari, Trackpad, UI, Web, WebKit, apple, events, mouse, touch, webkitmouseforceup
The non-standard webkitmouseforceup event is fired by Safari at an 元素 some time after the webkitmouseforcedown event, when pressure on the button has been reduced sufficiently to end the "force click".
1228 Element: webkitmouseforcewillbegin event API, Event, Force Touch, Input, MouseEvent, NeedsExample, Non-standard, Reference, UI, Web, WebKit, apple, events, macOS, webkitmouseforcewillbegin
Safari for macOS fires the non-standard webkitmouseforcewillbegin event at an 元素 before firing the initial mousedown 事件。
1229 Element: wheel event API, Element, Event, Reference, WheelEvent, events, wheel
wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse).
1230 ElementTraversal API, DOM, DOM Reference, Obsolete
ElementTraversal interface was defining methods allowing to access from one 节点 to another one in the document tree.
1231 编码 API API, Encoding, Overview, Reference
编码 API provides a mechanism for handling text in various character encodings , including legacy non- UTF-8 encodings.
1232 Encrypted Media Extensions API API, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, NeedsContent, Overview, Reference
The Encrypted Media Extensions API provides interfaces for controlling the playback of content which is subject to a digital restrictions management scheme.
1233 ErrorEvent API, Event, Worker API
ErrorEvent interface represents events providing information related to errors in scripts or in files.
1234 事件 API, Constructor, DOM, Event, Interface, Reference, UI, listener
事件 接口表示在 DOM 中发生的事件。
1235 事件目标的比较 DOM, Gecko, Guide, NeedsContent, NeedsExample, NeedsHelp
It's easy to get confused about which target to examine when writing an event handler. This article should clarify the use of the target properties.
1236 Event() API, Constructor, DOM, Event, Reference
Event() 构造函数创建新 事件 .
1237 Event.bubbles API, Bubbling, DOM, DOM Events, Event, Event Handling, Propagation, Property, Read-only, Reference, bubbles
bubbles 只读特性在 事件 interface indicates whether the event bubbles up through the DOM or not.
1238 Event.cancelBubble API, DOM, Event, Property, Reference, cancelBubble
cancelBubble 特性为 事件 interface is a historical alias to Event.stopPropagation() 。把其值设为 true before returning from an event handler prevents propagation of the event. In later implementations, setting this to false does nothing. See 浏览器兼容性 了解细节。
1239 Event.cancelable API, DOM, DOM Reference, Event, Property, Read-only, Reference
cancelable 只读特性在 事件 interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
1240 Event.composed API, Event, Property, Read-only, Reference, Web Components, composed, scoped, shadow dom
只读 composed 特性为 事件 interface returns a 布尔 which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
1241 Event.composedPath() API, Event, Method, Reference, Web Components, composedPath, events, shadow dom
composedPath() 方法在 事件 interface returns the event’s path which is an array of the objects on which listeners will be invoked. This does not include nodes in shadow trees if the shadow root was created with its ShadowRoot.mode closed.
1242 Event.createEvent() API, DOM, Deprecated, Event, Method, Reference
创建新事件,然后必须被初始化通过调用其 initEvent() 方法。
1243 Event.currentTarget API, DOM, Event, NeedsBrowserCompatibility, Property, Read-only
currentTarget 只读特性在 事件 interface identifies the current target for the event, as the event traverses the DOM. It always refers to the element to which the event handler has been attached, as opposed to Event.target , which identifies the element on which the event occurred and which may be its direct descendent.
1244 Event.defaultPrevented API, DOM, Event, Property, Read-only
defaultPrevented 只读特性在 事件 interface returns a 布尔 indicating whether or not Event.preventDefault() was called on the event.
1245 Event.eventPhase API, DOM, Event, Gecko, Property, Read-only, Reference
eventPhase 只读特性在 事件 interface indicates which phase of the event flow is currently being evaluated.
1246 Event.explicitOriginalTarget API, DOM, Gecko, Non-standard, Property, Reference
The explicit original target of the event. (Mozilla-specific)
1247 Event.initEvent() API, DOM, Deprecated, Event, Method, Reference
Event.initEvent() method is used to initialize the value of an event created using Document.createEvent() .
1248 Event.isTrusted API, Event, Property, Read-only, Reference
isTrusted 只读特性在 事件 接口是 布尔 也就是 true when the event was generated by a user action, and false when the event was created or modified by a script or dispatched via EventTarget.dispatchEvent() .
1249 Event.msConvertURL() API, API:Microsoft Extensions, Method, Non-standard, Reference, msConvertURL
msConvertURL method instructs the HTML paste operation on how to modify the src attribute that corresponds to each file in the clipboardData.files collection, allowing otherwise inaccessible files to be converted to blob or data URIs.
1250 Event.originalTarget API, DOM, Gecko, NeedsExample, NeedsHelp, Non-standard, Property
The original target of the event before any retargetings. (Mozilla-specific)
1251 Event.preventDefault() API, DOM, Event, Method, Reference
事件 接口的 preventDefault() 方法告诉 用户代理 若事件未获得明确处理,就不应该像通常那样接受其默认动作。
1252 Event.returnValue API, DOM, Event, Property, Reference, action, default, returnValue
事件 property returnValue indicates whether the default action for this event has been prevented or not.
1253 Event.srcElement API, DOM, Property, Reference, events
Event.srcElement is a proprietary alias (implemented in Internet Explorer) for the standard Event.target property, which is supported in some other browsers for web compatibility purposes.
1254 Event.stopImmediatePropagation() API, Event, Level 3, Method, Reference, stopImmediatePropagation
stopImmediatePropagation() 方法在 事件 interface prevents other listeners of the same event from being called.
1255 Event.stopPropagation() API, DOM, Event, Method, NeedsRewrite, Reference
stopPropagation() 方法在 事件 interface prevents further propagation of the current event in the capturing and bubbling phases.
1256 Event.target API, DOM, Event, Property, Reference, delegation, target
target 特性为 事件 interface is a reference to the object that dispatched the event. It is different from Event.currentTarget when the event handler is called during the bubbling or capturing phase of the event.
1257 Event.timeStamp API, DOM, Event, Property, Reference, timeStamp
timeStamp 只读特性在 事件 interface returns the time (in milliseconds) at which the event was created.
1258 Event.type API, DOM, Event, Property, Read-only, Reference
type 只读特性在 事件 interface returns a string containing the event's type. It is set when the event is constructed and is the name commonly used to refer to the specific event, such as click , load ,或 error .
1259 EventListener API, DOM, DOM Events
EventListener interface represents an object that can handle an event dispatched by an EventTarget 对象。
1260 EventListener.handleEvent() API, Callback, DOM, DOM Events, Event Callback, Event Handler, Event Processing, EventListener, Handling Events, Method, Reference, events, handleEvent
EventListener 方法 handleEvent() method is called by the 用户代理 when an event is sent to the EventListener , in order to handle events that occur on an observed EventTarget .
1261 EventSource API, Communications, EventSource, Interface, Reference, Server Sent Events, Server-sent events, messaging
EventSource interface is web content's interface to 服务器发送事件 . An EventSource instance opens a persistent connection to an HTTP server, which sends events in text/event-stream 格式。
1262 EventSource() API, Constructor, EventSource, Reference, Server-sent events
EventSource () constructor returns a newly-created EventSource , which represents a remote resource.
1263 EventSource.close() API, EventSource, Method, Reference, Server-sent events, close
close() 方法在 EventSource interface closes the connection, if one is made, and sets the EventSource.readyState 属性到 2 (closed).
1264 EventSource.onerror API, Event Handler, EventSource, Property, Reference, Server-sent events, onerror
onerror 特性为 EventSource interface is an EventHandler called when an error occurs and the error event is dispatched on an EventSource 对象。
1265 EventSource.onmessage API, Event Handler, EventSource, Property, Reference, Server-sent events, onmessage
onmessage 特性为 EventSource interface is an EventHandler 被调用当 message event is received, that is when a message is coming from the source.
1266 EventSource.onopen API, Event Handler, EventSource, Property, Reference, Server-sent events, onopen
onopen 特性为 EventSource interface is an EventHandler 被调用当 open event is received, that is when the connection was just opened.
1267 EventSource.readyState API, EventSource, Property, Reference, Server-sent events, readyState
readyState 只读特性在 EventSource interface returns a number representing the state of the connection.
1268 EventSource.url API, EventSource, Property, Reference, Server-sent events, URL
url 只读特性在 EventSource interface returns a DOMString representing the URL of the source.
1269 EventSource.withCredentials API, EventSource, Property, Reference, Server-sent events, withCredentials
withCredentials 只读特性在 EventSource interface returns a 布尔 indicating whether the EventSource object was instantiated with CORS credentials set.
1270 EventSource: error event API, Error, EventSource, Reference, events
error event of the EventSource API is fired when a connection with an event source fails to be opened.
1271 EventSource: message event API, EventSource, Reference, events, message
message event of the EventSource API is fired when data is received through an event source.
1272 EventSource: open event API, EventSource, Reference, events, open
open event of the EventSource API is fired when a connection with an event source is opened.
1273 EventTarget API, DOM, DOM Events, EventTarget, Interface
EventTarget 是由可以接收事件且可以为事件提供监听器的对象实现的 DOM 接口。
1274 EventTarget() API, Constructor, DOM, DOM Events, EventTarget
EventTarget() 构造函数创建新 EventTarget 对象实例。
1275 EventTarget.addEventListener() API, AccessOuterData, DOM, Detecting Events, Event Handlers, Event Listener, EventTarget, JavaScript, Method, PassingData, Receiving Events, Reference, addEventListener, attachEvent, events, mselementresize
EventTarget 方法 addEventListener() sets up a function that will be called whenever the specified event is delivered to the target.
1276 EventTarget.attachEvent()
No summary!
1277 EventTarget.dispatchEvent() API, DOM, DOM Element Methods, Gecko, Method
Dispatches an 事件 at the specified EventTarget , (synchronously) invoking the affected EventListener s in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent() .
1278 EventTarget.removeEventListener() API, DOM, DOM Element Methods, EventTarget, Gecko, Method, Reference, browser compatibility, removeEventListener
EventTarget.removeEventListener() method removes from the EventTarget an event listener previously registered with EventTarget.addEventListener() . The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal
1279 ExtendableEvent API, Experimental, ExtendableEvent, Interface, Offline, Reference, Service Workers, ServiceWorker, Workers
ExtendableEvent interface extends the lifetime of the 安装 and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent ) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
1280 ExtendableEvent.ExtendableEvent() API, Constructor, Experimental, ExtendableEvent, Reference, Service Workers, ServiceWorker
ExtendableEvent() 构造函数创建新 ExtendableEvent 对象。
1281 ExtendableEvent.waitUntil() API, ExtendableEvent, Method, Reference, waitUntil
extendableEvent.waitUntil() method tells the event dispatcher that work is ongoing. It can also be used to detect whether that work was successful. In service workers, waitUntil() tells the browser that work is ongoing until the promise settles, and it shouldn't terminate the service worker if it wants that work to complete.
1282 ExtendableMessageEvent API, Experimental, ExtendableMessageEvent, Interface, Reference, Service Workers
ExtendableMessageEvent 接口在 ServiceWorker API represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
1283 ExtendableMessageEvent.ExtendableMessageEvent() API, Constructor, Experimental, ExtendableMessageEvent, Reference, Service Workers
Extendable MessageEvent() 构造函数创建新 ExtendableMessageEvent 对象实例。
1284 ExtendableMessageEvent.data API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, data
data 只读特性在 ExtendableMessageEvent interface returns the event's data. It can be any data type.
1285 ExtendableMessageEvent.lastEventId API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, lastEventID
lastEventID 只读特性在 ExtendableMessageEvent interface represents, in 服务器发送事件 , the last event ID of the event source.
1286 ExtendableMessageEvent.origin API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, origin
origin 只读特性在 ExtendableMessageEvent interface returns the origin of the ServiceWorkerClient that sent the message.
1287 ExtendableMessageEvent.ports API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, ports
ports 只读特性在 ExtendableMessageEvent interface returns the array containing the MessagePort objects representing the ports of the associated message channel (the channel the message is being sent through.)
1288 ExtendableMessageEvent.source API, Experimental, ExtendableMessageEvent, Property, Reference, Service Workers, source
source 只读特性在 ExtendableMessageEvent returns a reference to the Client object from which the message was sent.
1289 FeaturePolicy Feature Policy, Feature-Policy, Reference
No summary!
1290 FeaturePolicy.allowedFeatures() API, Directive, Feature Policy, Feature-Policy, FeaturePolicy, Reference
allowedFeatures() 方法在 FeaturePolicy interface returns a list of directive names of all features allowed by the feature policy.enables introspection of individual directives of the Feature Policy it is run on. As such, allowedFeatures() method returns a subset of directives returned by features() .
1291 FeaturePolicy.allowsFeature()
allowsFeature() 方法在 FeaturePolicy interface enables introspection of individual directives of the Feature Policy it is run on. It returns a 布尔 也就是 true if and only if the specified feature is allowed in the specified context (or the default context if no context is specified).
1292 FeaturePolicy.features()
features() 方法在 FeaturePolicy interface returns a list of names of all features supported by the User Agent. Feature whose name appears on the list might not be allowed by the Feature Policy of the current execution context and/or might not be accessible because of user's permissions.
1293 FeaturePolicy.getAllowlistForFeature() API, Feature Policy, Feature-Policy, Reference
getAllowlistForFeature() 方法在 FeaturePolicy allows query of the allow list for a specific feature for the current Feature Policy.
1294 FederatedCredential API, Credential Management API, FederatedCredential, Interface, Reference, credential management
FederatedCredential 接口的 证书管理 API provides information about credentials from a federated identity provider. A federated identity provider is an entity that a website trusts to correctly authenticate a user, and that provides an API for that purpose. OpenID 连接 is an example of a federated identity provider framework.
1295 FederatedCredential API, Constructor, Credential Management API, FederatedCredential, NeedsExample, Reference, credential management
FederatedCredential 构造函数创建新 FederatedCredential 对象。
1296 FederatedCredential.protocol API, Credential Management API, Experimental, FederatedCredential, NeedsExample, Property, Reference, credential management
协议 特性为 FederatedCredential interface returns a read-only DOMString containing a credential's federated identity protocol. If this property is null , the protocol may be inferred from the FederatedCredential.provider 特性。
1297 FederatedCredential.provider API, Credential Management API, FederatedCredential, NeedsExample, Property, Reference, credential management
provider 特性为 FederatedCredential interface returns a USVString containing a credential's federated identity provider.
1298 抓取 API API, Experimental, Fetch, Landing, Reference, Response, XMLHttpRequest, request
The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone who has used XMLHttpRequest ,但新 API 提供更强大、更灵活的特征集。
1299 Cross-global fetch usage Cross global, Fetch, edge case, relative URL
This article explains an edge case that occurs with fetch (and potentially other APIs exhibiting the same kind of resource retrieval behavior). When a cross-origin fetch involving a relative URL is initiated from an <iframe> , the relative URL used to be resolved against the current global location, rather than the iframe's location.
1300 Fetch basic concepts API, Fetch, Fetch API, XMLHttpRequest, concepts, guard, request
At the heart of Fetch are the Interface abstractions of HTTP Request s, 响应 s, ,和 Body payloads, along with a global fetch method for initiating asynchronous resource requests. Because the main components of HTTP are abstracted as JavaScript objects, it is easy for other APIs to make use of such functionality.
1301 Using Fetch API, BODY, Experimental, Fetch, Guide, HTTP, Promise, Response, fetch POST & string body, request
This kind of functionality was previously achieved using XMLHttpRequest . Fetch provides a better alternative that can be easily used by other technologies such as 服务工作者 . Fetch also provides a single logical place to define other HTTP-related concepts such as CORS and extensions to HTTP.
1302 FetchEvent API, FetchEvent, Interface, Offline, Reference, Service Workers, Workers
This is the event type for fetch events dispatched on the service worker global scope . It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
1303 FetchEvent.FetchEvent() API, Constructor, Experimental, FetchEvent, Reference, Service Workers, ServiceWorker
FetchEvent() 构造函数创建新 FetchEvent 对象。
1304 FetchEvent.PreloadRequest API, Experimental, FetchEvent, Junk, Offline, Property, Reference, Service Workers, Workers, request
No summary!
1305 FetchEvent.PreloadResponse API, Experimental, FetchEvent, Offline, Property, Reference, Service Workers, Web Performance, Workers, request
preloadResponse 只读特性在 FetchEvent interface returns a Promise that resolves to the navigation preload 响应 if navigation preload was triggered or undefined otherwise.
1306 FetchEvent.client API, Client, Deprecated, Experimental, FetchEvent, Property, Reference, Service Workers, Workers
FetchEvent.client read-only property returns the Client that the current service worker is controlling.
1307 FetchEvent.clientId API, Experimental, FetchEvent, Property, Reference, Service Workers, clientId
clientId 只读特性在 FetchEvent returns the id of the Client that the current service worker is controlling.
1308 FetchEvent.isReload API, Experimental, FetchEvent, Property, Reference, Service, Service Workers, Workers, isReload
isReload 只读特性在 FetchEvent interface returns true if the event was dispatched by the user attempting to reload the page, and false otherwise. Pressing the refresh button is a reload while clicking a link and pressing the back button is not.
1309 FetchEvent.navigationPreload API, FetchEvent, Offline, Property, Reference, Service Workers, Workers
navigationPreload 只读特性在 FetchEvent interface returns a Promise that resolves to the instance of NavigationPreloadManager associated with the current service worker registration.
1310 FetchEvent.replacesClientId API, DOM, FetchEvent, Property, Reference, Service Workers, Workers, replacesClientId
replacesClientId 只读特性在 FetchEvent interface is the id client that is being replaced during a page navigation.
1311 FetchEvent.request API, Experimental, FetchEvent, Offline, Property, Reference, Service Workers, Workers, request
request 只读特性在 FetchEvent interface returns the Request that triggered the event handler.
1312 FetchEvent.respondWith() API, Experimental, FetchEvent, Method, Offline, Reference, Service Workers, Workers, respondWith
respondWith() 方法为 FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a 响应 yourself.
1313 FetchEvent.resultingClientId API, DOM, FetchEvent, Property, Reference, Service Workers, Worker, resultingClientId
resultingClientId 只读特性在 FetchEvent interface is the id client that replaces the previous client during a page navigation.
1314 File API, File API, Interface, Reference, Web
File 接口提供有关文件的信息并允许网页中的 JavaScript 访问其内容。
1315 File.File() API, Constructor, File API, Reference
File() 构造函数创建新 File 对象实例。
1316 File.fileName API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference
Returns the name of the file. For security reasons the path is excluded from this property.
1317 File.fileSize API, DOM, File API, Files, Non-standard, Obsolete, Property, Reference
Returns the size of a file in bytes.
1318 File.getAsBinary() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
getAsBinary method allows to access the file's data in raw binary format.
1319 File.getAsDataURL() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
The getAsDataURL provides a data: URL that encodes the entire contents of the referenced file.
1320 File.getAsText() API, File API, Files, Method, Non-standard, Obsolete, Reference, Référence(2)
getAsText method provides the file's data interpreted as text using a given encoding.
1321 File.lastModified API, File API, Files, Property, Reference
File.lastModified read-only property provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
1322 File.lastModifiedDate API, Deprecated, File, File API, Files, Property, Read-only, Reference, lastModifiedDate
File.lastModifiedDate read-only property returns the last modified date of the file. Files without a known last modified date returns the current date.
1323 File.mozFullPath API, File, File API, Files, NeedsContent, Non-standard, Property, Reference, mozFullPath
A privileged exension to the File interface, the mozFullPath property contains the full pathname of the represented file.
1324 File.name API, File API, Files, Property, Reference
Returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.
1325 File.size API, Guide, fileapi
Returns the size of a file in bytes.
1326 File.type API, File API, File Type, Files, Property, Reference
Returns the media type ( MIME ) of the file represented by a File 对象。
1327 File.webkitRelativePath File, File API, File System API, File and Directory Entries API, Non-standard, Property, Read-only, Reference, Web, webkitRelativePath
File.webkitRelativePath is a read-only property that contains a USVString which specifies the file's path relative to the directory selected by the user in an <input> element with its webkitdirectory attribute set.
1328 使用来自 Web 应用程序的文件 Files, HTML5, Intermediate, MakeBrowserAgnostic, NeedsUpdate, ajax upload, upload
Using the File API, which was added to the DOM in HTML5, it's now possible for web content to ask the user to select local files and then read the contents of those files. This selection can be done by either using an HTML <input> element or by drag and drop.
1329 文件和目录条目 API API, File System API, File and Directory Entries API, Files, Non-standard, Overview, Reference
文件和目录条目 API 模拟本地文件系统,Web APP 可以在其中导航和访问文件。可以开发在虚拟、沙盒文件系统中读取、写入和创建文件和/或目录的 APP。
1330 Firefox 中的文件和目录条目 API 支持 API, Chrome, Compatibility, File System API, File and Directory Entries API, Files, Firefox, Guide, Offline, Web Compatibility, google, google chrome
The original File System API was created to let browsers implement support for accessing a sandboxed virtual file system on the user's storage device. Work to standardize the specification was abandoned back in 2012, but by that point, Google Chrome included its own implementation of the API. Over time, a number of popular sites and Web applications came to use it, often without providing any means of falling back to standard APIs or even checking to be sure the API is available before using it. Mozilla instead opted to implement other APIs which can be used to solve many of the same problems, such as IndexedDB ; see the blog post Why no FileSystem API in Firefox? for more insights.
1331 文件和目录条目 API 介绍 API, Beginner, File, File System API, File and Directory Entries API, Guide, Introduction, Non-standard
文件和目录条目 API simulates a local file system that web apps can navigate around. You can develop apps that can read, write, and create files and directories in a sandboxed, virtual file system.
1332 FileEntrySync API, File, File System API, Interface, Non-standard, Reference
FileEntrySync 接口在 文件系统 API represents a file in a file system. It lets you write content to a file.
1333 FileError API, File API, Files, Obsolete, Reference
Represents an error that occurs while using the FileReader 接口。
1334 FileException API, File API, File System API, Non-standard, Obsolete, Offline, Reference, filesystem
文件系统 API FileException object represents error conditions that you might encounter while accessing the file system using the synchronous API. It extends the FileException interface described in File Writer and adds several new error codes.
1335 FileHandle API API, Files, Reference
The FileHandle API allows for the manipulating of files, including creating files and modifying their content (unlike the File API ). Because the files manipulated through that API can be physically stored on the device, the editing part uses a turn-based locking mechanism in order to avoid race issues.
1336 FileList API, File API, Files
此类型对象的返回通过 文件 特性在 HTML <input> 元素;这允许您访问选择文件列表采用 <input type="file"> 元素。它还被用于把文件列表拖入 Web 内容当使用拖放 API 时。见 DataTransfer 对象了解此用法的细节。
1337 FileReader API, File API, Files, Interface, Reference
FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
1338 FileReader() API, Constructor, FileReader, Reference
FileReader() 构造函数创建新的 FileReader。
1339 FileReader.abort() API, File API, Files, Method, Reference
abort method aborts the read operation. Upon return, the readyState 将是 DONE .
1340 FileReader.error API, File API, Files, Property, Reference
Returns the error that occurred while reading the file.
1341 FileReader.onabort Event Handler, File, FileReader, Property, Reference
FileReader.onabort property contains an event handler executed when the abort event is fired, i.e. when the process of reading the file is aborted.
1342 FileReader.onload Event Handler, File, FileReader, Property, Reference
FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer , readAsBinaryString , readAsDataURL or readAsText 可用。
1343 FileReader.readAsArrayBuffer() API, DOM, File API, FileReader, Files, Method, Reference, readAsArrayBuffer
FileReader 接口的 readAsArrayBuffer() method is used to start reading the contents of a specified Blob or File . When the read operation is finished, the readyState becomes DONE ,和 loadend is triggered. At that time, the result attribute contains an ArrayBuffer representing the file's data.
1344 FileReader.readAsBinaryString() API, File API, Files, Method, Reference
readAsBinaryString method is used to start reading the contents of the specified Blob or File . When the read operation is finished, the readyState becomes DONE ,和 loadend is triggered. At that time, the result attribute contains the raw binary data from the file.
1345 FileReader.readAsDataURL() API, File API, Files, Method, Reference
readAsDataURL method is used to read the contents of the specified Blob or File . When the read operation is finished, the readyState becomes DONE ,和 loadend is triggered. At that time, the result attribute contains the data as a data: URL representing the file's data as a base64 encoded string.
1346 FileReader.readAsText() API, File API, Files, Method, Reference
readAsText() method is used to read the contents of the specified Blob or File . When the read operation is complete, the readyState is changed to DONE loadend event is triggered, and the result attribute contains the contents of the file as a text string.
1347 FileReader.readyState API, File API, Files, Property, Reference
FileReader readyState property provides the current state of the reading operation a FileReader is in. A FileReader exists in one of the following states:
1348 FileReader.result API, File API, Files, Property, Reference
FileReader result property returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
1349 FileReader: abort event API, Event, FileReader, ProgressEvent, Reference, Web, abort
abort event is fired when a read has been aborted: for instance because the program called FileReader.abort() .
1350 FileReader: error event API, Error, Event, FileReader, ProgressEvent, Reference, Web, onerror
error event is fired when the read failed due to an error (for example, because the file was not found or not readable).
1351 FileReader: load event API, Event, FileReader, Web, load
load event is fired when a file has been read successfully.
1352 FileReader: loadend event API, Event, FileReader, ProgressiveEvent, Web, loadend
loadend event is fired when a file read has completed, successfully or not.
1353 FileReader: loadstart event API, Event, FileReader, ProgressEvent, Web, loadstart
loadstart event is fired when a file read operation has begun.
1354 FileReader: progress event API, Event, FileReader, ProgressEvent, Reference, Web, progress
progress event is fired periodically as the FileReader reads data.
1355 onerror
No summary!
1356 FileReaderSync API, NeedsMarkupWork
FileReaderSync interface allows to read File or Blob objects in a synchronous way.
1357 FileRequest API, DOM, Files, Interface, Non-standard, Reference, Référence(2)
FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile 对象。
1358 FileRequest.lockedFile API, DOM, Files, Property, Reference, Référence(2)
lockedFile 特性表示 LockedFile object from which the request was started.
1359 FileRequest.onprogress API, DOM, Files, Property, Reference, Référence(2)
This property specifies a callback function to be run repeatedly while the operation represented by a FileRequest object is in progress.
1360 FileSystem API, File API, File System API, File and Directory Entries API, Interface, Non-standard, Offline, filesystem
文件和目录条目 API 接口 FileSystem 被用于表示文件系统。可以获得这些对象从 filesystem 特性在任何文件系统条目。某些浏览器提供额外 API 以创建和管理文件系统,譬如 Chrome 的 requestFileSystem() 方法。
1361 FileSystem.name API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, name
只读 名称 特性为 FileSystem interface indicates the file system's name. This USVString is unique among all file systems currently exposed by the 文件和目录条目 API .
1362 FileSystem.root API, File System API, File and Directory Entries API, Files, NeedsExample, Non-standard, Property, Reference, filesystem, root
只读 root 特性为 FileSystem interface specifies a FileSystemDirectoryEntry object representing the root directory of the file system, for use with the 文件和目录条目 API .
1363 FileSystemDirectoryEntry API, File API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Interface, NeedsMarkupWork, Non-standard, Offline, Reference
FileSystemDirectoryEntry 接口在 文件和目录条目 API represents a directory in a file system. It provides methods which make it possible to access and manipulate the files in a directory, as well as to access the entries within the directory.
1364 FileSystemDirectoryEntry.createReader() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, createReader
FileSystemDirectoryEntry 接口方法 createReader () 返回 FileSystemDirectoryReader object which can be used to read the entries in the directory.
1365 FileSystemDirectoryEntry.getDirectory() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getDirectory
FileSystemDirectoryEntry 接口方法 getDirectory () 返回 FileSystemDirectoryEntry object corresponding to a directory contained somewhere within the directory subtree rooted at the directory on which it's called.
1366 FileSystemDirectoryEntry.getFile() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Reference, getFile
FileSystemDirectoryEntry 接口方法 getFile () 返回 FileSystemFileEntry object corresponding to a file contained somewhere within the directory subtree rooted at the directory on which it's called.
1367 FileSystemDirectoryEntry.removeRecursively() API, File System API, File and Directory Entries API, FileSystemDirectoryEntry, Files, Method, Non-standard, Obsolete, Reference, removeRecursively
FileSystemDirectoryEntry 接口方法 removeRecursively () removes the directory as well as all of its content, hierarchically iterating over its entire subtree of descendant files and directories.
1368 FileSystemDirectoryReader API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Non-standard, Offline, Reference
FileSystemDirectoryReader 接口在 文件和目录条目 API lets you access the FileEntry -based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry ) representing each entry in a directory.
1369 FileSystemDirectoryReader.readEntries() API, File System API, File and Directory Entries API, FileSystemDirectoryReader, Files, Interface, Method, Non-standard, Reference, readEntries
FileSystemDirectoryReader 接口的 readEntries() method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function.
1370 FileSystemEntry API, Entry, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference
FileSystemEntry interface of the File and Directory Entries API represents a single in a file system. The entry can be a file or a directory (directories are represented by the DirectoryEntry interface). It includes methods for working with files—including copying, moving, removing, and reading files—as well as information about a file it points to—including the file name and its path from the root to the entry.
1371 FileSystemEntry.copyTo() API, File System API, File and Directory Entries APIs, FileSystemEntry, Files, Method, Non-standard, Reference, copyTo
FileSystemEntry 接口方法 copyTo () copies the file specified by the entry to a new location on the file system.
1372 FileSystemEntry.filesystem API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, filesystem
只读 filesystem 特性为 FileSystemEntry interface contains a FileSystem object that represents the file system on which the entry resides.
1373 FileSystemEntry.fullPath API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, fullPath
只读 fullPath 特性为 FileSystemEntry interface returns a USVString specifying the full, absolute path from the file system's root to the file represented by the entry.
1374 FileSystemEntry.getMetadata() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, getMetadata
FileSystemEntry 接口方法 getMetadata () obtains a 元数据 object with information about the file system entry, such as its modification date and time and its size.
1375 FileSystemEntry.getParent() API, File System API, File and Directory Entry API, FileSystemEntry, Files, Method, Non-standard, Reference, getParent
FileSystemEntry 接口方法 getParent () obtains a FileSystemDirectoryEntry .
1376 FileSystemEntry.isDirectory API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isDirectory
只读 isDirectory 特性为 FileSystemEntry interface is true if the entry represents a directory (meaning it's a FileSystemDirectoryEntry ) 和 false if it's not.
1377 FileSystemEntry.isFile API, File System API, File and Directory Entries API, FileSystemEntry, Files, Non-standard, Offline, Property, Reference, isFile
只读 isFile 特性为 FileSystemEntry interface is true if the entry represents a file (meaning it's a FileSystemFileEntry ) 和 false if it's not.
1378 FileSystemEntry.moveTo() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, moveTo
FileSystemEntry 接口方法 moveTo () moves the file specified by the entry to a new location on the file system, or renames the file if the destination directory is the same as the source.
1379 FileSystemEntry.name API, File System API, File and Directory Entries API, FileSystemEntry, Non-standard, Offline, Property, Reference, name
只读 名称 特性为 FileSystemEntry interface returns a USVString specifying the entry's name; this is the entry within its parent directory (the last component of the path as indicated by the fullPath 特性)。
1380 FileSystemEntry.remove() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, delete, remove
FileSystemEntry 接口方法 remove () deletes the file or directory from the file system. Directories must be empty before they can be removed.
1381 FileSystemEntry.toURL() API, File System API, File and Directory Entries API, FileSystemEntry, Files, Method, Non-standard, Reference, toURL
FileSystemEntry 接口方法 toURL () creates and returns a string containing a URL which can be used to identify the file system entry. This is done by exposing a new URL scheme— filesystem: —that can be used as the value of src and href 属性。
1382 FileSystemEntrySync API, EntrySync, File API, File System API, File and Directory Entries API, FileSystemEntrySync, Interface, Non-standard, Offline, Reference, filesystem
FileSystemEntrySync interface of the File and Directory Entries API represents an entry in a file system; it can be either a FileEntrySync or DirectoryEntry .
1383 FileSystemFileEntry API, File API, File System API, File and Directory Entries API, FileEntry, Files, Interface, Offline, Reference
FileSystemFileEntry 接口在 文件系统 API represents a file in a file system. It offers properties describing the file's attributes, as well as the file() method, which creates a File object that can be used to read the file.
1384 FileSystemFileEntry.createWriter() API, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Obsolete, Reference, createWriter
FileSystemFileEntry 接口方法 createWriter() 返回 FileWriter object which can be used to write data into the file represented by the directory entry.
1385 FileSystemFileEntry.file() API, File, File System API, File and Directory Entries API, FileSystemFileEntry, Files, Method, Non-standard, Reference
FileSystemFileEntry 接口方法 file () 返回 File object which can be used to read data from the file represented by the directory entry.
1386 FileSystemFlags API, Dictionary, Experimental, File System API, File and Directory Entries API, FileSystemFlags, Files, Interface, Non-standard, Reference
FileSystemFlags dictionary defines a set of values which are used when specifying option flags when calling certain methods in the 文件和目录条目 API . Methods which accept an options parameter of this type may specify zero or more of these flags as fields in an object, like this:
1387 FileSystemFlags.create API, Create, File System API, File and Directory Entries API, FileSystemFlags, Files, Flile System API, Non-standard, Offline, Property, Reference
create property on the FileSystemFlags dictionary is used to indicate whether or not the file should be created if it's missing. FileSystemFlags is only used when calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory() .
1388 FileSystemFlags.exclusive API, File System API, File and Directory Entries API, FileSystemFlags, Files, Non-standard, Offline, Property, Reference, exclusive
exclusive property on the FileSystemFlags dictionary is used in tandem with the create property to determine whether or not it's acceptable to require that the file not already exist when the reference to it is created by calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory() .
1389 FileSystemSync API, File API, File System API, Files, Offline, filesystem
文件系统 API FileSystemSync object represents a file system. It has two properties.
1390 FocusEvent API, DOM, DOM Events, Event, Reference
FocusEvent interface represents focus-related events, including focus , blur , focusin ,和 focusout .
1391 FocusEvent() API, Constructor, Event, FocusEvent, Reference
FocusEvent() constructor returns a newly created FocusEvent object with an optional EventTarget . When the event has both a source and a destination, the relatedTarget value must be set to the other target.
1392 FocusEvent.relatedTarget API, Event, Experimental, FocusEvent, Property, Reference
FocusEvent.relatedTarget read-only property is the secondary target, depending on the type of event:
1393 FontFace API, CSS Font Loading API, FontFace, Fonts, Interface, Reference
FontFace interface represents a single usable font face. It allows control of the source of the font face, being a URL to an external resource, or a buffer; it also allows control of when the font face is loaded and its current status.
1394 FontFace.FontFace() API, CSS Font Loading API, Constructor, FontFace, Fonts, Reference
FontFace() 构造函数创建新 FontFace 对象。
1395 FontFace.display API, CSS Font Loading API, FontFace, Fonts, Property, Reference, display
display 特性为 FontFace interface determines how a font face is displayed based on whether and when it is downloaded and ready to use. This property is equivalent to the CSS font-display descriptor.
1396 FontFace.featureSettings API, CSS Font Loading API, FontFace, Fonts, Property, Reference, featureSettings
featureSettings 特性为 FontFace interface retrieves or sets infrequently used font features that are not available from a font's variant properties. It is equivalent to the font-feature-settings descriptor.
1397 FontFace.load API, CSS Font Loading API, FontFace, Fonts, Method, Reference, load
load() 方法在 FontFace interface loads a font based on current object's constructor-passed requirements, including a location or source buffer, and returns a Promise that resolves with the current FontFace object.
1398 FontFace.status API, CSS Font Loading API, FontFace, Fonts, Property, Reference, status
status 只读特性在 FontFace interface returns an enumerated value indicating the status of the font, one of "unloaded" , "loading" , "loaded" ,或 "error" .
1399 FontFace.stretch API, CSS Font Loading API, FontFace, Fonts, Property, Reference, stretch
stretch 特性为 FontFace interface retrieves or sets how the font stretches. It is equivalent to the font-stretch descriptor.
1400 FontFace.style API, CSS Font Loading API, FontFace, Fonts, Property, Reference, Style
style 特性为 FontFace interface retrieves or sets the font's style. It is equivalent to the font-style descriptor.
1401 FontFace.unicodeRange API, CSS Font Loading API, FontFace, Fonts, Property, Reference, unicodeRange
unicodeRange 特性为 FontFace interface retrieves or sets the range of unicode codepoints encompassing the font. It is equivalent to the unicode-range descriptor.
1402 FontFace.variant API, CSS Font Loading API, FontFace, Fonts, Property, Reference, variant
variant 特性为 FontFace interface programatically retrieves or sets font variant values. It is equivalent to the font-variant descriptor.
1403 FontFace.weight API, CSS Font Loading API, FontFace, Fonts, Property, Reference, weight
weight 特性为 FontFace interface retrieves or sets the weight of the font. It is equivalent to the font-weight descriptor.
1404 系列 API, CSS Font Loading API, FontFace, Fonts, Property, Reference, family
FontFace.family property allows the author to get or set the font family of a FontFace object. This is equivalent to the font-family descriptor of @font-face .
1405 loaded API, CSS Font Loading API, FontFace, Fonts, Property, Reference, loaded
loaded 只读特性在 FontFace interface returns a Promise that resolves with the current FontFace object when the font specified in the object's constructor is done loading or rejects with a SyntaxError .
1406 FontFaceSet API, CSS Font Loading API, Experimental, Fonts, Interface, Reference
FontFaceSet 接口在 CSS 字体加载 API manages the loading of font-faces and querying of their download status.
1407 FontFaceSet.check() API, CSS Font Loading API, Experimental, FontFaceSet, Method, Reference
A 布尔 that is true if the font list is available
1408 FontFaceSet.load() API, CSS Font Loading API, Experimental, FontFaceSet, Method, Reference
A Promise of an 数组 of FontFace loaded. The promise is fulfilled when all the fonts are loaded; it is rejected if one of the fonts failed to load.
1409 FontFaceSet.ready API, CSSFontLoading API, Experimental, FontFaceSet, Fonts, Property, Ready, Reference
ready readonly property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet .
1410 FontFaceSetLoadEvent API, CSSFontLoading, Event, Experimental, FontFaceLoadEvent, Fonts, Interface, Reference
FontFaceSetLoadEvent 接口的 Css Font Loading API is fired whenever a FontFaceSet loads.
1411 FontFaceSetLoadEvent.FontFaceSetLoadEvent() API, CSSFontLoading, Constructor, Experimental, FontFaceLoadEvent, Fonts, Reference
FontFaceSetLoadEvent 构造函数创建新 FontFaceLoadEvent object which is fired whenever a FontFaceSet loads.
1412 FontFaceSetLoadEvent.fontfaces API, CSSFontLoading, Experimental, FontFaceLoadEvent, Fonts, Property, Reference, fontfaces
fontfaces 只读特性在 FontFaceLoadEventInit interface returns an array of FontFace instances, each of which represents a single usable font.
1413 Force Touch events Advanced, DOM, Event, Mobile, NeedsBrowserCompatibility, NeedsCompatTable, NeedsMobileBrowserCompatibility, Reference
Force Touch events are a proprietary, Apple-specific feature which makes possible (where supported by the input hardware) new interactions based on how hard the user clicks or presses down on the touchscreen or trackpad.
1414 FormData API, FormData, Interface, Reference, XMLHttpRequest
FormData interface provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data" .
1415 FormData() API, Constructor, FormData, Reference, XHR, XMLHttpRequest
FormData() 构造函数创建新 FormData 对象。
1416 FormData.append() API, Append, FormData, Method, Reference, XHR, XMLHttpRequest
append() 方法在 FormData interface appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
1417 FormData.delete() API, FormData, Method, Reference, XHR, XMLHttpRequest, delete
delete() 方法在 FormData interface deletes a key and its value(s) from a FormData 对象。
1418 FormData.entries() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
FormData.entries() method returns an iterator allowing to go through all key/value pairs contained in this object. The key of each pair is a USVString object; the value either a USVString ,或 Blob .
1419 FormData.get() API, FormData, Method, Reference, XHR, XMLHttpRequest
get() 方法在 FormData interface returns the first value associated with a given key from within a FormData object. If you expect multiple values and want all of them, use the getAll() method instead.
1420 FormData.getAll() API, FormData, Method, Reference, XHR, XMLHttpRequest
getAll() 方法在 FormData interface returns all the values associated with a given key from within a FormData 对象。
1421 FormData.has() API, FormData, Method, Reference, XHR, XMLHttpRequest, has
has() 方法在 FormData interface returns a boolean stating whether a FormData object contains a certain key.
1422 FormData.keys() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
FormData.keys() method returns an iterator allowing to go through all keys contained in this object. The keys are USVString 对象。
1423 FormData.set() API, FormData, Method, Reference, XHR, XMLHttpRequest, set
set() 方法在 FormData interface sets a new value for an existing key inside a FormData object, or adds the key/value if it does not already exist.
1424 FormData.values() API, FormData, Iterator, Method, Reference, XMLHttpRequest API
FormData.values() method returns an iterator allowing to go through all values contained in this object. The values are USVString or Blob 对象。
1425 Using FormData Objects AJAX, Blob, File, FormData, Forms, XHR, XMLHttpRequest
FormData object lets you compile a set of key/value pairs to send using XMLHttpRequest . It is primarily intended for use in sending form data, but can be used independently from forms in order to transmit keyed data. The transmitted data is in the same format that the form's submit() method would use to send the data if the form's encoding type were set to multipart/form-data .
1426 FormDataEntryValue FormDataEntryValue
A string which represents a single value from a set of FormData key-value pairs.
1427 帧计时 API Guide, Overview, Web Performance
PerformanceFrameTiming 接口提供 frame 计时数据有关浏览器的事件循环。 frame 表示浏览器所做的工作量在 一事件循环迭代 譬如:处理 DOM 事件、重置尺寸、卷动、渲染、CSS 动画等。 帧速率 of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7 ms.
1428 使用帧计时 API Guide, Web Performance
PerformanceFrameTiming 接口提供 frame 计时数据有关浏览器的事件循环。 frame 表示浏览器所做的工作量在 一事件循环迭代 譬如:处理 DOM 事件、重置尺寸、卷动、渲染、CSS 动画等。 帧速率 of 60 fps (frames per second) for a 60 Hz refresh rate is a common target for a good responsive user experience. This means the browser should process a frame in about 16.7ms.
1429 全屏 API API, DOM, Full, Full-screen, Fullscreen API, Games, Graphics, Guide, Intermediate, Overview, Reference, View, fullscreen, screen
全屏 API adds methods to present a specific 元素 (and its descendants) in full-screen mode, and to exit full-screen mode once it is no longer needed. This makes it possible to present desired content—such as an online game—using the user's entire screen, removing all browser user interface elements and other applications from the screen until full-screen mode is shut off.
1430 全屏 API 指南 API, Drawing, Full, Fullscreen API, Games, Graphics, Guide, display, full screen, fullscreen, screen
This article demonstrates how to use the 全屏 API to place a given element into full-screen mode, as well as how to detect when the browser enters or exits full-screen mode.
1431 FullscreenOptions API, Configuration, Dictionary, Full-screen, Fullscreen API, FullscreenOptions, Navigation, Options, Reference, Settings, UI, fullscreen, screen
FullscreenOptions dictionary is used to provide configuration options when calling requestFullscreen() on an element to place that element into full-screen mode.
1432 FullscreenOptions.navigationUI API, Configuration, Full-screen, Fullscreen API, FullscreenOptions, Option, Property, Reference, Setting, fullscreen, navigationUI, screen
FullscreenOptions dictionary's navigationUI property is used when calling requestFullscreen() to specify to what extent the 用户代理 should include its standard user interface while the element is presented in full-screen mode.
1433 GainNode API, GainNode, Interface, Reference, Web Audio API
GainNode interface represents a change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
1434 GainNode() API, Audio, Constructor, GainNode, Media, Reference, Web Audio API
GainNode() constructor of the Web 音频 API creates a new GainNode object which an AudioNode that represents a change in volume.
1435 GainNode.gain API, Gain, GainNode, Property, Reference, Web Audio API
An AudioParam .
1436 Gamepad API, Gamepad API, Games, Interface, Reference
Gamepad 接口在 手柄 API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
1437 Gamepad.axes API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.axes 特性为 Gamepad interface returns an array representing the controls with axes present on the device (e.g. analog thumb sticks).-
1438 Gamepad.buttons API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.buttons 特性为 Gamepad interface returns an array of gamepadButton objects representing the buttons present on the device.
1439 Gamepad.connected API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.connected 特性为 Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system.
1440 Gamepad.displayId API, Experimental, Gamepad, Property, Reference, VR, Virtual Reality, WebVR, displayId
displayId 只读特性在 Gamepad interface 返回 VRDisplay.displayId of the associated VRDisplay — the VRDisplay that the gamepad is controlling the displayed scene of.
1441 Gamepad.hand API, Experimental, Gamepad, Gamepad API, Property, Reference, hand
hand 只读特性在 Gamepad interface returns an enum defining what hand the controller is being held in, or is most likely to be held in.
1442 Gamepad.hapticActuators API, Experimental, Gamepad, Gamepad API, Property, Reference, hapticActuators
hapticActuators 只读特性在 Gamepad interface returns an array containing GamepadHapticActuator objects, each of which represents haptic feedback hardware available on the controller.
1443 Gamepad.id API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.id 特性为 Gamepad interface returns a string containing some information about the controller.
1444 Gamepad.index API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.index 特性为 Gamepad interface returns an integer that is auto-incremented to be unique for each device currently connected to the system.
1445 Gamepad.mapping API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.mapping 特性为 Gamepad interface returns a string indicating whether the browser has remapped the controls on the device to a known layout.
1446 Gamepad.pose API, Experimental, Gamepad, Gamepad API, Property, Reference, pose
pose 只读特性在 Gamepad interface returns a GamepadPose object representing the pose information associated with a WebVR controller (e.g. its position and orientation in 3D space).
1447 Gamepad.timestamp API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
Gamepad.timestamp 特性为 Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated.
1448 手柄 API API, Experimental, Gamepad API, Games, Overview
手柄 API is a way for developers to access and respond to signals from gamepads and other game controllers in a simple, consistent way. It contains three interfaces, two events and one specialist function, to respond to gamepads being connected and disconnected, and to access other information about the gamepads themselves, and what buttons and other controls are currently being pressed.
1449 Using the Gamepad API API, Advanced, Gamepad API, Games, Guide
HTML5 introduced many of the necessary components for rich, interactive game development. Technologies like <canvas> , WebGL, <audio> ,和 <video> , along with JavaScript implementations, have matured to the point where they can now support many tasks previously requiring native code. The Gamepad API is a way for developers and designers to access and use gamepads and other game controllers.
1450 GamepadButton API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Reference, Référence(2)
GamepadButton interface defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.
1451 GamepadButton.pressed API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
GamepadButton.pressed 特性为 GamepadButton interface returns a boolean indicating whether the button is currently pressed ( true ) or unpressed ( false ).
1452 GamepadButton.value API, Gamepad API, Games, NeedsBetterSpecLink, NeedsMarkupWork, Property, Reference, Référence(2)
GamepadButton.value 特性为 GamepadButton interface returns a double value used to represent the current state of analog buttons on many modern gamepads, such as the triggers.
1453 GamepadEvent API, Gamepad API, Games, Interface, Reference
The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.
1454 GamepadEvent() API, Constructor, Gamepad API, Games, Reference
GamepadEvent_ 构造函数创建新 GamepadEvent 对象。
1455 GamepadEvent.gamepad API, Gamepad API, Property, Reference, Référence(2)
GamepadEvent.gamepad 特性为 GamepadEvent interface 返回 Gamepad object, providing access to the associated gamepad data for fired gamepadconnected and gamepaddisconnected 事件。
1456 GamepadHapticActuator API, Experimental, Gamepad, GamepadHapticActuator, Interface, Reference, VR, Virtual Reality, WebVR
GamepadHapticActuator 接口在 手柄 API represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
1457 GamepadHapticActuator.pulse() API, Experimental, Gamepad, Gamepad API, GamepadHapticActuator, Method, Reference, pulse
pulse() 方法在 GamepadHapticActuator interface makes the hardware pulse at a certain intensity for a specified duration.
1458 GamepadHapticActuator.type API, Experimental, Gamepad, Gamepad API, GamepadHapticActuator, Property, Reference, Type
type 只读特性在 GamepadHapticActuator interface returns an enum representing the type of the haptic hardware.
1459 GamepadPose API, Experimental, Gamepad, GamepadPose, Interface, Reference, VR, Virtual Reality, WebVR
GamepadPose 接口在 手柄 API represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.)
1460 GamepadPose.angularAcceleration API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, angularAcceleration
angularAcceleration 只读特性在 GamepadPose interface returns an array representing the angular acceleration vector of the Gamepad , in meters per second per second.
1461 GamepadPose.angularVelocity API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, angularVelocity
angularVelocity 只读特性在 GamepadPose interface returns an array representing the angular velocity vector of the Gamepad , in radians per second.
1462 GamepadPose.hasOrientation API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, hasOrientation
hasOrientation 只读特性在 GamepadPose interface returns a 布尔 stating whether the Gamepad can track and return orientation information.
1463 GamepadPose.hasPosition API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, hasPosition
hasPosition 只读特性在 GamepadPose interface returns a 布尔 stating whether the Gamepad can track and return position information.
1464 GamepadPose.linearAcceleration API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, linearAcceleration
linearAcceleration 只读特性在 GamepadPose interface returns an array representing the linear acceleration vector of the Gamepad , in meters per second per second.
1465 GamepadPose.linearVelocity API, Experimental, Gamepad API, GamepadPose, Property, Reference, Virtual Reality, WebVR, linearVelocity
linearVelocity 只读特性在 GamepadPose interface returns an array representing the linear velocity vector of the Gamepad , in meters per second.
1466 GamepadPose.orientation API, Experimental, Gamepad API, GamepadPose, Orientation, Property, Reference, Virtual Reality, WebVR
orientation 只读特性在 GamepadPose interface returns the orientation of the Gamepad , as a quarternion value.
1467 GamepadPose.position API, Experimental, Gamepad API, GamepadPose, Position, Property, Reference, Virtual Reality, WebVR
位置 只读特性在 GamepadPose interface returns the position of the Gamepad as a 3D vector.
1468 Geolocation API, Advanced, Geolocation API, Interface, Reference, Secure context
Geolocation interface represents an object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.
1469 Geolocation.clearWatch() API, Geolocation, Geolocation API, Method, NeedsExample, Reference, Secure context
Geolocation.clearWatch() method is used to unregister location/error monitoring handlers previously installed using Geolocation.watchPosition() .
1470 Geolocation.getCurrentPosition() API, Geolocation, Geolocation API, Method, NeedsExample, Reference, Secure context, getCurrentPosition
Geolocation.getCurrentPosition() method is used to get the current position of the device.
1471 Geolocation.watchPosition() API, Geolocation, Geolocation API, Method, NeedsExample, Reference, Secure context
Geolocation 方法 watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes.
1472 地理位置 API Geolocation API, Guide, Intermediate
地理位置 API allows the user to provide their location to web applications if they so desire. For privacy reasons, the user is asked for permission to report location information.
1473 GeometryUtils API, CSSOM View, Experimental, Interface
GeometryUtils interface provides different utility function to retrieve geometry information about DOM 节点。
1474 GestureEvent API, DOM, Interface, Non-standard, Reference
GestureEvent is a proprietary interface specific to WebKit which gives information regarding multi-touch gestures. Events using this interface include gesturestart , gesturechange ,和 gestureend .
1475 GlobalEventHandlers API, DOM, GlobalEventHandlers, HTML DOM, Mixin, Reference, events
GlobalEventHandlers mixin describes the event handlers common to several interfaces like HTMLElement , Document ,或 Window .
1476 GlobalEventHandlers.onabort API, Event Handler, Experimental, GlobalEventHandlers, NeedsContent, NeedsHelp, NeedsUpdate, Property, Reference, Window
onabort 特性为 GlobalEventHandlers 混合 EventHandler 为处理 abort 事件 (被发送给窗口)。
1477 GlobalEventHandlers.onanimationcancel API, Animation, CSS Animations, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Web Animations, Window, onanimationcancel, web animations api
onanimationcancel 特性为 GlobalEventHandlers 混合 EventHandler 为处理 animationcancel 事件。
1478 GlobalEventHandlers.onanimationend API, Animations, CSS, CSS Animations, CSS3 Animations, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Web Animations, Window, onanimationend, web animations api
onanimationend 特性为 GlobalEventHandlers 混合 EventHandler 为处理 animationend 事件。
1479 GlobalEventHandlers.onanimationiteration API, Animation, CSS, CSS Animations, CSS Transitions, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Transitions, Web Animations, animationiteration, onanimationiteration, web animations api
onanimationiteration 特性为 GlobalEventHandlers 混合 EventHandler 为处理 animationiteration 事件。
1480 GlobalEventHandlers.onanimationstart API, Animations, CSS Animations, CSS3 Animations, Document, Event Handler, GlobalEventHandlers, HTMLElement, Reference, Window, onanimationstart, onwebkitanimationstart
An event handler for the animationstart event. This event is sent when a CSS Animation starts to play.
1481 GlobalEventHandlers.onauxclick API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, auxclick
onauxclick 特性为 GlobalEventHandlers 混合 EventHandler 为处理 auxclick 事件。
1482 GlobalEventHandlers.onblur API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onblur 特性为 GlobalEventHandlers 混合 EventHandler 为处理 blur events. It's available on 元素 , Document ,和 Window .
1483 GlobalEventHandlers.oncancel API, Dialog, Event Handler, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
oncancel 特性为 GlobalEventHandlers 混合 EventHandler 为处理 cancel events sent to a <dialog> 元素。
1484 GlobalEventHandlers.oncanplay API, Event Handler, GlobalEventHandlers, Property, Reference
oncanplay 特性为 GlobalEventHandlers 混合 EventHandler 为处理 canplay 事件。
1485 GlobalEventHandlers.oncanplaythrough API, Event Handler, GlobalEventHandlers, Property, Reference
oncanplaythrough 特性为 GlobalEventHandlers 混合 EventHandler 为处理 canplaythrough 事件。
1486 GlobalEventHandlers.onchange API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onchange 特性为 GlobalEventHandlers 混合 EventHandler 为处理 change 事件。
1487 GlobalEventHandlers.onclick API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onclick 特性为 GlobalEventHandlers 混合 EventHandler 为处理 click events on a given element.
1488 GlobalEventHandlers.onclose API, Dialog, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, NeedsExample, Property, Reference
onclose 特性为 GlobalEventHandlers 混合 EventHandler 为处理 close events sent to a <dialog> 元素。
1489 GlobalEventHandlers.oncontextmenu API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
oncontextmenu 特性为 GlobalEventHandlers 混合 EventHandler 处理 contextmenu 事件。
1490 GlobalEventHandlers.oncuechange API, Event Handler, GlobalEventHandlers, Property, Reference, TextTrack, WebVTT, text track, track, vtt
oncuechange 特性为 GlobalEventHandlers 混合 EventHandler 为处理 cuechange 事件。
1491 GlobalEventHandlers.ondblclick API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
ondblclick 特性为 GlobalEventHandlers 混合 EventHandler 处理 dblclick events on the given element.
1492 GlobalEventHandlers.ondrag API, HTML DOM, Reference, drag and drop
A global event handler drag 事件。
1493 GlobalEventHandlers.ondragend API, HTML DOM, Reference, drag and drop
A global event handler dragend 事件。
1494 GlobalEventHandlers.ondragenter API, HTML DOM, Reference, drag and drop
A global event handler dragenter 事件。
1495 GlobalEventHandlers.ondragexit API, DOM HTML, Reference, drag and drop
GlobalEventHandler.ondragexit property is an event handler for the dragexit 事件。
1496 GlobalEventHandlers.ondragleave API, HTML DOM, Reference, drag and drop
A global event handler dragleave 事件。
1497 GlobalEventHandlers.ondragover API, HTML DOM, Reference, drag and drop
A global event handler dragover 事件。
1498 GlobalEventHandlers.ondragstart API, HTML DOM, Reference, drag and drop
A global event handler dragstart 事件。
1499 GlobalEventHandlers.ondrop API, HTML DOM, Reference, drag and drop
A global event handler drop 事件。
1500 GlobalEventHandlers.ondurationchange API, Event Handler, GlobalEventHandlers, Property, Reference
ondurationchange 特性为 GlobalEventHandlers 混合 EventHandler 为处理 durationchange 事件。
1501 GlobalEventHandlers.onemptied
onemptied property sets and returns the event handler emptied 事件。
1502 GlobalEventHandlers.onended API, Event Handler, GlobalEventHandlers, Property, Reference
onended 特性为 GlobalEventHandlers 混合 EventHandler 为处理 ended 事件。
1503 GlobalEventHandlers.onerror API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onerror 特性为 GlobalEventHandlers 混合 EventHandler 处理 error 事件。
1504 GlobalEventHandlers.onfocus API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onfocus 特性为 GlobalEventHandlers 混合 EventHandler 处理 focus events on the given element.
1505 GlobalEventHandlers.ongotpointercapture API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, ongotpointercapture
ongotpointercapture 特性为 GlobalEventHandlers 混合 EventHandler 处理 gotpointercapture 事件。
1506 GlobalEventHandlers.oninput API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
oninput 特性为 GlobalEventHandlers 混合 EventHandler 处理 input events on the <input> , <select> ,和 <textarea> elements. It also handles these events on elements where contenteditable or designMode are turned on.
1507 GlobalEventHandlers.oninvalid API, Event Handler, GlobalEventHandlers, Property, Reference
oninvalid 特性为 GlobalEventHandlers 混合 EventHandler 处理 无效 事件。
1508 GlobalEventHandlers.onkeydown API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onkeydown 特性为 GlobalEventHandlers 混合 EventHandler 处理 keydown 事件。
1509 GlobalEventHandlers.onkeypress API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onkeypress 特性为 GlobalEventHandlers 混合 EventHandler 处理 keypress 事件。
1510 GlobalEventHandlers.onkeyup API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onkeyup 特性为 GlobalEventHandlers 混合 EventHandler 处理 keyup 事件。
1511 GlobalEventHandlers.onload API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, onload
onload 特性为 GlobalEventHandlers 混合 EventHandler 处理 load 事件在 Window , XMLHttpRequest , <img> 元素、等。
1512 GlobalEventHandlers.onloadeddata API, Event Handler, GlobalEventHandlers, Property, Reference
onloadeddata 特性为 GlobalEventHandlers 混合 EventHandler 为处理 loadeddata 事件。
1513 GlobalEventHandlers.onloadedmetadata API, Event Handler, GlobalEventHandlers, Property, Reference
onloadedmetadata 特性为 GlobalEventHandlers 混合 EventHandler 为处理 loadedmetadata 事件。
1514 GlobalEventHandlers.onloadend API, DOM, Event Handler, GlobalEventHandlers, Property, Reference, Web, events, onloadend
onloadend 特性为 GlobalEventHandlers 混合 EventHandler 表示要调用的代码当 loadend 事件被引发 (当资源加载进度停止时。)
1515 GlobalEventHandlers.onloadstart
The onloadstart property sets and returns the event handler loadstart 事件。
1516 GlobalEventHandlers.onloadstart API, DOM, Event Handler, GlobalEventHandlers, Property, Reference, Web, events, onloadstart
onloadstart 特性为 GlobalEventHandlers 混合 EventHandler 表示要调用的代码当 loadstart 事件被引发 (当资源加载进度开始时。)
1517 GlobalEventHandlers.onlostpointercapture API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference, events, onlostpointercapture
onlostpointercapture 特性为 GlobalEventHandlers 混合 EventHandler 处理 lostpointercapture 事件。
1518 GlobalEventHandlers.onmousedown API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onmousedown 特性为 GlobalEventHandlers 混合 EventHandler 处理 mousedown 事件。
1519 GlobalEventHandlers.onmouseenter API, Event Handler, GlobalEventHandlers, Property, Reference
onmouseenter 特性为 GlobalEventHandlers 混合 EventHandler 为处理 mouseenter 事件。
1520 GlobalEventHandlers.onmouseleave API, Event Handler, GlobalEventHandlers, Property, Reference
onmouseleave 特性为 GlobalEventHandlers 混合 EventHandler 为处理 mouseleave 事件。
1521 GlobalEventHandlers.onmousemove API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onmousemove 特性为 GlobalEventHandlers 混合 EventHandler 处理 mousemove 事件。
1522 GlobalEventHandlers.onmouseout API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onmouseout 特性为 GlobalEventHandlers 混合 EventHandler 处理 mouseout 事件。
1523 GlobalEventHandlers.onmouseover API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onmouseover 特性为 GlobalEventHandlers 混合 EventHandler 处理 mouseover 事件。
1524 GlobalEventHandlers.onmouseup API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onmouseup 特性为 GlobalEventHandlers 混合 EventHandler 处理 mouseup 事件。
1525 GlobalEventHandlers.onmousewheel
onmousewheel property sets and returns the event handler mousewheel 事件。
1526 GlobalEventHandlers.onpause API, Event Handler, GlobalEventHandlers, Property, Reference
onpause 特性为 GlobalEventHandlers 混合 EventHandler 为处理 pause 事件。
1527 GlobalEventHandlers.onplay API, Event Handler, GlobalEventHandlers, Property, Reference
onplay 特性为 GlobalEventHandlers 混合 EventHandler 为处理 play 事件。
1528 GlobalEventHandlers.onpointercancel API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointercancel 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointercancel 事件。
1529 GlobalEventHandlers.onpointerdown API, Document, Element, GlobalEventHandlers, HTML DOM, Pointer Events, Pointer Events API, PointerEvent, Property, Reference, Window
GlobalEventHandlers event handler onpointerdown is used to specify the event handler for the pointerdown event, which is fired when the pointing device is initially pressed. This event can be sent to Window , Document ,和 元素 对象。
1530 GlobalEventHandlers.onpointerenter API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointerenter 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointerenter 事件。
1531 GlobalEventHandlers.onpointerleave API, GlobalEventHandlers, HTML DOM, NeedsBrowserCompatibility, Pointer Events, PointerEvent, Property, Reference, onpointerleave
global event handler pointerleave event, which is delivered to a 节点 when the pointer (mouse cursor, fingertip, etc.) exits its hit test area (for example, if the cursor exits an 元素 or Window 's content area). This event is part of the Pointer Events API .
1532 GlobalEventHandlers.onpointermove API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointermove 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointermove 事件。
1533 GlobalEventHandlers.onpointerout API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointerout 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointerout 事件。
1534 GlobalEventHandlers.onpointerover API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointerover 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointerover 事件。
1535 GlobalEventHandlers.onpointerup API, Event Handler, GlobalEventHandlers, HTML DOM, PointerEvent, Property, Reference
onpointerup 特性为 GlobalEventHandlers 混合 EventHandler 处理 pointerup 事件。
1536 GlobalEventHandlers.onreset API, DOM, Event Handler, GlobalEventHandlers, Property, Reference
onreset 特性为 GlobalEventHandlers 混合 EventHandler 处理 reset 事件。
1537 GlobalEventHandlers.onresize API, DOM, Event Handler, GlobalEventHandlers, Property, Reference, onresize
onresize 特性为 GlobalEventHandlers interface is an EventHandler 处理 resize 事件。
1538 GlobalEventHandlers.onscroll API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onscroll 特性为 GlobalEventHandlers 混合 EventHandler 处理 scroll 事件。
1539 GlobalEventHandlers.onselect API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onselect 特性为 GlobalEventHandlers 混合 EventHandler 处理 select events .
1540 GlobalEventHandlers.onselectionchange API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectionchange
onselectionchange 特性为 GlobalEventHandlers 混合 EventHandler 处理 selectionchange 事件。
1541 GlobalEventHandlers.onselectstart API, Event Handler, Experimental, GlobalEventHandlers, Property, Reference, Selection, Selection API, onselectstart
onselectstart 特性为 GlobalEventHandlers 混合 EventHandler 处理 selectstart 事件。
1542 GlobalEventHandlers.onsubmit API, Event Handler, GlobalEventHandlers, HTML DOM, Property, Reference
onsubmit 特性为 GlobalEventHandlers 混合 EventHandler 处理 submit 事件。
1543 GlobalEventHandlers.ontouchcancel API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
ontouchcancel 特性为 GlobalEventHandlers 混合 EventHandler 处理 touchcancel 事件。
1544 GlobalEventHandlers.ontouchend API, Experimental, HTML DOM, Reference, TouchEvent
A global event handler touchend 事件。
1545 GlobalEventHandlers.ontouchmove API, Experimental, HTML DOM, Reference
A global event handler touchmove 事件。
1546 GlobalEventHandlers.ontouchstart API, Event Handler, Experimental, GlobalEventHandlers, HTML DOM, Property, Reference
ontouchstart 特性为 GlobalEventHandlers 混合 EventHandler 处理 touchstart 事件。
1547 GlobalEventHandlers.ontransitioncancel API, CSS Transitions, CSS3 Transitions, Event Handler, GlobalEventHandlers, Property, Reference, ontransitioncancel
ontransitioncancel 特性为 GlobalEventHandlers 混合 EventHandler 处理 transitioncancel 事件。
1548 GlobalEventHandlers.ontransitionend API, CSS Transitions, CSS3 Transitions, Document, Element, Event Handler, GlobalEventHandlers, Property, Reference, Window, ontransitionend
ontransitionend 特性为 GlobalEventHandlers 混合 EventHandler 处理 transitionend 事件。
1549 GlobalEventHandlers.onwheel API, DOM, Event Handler, GlobalEventHandlers, Property, Reference, onwheel
onwheel 特性为 GlobalEventHandlers 混合 EventHandler 处理 wheel 事件。
1550 Gyroscope API, Generic Sensor API, Gyroscope, Gyroscope API, Interface, Reference, Sensor, Sensor APIs, Sensors
Gyroscope 接口在 Sensor APIs provides on each reading the angular velocity of the device along all three axes.
1551 Gyroscope.Gyroscope() API, Constructor, Generic Sensor API, Gyroscope, Reference, Sensor, Sensor APIs, Sensors
Gyroscope 构造函数创建新 Gyroscope object which provides on each reading the angular velocity of the device along all three axes.
1552 Gyroscope.x API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, x
x 只读特性在 Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its x axis.
1553 Gyroscope.y API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, y
y 只读特性在 Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its y axis.
1554 Gyroscope.z API, Generic Sensor API, Gyroscope, Property, Reference, Sensor, Sensor APIs, Sensors, z
z 只读特性在 Gyroscope interface returns a double precision integer containing the angular velocity of the device along the its z axis.
1555 HMDVRDevice API, Experimental, Expérimental(2), HMDVRDevice, Interface, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
HMDVRDevice 接口在 WebVR API represents a head mounted display, providing access to information about each eye, and allowing us to modify the current field of view.
1556 HMDVRDevice.getEyeParameters() API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
getEyeParameters() 方法在 HMDVRDevice interface returns current parameters for the eye specified as its argument ("left" or "right") — stored in a VREyeParameters 对象。
1557 HMDVRDevice.setFieldOfView() API, Experimental, Expérimental(2), HMDVRDevice, Method, Obsolete, Reference, Référence(2), VR, Virtual Reality, WebVR
setFieldOfView() 方法在 HMDVRDevice interface can be used to set the field of view for one eye, or both eyes simultaneously.
1558 HTML 拖放 API Advanced, Guide, HTML5, Overview, XUL, drag and drop, events
HTML Drag and Drop interfaces enable applications to use drag-and-drop features in browsers.
1559 Drag Operations Advanced, Guide, HTML, HTML5, drag and drop
The following describes the steps that occur during a drag and drop operation.
1560 Dragging and Dropping Multiple Items Gecko, Guide, Non-standard, drag and drop
Mozilla supports the ability to drag multiple items using some additional non-standard methods. These are methods that mirror the 类型 property as well as the getData() , setData() and clearData() methods, however, they take an additional argument that specifies the index of the item to retrieve, modify or remove.
1561 File drag and drop Guide, drag and drop, drop zone
HTML Drag and Drop interfaces enable web applications to drag and drop files on a web page. This document describes how an application can accept one or more files that are dragged from the underlying platform's file manager and dropped on a web page.
1562 Recommended Drag Types Guide, drag and drop
The HTML Drag and Drop API supports dragging various types of data, including plain text, URLs, HTML code, files, etc. The document describes best practices for common draggable data types.
1563 HTMLAnchorElement API, HTML DOM, Interface, Reference
HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to <a> element; not to be confused with <link> , which is represented by HTMLLinkElement )
1564 HTMLAnchorElement.download API, HTML DOM, HTMLAnchorElement, Property, Reference, download
HTMLAnchorElement.download 特性为 DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value, if any, specifies the default file name for use in labeling the resource in a local file system. If the name is not a valid file name in the underlying OS, the browser will adjust it.
1565 HTMLAnchorElement.referrerPolicy API, Experimental, HTMLAnchorElement, Property, Reference, Referrer Policy
HTMLAnchorElement .referrerPolicy property reflect the HTML referrerpolicy 属性在 <a> element defining which referrer is sent when fetching the resource.
1566 HTMLAnchorElement.rel API, HTML DOM, HTMLAnchorElement, Property, Reference
HTMLAnchorElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <a> element and the current document.
1567 HTMLAnchorElement.relList API, HTML DOM, HTMLAnchorElement, Property, Reference, relList
HTMLAnchorElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document.
1568 HTMLAreaElement API, HTML DOM, Interface, Reference
HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> 元素。
1569 HTMLAreaElement.referrerPolicy API, Experimental, HTMLAreaElement, Property, Reference, Referrer Policy
HTMLAreaElement .referrerPolicy property reflect the HTML referrerpolicy 属性在 <area> element defining which referrer is sent when fetching the resource.
1570 HTMLAreaElement.rel API, HTML DOM, HTMLAreaElement, Property, Reference
HTMLAreaElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <area> element and the current document.
1571 HTMLAreaElement.relList API, HTML DOM, HTMLAreaElement, Property, Reference
HTMLAreaElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document.
1572 HTMLAudioElement API, Audio, HTML, HTML DOM, HTMLAudioElement, Interface, Media, Reference, sound
HTMLAudioElement interface provides access to the properties of <audio> elements, as well as methods to manipulate them.
1573 Audio() API, Audio, Constructor, DOM, HTML, HTML DOM, HTMLAudioElement, Reference, sound
Audio() constructor creates and returns a new HTMLAudioElement which can be either attached to a document for the user to interact with and/or listen to, or can be used offscreen to manage and play audio.
1574 msAudioCategory
No summary!
1575 msAudioDeviceType msAudioDeviceType
msAudioDeviceType 特性在 HTML <audio> element, is a read/write proprietary attribute, specific to Internet Explorer and Microsoft Edge.
1576 HTMLBRElement API, HTML DOM, Interface, Reference
HTMLBRElement interface represents a HTML line break element ( <br> ). It inherits from HTMLElement .
1577 HTMLBaseElement API, HTML DOM, Interface, Reference
HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement 接口。
1578 HTMLBaseFontElement API, HTML DOM, Interface, Obsolete, Reference
HTMLBaseFontElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <basefont> 元素。
1579 HTMLBodyElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLBodyElement interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> 元素。
1580 HTMLButtonElement API, HTML DOM, HTMLButtonElement, Interface, Reference
HTMLButtonElement interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> 元素。
1581 HTMLButtonElement.labels API, DOM, Property, Reference
HTMLButtonElement.labels 只读特性返回 NodeList <label> elements associated with the <button> 元素。
1582 HTMLCanvasElement API, Canvas, HTML DOM, Interface, Reference
HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of <canvas> 元素。 HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement 接口。
1583 HTMLCanvasElement.captureStream() Canvas, Experimental, Frame Capture, HTMLCanvasElement, Interface, Media, Media Capture DOM Elements, Method, Reference, Web, captureStream
HTMLCanvasElement captureStream() 方法返回 MediaStream which includes a CanvasCaptureMediaStreamTrack containing a real-time video capture of the canvas's contents.
1584 HTMLCanvasElement.getContext() API, Canvas, HTMLCanvasElement, Method, Reference
HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.
1585 HTMLCanvasElement.height API, Canvas, HTMLCanvasElement, Property
HTMLCanvasElement.height property is a positive integer 反射 height HTML attribute of the <canvas> element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 150 被使用。
1586 HTMLCanvasElement.mozFetchAsStream() API, Canvas, HTMLCanvasElement, Method, Obsolete, Reference
HTMLCanvasElement.mozFetchAsStream() internal method used to create a new input stream that, when ready, would provide the contents of the canvas as image data. However, this non-standard and internal method has been removed.
1587 HTMLCanvasElement.mozGetAsFile() API, Canvas, HTMLCanvasElement, Method, Non-standard, Reference
HTMLCanvasElement.mozGetAsFile() 方法返回 File object representing the image contained in the canvas; this file is a memory-based file, with the specified 名称 。若 type is not specified, the image type is image/png .
1588 HTMLCanvasElement.mozOpaque API, Canvas, Deprecated, HTMLCanvasElement, Non-standard, Property, Reference
The non-standard HTMLCanvasElement.mozOpaque 特性为 布尔 反射 moz-opaque HTML attribute of the <canvas> element. It lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized.
1589 HTMLCanvasElement.toBlob() API, Canvas, HTMLCanvasElement, Method, Reference
HTMLCanvasElement.toBlob() method creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent. If type is not specified, the image type is image/png . The created image is in a resolution of 96dpi.
1590 HTMLCanvasElement.toDataURL() API, Canvas, HTMLCanvasElement, Method, Reference
HTMLCanvasElement.toDataURL() 方法返回 data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG ). The returned image is in a resolution of 96 dpi.
1591 HTMLCanvasElement.transferControlToOffscreen() API, Experimental, HTMLCanvasElement, Method, OffscreenCanvas, Reference
HTMLCanvasElement .transferControlToOffscreen() method transfers control to an OffscreenCanvas object, either on the main thread or on a worker.
1592 HTMLCanvasElement.width API, Canvas, HTMLCanvasElement, Property
HTMLCanvasElement.width property is a positive integer 反射 width HTML attribute of the <canvas> element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 300 被使用。
1593 HTMLCanvasElement: webglcontextcreationerror event WebGL
No summary!
1594 HTMLCanvasElement: webglcontextlost event Event, Reference, WebGL
With the help of the WEBGL_lose_context extension, you can simulate the webglcontextlost event:
1595 HTMLCanvasElement: webglcontextrestored event WebGL
With the help of the WEBGL_lose_context extension, you can simulate the webglcontextrestored event:
1596 HTMLCollection API, DOM, DOM Reference, Element Lists, HTML DOM, HTMLCollection, Interface, Reference
HTMLCollection interface represents a generic collection (array-like object similar to arguments ) of elements (in document order) and offers methods and properties for selecting from the list.
1597 HTMLCollection.item API, HTML DOM, HTMLCollection, Property, Reference, item
HTMLCollection 方法 item() returns the node located at the specified offset into the collection.
1598 HTMLContentElement API, Deprecated, HTML DOM, Interface, Reference, Référence(2)
HTMLContentElement 接口表示 <content> HTML Element, which is used in Shadow DOM .
1599 HTMLContentElement.getDistributedNodes() API, HTML DOM, Property, Reference, Référence(2), Web Components
HTMLContentElement.getDistributedNodes() method returns a static NodeList distributed nodes associated with this <content> 元素。
1600 HTMLContentElement.select API, HTML DOM, Property, Reference, Référence(2), Web Components
HTMLContentElement.select property reflects the select attribute. It is a DOMString containing a space-separated list of CSS selectors that select the content to insert in place of the <content> element.
1601 HTMLDListElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list ( <dl> ) elements.
1602 HTMLDataElement API, HTML DOM, HTMLDataElement, Interface, Reference, data
HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> 元素。
1603 HTMLDataElement.value API, HTML DOM, HTMLDataElement, Property, Reference, data, value
value 特性为 HTMLDataElement interface returns a DOMString 反射 HTML attribute.
1604 HTMLDataListElement API, HTML DOM, Interface, Reference
HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
1605 HTMLDetailsElement API, HTML, HTML DOM, HTMLDetailsElement, Interface, Reference
HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <details> 元素。
1606 HTMLDetailsElement: toggle event Event, HTMLDetailsElement, Reference, details, events, toggle
toggle event fires when the open / closed state of a <details> element is toggled.
1607 HTMLDialogElement API, Experimental, HTML DOM, HTMLDialogElement, Interface, Reference
HTMLDialogElement interface provides methods to manipulate <dialog> elements. It inherits properties and methods from the HTMLElement 接口。
1608 HTMLDialogElement.close() API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, close
Void.
1609 HTMLDialogElement.open API, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, open
A 布尔 representing the state of the open HTML attribute. true means it is set, and therefore the dialog is shown. false means it not set, and therefore the dialog is not shown.
1610 HTMLDialogElement.returnValue API, Experimental, HTML DOM, HTMLDialogElement, Property, Reference, returnValue
returnValue 特性为 HTMLDialogElement interface gets or sets the return value for the <dialog> , usually to indicate which button the user pressed to close it.
1611 HTMLDialogElement.show() API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, show
show() 方法在 HTMLDialogElement interface displays the dialog modelessly, i.e. still allowing interaction with content outside of the dialog.
1612 HTMLDialogElement.showModal() API, Experimental, HTML DOM, HTMLDialogElement, Method, Reference, showModal
showModal() 方法在 HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present. It displays into the top layer, along with a ::backdrop pseudo-element. Interaction outside the dialog is blocked and the content outside it is rendered inert.
1613 HTMLDialogElement: cancel event API, DOM, Event, NeedsExample, cancel, events
cancel event fires on a <dialog> when the user instructs the browser that they wish to dismiss the current open dialog. For example, the browser might fire this event when the user presses the Esc key or clicks a "Close dialog" button which is part of the browser's UI.
1614 HTMLDialogElement: close event API, DOM, Event, Experimental, HTML DOM, Reference, close, events
close event is fired on an HTMLDialogElement object when the dialog it represents has been closed.
1615 HTMLDivElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> 元素。
1616 HTMLDocument API, DOM, Document, HTML, HTML DOM, HTMLDocument, Interface, Reference
HTMLDocument interface, which may be accessed through the Window.HTMLDocument property, extends the Window.HTMLDocument property to include methods and properties that are specific to HTML 文档。
1617 HTMLElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLElement 接口表示任何 HTML 元素。一些元素直接实现此接口,而其它元素凭借继承它的接口实现它。
1618 HTMLElement.click() API, HTML DOM, HTMLElement, Method, Reference
HTMLElement.click() method simulates a mouse click on an element.
1619 HTMLElement.contentEditable API, HTML DOM, HTMLElement, Property, Reference
contentEditable 特性为 HTMLElement 接口指定元素是否可编辑。
1620 HTMLElement.contextMenu API, Deprecated, Element, HTML, HTML DOM, Property, Reference, UX
No summary!
1621 HTMLElement.dir API, HTML DOM, HTMLElement, Property, Reference
HTMLElement.dir property gets or sets the text writing directionality of the content of the current element.
1622 HTMLElement.forceSpellCheck() API, Experimental, HTML DOM, HTMLElement, Method, NeedsExample, NeedsSpecTable, Reference
forceSpellCheck() 方法在 HTMLElement interface forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides 用户代理 behavior. The specific user interface of the check, for example whether red underlining appears, is determined by the user agent.
1623 HTMLElement.hidden API, Attribute, Element, HTML, HTML element, Property, Reference, hidden
HTMLElement property hidden 布尔 which is true if the element is hidden; otherwise the value is false . This is quite different from using the CSS property display to control the visibility of an element.
1624 HTMLElement.innerText API, DOM, HTMLElement, Property, Reference
innerText 特性为 HTMLElement interface represents the "rendered" text content of a node and its descendants.
1625 HTMLElement.isContentEditable API, Editing, HTML DOM, HTMLElement, Property, Read-only, Reference
HTMLElement.isContentEditable 只读特性返回 布尔 也就是 true if the contents of the element are editable; otherwise it returns false .
1626 HTMLElement.lang API, HTML DOM, HTMLElement, NeedsUpdate, Property, Reference
HTMLElement.lang property gets or sets the base language of an element's attribute values and text content.
1627 HTMLElement.offsetHeight API, CSSOM View, NeedsMarkupWork, NeedsNonDHMLImage, Property, Reference
HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders, as an integer.
1628 HTMLElement.offsetLeft API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent 节点。
1629 HTMLElement.offsetParent API, CSSOM View, NeedsMarkupWork, Property, Reference
HTMLElement.offsetParent read-only property returns a reference to the object which is the closest (nearest in the containment hierarchy) positioned containing element. If the element is non-positioned, the nearest td , th , table body 被返回。
1630 HTMLElement.offsetTop API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
HTMLElement.offsetTop read-only property returns the distance of the current element relative to the top of the offsetParent 节点。
1631 HTMLElement.offsetWidth API, CSSOM View, NeedsMarkupWork, Property, Read-only, Reference
HTMLElement.offsetWidth read-only property returns the layout width of an element as an integer.
1632 HTMLElement.oncopy API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
oncopy 特性为 HTMLElement interface is an EventHandler 处理 copy 事件。
1633 HTMLElement.oncut API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
HTMLElement.oncut 特性为 HTMLElement interface is an EventHandler 处理 cut 事件。
1634 HTMLElement.onpaste API, Event Handler, Experimental, HTMLElement, NeedsSpecTable, Property, Reference
HTMLElement.onpaste 特性为 HTMLElement interface is an EventHandler 处理 paste 事件。
1635 HTMLElement.outerText API, DOM, Non-standard, Property, Reference
HTMLElement.outerText is a non-standard property. As a getter, it returns the same value as Node.innerText . As a setter, it removes the current node and replaces it with the given text.
1636 HTMLElement.style API, HTML DOM, HTMLElement, NeedsSpecTable, Property, Reference, Style
HTMLElement.style property is used to get as well as set the inline style of an element. When getting, it returns a CSSStyleDeclaration object that contains a list of all styles properties for that element with values assigned for the attributes that are defined in the element's inline style 属性 .
1637 HTMLElement.title API, HTML DOM, HTMLElement, Property, Reference
HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.
1638 HTMLElement: animationcancel event Animation, AnimationEvent, CSS Animations, Event, Reference, animationcancel, events
An animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an animationend event). This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
1639 HTMLElement: animationend event Animation, AnimationEvent, CSS Animations, CSS3 Animations, Event, Reference, animationend
animationend event is fired when a CSS Animation has completed (but not if it aborts before reaching completion, such as if the element becomes invisible or the animation is removed from the element).
1640 HTMLElement: animationiteration event Animation, AnimationEvent, CSS Animations, Event, Reference, animationiteration
animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the animationend event, and therefore does not occur for animations with an animation-iteration-count of one.
1641 HTMLElement: animationstart event Animation, AnimationEvent, CSS Animations, Event, Reference, animationstart
animationstart event is fired when a CSS Animation has started. If there is an animation-delay , this event will fire once the delay period has expired. A negative delay will cause the event to fire with an elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
1642 HTMLElement: beforeinput event DOM, Event, Experimental, InputEvent, Reference, beforeinput
DOM beforeinput event fires when the value of an <input> , <select> ,或 <textarea> element is about to be modified. The event also applies to elements with contenteditable enabled, and to any element when designMode is turned on.
1643 HTMLElement: change event Change, DOM, Event, HTML, Reference, Web
change event is fired for <input> , <select> ,和 <textarea> elements when an alteration to the element's value is committed by the user. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value .
1644 HTMLElement: gotpointercapture event DOM, Event, NeedsSpecTable, PointerEvent, Reference
gotpointercapture event is fired when an element captures a pointer using setPointerCapture() .
1645 HTMLElement: input event Content, DOM, Edit, Event, Forms, Input, InputEvent, NeedsMobileBrowserCompatibility, Reference, data, value
input event fires when the value of an <input> , <select> ,或 <textarea> 元素已改变。
1646 HTMLElement: lostpointercapture event DOM, Event, NeedsSpecTable, PointerEvent, Reference
lostpointercapture event is fired when a 捕获指针 被释放。
1647 HTMLElement: pointercancel event DOM, Event, Pointer Events, PointerEvent, Reference, pointercancel, user input
pointercancel event is fired when the browser determines that there are unlikely to be any more pointer events, or if after the pointerdown event is fired, the pointer is then used to manipulate the viewport by panning, zooming, or scrolling.
1648 HTMLElement: pointerdown event DOM, Event, PointerEvent, Reference
pointerdown event is fired when a pointer becomes active. For mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed. For touch, it is fired when physical contact is made with the digitizer. For pen, it is fired when the stylus makes physical contact with the digitizer.
1649 HTMLElement: pointerenter event DOM, Event, NeedsSpecTable, PointerEvent, Reference
pointerenter event fires when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not support hover (see pointerdown ).
1650 HTMLElement: pointerleave event DOM, Event, PointerEvent, Reference
pointerleave event is fired when a pointing device is moved out of the hit test boundaries of an element. For pen devices, this event is fired when the stylus leaves the hover range detectable by the digitizer.
1651 HTMLElement: pointermove event DOM, Event, PointerEvent, Reference
pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action .
1652 HTMLElement: pointerout event DOM, Event, PointerEvent, Reference
pointerout event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not support hover (see pointerup ); after firing the pointercancel event (see pointercancel ); when a pen stylus leaves the hover range detectable by the digitizer.
1653 HTMLElement: pointerover event Event, PointerEvent
pointerover event is fired when a pointing device is moved into an element's hit test boundaries.
1654 HTMLElement: pointerup event DOM, Event, PointerEvent, Reference
pointerup event is fired when a pointer is no longer active.
1655 HTMLElement: transitioncancel event CSS Transitions, DOM, Event, Reference, TransitionEvent, events, transitioncancel
transitioncancel event is fired when a CSS transition 被取消。
1656 HTMLElement: transitionend event CSS Transitions, DOM, Event, Reference, TransitionEvent, events, transitionend
transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display 被设为 none , then the event will not be generated.
1657 HTMLElement: transitionrun event CSS Transitions, DOM, Event, Reference, Transitions, Web, events, transitionrun
transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
1658 HTMLElement: transitionstart event CSS Transitions, DOM, Event, Reference, TransitionEvent, events, transitionstart
transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
1659 accessKeyLabel
HTMLElement.accessKeyLabel 只读特性返回 字符串 that represents the element's assigned access key (if any); otherwise it returns an empty string.
1660 HTMLEmbedElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLEmbedElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> 元素。
1661 HTMLFieldSetElement API, HTML DOM, Interface, Reference
HTMLFieldSetElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> 元素。
1662 HTMLFontElement API, HTML DOM, Interface, Obsolete, Reference
Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text.
1663 HTMLFontElement.color API, HTML DOM, HTMLFontElement, Property, Reference
过时 HTMLFontElement .color 特性为 DOMString that reflects the color HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.
1664 HTMLFontElement.face API, HTML DOM, HTMLFontElement, Property, Reference
过时 HTMLFontElement .face 特性为 DOMString that reflects the face HTML attribute, containing a comma-separated list of one or more font names.
1665 HTMLFontElement.size API, HTML DOM, HTMLFontElement, Property, Reference
过时 HTMLFontElement.size 特性为 DOMString that reflects the size HTML attribute. It contains either an integer number in the range of 1-7 or a relative value to increase/decrease the value of the size 属性在 <basefont> 元素。
1666 HTMLFormControlsCollection API, Collection, DOM, Form Collection, Form List, Forms, HTML DOM, HTML forms, HTMLFormControlsCollection, Interface, NeedsHTML5Update, Reference
HTMLFormControlsCollection 接口表示 collection of HTML form control elements .
1667 HTMLFormControlsCollection.namedItem() API, HTML DOM, HTMLFormControlsCollection, Method, Reference
HTMLFormControlsCollection.namedItem() 方法返回 RadioNodeList 元素 in the collection whose 名称 or id match the specified name, or null if no node matches.
1668 HTMLFormElement API, DOM, Form Element, Forms, HTML, HTML DOM, HTML Form Element, HTML forms, HTMLFormElement, Interface, Reference
HTMLFormElement 接口表示 <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.
1669 HTMLFormElement.acceptCharset API, HTML DOM, HTMLFormElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
HTMLFormElement.acceptCharset property represents a list of the supported character encodings for the given FORM element. This list can be comma- or space-separated.
1670 HTMLFormElement.action API, Forms, HTML DOM, HTMLFormElement, NeedsSpecTable, NeedsUpdate, Property, Reference
HTMLFormElement.action property represents the action of the <form> 元素。
1671 HTMLFormElement.elements API, Elements, HTML DOM, HTMLFormControlsCollection, HTMLFormElement, Property, Reference
HTMLFormElement property 元素 返回 HTMLFormControlsCollection listing all the form controls contained in the <form> 元素。
1672 HTMLFormElement.encoding API, HTML DOM, HTMLFormElement, NeedsContent, NeedsSpecTable, Property, Reference
HTMLFormElement.encoding property is an alternative name for the enctype element on the DOM HTMLFormElement 对象。
1673 HTMLFormElement.enctype API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
HTMLFormElement.enctype property is the MIME 类型 of content that is used to submit the form to the server. Possible values are:
1674 HTMLFormElement.length API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Read-only, Reference
HTMLFormElement.length read-only property returns the number of controls in the <form> 元素。
1675 HTMLFormElement.method API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
HTMLFormElement.method 特性表示 HTTP method used to submit the <form> .
1676 HTMLFormElement.name API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
HTMLFormElement.name property represents the name of the current <form> element as a string.
1677 HTMLFormElement.reportValidity() HTML, HTMLFormElement, Method, Reference
HTMLFormElement.reportValidity() 方法返回 true if the element's child controls satisfy their validation constraints. When false is returned, cancelable 无效 events are fired for each invalid child and validation problems are reported to the user.
1678 HTMLFormElement.reset() API, HTML DOM, HTMLFormElement, Method, NeedsMarkupWork, NeedsSpecTable, Reference
HTMLFormElement.reset() method restores a form element's default values. This method does the same thing as clicking the form's reset button.
1679 HTMLFormElement.submit() API, HTML DOM, HTMLFormElement, Method, NeedsSpecTable, Reference
HTMLFormElement.submit() method submits a given <form> .
1680 HTMLFormElement.target API, HTML DOM, HTMLFormElement, NeedsSpecTable, Property, Reference
target 特性为 HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output).
1681 HTMLFormElement: reset event Event, Forms, Reference
reset event fires when a <form> is reset.
1682 HTMLFormElement: submit event Event, Forms, HTMLFormElement, Reference, events, submit
submit event fires when a <form> is submitted.
1683 HTMLFrameSetElement API, HTML-DOM, HTMLFrameSetElement, Interface, Obsolete, Reference
HTMLFrameSetElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> 元素。
1684 HTMLHRElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> 元素。
1685 HTMLHeadElement API, HTML DOM, Interface, Reference
HTMLHeadElement interface contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement 接口。
1686 HTMLHeadingElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLHeadingElement interface represents the different heading elements. It inherits methods and properties from the HTMLElement 接口。
1687 HTMLHtmlElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement 接口。
1688 HTMLHtmlElement.version API, Deprecated, HTML DOM, NeedsContent, NeedsLayout, Property, Reference
Returns version information about the document type definition (DTD) of a document. While this property is recognized by Mozilla, the return value for this property is always an empty string.
1689 HTMLHyperlinkElementUtils API, Experimental, Mixin, URL API
HTMLHyperlinkElementUtils mixin defines utility methods and properties to work with HTMLAnchorElement and HTMLAreaElement . These utilities allow to deal with common features like URLs.
1690 HTMLHyperlinkElementUtils.hash API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.hash 特性返回 DOMString 包含 '#' followed by the fragment identifier of the URL.
1691 HTMLHyperlinkElementUtils.host API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.host 特性为 USVString 包含主机,即 hostname , and then, if the port of the URL is nonempty, a ':' ,和 port of the URL.
1692 HTMLHyperlinkElementUtils.hostname API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.hostname 特性为 USVString 包含 URL 的域。
1693 HTMLHyperlinkElementUtils.href API, Experimental, HTMLHyperlinkElementUtils, Location, Property, Reference, URL API
HTMLHyperlinkElementUtils.href 特性为 USVString containing the whole URL.
1694 HTMLHyperlinkElementUtils.origin API, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, Reference, URL API
HTMLHyperlinkElementUtils.origin read-only property is a USVString containing the Unicode serialization of the origin of the represented URL
1695 HTMLHyperlinkElementUtils.password API, Experimental, HTMLHyperlinkElementUtils, Property, Read-only, URL API
The HTMLHyperlinkElementUtils .password 特性为 USVString containing the password specified before the domain name.
1696 HTMLHyperlinkElementUtils.pathname API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.pathname 特性为 USVString 包含初始 '/' followed by the path of the URL (or the empty string if there is no path).
1697 HTMLHyperlinkElementUtils.port API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
The HTMLHyperlinkElementUtils .port 特性为 USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to '' .
1698 HTMLHyperlinkElementUtils.protocol API, Experimental, HTMLHyperlinkElementUtils, Property, URL API
HTMLHyperlinkElementUtils .protocol 特性为 USVString representing the protocol scheme of the URL, including the final ':' .
1699 HTMLHyperlinkElementUtils.search API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.search property is a search string, also called a query string , that is USVString 包含 '?' followed by the parameters of the URL.
1700 HTMLHyperlinkElementUtils.toString() API, Experimental, HTMLHyperlinkElementUtils, Location, Method, Stringifier, URL API
HTMLHyperlinkElementUtils.toString() stringifier method returns a USVString containing the whole URL. It is a read-only version of HTMLHyperlinkElementUtils.href .
1701 HTMLHyperlinkElementUtils.username API, Experimental, HTMLHyperlinkElementUtils, Property, Reference, URL API
HTMLHyperlinkElementUtils.username 特性为 USVString containing the username specified before the domain name.
1702 HTMLIFrameElement API, HTML DOM, Interface, Reference
HTMLIFrameElement interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
1703 HTMLIFrameElement.allowPaymentRequest API, HTML DOM, Payment Request, PaymentRequest, Property, Reference, Reference HTMLIFrameElement, allowPaymentRequest
allowPaymentRequest 特性为 HTMLIFrameElement interface returns a 布尔 indicating whether the 支付请求 API may be invoked on a cross-origin iframe.
1704 HTMLIFrameElement.contentWindow API, DOM, HTML DOM, Property, Read-only, Reference, Web
contentWindow property returns the Window object of an HTMLIFrameElement . You can use this Window object to access the iframe's document and its internal DOM. This attribute is read-only, but its properties can be manipulated like the global Window 对象。
1705 HTMLIFrameElement.csp API, CSP, Content Security Policy, HTML DOM, HTMLIFrameElement, Property, Reference
csp 特性为 HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.
1706 HTMLIFrameElement.featurePolicy API, Feature Policy, Feature-Policy, HTMLIFrameElement, Policy, Property
featurePolicy 只读特性在 HTMLIFrameElement interface returns the FeaturePolicy interface which provides a simple API for introspecting the feature policies applied to a specific frame.
1707 HTMLIFrameElement.referrerPolicy API, HTMLIFrameElement, Property, Reference, Referrer Policy
HTMLIFrameElement .referrerPolicy property reflects the HTML referrerpolicy 属性在 <iframe> element defining which referrer is sent when fetching the resource.
1708 HTMLIFrameElement.setNfcFocus() API, B2G, Browser API, HTMLIFrameElement, Method, Non-standard, Reference, iframe, privileged, setNfcFocus
setNfcFocus() 方法在 HTMLIFrameElement interface sets whether an <iframe> can receive an NFC 事件。
1709 HTMLIFrameElement.src
HTMLIFrameElement .src property reflects the HTML referrerpolicy 属性在 <iframe> element defining which referrer is sent when fetching the resource.
1710 contentDocument
If the iframe and the iframe's parent document are Same Origin , returns a Document (that is, the active document in the inline frame's nested browsing context), else returns null .
1711 srcdoc
srcdoc 特性为 HTMLIFrameElement specifies the content of the page.
1712 HTMLImageElement API, Element, Graphic, HTML DOM, HTMLImageElement, Image, Interface, Reference, img, picture
HTMLImageElement interface represents an HTML <img> element, providing the properties and methods used to manipulate image elements.
1713 HTMLImageElement.align API, Align, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, alignment, float, img
obsolete align 特性为 HTMLImageElement interface is a string which indicates how to position the image relative to its container.
1714 HTMLImageElement.alt API, Element, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, Text, alt, alternate, fallback
HTMLImageElement property alt provides fallback (alternate) text to display when the image specified by the <img> element is not loaded.
1715 HTMLImageElement.border API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, border, img
过时 HTMLImageElement property border specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn.
1716 HTMLImageElement.complete API, Fetching, HTML, HTML DOM, HTMLImageElement, Loading, Property, Reference, complete
只读 HTMLImageElement 接口的 complete attribute is a Boolean value which indicates whether or not the image has completely loaded.
1717 HTMLImageElement.crossOrigin API, CORS, Cross-Origin, Crossorigin, HTML DOM, HTMLImageElement, Image, Property, Reference, Security, origin
HTMLImageElement 接口的 crossOrigin attribute is a string which specifies the Cross-Origin Resource Sharing ( CORS ) setting to use when retrieving the image.
1718 HTMLImageElement.currentSrc API, HTMLImageElement, Image, Property, Reference, URL, currentSrc, source
只读 HTMLImageElement property currentSrc indicates the URL of the image which is currently presented in the <img> element it represents.
1719 HTMLImageElement.decode() API, Decode, Graphics, HTML DOM, HTMLImageElement, Images, Loading, Method, Performance, Reference, async, asynchronous, decoding
decode() 方法在 HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM.
1720 HTMLImageElement.decoding API, DOM, HTMLImageElement, Property, Reference, decoding
decoding 特性为 HTMLImageElement interface represents a hint given to the browser on how it should decode the image.
1721 HTMLImageElement.height API, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, dimensions, height, size
height 特性为 HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected height of the image.
1722 HTMLImageElement.hspace API, DOM, HTML, HTML DOM, HTMLImageElement, Horizontal, Image, Layout, Obsolete, Property, Reference, hspace, img, left, margin, right, spacing
obsolete hspace 特性为 HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the <img> element when laying out the page.
1723 HTMLImageElement.isMap API, HTML, HTML DOM, HTMLImageElement, Image Map, Link, Reference, isMap, server-side
HTMLImageElement proeprty isMap is a Boolean value which indicates that the image is to be used by a server-side image map. This may only be used on images located within an <a> 元素。
1724 HTMLImageElement.longDesc API, DOM, HTML, HTML DOM, HTMLImageElement, Long description, Obsolete, Property, Reference, description, img, longDesc
obsolete property longDesc HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image.
1725 HTMLImageElement.lowSrc API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Performance, Property, Quality, Reference, img, lowSrc, speed
HTMLImageElement 接口的 obsolete lowSrc property can be used to specify the URL of a reduced-quality or otherwise faster-loading version of the image specified by the src 特性。
1726 HTMLImageElement.name API, DOM, Deprecated, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, img, name
HTMLImageElement 接口的 弃用 名称 property specifies a name for the element. This has been replaced by the id property available on all elements.
1727 HTMLImageElement.naturalHeight API, HTMLImageElement, Intrinsic Height, Reference, Vertical, naturalHeight, size
HTMLImageElement 接口的 naturalHeight property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixels .
1728 HTMLImageElement.naturalWidth API, HTML, HTML DOM, HTMLImageElement, Intrinsic Width, Intrinsic size, Property, Reference, naturalWidth, size, width
HTMLImageElement interface's read-only naturalWidth property returns the intrinsic (natural), density-corrected width of the image in CSS pixels .
1729 HTMLImageElement.referrerPolicy API, Experimental, HTMLImageElement, Property, Referrer Policy
HTMLImageElement .referrerPolicy property reflects the HTML referrerpolicy 属性在 <img> element defining which referrer is sent when fetching the resource.
1730 HTMLImageElement.sizes API, HTML, HTML DOM, HTMLImageElement, Property, Reference, Responsive Design, Responsive Images, size, sizes, width
HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions.
1731 HTMLImageElement.src 1x, API, DOM, HTML, HTML DOM, HTMLImageElement, Image, Reference, URL, fallback, source, src
HTMLImageElement property src , which reflects the HTML src attribute, specifies the image to display in the <img> 元素。
1732 HTMLImageElement.srcset API, HTML, HTML DOM, HTMLImageElement, Image, Image Candidates, Property, Reference, Responsive Design, list, source, srcset
HTMLImageElement property srcset is a string which identifies one or more image candidate strings , separated using commas ( , ) each specifying image resources to use under given circumstances.
1733 HTMLImageElement.useMap API, DOM, HTML, HTML DOM, HTML WHATWG, HTMLImageElement, Image maps, Links, Property, Reference, interactive, useMap
useMap property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image.
1734 HTMLImageElement.vspace API, HTML, HTML DOM, HTMLImageElement, Image, Obsolete, Property, Reference, Vertical, bottom, img, margin, space, spacing, top, vspace
obsolete vspace 特性为 HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom of the <img> element when laying out the page.
1735 HTMLImageElement.width API, HTML, HTML DOM, HTMLImageElement, Image, Property, Reference, size, width
width 特性为 HTMLImageElement interface indicates the width at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected width of the image.
1736 HTMLImageElement.x API, CSSOM, CSSOM View, Coordinate, DOM, Edge, HTML, HTML DOM, HTMLImageElement, Position, Reference, border, left, x
只读 HTMLImageElement property x indicates the x-coordinate of the <img> element's left border edge relative to the root element's origin.
1737 HTMLImageElement.y
只读 HTMLImageElement property y indicates the y-coordinate of the <img> element's top border edge relative to the root element's origin.
1738 Image() API, Constructor, DOM, HTML, HTML DOM, HTMLImageElement, Image(), Reference, img
Image() 构造函数创建新 HTMLImageElement 实例。它在功能上相当于 document.createElement('img') .
1739 HTMLInputElement API, HTML DOM, HTMLInputElement, Input, Interface, NeedsContent, NeedsMarkupWork, Reference
HTMLInputElement interface provides special properties and methods for manipulating the options, layout, and presentation of <input> 元素。
1740 HTMLInputElement.labels API, DOM, Property, Reference
HTMLInputElement.labels 只读特性返回 NodeList <label> elements associated with the <input> 元素。
1741 HTMLInputElement.mozGetFileNameArray() API, HTML DOM, HTMLInputElement, Method, NeedsBrowserCompatibility, Non-standard, Reference
HTMLInputElement.mozGetFileNameArray() method returns an array of the names of the files that were selected by the user on an HTML input 元素。
1742 HTMLInputElement.mozSetFileNameArray() API, HTML DOM, HTMLInputElement, Method, NeedsBrowserCompatibility, Non-standard, Reference
HTMLInputElement.mozSetFileNameArray() method sets the names of the files that selected on an HTML input 元素。
1743 HTMLInputElement.multiple API, HTML DOM, HTMLInputElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
HTMLInputElement.multiple property indicates if an input can have more than one value. Firefox currently only supports multiple for <input type="file"> .
1744 HTMLInputElement.select() API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference
HTMLInputElement.select() method selects all the text in a <textarea> element or in an <input> element that includes a text field.
1745 HTMLInputElement.setRangeText() API, HTML DOM, HTMLInputElement, Method, NeedsCompatTable, Reference, Text Field Selection API
HTMLInputElement.setRangeText() method replaces a range of text in an <input> or <textarea> element with a new string.
1746 HTMLInputElement.setSelectionRange() API, HTML DOM, HTMLInputElement, Method, Reference, Text Field Selection API
HTMLInputElement.setSelectionRange() method sets the start and end positions of the current text selection in an <input> or <textarea> 元素。
1747 HTMLInputElement.webkitEntries API, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, webkitEntries
只读 webkitEntries 特性为 HTMLInputElement interface contains an array of file system entries (as objects based on FileSystemEntry ) representing files and/or directories selected by the user using an <input> element of type file , but only if that selection was made using drag-and-drop: selecting a file in the dialog will leave the property empty (bug
1748 HTMLInputElement.webkitdirectory API, File System API, File and Directory Entries API, Files, HTML DOM, HTMLInputElement, Non-standard, Property, Reference, Web, webkitdirectory
HTMLInputElement.webkitdirectory is a property that reflects the webkitdirectory HTML attribute and indicates that the <input> element should let the user select directories instead of files. When a directory is selected, the directory and its entire hierarchy of contents are included in the set of selected items. The selected file system entries can be obtained using the webkitEntries 特性。
1749 HTMLInputElement: invalid event Constraint validation, Event, Forms, Reference, events, invalid
无效 event fires when a submittable element has been checked for validity and doesn't satisfy its constraints.
1750 HTMLInputElement: search event API, Event, HTMLInputElement, Non-standard, Reference, Search, Web
search event is fired when a search is initiated usinng an <input> 元素的 type="search" .
1751 HTMLIsIndexElement API, HTML DOM, Interface, Obsolete, Reference
HTMLIsIndexElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <isindex> 元素。
1752 HTMLKeygenElement API, HTML DOM, Interface, NeedsNewLayout, Reference
<keygen> elements expose the HTMLKeygenElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of keygen 元素。
1753 HTMLLIElement API, HTML DOM, HTML DOM Interface, Interface, Reference
HTMLLIElement interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
1754 HTMLLabelElement API, HTML DOM, HTMLLabelElement, Interface, Reference
HTMLLabelElement interface gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement 接口。
1755 HTMLLabelElement.control Forms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, control
只读 HTMLLabelElement.control property returns a reference to the control (in the form of an object of type HTMLElement or one of its derivatives) with which the <label> element is associated, or null if the label isn't associated with a control.
1756 HTMLLabelElement.form Forms, HTML DOM, HTMLLabelElement, Property, Read-only, Reference, form
只读 HTMLLabelElement.form property returns an HTMLFormElement object which represents the form of which the label's associated control is a part, or null if there is either no associated control, or if that control isn't in a form.
1757 HTMLLabelElement.htmlFor Forms, HTML DOM, HTMLLabelElement, Reference, htmlFor
HTMLLabelElement.htmlFor property reflects the value of the for content property. That means that this script-accessible property is used to set and read the value of the content property for , which is the ID of the label's associated control element.
1758 HTMLLegendElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement 接口。
1759 HTMLLinkElement API, HTML DOM, HTMLLInkElement, Interface, Reference
HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa (corresponds to <link> element; not to be confused with <a> , which is represented by HTMLAnchorElement ). This object inherits all of the properties and methods of the HTMLElement 接口。
1760 HTMLLinkElement.as API, Element, HTMLLInkElement, Link, Preload API, Property, Reference, as
as 特性为 HTMLLinkElement interface returns a DOMString representing the type of content being loaded by the HTML link, one of "script" , "style" , "image" , "video" , "audio" , "track" , "font" , "fetch" .
1761 HTMLLinkElement.referrerPolicy API, Experimental, HTMLLInkElement, Property, Reference
HTMLLinkElement .referrerPolicy property reflect the HTML referrerpolicy 属性在 <link> element defining which referrer is sent when fetching the resource.
1762 HTMLLinkElement.rel API, HTML DOM, HTMLLInkElement, Property, Reference
HTMLLinkElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <link> element and the current document.
1763 HTMLLinkElement.relList API, HTML DOM, HTMLLInkElement, Property, Read-only, Reference
HTMLLinkElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document.
1764 HTMLMapElement API, HTML DOM, Interface, Reference
HTMLMapElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.
1765 HTMLMarqueeElement API, Deprecated, HTML DOM, Interface, Reference
HTMLMarqueeElement interface provides methods to manipulate <marquee> 元素。
1766 HTMLMediaElement API, Audio, DOM, HTML, HTML DOM, HTMLMediaElement, Interface, Media, Reference, Video
HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.
1767 HTMLMediaElement.audioTracks API, Audio, Audio Tracks, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Web, audiotracks
只读 audioTracks property on HTMLMediaElement objects returns an AudioTrackList object listing all of the AudioTrack objects representing the media element's audio tracks.
1768 HTMLMediaElement.autoplay API, Audio, HTML DOM, HTMLMediaElement, Media, NeedsExample, Property, Video, Web, autoplay
HTMLMediaElement.autoplay property reflects the autoplay HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption.
1769 HTMLMediaElement.buffered API, HTML DOM, HTMLMediaElement, Property, Read-only, Web
HTMLMediaElement.buffered read-only property returns a new TimeRanges object that indicates the ranges of the media source that the browser has buffered (if any) at the moment the buffered property is accessed.
1770 HTMLMediaElement.canPlayType() API, Audio, Capability, Compatibility, Format, HTML DOM, HTMLMediaElement, MIME Types, Media, Media Types, Method, Reference, Type, Video, Web, canPlayType, support
HTMLMediaElement 方法 canPlayType() reports how likely it is that the current browser will be able to play media of a given MIME type.
1771 HTMLMediaElement.captureStream() API, Audio, HTML DOM, HTMLMediaElement, Media, Media Capture DOM Elements, Method, Reference, Video, captureStream
captureStream() 特性为 HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
1772 HTMLMediaElement.controller API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.controller property represents the media controller assigned to the element.
1773 HTMLMediaElement.controls API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.controls property reflects the controls HTML attribute, which controls whether user interface controls for playing the media item will be displayed.
1774 HTMLMediaElement.controlsList API, HTML DOM, HTMLMediaElement, Media, Property, Reference
controlsList 特性为 HTMLMediaElement interface returns a DOMTokenList that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload , nofullscreen ,和 noremoteplayback .
1775 HTMLMediaElement.crossOrigin API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS 设置属性 了解细节。
1776 HTMLMediaElement.currentSrc API, HTML DOM, HTMLMediaElement, Property, Read-only, Web
HTMLMediaElement.currentSrc property contains the absolute URL of the chosen media resource. This could happen, for example, if the web server selects a media file based on the resolution of the user's display. The value is an empty string if the networkState 特性为 EMPTY .
1777 HTMLMediaElement.currentTime API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Time, Video, Web, currentTime, offset, seconds, seek
HTMLMediaElement 接口的 currentTime property specifies the current playback time in seconds.
1778 HTMLMediaElement.defaultMuted API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.defaultMuted property reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default. This property has no dynamic effect. To mute and unmute the audio output, use the muted 特性。
1779 HTMLMediaElement.defaultPlaybackRate API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.defaultPlaybackRate property indicates the default playback rate for the media.
1780 HTMLMediaElement.disableRemotePlayback
HTMLMediaElement.disableRemotePlayback property determines whether the media element is allowed to have a remote playback UI.
1781 HTMLMediaElement.duration API, HTML DOM, HTMLMediaElement, Property, Read-only, Time, Web, duration, seconds
只读 HTMLMediaElement property duration indicates the length of the element's media in seconds.
1782 HTMLMediaElement.ended API, HTML DOM, HTMLMediaElement, Property, Read-only, Web, ended
HTMLMediaElement.ended indicates whether the media element has ended playback.
1783 HTMLMediaElement.error API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Read-only, Reference, Video, Web
HTMLMediaElement.error MediaError object for the most recent error, or null if there has not been an error. When an error event is received by the element, you can determine details about what happened by examining this object.
1784 HTMLMediaElement.fastSeek() API, Audio, HTMLMediaElement, Media, Method, Reference, fastSeek
HTMLMediaElement.fastSeek() method quickly seeks the media to the new time with precision tradeoff.
1785 HTMLMediaElement.initialTime API, HTML DOM, HTMLMediaElement, Obsolete, Property, Read-only, Web
HTMLMediaElement.initialTime is the initial playback position in seconds. This property is obsolete, you can use a Media Fragments URI HTMLMediaElement.src attribute instead.
1786 HTMLMediaElement.load() API, Audio, Element, HTML DOM, HTMLMediaElement, Media, Method, Reference, Video, load, reset
HTMLMediaElement 方法 load() resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.
1787 HTMLMediaElement.loop API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.loop property reflects the loop HTML attribute, which controls whether the media element should start over when it reaches the end.
1788 HTMLMediaElement.mediaGroup API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.mediaGroup property reflects the mediagroup HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common controller .
1789 HTMLMediaElement.msInsertAudioEffect() API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertAudioEffect
HTMLMediaElement.msInsertAudioEffect() method inserts the specified audio effect into the media pipeline.
1790 HTMLMediaElement.muted API, HTML DOM, HTMLMediaElement, Property, Web
HTMLMediaElement.muted indicates whether the media element muted.
1791 HTMLMediaElement.networkState API, HTML DOM, Property, Read-only, Web
HTMLMediaElement.networkState property indicates the current state of the fetching of media over the network.
1792 HTMLMediaElement.onencrypted
onencrypted 特性为 HTMLMediaElement is an event handler, fired whenever an encrypted event occurs, denoting the media is encrypted.
1793 HTMLMediaElement.onerror API, Audio, Errors, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, Video, onerror
onerror 特性为 HTMLMediaElement interface is the EventHandler 为处理 error 事件。
1794 HTMLMediaElement.onwaitingforkey
onwaitingforkey 特性为 HTMLMediaElement is an event handler, fired when a waitingforkey event  occurs, when playback is blocked while waiting for an encryption key.
1795 HTMLMediaElement.pause() API, Audio, HTMLMediaElement, Method, Reference, Video
HTMLMediaElement.pause() method will pause playback of the media, if the media is already in a paused state this method will have no effect.
1796 HTMLMediaElement.paused API, HTML DOM, HTMLMediaElement, Property, Read-only
只读 HTMLMediaElement.paused property tells whether the media element is paused.
1797 HTMLMediaElement.play() API, Audio, HTMLMediaElement, Interface, Media, Method, Reference, Video, play
HTMLMediaElement 方法 play() attempts to begin playback of the media. It returns a Promise which is resolved when playback has been successfully started.
1798 HTMLMediaElement.playbackRate API, HTML DOM, HTMLMediaElement, Property
HTMLMediaElement.playbackRate property sets the rate at which the media is being played back. This is used to implement user controls for fast forward, slow motion, and so forth. The normal playback rate is multiplied by this value to obtain the current rate, so a value of 1.0 indicates normal speed.
1799 HTMLMediaElement.readyState API, HTML DOM, HTMLMediaElement, Property, Read-only, Web
HTMLMediaElement.readyState property indicates the readiness state of the media.
1800 HTMLMediaElement.seekToNextFrame() API, Experimental, HTMLMediaElement, Method, Non-standard, Reference, Web, seekToNextFrame
HTMLMediaElement.seekToNextFrame() method asynchronously advances the the current play position to the next frame in the media.
1801 HTMLMediaElement.seekable API, Audio, Extensions, HTMLMediaElement, MSE, Media, Property, Reference, Video, seekable, source
seekable 只读特性在 HTMLMediaElement 返回 TimeRanges object that contains the time ranges that the user is able to seek to, if any.
1802 HTMLMediaElement.setMediaKeys() API, Audio, EncryptedMediaExtensions, Experimental, HTMLMediaElement, Media, Method, Reference, Video
setMediaKeys() 特性为 HTMLMediaElement interface returns a Promise that resolves to the passed MediaKeys , which are those used to decrypt media during playback.
1803 HTMLMediaElement.setSinkId() API, Audio, Experimental, HTMLMediaElement, Media, Method, Reference, setSinkId
HTMLMediaElement.setSinkId() method sets the ID of the audio device to use for output and returns a Promise . This only works when the application is authorized to use the specified device.
1804 HTMLMediaElement.sinkId API, Audio, Experimental, Extensions, HTMLMediaElement, Media, Property, Reference
HTMLMediaElement.sinkId 只读特性返回 DOMString that is the unique ID of the audio device delivering output. If it is using the user agent default, it returns an empty string. This ID should be one of the MediaDeviceInfo.deviceId values returned from MediaDevices.enumerateDevices() , id-multimedia ,或 id-communications .
1805 HTMLMediaElement.src API, HTML DOM, HTMLMediaElement, Property, Reference, src
HTMLMediaElement.src property reflects the value of the HTML media element's src attribute, which indicates the URL of a media resource to use in the element.
1806 HTMLMediaElement.srcObject API, DOM, HTML, HTML DOM, HTMLMediaElement, Media, Property, Reference, srcObject
srcObject 特性为 HTMLMediaElement interface sets or returns the object which serves as the source of the media associated with the HTMLMediaElement .
1807 HTMLMediaElement.videoTracks API, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Video Tracks, Web, videoTracks
只读 videoTracks property on HTMLMediaElement objects returns a VideoTrackList object listing all of the VideoTrack objects representing the media element's video tracks.
1808 HTMLMediaElement.volume API, HTML DOM, HTMLMediaElement, Property, Reference, Volume
HTMLMediaElement.volume property sets the volume at which the media will be played.
1809 HTMLMediaElement: abort event API, Event, HTMLMediaElement, Reference, Web, abort
abort event is fired when the resource was not fully loaded, but not as the result of an error.
1810 HTMLMediaElement: canplay event Audio, HTMLMediaElement, Reference, Video, events
canplay event is fired when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
1811 HTMLMediaElement: canplaythrough event Audio, Event, HTMLMediaElement, Reference, Video
canplaythrough event is fired when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
1812 HTMLMediaElement: durationchange event Audio, HTMLMediaElement, Reference, Video, events
durationchange 事件被激发当 duration attribute has been updated.
1813 HTMLMediaElement: emptied event Audio, HTMLMediaElement, Reference, Video, events
emptied event is fired when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.
1814 HTMLMediaElement: ended event Audio, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended, events
ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
1815 HTMLMediaElement: error event API, Error, Event, HTMLMediaElement, Reference, Web
error event is fired when the resource could not be loaded due to an error (for example, a network connectivity problem).
1816 HTMLMediaElement: loadeddata event Audio, Event, HTMLMediaElement, Reference, Video
loadeddata event is fired when the frame at the current playback position of the media has finished loading; often the first frame.
1817 HTMLMediaElement: loadedmetadata event Audio, HTMLMediaElement, Reference, Video, events
loadedmetadata 事件被激发当元数据已加载。
1818 HTMLMediaElement: loadstart event API, Event, HTMLMediaElement, Reference, Web, loadstart
loadstart event is fired when the browser has started to load a resource.
1819 HTMLMediaElement: pause event Audio, HTML, HTMLMediaElement, Media, Media Events, Pausing, Pausing Media, Pausing Speech, Speech Events, Video, Web Speech API, Web Speech Events, events, pause, speech
pause event is sent when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the element's pause() 方法。
1820 HTMLMediaElement: play event Audio, Event, HTMLMediaElement, Reference, Video
play 事件被激发当 paused property is changed from true to false , as a result of the play method, or the autoplay 属性。
1821 HTMLMediaElement: playing event Event, HTMLMediaElement, Reference, events, playing
playing event is fired when playback is ready to start after having been paused or delayed due to lack of data.
1822 HTMLMediaElement: progress event API, Event, HTMLMediaElement, Reference, Web, progress
progress event is fired periodically as the browser loads a resource.
1823 HTMLMediaElement: ratechange event Audi, HTMLMediaElement, Reference, Video, events
ratechange event is fired when the playback rate has changed.
1824 HTMLMediaElement: seeked event Audio, HTMLMediaElement, Reference, Video, events
seeked event is fired when a seek operation completed, the current playback position has changed, and the Boolean seeking attribute is changed to false .
1825 HTMLMediaElement: seeking event Audio, HTMLMediaElement, Reference, Video, events
seeking event is fired when a seek operation starts, meaning the Boolean seeking attribute has changed to true and the media is seeking a new position.
1826 HTMLMediaElement: stalled event Audio, HTMLMediaElement, Reference, Video, events
stalled event is fired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
1827 HTMLMediaElement: suspend event Audio, HTMLMediaElement, Reference, Video, events
suspend event is fired when media data loading has been suspended.
1828 HTMLMediaElement: timeupdate event Audio, Event, HTMLMediaElement, Reference, Video
timeupdate event is fired when the time indicated by the currentTime attribute has been updated.
1829 HTMLMediaElement: volumechange event API, Audio, Event, HTMLMediaElement, Reference, Video, Web, events
volumechange event is fired when the volume has changed.
1830 HTMLMediaElement: waiting event Audio, Event, HTMLMediaElement, Reference, Video, Web
waiting event is fired when playback has stopped because of a temporary lack of data.
1831 HTMLMedia​Element​.textTracks API, Audio, HTML DOM, HTMLMediaElement, Media, Property, Reference, Tracks, Video, Web, textTracks
只读 textTracks property on HTMLMediaElement objects returns a TextTrackList object listing all of the TextTrack objects representing the media element's text tracks
1832 msClearEffects msClearEffects
No summary!
1833 HTMLMenuElement API, Draft, Experimental, HTMLMenuElement, Interface, Reference
HTMLMenuElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating <menu> 元素。
1834 HTMLMenuItemElement API, Deprecated, Draft, HTMLMenuItemElement, Interface, Reference
HTMLMenuItemElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating <menuitem> 元素。
1835 HTMLMetaElement API, HTML DOM, Interface, Reference
HTMLMetaElement interface contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface .
1836 HTMLMeterElement API, HTML DOM, HTMLMeterElement, Interface, Reference
HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> 元素。
1837 HTMLMeterElement.labels API, DOM, Property, Reference
HTMLMeterElement.labels 只读特性返回 NodeList <label> elements associated with the <meter> 元素。
1838 HTMLModElement API, HTML DOM, Interface, Reference
HTMLModElement interface provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins> .
1839 HTMLOListElement API, HTML DOM, Interface, Reference
HTMLOListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.
1840 HTMLObjectElement API, HTML DOM, Interface, Reference
HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources.
1841 HTMLObjectElement.checkValidity API, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, checkValidity()
checkValidity() 方法在 HTMLObjectElement interface returns a 布尔 that always is true, because object objects are never candidates for constraint validation.
1842 HTMLObjectElement.contentDocument API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentDocument
contentDocument 只读特性在 HTMLObjectElement interface Returns a Document representing the active document of the object element's nested browsing context, if any; otherwise null.
1843 HTMLObjectElement.contentWindow API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, contentWindow
contentWindow 只读特性在 HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.
1844 HTMLObjectElement.data API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, data
data 特性为 HTMLObjectElement interface returns a DOMString that reflects the data HTML attribute, specifying the address of a resource's data.
1845 HTMLObjectElement.form API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, form
form 只读特性在 HTMLObjectElement interface Retuns a HTMLFormElement representing the object element's form owner, or null if there isn't one.
1846 HTMLObjectElement.height API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, height
height 特性为 HTMLObjectElement interface Returns a DOMString that reflects the height HTML attribute, specifying the displayed height of the resource in CSS pixels.
1847 HTMLObjectElement.name API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, name
名称 特性为 HTMLObjectElement interface returns a DOMString that reflects the 名称 HTML attribute, specifying the name of the browsing context.
1848 HTMLObjectElement.setCustomValidity API, HTML DOM, HTMLObjectElement, Method, NeedsExample, Reference, setCustomValidity()
setCustomValidity() 方法在 HTMLObjectElement interface sets a custom validity message for the element.
1849 HTMLObjectElement.type API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, Type
type 特性为 HTMLObjectElement interface returns a DOMString that reflects the type HTML attribute, specifying the MIME type of the resource.
1850 HTMLObjectElement.typeMustMatch API, HTML DOM, HTMLObjectElement, Property, Reference, typesMustMatch
HTMLObjectElement.typeMustMatch 特性为 布尔 that reflects the typemustmatch 属性在 <object> element. It indicates if the resource linked by it must match the MIME type given by HTMLObjectElement.type in order for this resource to be used.
1851 HTMLObjectElement.useMap API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, useMap
useMap 特性为 HTMLObjectElement interface returns a DOMString that reflects the usemap HTML attribute, specifying a <map> element to use.
1852 HTMLObjectElement.validationMessage API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validationMessage
validationMessage 只读特性在 HTMLObjectElement interface returns a DOMString representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
1853 HTMLObjectElement.validity API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, validity
validity 只读特性在 HTMLObjectElement interface returns a ValidityState with the validity states that this element is in.
1854 HTMLObjectElement.width API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, width
width 特性为 HTMLObjectElement interface returns a DOMString that reflects the width HTML attribute, specifying the displayed width of the resource in CSS pixels.
1855 HTMLObjectElement.willValidate API, HTML DOM, HTMLObjectElement, NeedsExample, Property, Reference, willValidate
willValidate 只读特性在 HTMLObjectElement interface returns a 布尔 that indicates whether the element is a candidate for constraint validation. Always false for HTMLObjectElement objects.
1856 HTMLOptGroupElement API, Forms, HTML DOM, Interface, NeedsBrowserCompatibility, Reference
HTMLOptGroupElement interface provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> 元素。
1857 HTMLOptionElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLOptionElement interface represents <option> elements and inherits all classes and methods of the HTMLElement 接口。
1858 Option() API, Constructor, HTML DOM, HTMLOptionElement, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsSpecTable
Option() 构造函数创建新 HTMLOptionElement .
1859 HTMLOptionsCollection API, HTML DOM, Interface, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Reference
This interface inherits the methods of its parent, HTMLCollection .
1860 HTMLOrForeignElement API, HTML, HTMLElement, HTMLOrForeignElement, Interface, MathML, MathMLElement, Mixin, Reference, SVG, SVGElement
HTMLOrForeignElement mixin describes several features common to the HTMLElement , SVGElement and MathMLElement 接口。
1861 HTMLElement.blur() API, HTML DOM, HTMLElement, Method, Reference
HTMLElement.blur() method removes keyboard focus from the current element.
1862 HTMLElement.dataset API, HTML DOM, HTMLElement, HTMLOrForeignElement, Property, Read-only, Reference, dataset
dataset property on the HTMLOrForeignElement interface provides read/write access to all the 自定义数据属性 ( data-* ) set on the element.
1863 HTMLElement.focus() API, Focus, HTML DOM, HTMLElement, Method, Reference, Scroll, View, activate
HTMLElement.focus() method sets focus on the specified element, if it can be focused. The focused element is the element which will receive keyboard and similar events by default.
1864 HTMLElement.nonce API, Content Security Policy, Experimental, HTML DOM, HTMLElement, Property, Reference, nonce
nonce 特性为 HTMLElement interface returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.
1865 HTMLElement.tabIndex API, HTML DOM, HTMLElement, Property, Reference
tabIndex 特性为 HTMLElement interface represents the tab order of the current element.
1866 HTMLOutputElement API, HTML DOM, Interface, Reference
HTMLOutputElement interface provides properties and methods (beyond those inherited from HTMLElement ) for manipulating the layout and presentation of <output> 元素。
1867 HTMLOutputElement.labels API, DOM, Property, Reference
HTMLOutputElement.labels 只读特性返回 NodeList <label> elements associated with the <output> 元素。
1868 HTMLParagraphElement API, HTML DOM, Interface, Reference
HTMLParagraphElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> 元素。
1869 HTMLParamElement API, HTML DOM, Interface, Reference
HTMLParamElement interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> 元素。
1870 HTMLPictureElement API, Experimental, HTML DOM, Interface, Reference
HTMLPictureElement 接口表示 <picture> HTML element. It doesn't implement specific properties or methods.
1871 HTMLPreElement API, HTML DOM, Interface, Reference
HTMLPreElement interface exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text ( <pre> ).
1872 HTMLProgressElement API, HTML DOM, Interface, Reference
HTMLProgressElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> 元素。
1873 HTMLProgressElement.labels API, DOM, Property, Reference
HTMLProgressElement.labels 只读特性返回 NodeList <label> elements associated with the <progress> 元素。
1874 HTMLQuoteElement API, HTML DOM, Interface, Reference
HTMLQuoteElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q> , but not the <cite> 元素。
1875 HTMLScriptElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface).
1876 HTMLScriptElement.referrerPolicy API, HTMLScriptElement, Property, Reference, referrerPolicy
referrerPolicy 特性为 HTMLScriptElement interface reflects the HTML referrerpolicy <script> element and fetches made by that script, defining which referrer is sent when fetching the resource.
1877 HTMLSelectElement API, HTML DOM, Interface, Reference
HTMLSelectElement 接口表示 <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement 接口。
1878 HTMLSelectElement.add() API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.add() method adds an element to the collection of option elements for this select 元素。
1879 HTMLSelectElement.autofocus API, HTML forms, HTMLSelectElement, Property, Reference
HTMLSelectElement.autofocus 特性为 布尔 that reflects the autofocus HTML attribute, which indicates whether the associated <select> element  will get input focus when the page loads, unless the user overrides it.
1880 HTMLSelectElement.checkValidity() API, Constraint Validation API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.checkValidity() method checks whether the element has any constraints and whether it satisfies them. If the element fails its constraints, the browser fires a cancelable 无效 event at the element, and then returns false .
1881 HTMLSelectElement.disabled API, HTML DOM, HTMLSelectElement, Property
HTMLSelectElement.disabled 布尔 that reflects the 被禁用 HTML attribute, which indicates whether the control is disabled. If it is disabled, it does not accept clicks. A disabled element is unusable and un-clickable.
1882 HTMLSelectElement.form API, HTMLSelectElement, Property, Read-only, Reference
HTMLSelectElement.form 只读特性返回 HTMLFormElement representing the form that this element is associated with. If the element is not associated with of a <form> element, then it returns null .
1883 HTMLSelectElement.item() API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.item() 方法返回 元素 corresponding to the HTMLOptionElement whose position in the options list corresponds to the index given in the parameter, or null if there are none.
1884 HTMLSelectElement.labels API, DOM, Property, Reference
HTMLSelectElement.labels 只读特性返回 NodeList <label> elements associated with the <select> 元素。
1885 HTMLSelectElement.namedItem() API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.namedItem() 方法返回 HTMLOptionElement corresponding to the HTMLOptionElement whose 名称 or id match the specified name, or null if no option matches.
1886 HTMLSelectElement.options API, HTMLSelectElement, Options, Property, Read-only, Web
HTMLSelectElement.options 只读特性返回 HTMLOptionsCollection <option> elements contained by the <select> 元素。
1887 HTMLSelectElement.remove() API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.remove() method removes the element at the specified index from the options collection for this select element.
1888 HTMLSelectElement.selectedIndex
placeholder
1889 HTMLSelectElement.selectedIndex API, HTML DOM, HTML forms, HTMLSelectElement, Property, Reference
HTMLSelectElement.selectedIndex long that reflects the index of the first or last selected <option> element, depending on the value of multiple 。值 -1 indicates that no element is selected.
1890 HTMLSelectElement.selectedOptions API, HTML DOM, HTMLSelectElement, Options, Property, Read-only, Reference, Select, Web, selectedOptions
只读 HTMLSelectElement property selectedOptions contains a list of the <option> elements contained within the <select> element that are currently selected. The list of selected options is an HTMLCollection object with one entry per currently selected option.
1891 HTMLSelectElement.setCustomValidity() API, Constrain Validation API, HTML DOM, HTMLSelectElement, Method, Reference
HTMLSelectElement.setCustomValidity() method sets the custom validity message for the selection element to the specified message. Use the empty string to indicate that the element does not have a custom validity error.
1892 HTMLSelectElement.type API, HTML DOM, HTMLSelectElement, Property, Read-only, Reference
HTMLSelectElement.type read-only property returns the form control's type .
1893 HTMLShadowElement API, HTML DOM, Interface, Obsolete, Reference
HTMLShadowElement 接口表示 <shadow> HTML Element, which is used in Shadow DOM .
1894 HTMLShadowElement.getDistributedNodes() API, HTML DOM, Property, Reference, Web Components
HTMLShadowElement.getDistributedNodes() method returns a static NodeList distributed nodes associated with this <shadow> 元素。
1895 HTMLSlotElement API, HTMLSlotElement, Interface, Reference, shadow dom
Fired on an HTMLSlotElement instance ( <slot> element) when the node(s) contained in that slot change.
1896 HTMLSlotElement.assignedElements() API, HTMLSlotElement, Method, Reference, Web Components, assignedElements, shadow dom
assignedElements() 特性为 HTMLSlotElement interface returns a sequence of the elements assigned to this slot (and no other nodes). If the flatten option is set to true , it also returns the assigned elements of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content.
1897 HTMLSlotElement.assignedNodes() API, HTMLSlotElement, Method, Reference, assignedNodes, shadow dom
assignedNodes() 特性为 HTMLSlotElement interface returns a sequence of the nodes assigned to this slot, and if the flatten option is set to true , the assigned nodes of any other slots that are descendants of this slot. If no assigned nodes are found, it returns the slot's fallback content.
1898 HTMLSlotElement.name API, HTMLSlotElement, Property, Reference, name, shadow dom
名称 特性为 HTMLSlotElement interface returns or sets the slot name. A slot is a placeholder inside a web component that users can fill with their own markup.
1899 HTMLSlotElement: slotchange event Event, Reference, Web Components, events, shadow dom, slotchange
slotchange event is fired on an HTMLSlotElement instance ( <slot> element) when the node(s) contained in that slot change.
1900 HTMLSourceElement API, HTML DOM, Interface, Reference
HTMLSourceElement interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> 元素。
1901 HTMLSpanElement API, HTML DOM, Interface, Reference
HTMLSpanElement 接口表示 <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
1902 HTMLStyleElement API, HTML DOM, HTMLStyleElement, Interface, Reference
HTMLStyleElement 接口表示 <style> element. It inherits properties and methods from its parent, HTMLElement , and from LinkStyle .
1903 HTMLStyleElement.media API, HTML DOM, HTMLStyleElement, NeedsMarkupWork, Property, Reference
HTMLStyleElement.media property specifies the intended destination medium for style information.
1904 HTMLStyleElement.scoped API, HTML DOM, HTMLStyleElement, Non-standard, Obsolete, Property, Reference, scoped
HTMLStyleElement.scoped 特性为 布尔 value indicating if the element applies to the whole document ( false ) or only to the parent's sub-tree ( true ).
1905 HTMLStyleElement.type API, HTML DOM, HTMLStyleElement, NeedsMarkupWork, NeedsSpecTable, Property, Read-only
HTMLStyleElement.type read-only property returns the type of the current style.
1906 HTMLTableCaptionElement API, HTML DOM, Interface, Reference
HTMLTableCaptionElement interface special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
1907 HTMLTableCellElement API, Cells, HTML DOM, HTMLTableCellElement, Interface, Reference, Table Cells, Tables
HTMLTableCellElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
1908 HTMLTableColElement API, HTML DOM, Interface, NeedsNewLayout, Reference
HTMLTableColElement interface provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
1909 HTMLTableDataCellElement API, HTML DOM, Interface, Reference
继承的特性来自其父级, HTMLTableCellElement ,和 HTMLElement .
1910 HTMLTableElement API, HTML DOM, Interface, Reference
HTMLTableElement interface provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
1911 HTMLTableElement.align API, Deprecated, HTML DOM, HTMLTableElement, NeedsMarkupWork, NeedsSpecTable, Property, Reference
HTMLTableElement.align property represents the alignment of the table.
1912 HTMLTableElement.bgColor API, Deprecated, HTML DOM, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsSpecTable, Property, Reference
HTMLTableElement.bgcolor property represents the background color of the table.
1913 HTMLTableElement.border API, Deprecated, HTML DOM, NeedsSpecTable, Property, Reference
HTMLTableElement.border property represents the border width of the <table> 元素。
1914 HTMLTableElement.caption API, HTML DOM, Property, Reference
HTMLTableElement.caption property represents the table caption. If no caption element is associated with the table, this property is null .
1915 HTMLTableElement.cellPadding API, HTML DOM, NeedsSpecTable, Property, Reference
HTMLTableElement.cellPadding property represents the padding around the individual cells of the table.
1916 HTMLTableElement.cellSpacing API, HTML DOM, HTMLTableElement, NeedsSpecTable, Obsolete, Property, Reference, cellSpacing
While you should instead use the CSS border-spacing property, the obsolete HTMLTableElement 接口的 cellSpacing property represents the spacing around the individual <th> and <td> elements representing a table's cells.
1917 HTMLTableElement.createCaption() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.createCaption() 方法返回 <caption> element associated with a given <table> . If no <caption> element exists on the table, this method creates it, and then returns it.
1918 HTMLTableElement.createTFoot() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.createTFoot() 方法返回 <tfoot> element associated with a given <table> . If no footer exists in the table, this methods creates it, and then returns it.
1919 HTMLTableElement.createTHead() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.createTHead() 方法返回 <thead> element associated with a given <table> . If no header exists in the table, this method creates it, and then returns it.
1920 HTMLTableElement.deleteCaption() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.deleteCaption() method removes the <caption> element from a given <table> . If there is no <caption> element associated with the table, this method does nothing.
1921 HTMLTableElement.deleteRow() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.deleteRow() method removes a specific row ( <tr> ) from a given <table> .
1922 HTMLTableElement.deleteTFoot() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.deleteTFoot() method removes the <tfoot> element from a given <table> .
1923 HTMLTableElement.deleteTHead() API, HTML DOM, HTMLTableElement, Method, NeedsSpecTable, Reference
HTMLTableElement.deleteTHead() removes the <thead> element from a given <table> .
1924 HTMLTableElement.frame API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference, Tables
HTMLTableElement 接口的 frame property is a string that indicates which of the table's exterior borders should be drawn.
1925 HTMLTableElement.insertRow() API, HTML DOM, HTMLTableElement, Method, NeedsMobileBrowserCompatibility, Reference
HTMLTableElement.insertRow() method inserts a new row ( <tr> ) in a given <table> , and returns a reference to the new row.
1926 HTMLTableElement.rows API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Read-only, Reference, Table Rows, rows
只读 HTMLTableElement property rows returns a live HTMLCollection of all the rows in the table, including the rows contained within any <thead> , <tfoot> ,和 <tbody> 元素。
1927 HTMLTableElement.rules API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
HTMLTableElement.rules property indicates which cell borders to render in the table.
1928 HTMLTableElement.summary API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
HTMLTableElement.summary property represents the table description.
1929 HTMLTableElement.tBodies API, HTML DOM, HTMLTableElement, Property, Read-only, Reference
HTMLTableElement.tBodies read-only property returns a live HTMLCollection of the bodies in a <table> .
1930 HTMLTableElement.tFoot API, HTML DOM, HTMLTableElement, Property, Reference
HTMLTableElement.tFoot 特性表示 <tfoot> element of a <table> . Its value will be null if there is no such element.
1931 HTMLTableElement.tHead API, HTML DOM, HTMLTableElement, Property, Reference
HTMLTableElement.tHead 表示 <thead> element of a <table> . Its value will be null if there is no such element.
1932 HTMLTableElement.width API, HTML DOM, HTMLTableElement, NeedsBrowserCompatibility, NeedsSpecTable, Property, Reference
HTMLTableElement.width property represents the desired width of the table.
1933 HTMLTableHeaderCellElement API, HTML DOM, Interface, Reference
HTMLTableHeaderCellElement interface provides special properties and methods (beyond the regular HTMLTableCellElement and HTMLElement interfaces it also has available to it by inheritance) for manipulating the layout and presentation of table header cells in an HTML document.
1934 HTMLTableRowElement API, HTML DOM, Interface, Reference
HTMLTableRowElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.
1935 HTMLTableRowElement.insertCell() API, HTML DOM, HTMLTableRowElement, Method, Reference
HTMLTableRowElement.insertCell() method inserts a new cell ( <td> ) into a table row ( <tr> ) and returns a reference to the cell.
1936 HTMLTableRowElement.rowIndex API, HTML DOM, NeedsSpecTable, Property, Reference
HTMLTableRowElement.rowIndex read-only property represents the position of a row in relation to the whole <table> .
1937 HTMLTableSectionElement API, HTML DOM, Interface, Reference
HTMLTableSectionElement interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.
1938 HTMLTemplateElement API, HTML DOM, HTMLTemplateElement, Interface, Reference, Web Components
HTMLTemplateElement interface enables access to the contents of an HTML <template> 元素。
1939 HTMLTemplateElement.content API, HTML DOM, HTMLTemplateElement, Property, Reference, Web Components
HTMLTemplateElement.content 特性返回 <template> element's template contents (a DocumentFragment ).
1940 HTMLTextAreaElement API, HTML DOM, HTMLTextAreaElement, Interface, Reference
HTMLTextAreaElement interface provides special properties and methods for manipulating the layout and presentation of <textarea> 元素。
1941 HTMLTextAreaElement.labels API, DOM, Property, Reference
HTMLTextAreaElement.labels 只读特性返回 NodeList <label> elements associated with the <textarea> 元素。
1942 HTMLTimeElement API, HTML DOM, Interface, Reference
HTMLTimeElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> 元素。
1943 HTMLTimeElement.dateTime API, HTML DOM, HTMLTimeElement, Property, Reference
HTMLTimeElement .dateTime 特性为 DOMString that reflects the datetime HTML attribute, containing a machine-readable form of the element's date and time value.
1944 HTMLTitleElement API, HTML DOM, Interface, Reference
HTMLTitleElement interface contains the title for a document. This element inherits all of the properties and methods of the HTMLElement 接口。
1945 HTMLTrackElement API, HTML DOM, HTMLTrackElement, Interface, NeedsNewLayout, Reference
HTMLTrackElement interface represents an HTML <track> element within the DOM . This element can be used as a child of either <audio> or <video> to specify a text track containing information such as closed captions or subtitles.
1946 HTMLTrackElement.src HTML, HTML DOM, HTMLTrackElement, Property, Reference, Web, WebVTT, src
HTMLTrackElement.src property reflects the value of the <track> 元素的 src attribute, which indicates the URL of the text track's data.
1947 HTMLTrackElement: cuechange event API, Accessibility, Audio, Chapters, Descriptions, HTMLTextTrack, Media, Reference, Text, TextTrack, Video, WebVTT, a11y, captions, cuechange, events, oncuechange, track, vtt
cuechange event fires when a TextTrack has changed the currently displaying cues.
1948 HTMLUListElement API, HTML DOM, Interface, Reference
HTMLUListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements.
1949 HTMLUnknownElement API, HTML DOM, Interface, Reference
HTMLUnknownElement interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
1950 HTMLVideoElement API, DOM, HTML DOM, HTMLVideoElement, Interface, Reference, Video
HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement .
1951 HTMLVideoElement.getVideoPlaybackQuality() API, Experimental, Frames, HTML DOM, HTMLVideoElement, Media, Media Playback Quality, Media Playback Quality API, Method, Playback, Quality, Reference, Time, Video, getVideoPlaybackQuality
HTMLVideoElement 方法 getVideoPlaybackQuality() creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost.
1952 HTMLVideoElement.msFrameStep() API, API:Microsoft Extensions, Method, Non-standard, Reference, msFrameStep
HTMLVideoElement.msFrameStep() method steps the video by one frame forward or one frame backward.
1953 HTMLVideoElement.msHorizontalMirror API, API:Microsoft Extensions, Non-standard, Property, Reference, msHorizontalMirror
msHorizontalMirror is a read/write property which gets or sets whether a 视频 element is flipped horizontally in the display.
1954 HTMLVideoElement.msInsertVideoEffect() API, API:Microsoft Extensions, Method, Non-standard, Reference, msInsertVideoEffect
HTMLMediaElement.msInsertVideoEffect() method inserts the specified video effect into the media pipeline.
1955 HTMLVideoElement.msIsLayoutOptimalForPlayback API, API:Microsoft Extensions, Non-standard, Property, Reference, msIsLayoutOptimalForPlayback, onMSVideoOptimalLayoutChanged
msIsLayoutOptimalForPlayback is a read-only property which indicates whether the video can be rendered more efficiently.
1956 HTMLVideoElement.msIsStereo3D API, API:Microsoft Extensions, Non-standard, Property, Reference, msIsStereo3D
msIsStereo3D is a read-only property which determines whether the system considers the loaded video source to be stereo 3-D or not.
1957 HTMLVideoElement.msZoom API, API:Microsoft Extensions, Non-standard, Property, Reference, msZoom
msZoom is a read/write property which gets or sets whether the video frame is trimmed, on the top and bottom or left and right, to fit the video display.
1958 HTMLVideoElement.videoHeight API, HTML, HTML DOM, HTMLVideoElement, Intrinsic Height, Media, Property, Read-only, Reference, Video, height, size, videoHeight
HTMLVideoElement interface's read-only videoHeight property indicates the intrinsic height of the video, expressed in CSS pixels. In simple terms, this is the height of the media in its natural size.
1959 HTMLVideoElement.videoWidth API, HTML, HTML DOM, HTMLVideoElement, Intrinsic Width, Media, Property, Read-only, Reference, Video, size, videoWidth, width
HTMLVideoElement interface's read-only videoWidth property indicates the intrinsic width of the video, expressed in CSS pixels. In simple terms, this is the width of the media in its natural size.
1960 msSetVideoRectangle msSetVideoRectangle
HTMLVideoElement.msSetVideoRectangle() method sets the dimensions of a sub-rectangle within a video.
1961 msStereo3DPackingMode msStereo3DPackingMode
msStereo3DPackingMode is a read/write property which gets or sets the frame-packing mode for stereo 3-D video content.
1962 msStereo3DRenderMode msStereo3DRenderMode
msStereo3DRenderMode is a read/write property which gets or sets whether the system display is set to stereo display (if stereo-capable).
1963 onMSVideoFormatChanged onMsVideoFormatChanged
onMSVideoFormatChanged is an event which occurs when the video format changes.
1964 onMSVideoFrameStepCompleted onMSVideoFrameStepCompleted
onMSVideoFrameStepCompleted is an event which occurs when the video frame has been stepped forward or backward one frame.
1965 onMSVideoOptimalLayoutChanged onMSVideoOptimalLayoutChanged
onMSVideoOptimalLayoutChanged is an event which occurs when the msIsLayoutOptimalForPlayback 状态改变。
1966 HashChangeEvent API, Event, HTML5, HashChange, Interface, Reference, events
HashChangeEvent interface represents events that fire when the fragment identifier of the URL has changed.
1967 HashChangeEvent.newURL API, HashChangeEvent, Property, Reference, Web API
newURL 只读特性在 HashChangeEvent interface returns the new URL to which the window is navigating.
1968 HashChangeEvent.oldURL NeedsDeletion
This article is obsolete and should be deleted.
1969 HashChangeEvent.oldURL API, HashChangeEvent, Property, Reference, Web API
oldURL 只读特性在 HashChangeEvent interface returns the previous URL from which the window was navigated.
1970 API, Experimental, Fetch, Fetch API, Headers, Interface, Reference
接口在 抓取 API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (见 范例 )。 In all methods of this interface, header names are matched by case-insensitive byte sequence.
1971 Headers() API, Constructor, Experimental, Fetch, Reference
Headers() 构造函数创建新 对象。
1972 Headers.append() API, Append, Experimental, Fetch, Method, Reference
append() 方法在 interface appends a new value onto an existing header inside a object, or adds the header if it does not already exist.
1973 Headers.delete() API, Experimental, Fetch, Method, Reference, delete
delete() 方法在 interface deletes a header from the current 对象。
1974 Headers.entries() API, Experimental, Fetch API, Headers, Method, Reference
Headers.entries() method returns an iterator allowing to go through all key/value pairs contained in this object. The both the key and value of each pairs are ByteString 对象。
1975 Headers.get() API, Experimental, Fetch, Headers, Method, Reference, get
get() 方法在 interface returns a byte string of all the values of a header within a object with a given name. If the requested header doesn't exist in the object, it returns null .
1976 Headers.getAll() API, Experimental, Fetch, Headers, Method, Obsolete, Reference, getAll
getAll() 方法在 interface used to return an array of all the values of a header within a object with a given name; in newer versions of the Fetch spec, it has been deleted, and Headers.get() has been updated to fetch all header values instead of only the first one.
1977 Headers.has() API, Experimental, Fetch, Method, Reference, has
has() 方法在 interface returns a boolean stating whether a object contains a certain header.
1978 Headers.keys() API, Experimental, Fetch API, Headers, Method, Reference
Headers.keys() method returns an iterator allowing to go through all keys contained in this object. The keys are ByteString 对象。
1979 Headers.set() API, Experimental, Fetch, Method, Reference, set
set() 方法在 interface sets a new value for an existing header inside a object, or adds the header if it does not already exist.
1980 Headers.values() API, Experimental, Fetch API, Headers, Method, Reference
Headers.values() method returns an iterator allowing to go through all values contained in this object. The values are ByteString 对象。
1981 历史 API, HTML-DOM, History API
历史 interface allows manipulation of the browser 会话历史 , that is the pages visited in the tab or frame that the current page is loaded in.
1982 History.length API, HTML, History API, Property, Read-only, Reference
History.length read-only property returns an 整数 representing the number of elements in the session history, including the currently loaded page. For example, for a page loaded in a new tab this property returns 1 .
1983 History.pushState() API, HTML DOM, Method, Reference, Web
In an HTML document, the history.pushState() method adds a state to the browsers history.
1984 back() API, Advanced, DOM, HTML5, History, History API, Method, Reference, Web
back method moves back one page in the session history. If there is no previous page, this method call does nothing.
1985 forward() API, Advanced, DOM, HTML5, History, History API, Method, Reference
Moves forward one page in the session history. It has the same effect as calling history.go() with a delta parameter of 1.
1986 go() API, HTML, History API, Method, Reference
The go() method loads a specific page from the session history. You can use it to move forwards and backwards through the history depending on the value of the delta 参数。
1987 replaceState() API, HTML, History API, Method, Reference
replaceState() method modifies the current history entry, replacing it with the state objects , title ,和 URL passed in the method parameters. This method is particularly useful when you want to update the state object or URL of the current history entry in response to some user action.
1988 scrollRestoration API, History API, Property, Reference
Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property is a string and valid values are either 'auto' or ' manual '.
1989 state API, HTML, History API, Property, Reference
返回 any value representing the state at the top of the history stack. This is a way to look at the state without having to wait for a popstate 事件。
1990 历史 API Advanced, DOM, HTML5, History
DOM Window 对象提供对浏览器会话历史的访问 (不要混淆 WebExtensions 历史 ) 透过 history object. It exposes useful methods and properties that let you move back and forth through the user's history, as well as -- starting with HTML5 -- manipulate the contents of the history stack.
1991 Ajax 导航范例
This is an example of an AJAX website composed only of three pages ( first_page.php , second_page.php and third_page.php ). To see how it works, please create the following files (or git clone https://github.com/giabao/mdn-ajax-nav-example.git ):
1992 处理历史的 API Advanced, DOM, History API, History API Tutorial
HTML5 introduced the pushState() and replaceState() methods for add and modifying history entries, respectively. These methods work in conjunction with the onpopstate 事件。
1993 HkdfParams API, Dictionary, HkdfParams, Reference, Web Crypto API
See the examples for SubtleCrypto.deriveKey() .
1994 HmacImportParams API, Dictionary, HmacImportParams, Reference, Web Crypto API
HmacImportParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey() , when generating a key for the HMAC 算法。
1995 HmacKeyGenParams API, Dictionary, HmacKeyGenParams, Reference, Web Crypto API
HmacKeyGenParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey() , when generating a key for the HMAC 算法。
1996 IDBCursor API, IDBCursor, IndexedDB, Interface, Reference, Storage
IDBCursor 接口在 IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
1997 IDBCursor.advance() API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, advance
advance() 方法在 IDBCursor interface sets the num ber of times a cursor should move its position forward.
1998 IDBCursor.continue() API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, continue
continue() 方法在 IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter. If no key is specified, the cursor advances to the immediate next position, based on its direction.
1999 IDBCursor.continuePrimaryKey() API, IDBCursor, IndexedDB, Method, Reference, Storage, Web
continuePrimaryKey() 方法在 IDBCursor interface advances the cursor to the to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
2000 IDBCursor.delete() API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, delete
delete() 方法在 IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position. Once the record is deleted, the cursor's value is set to null.
2001 IDBCursor.direction API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, direction
A string (defined by the IDBCursorDirection enum ) indicating the direction in which the cursor is traversing the data. Possible values are:
2002 IDBCursor.key API, Database, IDBCursor, IndexedDB, Key, Property, Reference, Storage
A value of any type.
2003 IDBCursor.primaryKey API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, primaryKey
A value of any data type.
2004 IDBCursor.source API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, source
IDBObjectStore or IDBIndex that the cursor is iterating over.
2005 IDBCursor.update() API, Database, IDBCursor, IndexedDB, Method, Reference, Storage, Update
update() 方法在 IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created.
2006 request API, Database, IDBCursor, IndexedDB, Property, Reference, Storage, request
request 只读特性在 IDBCursor interface returns the request if the cursor.
2007 IDBCursorSync API, Experimental, Expérimental(2), Interface, NeedsMarkupWork, Obsolete, Reference, Référence(2)
IDBCursorSync 接口在 IndexedDB API represents a cursor for iterating over multiple records in a database. You can have only one instance of IDBCursorSync representing a cursor, but you can have an unlimited number of cursors at the same time. Operations are performed on the underlying index or object store. It enables an application to synchronously process all the records in the cursor's range.
2008 IDBCursorWithValue API, DOM Reference, Database, IDBCursorWithValue, IndexedDB, Interface, Reference, Référence(2), Storage
IDBCursorWithValue 接口在 IndexedDB API represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor , except that it includes the value 特性。
2009 IDBCursorWithValue.value API, Database, IDBCursorWithValue, IndexedDB, Property, Reference, Référence(2), Storage, value
The value of the current cursor.
2010 IDBDatabase API, Database, IDBDatabase, IndexedDB, Interface, Reference, Storage, accessing data, asynchronous access, transactions
IDBDatabase 接口在 IndexedDB API 提供 连接到数据库 ; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
2011 IDBDatabase.close() API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The connection is not actually closed until all transactions created using this connection are complete. No new transactions can be created for this connection once this method is called. Methods that create transactions throw an exception if a closing operation is pending.
2012 IDBDatabase.createObjectStore() API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
The method takes the name of the store as well as a parameter object that lets you define important optional properties. You can use the property to uniquely identify individual objects in the store. As the property is an identifier, it should be unique to every object, and every object should have that property.
2013 IDBDatabase.deleteObjectStore() API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
就像 IDBDatabase.createObjectStore , this method can be called only versionchange transaction.
2014 IDBDatabase.name API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, name
A DOMString containing the name of the connected database.
2015 IDBDatabase.objectStoreNames API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, objectStoreNames
A DOMStringList containing a list of the names of the 对象存储 currently in the connected database.
2016 IDBDatabase.onabort API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onabort
onabort event handler of the IDBDatabase interface handles the abort event, fired when a transaction is aborted and bubbles up to the connection object.
2017 IDBDatabase.onclose API, Event Handler, IDBDatabase, IndexedDB, Property, Reference, onclose
A function which is called when the close event is fired.
2018 IDBDatabase.onerror API, Database, IDBDatabase, IndexedDB, Property, Reference, Référence(2), Storage, onerror
onerror event handler of the IDBDatabase interface handles the error event, fired when a request returns an error and bubbles up to the connection object.
2019 IDBDatabase.onversionchange API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, onversionchange
This example shows an IDBOpenDBRequest.onupgradeneeded block that creates a new object store; it also includes onerror and onabort functions to handle non-success cases, and an onversionchange function to notify when a database structure change has occurred.
2020 IDBDatabase.transaction() API, Database, IDBDatabase, IndexedDB, Method, Reference, Storage
An IDBTransaction 对象。
2021 IDBDatabase.version API, Database, IDBDatabase, IndexedDB, Property, Reference, Storage, version
An integer containing the version of the connected database.
2022 IDBDatabase: abort event
abort event is fired on IDBDatabase when a transaction is aborted and bubbles up to the connection object.
2023 IDBDatabase: close event
close event is fired on IDBDatabase when the database connection is unexpectedly closed. This could happen, for example, if the underlying storage is removed or if the user clears the database in the browser's history preferences.
2024 IDBDatabase: error event
error event is fired on IDBDatabase when a request returns an error and the event bubbles up to the connection object.
2025 IDBDatabase: versionchange event Event, IDBDatabase, Reference, versionchange
versionchange event is fired when a database structure change ( IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase ) was requested.
2026 IDBDatabaseException API, Obsolete, Reference
IndexedDB API IDBDatabaseException object represents exception conditions that can be encountered while performing database operations.
2027 IDBDatabaseSync API, Experimental, Expérimental(2), Interface, Obsolete, Reference, Référence(2)
DatabaseSync interface in the IndexedDB API represents a synchronous 连接到数据库 .
2028 IDBEnvironment API, DOM, Database, IDBEnvironment, IndexedDB, Interface, Obsolete, Reference, Référence(2), Storage, access, asynchronous, client-side
IDBEnvironment helper of the IndexedDB API 包含 indexedDB property, which provides access to IndexedDB functionality. It is the top level IndexedDB interface implemented by the window and Worker 对象。
2029 IDBEnvironmentSync API, Experimental, Expérimental(2), Interface, Obsolete, Reference, Référence(2)
Unimplemented IDBEnvironmentSync 接口在 IndexedDB API will be implemented by worker 对象。
2030 IDBFactory API, HTTP, IndexedDB, Interface, Offline, Reference, Storage
In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our 待办通知 app ( 实时查看范例 )。
2031 IDBFactory.cmp() API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, cmp
An integer that indicates the result of the comparison; the table below lists the possible values and their meanings:
2032 IDBFactory.deleteDatabase() API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, deleteDatabase
deleteDatabase() 方法在 IDBFactory interface requests the deletion of a database. The method returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously.
2033 IDBFactory.open() API, Database, IDBFactory, IndexedDB, Method, Reference, Storage, open
If an error occurs while the database connection is being opened, then an error event is fired on the request object returned from this method.
2034 databases API, Database, IDBFactory, Method, Reference, Storage, databases
databases 方法在 IDBFactory interface returns a list represening all the available databases, including their names and versions.
2035 IDBFactorySync API, Experimental, Expérimental(2), Interface, Obsolete, Reference, Référence(2)
IDBFactorySync 接口在 IndexedDB API provide a synchronous means of accessing the capabilities of indexed databases.
2036 IDBIndex API, Database, IDBIndex, IndexedDB, Interface, Reference, Storage
IDBIndex 接口在 IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
2037 IDBIndex.count() API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, count
A IDBRequest object on which subsequent events related to this operation are fired.
2038 IDBIndex.get() API, Database, IDBIndex, IndexedDB, Method, Reference, Storage
If a value is found, then a structured clone of it is created and set as the result of the request object: this returns the record the key is associated with.
2039 IDBIndex.getAll() API, IDBIndex, IndexedDB, Method, Reference, Storage
There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily. To use a feature like getAll() , the browser has to create all the objects at once. If you are just interested in looking at each of the keys, for instance, it is more efficient to use a cursor . If you are trying to get an array of all the objects in an object store, though, you should use getAll() .
2040 IDBIndex.getAllKeys() API, IDBIndex, IndexedDB, Method, Reference
An IDBRequest object on which subsequent events related to this operation are fired.
2041 IDBIndex.getKey() API, Database, IDBIndex, IndexedDB, Method, Reference, Storage
If a key is found it is set as the result of the request object: this returns the primary key of the record the key is associated with, not the whole record as IDBIndex.get does.
2042 IDBIndex.isAutoLocale API, Database, Experimental, IDBIndex, IndexedDB, Property, Reference, Storage, isAutoLocale
isAutoLocale 只读特性在 IDBIndex interface returns a 布尔 indicating whether the index had a locale value of auto specified upon its creation (see createIndex() 's optionalParameters )。
2043 IDBIndex.keyPath API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, keyPath
Any data type that can be used as a key path.
2044 IDBIndex.locale API, Database, Experimental, IDBIndex, IndexedDB, Locale, Property, Reference, Storage
locale 只读特性在 IDBIndex interface returns the locale of the index (for example en-US ,或 pl ) if it had a locale value specified upon its creation (see createIndex() 's optionalParameters .) Note that this property always returns the current locale being used in this index, in other words, it never returns "auto" .
2045 IDBIndex.multiEntry API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, multiEntry
A 布尔 :
2046 IDBIndex.name API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, name
A DOMString specifying a name for the index.
2047 IDBIndex.objectStore API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, objectStore
An IDBObjectStore .
2048 IDBIndex.openCursor() API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openCursor
The method sets the position of the cursor to the appropriate record, based on the specified direction.
2049 IDBIndex.openKeyCursor() API, Database, IDBIndex, IndexedDB, Method, Reference, Storage, openKeyCursor
The method sets the position of the cursor to the appropriate key, based on the specified direction.
2050 IDBIndex.unique API, Database, IDBIndex, IndexedDB, Property, Reference, Storage, unique
A 布尔 :
2051 IDBIndexSync API, Experimental, Expérimental(2), Interface, Obsolete, Reference, Référence(2)
IDBIndexSync 接口在 IndexedDB API provides synchronous access to an index in a database.
2052 IDBKeyRange API, Database, IDBKeyRange, IndexedDB, Interface, Reference, Storage
A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded ; if it has no bounds, it is unbounded . A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:
2053 IDBKeyRange.bound() API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, bound
IDBKeyRange : The newly created key range.
2054 IDBKeyRange.includes() API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, includes
key The key you want to check for in your key range. This can be any type.
2055 IDBKeyRange.lower API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lower
The lower bound of the key range (can be any type.)
2056 IDBKeyRange.lowerBound() API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, lowerBound
IDBKeyRange : The newly created key range.
2057 IDBKeyRange.lowerOpen API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, lowerOpen
A boolean :
2058 IDBKeyRange.only() API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, only
value is the value for the new key range.
2059 IDBKeyRange.upper API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upper
The upper bound of the key range (can be any type.)
2060 IDBKeyRange.upperBound() API, Database, IDBKeyRange, IndexedDB, Method, Reference, Storage, upperBound
IDBKeyRange : The newly created key range.
2061 IDBKeyRange.upperOpen API, Database, IDBKeyRange, IndexedDB, Property, Reference, Storage, upperOpen
A boolean :
2062 IDBLocaleAwareKeyRange API, Database, Experimental, IDBKeyRange, IndexedDB, Interface, Reference, Storage
IDBLocaleAwareKeyRange 接口在 IndexedDB API is a Firefox-specific version of IDBKeyRange — it functions in exactly the same fashion, and has the same properties and methods, but it is intended for use with IDBIndex objects when the original index had a locale value specified upon its creation (see createIndex() 's optionalParameters ) — that is, it has locale aware sorting 被启用。
2063 IDBMutableFile API, DOM, Files, Reference, Référence(2)
IDBMutableFile interface provides access in read or write mode to a file, dealing with all the necessary locks.
2064 FileHandle.getFile() API, Files, Method, Reference, Référence(2)
getFile method allows to retrieve a read-only snapshot of the handled file in the form of a File 对象。
2065 FileHandle.name API, Files, Property, Reference, Référence(2)
Provides the name of the file.
2066 FileHandle.onabort API, Files, Property, Reference, Référence(2)
Specifies an event listener to receive abort events. These events occur when the associated locked file has been aborted with the LockedFile.abort() 方法。
2067 FileHandle.onerror API, Files, Property, Reference, Référence(2)
Specifies an event listener to receive error events. These events occur when something goes wrong.
2068 FileHandle.open() API, Files, Method, Reference, Référence(2)
open 方法返回 LockedFile object that allows to safely write in the file.
2069 FileHandle.type API, Files, Property, Reference, Référence(2)
Provides the mime type of the file.
2070 IDBObjectStore API, IDBObjectStore, IndexedDB, Interface, Reference
This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add . For a full working example, see our 待办通知 app ( 实时查看范例 )。
2071 IDBObjectStore.add() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage
To determine if the add operation has completed successfully, listen for the transaction’s complete event in addition to the IDBObjectStore.add request’s success event, because the transaction may still fail after the success event fires. In other words, the success event is only triggered when the transaction has been successfully queued.
2072 IDBObjectStore.autoIncrement API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, autoIncrement
A 布尔 :
2073 IDBObjectStore.clear() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, clear
Clearing an object store consists of removing all records from the object store and removing all records in indexes that reference the object store. To remove only some of the records in a store, use IDBObjectStore.delete passing a key or IDBKeyRange .
2074 IDBObjectStore.count() API, Database, IDBObjectStore, IndexedDB, Method, Reference, count, data
An IDBRequest object on which subsequent events related to this operation are fired.
2075 IDBObjectStore.createIndex() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, createIndex
Note that this method must be called only from a VersionChange transaction mode callback.
2076 IDBObjectStore.delete() API, IndexedDB, Method, Reference
An IDBRequest object on which subsequent events related to this operation are fired. The request.result attribute is set to undefined.
2077 IDBObjectStore.deleteIndex() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, deleteIndex
Note that this method must be called only from a VersionChange transaction mode callback. Note that this method synchronously modifies the IDBObjectStore.indexNames 特性。
2078 IDBObjectStore.get() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage
If a value is successfully found, then a structured clone of it is created and set as the result of the request object.
2079 IDBObjectStore.getAll() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, getAll
If a value is successfully found, then a structured clone of it is created and set as the result of the request object.
2080 IDBObjectStore.getAllKeys() API, IDBObjectStore, IndexedDB, Method, Reference, Storage
If a value is successfully found, then a structured clone of it is created and set as the result of the request object.
2081 IDBObjectStore.getKey() IBDObjectStore, IndexedDB, Method, Reference, Storage, Web API
If a key is successfully found, then a structured clone of it is created and set as the result of the request object.
2082 IDBObjectStore.index() API, Database, IDBObjectStore, Index, IndexedDB, Method, NeedsExample, Reference, Storage
An IDBIndex object for accessing the index.
2083 IDBObjectStore.indexNames API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, indexNames
A DOMStringList .
2084 IDBObjectStore.keyPath API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, keyPath
If this property is null, the application must provide a key for each modification operation.
2085 IDBObjectStore.name API, Database, IDBObjectStore, IndexedDB, Property, Reference, Storage, name
A DOMString containing the object store's name.
2086 IDBObjectStore.openCursor() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, openCursor
To determine if the add operation has completed successfully, listen for the results’s success 事件。
2087 IDBObjectStore.openKeyCursor() API, Database, IDBObjectStore, Method, Reference, Storage, openKeyCursor
To determine if the add operation has completed successfully, listen for the results’s success 事件。
2088 IDBObjectStore.put() API, Database, IDBObjectStore, IndexedDB, Method, Reference, Storage, put
The put method is an update or insert method. See the IDBObjectStore.add method for an insert only 方法。
2089 IDBObjectStore.transaction API, Database, IDBObjectStorage, IndexedDB, Property, Reference, Storage, transaction
An IDBTransaction 对象。
2090 IDBObjectStoreSync API, Interface, Obsolete, Reference, Référence(2)
IDBObjectStoreSync 接口在 IndexedDB API provides synchronous access to an object store of a database.
2091 IDBOpenDBRequest API, DOM Reference, Database, IDBOpenDBRequest, IndexedDB, Interface, Reference, Storage
Also inherits methods from its parents IDBRequest and EventTarget .
2092 IDBOpenDBRequest.onblocked API, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onblocked
onblocked event handler of the IDBOpenDBRequest interface is the event handler for the blocked event. This event is triggered when the upgradeneeded should be triggered because of a version change but the database is still in use (that is, not closed) somewhere, even after the versionchange event was sent.
2093 IDBOpenDBRequest.onupgradeneeded API, Database, IDBOpenDBRequest, IndexedDB, Property, Reference, Storage, onupgradeneeded
In the following example you can see the onupgradeneeded handler being used to update the database structure if a database with a higher version number is loaded. For a full working example, see our 待办通知 app ( 实时查看范例 )。
2094 IDBOpenDBRequest: blocked event Event, IDBOpenDBRequest, Reference, blocked
blocked handler is executed when an open connection to a database is blocking a versionchange transaction on the same database.
2095 IDBOpenDBRequest: upgradeneeded event Event, IDBOpenDBRequest, Reference, upgradeneeded
upgradeneeded event is fired when an attempt was made to open a database with a version number higher than its current version.
2096 IDBRequest API, Database, IDBRequest, IndexedDB, Interface, Reference, Storage
The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest 实例。
2097 IDBRequest.error API, Database, Error, IDBRequest, IndexedDB, Property, Reference, Storage
A DOMError containing the relevant error. In Chrome 48+/Firefox 58+ this property returns a DOMException 因为 DOMError has been removed from the DOM standard. The following error codes are returned under certain conditions:
2098 IDBRequest.onerror API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onerror
The following example requests a given record title, onsuccess gets the associated record from the IDBObjectStore (made available as objectStoreTitleRequest.result ), updates one property of the record, and then puts the updated record back into the object store. Also included at the bottom is an onerror function that reports what the error was if the request fails. For a full working example, see our 待办通知 app ( 实时查看范例 )。
2099 IDBRequest.onsuccess API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, onsuccess
The following example requests a given record title, onsuccess gets the associated record from the IDBObjectStore (made available as objectStoreTitleRequest.result ), updates one property of the record, and then puts the updated record back into the object store. For a full working example, see our 待办通知 app ( 实时查看范例 )。
2100 IDBRequest.readyState API, Database, IDBRequest, IndexedDB, Property, Reference, Référence(2), Storage, readyState
IDBRequestReadyState of the request, which takes one of the following two values:
2101 IDBRequest.result API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, result
any
2102 IDBRequest.source API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, source
An object representing the source of the request, such as an IDBIndex , IDBObjectStore or IDBCursor .
2103 IDBRequest.transaction API, Database, IDBRequest, IndexedDB, Property, Reference, Storage, transaction
An IDBTransaction .
2104 IDBRequest: error event Error, Event, IDBRequest, Reference
error handler is executed when an error caused a request to fail.
2105 IDBRequest: success event
success event is fired when an IDBRequest succeeds.
2106 IDBTransaction API, Database, IDBTransaction, IndexedDB, Interface, MakeBrowserAgnostic, Reference, Storage
Note that as of Firefox 40, IndexedDB transactions have relaxed durability guarantees to increase performance (see bug 1112702 .) Previously in a readwrite transaction IDBTransaction.oncomplete was fired only when all data was guaranteed to have been flushed to disk. In Firefox 40+ the complete event is fired after the OS has been told to write the data but potentially before that data has actually been flushed to disk. The complete event may thus be delivered quicker than before, however, there exists a small chance that the entire transaction will be lost if the OS crashes or there is a loss of system power before the data is flushed to disk. Since such catastrophic events are rare most consumers should not need to concern themselves further.
2107 IDBTransaction.abort() API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, abort
abort() 方法在 IDBTransaction interface rolls back all the changes to objects in the database associated with this transaction.
2108 IDBTransaction.db API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db
An IDBDatabase 对象。
2109 IDBTransaction.error API, Database, Error, IDBTransaction, IndexedDB, Property, Reference, Storage
A DOMError containing the relevant error. In Chrome 48+/Firefox 58+ this property returns a DOMException 因为 DOMError has been removed from the DOM standard. The exact error is one of serveral possibilities. It can be a reference to the same error as the request object that raised it, or a transaction failure (for example QuotaExceededError or UnknownError ).
2110 IDBTransaction.mode API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, mode
An IDBTransactionMode object defining the mode for isolating access to data in the current object stores:
2111 IDBTransaction.objectStore() API, Database, IDBTransaction, IndexedDB, Method, Reference, Storage, objectStore
objectStore() 方法在 IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
2112 IDBTransaction.objectStoreNames API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, db
objectStoreNames 只读特性在 IDBTransaction interface returns a DOMStringList of names of IDBObjectStore 对象。
2113 IDBTransaction.onabort API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onabort
In the following code snippet, we open a read/write transaction on our database and add some data to an object store. Note also the functions attached to transaction event handlers to report on the outcome of the transaction opening in the event of success or failure. Note the transaction.onabort = function(event) { }; block, reporting when the transaction has been aborted. For a full working example, see our 待办通知 app ( 实时查看范例 )。
2114 IDBTransaction.oncomplete API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, oncomplete
oncomplete event handler of the IDBTransaction interface handles the complete event, fired when the transaction successfully completes.
2115 IDBTransaction.onerror API, Database, IDBTransaction, IndexedDB, Property, Reference, Storage, onerror
onerror event handler of the IDBTransaction interface handles the error event, fired when a request returns an error and bubbles up to the transaction object.
2116 IDBTransaction: abort event Event, IDBTransaction, Reference, abort
abort event is fired when an IndexedDB transaction is aborted.
2117 IDBTransaction: complete event Event, IDBTransaction, Reference, complete
complete handler is executed when a transaction successfully completed.
2118 IDBTransaction: error event
error event is fired on IDBTransaction when a request returns an error and the event bubbles up to the transaction object.
2119 commit API, IDBTransacrion, Web, commit
commit() 方法在 IDBTransaction interface commits the transaction if it is alled on an active transaction. If it is called on a transaction that is not active, it throws and InvalidStateError DOMExcetion.
2120 IDBTransactionSync API, Experimental, Expérimental(2), Interface, Obsolete, Reference, Référence(2)
IDBTransactionSync 接口在 IndexedDB API provides a synchronous transaction on a database. When an application creates an IDBTransactionSync object, it blocks until the browser is able to reserve the require database objects.
2121 IDBVersionChangeEvent API, DOM, Database, IDBVersionChangeEvent, IndexedDB, Interface, JavaScript, Reference, Storage
IDBVersionChangeEvent 接口在 IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.
2122 IDBVersionChangeEvent.newVersion API, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, newVersion
A 64 位整数 .
2123 IDBVersionChangeEvent.oldVersion API, Database, IDBVersionChangeEvent, IndexedDB, Property, Reference, Storage, oldVersion
oldVersion 只读特性在 IDBVersionChangeEvent interface returns the old version number of the database.
2124 IDBVersionChangeEvent.version API, Deprecated, IndexedDB, NeedsExample, Property, Reference, Référence(2)
version 特性为 IDBVersionChangeEvent interface returns The new version of the database in a versionchange transaction.
2125 IDBVersionChangeRequest API, Interface, Obsolete, Reference, Référence(2)
IDBVersionChangeRequest interface the IndexedDB API represents a request to change the version of a database. It is used only by the setVersion() 方法为 IDBDatabase .
2126 IDBVersionChangeRequest.setVersion() API, Method, NeedsExample, Obsolete, Reference, Référence(2)
For older WebKit browsers, call this method before creating or deleting an object store.
2127 IIRFilterNode API, Audio, IIRFilterNode, Interface, Reference, Web Audio API
IIRFilterNode 接口在 Web 音频 API AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed.
2128 IIRFilterNode() API, Audio, Constructor, IIRFilterNode, Media, Reference, Web Audio API
IIRFilterNode() constructor of the Web 音频 API creates a new IIRFilterNode object which an AudioNode processor which implements a general infinite impulse response filter.
2129 IIRFilterNode.getFrequencyResponse() API, Audio, IIRFilterNode, Method, Reference, Web Audio API, filter, getFrequencyResponse
undefined
2130 IdleDeadline API, Background Tasks API, IdleDeadline, Interface, Reference, requestIdleCallback
See our complete example in the article Cooperative Scheduling of Background Tasks API .
2131 IdleDeadline.didTimeout API, Background Tasks, HTML DOM, IdleDeadline, NeedsExample, Property, Reference, Window, didTimeout, requestIdleCallback
只读 didTimeout property on the IdleDeadline interface is a Boolean value which indicates whether or not the idle callback is being invoked because the timeout interval specified when Window.requestIdleCallback() was called has expired.
2132 IdleDeadline.timeRemaining() API, Background Tasks API, IdleDeadline, Method, Reference, timeRemaining
timeRemaining () method on the IdleDeadline interface returns the estimated number of milliseconds remaining in the current idle period. The callback can call this method at any time to determine how much time it can continue to work before it must return. For example, if the callback finishes a task and has another one to begin, it can call timeRemaining() to see if there's enough time to complete the next task. If there isn't, the callback can just return immediately, or look for other work to do with the remaining time.
2133 ImageBitmap API, Canvas, ImageBitmap, Interface, Reference
ImageBitmap interface represents a bitmap image which can be drawn to a <canvas> without undue latency. It can be created from a variety of source objects using the createImageBitmap() factory method. ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.
2134 ImageBitmap.close() API, Experimental, ImageBitmap, Method, OffscreenCanvas, Reference
ImageBitmap .close() method disposes of all graphical resources associated with an ImageBitmap .
2135 ImageBitmap.height API, Canvas, ImageBitmap, Property, Reference
只读 ImageBitmap.height property returns the ImageBitmap object's height in CSS pixels.
2136 ImageBitmap.width API, Canvas, ImageBitmap, Property, Reference
只读 ImageBitmap.width property returns the ImageBitmap object's width in CSS pixels.
2137 ImageBitmapRenderingContext API, Canvas, Experimental, Interface, OffscreenCanvas, Reference
ImageBitmapRenderingContext interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap . Its context id (the first argument to HTMLCanvasElement.getContext() or OffscreenCanvas.getContext() ) is "bitmaprenderer" .
2138 ImageBitmapRenderingContext.transferFromImageBitmap() API, Experimental, ImageBitmapRenderingContext, Method, OffscreenCanvas, Reference, transferFromImageBitmap
ImageBitmapRenderingContext.transferFromImageBitmap() method displays the given ImageBitmap in the canvas associated with this rendering context. The ownership of the ImageBitmap is transferred to the canvas as well.
2139 ImageCapture API, Experimental, Image, Image Capture, ImageCapture, Interface, Media, MediaStream Image Capture API, Reference
ImageCapture 接口在 MediaStream 图像捕获 API provides methods to enable the capture of images or photos from a camera or other photographic device provides an interface for capturing images from a photographic device referenced through a valid MediaStreamTrack .
2140 ImageCapture.ImageCapture() API, Constructor, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Reference
ImageCapture() 构造函数创建新 ImageCapture object which creates a new ImageCapture 对象。
2141 ImageCapture.getPhotoCapabilities() API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoCapabilities
getPhotoCapabilities() 方法在 ImageCapture interface returns a Promise that resolves with a PhotoCapabilities object containing the ranges of available configuration options.
2142 ImageCapture.getPhotoSettings() API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, getPhotoSettings
getPhotoSettings() 特性为 ImageCapture interface returns a Promise that resolves with a PhotoSettings object containing the current photo configuration settings.
2143 ImageCapture.grabFrame() API, Experimental, Image, Image Capture, ImageCapture, Media, MediaStream Image Capture API, Method, Reference, grapFrame
grabFrame() 特性为 ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack , returning an ImageBitmap, if successful.
2144 ImageCapture.takePhoto() API, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Method, Reference, takePhoto
takePhoto() 方法在 ImageCapture interface takes a single exposure using the video capture device sourcing a MediaStreamTrack 并返回 Promise that resolves with a Blob containing the data.
2145 ImageCapture.track API, Experimental, Image, ImageCapture, Media, MediaStream Image Capture, Property, Reference
track 只读特性在 ImageCapture interface returns a reference to the MediaStreamTrack passed to the ImageCapture() 构造函数。
2146 ImageData API, Canvas, ImageData, Images
ImageData interface represents the underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData() . It can also be used to set a part of the canvas by using putImageData() .
2147 ImageData() API, Canvas, Constructor, ImageData, Reference
ImageData() constructor returns a newly instantiated ImageData object built from the typed array given and having the specified width and height.
2148 ImageData.data API, Canvas, ImageData, Property, Reference
The readonly ImageData.data 特性返回 Uint8ClampedArray 包含 ImageData object's pixel data. Data is stored as a one-dimensional array in the RGBA order, with integer values between 0 and 255 (inclusive).
2149 ImageData.height API, Canvas, ImageData, Property, Reference
The readonly ImageData.height property returns the number of rows in the ImageData 对象。
2150 ImageData.width API, Canvas, ImageData, Property, Reference
The readonly ImageData.width property returns the number of pixels per row in the ImageData 对象。
2151 索引 API, Landing
Found 4642 pages:
2152 IndexedDB API API, Advanced, Database, IndexedDB, Landing, Reference, Storage
IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web 存储 可用于存储少量数据,但对于存储大量结构化数据却不那么有用。IndexedDB 提供解决方案。这是 MDN 的 IndexedDB 覆盖范围的主登录页面 — 这里提供完整 API 参考和用法指南,浏览器支持细节及一些关键概念解释的链接。
2153 基本概念 Advanced, IndexedDB, concepts
This introduction discusses essential concepts and terminology in IndexedDB. It gives you the big picture and explains key concepts.
2154 浏览器存储限制和驱逐准则 Database, IndexedDB, LRU, Storage, client-side, eviction, limit
There are a number of web technologies that store data of one kind or another on the client-side (i.e., on your local disk). The process by which the browser works out how much space to allocate to web data storage and what to delete when that limit is reached is not simple, and differs between browsers. This article describes how browsers determine what local content to purge and when in order to free up needed local storage space.
2155 校验当由于截止日期 Apps, Date, Example, Guide, IndexedDB, deadline
A screenshot of the sample app. A red main title saying To do app, a test to-do item, and a red form for users to enter new tasks
2156 使用 IndexedDB API, Advanced, Database, Guide, IndexedDB, Storage, Tutorial, jsstore
This tutorial walks you through using the asynchronous API of IndexedDB. If you are not familiar with IndexedDB, you should first read 关于 IndexedDB 的基本概念 .
2157 InputDeviceCapabilities API, Experimental, InputDeviceCapabilities, Interface, Reference
InputDeviceCapabilities 接口在 Input Device Capabilities API provides information about the physical device or a group of related devices responsible for generating input events. Events caused by the same physical input device get the same instance of this object, but the converse isn't true. For example, two mice with the same capabilities in a system may appear as a single InputDeviceCapabilities 实例。
2158 InputDeviceCapabilities
InputDeviceCapabilities() 构造函数创建新 InputDeviceCapabilities object provides information about the physical device responsible for generating a touch event.
2159 firesTouchEvents needsTags
InputDeviceCapabilities.firesTouchEvents 只读特性返回 布尔 that indicates whether the device dispatches touch events.
2160 InputDeviceCapabilities API API, InputDeviceCapabilities, Overview, Reference
The InputDeviceCapabilities API provides details about the underlying sources of input events. The API attempts to describe how the device behaves rather than what it is. For example, the first version of the API indicates whether a device fires touch events rather than whether it is a touch screen.
2161 InputEvent API, DOM, DOM Events, Input, Interface, events
InputEvent interface represents an event notifying of editable content change.
2162 InputEvent() API, Constructor, DOM, DOM Events, Experimental, Input, InputEvent, Reference, events
InputEvent() 构造函数创建新 InputEvent .
2163 InputEvent.data API, DOM Events, Experimental, Input, InputEvent, Property, Reference, data, events
data 只读特性在 InputEvent interface returns a DOMString with the inserted characters. This may be an empty string if the change doesn't insert text (such as when deleting characters, for example).
2164 InputEvent.dataTransfer API, DOM Events, DataTransfer, Experimental, Input, InputEvent, Property, Reference, events
dataTransfer 只读特性在 InputEvent interface returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editible content.
2165 InputEvent.getTargetRanges() API, DOM Events, Experimental, Input, InputEvent, Method, Reference, events, getTargetRanges()
getTargetRanges() 特性为 InputEvent interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.
2166 InputEvent.inputType API, DOM Events, Input, InputEvent, Property, Reference, events, inputType
inputType 只读特性在 InputEvent interface returns the type of change made to editible content. Possible changes include for example inserting, deleting, and formatting text.
2167 InputEvent.isComposing API, InputEvent, Property, Read-only, Reference
InputEvent.isComposing 只读特性返回 布尔 value indicating if the event is fired after compositionstart and before compositionend .
2168 InstallEvent API, InstallEvent, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorker, Workers
The parameter passed into the oninstall handler, the InstallEvent interface represents an install action that is dispatched on the ServiceWorkerGlobalScope ServiceWorker . As a child of ExtendableEvent , it ensures that functional events such as FetchEvent are not dispatched during installation.
2169 InstallEvent.InstallEvent() API, Constructor, Experimental, Expérimental(2), InstallEvent, Reference, Service Workers, ServiceWorker
InstallEvent() 构造函数创建新 InstallEvent 对象。
2170 InstallEvent.activeWorker API, InstallEvent, Property, Reference, Service Workers, ServiceWorker, activeWorker
activeWorker 只读特性在 InstallEvent interface returns the ServiceWorker that is currently actively controlling the page.
2171 InstallTrigger API, Add-ons, Apps, Extensions, Interface, Non-standard, Reference
InstallTrigger interface is an interesting outlier in the Apps API; it's included in this API but are inherited from the old Mozilla XPInstall technology for installing add-ons. It is used for triggering the download and installation of an add-on (or anything packaged in an. xpi file) from a Web page, using JavaScript code to kick off the install process.
2172 compareVersion
Compares the version of a file or package with the version of an existing file or package.
2173 enabled
Indicates whether or not Software Installation is enabled for this client machine.
2174 getVersion
Returns an object representing the version number from the Client Version Registry for the specified component. It is used in both trigger scripts and installation scripts.
2175 安装
Installs one or more XPI files on the local machine.
2176 installChrome
Installs new skin or locale packages in Netscape 6 and Mozilla.
2177 startSoftwareUpdate
Triggers the downloading and installation of the software at the specified URL.
2178 交集观测器 API API, Clipping, Intersection, Intersection Observer API, IntersectionObserver, Overview, Performance, Reference, Web
Intersection Observer API 提供异步方式观测改变当交集目标元素与祖先元素或顶层文档的 viewport .
2179 Timing element visibility with the Intersection Observer API API, Example, Intermediate, Intersection Observer, Intersection Observer API, Tutorial
In this article, we'll build a mock blog which has a number of ads interspersed among the contents of the page, then use the Intersection Observer API to track how much time each ad is visible to the user. When an ad exceeds one minute of visible time, it will be replaced with a new one.
2180 IntersectionObserver API, Experimental, Interface, Intersection Observer API, IntersectionObserver, Reference, observers
provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport .
2181 IntersectionObserver.IntersectionObserver() API, Constructor, Intersection Observer API, IntersectionObserver, Reference, Visibility, Visible
IntersectionObserver() constructor creates and returns a new IntersectionObserver 对象。
2182 IntersectionObserver.disconnect() API, Disconnect, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference
IntersectionObserver 方法 disconnect() stops watching all of its target elements for visibility changes.
2183 IntersectionObserver.observe() API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, observe
IntersectionObserver 方法 observe() adds an element to the set of target elements being watched by the IntersectionObserver . One observer has one set of thresholds and one root, but can watch multiple target elements for visibility changes in keeping with those.
2184 IntersectionObserver.root API, Intersection Observer, Intersection Observer API, IntersectionObserver, NeedsExample, Property, Reference, root
IntersectionObserver interface's read-only root property identifies the 元素 whose bounds are treated as the bounding box viewport for the element which is the observer's target. If the root is null , then the bounds of the actual document viewport are used.
2185 IntersectionObserver.rootMargin API, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, rootMargin
IntersectionObserver interface's read-only rootMargin property is a string with syntax similar to that of the CSS margin property. Each side of the rectangle represented by rootMargin is added to the corresponding side in the root 元素的 bounding box before the intersection test is performed. This lets you, for example, adjust the bounds outward so that the target element is considered 100% visible even if a certain number of pixels worth of width or height is clipped away, or treat the target as partially hidden if an edge is too close to the edge of the root's bounding box.
2186 IntersectionObserver.takeRecords() API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, NeedsExample, Reference, takeRecords
IntersectionObserver 方法 takeRecords() returns an array of IntersectionObserverEntry objects, one for each targeted element which has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback.
2187 IntersectionObserver.thresholds API, Intersection Observer, Intersection Observer API, IntersectionObserver, NeedsExample, Property, Reference
IntersectionObserver interface's read-only thresholds property returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver() . If only one threshold ratio was provided when instanitating the object, this will be an array containing that single value.
2188 IntersectionObserver.unobserve() API, Intersection Observer, Intersection Observer API, IntersectionObserver, Method, Reference, unobserve
IntersectionObserver 方法 unobserve() instructs the IntersectionObserver to stop observing the specified target element.
2189 IntersectionObserverEntry API, Experimental, Interface, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Reference
IntersectionObserverEntry 接口在 交集观测器 API describes the intersection between the target element and its root container at a specific moment of transition.
2190 IntersectionObserverEntry.boundingClientRect API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, boundingClientRect
IntersectionObserverEntry interface's read-only boundingClientRect 特性返回 DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element.
2191 IntersectionObserverEntry.intersectionRatio API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRatio
IntersectionObserverEntry interface's read-only intersectionRatio property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
2192 IntersectionObserverEntry.intersectionRect API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, intersectionRect
IntersectionObserverEntry interface's read-only intersectionRect 特性为 DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root.
2193 IntersectionObserverEntry.isIntersecting API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, isIntersecting
IntersectionObserverEntry interface's read-only isIntersecting property is a Boolean value which is true if the target element intersects with the intersection observer's root. If this is true , then, the IntersectionObserverEntry describes a transition into a state of intersection; if it's false , then you know the transition is from intersecting to not-intersecting.
2194 IntersectionObserverEntry.rootBounds API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, rootBounds
IntersectionObserverEntry interface's read-only rootBounds 特性为 DOMRectReadOnly corresponding to the target 's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
2195 IntersectionObserverEntry.target API, Element, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserver, Property, Reference, target
IntersectionObserverEntry interface's read-only target property indicates which targeted 元素 has changed its amount of intersection with the intersection root.
2196 IntersectionObserverEntry.time API, Experimental, Intersection Observer, Intersection Observer API, IntersectionObserverEntry, Property, Reference, Time
IntersectionObserverEntry interface's read-only time 特性为 DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created.
2197 InterventionReportBody API, Experimental, Interface, InterventionReportBody, Reference, Reporting API
InterventionReportBody 接口在 Reporting API represents the body of an intervention report (the return value of its Report.body 特性)。
2198 键盘 API, Experimental, Interface, Keyboard API, Keyboard Lock, Keyboard Map, Reference, keyboard
键盘 接口的 Keyboard API provides functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.
2199 Keyboard.getLayoutMap() API, Keyboard API, Keyboard Lock, Keyboard Map, Method, Reference, getLayoutMap(), keyboard
getLayoutMap() 方法在 键盘 interface returns a Promise that resolves with an instance of KeyboardLayoutMap which is a map-like object with functions for retrieving the strings associated with specific physical keys.
2200 Keyboard.lock() API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, lock()
lock() 方法在 键盘 interface returns a Promise after enabling the capture of keypresses for any or all of the keys on the physical keyboard. This method can only capture keys that are granted access by the underlying operating system.
2201 Keyboard.unlock() API, Keyboard API, Keyboard Lock, Method, Reference, keyboard, unLock()
unlock() 方法在 键盘 interface unlocks all keys captured by the Keyboard.lock() method and returns synchronously.
2202 Keyboard API API, Experimental, Keyboard API, Keyboard Lock, Keyboard Map, Overview, Reference
The Keyboard API provides methods for working with a physical keyboard that is attached to a device running a browser.
2203 KeyboardEvent API, DOM, Event, Input, Interface, Key Events, Keyboard Events, KeyboardEvent, MakeBrowserAgnostic, Reference, UI Events, keyboard, user input
KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard.
2204 KeyboardEvent() API, Constructor, DOM, KeyboardEvent, Reference
KeyboardEvent() 构造函数创建新 KeyboardEvent .
2205 KeyboardEvent.altKey API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.altKey read-only property is a 布尔 that indicates if the alt key ( 选项 or on OS X) was pressed ( true ) 或不 ( false ) when the event occured.
2206 KeyboardEvent.charCode API, DOM, Deprecated, KeyboardEvent, Property, Reference
charCode 只读特性在 KeyboardEvent interface returns the Unicode value of a character key pressed during a keypress 事件。
2207 KeyboardEvent.code API, Code, DOM Events, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.code property represents a physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a value which isn't altered by keyboard layout or the state of the modifier keys.
2208 KeyboardEvent: code values
The following tables show what code values are used for each native scancode or virtual keycode on major platforms. Because some browsers choose to interpret physical keys differently, there are some differences in which keys map to which codes. These tables show those variations when known.
2209 KeyboardEvent.ctrlKey API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.ctrlKey 只读特性返回 布尔 that indicates if the 控制 key was pressed ( true ) 或不 ( false ) when the event occured.
2210 KeyboardEvent.getModifierState() API, DOM, KeyboardEvent, Method, Reference, getModifierState
KeyboardEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (that is the modifier key is pressed or locked), otherwise, false .
2211 KeyboardEvent.initKeyEvent() API, DOM, Deprecated, KeyboardEvent, Method, Reference
KeyboardEvent.initKeyEvent() method is used to initialize the value of an event created using document.createEvent ("KeyboardEvent") . Events initialized in this way must have been created with the document.createEvent ("KeyboardEvent") 方法。 initKeyEvent() must be called to set the event before it is dispatched .
2212 KeyboardEvent.initKeyboardEvent() API, Deprecated, KeyboardEvent, Method, Reference
KeyboardEvent.initKeyboardEvent() method initializes the attributes of a keyboard event object. This method was introduced in draft of DOM Level 3 Events, but deprecated in newer draft. Gecko won't support this feature since implementing this method as experimental broke existing web apps (see bug 999645 ). Web applications should use constructor instead of this if it's available.
2213 KeyboardEvent.isComposing API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.isComposing 只读特性返回 布尔 value indicating if the event is fired after compositionstart and before compositionend .
2214 KeyboardEvent.key API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent 接口的 key read-only property returns the value of the key pressed by the user, taking into consideration the state of modifier keys such as Shift as well as the keyboard locale and layout.
2215 Key Values Characters, DOM, Key Codes, Key Values, KeyboardEvent, Keycodes, Keypad, Keystrokes, Meta, Meta Keys, Modifier Keys, Modifiers, Reference, UI Events, events, keyboard, keys
The tables below list the standard key values in various categories of key, with an explanation of what the key is typically used for. Corresponding virtual keycodes for common platforms are included where available.
2216 KeyboardEvent.keyCode API, DOM, DOM Events, Deprecated, KeyboardEvent, Property, Read-only, Reference, keyCode
The deprecated KeyboardEvent.keyCode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key.
2217 KeyboardEvent.keyIdentifier API, DOM, Deprecated, Non-standard, Property, Reference, events
The deprecated KeyboardEvent.keyIdentifier read-only property returns a "key identifier" string that can be used to determine what key was pressed. Its non-deprecated replacement is KeyboardEvent.key .
2218 KeyboardEvent.location API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device.
2219 KeyboardEvent.metaKey API, DOM, MouseEvent, Property, Read-only, Reference
KeyboardEvent.metaKey read-only property returning a 布尔 that indicates if the Meta key was pressed ( true ) 或不 ( false ) when the event occurred. Some operating systems may intercept the key so it is never detected.
2220 KeyboardEvent.repeat API, DOM, KeyboardEvent, Property, Read-only, Reference
repeat 只读特性在 KeyboardEvent interface returns a 布尔 也就是 true if the given key is being held down such that it is automatically repeating.
2221 KeyboardEvent.shiftKey API, DOM, KeyboardEvent, Property, Read-only, Reference
KeyboardEvent.shiftKey read-only property is a 布尔 that indicates if the shift key was pressed ( true ) 或不 ( false ) when the event occurred.
2222 KeyboardEvent.which API, DOM, Deprecated, KeyboardEvent, Property, Read-only, Reference
which 只读特性在 KeyboardEvent interface returns the numeric keyCode of the key pressed, or the character code ( charCode ) for an alphanumeric key pressed.
2223 KeyboardLayoutMap API, Experimental, Interface, Keyboard API, Keyboard Map, KeyboardLayoutMap, Reference, keyboard
KeyboardLayoutMap 接口的 Keyboard API is a map-like object with functions for retrieving the string associated with specific physical keys.
2224 KeyboardLayoutMap.entries API, Entries, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard
entries 只读特性在 KeyboardLayoutMap interface returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
2225 KeyboardLayoutMap.forEach() API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, forEach(), keyboard
forEach() 方法在 KeyboardLayoutMap interface executes a provided function once for each element of the map.
2226 KeyboardLayoutMap.get() API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, get(), keyboard
get() 方法在 KeyboardLayoutMap interface returns the element with the given key.
2227 KeyboardLayoutMap.has() API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Method, Reference, has(), keyboard
has() 方法在 KeyboardLayoutMap interface returns a boolean indicating whether the object has an element with the specified key.
2228 KeyboardLayoutMap.keys API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, keys
keys 只读特性在 KeyboardLayoutMap interface returns a new object that contains the keys for each index in the array.
2229 KeyboardLayoutMap.size API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, size
size 只读特性在 KeyboardLayoutMap interface returns the number of elements in the map.
2230 KeyboardLayoutMap.values API, Experimental, Keyboard API, Keyboard Map, KeyboardLayoutMap, Property, Reference, keyboard, values
只读特性在 KeyboardLayoutMap interface returns a new object that contains the values for each index in the.
2231 KeyframeEffect API, Animation, Animations, Experimental, Interface, KeyframeEffect, Reference, Web Animations, web animations api
KeyframeEffect 接口在 Web 动画 API lets us create sets of animatable properties and values, called keyframes. These can then be played using the Animation() 构造函数。
2232 KeyframeEffect.KeyframeEffect() API, Animation, Constructor, Experimental, KeyframeEffect, Reference, waapi, web animations api
KeyframeEffect() constructor of the Web 动画 API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
2233 KeyframeEffect.composite API, Animation, Experimental, KeyframeEffect, Property, Reference, composite, waapi, web animations api
composite property of a KeyframeEffect resolves how an element's animation impacts its underlying property values.
2234 KeyframeEffect.getKeyframes() API, Animation, Experimental, KeyframeEffect, Method, Reference, getKeyframes, waapi, web animations api
getKeyframes() method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets.
2235 KeyframeEffect.iterationComposite API, Animation, Experimental, KeyframeEffect, Property, Reference, iterationComposite, waapi, web animations api
iterationComposite property of a KeyframeEffect resolves how the the animation's property value changes accumulate or override each other upon each of the animation's iterations.
2236 KeyframeEffect.setKeyframes() API, Animations, Experimental, KeyframeEffect, Method, Reference, setKeyframes, waapi, web animations api
setKeyframes() 方法在 KeyframeEffect interface replaces the keyframes that make up the affected KeyframeEffect with a new set of keyframes.
2237 KeyframeEffect.target API, Animation, Experimental, KeyframeEffect, Property, Reference, target, waapi, web animations api
target property of a KeyframeEffect interface represents the element or pseudo-element being animated. It may be null for animations that do not target a specific element. It performs as both a getter and a setter, except with animations and transitions generated by CSS.
2238 LinearAccelerationSensor API, Accelerometer, Accelerometer API, Generic Sensor API, Interface, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors
LinearAccelerationSensor 接口在 Sensor APIs provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
2239 LinearAccelerationSensor.LinearAccelerationSensor() API, Accelerometer, Constructor, Generic Sensor API, LinearAccelerationSensor, Reference, Sensor, Sensor APIs, Sensors
LinearAccelerationSensor 构造函数创建新 LinearAccelerationSensor object which provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
2240 LinearAccelerationSensor.x API, Accelerometer, Generic Sensor API, LinearAccelerationSensor, Property, Reference, Sensor, Sensor APIs, Sensors, x
x 只读特性在 LinearAccelerationSensor interface returns a double precision integer containing the linear acceleration of the device along the device's x axis.
2241 LinearAccelerationSensor.y API, Accelerometer, Generic Sensor API, LinearAccelerationSensor, Property, Reference, Sensor, Sensor APIs, Sensors, y
y 只读特性在 LinearAccelerationSensor interface returns a double precision integer containing the acceleration of the device along the device's y axis.
2242 LinearAccelerationSensor.z API, Accelerometer, Generic Sensor API, LinearAccelerationSensor, Property, Reference, Sensor, Sensor APIs, Sensors, z
z 只读特性在 LinearAccelerationSensor interface returns a double precision integer containing the acceleration of the device along the device's z axis.
2243 LinkStyle API, CSSOM, Interface, Reference
LinkStyle interface provides access to the associated CSS style sheet of a node.
2244 LocalFileSystem API, File API, File System API, Offline, Reference, Référence(2), filesystem
LocalFileSystem 接口在 文件系统 API gives you access to a sandboxed file system.  The methods are implemented by window and worker 对象。
2245 LocalFileSystemSync API, File API, File System API, Offline, Reference, Référence(2), filesystem
LocalFileSystemSync 接口在 文件系统 API gives you access to a sandboxed file system. It is intended to be used with WebWorkers . The methods are implemented by worker 对象。
2246 LocalMediaStream API, DOM, DOM Reference, Interface, LocalMediaStream, Media, Media Capture and Streams API, Media Stream API, Obsolete, Reference, WebRTC
不使用 LocalMediaStream ; you need to update any code that does use it as soon as possible or your content or application will stop working. See Stopping a video stream in MediaStreamTrack to learn how.
2247 Location API, HTML DOM, Interface, Location, Reference
定位 接口表示链接到它的对象位置 URL。对它所做的改变会反映到它相关的对象。 Document and Window 接口有这样的链接 定位 ,可访问凭借 Document.location and Window.location 分别。
2248 Location.assign() API, HTML-DOM, Location, Method, Reference
Location.assign() method causes the window to load and display the document at the URL specified.
2249 Location.reload() API, HTML-DOM, Location, Method, Reference
Location.reload() method reloads the current URL, like the Refresh button.
2250 Location.replace() API, HTML-DOM, Location, Method, Reference
定位 .replace() method replaces the current resource with the one at the provided URL. The difference from the assign() method is that after using replace() the current page will not be saved in session 历史 , meaning the user won't be able to use the back button to navigate to it.
2251 API, Experimental, Interface, Reference, Web Locks API, lock
接口的 Web Locks API provides the name and mode of a previously requested lock, which is received in the callback to LockManager.request() .
2252 Locks.mode API, Experimental, Property, Reference, Web Locks API, lock, mode
mode 只读特性在 interface returns the access mode passed to LockManager.request() when the lock was requested. The mode is either "exclusive" (默认) 或 "shared" .
2253 Locks.name API, Experimental, Property, Reference, Web Locks API, lock, mode, name
名称 只读特性在 interface returns the name passed to LockManager.request selected when the lock was requested.
2254 LockManager API, Experimental, Interface, LockManager, Reference, Web Locks API, lock
LockManager 接口的 Web Locks API provides methods for requesting a new object and querying for an existing object. To get an instance of LockManager ,调用 navigator.locks .
2255 LockManager.query() API, Experimental, LockManager, Method, Reference, Web Locks API, query()
query() 方法在 LockManager interface returns a Promise which resolves with an object containing information about held and pending locks.
2256 LockManager.request() API, Experimental, LockManager, Method, Reference, Web Locks API, request()
request() 方法在 LockManager interface requests a object with parameters specifying its name and characteristics. The requested is passed to a callback, while the function itself returns a Promise that resolves with undefined .
2257 LockedFile API, Files, Reference, Référence(2)
LockedFile interface provides tools to deal with a given file with all the necessary locks.
2258 LockedFile.abort() API, Files, Method, Reference, Référence(2)
abort method is used to release the lock on the LockedFile object, making it inactive: its active property is set to false and all ongoing operations are canceled.
2259 LockedFile.active API, Files, Non-standard, Property, Reference, WebAPI
active property allows to know if the LockedFile object is still usable ( true ) 或不 ( false ). If the object is inactive then it is impossible to perform any read or write operation with it. Typically, a LockedFile object becomes inactive when the LockedFile.abort() method is called or if an error occurs.
2260 LockedFile.append() API, Files, Method, Reference, Référence(2)
append method is used to write some data at the end of the file.
2261 LockedFile.fileHandle API, Files, Property, Reference, Référence(2)
fileHandle property gives access to the FileHandle object that produced the LockedFile 对象。
2262 LockedFile.flush() API, Files, Method, Reference, Référence(2)
flush method is used to ensure any change made to a file is properly written on disk.
2263 LockedFile.getMetadata() API, Files, Method, Reference, Référence(2)
getMetadata method allows to retrieve some metadata about the locked file.
2264 LockedFile.location API, Files, Property, Reference, Référence(2)
location property is a zero-based index representing the position of the read/write pointer within the file. Its value indicates at which bytes within the file any write or read operation will start.
2265 LockedFile.mode API, Files, Property, Reference, Référence(2)
mode property provides the read/write status of the LockedFile 文件。
2266 LockedFile.onabort API, Files, Property, Reference, Référence(2)
Specifies an event listener to receive abort events. These events occur when the locked file has been aborted with the LockedFile.abort() 方法。
2267 LockedFile.oncomplete API, Files, Property, Reference, Référence(2)
Specifies an event listener to receive complete events. These events occur each time a read or write operation is successful.
2268 LockedFile.onerror API, Files, Property, Reference, Référence(2)
Specifies an event listener to receive error events. These events occur when something goes wrong.
2269 LockedFile.readAsArrayBuffer() API, Files, Method, Reference, Référence(2)
readAsArrayBuffer method is used to read the content of the LockedFile object and provide the result of that reading as an ArrayBuffer . In many ways, it performs like the FileReader.readAsArrayBuffer() 方法。
2270 LockedFile.readAsText() API, Files, Method, Reference, Référence(2)
readAsText method is used to read the content of the LockedFile object and provide the result of that reading as a string. In many ways, it performs like the FileReader.readAsText() 方法。
2271 LockedFile.truncate() API, Files, Method, Reference, Référence(2)
truncate method is used to remove some data within the file.
2272 LockedFile.write() API, Files, Method, Reference, Référence(2)
write method is used to write some data within the file.
2273 长任务 API API, Experimental, Landing, Long Tasks API, NeedsContent, Overview, Performance, PerformanceLongTaskTiming, Reference, TaskAttributionTiming, Web Performance
The experimental Long Tasks API gives us visibility into tasks that take 50 milliseconds or more. The 50ms threshold comes from the RAIL Model ,尤其 "Response: process events in under 50ms" 章节。
2274 LongRange API, Constraints, Dictionary, Interface, LongRange, Media, Media Capture and Streams API, Media Streams API, Reference, WebRTC
LongRange dictionary is used to define a range of permitted integer values for a property, with either or both a maximum and minimum value specified. The ConstrainLongRange dictionary is based on this, augmenting it to support exact and ideal values as well.
2275 MIDIAccess API, Interface, Reference, Web MIDI API
MIDIAccess 接口在 Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices.
2276 MIDIConnectionEvent API, Draft, Interface, MIDI, MIDIConnectionEvent, Reference, Web MIDI API
MIDIConnectionEvent 接口在 Web MIDI API is the event passed to the onstatechange event of the MIDIAccess interface and the onstatechange event of the MIDIPorts interface. This occurs any time a new port becomes available, or when a previously available port becomes unavailable. For example, this event is fired whenever a MIDI device is either plugged in to or unplugged from a computer.
2277 MIDIInput API, Draft, Interface, MIDIInput, NeedsExample, Reference, Web MIDI API
使用 MIDIInput 接口在 Web MIDI API to access and pass messages to a MIDI input port.
2278 MIDIInputMap NeedsContent
MIDIInputMap read-only interface of the Web MIDI API 提供 地图 -like interface to the currently available MIDI input ports. Though it works generally like a map, because it is read-only it does not contain clear() , delete() ,或 set() 函数。
2279 MIDIOutputMap API
MIDIOutputMap read-only interface of the Web MIDI API 提供 地图 -like interface to the currently available MIDI output ports. Although it works like a map, because it is read-only, it does not contain clear() , delete() ,或 set() 函数。
2280 MSCandidateWindowHide
MSCandidateWindowHide fires after the Input Method Editor (IME) candidate window closes and is fully hidden.
2281 MSCandidateWindowShow MSCandidateWindowShow
MSCandidateWindowShow fires immediately after the Input Method Editor (IME) candidate window is set to appear, but before it renders.
2282 MSCandidateWindowUpdate MSCandidateWindowUpdate
MSCandidateWindowUpdate fires after the Input Method Editor (IME) candidate window has been identified as needing to change size, but before any visual updates have rendered.
2283 MSGestureEvent API, DOM, Interface, Non-standard, Reference
MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart , MSGestureEnd , MSGestureTap , MSGestureHold , MSGestureChange ,和 MSInertiaStart .
2284 MSGraphicsTrust msGraphicsTrust
msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback.
2285 MSManipulationEvent API, API:Microsoft Extensions, Event, Event:Microsoft Extensions, Interface, MSManipulationEvent, Non-standard, Reference
MSManipulationEvent provides contextual information when contact is made to the screen and an element is manipulated.
2286 MSManipulationEvent.initMSManipulationEvent() API, API:Microsoft Extensions, Deprecated, Method, Non-standard, Reference, initMSManipulationEvent
initMSManipulationEvent method is used to create a MSManipulationEvent that can be called from JavaScript.
2287 MSRangeCollection MSRangeCollection
MSRangeCollection object is an array of one or more Range objects.
2288 MSSiteModeEvent
MSSiteModeEvent provides event properties that are specific to pinned site events.
2289 Magnetometer API, Generic Sensor API, Interface, Magnetometer, Reference, Sensor, Sensor APIs, Sensors
Magnetometer 接口在 Sensor APIs provides information about the magnetic field as detected by the device’s primary magnetometer sensor.
2290 Magnetometer.Magnetometer() API, Constructor, Generic Sensor API, Magnetometer, Reference, Sensor, Sensor APIs, Sensors
Magnetometer 构造函数创建新 Magnetometer object which returns information about the magnetic field as detected by a device’s primary magnetometer sensor.
2291 Magnetometer.x API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, x
x 只读特性在 Magnetometer interface returns a double precision integer containing the magnetic field around the device's x axis.
2292 Magnetometer.y API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, y
y 只读特性在 Magnetometer interface returns a double precision integer containing the magnetic field around the device's y axis.
2293 Magnetometer.z API, Generic Sensor API, Magnetometer, Property, Reference, Sensor, Sensor APIs, Sensors, z
z 只读特性在 Magnetometer interface returns a double-precision integer containing the magnetic field around the device's z axis.
2294 MathMLElement API, Draft, Experimental, Interface, MathML, MathMLElement, NeedsBrowserCompatibility, NeedsCompatTable, Reference
MathMLElement 接口表示任何 MathML 元素。
2295 媒体能力 API API, Experimental, Media Capabilities, Overview, Reference
This example defines a audio configuration then checks to see if the user agent supports decoding that media configuration, and whether it will perform well in terms of smoothness and power efficiency.
2296 Using the Media Capabilities API API, Audio, Guide, Intermediate, Media, Media Capabilities, Media Capabilities API, Video, capabilities
媒体能力 API provides several key features to help you better decide how to handle media, but also to determine how well media is being handled, in real time.
2297 Media Capture and Streams API (Media Stream) API, Advanced, Audio, Guide, Introduction, Media, Media Capture and Streams API, Media Streams API, Video
媒体捕获和流 API, often called the Media Streams API or simply MediaStream API , is an API related to WebRTC which provides support for streaming audio and video data.
2298 Capabilities, constraints, and settings Advanced, Audio, Constraints, Example, Guide, Media, Media Capture and Streams API, Media Streams API, Settings, Video, WebRTC
The twin concepts of constraints and capabilities let the browser and Web site or app exchange information about what constrainable properties the browser's implementation supports and what values it supports for each one. This article discusses capabilities and constraints, as well as media settings, and includes an example we call the Constraint Exerciser .
2299 媒体会话 API Audio, Media, Media Session API, MediaMetadata, MediaSession, Overview, Reference, Video
The Media Session API provides a way to customize media notifications. It does this by providing metadata for display by the user agent of the media your web app is playing, and allows you to create event handlers, to define your own behaviors for a user-agent playback controls. The aim of this is allowing users to know what's playing, and to control it, without opening the specific page that launched it.
2300 Media Source Extensions API API, Audio, Experimental, Landing, MSE, Media Source Extensions, Reference, Video, streaming
The Media Source Extensions API (MSE) provides functionality enabling plugin-free web-based streaming media. Using MSE, media streams can be created via JavaScript, and played using <audio> and <video> 元素。
2301 Transcoding assets for Media Source Extensions DASH, Dynamic Adaptive Streaming over HTTP, Encoding, MSE, Media Source Extensions, adaptive
With your video properly encoded and adaptive bitrate media generated, you're now ready to begin adaptive bitrate streaming on the web using DASH and MSE.
2302 MediaCapabilities API, Audio, Experimental, Interface, Media, MediaCapabilities, Reference, Video
MediaCapabilities 接口在 媒体能力 API provides information about the decoding abilities of the device, system and browser. The API can be used to query the browser about the decoding abilities of the device based on codecs, profile, resolution, and bitrates. The information can be used to serve optimal media streams to the user and determine if playback should be smooth and power efficient.
2303 MediaCapabilities.decodingInfo() API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, decodingInfo()
MediaCapabilities.decodingInfo() method, part of the 媒体能力 API , returns a promise with the tested media configuration's mediaCapabilitiesInfo ; this contains the three Boolean properties supported , smooth ,和 powerefficient , which describe whether decoding the media described would be supported, smooth, and powerefficient.
2304 MediaCapabilities.encodingInfo() API, Audio, Experimental, Media Capabilities API, MediaCapabilities, Method, Reference, Video, encodingInfo
MediaCapabilities.encodingInfo() method, part of the MediaCapabilities 接口在 媒体能力 API , returns a promise with the tested media configuration's MediaCapabilitiesInfo ; this contains the three Boolean properties supported , smooth ,和 powerefficient , which describe how compatible the device is with the type of media.
2305 MediaCapabilitiesInfo
The interface of the promise returned by the the mediaCapabilities 's encodingInfo() and decodingInfo() methods returning whether the media configuration tested is  supported, smooth, and powerEfficient.
2306 MediaCapabilitiesInfo API, Audio, Experimental, Interface, Media Capabilities API, MediaCapabilitiesInfo, Reference, Video
MediaCapabilitiesInfo 接口在 媒体能力 API is made available when the promise returned by the MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() methods of the MediaCapabilities interface fulfills, providing information as to whether the media type is supported, and whether encoding or decoding such media would be smooth and power efficient.
2307 MediaConfiguration API, Audio, Experimental, Interface, Media Capabilities API, MediaConfiguration, Reference, Video
MediaConfiguration MediaCapabilities dictionary of the 媒体能力 API describes how media and audio files must be configured, or defined, to be passed as a parameter of the MediaCapabilities.encodingInfo() and MediaCapabilities.encodingInfo() 方法。
2308 MediaDecodingConfiguration API, Audio, Experimental, Interface, Media Capabilities API, MediaDecodingConfiguration, Reference, Video
MediaDecodingConfiguration dictionary of the 媒体能力 API is used to define the type of media being tested when calling MediaCapabilities.decodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
2309 MediaDeviceInfo API, Audio, Interface, Media, Media Device Info, Media Devices, MediaDevicesInfo, Reference, Video, WebRTC, WebRTC API
MediaDevicesInfo interface contains information that describes a single media input or output device.
2310 MediaDeviceInfo.deviceId API, Experimental, Media, MediaDevicesInfo, Property, deviceId
deviceId readonly property of the MediaDeviceInfo interface returns a DOMString that is an identifier for the represented device and is persisted across sessions.
2311 MediaDeviceInfo.groupId API, Device, Input, Media, MediaDevicesInfo, Property, groupId, output
groupId readonly property of the MediaDeviceInfo interface returns a DOMString that is a group identifier.
2312 MediaDeviceInfo.kind API, Experimental, Media, MediaDevicesInfo, Property, kind
kind readonly property of the MediaDeviceInfo interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput".
2313 MediaDeviceInfo.label API, Media, Media Capture, Media Capture and Streams, Media Capture and Streams API, MediaDevicesInfo, Property, Reference, label
label readonlyinline property of the MediaDeviceInfo interface returns a DOMString , that is a label describing this device (for example "External USB Webcam").
2314 MediaDevices API, Audio, Conference, Devices, Interface, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Screen Capture, Screen Capture API, Sharing, Video, WebRTC
MediaDevices interface provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data.
2315 MediaDevices.enumerateDevices() API, MediaDevices, Method, Reference, WebRTC
MediaDevices 方法 enumerateDevices() requests a list of the available media input and output devices, such as microphones, cameras, headsets, and so forth.
2316 MediaDevices.getDisplayMedia() API, Capture, Conference, Media, MediaDevices, Method, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, getDisplayMedia, screen
MediaDevices 接口的 getDisplayMedia() method prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream .
2317 MediaDevices.getSupportedConstraints() API, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Reference, WebRTC, getSupportedConstraints
getSupportedConstraints () 方法在 MediaDevices interface returns an object based on the MediaTrackSupportedConstraints dictionary, whose member fields each specify one of the constrainable properties the 用户代理 understands.
2318 MediaDevices.getUserMedia() API, Audio, Capture, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Method, Photos, Reference, Video, WebRTC, getusermedia
MediaDevices .getUserMedia() method prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media.
2319 MediaDevices.ondevicechange API, Audio, Event Handler, Media, Media Capture and Streams API, MediaDevices, Property, Reference, Video, ondevicechanged
MediaDevices.ondevicechange property is an EventHandler which specifies a function to be called when the devicechange event occurs on a MediaDevices instance. This happens whenever the set of media devices available to the 用户代理 and, by extension, to the web site or app has changed. You can at any time use enumerateDevices() to get the updated list of available devices.
2320 MediaDevices: devicechange event API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaDevices, Reference, Video, events
A devicechange event is sent to a MediaDevices instance whenever a media device such as a camera, microphone, or speaker is connected to or removed from the system. It's a generic 事件 with no added properties.
2321 MediaElementAudioSourceNode API, Audio, AudioNode, Interface, MediaElementAudioSourceNode, Reference, Web Audio API
A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio.
2322 MediaElementAudioSourceNode() API, Audio, Constructor, MediaElementAudioSourceNode, Reference, Web Audio API
MediaElementAudioSourceNode() 构造函数创建新 MediaElementAudioSourceNode 对象实例。
2323 MediaEncodingConfiguration API, Audio, Experimental, Interface, Media Capabilities API, MediaEncodingConfiguration, Reference, Video
MediaEncodingConfiguration dictionary of the 媒体能力 API is used to define the type of media being tested when calling MediaCapabilities.encodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
2324 MediaError API, Audio, Errors, HTML DOM, Interface, Media, MediaError, Reference, Video
MediaError interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement ,譬如 <audio> or <video> .
2325 MediaError.code API, Audio, Code, Errors, HTML DOM, Media, MediaError, Property, Read-only, Reference, Video
The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element. To get a text string with specific diagnostic information, see MediaError.message .
2326 MediaError.message API, Audio, Errors, HTML DOM, Media, MediaError, Property, Video, message
The read-only property MediaError.message 返回 DOMString which contains a human-readable string offering specific diagnostic details related to the error described by the MediaError object, or an empty string ( "" ) if no diagnostic information can be determined or provided.
2327 msExtendedCode
In the event of an error, the media element's error event will be fired. The element's error property will then contain an msExtendedCode read-only property with platform-specific error code information.
2328 MediaKeyMessageEvent API, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference
MediaKeyMessageEvent 接口在 EncryptedMediaExtensions API contains the content and related data when the content decryption module generates a message for the session.
2329 MediaKeyMessageEvent() API, Constructor, EncryptedMediaExtensions, MediaKeyMessageEvent, NeedsContent, NeedsExample, Reference
MediaKeyMessageEvent 构造函数创建新 MediaKeyMessageEvent object which creates a new instance of MediaKeyMessageEvent .
2330 MediaKeyMessageEvent.messageType API, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, messageType
MediaKeyMessageEvent.messageType read-only property indicates the type of message. It may be one of license-request , license-renewal , license-release ,或 individualization-request .
2331 message API, EncryptedMediaExtensions, Experimental, MediaKeyMessageEvent, Property, Reference, message
MediaKeyMessageEvent.message read-only property returns an ArrayBuffer with a message from the content decryption module. Messages vary by key system.
2332 MediaKeySession API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySession, NeedsExample, Reference, Video
MediaKeySession 接口在 EncryptedMediaExtensions API represents a context for message exchange with a content decryption module (CDM).
2333 MediaKeySession.closed API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, closed
MediaKeySession.closed 只读特性返回 Promise signaling when a MediaKeySession closes. This promise can only be fulfilled and is never rejected. Closing a session means that licenses and keys associated with it are no longer valid for decrypting media data.
2334 MediaKeySession.onkeystatuseschange
onkeystatuseschange 特性为 MediaKeySession is an event handler, fired whenever a keystatuschange event ocurrs, denoting there has been a change in the keys or their statuses within a session.
2335 MediaKeySession.onmessage
onmessage 特性为 MediaKeySession is an event handler, fired whenever a MediaKeyMessageEvent occurs, denoting a message is generated by the content decryption module.
2336 close() API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, close
MediaKeySession.close() method notifies that the current media session is no longer needed, and that the content decryption module should release any resources associated with this object and close it. Then, it returns a Promise .
2337 expiration API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, expiration
MediaKeySession.expiration read-only property returns the time after which the keys in the current session can no longer be used to decrypt media data, or NaN if no such time exists. This value is determined by the CDM and measured in milliseconds since January 1, 1970, UTC. This value may change during a session lifetime, such as when an action triggers the start of a window.
2338 generateRequest() API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, generateRequest
MediaKeySession.generateRequest() 方法返回 Promise after generating a media request based on initialization data.
2339 keyStatuses API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, keyStatuses
MediaKeySession.keyStatuses read-only property returns a reference to a read-only MediaKeyStatusMap of the current session's keys and their statuses.
2340 load() API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, load
MediaKeySession.load() 方法返回 Promise that resolves to a boolean value after loading data for a specified session object.
2341 remove() API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, remove
MediaKeySession.remove() 方法返回 Promise after removing any session data associated with the current object.
2342 sessionId API, EncryptedMediaExtensions, Experimental, MediaKeySession, NeedsExample, Property, Reference, sessionId
MediaKeySession.sessionId read-only property contains a unique string generated by the CDM for the current media object and its associated keys or licenses.
2343 update() API, EncryptedMediaExtensions, Experimental, MediaKeySession, Method, NeedsExample, Reference, Update
MediaKeySession.update() method loads messages and licenses to the CDM, and then returns a Promise .
2344 MediaKeyStatusMap API, EncryptedMediaExtensions, MediaKeyStatusMap, NeedsContent, Reference
MediaKeyStatusMap 接口在 EncryptedMediaExtensions API is a read-only map of media key statuses by key IDs.
2345 MediaKeyStatusMap.entries() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, entries()
entries() 只读特性在 MediaKeyStatusMap interface returns a new Iterator object, containing an array of [key, value] pairs for each element in the status map, in insertion order.
2346 MediaKeyStatusMap.forEach() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, forEach()
forEach 特性为 MediaKeyStatusMap interface calls callback once for each key-value pair in the status map, in insertion order. If an argument is present it will be passed to the callback.
2347 MediaKeyStatusMap.get() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, get()
get 特性为 MediaKeyStatusMap interface returns the value associated with the given key, or undefined 若没有。
2348 MediaKeyStatusMap.has() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, has()
has 特性为 MediaKeyStatusMap interface returns a 布尔 , asserting whether a value has been associated with the given key.
2349 MediaKeyStatusMap.keys() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, keys()
keys 特性为 MediaKeyStatusMap interface returns a new Iterator object, containing keys for each element in the status map, in insertion order
2350 MediaKeyStatusMap.size API, EncryptedMediaExtensions, MediaKeyStatusMap, Property, Reference, size
size 只读特性在 MediaKeyStatusMap interface returns the number of key/value paIrs in the status map.
2351 MediaKeyStatusMap.values() API, EncryptedMediaExtensions, MediaKeyStatusMap, Method, Reference, values()
特性为 MediaKeyStatusMap interface returns a new Iterator object, containing values for each element in the status map, in insertion order.
2352 MediaKeySystemAccess API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeySystemAccess, NeedsExample, Reference, Référence(2), Video
MediaKeySystemAccess 接口在 EncryptedMediaExtensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess() 方法。
2353 createMediaKeys() API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, createMediaKeys
MediaKeySystemAccess.createMediaKeys() 方法返回 Promise that resolves to a new MediaKeys 对象。
2354 getConfiguration() API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemAccess, Method, NeedsExample, Reference, Video, getConfiguration
MediaKeySystemAccess.getConfiguration() 方法返回 MediaKeySystemConfiguration object with the supported combination of configuration options.
2355 keySystem API, EncryptedMediaExtensions, Experimental, MediaKeySystemAccess, NeedsExample, Property, Reference, keySystem
MediaKeySystemAccess.keySystem 只读特性返回 DOMString identifying the key system being used.
2356 MediaKeySystemConfiguration API, EME, Encrypted Media Extensions, Encrypted Media Extensions API, EncryptedMediaExtensions, Interface, MediaKeySystemConfiguration, NeedsContent, NeedsExample, Reference
MediaKeySystemConfiguration interface Encrypted Media Extensions API provides configuration information about the media key system.
2357 audioCapabilities API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, initDataTypes
MediaKeySystemConfiguration.audioCapabilities read-only property returns an array of supported audio type and capability pairs.
2358 distinctiveIdentifier API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, distinctiveIdentifier
MediaKeySystemConfiguration.distinctiveIdentifier read-only property indicates whether a persistent distinctive identifier is required.
2359 initDataTypes API, Audio, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes
MediaKeySystemConfiguration.initDataTypes read-only property returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
2360 persistentState API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, persistentState
MediaKeySystemConfiguration.persistentState read-only property indicates whether the ability to persist state is required.
2361 videoCapabilities API, EncryptedMediaExtensions, Media, MediaKeySystemConfiguration, NeedsExample, Property, Reference, Video, initDataTypes
MediaKeySystemConfiguration.videoCapabilities read-only property returns an array of supported video type and capability pairs.
2362 MediaKeys API, Audio, EncryptedMediaExtensions, Interface, Media, MediaKeys, NeedsExample, Reference, Video
MediaKeys interface of EncryptedMediaExtensions API represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
2363 createSession() API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, createSession
MediaKeys.createSession() method returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM).
2364 setServerCertificate() API, EncryptedMediaExtensions, Experimental, Media, MediaKeys, Method, Reference, setServerCertificate
MediaKeys.setServerCertificate() method a Promise to a server certificate to be used to encrypt messages to the license server.
2365 MediaMetadata Audio, Interface, Media, Media Session API, MediaMetadata, MediaSession, Reference, Video
MediaMetadata 接口的 媒体会话 API provides allows a web page to provide rich media metadata for display in a platform UI.
2366 MediaMetadata.MediaMetadata() Audio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork
MediaMetadata() 构造函数创建新 MediaMetadata 对象。
2367 MediaMetadata.album API, MediaMetadata, Property, Reference
album 特性为 MediaMetaData interface returns or sets the name of the album or collection containing the media to be played.
2368 MediaMetadata.artist Audio, Media, Media Session API, MediaMetadata, Property, Reference, Video, artist
artist 特性为 MediaMetaData interface returns or sets the name of the artist, group, creator, etc., of the media to be played.
2369 MediaMetadata.artwork Audio, Media, Media Session API, MediaMetadata, MediaSession, Property, Reference, Video, artwork
artwork 特性为 MediaMetaData interface returns or sets an array of images associated with playing media.
2370 MediaMetadata.title API, Audio, Media, Media Session API, MediaMetadata, Property, Reference, Title, Video
title 特性为 MediaMetaData interface returns or sets the title of the media to be played.
2371 MediaQueryList API, Adaptive Design, CSSOM View, DOM, Interface, Media Queries, MediaQueryList, Reference, query
A MediaQueryList object stores information on a media query applied to a document, with support for both immediate and event-driven matching against the state of the document.
2372 MediaQueryList.addListener() API, Media Queries, MediaQueryList, Method, Reference, addListener
addListener() 方法在 MediaQueryList interface adds a listener to the MediaQueryListener that will run a custom callback function in response to the media query status changing.
2373 MediaQueryList.matches API, Media Queries, MediaQueryList, Property, Reference, matches
匹配 只读特性在 MediaQueryList 接口是 布尔 that returns true document currently matches the media query list, or false 若不。
2374 MediaQueryList.media API, Media, Media Queries, MediaQueryList, Property, Reference
media 只读特性在 MediaQueryList 接口是 DOMString representing a serialized media query.
2375 MediaQueryList.onchange API, Event Handler, MediaQueryList, Property, Reference, onchange
onchange 特性为 MediaQueryList interface is an event handler property representing a function that is invoked when the change event fires, i.e when the status of media query support changes. The event object is a MediaQueryListEvent instance, which is recognised as a MediaListQuery instance in older browsers, for backwards compatibility purposes.
2376 MediaQueryList.removeListener() API, Media Queries, MediaQueryList, Method, Reference, removeListener()
removeListener() 方法在 MediaQueryList interface removes a listener from the MediaQueryListener .
2377 MediaQueryListEvent API, Interface, Media Queries, MediaQueryListEvent, Reference
MediaQueryListEvent object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a MediaQueryList.onchange property or MediaQueryList.addListener() 调用。
2378 MediaQueryListEvent.MediaQueryListEvent() API, Constructor, Media Queries, MediaQueryListEvent, Reference
MediaQueryListEvent 构造函数创建新 MediaQueryListEvent 实例。
2379 MediaQueryListEvent.matches API, Media Queries, MediaQueryListEvent, Property, Reference, matches
匹配 只读特性在 MediaQueryListEvent 接口是 布尔 that returns true document currently matches the media query list, or false 若不。
2380 MediaQueryListEvent.media API, Media, Media Queries, MediaQueryListEvent, Property, Reference
media 只读特性在 MediaQueryListEvent 接口是 DOMString representing a serialized media query.
2381 MediaQueryListListener API, CSSOM View, Interface, Reference
A MediaQueryList object maintains a list of media queries Document , and handles sending notifications to listeners when the media queries on the document change.
2382 MediaRecorder API, Audio, Interface, Media, Media Capture, Media Capture and Streams, Media Recorder API, MediaRecorder, Reference, Video
MediaRecorder 接口在 MediaStream 录制 API provides functionality to easily record media. It is created using the MediaRecorder() 构造函数。
2383 MediaRecorder() API, Audio, Constructor, Media, Media Capture, Media Recorder API, MediaRecorder, Reference, Video
MediaRecorder() 构造函数创建新 MediaRecorder object that will record a specified MediaStream .
2384 MediaRecorder.audioBitsPerSecond API, Audio, Media Recorder API, MediaRecorder, Property, Reference
audioBitsPerSecond 只读特性在 MediaRecorder interface returns the audio encoding bit rate in use.
2385 MediaRecorder.ignoreMutedMedia API, Audio, Media Recorder API, MediaRecorder, Property, Reference, Video
ignoreMutedMedia 特性为 MediaRecorder interface indicates whether the MediaRecorder instance will record input, when the input MediaStreamTrack is muted.
2386 MediaRecorder.isTypeSupported API, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, Video, canRecordMimeType
MediaRecorder.isTypeSupported() static method returns a Boolean which is true if the MIME type specified is one the user agent should be able to successfully record.
2387 MediaRecorder.mimeType API, Audio, Media, MediaRecorder, MediaRecorder API, MediaStream Recording, Property, Reference, Video, mimeType
mimeType read-only property returns the MIME media type that was specified when creating the MediaRecorder object, or, if none was specified, which was chosen by the browser.
2388 MediaRecorder.ondataavailable API, Audio, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording API, Property, Reference, Video, ondataavailable
MediaRecorder.ondataavailable event handler (part of the MediaStream 录制 API ) handles the dataavailable event, letting you run code in response to Blob data being made available for use.
2389 MediaRecorder.onerror API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onerror
MediaRecorder 接口的 onerror event handler is called by the MediaStream 录制 API when an error occurs. You can provide an event handler to deal with errors that occur while creating or using a media recorder
2390 MediaRecorder.onpause API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onpause
MediaRecorder.onpause event handler (part of the MediaRecorder API ) handles the pause event, allowing you to run code in response to the media recording being paused.
2391 MediaRecorder.onresume API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Video, onresume
MediaRecorder.onresume event handler (part of the MediaRecorder API ) handles the resume event, allowing you to run code in response to the media recording being resumed after pausing.
2392 MediaRecorder.onstart API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstart
MediaRecorder.onstart event handler (part of the MediaRecorder API ) handles the start event, allowing you to run code in response to media recording being started by a MediaRecorder .
2393 MediaRecorder.onstop API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onstop
MediaRecorder.onstop event handler (part of the MediaRecorder API ) handles the stop event, allowing you to run code in response to media recording via a MediaRecorder being stopped.
2394 MediaRecorder.onwarning API, Audio, Media Capture, Media Recorder API, MediaRecorder, Property, Reference, Référence(2), Video, onwarning
MediaRecorder.onwarning event handler (part of the MediaRecorder API ) handles the recordingwarning event, allowing you to run code in response to non-fatal errors being thrown during media recording via a MediaRecorder , which don't halt recording.
2395 MediaRecorder.pause() API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, pause
Media.pause() method (part of the MediaRecorder API ) is used to pause recording of media streams.
2396 MediaRecorder.requestData() API, Audio, Media, Media Capture, Media Recorder API, MediaRecorder, MediaStream Recording, Method, Reference, Video, requestData
MediaRecorder.requestData() method (part of the MediaRecorder API ) is used to raise a dataavailable event containing a Blob object of the captured media as it was when the method was called.
2397 MediaRecorder.resume() API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, resume
MediaRecorder.resume() method (part of the MediaRecorder API ) is used to resume media recording when it has been previously paused.
2398 MediaRecorder.start() API, Audio, Media, Media Capture, MediaRecorder, MediaStream Recording, MediaStream Recording API, Method, NeedsExample, Recording Media, Reference, Video, start
MediaRecorder 方法 start() , which is part of the MediaStream Recording API, begins recording media into one or more Blob 对象。
2399 MediaRecorder.state API, Media Recorder API, MediaRecording, Property, Reference, state
MediaRecorder.state read-only property returns the current state of the current MediaRecorder 对象。
2400 MediaRecorder.stop() API, Media Capture, Media Recorder API, MediaRecorder, Method, Reference, stop
MediaRecorder.stop() method (part of the MediaRecorder API ) is used to stop media capture.
2401 MediaRecorder.stream API, Media Recorder API, MediaRecorder, Property, Reference, stream
MediaRecorder.stream read-only property returns the stream that was passed into the MediaRecorder() constructor when the MediaRecorder was created.
2402 MediaRecorder.videoBitsPerSecond
videoBitsPerSecond 只读特性在 MediaRecorder interface returns the video encoding bit rate in use.
2403 MediaRecorder: error event 事件
MediaRecorder 接口的 error event is fired when an error occurs: for example because recording wasn't allowed or was attempted using an unsupported codec.
2404 MediaRecorderErrorEvent AV, Audio, Error, Event, Interface, Media, MediaRecorderErrorEvent, MediaStream, MediaStream Recording, MediaStream Recording API, Recording Audio, Recording Media, Recording Video, Video, WebRTC
MediaRecorderErrorEvent interface represents errors returned by the MediaStream Recording API. It is an 事件 object that encapsulates a reference to a DOMException describing the error that occurred.
2405 MediaRecorderErrorEvent() API, Audio, Constructor, Media, Media Capture, Media Capture and Streams, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Recording, Video
MediaRecorderErrorEvent () 构造函数创建新 MediaRecorderErrorEvent object that represents an error that occurred during the recording of media by the MediaStream 录制 API .
2406 MediaRecorderErrorEvent.error API, Error, Error Handling, MediaRecordingErrorEvent, MediaStream Recording, MediaStream Recording API, Property, Reference
只读 error property in the MediaRecorderErrorEvent 接口是 DOMException object providing details about the exception that was thrown by a MediaRecorder 实例。
2407 MediaSession Audio, Interface, Media, Media Session API, MediaSession, Reference, Video
MediaSession 接口在 媒体会话 API allows a web page to provide custom behaviors for standard media playback interactions.
2408 MediaSession.metadata Audio, Media, Media Session API, MediaSession, Property, Reference, Video, metadata
metadata 特性为 MediaSession interface, returns an instance of MediaMetadata which contains rich media metadata, for display in a platform UI.
2409 MediaSession.playbackState Audio, Media, Media Session API, MediaSession, Property, Reference, Video, playbackState
playbackState 特性为 MediaSession interface indicates whether the current media session is playing.
2410 MediaSession.setActionHandler Audio, Media, Media Session API, MediaSession, Method, Reference, Video, setActionHandler
setActionHandler() 特性为 MediaSession interface sets an event handler for a media session action.
2411 MediaSettingsRange API, Image, ImageCapture, Interface, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Refernce
MediaSettingsRange 接口的 MediaStream 图像捕获 API provides the possible range and value size of PhotoCapabilities.imageHeight and PhotoCapabilities.imageWidth PhotoCapabilities object can be retrieved by calling ImageCapture.PhotoCapabilities() .
2412 MediaSettingsRange.max API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, max
max 只读特性在 MediaSettingsRange interface returns the maximum value of the settings range.
2413 MediaSettingsRange.min API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, min
min 只读特性在 MediaSettingsRange interface returns the minimum value of the settings range.
2414 MediaSettingsRange.step API, ImageCapture, MediaSettingsRange, MediaStream, MediaStream Image Capture API, Property, Reference, step
step 只读特性在 MediaSettingsRange interface returns the minimum difference between consecutive values of the settings range.
2415 MediaSource API, Audio, Experimental, Extensions, Interface, MSE, Media, MediaSource, MediaSource Extensions, Reference, Video
MediaSource 接口在 Media Source Extensions API represents a source of media data for an HTMLMediaElement 对象。 MediaSource object can be attached to a HTMLMediaElement to be played in the user agent.
2416 MediaSource.MediaSource() API, Audio, Constructor, Experimental, MSE, Media Source Extensions, MediaSource, Reference, Video
MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
2417 MediaSource.activeSourceBuffers API, Audio, Experimental, MSE, MediaSource, MediaSourceExtensions, Property, Reference, Video, activeSourceBuffers
activeSourceBuffers 只读特性在 MediaSource interface returns a SourceBufferList object containing a subset of the SourceBuffer objects contained within sourceBuffers — the list of objects providing the selected video track, enabled audio tracks, and shown/hidden text tracks.
2418 MediaSource.addSourceBuffer() API, Audio, MSE, Media, Media Source Extensions, MediaSource, Method, Reference, Video, addSourceBuffer
addSourceBuffer() 方法在 MediaSource interface creates a new SourceBuffer 为给定 MIME 类型 and adds it to the MediaSource 's sourceBuffers list. The new SourceBuffer is also returned.
2419 MediaSource.clearLiveSeekableRange() API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, clearLiveSeekableRange()
clearLiveSeekableRange() 方法在 MediaSource interface clears a seekable range privious set with a call to setLiveSeekableRange() .
2420 MediaSource.duration API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, duration
duration 特性为 MediaSource interface gets and sets the duration of the current media being presented.
2421 MediaSource.endOfStream() API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, endOfStream
endOfStream() 方法在 MediaSource interface signals the end of the stream.
2422 MediaSource.isTypeSupported() API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Static, Static Method, Video, isTypeSupported
MediaSource.isTypeSupported() static method returns a 布尔 value which is true if the given MIME type is likely to be supported by the current 用户代理 .
2423 MediaSource.readyState API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, readyState
readyState 只读特性在 MediaSource interface returns an enum representing the state of the current MediaSource . The three possible values are:
2424 MediaSource.removeSourceBuffer() API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, removeSourceBuffer
removeSourceBuffer() 方法在 MediaSource interface removes the given SourceBuffer SourceBuffers list associated with this MediaSource 对象。
2425 MediaSource.setLiveSeekableRange() API, Audio, Extensions, Media, MediaSource, MediaSource Extensions, Method, Reference, Video, setLiveSeekableRange()
setLiveSeekableRange() 方法在 MediaSource interface sets the range that the user can seek to in the media element.
2426 MediaSource.sourceBuffers API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, sourceBuffers
sourceBuffers 只读特性在 MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource .
2427 MediaStream API, Interface, Media Streams API, MediaStream, Reference, WebRTC
MediaStream interface represents a stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack .
2428 MediaStream() API, Audio, Constructor, Media, Media Capture and Streams, Media Capture and Streams API, MediaStream, Reference, Streams, Tracks, Video, WebRTC, streaming
MediaStream() constructor returns a newly-created MediaStream , which serves as a collection of media tracks, each represented by a MediaStreamTrack 对象。
2429 MediaStream.addTrack() API, Media Streams API, Method, NeedsExample, Reference, addTrack
MediaStream.addTrack() method adds a new track to the stream. The track is specified as a parameter of type MediaStreamTrack .
2430 MediaStream.clone() API, Media Capture and Streams, Media Stream API, MediaStream, Method, Reference, clone
clone() 方法在 MediaStream interface creates a duplicate of the MediaStream . This new MediaStream object has a new unique id and contains clones of every MediaStreamTrack contained by the MediaStream on which clone() 被调用。
2431 MediaStream.ended API, Media Streams API, MediaStream, Obsolete, Property, Reference, ended
ended 只读特性在 MediaStream interface returns a Boolean value which is true if the stream has been completely read, or false if the end of the stream has not been reached. This value  once the ended event has been fired.
2432 MediaStream.getAudioTracks() API, Audio, Experimental, Media, Media Capture and Streams API, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getAudioTracks, track
getAudioTracks() 方法在 MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set where MediaStreamTrack.kind is audio .
2433 MediaStream.getTrackById() Media, MediaStream, MediaStream API, Method, Reference, WebRTC, getTrackById
MediaStream.getTrackById() 方法返回 MediaStreamTrack object representing the track with the specified ID string. If there is no track with the specified ID, this method returns null .
2434 MediaStream.getTracks() API, Experimental, Media Streams API, MediaStream, MediaStreamTrack, Method, Reference, getTracks
getTracks() 方法在 MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set , regardless of MediaStreamTrack.kind .
2435 MediaStream.getVideoTracks() API, Media, Media Capture and Streams API, Media Streams API, MediaStream, Method, Reference, Video, getVideoTracks, stream, track
getVideoTracks() 方法在 MediaStream interface returns a sequence of MediaStreamTrack objects representing the video tracks in this stream.
2436 MediaStream.id MediaStream, Property, Read-only, Reference, Web
MediaStream.id() read-only property is a DOMString containing 36 characters denoting a unique identifier (GUID) for the object.
2437 MediaStream.onaddtrack API, Event Handler, Media Streams API, MediaStream, Property, Reference
MediaStream.onaddtrack property is an EventHandler which specifies a function to be called when the addtrack event occurs on a MediaStream instance. This happens when a new track of any kind is added to the media stream.
2438 MediaStream.onremovetrack API, Event Handler, Media Streams API, MediaStream, Property, Reference, onremovetrack
MediaStream.onremovetrack property is an EventHandler which specifies a function to be called when the removetrack event occurs on a MediaStream instance. This happens when a track of any kind is removed from the media stream.
2439 MediaStream: addtrack event 事件
addtrack event is fired when a new MediaStreamTrack object has been added to a MediaStream .
2440 MediaStream: removetrack event 事件
removetrack event is fired when a new MediaStreamTrack object has been removed from a MediaStream .
2441 active API, Media Capture and Streams, Media Streams API, MediaStream, Property, Reference, active
active 只读特性在 MediaStream interface returns a Boolean value which is true if the stream is currently active; otherwise, it returns false . A stream is considered active if at least one of its MediaStreamTrack s is not in the MediaStreamTrack.ended state. Once every track has ended, the stream's active 特性变为 false .
2442 MediaStream 图像捕获 API API, Image, MediaStream, MediaStream Image Capture API, Overview, Reference, Video
The MediaStream Image Capture API is an API for capturing images or videos from a photographic device. In addition to capturing data, it also allows you to retrieve information about device capabilities such as image size, red-eye reduction and whether or not there is a flash and what they are currently set to. Conversely, the API allows the capabilities to be configured within the constraints what the device allows.
2443 MediaStream 录制 API API, Audio, Media, Media Capture and Streams, MediaStream Recording, MediaStream Recording API, Overview, Reference, Video
MediaStream 录制 API ,有时简称为 Media Recording API MediaRecorder API ,密切隶属于 Media Capture and Streams API WebRTC API 。MediaStream Recording API 使捕获生成数据成为可能通过 MediaStream or HTMLMediaElement 对象为分析、处理或保存到磁盘。它还出人意料的易于使用。
2444 Recording a media element API, Audio, Example, Guide, Media, Media Recording, MediaStream Recording, Tutorial, Video
While the article Using the MediaStream Recording API demonstrates using the MediaRecorder interface to capture a MediaStream generated by a hardware device, as returned by navigator.mediaDevices.getUserMedia() , you can also use an HTML media element (namely <audio> or <video> ) as the source of the MediaStream to be recorded. In this article, we'll look at an example that does just that.
2445 Using the MediaStream Recording API API, Example, Guide, MediaRecorder, MediaStream Recording API, NeedsUpdate, Tutorial
MediaStream 录制 API makes it easy to record audio and/or video streams. When used with navigator.mediaDevices.getUserMedia() , it provides an easy way to record from the user's input devices and instantly use the result in web apps.
2446 MediaStreamAudioDestinationNode API, Interface, MediaStreamAudioDestinationNode, Reference, Web Audio API
继承的特性来自其父级, AudioNode .
2447 MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode() API, Audio, Constructor, MediaStreamAudioDestinationNode, Reference, Web Audio API
MediaStreamAudioDestinationNode() constructor of the Web 音频 API creates a new MediaStreamAudioDestinationNode 对象实例。
2448 MediaStreamAudioDestinationNode.stream API, MediaStreamAudioDestinationNode, Property, Reference, Web Audio API, stream
A MediaStream .
2449 MediaStreamAudioSourceNode API, Audio, AudioNode, Interface, Media, MediaStream, MediaStreamAudioSourceNode, MediaStreamTrack, Reference, Web, Web Audio API, WebRTC, getusermedia, sound, stream, track
MediaStreamAudioSourceNode interface is a type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs.
2450 MediaStreamAudioSourceNode() API, Audio, Constructor, MediaStreamAudioSourceNode, Reference, Web Audio API
Web 音频 API 's MediaStreamAudioSourceNode() constructor creates and returns a new MediaStreamAudioSourceNode object which uses the first audio track of a given MediaStream as its source.
2451 MediaStreamAudioSourceNode.mediaStream API, Audio, Media, MediaStream, MediaStreamAudioSourceNode, Reference, Web, Web Audio, Web Audio API, stream
MediaStreamAudioSourceNode interface's read-only mediaStream property indicates the MediaStream that contains the audio track from which the node is receiving audio.
2452 MediaStreamAudioSourceOptions API, Audio, AudoNode, Dictionary, Media, MediaStream, MediaStreamAudioSourceOptions, Options, Reference, Web, Web Audio, Web Audio API, stream
MediaStreamAudioSourceOptions dictionary provides configuration options used when creating a MediaStreamAudioSourceNode using its constructor.
2453 MediaStreamAudioSourceOptions.mediaStream API, Audio, Media, MediaStream, MediaStreamAudioSourceOptions, MediaStreamTrack, Options, Property, Reference, Web, Web Audio, Web Audio API
MediaStreamAudioSourceOptions dictionary's mediaStream property must specify the MediaStream from which to retrieve audio data when instantiating a MediaStreamAudioSourceNode 使用 MediaStreamAudioSourceNode() 构造函数。
2454 MediaStreamConstraints API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, WebRTC, getusermedia
MediaStreamConstraints dictionary is used when calling getUserMedia() to specify what kinds of tracks should be included in the returned MediaStream , and, optionally, to establish constraints for those tracks' settings.
2455 MediaStreamConstraints.audio API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Web, WebRTC, getusermedia
MediaStreamConstraints dictionary's audio property is used to indicate what kind of audio track, if any, should be included in the MediaStream returned by a call to getUserMedia() .
2456 MediaStreamConstraints.video API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamConstraints, Reference, Video, getusermedia
MediaStreamConstraints dictionary's 视频 property is used to indicate what kind of video track, if any, should be included in the MediaStream returned by a call to getUserMedia() .
2457 MediaStreamEvent API, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC
MediaStreamEvent interface represents events that occurs in relation to a MediaStream . Two events of this type can be thrown: addstream and removestream .
2458 MediaStreamEvent() Constructor, Experimental, Expérimental(2), MediaStreamEvent, Reference, Référence(2), WebRTC
MediaStreamEvent() 构造函数创建新 MediaStreamEvent .
2459 MediaStreamEvent.stream Experimental, Expérimental(2), MediaStreamEvent, Property, Read-only, Reference, Référence(2), WebRTC
The read-only property MediaStreamEvent.stream 返回 MediaStream 与事件关联。
2460 MediaStreamTrack API, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Reference, Video, WebRTC
MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.
2461 MediaStreamTrack.applyConstraints() API, Constraints, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, applyConstraints
applyConstraints () 方法在 MediaStreamTrack interface applies a set of constraints to the track; these constraints let the Web site or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancelation, and so forth.
2462 MediaStreamTrack.clone() API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, clone
clone() 方法在 MediaStreamTrack interface creates a duplicate of the MediaStreamTrack . This new MediaStreamTrack object is identical except for its unique id .
2463 MediaStreamTrack.enabled Media, MediaStreamTrack, Muting a Media Track, Muting a Track, Property, Reference, WebRTC, enabled
enabled property on the MediaStreamTrack interface is a Boolean value which is true if the track is allowed to render the source stream or false if it is not. This can be used to intentionally mute a track.
2464 MediaStreamTrack.getCapabilities() API, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, getCapabilities
getCapabilities() 方法在 MediaStreamTrack interface returns a MediaTrackCapabilities object which specifies the values or range of values which each constrainable property, based upon the platform and 用户代理 .
2465 MediaStreamTrack.getConstraints() API, Media Capture and Streams, Media Streams API, MediaStreamTrack, Method, Reference, getConstraints
getConstraints() 方法在 MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to applyConstraints() . These constraints indicate values and ranges of values that the Web site or application has specified are required or acceptable for the included constrainable properties.
2466 MediaStreamTrack.getSettings() API, Constraints, Media Capture and Streams, MediaStreamTrack, Method, Reference, getSettings
getSettings() 方法在 MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current MediaStreamTrack .
2467 MediaStreamTrack.id MediaStreamTrack, Property, Read-only, Reference, Référence(2), WebRTC
The read-only property MediaStreamTrack.id 返回 DOMString containing a unique identifier (GUID) for the track; it is generated by the browser.
2468 MediaStreamTrack.kind MediaStreamTrack, NeedsExample, Property, Read-only, Reference, WebRTC
The read-only property MediaStreamTrack.kind 返回 DOMString 设为 "audio" if the track is an audio track and to "video" , if it is a video track. It doesn't change if the track is deassociated from its source.
2469 MediaStreamTrack.label MediaStreamTrack, NeedsExample, Property, Read-only, Reference, Référence(2), WebRTC
The read-only property MediaStreamTrack.label 返回 DOMString containing a user agent-assigned label that identifies the track source, as in "internal microphone" . The string may be left empty and is empty as long as no source has been connected. When the track is deassociated from its source, the label is not changed.
2470 MediaStreamTrack.muted API, Media Capture and Streams, MediaStreamTrack, Property, Reference, muted
muted 只读特性在 MediaStreamTrack interface returns a 布尔 value indicating whether or not the track is currently unable to provide media output.
2471 MediaStreamTrack.onended API, Event Handler, Media Streams API, MediaStreamTrack, Property, Reference, onended
MediaStreamTrack.onended event handler is used to specify a function which serves as an EventHandler to be called when the ended event occurs on the track. This event occurs when the track will no longer provide data to the stream for any reason, including the end of the media input being reached, the user revoking needed permissions, the source device being removed, or the remote peer ending a connection.
2472 MediaStreamTrack.onmute Event Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, mute, onmute
MediaStreamTrack 's onmute event handler is called when the mute event is received.
2473 MediaStreamTrack.onoverconstrained API, Event Handler, Property, Reference, Référence(2), WebRTC
MediaStreamTrack.onoverconstrained event handler is a property called when the overconstrained event is received. Such an event is sent when the track is again able to send data.
2474 MediaStreamTrack.onunmute API, Event Handler, Media Capture, Media Capture and Streams, MediaStreamTrack, Property, Reference, WebRTC, onunmute, unmute
MediaStreamTrack 's onunmute event handler is called when the unmute event is received. Such an event is sent when the track is again able to send data.
2475 MediaStreamTrack.readyState API, Media Stream API, MediaStreamTrack, Property, Read-only, Reference, readyState
The read-only property MediaStreamTrack.readyState returns an enumerated value giving the status of the track.
2476 MediaStreamTrack.remote MediaStreamTrack, Property, Read-only, Reference, WebRTC
MediaStreamTrack.remote read-only property allows Javascript to know whether a WebRTC MediaStreamTrack is from a remote source or a local one. It returns a 布尔 采用值 true if the track is sourced remotely (that is, sourced by an RTCPeerConnection ),或 false if it is sourced locally.
2477 MediaStreamTrack.stop() API, Media, Media Capture and Streams API, Media Streams API, MediaStreamTrack, Method, Reference, Streams, Tracks, WebRTC, stop
In short, the MediaStreamTrack 方法 stop() method stops the track.
2478 MediaStreamTrack: ended event Audio, HTML DOM, HTMLMediaElement, Media, Media Streams API, Reference, Video, Web Audio API, ended, events
ended event of the MediaStreamTrack interface is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
2479 MediaStreamTrack: mute event API, Audio, Event, Media, Media Capture and Streams, MediaStreamTrack, Reference, Video, mute
mute event is sent to a MediaStreamTrack when the track's source is temporarily unable to provide media data.
2480 MediaStreamTrack: unmute event Audio, Media, Media Capture and Streams, Media Streams, MediaStreamTrack, Reference, Video, events, unmute
unmute event is sent to a MediaStreamTrack when the track's source is once again able to provide media data after a period of not being able to do so.
2481 MediaStreamTrackAudioSourceNode
MediaStreamTrackAudioSourceNode interface is a type of AudioNode which represents a source of audio data taken from a specific MediaStreamTrack obtained through the WebRTC or 媒体捕获和流 API。
2482 MediaStreamTrackAudioSourceNode() API, Audio, AudioSource, Interface, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Reference, Web Audio, Web Audio API, sound, source, track
Web 音频 API 's MediaStreamTrackAudioSourceNode() constructor creates and returns a new MediaStreamTrackAudioSourceNode object whose audio is taken from the MediaStreamTrack specified in the given options object.
2483 MediaStreamTrackAudioSourceOptions API, Audio, Dictionary, Media, MediaStreamTrack, MediaStreamTrackAudioSourceOptions, Node, Options, Reference, Web Audio, Web Audio API, sound
MediaStreamTrackAudioSourceOptions dictionary is used when specifying options to the MediaStreamTrackAudioSourceNode() 构造函数。
2484 MediaStreamTrackAudioSourceOptions.mediaStreamTrack API, Audio, Media, MediaStreamTrack, MediaStreamTrackAudioSourceNode, Node, Options, Property, Reference, Web Audio, Web Audio API, sound, source, track
MediaStreamTrackAudioSourceOptions dictionary's mediaStreamTrack property must contain a reference to the MediaStreamTrack from which the MediaStreamTrackAudioSourceNode being created using the MediaStreamTrackAudioSourceNode() 构造函数。
2485 MediaStreamTrackEvent API, Event, Interface, Media, Media Streams API, MediaStreamTrackEvent, Reference, Streams, track
MediaStreamTrackEvent interface represents events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur.
2486 MediaStreamTrackEvent() API, Constructor, Media Streams API, MediaStreamTrackEvent, Reference
MediaStreamTrackEvent() constructor returns a newly created MediaStreamTrackEvent object, which represents an event announcing that a MediaStreamTrack has been added to or removed from a MediaStream .
2487 MediaTrackConstraints API, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Reference, Screen Sharing, Screen Sharing API, Sharing, WebRTC, screen
MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into applyConstraints() to allow a script to establish a set of exact (required) values or ranges and/or preferred values or ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling getConstraints() .
2488 MediaTrackConstraints.aspectRatio API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, aspectRatio, getusermedia
MediaTrackConstraints dictionary's aspectRatio 特性为 ConstrainDouble describing the requested or mandatory constraints placed upon the value of the aspectRatio constrainable property.
2489 MediaTrackConstraints.autoGainControl API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, autoGainControl
MediaTrackConstraints dictionary's autoGainControl 特性为 ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the autoGainControl constrainable property.
2490 MediaTrackConstraints.channelCount API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, channelCount
MediaTrackConstraints dictionary's channelCount 特性为 ConstrainLong describing the requested or mandatory constraints placed upon the value of the channelCount constrainable property.
2491 MediaTrackConstraints.cursor API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen
MediaTrackConstraints dictionary's cursor 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the cursor constrainable property, which is used to specify whether or not the cursor should be included in the captured video.
2492 MediaTrackConstraints.deviceId API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, deviceId, getusermedia
MediaTrackConstraints dictionary's deviceId 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the deviceId constrainable property.
2493 MediaTrackConstraints.displaySurface API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen
MediaTrackConstraints dictionary's displaySurface 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the displaySurface constrainable property.
2494 MediaTrackConstraints.echoCancellation API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, echoCancellation
MediaTrackConstraints dictionary's echoCancellation 特性为 ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the echoCancellation constrainable property.
2495 MediaTrackConstraints.facingMode API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, facingMode, getusermedia
MediaTrackConstraints dictionary's facingMode 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the facingMode constrainable property.
2496 MediaTrackConstraints.frameRate API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Video, WebRTC, frameRate
MediaTrackConstraints dictionary's frameRate 特性为 ConstrainDouble describing the requested or mandatory constraints placed upon the value of the frameRate constrainable property.
2497 MediaTrackConstraints.groupId API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, groupId
MediaTrackConstraints dictionary's groupId 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the groupId constrainable property.
2498 MediaTrackConstraints.height API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, height
MediaTrackConstraints dictionary's height 特性为 ConstrainLong describing the requested or mandatory constraints placed upon the value of the height constrainable property.
2499 MediaTrackConstraints.latency API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, getusermedia, latency
MediaTrackConstraints dictionary's latency 特性为 ConstrainDouble describing the requested or mandatory constraints placed upon the value of the latency constrainable property.
2500 MediaTrackConstraints.logicalSurface API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, logicalSurface, screen
MediaTrackConstraints dictionary's logicalSurface 特性为 ConstrainDOMString describing the requested or mandatory constraints placed upon the value of the logicalSurface constrainable property.
2501 MediaTrackConstraints.noiseSuppression API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Web, noiseSuppression
MediaTrackConstraints dictionary's noiseSuppression 特性为 ConstrainBoolean describing the requested or mandatory constraints placed upon the value of the noiseSuppression constrainable property.
2502 MediaTrackConstraints.sampleRate API, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleRate
MediaTrackConstraints dictionary's sampleRate 特性为 ConstrainLong describing the requested or mandatory constraints placed upon the value of the sampleRate constrainable property.
2503 MediaTrackConstraints.sampleSize API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, sampleSize
MediaTrackConstraints dictionary's sampleSize 特性为 ConstrainLong describing the requested or mandatory constraints placed upon the value of the sampleSize constrainable property.
2504 MediaTrackConstraints.width API, Constraints, Media, Media Capture and Streams, Media Streams API, MediaTrackConstraints, Property, Reference, WebRTC, width
MediaTrackConstraints dictionary's width 特性为 ConstrainLong describing the requested or mandatory constraints placed upon the value of the width constrainable property.
2505 MediaTrackControls.volume API, Audio, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackConstraints, Property, Reference, Volume, WebRTC, getusermedia
MediaTrackConstraints dictionary's volume 特性为 ConstrainDouble describing the requested or mandatory constraints placed upon the value of the volume constrainable property.
2506 MediaTrackSettings API, Audio, Constraints, Dictionary, Interface, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, NeedsExample, Reference, Video
MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack 's settings. These values will adhere as closely as possible to any constraints previously described using a MediaTrackConstraints object and set using applyConstraints() , and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched.
2507 MediaTrackSettings.aspectRatio API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, aspectRatio
MediaTrackSettings dictionary's aspectRatio property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.aspectRatio property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2508 MediaTrackSettings.autoGainControl API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettngs, Property, Web, autoGainControl
MediaTrackSettings dictionary's autoGainControl property is a Boolean value whose value indicates whether or not automatic gain control (AGC) is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.autoGainControl property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2509 MediaTrackSettings.channelCount API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, channelCount
MediaTrackSettings dictionary's channelCount property is an integer indicating how many audio channel the MediaStreamTrack is currently configured to have. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.channelCount property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2510 MediaTrackSettings.cursor API, Capture, Constraints, Cursor, Media, Media Capture and Streaming, Media Capture and Streaming API, Property, Recording, Reference, Screen Capture, Screen Capture API, Settings, display, screen
MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream 返回通过 getDisplayMedia() .
2511 MediaTrackSettings.deviceId API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, deviceId
MediaTrackSettings dictionary's deviceId 特性为 DOMString which uniquely identifies the source for the corresponding MediaStreamTrack for the origin corresponding to the browsing session. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.deviceId property you provided when calling either getUserMedia() .
2512 MediaTrackSettings.displaySurface API, Capture, Media, Media Capture and Streaming, Media Capture and Streaming API, Monitor, Property, Reference, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Surface, Video, display, displaySurface, screen
MediaTrackSettings dictionary's displaySurface property indicates the type of display surface being captured.
2513 MediaTrackSettings.echoCancellation API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, echoCancellation
MediaTrackSettings dictionary's echoCancellation property is a Boolean value whose value indicates whether or not echo cancellation is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.echoCancellation property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2514 MediaTrackSettings.facingMode API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, facingMode
MediaTrackSettings dictionary's facingMode 特性为 DOMString indicating the direction in which the camera producing the video track represented by the MediaStreamTrack is currently facing. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.facingMode property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2515 MediaTrackSettings.frameRate API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, frameRate
MediaTrackSettings dictionary's frameRate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.frameRate property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2516 MediaTrackSettings.groupId API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, groupId
MediaTrackSettings dictionary's groupId property is a browsing-session unique DOMString which identifies the group of devices which includes the source for the MediaStreamTrack . This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.groupId property you provided when calling either getUserMedia() .
2517 MediaTrackSettings.height API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, height
MediaTrackSettings dictionary's height property is an integer indicating the number of pixels tall MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.height property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2518 MediaTrackSettings.latency API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, latency
MediaTrackSettings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the MediaStreamTrack as currently configured. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.latency property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2519 MediaTrackSettings.logicalSurface API, Capture, Logical Surface, Media, Media Capture and Streaming, Media Capture and Streaming API, MediaTrackSettings, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, logicalSurface, screen
MediaTrackSettings dictionary's logicalSurface property indicates whether or not the display area being captured is a logical surface. Logical surfaces are those which are not necessarily entirely onscreen, or may even be off-screen, such as windows' backing buffers (where only part of the buffer is visible without scrolling the containing window) and offscreen rendering contexts.
2520 MediaTrackSettings.noiseSuppression API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Web, noiseSuppression
MediaTrackSettings dictionary's noiseSuppression property is a Boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.noiseSuppression property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2521 MediaTrackSettings.sampleRate API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleRate
MediaTrackSettings dictionary's sampleRate property is an integer indicating how many audio samples per second the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleRate property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2522 MediaTrackSettings.sampleSize API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, WebRTC, sampleSize
MediaTrackSettings dictionary's sampleSize property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleSize property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2523 MediaTrackSettings.volume API, Audio, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Volume, WebRTC
MediaTrackSettings dictionary's volume property is a double-precision floating-point number indicating the volume of the MediaStreamTrack as currently configured, as a value from 0.0 (silence) to 1.0 (maximum supported volume for the device). This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.volume property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2524 MediaTrackSettings.width API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSettings, Property, Reference, Settings, Video, WebRTC, width
MediaTrackSettings dictionary's width property is an integer indicating the number of pixels wide MediaStreamTrack is currently configured to be. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.width property you provided when calling either getUserMedia() or MediaStreamTrack.applyConstraints() .
2525 MediaTrackSupportedConstraints API, Capture, Constraints, Dictionary, Interface, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Reference, Screen Capture, Screen Capture API, screen
MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the 用户代理 or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints 的返回是通过 MediaDevices.getSupportedConstraints() .
2526 MediaTrackSupportedConstraints.aspectRatio API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, aspectRatio
MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 aspectRatio constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2527 MediaTrackSupportedConstraints.autoGainControl API, Audio, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, Media Constraints, Media Streams, MediaTrackSupportedConstraints, Property, Volume, Web, autoGainControl
MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 autoGainControl constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2528 MediaTrackSupportedConstraints.channelCount API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, channelCount
MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 channelCount constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2529 MediaTrackSupportedConstraints.cursor API, Capture, Constraints, Cursor, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, screen
MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the cursor constraint is supported by the user agent and the device on which the content is being used.
2530 MediaTrackSupportedConstraints.deviceId API, Constraints, Media, Media Capture and Streams API, Media Stream API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, deviceId
MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 deviceId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2531 MediaTrackSupportedConstraints.displaySurface API, Capture, Constraints, Media, Media Capture and Streams, Media Capture and Streams API, MediaTrackSupportedConstraints, Property, Reference, Screen Capture, Screen Capture API, Sharing, Video, display, displaySurface, screen
MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the displaySurface constraint is supported by the user agent and the device on which the content is being used.
2532 MediaTrackSupportedConstraints.echoCancellation API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, echoCancellation
MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 echoCancellation constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2533 MediaTrackSupportedConstraints.facingMode API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Web, WebRTC, facingMode
MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 facingMode constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2534 MediaTrackSupportedConstraints.frameRate API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, frameRate
MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 frameRate constraint.
2535 MediaTrackSupportedConstraints.groupId API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, groupId
MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 groupId constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2536 MediaTrackSupportedConstraints.height API, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, height
MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 height constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2537 MediaTrackSupportedConstraints.latency API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, WebRTC, latency
MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 latency constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2538 MediaTrackSupportedConstraints.logicalSurface API, Capture, Logical, Media, Media Capture and Streams, Media Capture and Streams API, Reference, Screen Capture, Screen Capture API, Sharing, Surface, Video, display, screen
MediaTrackSupportedConstraints dictionary's logicalSurface property indicates whether or not the logicalSurface constraint is supported by the user agent and the device on which the content is being used.
2539 MediaTrackSupportedConstraints.noiseSuppression API, Audio, Constraints, Media, Media Capture and Streams API, Media Constraints, Media Streams API, MediaStreamTrackSupportedConstraints, Property, noiseSuppression
MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 noiseSuppression constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2540 MediaTrackSupportedConstraints.sampleRate API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, Web, sampleRate
MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 sampleRate constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2541 MediaTrackSupportedConstraints.sampleSize API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstraints, Property, Reference, WebRTC, sampleSize
MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 sampleSize constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2542 MediaTrackSupportedConstraints.volume API, Constraints, Media, Media Capture and Streams API, Media Streams API, MediaTrackSupportedConstriants, Property, Reference, Volume, WebRTC
MediaTrackSupportedConstraints dictionary's volume property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 volume constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2543 MediaTrackSupportedConstraints.width
MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true ) in the object returned by MediaDevices.getSupportedConstraints() if and only if the 用户代理 支持 width constraint. If the constraint isn't supported, it's not included in the list, so this value will never be false .
2544 MerchantValidationEvent API, Commerce, Experimental, Interface, Merchant, Merchant Validation, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Payments, Reference, Secure context
MerchantValidationEvent 接口的 支付请求 API enables a merchant to verify themselves as allowed to use a particular payment handler.
2545 MerchantValidationEvent() API, Commerce, Constructor, Merchant Validation, MerchantValidationEvent, Merchants, Payment Request API, Payment Requests, Payments, Reference
MerchantValidationEvent() 构造函数创建新 MerchantValidationEvent object. You should not have to create these events yourself; instead, just handle the merchantvalidation 事件。
2546 MerchantValidationEvent.complete() API, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, Method, Payment Request, Payment Request API, Payments, Reference, complete
MerchantValidationEvent 方法 complete() takes merchant-specific information previously received from the validationURL and uses it to validate the merchant.
2547 MerchantValidationEvent.methodName API, Commerce, Identifier, Merchant, MerchantValidationEvent, NeedsExample, Payment Method, Payment Method Identifier, Payment Request, Payment Request API, Property, Reference, Validation, methodName, payment
MerchantValidationEvent property methodName is a read-only value which returns a string indicating the payment method identifier which represents the payment handler that requires merchant validation.
2548 MerchantValidationEvent.validationURL API, Commerce, Merchant, Merchant Validation, MerchantValidationEvent, NeedsExample, Payment Request, Payment Request API, Payments, Property, Reference, validationURL
MerchantValidationEvent property validationURL is a read-only string value providing the URL from which to fetch the payment handler-specific data needed to validate the merchant.
2549 MessageChannel API, Channel Messaging API, Interface, MessageChannel, Reference, web messaging
MessageChannel 接口在 通道消息 API allows us to create a new message channel and send data through it via its two MessagePort 特性。
2550 MessageChannel() API, Channel messaging, Constructor, MessageChannel, Reference
MessageChannel() constructor of the MessageChannel interface returns a new MessageChannel object with two new MessagePort 对象。
2551 MessageChannel.port1 API, Channel messaging, HTML5, Message Channel API, MessageChannel, Property, Reference
port1 只读特性在 MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel.
2552 MessageChannel.port2 API, Channel messaging, HTML5, MessageChannel, Property, Reference, port2
port2 只读特性在 MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.
2553 MessageEvent API, Channels, Interface, Reference, WebSockets, Window, Workers, messaging
MessageEvent interface represents a message received by a target object.
2554 MessageEvent.MessageEvent() API, Constructor, DOM, MessageEvent, Reference, messaging
MessageEvent() 构造函数创建新 MessageEvent 对象实例。
2555 MessageEvent.data API, DOM, MessageEvent, Property, Reference, data, messaging
data 只读特性在 MessageEvent interface represents the data sent by the message emitter.
2556 MessageEvent.lastEventId API, DOM, MessageEvent, Property, Reference, lastEventID, messaging
lastEventId 只读特性在 MessageEvent 接口是 DOMString representing a unique ID for the event.
2557 MessageEvent.origin API, DOM, MessageEvent, Property, Reference, messaging, origin
origin 只读特性在 MessageEvent 接口是 USVString representing the origin of the message emitter.
2558 MessageEvent.ports API, DOM, MessagingEvent, Property, Reference, messaging, ports
ports 只读特性在 MessageEvent interface is an array of MessagePort objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g. in channel messaging or when sending a message to a shared worker).
2559 MessageEvent.source API, DOM, MessageEvent, Property, Reference, messaging, source
source 只读特性在 MessageEvent 接口是 MessageEventSource (which can be a WindowProxy , MessagePort ,或 ServiceWorker object) representing the message emitter.
2560 MessagePort API, Channel messaging, HTML5, Interface, MessagePort, Reference
MessagePort 接口在 通道消息 API represents one of the two ports of a MessageChannel , allowing messages to be sent from one port and listening out for them arriving at the other.
2561 MessagePort.close() API, Channel messaging, MessagePort, Method, Reference, close
close() 方法在 MessagePort interface disconnects the port, so it is no longer active. This stops the flow of messages to that port.
2562 MessagePort.onmessage API, Channel messaging, MessagePort, Property, Reference, onmessage
onmessage event handler of the MessagePort interface is an EventListener , called whenever an MessageEvent 类型 message is fired on the port — that is, when the port receives a message.
2563 MessagePort.onmessageerror API, Channel messaging, MessagePort, Property, Reference, events, onmessageerror
onmessageerror event handler of the MessagePort interface is an EventListener , called whenever an MessageEvent 类型 messageerror is fired on the port—that is, when it receives a message that cannot be deserialized .
2564 MessagePort.postMessage() API, Channel messaging, MessagePort, Method, Reference, postMessage
postMessage() 方法在 MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
2565 MessagePort.start() API, Channel messaging, MessagePort, Method, Reference, start
start() 方法在 MessagePort interface starts the sending of messages queued on the port. This method is only needed when using EventTarget.addEventListener ; it is implied when using MessageChannel.onmessage .
2566 MessagePort: message event 事件
message event is fired on a MessagePort object when a message arrives on that channel.
2567 MessagePort: messageerror event 事件
messageerror event is fired on a MessagePort object when it receives a message that can't be deserialized.
2568 元数据 API, File System API, File and Directory Entries API, Files, Interface, Non-standard, Offline, Reference, metadata
元数据 interface is used by the File and Directory Entries API to contain information about a file system entry. This metadata includes the file's size and modification date and time.
2569 Metadata.modificationTime API, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, modificationTime
只读 modificationTime 特性为 元数据 接口是 日期 object which specifies the date and time the file system entry (or the data referenced by the entry) was last modified.
2570 Metadata.size API, File System API, File and Directory Entries API, Files, Non-standard, Offline, Property, Reference, metadata, size
只读 size 特性为 元数据 interface specifies the size, in bytes, of the referenced file or other file system object on disk.
2571 Microdata DOM API
Microdata becomes even more useful when scripts can use it to expose information to the user, for example offering it in a form that can be used by other applications. The document.getItems(typeNames) method provides access to the top-level microdata items. It returns a NodeList containing the items with the specified types, or all types if no argument is specified. Each item is represented in the DOM by the element on which the relevant itemscope attribute is found. These elements have their element.itemScope IDL attribute set to true. The type(s) of items can be obtained using the element.itemType IDL attribute on the element with the itemscope attribute.
2572 Microsoft API extensions API, API:Microsoft Extensions, Non-standard, Overview, Reference
Microsoft browsers (Internet Explorer, and in a few cases, Microsoft Edge) support a number of special Microsoft extensions to the otherwise standard DOM API . These extensions are prefixed with MS or ms .
2573 MimeType API, Interface, Plugins, Reference
MimeType interface provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.
2574 MimeTypeArray API, Interface, Reference, mimeType
MimeTypeArray interface returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes .
2575 MouseEvent API, DOM, DOM Events, Interface, MouseEvent, Reference, events, mouse
MouseEvent 接口表示由于用户与指向设备 (如:鼠标) 交互而发生的事件。使用此接口的常见事件包括 click , dblclick , mouseup , mousedown .
2576 MouseEvent() API, Constructor, DOM, MouseEvent, Reference, events
MouseEvent() 构造函数创建新 MouseEvent .
2577 MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN API, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN
MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a force click.
2578 MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN API, DOM, DOM Events, JavaScript, MouseEvent, NeedsBrowserCompatibility, NeedsCompatTable, NeedsExample, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, WEBKIT_FORCE_AT_MOUSE_DOWN
MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN is a proprietary, WebKit-specific, static numeric property whose value is the minimum force necessary for a normal click.
2579 MouseEvent.altKey API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.altKey read-only property is a 布尔 that indicates whether the alt key was pressed or not when a given mouse event occurs.
2580 MouseEvent.button API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.button read-only property indicates which button was pressed on the mouse to trigger the event.
2581 MouseEvent.buttons API, DOM, DOM Events, Property, Read-only, Reference, UIEvent
MouseEvent.buttons read-only property indicates which buttons are pressed on the mouse (or other input device) when a mouse event is triggered.
2582 MouseEvent.clientX API, CSSOM View, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
clientX 只读特性在 MouseEvent interface provides the horizontal coordinate within the application's client area at which the event occurred (as opposed to the coordinate within the page).
2583 MouseEvent.clientY API, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference
clientY 只读特性在 MouseEvent interface provides the vertical coordinate within the application's client area at which the event occurred (as opposed to the coordinate within the page).
2584 MouseEvent.ctrlKey API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.ctrlKey read-only property is a 布尔 that indicates whether the ctrl key was pressed or not when a given mouse event occurs.
2585 MouseEvent.getModifierState() API, DOM, DOM Events, Method, MouseEvent, Reference, getModifierState
MouseEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, false .
2586 MouseEvent.initMouseEvent() API, DOM, DOM Events, Deprecated, Method, MouseEvent, Reference
MouseEvent.initMouseEvent() method initializes the value of a mouse event once it's been created (normally using the Document.createEvent() 方法)。
2587 MouseEvent.metaKey API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.metaKey read-only property is a 布尔 that indicates whether the meta key was pressed or not when a given mouse event occurs.
2588 MouseEvent.movementX API, DOM, DOM Events, MouseEvent, MovementX, Property, Read-only, Reference, mouse lock, pointer lock
movementX 只读特性在 MouseEvent interface provides the difference in the X coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementX = currentEvent.screenX - previousEvent.screenX .
2589 MouseEvent.movementY API, DOM, DOM Events, MouseEvent, MovementY, Property, Read-only, Reference, mouse lock, pointer lock
movementY 只读特性在 MouseEvent interface provides the difference in the Y coordinate of the mouse pointer between the given event and the previous mousemove event. In other words, the value of the property is computed like this: currentEvent.movementY = currentEvent.screenY - previousEvent.screenY .
2590 MouseEvent.mozInputSource API, NeedsCompatTable, Non-standard, Property, Read-only
MouseEvent.mozInputSource read-only property on MouseEvent provides information indicating the type of device that generated the event. This lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event).
2591 MouseEvent.offsetX API, Experimental, MouseEvent, Property, Read-only, Reference
offsetX 只读特性在 MouseEvent interface provides the offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node.
2592 MouseEvent.offsetY API, Experimental, MouseEvent, Property, Read-only, Reference
offsetY 只读特性在 MouseEvent interface provides the offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node.
2593 MouseEvent.pageX API, CSSOM View, DOM, Mouse Events, MouseEvent, Property, Read-only, Reference, UI Events, events, pageX
pageX 只读特性在 MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document.
2594 MouseEvent.pageY API, DOM, Property, Read-only, Reference
pageY 只读特性在 MouseEvent interface returns the Y (vertical) coordinate in pixels of the event relative to the whole document. This property takes into account any vertical scrolling of the page.
2595 MouseEvent.region API, Canvas, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.region read-only property returns the id of the canvas hit region affected by the event. If no hit region is affected, null 被返回。
2596 MouseEvent.relatedTarget API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.relatedTarget read-only property is the secondary target for the mouse event, if there is one. That is:
2597 MouseEvent.screenX API, CSSOM View, DOM Events, MouseEvent, Property, Read-only, Reference
screenX 只读特性在 MouseEvent interface provides the horizontal coordinate (offset) of the mouse pointer in global (screen) coordinates.
2598 MouseEvent.screenY API, DOM Events, MouseEvent, Property, Read-only, Reference
screenY 只读特性在 MouseEvent interface provides the vertical coordinate (offset) of the mouse pointer in global (screen) coordinates.
2599 MouseEvent.shiftKey API, DOM, DOM Events, MouseEvent, Property, Read-only, Reference
MouseEvent.shiftKey read-only property is a 布尔 that indicates whether the shift key was pressed or not when a given mouse event occurs.
2600 MouseEvent.webkitForce API, DOM, DOM Events, MouseEvent, Property, Reference
MouseEvent.webkitForce is a proprietary, WebKit-specific numeric property whose value represents the amount of pressure that is being applied on the touchpad or touchscreen.
2601 MouseEvent.which API, DOM Events, MouseEvent, Non-standard, Property, Read-only, Reference
MouseEvent.which read-only property indicates which button was pressed on the mouse to trigger the event. The standard alternatives to this property are MouseEvent.button and MouseEvent.buttons .
2602 MouseEvent.x API, DOM, Experimental, Property, Reference
MouseEvent.x property is an alias for the MouseEvent.clientX 特性。
2603 MouseEvent.y API, DOM, Experimental, Property, Reference
MouseEvent.y property is an alias for the MouseEvent.clientY 特性。
2604 MouseScrollEvent API, DOM, DOM Events, Deprecated, Event, Interface, Reference
MouseScrollEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.
2605 MouseWheelEvent API, DOM, Deprecated, Interface, Reference
MouseWheelEvent interface represents events that occur due to the user turning a mouse wheel.
2606 MutationEvent API, Deprecated, Interface, MutationEvent, Reference, events
MutationEvent interface provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
2607 MutationObserver API, DOM, DOM Reference, Interface, MutationObserver, NeedsContent, NeedsUpdate, Reference, mutation, observers, resize
MutationObserver interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
2608 MutationObserver.MutationObserver() API, Changes, Constructor, DOM, DOM Changes, DOM Reference, DOM Tree, Mutation Observer API, MutationObserver, Observing, Reference
DOM MutationObserver() constructor — part of the MutationObserver interface — creates and returns a new observer which invokes a specified callback when DOM events occur. MutationObserver
2609 MutationObserver.disconnect() API, Changes, DOM, DOM Changes, DOM Reference, DOM Tree, Disconnect, Mutation Observer, Mutation Observer API, MutationObserver, Observing, Reference, Watching, mutation, stop
MutationObserver 方法 disconnect() tells the observer to stop watching for mutations.
2610 MutationObserver.observe() API, Attribute Changes, Changes, DOM, DOM Changes, DOM WHATWG, Element Changes, Method, Mutation Observer, Mutation Observer API, MutationObserver, Node Changes, Reference, observe
MutationObserver 方法 observe() 配置 MutationObserver callback to begin receiving notifications of changes to the DOM that match the given options.
2611 MutationObserver.takeRecords() API, Attribute Changes, Changes, DOM Changes, DOM WHATWG, Method, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserver API, Observer, mutation, takeRecords
MutationObserver 方法 takeRecords() returns a list of all matching DOM changes that have been detected but not yet processed by the observer's callback function, leaving the mutation queue empty.
2612 MutationObserverInit API, Configuration, DOM, DOM WHATWG, Dictionary, Interface, Mutation Observer, Mutation Observer API, MutationObserver, MutationObserverInit, Observer, mutation
MutationObserverInit dictionary describes the configuration of a mutation observer. As such, it's primarily used as the type of the 选项 parameter on the MutationObserver.observe() 方法。
2613 MutationObserverInit.attributeFilter API, Attribute, Changes, DOM, DOM WHATWG, Mutation Observers, MutationObserverInit, Observer, Property, atttributeFilter, mutation
MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes.
2614 MutationObserverInit.attributeOldValue API, API Reference, Attributes, Changes, DOM, DOM WHATWG, Monitor, MutationObserverInit, Observer, Property, Reference, value
MutationObserverInit dictionary's optional attributeOldValue property is used to specify whether or not to record the prior value of the altered attribute in MutationRecord objects denoting attribute value changes.
2615 MutationObserverInit.attributes API, API Reference, Attributes, Changes, DOM, DOM WHATWG, MutationObserverInit, Observer, Property, Reference, mutation
MutationObserverInit dictionary's optional 属性 property is used to specify whether or not to watch for attribute value changes on the node or nodes being observed.
2616 MutationObserverInit.characterData API, Characters, DOM, DOM WHATWG, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Property, Reference, Text, Watching, characterData
MutationObserverInit dictionary's optional characterData property is used to specify whether or not to monitor the node or nodes being observed for changes to their textual contents.
2617 MutationObserverInit.characterDataOldValue API, Changes, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Reference, Textr, characterDataOldValue, mutation, value
MutationObserverInit dictionary's optional characterDataOldValue property is used to specify whether or not the MutationRecord.oldValue property for DOM mutations should be set to the previous value of text nodes which changed.
2618 MutationObserverInit.childList API, DOM, DOM WHATWG, Monitor, Mutation Observer, Mutation Observer API, MutationObserverInit, Observer, Reference, Watching, childList, children, mutation
MutationObserverInit dictionary's optional childList property indicates whether or not to monitor the specified node or nodes for the addition or removal of new child nodes.
2619 MutationObserverInit.subtree API, DOM, DOM WHATWG, Monitoring, Mutation Observer, Mutation Observer API, MutationObserverInit, Nodes, Observer, Reference, Watching, mutation, subtree
MutationObserverInit dictionary's optional subtree property can be set to true to monitor the targeted node and all of its descendants.
2620 MutationRecord API, Advanced, DOM, DOM Reference, NeedsContent, Reference
A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver 's callback.
2621 NameList API, DOM, Obsolete
NameList interface provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented.
2622 NamedNodeMap API, DOM, Interface, Reference
NamedNodeMap interface represents a collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList , although they may be accessed by an index as in an array.
2623 NamedNodeMap.getNamedItem() DOM, Method, NamedNodeMap, Reference
getNamedItem() 方法在 NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute.
2624 导航计时 API API, Navigation Timing, Navigation Timing API, Optimization, Overview, Performance, Timing, Web
导航计时 API provides data that can be used to measure the performance of a web site. Unlike JavaScript-based libraries that have historically been used to collect similar information, the Navigation Timing API can be much more accurate and reliable.
2625 使用导航计时 Guide, Navigation Timing, Navigation Timing API, Optimization, Performance
The Navigation Timing API lets you easily obtain detailed and highly accurate timing information to help isolate performance problems with your site's code or resources.
2626 NavigationPreloadManager API, Interface, Navigation, NavigationPreloadManager, Offline, Reference, Service Workers
NavigationPreloadManager 接口的 服务工作者 API provides methods for managing the preloading of resources with a service worker.
2627 Navigator API, DOM4, Interface, Navigator, Reference, Web, Web Performance
Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
2628 Navigator.activeVRDisplays API, DOM, Experimental, Navigator, Property, Reference, VR, Virtual Reality, WebVR, activeVRDisplays
activeVRDisplays 只读特性在 Navigator interface returns an array containing every VRDisplay object that is currently presenting ( VRDisplay.ispresenting is true ).
2629 Navigator.battery API, Battery, Battery API, Device API, Navigator, Non-standard, Obsolete, Property, Reference
battery 只读特性返回 BatteryManager provides information about the system's battery charge level; provides also some new events you can handle to monitor the battery status. This implements the Battery Status API ; see that documentation for additional details, a guide to using the API, and sample code.
2630 Navigator.buildID API, DOM, Gecko, Property
Returns the build identifier of the browser. In modern browsers this property now returns a fixed timestamp as a privacy measure, e.g. 20181001000000 in Firefox 64 onwards.
2631 Navigator.canShare API, Method, Navigator, Reference, Share, canShare()
canShare() 方法在 Navigator interface returns true if a call to Navigator.share() would succeed.
2632 Navigator.clipboard API, Clip, Clipboard, Cut, Navigator, Pasteboard, Property, Read-only, Reference, copy, paste
Clipboard API adds to the Navigator interface the read-only clipboard property, which returns the Clipboard object used to read and write the clipboard's contents.
2633 Navigator.connection API, Connection, Experimental, Navigator, Network Information API, Property, Reference
Navigator.connection 只读特性返回 NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered.
2634 Navigator.cookieEnabled API, DOM, Property
navigator.cookieEnabled returns a Boolean value that indicates whether cookies are enabled or not.
2635 Navigator.credentials API, CredentialsContainer, Property, Reference, credentials
credentials 特性为 Navigator interface returns the CredentialsContainer interface, which exposes methods to request credentials. The CredentialsContainer interface also notifies the user agent when an interesting event occurs, such as a successful sign-in or sign-out. This interface can be used for feature detection.
2636 Navigator.deviceMemory API, Device Memory API, Navigator, Property, Reference, deviceMemory, memory
deviceMemory 只读特性在 Navigator interface returns the approximate amount of device memory in gigabytes. This value is an approximation given by rounding down to the nearest power of 2 and dividing that number by 1024. Also, the lower and upper bounds are used to protect privacy of owners of very low- or high-end devices.
2637 Navigator.doNotTrack API, DOM, Experimental, Property, Reference
Returns the user's do-not-track setting. This is "1" if the user has requested not to be tracked by web sites, content, or advertising.
2638 Navigator.geolocation API, Geolocation API, Navigator, Property, Reference, Secure context
Navigator.geolocation 只读特性返回 Geolocation object that gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.
2639 Navigator.getBattery() API, Battery API, Device API, Method, Navigator, Reference, getBattery
getBattery() method provides information about the system's battery. It returns a battery promise, which is resolved in a BatteryManager object providing also some new events you can handle to monitor the battery status. This implements the Battery Status API ; see that documentation for additional details, a guide to using the API, and sample code.
2640 Navigator.getGamepads() API, Experimental, Gamepad API, Games, Method, Navigator, Reference
Navigator.getGamepads() method returns an array of Gamepad objects, one for each gamepad connected to the device.
2641 Navigator.getUserMedia() API, Deprecated, Media, Media Capture and Streams API, Media Streams API, Method, Navigator, Reference, WebRTC, getusermedia
The deprecated Navigator.getUserMedia() method prompts the user for permission to use up to one video input device (such as a camera or shared screen) and up to one audio input device (such as a microphone) as the source for a MediaStream .
2642 Navigator.getVRDisplays() API, DOM, Experimental, Expérimental(2), Media, Method, Navigator, Reference, Référence(2), VR, Virtual Reality, WebVR, getVRDisplays()
getVRDisplays() 方法在 Navigator interface returns a promise that resolves to an array of VRDisplay objects representing any available VR displays connected to the computer.
2643 Navigator.keyboard API, Experimental, Keyboard API, Keyboard Map, Navigator, Property, Reference, keyboard
keyboard 只读特性在 Navigator interface returns a 键盘 object which provides access to functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.
2644 Navigator.locks API, Experimental, LockManager, Property, Reference, Web Locks API, locks
locks 只读特性在 Navigator interface returns a LockManager object which provides methods for requesting a new object and querying for an existing 对象。
2645 Navigator.maxTouchPoints API, DOM, Property, Reference
maxTouchPoints 只读特性在 Navigator interface returns the maximum number of simultaneous touch contact points are supported by the current device.
2646 Navigator.mediaCapabilities API, Experimental, Media, Media Capabilities API, MediaCapabilities, Navigator
Navigator.mediaCapabilities 只读特性返回 MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given format and output capabilities as defined by the 媒体能力 API .
2647 Navigator.mediaDevices Media, Media Capture and Streams API, Media Streams API, MediaDevices, Navigator, Property, Read-only, Reference, Web
Navigator.mediaDevices 只读特性返回 MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing.
2648 Navigator.mozIsLocallyAvailable() API, Method, Navigator, Non-standard, Obsolete
Navigator.mozIsLocallyAvailable() method allows add-ons to determine whether or not a given resource is available.
2649 Navigator.msLaunchUri() API, API:Microsoft Extensions, MSLaunchUri, Method, Non-standard, Reference
msLaunchUri() method is a Microsoft extension to the Navigator interface, which starts a service or app, such as an email client, that handles a given protocol. The Uniform Resource Identifier (URI) contains the protocol for the default service or app, such as mailto://test@contoso.com .
2650 Navigator.oscpu API, CPU, DOM, Navigator, NavigatorID, Property, Reference, oscpu, processor
Navigator.oscpu property returns a string that identifies the current operating system.
2651 Navigator.permissions API, Experimental, Navigator, Permissions, Property, Reference
Navigator.permissions 只读特性返回 权限 object that can be used to query and update permission status of APIs covered by the 权限 API .
2652 Navigator.productSub API, DOM, Property, Read-only
Navigator.productSub read-only property returns the build number of the current browser.
2653 Navigator.registerContentHandler() API, MIME, Method, Navigator, Obsolete, Web-Based Protocol Handlers, registerContentHandler
Allows web sites to register themselves as possible handlers for content of a particular MIME type.
2654 Navigator.registerProtocolHandler() API, DOM, DOM Reference, Method, Navigator, Reference, Web-Based Protocol Handlers, registerProtocolHandler
Navigator 方法 registerProtocolHandler() lets web sites register their ability to open or handle particular URL schemes (aka protocols).
2655 Web-based protocol handlers Advanced, HTML5, Web-Based Protocol Handlers
It's fairly common to find web pages link to resources using non- http protocols. An example is the mailto: 协议:
2656 Navigator.requestMediaKeySystemAccess() API, Audio, DOM, DOM Reference, EME, Encrypted Media Extensions, Encrypted Media Extensions API, Method, Navigator, Reference, Video, requestMediaKeySystemAccess
Navigator.requestMediaKeySystemAccess() 方法返回 Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream. This method is part of the Encrypted Media Extensions API , which brings support for encrypted media and DRM-protected video to the web.
2657 Navigator.sendBeacon() API, Beacon, Method, Navigator, Networking, Reference, Web Performance, sendBeacon
navigator.sendBeacon() method can be used to asynchronously transfer a small amount of data over HTTP to a web server.
2658 Navigator.serviceWorker API, Navigator, Property, Reference, Service Workers, Service worker API, ServiceWorker
Navigator.serviceWorker read-only property returns the ServiceWorkerContainer 对象为 associated document , which provides access to registration, removal, upgrade, and communication with the ServiceWorker .
2659 Navigator.share Method, Navigator, Reference, Share, Web
Navigator.share() method invokes the native sharing mechanism of the device as part of the Web Share API. If the Web Share API is unsupported, then this method will be undefined .
2660 Navigator.vendor API, HTML DOM, Property, Read-only
值对于 Navigator vendor property is always either " Google Inc. ", " Apple Computer, Inc. ", or (in Firefox) the empty string.
2661 Navigator.vendorSub API, HTML DOM, Property, Read-only
值对于 Navigator.vendorSub property is always the empty string, in any browser.
2662 Navigator.vibrate() API, Method, Navigator, Reference, Vibration API
Navigator.vibrate() method pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
2663 Navigator.webdriver API, Navigator, Property, Reference, WebDriver, weblock
webdriver 只读特性在 navigator interface indicates whether the user agent is controlled by automation.
2664 Navigator.xr API, AR, Augmented Reality, Getter, Graphics, Navigator, Property, Reference, VR, Virtual Reality, WebXR, XR
只读 xr property provided by the Navigator or WorkerNavigator interface returns an XR object which can be used to access the WebXR 设备 API .
2665 msSaveBlob
Navigator.msSaveBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveOrOpenBlob() except that this disables the file open option.
2666 msSaveOrOpenBlob
Navigator.msSaveOrOpenBlob() method saves the File or Blob to disk. This method behaves in the same way as Navigator.msSaveBlob() except that this enables the file open option.
2667 NavigatorConcurrentHardware API, Concurrency, HTML DOM, Interface, Navigator, NavigatorCPU, NavigatorConcurrentHardware, NeedsBrowserCompatibility, Reference, Threading, Threads, WorkerNavigator, Workers
NavigatorConcurrentHardware mixin adds to the Navigator interface features which allow Web content to determine how many logical processors the user has available, in order to let content and Web apps optimize their operations to best take advantage of the user's CPU.
2668 navigator.hardwareConcurrency API, HTML DOM, Navigator, NavigatorConcurrentHardware, Property, Web Workers, Worker, WorkerNavigator, hardwareConcurrency
navigator.hardwareConcurrency read-only property returns the number of logical processors available to run threads on the user's computer.
2669 NavigatorGeolocation API, Geolocation API, No Interface, Reference
NavigatorGeolocation contains a creation method allowing objects implementing it to obtain a Geolocation 实例。
2670 NavigatorID API, HTML DOM, HTML-DOM, Interface, Navigator, NavigatorID, Reference
NavigatorID interface contains methods and properties related to the identity of the browser.
2671 NavigatorID.appCodeName API, Deprecated, NavigatorID, Property, Reference, Référence(2), appCodeName
值对于 NavigatorID.appCodeName property is always " Mozilla ", in any browser. This property is kept only for compatibility purposes.
2672 NavigatorID.appName API, Deprecated, NavigatorID, Property, Reference, Référence(2), appName
值对于 NavigatorID.appName property is always " Netscape ", in any browser.
2673 NavigatorID.appVersion API, Deprecated, NavigatorID, Property, Reference, Référence(2), appVersion
Returns either " 4.0 " or a string representing version information about the browser.
2674 NavigatorID.platform API, DOM, DOM API, Navigator, NavigatorID, Property, Reference, platform
Returns a string representing the platform of the browser. The specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.
2675 NavigatorID.product API, Deprecated, NavigatorID, Property, Reference, Référence(2), product
值对于 NavigatorID.product property is always " Gecko ", in any browser.
2676 NavigatorID.taintEnabled() API, Deprecated, HTML-DOM, Method, NavigatorID, Reference
NavigatorID.taintEnabled() method always returns false .
2677 NavigatorID.userAgent API, Deprecated, NavigatorID, Property, Read-only, Reference
NavigatorID.userAgent read-only property returns the user agent string for the current browser.
2678 NavigatorLanguage API, HTML-DOM, Reference
NavigatorLanguage contains methods and properties related to the language of the navigator.
2679 NavigatorLanguage.language API, Language, NavigatorLanguage, Property, Read-only, Reference
NavigatorLanguage.language read-only property returns a string representing the preferred language of the user, usually the language of the browser UI.
2680 NavigatorLanguage.languages API, Experimental, Expérimental(2), NavigatorLanguage, Property, Read-only, Reference, Référence(2), languages
NavigatorLanguage.languages read-only property returns an array of DOMString s representing the user's preferred languages. The language is described using BCP 47 language tags. In the returned array they are ordered by preference with the most preferred language first.
2681 NavigatorOnLine API, HTML-DOM
NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.
2682 Navigator.onLine API, DOM Reference, NavigatorOnLine, Online, Property, Reference
Returns the online status of the browser. The property returns a boolean value, with true meaning online and false meaning offline. The property sends updates whenever the browser's ability to connect to the network changes. The update occurs when the user follows links or when a script requests a remote page. For example, the property should return false when users click links soon after they lose internet connection.
2683 Online and offline events AJAX, DOM, HTML5, Intermediate, NeedsUpdate, Offline web applications, Web Development
Some browsers implement Online/Offline events WHATWG Web Applications 1.0 specification .
2684 NavigatorPlugins API, Experimental, HTML DOM, Interface, Mixin, Navigator, NavigatorPlugins, Plugins, Reference
NavigatorPlugins mixin adds to the Navigator interface methods and properties for discovering and interacting with plugins installed into the browser.
2685 NavigatorPlugins.javaEnabled() API, Method, Reference, Référence(2)
This method indicates whether the current browser is Java-enabled or not.
2686 NavigatorPlugins.mimeTypes API, Property, Reference
返回 MimeTypeArray object, which contains a list of MimeType objects representing the MIME types recognized by the browser.
2687 NavigatorPlugins.plugins API, DOM, Navigator, NavigatorPlugins, Plugins, Property, Reference
返回 PluginArray object, listing the Plugin objects describing the plugins installed in the application.
2688 NavigatorStorage API, Interface, Mixin, Navigator, NavigatorStorage, Reference, Secure context, Storage, Storage Standard, WorkerNavigator
NavigatorStorage mixin adds to the Navigator and WorkerNavigator interfaces the Navigator.storage property, which provides access to the StorageManager singleton used for controlling the persistence of data stores as well as obtaining information
2689 NavigatorStorage.storage API, Navigator, NavigatorStorage, Property, Reference, Secure context, Storage, WorkerNavigator
NavigatorStorage.storage read-only property returns the singleton StorageManager object used to access the overall storage capabilities of the browser for the current site or app.
2690 网络信息 API API, Experimental, Network Information API, Reference, WebAPI
The Network Information API provides information about the system's connection in terms of general connection type (e.g., 'wifi', 'cellular', etc.). This can be used to select high definition content or low definition content based on the user's connection. The entire API consists of the addition of the NetworkInformation interface and a single property to the Navigator 接口: Navigator.connection .
2691 NetworkInformation API, Experimental, Interface, Network Information API, NetworkInformation, Reference
NetworkInformation interface provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. The NetworkInformation interfaces cannot be instantiated. It is instead accessed through the connection 特性为 Navigator 接口。
2692 NetworkInformation.downlink API, Experimental, Network Information API, NetworkInformation, Property, Reference, downlink
downlink 只读特性在 NetworkInformation interface returns the effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds. This value is based on recently observed application layer throughput across recently active connections, excluding connections made to a private address space. In the absence of recent bandwidth measurement data, the attribute value is determined by the properties of the underlying connection technology.
2693 NetworkInformation.downlinkMax API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference
NetworkInformation.downlinkMax read-only property returns the maximum downlink speed, in megabits per second (Mbps), for the underlying connection technology.
2694 NetworkInformation.effectiveType API, Experimental, Network Information API, NetworkInformation, Reference, effectiveType
effectiveType 只读特性在 NetworkInformation interface returns the effective type of the connection meaning one of 'slow-2g', '2g', '3g', or '4g'. This value is determined using a combination of recently observed, round-trip time and downlink values.
2695 NetworkInformation.onchange API, Event Handler, Experimental, Network Information API, NetworkInformation, Property, Reference
NetworkInformation.onchange event handler contains the code that is fired when connection information changes, and the change is received by the NetworkInformation 对象。
2696 NetworkInformation.rtt API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, rtt
NetworkInformation.rtt read-only property returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer RTT measurements across recently active connections. It excludes connections made to a private address space. If no recent measurement data is available, the value is based on the properties of the underlying connection technology.
2697 NetworkInformation.saveData API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference, saveData
NetworkInformation.saveData 只读特性在 NetworkInformation interface returns true if the user has set a reduced data usage option on the user agent.
2698 NetworkInformation.type API, Experimental, Network Information API, NetworkInformation, Property, Read-only, Reference
NetworkInformation.type read-only property returns the type of connection a device is using to communicate with the network.
2699 节点 API, DOM, Interface, Node, Reference
节点 节点
2700 Node.appendChild() API, DOM, Method, Node, Reference
Node.appendChild() method adds a node to the end of the list of children of a specified parent node. If the given child is a reference to an existing node in the document, appendChild() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node).
2701 Node.baseURI API, HTML, NeedsSpecTable, Node, Property, Read-only
baseURI 只读特性返回绝对基 URL 为 节点 .
2702 Node.baseURIObject API, DOM, DOM 3, DOM Reference, Gecko, Node, Non-standard, Property, Read-only, Reference
Node.baseURIObject property returns the nsIURI representing the node's (typically a document or an element) base URL. It's similar to Node.baseURI , except it returns an nsIURI instead of a string.
2703 Node.childNodes API, DOM, DOM Reference, Property, Reference
Node.childNodes read-only property returns a live NodeList of child nodes of the given element where the first child node is assigned index 0.
2704 Node.cloneNode() API, DOM, DOM Reference, Method, NeedsBrowserCompatibility, Reference
Node.cloneNode() method returns a duplicate of the node on which this method was called.
2705 Node.compareDocumentPosition() API, Compare Nodes, DOM, Method, Node, Position, Reference, compareDocumentPosition
Node.compareDocumentPosition() method compares the position of the given node against another node in any document.
2706 Node.contains() API, DOM, Method, Node
Node.contains() 方法返回 布尔 value indicating whether a node is a descendant of a given node, i.e. the node itself, one of its direct children ( childNodes ), one of the children's direct children, and so on.
2707 Node.firstChild API, DOM, Node, Property, Reference
Node.firstChild read-only property returns the node's first child in the tree, or null if the node has no children.
2708 Node.getRootNode() API, DOM, Method, Node, Reference, getRootNode
getRootNode() 方法在 节点 interface returns the context object's root, which optionally includes the shadow root if it is available.
2709 Node.getUserData() API, DOM, Method, Node, Obsolete, Reference
Node.getUserData() method returns any user DOMUserData set previously on the given node by Node.setUserData() .
2710 Node.hasChildNodes() API, DOM, Method, NeedsSpecTable, Node, Reference
Node.hasChildNodes() 方法返回 布尔 value indicating whether the given 节点 has child nodes or not.
2711 Node.insertBefore() API, DOM, Method, Node, Reference
Node.insertBefore() method inserts a node before the reference node as a child of a specified parent node. If the given child is a reference to an existing node in the document, insertBefore() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node).
2712 Node.isConnected API, DOM, Node, Property, Reference
isConnected 只读特性在 节点 interface returns a boolean indicating whether the node is connected (directly or indirectly) to the context object, for example the Document object in the case of the normal DOM, or the ShadowRoot in the case of a shadow DOM.
2713 Node.isDefaultNamespace() API, DOM, Method, NeedsSpecTable, Node, Reference
Node.isDefaultNamespace() method accepts a namespace URI as an argument and returns a 布尔 采用值 true if the namespace is the default namespace on the given node or false 若不。
2714 Node.isEqualNode() API, DOM, Method, Node, Reference
Node.isEqualNode() method tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.
2715 Node.isSameNode() API, DOM, Method, Node, Reference
Node.isSameNode() method tests whether two nodes are the same, that is if they reference the same object.
2716 Node.isSupported() API, DOM, Method, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Node, Obsolete, Reference
Node.isSupported() 返回 布尔 flag containing the result of a test whether the DOM implementation implements a specific feature and this feature is supported by the specific node.
2717 Node.lastChild API, DOM, Property, Reference
Node.lastChild read-only property returns the last child of the node. If its parent is an element, then the child is generally an element node, a text node, or a comment node. It returns null if there are no child elements.
2718 Node.localName API, DOM, Obsolete, Property
Node.localName read-only property returns the local part of the qualified name of this node.
2719 Node.lookupNamespaceURI() API, DOM, Method, NeedsSpecTable, Node, Reference
Node.lookupNamespaceURI() method accepts a prefix and returns the namespace URI associated with it on the given node if found (and null if not).
2720 Node.lookupPrefix() API, DOM, Method, Node, Reference
Node.lookupPrefix() 方法返回 DOMString containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the result is implementation-dependent.
2721 Node.namespaceURI API, DOM, Obsolete, Property, Reference
Node.namespaceURI read-only property returns the namespace URI of the node, or null if the node is not in a namespace. When the node is a document, it returns the XML namespace for the current document.
2722 Node.nextSibling API, DOM, Node, Property
Node.nextSibling read-only property returns the node immediately following the specified one in their parent's childNodes ,或返回 null if the specified node is the last child in the parent element.
2723 Node.nodeName API, DOM, Gecko, NeedsSpecTable, Node, Property, Read-only
nodeName read-only property returns the name of the current 节点 以字符串形式。
2724 Node.nodePrincipal API, DOM, Gecko, Node, Non-standard, Obsolete, Principal, Property, XPCOM, nodePrincipal
Node.nodePrincipal read-only property returns the nsIPrincipal object representing current security context of the node.
2725 Node.nodeType API, DOM, Property, Reference
只读 Node.nodeType property is an integer that identifies what the node is. It distinguishes different kind of nodes from each other, such as 元素 , text and comments .
2726 Node.nodeValue API, DOM, NeedsSpecTable, Node, Property, Reference
nodeValue 特性为 节点 interface returns or sets the value of the current node.
2727 Node.normalize() API, DOM, Method, NeedsSpecTable, Node, Reference
Node.normalize() method puts the specified node and all of its sub-tree into a "normalized" form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.
2728 Node.outerText API, DOM, Node, Property, Reference
HTMLElement.outerText .
2729 Node.ownerDocument API, DOM, Node, Property, Reference
ownerDocument 只读特性在 节点 interface returns the top-level document object of the node.
2730 Node.parentElement API, DOM, JavaScript, NeedsBrowserCompatibility, Node, Property
Node.parentElement read-only property returns the DOM node's parent 元素 ,或 null if the node either has no parent, or its parent isn't a DOM 元素 .
2731 Node.parentNode API, DOM, Gecko, Property
Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
2732 Node.prefix API, DOM, Obsolete, Property
Node.prefix read-only property returns the namespace prefix of the specified node, or null if no prefix is specified.
2733 Node.previousSibling API, DOM, Gecko, Property
Node.previousSibling read-only property returns the node immediately preceding the specified one in its parent's childNodes list, or null if the specified node is the first in that list.
2734 Node.removeChild() API, DOM, Method, NeedsSpecTable, Node, Reference
Node.removeChild() method removes a child node from the DOM and returns the removed node.
2735 Node.replaceChild() API, DOM, Method, Node, Reference
Node.replaceChild() method replaces a child node within the given (parent) node.
2736 Node.rootNode API, DOM, Node, Obsolete, Property, Reference, rootNode
Node.rootNode 只读特性返回 节点 object representing the topmost node in the tree, or the current node if it's the topmost node in the tree. This is found by walking backward along Node.parentNode until the top is reached.
2737 Node.setUserData() API, DOM, Method, Node, Obsolete, Reference
Node.setUserData() method allows a user to attach (or remove) data to an element, without needing to modify the DOM. Note that such data will not be preserved when imported via Node.importNode , as with Node.cloneNode() and Node.renameNode() operations (though Node.adoptNode does preserve the information), and equality tests in Node.isEqualNode() do not consider user data in making the assessment.
2738 Node.textContent API, Command API, DOM, Property, Reference
textContent 特性为 节点 interface represents the text content of the node and its descendants.
2739 NodeFilter API, DOM, DOM Reference
A NodeFilter 接口表示的对象用于过滤节点在 NodeIterator or TreeWalker . They don't know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter.
2740 NodeFilter.acceptNode() API, DOM, DOM Reference, Method, NodeFilter
NodeFilter.acceptNode() method returns an unsigned short that will be used to tell if a given 节点 must be accepted or not by the NodeIterator or TreeWalker iteration algorithm. This method is expected to be written by the user of a NodeFilter . Possible return values are:
2741 NodeIterator API, DOM
NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
2742 NodeIterator.detach() API, DOM, Method, NodeIterator, Obsolete
NodeIterator.detach() method is a no-op, kept for backward compatibility only.
2743 NodeIterator.expandEntityReferences API, DOM, Deprecated, NodeIterator, Property
NodeIterator.expandEntityReferences 只读特性返回 布尔 flag indicating whether or not the children of entity reference nodes are visible to the NodeIterator .
2744 NodeIterator.filter API, DOM, NodeIterator, Property
NodeIterator.filter read-only method returns a NodeFilter object, that is an object implement an acceptNode( node ) method, used to screen nodes.
2745 NodeIterator.nextNode() API, DOM, Method, NodeIterator
NodeIterator.nextNode() method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set.  The first call to nextNode() returns the first node in the set.
2746 NodeIterator.pointerBeforeReferenceNode API, DOM, Experimental, Expérimental(2), NodeIterator, Property
NodeIterator.pointerBeforeReferenceNode 只读特性返回 布尔 flag that indicates whether the NodeFilter is anchored before (if this value is true ) or after (if this value is false ) the anchor node indicated by the NodeIterator.referenceNode 特性。
2747 NodeIterator.previousNode() API, DOM, Method, NodeIterator
NodeIterator.previousNode() method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set.
2748 NodeIterator.referenceNode API, DOM, Experimental, Expérimental(2), NodeIterator, Property
NodeIterator.referenceNode read-only returns the 节点 to which the iterator is anchored; as new nodes are inserted, the iterator remains anchored to the reference node as specified by this property.
2749 NodeIterator.root API, DOM, NodeIterator, Property
NodeIterator.root read-only property represents the 节点 that is the root of what the NodeIterator traverses.
2750 NodeIterator.whatToShow API, DOM, NodeIterator, Property
NodeIterator.whatToShow read-only property represents an unsigned integer representing a bitmask signifying what types of nodes should be returned by the NodeIterator .
2751 NodeList API, DOM, Interface, NodeList
NodeList 对象是集合为 nodes , usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll() .
2752 NodeList.entries() DOM, Iteration, Method, Node, NodeList
NodeList.entries() method returns an iterator allowing to go through all key/value pairs contained in this object. The values are 节点 对象。
2753 NodeList.item() API, DOM, Method, NodeList, Reference
Returns a node from a NodeList by index. This method doesn't throw exceptions as long as you provide arguments. A value of null is returned if the index is out of range, and a TypeError is thrown if no argument is provided.
2754 NodeList.keys() DOM, Iterator, Method, NodeList, Reference, Web
NodeList.keys() method returns an iterator allowing to go through all keys contained in this object. The keys are unsigned integer .
2755 NodeList.length API, DOM, Gecko, NeedsSpecTable, NodeList, Property, Reference
NodeList.length property returns the number of items in a NodeList .
2756 NodeList.prototype.forEach() DOM, Iterable, Method, NodeList, Reference, Web
forEach() 方法在 NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
2757 NodeList.values() DOM, Iterator, Method, NodeList, Reference, Web
NodeList.values() method returns an iterator allowing to go through all values contained in this object. The values are 节点 对象。
2758 NonDocumentTypeChildNode API, DOM, Interface, NonDocumentTypeChildNode, Reference
NonDocumentTypeChildNode interface contains methods that are particular to 节点 objects that can have a parent, but not suitable for DocumentType .
2759 NonDocumentTypeChildNode.nextElementSibling API, DOM, NonDocumentTypeChildNode, Property
NonDocumentTypeChildNode.nextElementSibling read-only property returns the element immediately following the specified one in its parent's children list, or null if the specified element is the last one in the list.
2760 NonDocumentTypeChildNode.previousElementSibling API, DOM, NonDocumentTypeChildNode, Property, Read-only, Reference
NonDocumentTypeChildNode.previousElementSibling read-only property returns the 元素 immediately prior to the specified one in its parent's children list, or null if the specified element is the first one in the list.
2761 Notation API, Obsolete, Reference, Référence(2)
Represents a DTD notation (read-only). May declare format of an unparsed entity or formally declare the document's processing instruction targets. Inherits methods and properties from 节点 . Its nodeName is the notation name. Has no parent.
2762 Notification API, Interface, Notifications, Reference
Notification 接口在 Notifications API is used to configure and display desktop notifications to the user.
2763 Notification.Notification() API, Constructor, Notification, Notifications, Reference
Notification() 构造函数创建新 Notification object instance, which represents a user notification.
2764 Notification.actions API, DOM, Notifications, Property, Reference, Web Notifications, Web Notifications API, actions
actions 只读特性在 Notification interface returns the list of NotificationAction objects set using the actions option when creating the notification using the Notification() 构造函数。
2765 Notification.badge API, Notification, Notifications, Property, Reference, badge
badge 特性为 Notification interface returns the URL of the image used to represent the notification when there is not enough space to display the notification itself.
2766 Notification.body API, BODY, DOM, Notifications, Property, Reference
body 只读特性在 Notification interface indicates the body string of the notification, as specified in the body option of the Notification() 构造函数。
2767 Notification.close() API, DOM, Method, Notifications, Reference, close
close() 方法在 Notification interface is used to close a previously displayed notification.
2768 Notification.data API, Notifications, Property, Reference, data
data 只读特性在 Notification interface returns a structured clone of the notification's data, as specified in the data option of the Notification() 构造函数。
2769 Notification.dir API, DOM, Notifications, Property, Reference, dir
dir 只读特性在 Notification interface indicates the text direction of the notification, as specified in the dir option of the Notification() 构造函数。
2770 Notification.icon API, DOM, Notification, Notifications, Property, Reference, icon
icon 只读特性在 Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the icon option of the Notification() 构造函数。
2771 Notification.image API, DOM, Image, Notifications, Property, Reference
image 只读特性在 Notification interface contains the URL of an image to be displayed as part of the notification
2772 Notification.lang API, DOM, Notification, Notifications, Property, Reference
lang 只读特性在 Notification interface indicates the text direction of the notification, as specified in the lang option of the Notification() 构造函数。
2773 Notification.maxActions API, DOM, Notifications, Reference, Web Notifications, Web Notifications API, actions
maxActions 属性在 Notification interface returns the maximun number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
2774 Notification.onclick API, DOM, Notifications, Property, Reference, onclick
onclick 特性为 Notification interface specifies an event listener to receive click events. These events occur when the user clicks on a displayed Notification .
2775 Notification.onclose API, DOM, Notifications, Obsolete, Property, Reference, onclose
onclose 特性为 Notification interface specifies an event listener to receive close events. These events occur when a Notification is closed.
2776 Notification.onerror API, DOM, Notifications, Property, Reference, onerror
onerror 特性为 Notification interface specifies an event listener to receive error events. These events occur when something goes wrong with a Notification (in many cases an error preventing the notification from being displayed.)
2777 Notification.onshow API, DOM, Notifications, Obsolete, Property, Reference, Référence(2), onshow
onshow 特性为 Notification interface specifies an event listener to receive show events. These events occur when a Notification is displayed.
2778 Notification.permission API, DOM, Notifications, Property, Reference
permission 只读特性在 Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
2779 Notification.renotify API, Experimental, Notifications, Property, Reference, renotify
renotify 只读特性在 Notification interface specifies whether the user should be notified after a new notification replaces an old one, as specified in the renotify option of the Notification() 构造函数。
2780 Notification.requestPermission() API, DOM, Method, Notifications, Reference
requestPermission() 方法在 Notification interface requests permission from the user for the current origin to display notifications.
2781 Notification.requireInteraction API, DOM, Notification, Property, Reference, Web, requireInteraction
requireInteraction 只读特性在 Notification interface returns a 布尔 indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.
2782 Notification.silent API, Experimental, Notification, Notifications, Property, Reference, silent
silent 只读特性在 Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued, regardless of the device settings. This is specified in the renotify option of the Notification() 构造函数。
2783 Notification.tag API, DOM, Notification, Notifications, Property, Reference, tag
tag 只读特性在 Notification interface signifies an identifying tag for the notification, as specified in the tag option of the Notification() 构造函数。
2784 Notification.timestamp API, Notifications, Property, Reference, timeStamp
timestamp 只读特性在 Notification interface returns a DOMTimeStamp , as specified in the timestamp option of the Notification() 构造函数。
2785 Notification.title API, Notifications, Property, Reference, Title
title 只读特性在 Notification interface indicates the title of the notification, as specified in the title parameter of the Notification() 构造函数。
2786 Notification.vibrate API, Device
vibrate 只读特性在 Notification interface specifies a a vibration pattern for the device's vibration hardware to emit when the notification fires. This is specified in the vibrate option of the Notification() 构造函数。
2787 NotificationAction
NotificationAction 接口在 Notifications API is used to represent action buttons the user can click to interact with notifications.
2788 NotificationEvent API, Experimental, Interface, NotificationEvent, Reference, Service Workers, ServiceWorker
The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope ServiceWorker .
2789 NotificationEvent.NotificationEvent() API, Constructor, Experimental, NotificationEvent, Reference, Service Workers, ServiceWorker
NotificationEvent() 构造函数创建新 NotificationEvent 对象。
2790 NotificationEvent.action API, Experimental, NotificationEvent, Property, Reference, Service Workers, ServiceWorker, action
Returns the string ID of the notification button the user clicked. This value returns an empty string if the user clicked the notification somewhere other than an action button, or the notification does not have a button. The notification id is set during the creation of the Notification via the actions array attribute and can't be modified unless the notification is replaced.
2791 NotificationEvent.notification API, Experimental, NotificationEvent, Notifications, Property, Reference, Service Workers, ServiceWorker
notification 只读特性在 NotificationEvent interface returns the instance of the Notification that was clicked to fire the event. The Notification provides read-only access to many properties that were set at the instantiation time of the Notification such as tag and data attributes that allow you to store information for defered use in the notificationclick 事件。
2792 Notifications API Landing, Notifications, permission, system
The Notifications API allows web pages to control the display of system notifications to the end user. These are outside the top-level browsing context viewport, so therefore can be displayed even when the user has switched tabs or moved to a different app. The API is designed to be compatible with existing notification systems, across different platforms.
2793 Using the Notifications API API, Advanced, DOM, Guide, Notifications, Notifications API, Push, Tutorial
Notifications API lets a web page or app send notifications that are displayed outside the page at the system level; this lets web apps send information to a user even if the application is idle or in the background. This article looks at the basics of using this API in your own apps.
2794 NotifyAudioAvailableEvent API, Audio, Deprecated, NeedsContent, Non-standard, Reference, Référence(2)
The non-standard, obsolete, NotifyAudioAvailableEvent interface defines the event sent to audio elements  when the audio buffer is full.
2795 OES_element_index_uint API, Reference, WebGL, WebGL extension
OES_element_index_uint 扩展属于 WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements() .
2796 OES_fbo_render_mipmap API, Reference, WebGL, WebGL extension, WebGL extensions
OES_fbo_render_mipmap 扩展属于 WebGL API and makes it possible to attach any level of a texture to a framebuffer object.
2797 OES_standard_derivatives API, Reference, WebGL, WebGL extension
OES_standard_derivatives 扩展属于 WebGL API and adds the GLSL derivative functions dFdx , dFdy ,和 fwidth .
2798 OES_texture_float API, Reference, WebGL, WebGL extension
OES_texture_float 扩展属于 WebGL API and exposes floating-point pixel types for textures.
2799 OES_texture_float_linear API, Reference, WebGL, WebGL extension
OES_texture_float_linear 扩展属于 WebGL API and allows linear filtering with floating-point pixel types for textures.
2800 OES_texture_half_float API, Reference, WebGL, WebGL extension
OES_texture_half_float 扩展属于 WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
2801 OES_texture_half_float_linear API, Reference, WebGL, WebGL extension
OES_texture_half_float_linear 扩展属于 WebGL API and allows linear filtering with half floating-point pixel types for textures.
2802 OES_vertex_array_object API, Reference, WebGL, WebGL extension
OES_vertex_array_object 扩展属于 WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data.
2803 OES_vertex_array_object.bindVertexArrayOES() API, Method, Reference, VAO, WebGL, WebGL extension
OES_vertex_array_object.bindVertexArrayOES() 方法在 WebGL API binds a passed WebGLVertexArrayObject object to the buffer.
2804 OES_vertex_array_object.createVertexArrayOES() API, Method, Reference, VAO, WebGL, WebGL extension
OES_vertex_array_object.createVertexArrayOES() 方法在 WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
2805 OES_vertex_array_object.deleteVertexArrayOES() API, Method, Reference, VAO, WebGL, WebGL extension
OES_vertex_array_object.deleteVertexArrayOES() 方法在 WebGL API deletes a given WebGLVertexArrayObject 对象。
2806 OES_vertex_array_object.isVertexArrayOES() API, Method, Reference, VAO, WebGL, WebGL extension
OES_vertex_array_object.isVertexArrayOES() 方法在 WebGL API 返回 true if the passed object is a WebGLVertexArrayObject 对象。
2807 OfflineAudioCompletionEvent API, Interface, OfflineAudioCompletionEvent, Reference, Référence(2), Web Audio API
Web 音频 API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface.
2808 OfflineAudioCompletionEvent.OfflineAudioCompletionEvent() API, Audio, Constructor, OfflineAudioCompletionEvent, Reference, Web Audio API
OfflineAudioCompletionEvent() constructor of the Web 音频 API creates a new OfflineAudioCompletionEvent 对象实例。
2809 OfflineAudioCompletionEvent.renderedBuffer API, Audio, OfflineAudioCompletionEvent, Property, Reference, Web Audio API
renderedBuffer 只读特性在 OfflineAudioCompletionEvent interface is an AudioBuffer containing the result of processing an OfflineAudioContext .
2810 OfflineAudioContext API, Audio, Interface, OfflineAudioContext, Reference, Web Audio API
OfflineAudioContext interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNode s. In contrast with a standard AudioContext OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer .
2811 OfflineAudioContext.OfflineAudioContext() API, Audio, Audio Contexts, Constructor, OfflineAudioContext, Reference, Web Audio API
OfflineAudioContext() constructor—part of the Web 音频 API —creates and returns a new OfflineAudioContext object instance, which can then be used to render audio to an AudioBuffer rather than to an audio output device.
2812 OfflineAudioContext.length API, NeedsExample, OfflineAudioContext, Property, Reference, Web Audio API
length 特性为 OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.
2813 OfflineAudioContext.oncomplete API, OfflineAudioContext, Property, Reference, Référence(2), Web Audio API, oncomplete
When processing is complete, you might want to use the oncomplete handler the prompt the user that the audio can now be played, and enable the play button.
2814 OfflineAudioContext.resume() API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, resume
resume() 方法在 OfflineAudioContext interface resumes the progression of time in an audio context that has been suspended. The promise resolves immediately because the OfflineAudioContext does not require the audio hardware. If the context is not currently suspended or the rendering has not started, the promise is rejected with InvalidStateError .
2815 OfflineAudioContext.startRendering() API, Method, OfflineAudioContext, Reference, Web Audio API, startRendering
startRendering() 方法在 OfflineAudioContext Interface starts rendering the audio graph, taking into account the current connections and the current scheduled changes.
2816 OfflineAudioContext.suspend() API, Method, NeedsExample, OfflineAudioContext, Reference, Web Audio API, suspend
suspend() 方法在 OfflineAudioContext interface schedules a suspension of the time progression in the audio context at the specified time and returns a promise. This is generally useful at the time of manipulating the audio graph synchronously on OfflineAudioContext.
2817 OfflineAudioContext: complete event API, Event, OfflineAudioContext, Reference, Web Audio API, complete
complete event of the OfflineAudioContext interface is fired when the rendering of an offline audio context is complete.
2818 OffscreenCanvas API, Canvas, Experimental, Interface, Reference
OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker 上下文。
2819 OffscreenCanvas() API, Canvas, Constructor, Experimental, OffscreenCanvas, Reference, WebGL
OffscreenCanvas() constructor returns a newly instantiated OffscreenCanvas 对象。
2820 OffscreenCanvas.convertToBlob() API, Canvas, Experimental, Method, OffscreenCanvas, Reference
OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.
2821 OffscreenCanvas.convertToBlob() API, Canvas, Experimental, Junk, Method, OffscreenCanvas, Reference
No summary!
2822 OffscreenCanvas.convertToBlob() API, Canvas, Experimental, Method, OffscreenCanvas, Reference
OffscreenCanvas.convertToBlob() method creates a Blob object representing the image contained in the canvas.
2823 OffscreenCanvas.getContext() API, Canvas, Experimental, Method, OffscreenCanvas, Reference
OffscreenCanvas.getContext() method returns a drawing context for an offscreen canvas, or null if the context identifier is not supported.
2824 OffscreenCanvas.height API, Canvas, Experimental, OffscreenCanvas, Property, Reference
height property returns and sets the height of an OffscreenCanvas 对象。
2825 OffscreenCanvas.transferToImageBitmap() API, Canvas, Experimental, Method, OffscreenCanvas, Reference
OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas .
2826 OffscreenCanvas.width API, Canvas, Experimental, OffscreenCanvas, Property, Reference
width property returns and sets the width of an OffscreenCanvas 对象。
2827 OrientationSensor API, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors
OrientationSensor 接口的 Sensor APIs is the base class for orientation sensors. This interface cannot be used directly. Instead it provides properties and methods accessed by interfaces that inherit from it.
2828 OrientationSensor.populateMatrix() API, Generic Sensor API, Method, Orientation Sensor API, OrientationSensor, Reference, Sensor, Sensor APIs, Sensors, populateMatrix()
populateMatrix 方法在 OrientationSensor interface populates the given target matrix with the rotation matrix based on the latest sensor reading. The rotation matrix is shown below.
2829 OrientationSensor.quaternion API, Generic Sensor API, Orientation Sensor API, OrientationSensor, Property, Reference, Sensor, Sensor APIs, Sensors
quaternion 只读特性在 OrientationSensor interface returns a four element 数组 whose elements contain the components of the unit quaternion representing the device's orientation.
2830 OscillatorNode API, Constructor, Interface, Media, OscillatorNode, Reference, Web Audio API
OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
2831 OscillatorNode.OscillatorNode() Audio, Constructor, Media, OscillatorNode, Reference, Web Audio, Web Audio API
OscillatorNode() constructor of the Web 音频 API creates a new OscillatorNode object which is an AudioNode that represents a periodic waveform, like a sine wave, optionally setting the node's properties' values to match values in a specified object.
2832 OscillatorNode.detune API, OscillatorNode, Property, Reference, Web Audio API, detune
An a-rate AudioParam .
2833 OscillatorNode.frequency API, OscillatorNode, Property, Reference, Web Audio API, frequency
An a-rate AudioParam .
2834 OscillatorNode.onended API, OscillatorNode, Property, Reference, Web Audio API, onended
onended 特性为 OscillatorNode interface is used to set the event handler for the ended event, which fires when the tone has stopped playing.
2835 OscillatorNode.setPeriodicWave() API, Method, OscillatorNode, Reference, Web Audio API, setPeriodicWave
setPeriodicWave() 方法在 OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when type is custom .
2836 OscillatorNode.start() API, Method, OscillatorNode, Reference, Web Audio API, start
The following example shows basic usage of an AudioContext to create an oscillator node. For an applied example, check out our Violent Theremin demo ( see app.js for relevant code).
2837 OscillatorNode.stop() API, Method, OscillatorNode, Reference, Web Audio API, stop
The following example shows basic usage of an AudioContext to create an oscillator node. For an applied example, check out our Violent Theremin demo ( see app.js for relevant code).
2838 OscillatorNode.type API, OscillatorNode, Property, Reference, Type, Web Audio API
A DOMString specifying the shape of oscillator wave. The different available values are:
2839 OverconstrainedError API, Audio, Interface, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video
OverconstrainedError 接口在 Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied.
2840 OverconstrainedError.OverconstrainedError() API, Audio, Constructor, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Reference, Video
OverconstrainedError 构造函数创建新 OverconstrainedError object which indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack , it is muted until either the current constraints can be established or until satisfiable constraints are applied.
2841 OverconstrainedError.constraint API, Audio, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Property, Reference, Video, constraint
constraint 只读特性在 OverconstrainedError interface returns the constraint that was supplied in the constructor, meaning the contraint that was not satisfied.
2842 OverconstrainedError.message API, Audio, Media, Media Capture and Streams, Media Streams API, OverconstrainedError, Property, Reference, Video, message
message 只读特性在 OverconstrainedError interface returns the text supplied in the constructor.
2843 OverconstrainedError.name API, Audio, Media, Media Capture and Streams API, Media Streams API, OverconstrainedError, Property, Reference, Video, name
名称 只读特性在 OverconstrainedError interface will always return 'OverconstrainedError' .
2844 页面可见性 API API, DOM, Documents, Hidden Pages, Hiding Pages, Intermediate, Page Visibility, Page Visibility API, Showing Pages, Tutorials, Visibility, Visible Pages
The Page Visibility API provides events you can watch for to know when a document becomes visible or hidden, as well as features to look at the current visibility state of the page.
2845 PageTransitionEvent API, Interface, PageTransitionEvent, Reference
PageTransitionEvent is fired when a document is being loaded or unloaded.
2846 PageTransitionEvent.persisted API, PageTransitionEvent, Property, Reference, Web API
persisted read-only property indicates if a webpage is loading from a cache.
2847 PaintWorklet API, CSS, CSS Paint API, Houdini, Interface, Painting, Reference, Worklet, paintWorklet
PaintWorklet 接口在 CSS Painting API programmatically generates an image where a CSS property expects a file. Access this interface through CSS.paintWorklet .
2848 PaintWorklet.devicePixelRatio API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet
PaintWorklet.devicePixelRatio 只读特性在 PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
2849 PaintWorklet.devicePixelRatio CSS Paint API, DPI, Houdini, NeedsBrowserCompatibility, NeedsExample, NeedsLiveSample, Property, Reference, Worklet, devicePixelRatio, paintWorklet
PaintWorklet.devicePixelRatio 只读特性在 PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
2850 PaintWorklet.registerPaint API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, paintWorklet, registerPaint
PaintWorklet.registerPaint() 方法在 PaintWorklet interface registers a class programmatically generate an image where a CSS property expects a file.
2851 Paint​Worklet​.device​Pixel​Ratio API, CSS, CSS Paint API, Houdini, Painting, Property, Reference, Worklet, devicePixelRatio, paintWorklet
PaintWorklet.devicePixelRatio 只读特性在 PaintWorklet interface returns the current device's ratio of physical pixels to logical pixels.
2852 PannerNode API, Interface, PannerNode, Reference, Web Audio API
A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can't have panning effects without at least two audio channels!
2853 PannerNode.PannerNode() API, Audio, Constructor, PannerNode, Reference, Web Audio API
PannerNode() constructor of the Web 音频 API creates a new PannerNode 对象实例。
2854 PannerNode.coneInnerAngle API, PannerNode, Property, Reference, Web Audio API, coneInnerAngle
A double.
2855 PannerNode.coneOuterAngle API, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterAngle
A double.
2856 PannerNode.coneOuterGain API, PannerNode, Property, Reference, Référence(2), Web Audio API, coneOuterGain
coneOuterGain 特性为 PannerNode interface is a double value, describing the amount of volume reduction outside the cone, defined by the coneOuterAngle 属性。
2857 PannerNode.distanceModel API, PannerNode, Property, Reference, Web Audio API, distanceModel
A enum — see DistanceModelType .
2858 PannerNode.maxDistance API, PannerNode, Property, Reference, Web Audio API, maxDistance
A double. The default is 10000 , and non-positive values are not allowed.
2859 PannerNode.orientationX PannerNode, Property, Reference, Web Audio API, orientationX
An AudioParam whose value is the X component of the direction in which the audio source is facing, in 3D Cartesian coordinate space.
2860 PannerNode.orientationY API, PannerNode, Property, Reference, Web Audio API, orientationY
An AudioParam whose value is the Y component of the direction the audio source is facing, in 3D Cartesian coordinate space.
2861 PannerNode.orientationZ Audio, PannerNode, Property, Web Audio
An AudioParam whose value is the Z component of the direction the audio source is facing, in 3D Cartesian coordinate space.
2862 PannerNode.panningModel API, PannerNode, Property, Reference, Web Audio API, panningModel
A enum — see PanningModelType .
2863 PannerNode.positionX API, PannerNode, Property, Reference, Web Audio API, positionX
An AudioParam whose value is the X coordinate of the audio source's position, in 3D Cartesian coordinates. The default value is 0.
2864 PannerNode.positionY API, PannerNode, Property, Reference, Web Audio API, positionY
An AudioParam whose value is the Y coordinate of the audio source's position, in 3D Cartesian coordinates.
2865 PannerNode.positionZ API, PannerNode, Property, Reference, Web Audio API, positionZ
An AudioParam whose value is the Z coordinate of the audio source's position, in 3D Cartesian coordinates.
2866 PannerNode.refDistance API, PannerNode, Property, Reference, Référence(2), Web Audio API, refDistance
A non-negative number. If the value is set to less than 0, a RangeError is thrown.
2867 PannerNode.rolloffFactor API, PannerNode, Property, Reference, Web Audio API, rollOffFactor
A number whose range depends on the distanceModel of the panner as follows (negative values are not allowed):
2868 PannerNode.setOrientation() API, Method, PannerNode, Reference, Web Audio API, setOrientation
Void.
2869 PannerNode.setPosition() API, Method, PannerNode, Reference, Web Audio API, setPosition
Void.
2870 PannerNode.setVelocity() API, Audio, Deprecated, Doppler Effect, Method, PannerNode, Reference, Web Audio API, setVelocity
setVelocity() 方法在 PannerNode Interface defines the velocity vector of the audio source — how fast it is moving and in what direction.
2871 ParentNode API, DOM, Finding Elements, Finding Nodes, Interface, Locating Elements, Locating Nodes, Managing Elements, Managing Nodes, Mixin, Node, ParentNode, Reference, Selectors
ParentNode mixin contains methods and properties that are common to all types of 节点 objects that can have children.
2872 ParentNode.append() API, DOM, Method, Node, ParentNode, Reference
ParentNode.append() method inserts a set of 节点 对象或 DOMString objects after the last child of the ParentNode . DOMString objects are inserted as equivalent 文本 节点。
2873 ParentNode.childElementCount API, DOM, ParentNode, Property, Reference
ParentNode.childElementCount read-only property returns an unsigned long representing the number of child elements of the given element.
2874 ParentNode.children API, Child, Child Nodes, DOM, HTMLCollection, Node, ParentNode, Property, children
ParentNode property children is a read-only property that returns a live HTMLCollection which contains all of the child 元素 of the node upon which it was called.
2875 ParentNode.firstElementChild API, DOM, ParentNode, Property
ParentNode.firstElementChild read-only property returns the object's first child 元素 ,或 null if there are no child elements.
2876 ParentNode.lastElementChild API, DOM, ParentNode, Property
ParentNode.lastElementChild read-only property returns the object's last child 元素 or null if there are no child elements.
2877 ParentNode.prepend() API, DOM, Method, Node, ParentNode, Reference, prepend
ParentNode.prepend() method inserts a set of 节点 对象或 DOMString objects before the first child of the ParentNode . DOMString objects are inserted as equivalent 文本 节点。
2878 ParentNode.querySelector() API, DOM, Draft, Method, NeedsExample, ParentNode, Reference, Selectors, querySelector
ParentNode mixin defines the querySelector() method as returning an 元素 representing the first element matching the specified group of selectors which are descendants of the object on which the method was called.
2879 ParentNode.querySelectorAll() API, DOM, Document, Finding Elements, Finding Nodes, Method, ParentNode, Reference, Searching Elements, Searching Nodes, Selectors, querySelectorAll
ParentNode mixin defines the querySelectorAll() method as returning a NodeList representing a list of elements matching the specified group of selectors which are descendants of the object on which the method was called.
2880 PasswordCredential API, Credential Management API, Interface, PasswordCredential, Reference, credential management
The interface of the 证书管理 API provides information about a username/password pair. In supporting browsers an instance of this class may be passed in the credential 成员对于 init object for global fetch .
2881 PasswordCredential API, Constructor, Credential Management API, PasswordCredential, Reference, credential management
PasswordCredential 构造函数创建新 PasswordCredential 对象。
2882 PasswordCredential.additionalData API, Credential Management API, PasswordCredential, Property, Reference, credential management
additionalData 特性为 PasswordCredential interface takes one of a FormData instance, a URLSearchParams instance, or null.
2883 PasswordCredential.iconURL API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
iconURL 只读特性在 PasswordCredential interface returns a USVString containing a URL pointing to an image for an icon. This image is intended for display in a credential chooser. The URL must be accessible without authentication.
2884 PasswordCredential.idName API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
idName 特性为 PasswordCredential interface returns a USVString , representing the name that will be used for the ID field
2885 PasswordCredential.name API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
名称 只读特性在 PasswordCredential interface returns a USVSTring containing a human-readable public name for display in a credential chooser.
2886 PasswordCredential.password API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
password 只读特性在 PasswordCredential interface returns a USVString containing the password of the credential.
2887 PasswordCredential.passwordName API, Credential Management API, NeedsExample, PasswordCredential, Property, Reference, credential management
passwordName 特性为 PasswordCredential interface returns a USVString , depicting the name used by the password field
2888 Path2D API, Canvas, Interface, Path2D, Reference
Path2D interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D 对象。 path methods CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
2889 Path2D() API, Canvas, Constructor, Drawing, Graphics, Path2D, Paths, Reference
Path2D() constructor returns a newly instantiated Path2D object, optionally with another path as an argument (creates a copy), or optionally with a string consisting of SVG path 数据。
2890 Path2D.addPath() API, Canvas, Method, Path2D, Path2D.addPath, Reference
Path2D .addPath() method of the Canvas 2D API adds one Path2D object to another Path2D 对象。
2891 PayerErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment, paymentAddress
PayerErrors 字典用于 支付请求 API to indicate the presence of—and to explain how to correct—validation errors in the payer details.
2892 PayerErrors.email API, Commerce, Email, Errors, PayerErrors, Payment Request, Payment Request API, Reference, Shopping, Validation, payment
email property is included in a PayerErrors object if the PaymentResponse.payerEmail property failed validation; in this case, the property should contain a string describing how to correct the problem. If the payer's email address passed validation, this property is not included in the PayerErrors 对象。
2893 PayerErrors.name API, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Property, Reference, Response, Validation, name, payment
名称 property is included in a PayerErrors object if the payerName returned in the response couldn't be validated. The value is a string explaining the problem. If the payer's name validated successfully, the 名称 property is omitted from the PayerErrors 对象。
2894 PayerErrors.phone API, Commerce, Errors, Payer, PayerErrors, Payment Request, Payment Request API, Phone, Phone Number, Property, Reference, Response, Validation, payment
phone property is found in a PayerErrors object if the payerName returned in the response couldn't be validated as a valid phone number. The value of this property is a string explaining the problem. If the payer's phone number validated successfully, the phone property is omitted from the PayerErrors 对象。
2895 支付请求 API API, Commerce, Credit Card, Intermediate, Landing, NeedsContent, Overview, Payment Request, Payment Request API, Reference, Secure context, payment
The Payment Request API provides a consistent user experience for both merchants and users. It is not a new way for paying for things; rather, it's a way for users to select their preferred way of paying for things, and make that information available to a merchant.
2896 Payment processing concepts API, Apple Pay, Commerce, Guide, Intermediate, Payee, Payer, Payment Handler, Payment Method, Payment Request API, Payments
In this article, we'll take a look at how the API operates and what each of its components does.
2897 Using the Payment Request API Demos, Examples, Guide, Payment Request API, PaymentRequest
This article is a guide to making use of the 支付请求 API , with examples and suggested best practices.
2898 PaymentAddress API, Interface, Payment Request, Payment Request API, PaymentRequest, Reference, paymentAddress
PaymentAddress 接口在 支付请求 API is used to store shipping or payment address information.
2899 PaymentAddress.addressLine API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, payment, paymentAddress
addressLine 只读特性在 PaymentAddress interface is an array of DOMString objects, each specifying a line of the address that is not covered by one of the other properties of PaymentAddress .
2900 PaymentAddress.city API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, city, payment, paymentAddress, town, village
city 只读特性在 PaymentAddress interface returns a string containing the city or town portion of the address.
2901 PaymentAddress.country API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Reference, country, payment, paymentAddress
country 只读特性在 PaymentAddress interface is a string identifying the address's country using the ISO 3166-1 alpha-2 standard. The string is always in its canonical upper-case form.
2902 PaymentAddress.dependentLocality API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress
只读 dependentLocality 特性为 PaymentAddress interface is a string containing a sublocality designation within a city, such as a  neighborhood, borough, district, or, in the United Kingdom, a dependent locality. Also known as a post town .
2903 PaymentAddress.languageCode API, Address, Deprecated, Language, LanguageCode, Locale, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc
languageCode 只读特性在 PaymentAddress interface returns a string containing the BCP-47 language code for the address.
2904 PaymentAddress.organization API, Address, Payment Request, Payment Request API, PaymentRequest, Property, Read-only, Reference, business, company, institution, organization, paymentAddress
organization 只读特性在 PaymentAddress interface returns a string containing the name of the organization, firm, company, or institution at the address.
2905 PaymentAddress.phone API, Address, Payment Request, Payment Request API, PaymentRequest, Phone, Phone Number, Property, Read-only, Reference, Téléphone, payment, paymentAddress
只读 phone 特性为 PaymentAddress interface returns a string containing the telephone number of the recipient or contact person.
2906 PaymentAddress.postalCode API, Address, PIN, PIN Code, Payment Request, Payment Request API, PaymentRequest, Post Code, Postal Code, Property, Read-only, Reference, ZIP, ZIP Code, payment, paymentAddress, postalCode
postalCode 只读特性在 PaymentAddress interface returns a string containing a code used by a jurisdiction for mail routing, for example, the ZIP Code in the United States or the Postal Index Number (PIN code) in India.
2907 PaymentAddress.recipient API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress
只读 recipient 特性为 PaymentAddress interface returns a string containing the name of the recipient, purchaser, or contact person at the payment address.
2908 PaymentAddress.region API, Address, County, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, state
只读 region 特性为 PaymentAddress interface returns a string containing the top-level administrative subdivision of the country in which the address is located. For example, this may be a state, province, oblast, or prefecture.
2909 PaymentAddress.regionCode API, Address, Oblast, Payment Request, Payment Request API, Prefecture, Property, Province, Read-only, Reference, payment, paymentAddress, region, regionCode, state
regionCode read-only attribute of the PaymentAddress interface returns a one-, two-, or three-alphanumeric code ( DOMString ) representing the region of the address (e.g., "CA" for California, or "11" for Lisbon, Portugal).
2910 PaymentAddress.sortingCode API, Address, Payment Request, Payment Request API, Property, Read-only, Reference, Sorting Code, payment, paymentAddress, sortingCode
sortingCode 只读特性在 PaymentAddress interface returns a string containing a postal sorting code such as is used in France.
2911 PaymentAddress.toJSON() API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, paymentAddress, toJSON
toJSON() 特性为 PaymentAddress interface is a standard serializer that returns a JSON representation of the PaymentAddress object's properties.
2912 PaymentCurrencyAmount API, Commerce, Currency, Dictionary, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Reference, Shipping, cost, payment, value
PaymentCurrencyAmount dictionary describes an amount of money in terms of both a number of units and the currency (US dollars, Euro, yen, etc.), and is part of the 支付请求 API .
2913 PaymentCurrencyAmount.currency API, Commerce, Currency, Monetary System, Money, Payment Request, Payment Request API, PaymentCurrencySystem, Reference, payment
PaymentCurrencyAmount property currency is a string which specifies the currency in which the value 被指定。
2914 PaymentCurrencyAmount.currencySystem API, Commerce, Currency, Currency System, Money, Obsolete, Payment Request, Payment Request API, PaymentCurrencyAmount, Property, Reference, payment
obsolete PaymentCurrencyAmount property currencySystem is a string which specifies the standard being used to specify the currency the value is specified in.
2915 PaymentCurrencyAmount.value API, Commerce, Currency, Payment Request, Payment Request API, PaymentCurrencyAmount, Price, Property, Reference, cost, payment, value
PaymentCurrencyAmount property value is a string containing the decimal numeric value of the payment, specified in the currency units indicated by the currency 特性。
2916 PaymentDetailsBase API, Dictionary, Experimental, Interface, Mixin, PaymentDetailsBase, Payments, Reference, Web Payments, Web Payments API
PaymentDetailsBase dictionary is a mixin used by the PaymentDetailsInit and PaymentDetailsUpdate 字典。
2917 PaymentDetailsUpdate API, Dictionary, Interface, Payment Request, Payment Request API, PaymentDetailsUpdate, Reference, details, payment
PaymentDetailsUpdate dictionary is used to provide updated information to the payment user interface after it has been instantiated.
2918 PaymentDetailsUpdate.error API, Error, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, payment
PaymentDetailsUpdate dictionary's error property is a human-readable DOMString which provides an error message to be displayed if the specified information doesn't offer any valid shipping options.
2919 PaymentDetailsUpdate.shippingAddressErrors API, Address, Errors, Payment Request, Payment Request API, PaymentDetailsUpdate, Property, Reference, Shipping, Validation, payment, shippingAddressErrors
PaymentDetailsUpdate dictionary's shippingAddressErrors property, if present,  contains an AddressErrors object whose contents provide error messages for one or more of the values in the PaymentAddress specified as PaymentRequest.shippingAddress .
2920 PaymentItem API, Commerce, Dictionary, Payment Request, Payment Request API, PaymentItem, Reference, payment
PaymentItem 字典用于 支付请求 API to describe a single line item on a payment request.
2921 PaymentMethodChangeEvent API, Interface, Payment Handler, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, payment
PaymentMethodChangeEvent 接口在 支付请求 API describes the paymentmethodchange event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a "store" card to make a purchase while using Apple Pay).
2922 PaymentMethodChangeEvent API, Commerce, Interface, Payment Method, Payment Request API, PaymentMethodChangeEvent, Reference, payment
PaymentMethodChangeEvent() 构造函数创建新 PaymentMethodChangeEvent object providing details about a paymentmethodchange 事件。
2923 PaymentMethodChangeEvent.methodDetails API, Commerce, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodDetails, payment, paymentmethodchange
PaymentMethodChangeEvent interface is an object containing any data the payment handler may provide to describe the change the user has made to their payment method.
2924 PaymentMethodChangeEvent.methodName API, Commerce, Payment Handler, Payment Method, Payment Request, Payment Request API, PaymentMethodChangeEvent, Property, Reference, methodName, payment
PaymentMethodChangeEvent interface is a string which uniquely identifies the payment handler currently selected by the user.
2925 PaymentRequest API, Commerce, Interface, Merchants, Money, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context
Payment Request API's PaymentRequest interface the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app.
2926 PaymentRequest.PaymentRequest() API, Constructor, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, payment
PaymentRequest() 构造函数创建新 PaymentRequest object which will be used to handle the process of generating, validating, and submitting a payment request.
2927 PaymentRequest.abort() API, Experimental, Payment Request API, PaymentRequest, Reference, Secure context, abort
PaymentRequest.abort() 方法在 PaymentRequest interface causes the user agent to end the payment request and to remove any user interface that might be shown.
2928 PaymentRequest.canMakePayment() API, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, canMakePayment
PaymentRequest 方法 canMakePayment() determines whether or not the request is configured in a way that is compatible with at least one payment method supported by the 用户代理 .
2929 PaymentRequest.onmerchantvalidation API, Commerce, Event Handler, Payment Method, Payment Request API, PaymentRequest, Property, Reference, onmerchantvalidation, payment
PaymentRequest event handler onmerchantvalidation is invoked when the merchantvalidation
2930 PaymentRequest.onpaymentmethodchange API, Commerce, Event Handler, Payment Method, PaymentRequest, Property, Reference, onpaymentmethodchange, payment
PaymentRequest event handler onpaymentmethodchange is invoked when the paymentmethodchange
2931 PaymentRequest.onshippingaddresschange API, Event Handler, Experimental, Payment Request, Payment Request API, Property, Reference, Secure context, onshippingaddresschange
onshippingaddresschange event of the PaymentRequest interface is fired whenever the user changes their shipping address, including when an address is added by the user for the first time.
2932 PaymentRequest.onshippingoptionchange API, Event Handler, Experimental, Payment Request, Payment Request API, Reference, Secure context, onshippingoptionchange
onshippingoptionchange event of the PaymentRequest interface is fired whenever the user changes a shipping option.
2933 PaymentRequest.prototype.id API, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, id
id read-only attribute of the PaymentRequest interface returns a unique identifier for a particular PaymentRequest 实例。
2934 PaymentRequest.shippingAddress API, Experimental, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingAddress
shippingAddress 只读特性在 PaymentRequest interface returns the shipping address provided by the user. It is null 在默认情况下。
2935 PaymentRequest.shippingOption API, Payment Request, Payment Request API, PaymentRequest, Property, Reference, Secure context, shippingOption
shippingOption read-only attribute of the PaymentRequest interface returns either the id of a selected shipping option, null (if no shipping option was set to be selected) or a shipping option selected by the user. It is initially null by when no "selected" shipping options are provided.
2936 PaymentRequest.shippingType API, Experimental, Payment Request, Payment Request API, PaymentRequest, Reference, Secure context, shippingType
shippingType 只读特性在 PaymentRequest interface returns one of "shipping" , "delivery" , "pickup" ,或 null if one was not provided by the constructor.
2937 PaymentRequest.show() API, Commerce, Experimental, Method, Payment Request, Payment Request API, PaymentRequest, Payments, Reference, Secure context, show
PaymentRequest 接口的 show() method instructs the user agent to begin the process of showing and handling the user interface for the payment request to the user.
2938 PaymentRequest: merchantvalidation event API, Commerce, Merchant, Payment Handler, Payment Request, Payment Request API, Reference, Sales, Validation, Web, events, merchantvalidation, payment
merchantvalidation events are delivered by the 支付请求 API PaymentRequest object when a payment handler requires that the merchant requesting the purchase validate itself as permitted to use the payment handler.
2939 PaymentRequest: paymentmethodchange event Event, Payment Request, Payment Request API, PaymentMethodChangeEvent, events, payment, paymentmethodchange
paymentmethodchange events are delivered by the 支付请求 API PaymentRequest object when the user changes payment methods within a given payment handler.
2940 PaymentRequest: shippingaddresschange event API, Address, Commerce, Payment Request, Payment Request API, PaymentRequest, PaymentRequestUpdateEvent, Reference, Shipping, events, payment, shippingaddresschange
shippingaddresschange event is sent to the PaymentRequest object when the user selects a shipping address or changes details of their shipping address.
2941 PaymentRequest: shippingoptionchange event API, Commerce, Payment Request, Payment Request API, PaymentRequest, Reference, Shipping, events, onshippingoptionchange, payment, shippingoptionchange
For payment requests that request shipping information, and for which shipping options are offered, the shippingoptionchange event is sent to the PaymentRequest whenever the user chooses a shipping option from the list of available options.
2942 PaymentRequestEvent API, Experimental, Interface, Payment Request API, PaymentRequestEvent, Reference, payment
PaymentRequestEvent 接口的 支付请求 API is the object passed to a payment handler when a PaymentRequest is made.
2943 PaymentRequestEvent() API, Constructor, Payment Request API, PaymentRequestEvent, Reference, payment
PaymentRequestEvent 构造函数创建新 PaymentRequestEvent object which is a constructor for a PaymentRequestEvent which is the object passed to a payment handler when a PaymentRequest is made..
2944 PaymentRequestEvent.instrumentKey
instrumentKey 只读特性在 PaymentRequestEvent interface returns a PaymentInstrument object reflecting the payment instrument selected by the user or an empty string if the user has not registered or chosen a payment instrument.
2945 PaymentRequestEvent.methodData
methodData 只读特性在 PaymentRequestEvent interface returns an array of PaymentMethodData objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.
2946 PaymentRequestEvent.modifiers
modifiers 只读特性在 PaymentRequestEvent interface returns an array of objects containing changes to payment details.
2947 PaymentRequestEvent.openWindow() API, Method, Payment Request API, PaymentRequestEvent, Reference, openWindow(), payment
openWindow 特性为 PaymentRequestEvent interface opens the specified URL in a new window, if and only if the given URL is on the same origin as the calling page. It returns a Promise that resolves with a reference to a WindowClient .
2948 PaymentRequestEvent.paymentRequestOrigin API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestOrigin
paymentRequestOrigin 只读特性在 PaymentRequestEvent interface returns the origin where the PaymentRequest object was initialized.
2949 PaymentRequestEvent.respondWith() API, Method, Payment Request API, PaymentRequestEvent, Reference, payment, respondWith()
respondWith 特性为 PaymentRequestEvent interface prevents the default event handling and allows you to provide a Promise 对于 PaymentResponse object yourself.
2950 PaymentRequestEvent.topOrigin API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, topLevelOrigin
topOrigin 只读特性在 PaymentRequestEvent interface returns the top level payee origin where the PaymentRequest object was initialized.
2951 PaymentRequestEvent.total API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, total
total readonly property of the PaymentRequestEvent interface returns a PaymentCurrencyAmount object containing the total amount being requested for payment.
2952 paymentRequestId API, Payment Request API, PaymentRequestEvent, Property, Reference, payment, paymentRequestId
paymentRequestId 只读特性在 PaymentRequestEvent interface returns the ID of the PaymentRequest 对象。
2953 PaymentRequestUpdateEvent API, Experimental, Interface, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context
PaymentRequestUpdateEvent interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest . Those events are:
2954 PaymentRequestUpdateEvent.PaymentRequestUpdateEvent() API, Constructor, Experimental, Payment Request, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context
PaymentRequestUpdateEvent 构造函数创建新 PaymentRequestUpdateEvent object which enables a web page to update the details of a PaymentRequest in response to a user action. Actual updates are made by passing options to the updateWith() 方法。
2955 PaymentRequestUpdateEvent.updateWith() API, Change, Experimental, Method, Payment Change, Payment Details, Payment Request API, PaymentRequestUpdateEvent, Reference, Secure context, Web Payments, payment, updateWith
updateWith() method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest .
2956 PaymentResponse API, Experimental, Interface, Payment Request, PaymentResponse, Reference, Secure context
PaymentResponse 接口在 支付请求 API is returned after a user selects a payment method and approves a payment request.
2957 PayerResponse.payerPhone API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerPhone
payerPhone 只读特性在 PaymentResponse interface returns the phone number supplied by the user. This option is only present when the requestPayerPhone option is set to true PaymentOptions object passed to the PaymentRequest 构造函数。
2958 PaymentRequest.payerName API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context
payerName 只读特性在 PaymentResponse interface returns the name supplied by the user. This option is only present when the requestPayerName option is set to true in the options parameter of the PaymentRequest() 构造函数。
2959 PaymentResponse.complete() API, Experimental, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Secure context, complete
PaymentRequest 方法 complete() 支付请求 API notifies the 用户代理 that the user interaction is over, and causes any remaining user interface to be closed.
2960 PaymentResponse.details API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, details
details 只读特性在 PaymentResponse interface returns a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer.
2961 PaymentResponse.methodName API, Commerce, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, methodName
methodName 只读特性在 PaymentResponse interface returns a string uniquely identifying the payment handler selected by the user.
2962 PaymentResponse.onpayerdetailchange API, Event Handler, Payer, Payer Details, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Web, onpayerdetailchange, payment, validate
PaymentResponse 对象的 onpayerdetailchange property is an event handler which is called to handle the payerdetailchange event, which is sent to the PaymentResponse when the user makes changes to their personal information while filling out a payment request form.
2963 PaymentResponse.payerEmail API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, payerEmail
payerEmail 只读特性在 PaymentResponse interface returns the email address supplied by the user. This option is only present when the requestPayerEmail option is set to true PaymentOptions object passed to the PaymentRequest 构造函数。
2964 PaymentResponse.requestId API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Secure context, requestId
requestId 只读特性在 PaymentResponse interface rreturns the free-form identifier supplied by the PaymentResponse() constructor by details.id.
2965 PaymentResponse.retry() API, Commerce, Method, Payment Request, Payment Request API, PaymentResponse, Reference, Web Payments, payment, retry
PaymentResponse 接口的 reply() method makes it possible to ask the user to retry a payment after an error occurs during processing.
2966 PaymentResponse.shippingAddress API, Experimental, Payment Request, Payment Request API, PaymentResponse, Property, Reference, Secure context, shippingAddress
shippingAddress 只读特性在 PaymentRequest interface returns a PaymentAddress object containing the shipping address provided by the user.
2967 PaymentResponse.shippingOption API, Experimental, Payment Request, PaymentResponse, Property, Reference, Request Payment API, Secure context, shippingOption
shippingOption 只读特性在 PaymentRequest interface returns the ID attribute of the shipping option selected by the user. This option is only present when the requestShipping option is set to true PaymentOptions object passed to the PaymentRequest 构造函数。
2968 PaymentResponse: payerdetailchange event Commerce, Payment Request API, PaymentResponse, Reference, Response, Validation, events, payerdetail, payment, validate
payerdetailchange events are delivered by the 支付请求 API PaymentResponse object when the user makes changes to their personal information while filling out a payment request form.
2969 PaymentValidationErrors API, Commerce, Dictionary, Errors, Payment Request, Payment Request API, PaymentValidationErrors, Reference, Validation, payment
PaymentValidationErrors dictionary represents objects providing information about any and all errors that occurred while processing a payment request. When validation of the PaymentResponse 返回通过 PaymentRequest.show() or PaymentResponse.retry() methods fails, your code creates a PaymentValidationErrors object to pass into retry() so that the 用户代理 knows what needs to be fixed and what if any error messages to display to the user.
2970 Pbkdf2Params API, Dictionary, Pbkdf2Params, Reference, Web Crypto API
Pbkdf2Params dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey() , when using the PBKDF2 算法。
2971 性能 API, Interface, Navigation Timing, Performance, Reference, Web Performance
性能 interface provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the 性能时间线 API 导航计时 API 用户计时 API ,和 资源计时 API .
2972 Performance.memory
None.
2973 Performance.navigation API, Backwards compatibility, Deprecated, HTTP, Navigation Timing, Performance, Property, Read-only, legacy
传统 性能 .navigation 只读特性返回 PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, such as the number of redirections needed to fetch the resource.
2974 Performance.onresourcetimingbufferfull API, Property, Reference, Web Peformance
onresourcetimingbufferfull property is an event handler that will be called when the resourcetimingbufferfull event is fired. This event is fired when the browser's resource timing performance buffer is full.
2975 Performance.timeOrigin API, Experimental, High Resolution Time API, Performance, Property, Reference, timeOrigin
timeOrigin 只读特性在 性能 interface returns the high resolution timestamp of the start time of the performance measurement.
2976 Performance.timing API, Backwards compatibility, Deprecated, Navigation Timing, Performance, Property, Read-only, legacy
传统 性能 .timing 只读特性返回 PerformanceTiming object containing latency-related performance information.
2977 Performance: resourcetimingbufferfull event API, DOM, Event, Performance, Reference, Web Performance, onresourcetimingbufferfull
resourcetimingbufferfull event is fired when the browser's resource timing buffer is full.
2978 performance.clearMarks() API, Method, Reference, Web Performance
clearMarks() method removes the named mark from the browser's performance entry buffer. If the method is called with no arguments, all performance entries 采用 entry type of " mark " will be removed from the performance entry buffer.
2979 performance.clearMeasures() API, Method, Reference, Web Performance
clearMeasures() method removes the named measure from the browser's performance entry buffer. If the method is called with no arguments, all performance entries 采用 entry type of " measure " will be removed from the performance entry buffer.
2980 performance.clearResourceTimings() API, Method, Reference, Web Performance
clearResourceTimings() 方法移除所有 performance entries 采用 entryType of " resource " from the browser's performance data buffer and sets the size of the performance data buffer to zero. To set the size of the browser's performance data buffer, use the Performance.setResourceTimingBufferSize() 方法。
2981 performance.getEntries() API, Method, Reference, Web Performance
getEntries() method returns a list of all PerformanceEntry objects for the page. The list's members ( entries ) can be created by making performance marks or measures (for example by calling the mark() method) at explicit points in time. If you are only interested in performance entries of certain types or that have certain names, see getEntriesByType() and getEntriesByName() .
2982 performance.getEntriesByName() API, Method, Reference, Web Performance
getEntriesByName() method returns a list of PerformanceEntry objects for the given name and type . The list's members ( entries ) can be created by making performance marks or measures (for example by calling the mark() method) at explicit points in time.
2983 performance.getEntriesByType() API, Method, Reference, Web Performance
getEntriesByType() method returns a list of PerformanceEntry objects for a given type . The list's members ( entries ) can be created by making performance marks or measures (for example by calling the mark() method) at explicit points in time.
2984 performance.mark() API, Method, Reference, Web Performance
mark() method creates a timestamp in the browser's performance entry buffer with the given name. The application defined timestamp can be retrieved by one of the 性能 接口的 getEntries*() methods ( getEntries() , getEntriesByName() or getEntriesByType() ).
2985 performance.measure() API, Method, Reference, Web Performance, Web Workers
measure() method creates a named timestamp in the browser's performance entry buffer between marks, the navigation start time, or the current time. When measuring between two marks, there is a start mark and end mark , respectively. The named timestamp is referred to as a measure .
2986 performance.now() API, Method, Performance, Reference, Web Performance API
performance.now() 方法返回 DOMHighResTimeStamp , measured in milliseconds.
2987 performance.setResourceTimingBufferSize() API, Method, Reference, Web Performance
setResourceTimingBufferSize() method sets the browser's resource timing buffer size to the specified number of " resource " performance entry type 对象。
2988 performance.toJSON() API, Method, Performance, Reference
toJSON() 方法在 性能 interface is a standard serializer: it returns a JSON representation of the performance object's properties.
2989 性能 API Guide, NeedsContent, Overview, Performance, Web Performance
高分辨率时间 standard defines a 性能 interface that supports client-side latency measurements within applications. The 性能 interfaces are considered high resolution because they are accurate to a thousandth of a millisecond (subject to hardware or software constraints). The interfaces support a number of use cases including calculating frame-rates (potentially important in animations) and benchmarking (such as the time to load a resource).
2990 Using the Performance API Guide, Performance, Web Performance
A fundamental requirement of web performance is a precise and consistent definition of time. DOMHighResTimeStamp type (a double ) is used by all performance interfaces to hold such time values. Additionally, there must be a way to create a timestamp for a specific point in time; this is done with the now() 方法。
2991 性能时间线 Guide, Overview, Web Performance
性能时间线 API defines extensions to the 性能 interface to support client-side latency measurements within applications. The extensions provide interfaces to retrieve 性能条目规格 based on specific filter criteria. The standard also includes interfaces that allow an application to define 性能观测器 callbacks that are notified when specific performance events are added to the browser's performance timeline .
2992 使用性能时间线 Guide, Web Performance
性能时间线 standard defines extensions to the 性能 interface to support client-side latency measurements within applications. The standard also includes interfaces that allow an application to be notified when specific performance events occur. Together, these interfaces can be used to help identify an application's performance bottlenecks.
2993 PerformanceEntry API, Interface, Performance Timeline API, PerformanceEntry, Reference, Web Performance
PerformanceEntry object encapsulates a single performance metric that is part of the performance timeline performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
2994 PerformanceEntry.duration API, Property, Reference, Web Performance
duration 特性返回 timestamp that is the duration of the performance entry .
2995 PerformanceEntry.entryType API, Performance Timeline API, PerformanceEntry, Property, Reference, Web Performance
entryType 特性返回 DOMString representing the type of performance metric such as, for example, " mark ". This property is read only.
2996 PerformanceEntry.name API, Property, Reference, Web Performance
名称 特性为 PerformanceEntry interface returns a value that further specifies the value returned by the PerformanceEntry.entryType property. This property is read only.
2997 PerformanceEntry.startTime API, Property, Reference, Web Performance
startTime property returns the first recorded timestamp performance entry .
2998 PerformanceEntry.toJSON() API, Method, Reference, Web Performance
toJSON() method is a serializer ; it returns a JSON representation of the performance entry 对象。
2999 PerformanceFrameTiming API, Frame Timing API, Interface, Performance Timeline API, PerformanceFrameTiming, Reference, Web Performance
PerformanceFrameTiming abstract interface that provides frame timing data about the browser's event loop.
3000 PerformanceLongTaskTiming API, Interface, Long Tasks API, PerformanceLongTaskTiming, Reference
PerformanceLongTaskTiming 接口的 长任务 API reports instances of long tasks.
3001 PerformanceLongTaskTiming.attribution
attribution readonly property of the PerformanceLongTaskTiming interface returns a sequence of TaskAttributionTiming 实例。
3002 PerformanceMark API, Interface, Performance Timing API, Reference, Web Performance
PerformanceMark abstract interface for PerformanceEntry objects with an entryType of " mark ". Entries of this type are created by calling performance.mark() to add a 命名 DOMHighResTimeStamp ( mark ) to the browser's performance timeline .
3003 PerformanceMeasure API, Interface, Performance Timeline API, Reference, Web Performance
PerformanceMeasure abstract interface for PerformanceEntry objects with an entryType of " measure ". Entries of this type are created by calling performance.measure() to add a 命名 DOMHighResTimeStamp ( measure ) between two marks to the browser's performance timeline .
3004 PerformanceNavigation API, Backwards compatibility, Deprecated, Interface, Navigation Timing, Navigation Timing API, Performance, PerformanceNavigation, Reference, Timing, legacy
传统 PerformanceNavigation interface represents information about how the navigation to the current document was done.
3005 PerformanceNavigation.redirectCount API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy
传统 PerformanceNavigation .redirectCount read-only property returns an unsigned short representing the number of REDIRECTs done before reaching the page.
3006 PerformanceNavigation.type API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceNavigation, Property, Read-only, legacy
传统 PerformanceNavigation .type read-only property returns an unsigned short containing a constant describing how the navigation to this page was done. Possible values are:
3007 PerformanceNavigationTiming API, Interface, Navigation Timing API, Performance Timeline API, Reference, Web Performance
PerformanceNavigationTiming interface provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.
3008 PerformanceNavigationTiming.domComplete API, Property, Reference, Web Performance
domComplete 只读特性返回 timestamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to complete .
3009 PerformanceNavigationTiming.domContentLoadedEventEnd API, Property, Reference, Web Performance
domContentLoadedEventEnd 只读特性返回 timestamp representing the time value equal to the time immediately after the current document's DOMContentLoaded event completes.
3010 PerformanceNavigationTiming.domContentLoadedEventStart API, Property, Reference, Web Performance
domContentLoadedEventStart 只读特性返回 timestamp representing the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document.
3011 PerformanceNavigationTiming.domInteractive API, Property, Reference, Web Performance
domInteractive 只读特性返回 timestamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive .
3012 PerformanceNavigationTiming.loadEventEnd API, Property, Reference, Web Performance
loadEventEnd 只读特性返回 timestamp which is equal to the time when the load event of the current document is completed.
3013 PerformanceNavigationTiming.loadEventStart API, Property, Reference, Web Performance
loadEventStart 只读特性返回 timestamp representing the time value equal to the time immediately before the load event of the current document is fired.
3014 PerformanceNavigationTiming.redirectCount API, Property, Reference, Web Performance
redirectCount 特性返回 timestamp representing the number of redirects since the last non-redirect navigation under the current browsing context.
3015 PerformanceNavigationTiming.toJSON() API, Method, Reference, Web Performance
toJSON() method is a serializer - it returns a JSON representation of the PerformanceNavigationTiming 对象。
3016 PerformanceNavigationTiming.type API, Property, Reference, Web Performance
type 只读特性返回 string representing the type of navigation. The value must be one of the following:
3017 PerformanceNavigationTiming.unloadEventEnd API, Property, Reference, Web Performance
unloadEventEnd 只读特性返回 timestamp representing the time value equal to the time immediately after the user agent finishes the unload event of the previous document. If there is no previous document, this property value is 0 .
3018 PerformanceNavigationTiming.unloadEventStart API, Property, Reference, Web Performance
unloadEventStart 只读特性返回 timestamp representing the time value equal to the time immediately before the user agent starts the unload event of the previous document. If there is no previous document, this property returns 0 .
3019 PerformanceObserver API, Interface, Performance Observer API, PerformanceObserver, Reference, Web Performance, observers
PerformanceObserver interface is used to observe performance measurement events and be notified of new performance entries as they are recorded in the browser's performance timeline .
3020 PeformanceObserver.disconnect() API, Method, Performance Observer API, PerformanceObserver, Reference, Web Performance, disconnect(), observers
disconnect() 方法在 PerformanceObserver interface is used to stop the performance observer from receiving any performance entry 事件。
3021 PerformanceObserver() API, Constructor, PerformanceObserver, Reference, Web Performance
PerformanceObserver() 构造函数创建新 PerformanceObserver object with the given observer callback . The observer callback is invoked when performance entry events are recorded for the entry types that have been registered, via the observe() 方法。
3022 PerformanceObserver.observe() API, Method, Performance, PerformanceObserver, Reference, Web Performance
observe() 方法在 PerformanceObserver interface is used to specify the set of performance entry types to observe.
3023 PerformanceObserver.takeRecords() API, Method, Performance Observer API, PerformanceObserver, Reference, observers, takeRecords()
takeRecords() 方法在 PerformanceObserver interface returns the current list of performance entries stored in the performance observer, emptying it out.
3024 PerformanceObserverEntryList API, Interface, Reference, Web Performance
PerformanceObserverEntryList interface is a list of peformance events that were explicitly observed via the observe() 方法。
3025 PerformanceObserverEntryList.getEntries() API, Method, PerformanceObserverEntryList, Reference, Web Performance
getEntries() 方法在 PerformanceObserverEntryList interface returns a list of explicitly observed performance entry objects for a given filter. The list's members are determined by the set of entry types specified in the call to the observe() method. The list is available in the observer's callback function (as the first parameter in the callback).
3026 PerformanceObserverEntryList.getEntriesByName() API, Method, PerformanceObserverEntryList, Reference, Web Performance
getEntriesByName() 方法在 PerformanceObserverEntryList interface returns a list of explicitly observed performance entry objects for a given 名称 and entry type . The list's members are determined by the set of entry types specified in the call to the observe() method. The list is available in the observer's callback function (as the first parameter in the callback).
3027 PerformanceObserverEntryList.getEntriesByType() API, Method, PerformanceObserverEntryList, Reference, Web Performance
getEntriesByType() 方法在 PerformanceObserverEntryList returns a list of explicitly observed performance entry objects for a given performance entry type . The list's members are determined by the set of entry types specified in the call to the observe() method. The list is available in the observer's callback function (as the first parameter in the callback).
3028 PerformancePaintTiming API, Interface, Paint Timing, Performance Timeline API, PerformancePaintTiming, Reference, Web Performance
PerformancePaintTiming 接口在 Paint Timing provides timing information about "paint" (also called "render") operations during web page construction. "Paint" refers to conversion of the render tree to on-screen pixels.
3029 PerformanceResourceTiming DOM, Interface, Reference, Web Performance
PerformanceResourceTiming interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources . An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest , <SVG> , image, or script.
3030 PerformanceResourceTiming.connectEnd API, Property, Reference, Web Performance
connectEnd read-only property returns the timestamp immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as SSL handshake and SOCKS authentication.
3031 PerformanceResourceTiming.connectStart API, Property, Reference, Web Performance
connectStart read-only property returns the timestamp immediately before the user agent starts establishing the connection to the server to retrieve the resource.
3032 PerformanceResourceTiming.decodedBodySize API, Property, Reference, Web Performance
decodedBodySize read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body, after removing any applied content-codings. If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content-codings.
3033 PerformanceResourceTiming.domainLookupEnd API, Property, Reference, Web Performance
domainLookupEnd read-only property returns the timestamp immediately after the browser finishes the domain name lookup for the resource.
3034 PerformanceResourceTiming.domainLookupStart API, Property, Reference, Web Performance
domainLookupStart read-only property returns the timestamp immediately before the browser starts the domain name lookup for the resource.
3035 PerformanceResourceTiming.encodedBodySize API, Property, Reference, Web Performance
encodedBodySize read-only property represents the size (in octets) received from the fetch (HTTP or cache), of the payload body , before removing any applied content-codings.
3036 PerformanceResourceTiming.fetchStart API, Property, Reference, Web Performance
fetchStart read-only property represents a timestamp immediately before the browser starts to fetch the resource.
3037 PerformanceResourceTiming.initiatorType API, Property, Reference, Web Performance
initiatorType read-only property is a string 表示 type of resource that initiated the performance event.
3038 PerformanceResourceTiming.nextHopProtocol API, Property, Reference, Resource Timing API, Web Performance
nextHopProtocol read-only property is a string 表示 network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301) .
3039 PerformanceResourceTiming.redirectEnd API, Property, Reference, Web Performance
redirectEnd 只读特性返回 timestamp immediately after receiving the last byte of the response of the last redirect.
3040 PerformanceResourceTiming.redirectStart API, Property, Reference, Web Performance
redirectStart 只读特性返回 timestamp representing the start time of the fetch which that initiates the redirect.
3041 PerformanceResourceTiming.requestStart API, Property, Reference, Web Performance
requestStart 只读特性返回 timestamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
3042 PerformanceResourceTiming.responseEnd API, Property, Reference, Web Performance
responseEnd 只读特性返回 timestamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
3043 PerformanceResourceTiming.responseStart API, Property, Reference, Web Performance
responseStart 只读特性返回 timestamp immediately after the browser receives the first byte of the response from the server, cache, or local resource.
3044 PerformanceResourceTiming.secureConnectionStart API, Property, Reference, Web Performance
secureConnectionStart 只读特性返回 timestamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.
3045 PerformanceResourceTiming.serverTiming API, PerformanceResourceTiming, Property, Reference, SecureContextOnly, ServerTiming
serverTiming read-only property returns an array of PerformanceServerTiming entries containing server timing metrics.
3046 PerformanceResourceTiming.toJSON() API, Method, Reference, Web Performance
toJSON() method is a serializer that returns a JSON representation of the PerformanceResourceTiming 对象。
3047 PerformanceResourceTiming.transferSize API, Property, Reference, Web Performance
transferSize read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230 ).
3048 PerformanceResourceTiming.workerStart API, PerformanceResourceTiming, Property, Reference, Web Performance, workerStart
workerStart 只读特性在 PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0.
3049 PerformanceServerTiming API, Interface, Reference, ServerTiming
PerformanceServerTiming interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.
3050 PerformanceServerTiming.description API, Property, Reference, ServerTiming
description 只读特性返回 DOMString value of the server-specified metric description, or an empty string.
3051 PerformanceServerTiming.duration API, Property, Reference, ServerTiming
duration read-only property returns a double that contains the server-specified metric duration, or value 0.0 .
3052 PerformanceServerTiming.name API, Property, Reference, ServerTiming
名称 只读特性返回 DOMString value of the server-specified metric name.
3053 PerformanceServerTiming.toJSON API, Method, PerformanceServerTiming, Reference, ServerTiming, toJSON
toJSON() 方法在 PerformanceServerTiming interface returns a DOMString that is the JSON representation of the PerformanceServerTiming 对象。
3054 PerformanceTiming API, Backwards compatibilty, Deprecated, Interface, Navigation Timing, Navigation Timing API, Optimization, Performance, Reference, Timing, legacy
PerformanceTiming interface is a legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing 特性。
3055 PerformanceTiming.connectEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .connectEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the connection is opened network. If the transport layer reports an error and the connection establishment is started again, the last connection establisment end time is given. If a persistent connection is used, the value will be the same as PerformanceTiming.fetchStart . A connection is considered as opened when all secure connection handshake, or SOCKS authentication, is terminated.
3056 PerformanceTiming.connectStart API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .connectStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the request to open a connection is sent to the network. If the transport layer reports an error and the connection establishment is started again, the last connection establisment start time is given. If a persistent connection is used, the value will be the same as PerformanceTiming.fetchStart .
3057 PerformanceTiming.domComplete API, Backwards compatibility, Deprecated, HTML, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .domComplete read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to 'complete' 和相应 readystatechange event is thrown.
3058 PerformanceTiming.domContentLoadedEventEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventEnd, legacy
传统 PerformanceTiming .domContentLoadedEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right after all the scripts that need to be executed as soon as possible, in order or not, has been executed.
3059 PerformanceTiming.domContentLoadedEventStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domContentLoadedEventStart, legacy
传统 PerformanceTiming .domContentLoadedEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right before the parser sent the DOMContentLoaded event, that is right after all the scripts that need to be executed right after parsing has been executed.
3060 PerformanceTiming.domInteractive API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, domInteractive, legacy
传统 PerformanceTiming .domInteractive read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to 'interactive' 和相应 readystatechange event is thrown.
3061 PerformanceTiming.domLoading API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, domxref, legacy
传统 PerformanceTiming .domLoading read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser started its work, that is when its Document.readyState changes to 'loading' 和相应 readystatechange event is thrown.
3062 PerformanceTiming.domainLookupEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Reference, fetchStart, legacy
传统 PerformanceTiming .domainLookupEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the domain lookup is finished. If a persistent connection is used, or the information is stored in a cache or a local resource, the value will be the same as PerformanceTiming.fetchStart .
3063 PerformanceTiming.domainLookupStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .domainLookupStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the domain lookup starts. If a persistent connection is used, or the information is stored in a cache or a local resource, the value will be the same as PerformanceTiming.fetchStart .
3064 PerformanceTiming.fetchStart API, Backwards compatibility, Deprecated, HTTP request, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .fetchStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the browser is ready to fetch the document using an HTTP request. This moment is before the check to any application cache.
3065 PerformanceTiming.loadEventEnd API, Backwards compatibility, Deprecated, Event Handler, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .loadEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the load event handler terminated, that is when the load event is completed. If this event has not yet been sent, or is not yet completed, it returns 0.
3066 PerformanceTiming.loadEventStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .loadEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the load event was sent for the current document. If this event has not yet been sent, it returns 0.
3067 PerformanceTiming.navigationStart API, Backwards compatibility, Deprecated, Navigation Timing, Performance, PerformanceTiming.navigationStart, Property, Read-only, Reference, legacy
传统 PerformanceTiming .navigationStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right after the prompt for unload terminates on the previous document in the same browsing context. If there is no previous document, this value will be the same as PerformanceTiming.fetchStart .
3068 PerformanceTiming.redirectEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .redirectEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the last HTTP redirect is completed, that is when the last byte of the HTTP response has been received. If there is no redirect, or if one of the redirect is not of the same origin, the value returned is 0 .
3069 PerformanceTiming.redirectStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .redirectStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the first HTTP redirect starts. If there is no redirect, or if one of the redirect is not of the same origin, the value returned is 0 .
3070 PerformanceTiming.requestStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .requestStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the browser sent the request to obtain the actual document, from the server or from a cache. If the transport layer fails after the start of the request and the connection is reopened, this property will be set to the time corresponding to the new request.
3071 PerformanceTiming.responseEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .responseEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the browser received the last byte of the response, or when the connection is closed if this happened first, from the server from a cache or from a local resource.
3072 PerformanceTiming.responseStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, Reference, legacy
传统 PerformanceTiming .responseStart read-only property returns an unsigned long long representing the moment in time (in milliseconds since the UNIX epoch) when the browser received the first byte of the response from the server, cache, or local resource.
3073 PerformanceTiming.secureConnectionStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .secureConnectionStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the secure connection handshake starts. If no such connection is requested, it returns 0 .
3074 PerformanceTiming.unloadEventEnd API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .unloadEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the unload event handler finishes. If there is no previous document, or if the previous document, or one of the needed redirects, is not of the same origin, the value returned is 0 .
3075 PerformanceTiming.unloadEventStart API, Backwards compatibility, Deprecated, Navigation Timing, PerformanceTiming, Property, Read-only, legacy
传统 PerformanceTiming .unloadEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the unload event has been thrown. If there is no previous document, or if the previous document, or one of the needed redirects, is not of the same origin, the value returned is 0 .
3076 PeriodicWave API, Audio, Interface, Media, PeriodicWave, Reference, Web Audio, Web Audio API, waveform
PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave() PeriodicWave itself is created/returned by AudioContext.createPeriodicWave() .
3077 PeriodicWave.PeriodicWave() API, Audio, Constructor, PeriodicWave, Reference, Web Audio API
PeriodicWave() constructor of the Web 音频 API creates a new PeriodicWave 对象实例。
3078 PermissionStatus API, Experimental, Interface, PermissionStatus, Permissions, Permissions API, Reference
PermissionStatus 接口在 权限 API provides the state of an object and an event handler for monitoring changes to said state.
3079 PermissionStatus.onchange API, Event Handler, Experimental, PermissionStatus, Permissions, Property, Reference, onchange
onchange event handler of the PermissionStatus interface is called whenever the PermissionStatus.state 特性改变。
3080 PermissionStatus.state API, Event Handler, Experimental, PermissionStatus, Permissions, Permissions API, Property, Reference, status
state 只读特性在 PermissionStatus interface returns the state of a requested permission. This property returns one of 'granted' , 'denied' ,或 'prompt' .
3081 Permissions API, Experimental, Interface, Permissions, Permissions API, Reference
The Permissions interface of the 权限 API provides the core Permission API functionality, such as methods for querying and revoking permissions
3082 Permissions.query() API, Experimental, Method, Permissions, Reference
Permissions.query() 方法在 权限 interface returns the state of a user permission on the global scope.
3083 Permissions.revoke() API, Experimental, Method, Permissions, Permissions API, Reference, revoke
Permissions.revoke() 方法在 权限 interface reverts a currently set permission back to its default state, which is usually prompt .
3084 权限 API API, Overview, Permissions, Reference
权限 API provides a consistent programmatic way to query the status of API permissions attributed to the current context. For example, the Permissions API can be used to determine if permission to access a particular API has been granted or denied.
3085 使用权限 API API, Experimental, Geolocation, Guide, Permissions
This article provides a basic guide to using the W3C Permissions API, which provides a programmatic way to query the status of API permissions attributed to the current context.
3086 PhotoCapabilities API, Experimental, Image, Image Capture, Interface, Media, MediaStream Image Capture API, PhotoCapabilities, Reference
PhotoCapabilities 接口的 MediaStream 图像捕获 API provides available configuration options for an attached photographic device. A PhotoCapabilities object is retrieved by calling ImageCapture.getPhotoCapabilities() .
3087 PhotoCapabilities.fillLightMode API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
fillLightMode 只读特性在 PhotoCapabilities interface returns an array of available fill light options. Options may include auto , off ,或 flash .
3088 PhotoCapabilities.imageHeight API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
imageHeight 只读特性在 PhotoCapabilities interface returns a MediaSettingsRange object indicating the image height range supported by the user agent.
3089 PhotoCapabilities.redEyeReduction API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
redEyeReduction 只读特性在 PhotoCapabilities interface returns a RedEyeReduction object indicating the red-eye reduction capability of the source.
3090 imageWidth API, Experimental, Image, Image Capture, Media, MediaStream Image Capture API, PhotoCapabilities, Property, Reference
imageWidth 只读特性在 PhotoCapabilities interface returns a MediaSettingsRange object indicating the image width range supported by the user agent.
3091 Plugin API, Add-ons, DOM, NeedsContent, Plug-in, Plugins
Plugin interface provides information about a browser plugin .
3092 PluginArray API, Add-ons, DOM, Experimental, NeedsContent, Plugins
PluginArray interface is used to store a list of Plugin objects describing the available plugins ; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation ( plugins[2] ), as well as via item( index ) and namedItem( "name" ) 方法。
3093 API, CSS Transforms, CSS3 Transforms, Interface, Non-standard, Point, Reference
is an interface, which existed only briefly in the CSS Transforms Level 1 specification, which represents a point in 2-dimensional space. It is non-standard, not broadly compatible, and should not be used.
3094 指针锁 API API, Advanced, Games, Reference, mouse lock, pointer lock
指针锁 API (formerly called Mouse Lock API ) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view.
3095 指针事件 API, Landing, Overview, Pointer Events
Much of today's web content assumes the user's pointing device will be a mouse. However, since many devices support other types of pointing input devices, such as pen/stylus and touch surfaces, extensions to the existing pointing device event models are needed and pointer events address that need.
3096 Multi-touch interaction Guide, Pointer Events, touch
Pointer events extend DOM input events to support various pointing input devices such as pen/stylus and touch screens as well as mouse. The pointer is a hardware-agnostic device that can target a specific set of screen coordinates. Having a single event model for pointers can simplify creating Web sites, applications and provide a good user experience regardless of the user's hardware.
3097 Pinch zoom gestures Guide, PointerEvent, touch
Adding gestures to an application can significantly improve the user experience. There are many types of gestures, from the simple single-touch swipe gesture to the more complex multi-touch twist gesture, where the touch points (aka pointers ) move in different directions.
3098 Using Pointer Events Guide, Input, Pointer Events, PointerEvent, events, touch
This guide demonstrates how to use pointer events and the HTML <canvas> element to build a multi-touch enabled drawing application. This example is based on the one in the touch events overview , except it uses the pointer events input event model. Another difference is that because pointer events are pointer device agnostic, the application accepts coordinate-based inputs from a mouse, a pen, or a fingertip using the same code.
3099 PointerEvent API, DOM, Interface, Pointer Events, PointerEvent, Reference
PointerEvent interface represents the state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.
3100 PointerEvent.PointerEvent() API, Constructor, PointerEvent, Reference
PointerEvent() constructor creates a new synthetic and untrusted PointerEvent 对象实例。
3101 PointerEvent.getCoalescedEvents() API, DOM, Deprecated, Method, Pointer Events, PointerEvent, Reference
getCoalescedEvents() 方法在 PointerEvent interface returns a sequence of all PointerEvent instances that were coalesced into the dispatched pointermove 事件。
3102 PointerEvent.height API, DOM, Interface, PointerEvent, Property, Reference
height 只读特性在 PointerEvent interface represents the height of the pointer's contact geometry, along the y-axis (in CSS pixels). Depending on the source of the pointer device (for example a finger), for a given pointer, each event may produce a different value.
3103 PointerEvent.isPrimary API, DOM, Interface, PointerEvent, Property, Reference
isPrimary 只读特性在 PointerEvent interface indicates whether or not the pointer device that created the event is the primary pointer. It returns true if the pointer that caused the event to be fired is the primary device and returns false 否则。
3104 PointerEvent.pointerId API, DOM, Interface, PointerEvent, Property, Reference
pointerId 只读特性在 PointerEvent interface is an identifier assigned to a given pointer event. The identifier is unique, being different from the identifiers of all other active pointer events. Since the value may be randomly generated, it is not guaranteed to convey any particular meaning.
3105 PointerEvent.pointerType API, DOM, Interface, PointerEvent, Property, Reference
pointerType 只读特性在 PointerEvent interface indicates the device type (mouse, pen, or touch) that caused a given pointer event.
3106 PointerEvent.pressure API, DOM, Interface, PointerEvent, Property, Reference
pressure 只读特性在 PointerEvent interface indicates the normalized pressure of the pointer input.
3107 PointerEvent.tangentialPressure API, DOM, Pointer Events, PointerEvent, Property, Reference, tangentialPressure
tangentialPressure 只读特性在 PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress ).
3108 PointerEvent.tiltX API, DOM, Interface, PointerEvent, Property, Reference
tiltX 只读特性在 PointerEvent interface is the angle (in degrees) between the Y-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type.
3109 PointerEvent.tiltY API, DOM, Interface, PointerEvent, Property, Reference
tiltY 只读特性在 PointerEvent interface is the angle (in degrees) between the X-Z plane of the pointer and the screen. This property is typically only useful for a pen/stylus pointer type.
3110 PointerEvent.twist API, DOM, Pointer Events, PointerEvent, Property, Reference, twist
twist 只读特性在 PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees.
3111 PointerEvent.width API, DOM, Interface, PointerEvent, Property, Reference
width 只读特性在 PointerEvent interface represents the width of the pointer's contact geometry along the x-axis, measured in CSS pixels. Depending on the source of the pointer device (such as a finger), for a given pointer, each event may produce a different value.
3112 PopStateEvent API, Interface, Reference
PopStateEvent is an event handler for the popstate event on the window.
3113 位置 API, Geolocation API, Interface, Position, Secure context
位置 interface represents the position of the concerned device at a given time. The position, represented by a 坐标 object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.
3114 Position.coords API, Geolocation API, Position, Property, Secure context, coords
Position.coords read-only property, a 坐标 object, represents a geographic attitude: it contains the location, that is longitude and latitude on the Earth, the altitude, and the speed of the object concerned, regrouped inside the returned value. It also contains accuracy information about these values.
3115 Position.timestamp API, Geolocation API, Position, Property, Secure context, timeStamp
Position.timestamp read-only property, a DOMTimeStamp object, represents the date and the time of the creation of the 位置 object it belongs to. The precision is to the millisecond.
3116 PositionError API, Geolocation API, Interface, PositionError, Secure context
PositionError interface represents the reason of an error occurring when using the geolocating device.
3117 PositionError.code API, Code, Geolocation API, PositionError, Property, Secure context
PositionError.code read-only property is an unsigned short representing the error code. The following values are possible:
3118 PositionError.message API, Geolocation API, PositionError, Property, Secure context, message
PositionError.message read-only property returns a human-readable DOMString describing the details of the error.
3119 PositionOptions API, Geolocation API, Interface, PositionOptions, Reference, Secure context
PositionOptions interface describes an object containing option properties to pass as a parameter of Geolocation.getCurrentPosition() and Geolocation.watchPosition() .
3120 PositionOptions.enableHighAccuracy API, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context
PositionOptions.enableHighAccuracy 特性为 布尔 that indicates the application would like to receive the best possible results. If true and if the device is able to provide a more accurate position, it will do so. Note that this can result in slower response times or increased power consumption (with a GPS chip on a mobile device for example). On the other hand, if false (the default value), the device can take the liberty to save resources by responding more quickly and/or using less power.
3121 PositionOptions.maximumAge API, Geolocation API, NeedsExample, PositionOptions, Property, Secure context
PositionOptions.maximumAge property is a positive long value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0 , it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity the device must return a cached position regardless of its age.
3122 PositionOptions.timeout API, Geolocation API, NeedsExample, PositionOptions, Property, Reference, Secure context
PositionOptions.timeout property is a positive long value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. The default value is Infinity , meaning that getCurrentPosition() won't return until the position is available.
3123 PositionSensorVRDevice API, Experimental, Expérimental(2), Interface, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
PositionSensorVRDevice 接口在 WebVR API represents VR hardware's position sensor. You can access information such as the current position and orientation of the sensor in relation to the head mounted display through the PositionSensorVRDevice.getState() 方法。
3124 PositionSensorVRDevice.getImmediateState() API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
getImmediateState() 方法在 VRDevice interface returns the current instantaneous position sensor state. This is intended to only be used rarely, for certain special uses, for example sampling the immediate position of a hand orientation sensor — or at least it will be, in the future.
3125 PositionSensorVRDevice.getState() API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR
getState() 方法在 PositionSensorVRDevice interface returns the current state of the position sensor for the current frame (e.g. within the current window.requestAnimationFrame callback) or for the previous frame, contained with a VRPositionState object. This is the method you'd normally want to use, vs. PositionSensorVRDevice.getImmediateState .
3126 PositionSensorVRDevice.resetSensor() API, Experimental, Expérimental(2), Method, Obsolete, PositionSensorVRDevice, Reference, Référence(2), VR, Virtual Reality, WebVR, resetSensor
resetSensor() 方法在 VRDevice interface can be used to reset the sensor if desired, returning the position and orientation values to zero.
3127 Presentation API, Experimental, Interface, Presentation, Presentation API, Reference
Presentation can be defined as two possible user agents in the context: Controlling user agent and Receiving user agent .
3128 Presentation.defaultRequest API, Presentation, Property, Reference, Web
controlling user agent defaultRequest 属性 MUST return the default presentation request if any, otherwise null 。在 receiving browsing context ,它 MUST return null .
3129 Presentation.receiver API, Presentation, Presentation API, Property, Read-only, Reference, receiver
只读 Presentation 属性 receiver , which is only available in browser contexts which are receiving a presentation, returns the PresentationReceiver object which can be used to access and communicate with the browser context which controls the presentation. This property is always null when accessed from outside a browser context which is receiving a presentation.
3130 Presentation API API, Experimental, NeedsContent, Presentation API, Reference
The Presentation API lets a 用户代理 (such as a Web browser) effectively display web content through large presentation devices such as projectors and network-connected televisions.
3131 PresentationAvailability API, Experimental, Interface, Presentation API, PresentationAvailability, Reference
A PresentationAvailability object is associated with available presentation displays and represents the presentation display availability for a presentation request. If the controlling user agent can monitor the list of available presentation displays in the background (without a pending request to start () ), PresentationAvailability 对象 MUST be implemented in a controlling browsing context .
3132 onchange
onchange attribute is an event handler whose corresponding event handler event type is change .
3133 value
value 属性 MUST return the last value from which it was set. The value is updated by the monitor the list of available presentation displays 算法。
3134 PresentationConnection API, Experimental, Interface, Presentation API, PresentationConnection, Reference
PresentationConnection 接口在 Presentation API provides methods and properties for managing a single presentation. Each presentation connection is represented by a PresentationConnection object. Both the controlling user agent and receiving user agent MUST implement PresentationConnection .
3135 PresentationConnection.binaryType API, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, binaryType
PresentationConnection object is created, its binaryType IDL attribute MUST be set to the string " arraybuffer ". Upon getting, the attribute MUST return its most recent value (the value it was last set as). Upon setting, the user agent MUST set the IDL attribute to the new value.
3136 PresentationConnection.close() API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, PresentationConnection, Reference
close () method is called on a PresentationConnection 用户代理 begins the process of closing the connection by sending an empty closeMessage 采用 closeReason 设为 closed .
3137 PresentationConnection.id API, NeedsBrowserCompatibility, NeedsContent, NeedsExample, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, Web, id
id attribute specifies the presentation identifier presentation connection .
3138 PresentationConnection.send() API, Experimental, Method, NeedsContent, NeedsExample, Presentation API, PresentationConnection, Reference, send
send() 方法在 PresentationConnection interface tells a controlling browsing context to send binary or text data to a presenting browsing context.
3139 PresentationConnection.state API, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Property, Reference, state
state attribute reflects the presentation connection 's current state. Depending on the current PresentationConnectionState state attribute can hold one of the following values.
3140 PresentationConnection.terminate() API, Method, NeedsBrowserCompatibility, NeedsContent, NeedsMarkupWork, Presentation, Presentation API, PresentationConnection, Reference, terminate
terminate () method is called on a PresentationConnection 用户代理 begins the process of terminating the presentation. The exact process differs depending on whether terminate() is called in the controlling or the presenting context.
3141 PresentationConnection.url API, Experimental, Presentation, Presentation API, PresentationConnection, Property, Reference, URL
url readonly property of the PresentationConnection interface returns the URL used to create or reconnect to the presentation.
3142 PresentationConnectionAvailableEvent API, Experimental, Presentation API, PresentationConnectionAvailableEvent, PresentationRequest, Reference, events
PresentationConnectionAvailableEvent 接口在 Presentation API is fired on a PresentationRequest when a connection associated with the object is created.
3143 PresentationConnectionAvailableEvent API, Constructor, Experimental, Presentation API, PresentationConnectionAvailableEvent, Reference
PresentationConnectionAvailableInit() 构造函数创建新 PresentationConnectionAvailableEvent .
3144 connection
When an incoming connection is created, a receiving user agent fires a trusted event , named connectionavailable , on a PresentationReceiver trusted event is fired at the presentation controller's monitor ,使用 PresentationConnectionAvailableEvent interface, with the connection attribute set to the PresentationConnection object that was created.
3145 PresentationConnectionCloseEvent API, Experimental, Presentation API, PresentationConnectionCloseEvent, PresentationRequest, Reference, events
PresentationConnectionCloseEvent 接口在 Presentation API is fired on a PresentationConnection when it is closed.
3146 PresentationConnectionList API, Experimental, Interface, Presentation, Presentation API, PresentationConnectionList, Reference
PresentationConnectionList is the collection of incoming presentation connections .
3147 PresentationReceiver API, Experimental, Interface, Presentation, Presentation API, PresentationReceiver, Reference
PresentationReceiver 接口的 Presentation API provides a means for a receiving browsing context to access controlling browsing contexts and communicate with them.
3148 PresentationRequest API, Experimental, Interface, Presentation API, PresentationRequest, Reference
A PresentationRequest object is used to initiate or reconnect to a presentation made by a controlling browsing context PresentationRequest 对象 MUST be implemented in a controlling browsing context provided by a controlling user agent .
3149 PresentationRequest.PresentationRequest() API, Constructor, Experimental, Presentation API, PresentationRequest, Reference
PresentationRequest 构造函数创建新 PresentationRequest object which creates a new PresentationRequest.
3150 PresentationRequest.start() Experimental, Method, Presentation API, PresentationRequest, Reference, start()
start() 特性为 PresentationRequest interface returns a Promise that resolves with a PresentationConnection after the user agent prompts the user to select a display and grant permission to use that display.
3151 getAvailability
getAvailability () method is called, the user agent MUST run the following steps:
3152 onconnectionavailable
The following are event handlers (and their corresponding event handler event types) which must be supported, as event handler IDL attributes, by objects implementing the PresentationRequest 接口:
3153 reconnect Promise, controlled presentations, presentation identifier
reconnect (presentationId) method is called on a PresentationRequest presentationRequest 用户代理 MUST run the following steps to reconnect to a presentation :
3154 ProcessingInstruction API, DOM
A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them.
3155 ProgressEvent API, Interface, Progress Events, ProgressEvent, Reference
ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest , or the loading of the underlying resource of an <img> , <audio> , <video> , <style> or <link> ).
3156 ProgressEvent() API, Constructor, DOM Events, ProgressEvent
ProgressEvent() constructor returns a newly created ProgressEvent , representing the current completion of a long process.
3157 ProgressEvent.initProgressEvent() API, Deprecated, Method, Progress Events, ProgressEvent
ProgressEvent.initProgressEvent() method Initializes an animation event created using the deprecated Document.createEvent("ProgressEvent") 方法。
3158 ProgressEvent.lengthComputable API, Progress Events, ProgressEvent, Property
ProgressEvent.lengthComputable read-only property is a 布尔 flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the ProgressEvent.total property has no significant value.
3159 ProgressEvent.loaded API, Progress Event, ProgressEvent, Property
ProgressEvent.loaded read-only property is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and ProgressEvent.total . When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead.
3160 ProgressEvent.total API, Progress Event, ProgressEvent, Property, Reference
ProgressEvent.total read-only property is an integer representing the total amount of work that the underlying process is in the progress of performing. When downloading a resource using HTTP, this only represent the content itself, not headers and other overhead.
3161 PromiseRejectionEvent API, HTML DOM, Interface, JavaScript, PromiseRejectionEvent, Promises, Reference, events
PromiseRejectionEvent interface represents events which are sent to the global script context when JavaScript Promise s are rejected.
3162 PromiseRejectionEvent() API, Constructor, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Reference, events
PromiseRejectionEvent() constructor returns a newly created PromiseRejectionEvent , which represents events fired when a JavaScript Promise is rejected.
3163 PromiseRejectionEvent.promise API, HTML DOM, JavaScript, Promise, Promise Rejection Events, PromiseRejectionEvent, Promises, Property, Reference, events
PromiseRejectionEvent 接口的 promise read-only property indicates the JavaScript Promise which was rejected. You can examine the event's PromiseRejectionEvent.reason property to learn why the promise was rejected.
3164 PromiseRejectionEvent.reason API, HTML DOM, JavaScript, PromiseRejectionEvent, Promises, Property, Reference, events, reason
只读 PromiseRejection property reason read-only property is any JavaScript value or 对象 which provides the reason passed into Promise.reject() . This in theory provides information about why the promise was rejected.
3165 接近事件 API, Experimental, Proximity Events, Reference
proximity events are a handy way to know when a user is close to a device. These events make it possible to react to such a change, for example by shutting down the screen of a smartphone when the user is having a phone call with the device close to their ear.
3166 PublicKeyCredential API, Authentication, Interface, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
PublicKeyCredential interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password. It inherits from Credential , and was created by the Web 身份验证 API extension to the 证书管理 API . Other interfaces that inherit from Credential are PasswordCredential and FederatedCredential .
3167 PublicKeyCredential.getClientExtensionResults() API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
getClientExtensionResults() is a method of the PublicKeyCredential interface that returns an ArrayBuffer which contains a map between the extensions identifiers and their results after having being processed by the client.
3168 PublicKeyCredential.id API, Credential Management API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
id 只读特性在 PublicKeyCredential 接口是 DOMString , inherited from Credential , which represents the identifier of the current PublicKeyCredential 实例。
3169 PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() API, Method, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
isUserVerifyingPlatformAuthenticatorAvailable() is a static method of the PublicKeyCredential interface that returns a Promise which resolves to true if a user-verifying platform authenticator is available.
3170 PublicKeyCredential.rawId API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
rawId 只读特性在 PublicKeyCredential interface is an ArrayBuffer object containing the identifier of the credentials.
3171 PublicKeyCredential.response API, Property, PublicKeyCredential, Reference, Web Authentication API, WebAuthn
response 只读特性在 PublicKeyCredential interface is an AuthenticatorResponse object which is sent from the authenticator to the user agent for the creation/fetching of credentials. The information contained in this response will be used by the relying party's server to verify the demand is legitimate.
3172 PublicKeyCredentialCreationOptions API, Dictionary, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
PublicKeyCredentialCreationOptions dictionary of the Web 身份验证 API holds options passed to navigators.credentials.create() in order to create a PublicKeyCredential .
3173 PublicKeyCredentialCreationOptions.attestation API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary. This is a string whose value indicates the preference regarding the attestation transport, between the authenticator, the client and the relying party.
3174 PublicKeyCredentialCreationOptions.authenticatorSelection API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
authenticatorSelection , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object giving criteria to filter out the authenticators to be used for the creation operation.
3175 PublicKeyCredentialCreationOptions.challenge API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
challenge 特性为 PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge . This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator, using its private key, and must be sent back for verification to the server as part of AuthenticatorAttestationResponse.attestationObject .
3176 PublicKeyCredentialCreationOptions.excludeCredentials API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
excludeCredentials , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an 数组 whose elements are descriptors for the public keys already existing for a given user. This is provided by the relying party's server if it wants to prevent creation of new credentials for an existing user.
3177 PublicKeyCredentialCreationOptions.extensions API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
extensions , an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
3178 PublicKeyCredentialCreationOptions.pubKeyCredParams API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
pubKeyCredParams 特性为 PublicKeyCredentialCreationOptions dictionary is an 数组 whose elements are objects describing the desired features of the credential to be created. These objects define the type of public-key and the algorithm used for cryptographic signature operations.
3179 PublicKeyCredentialCreationOptions.rp API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
rp 特性为 PublicKeyCredentialCreationOptions dictionary is an object describing the relying party which requested the credential creation (via navigator.credentials.create() ).
3180 PublicKeyCredentialCreationOptions.timeout API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
timeout property, of the PublicKeyCredentialCreationOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the creation operation.
3181 PublicKeyCredentialCreationOptions.user API, Property, PublicKeyCredentialCreationOptions, Reference, Web Authentication API, WebAuthn
user 特性为 PublicKeyCredentialCreationOptions dictionary is an object describing the user account for which the credentials are generated (via navigator.credentials.create() ).
3182 PublicKeyCredentialRequestOptions API, Dictionary, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
PublicKeyCredentialRequestOptions dictionary of the Web 身份验证 API holds the options passed to navigator.credentials.get() in order to fetch a given PublicKeyCredential .
3183 PublicKeyCredentialRequestOptions.allowCredentials API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval. This is an 数组 of credential descriptors.
3184 PublicKeyCredentialRequestOptions.challenge API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
challenge 特性为 PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge . This is randomly generated then sent from the relying party's server. This value (among other client data) will be signed by the authenticator's private key and produce AuthenticatorAssertionResponse.signature which should be sent back to the server as part of the response.
3185 PublicKeyCredentialRequestOptions.extensions API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
extensions , an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
3186 PublicKeyCredentialRequestOptions.rpId API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
rpId property, of the PublicKeyCredentialRequestOptions dictionary, is an optional property which indicates the relying party's identifier as a USVString . Its value can only be a suffix of the current origin's domain. For example, if you are browsing on foo.example.com rpId value may be "example.com" 而非 "bar.org" or "baz.example.com" .
3187 PublicKeyCredentialRequestOptions.timeout API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
timeout property, of the PublicKeyCredentialRequestOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the retrieval operation.
3188 PublicKeyCredentialRequestOptions.userVerification API, Property, PublicKeyCredentialRequestOptions, Reference, Web Authentication API, WebAuthn
userVerification is an optional property of the PublicKeyCredentialRequestOptions . This is a string which indicates how the user verification should be part of the authentication process.
3189 Push API API, Experimental, Landing, Notifications, Push, Reference, Service Workers
Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. This lets developers deliver asynchronous notifications and updates to users that opt in, resulting in better engagement with timely new content.
3190 Web Push API Notifications best practices Apps, Beginner, Best practices, Guide, Notifications, Push, Push API, Usability
This article provides a useful summary of best practices to keep in mind when developing web sites and applications that use Push Notifications for user engagement.
3191 PushEvent API, ExtendableEvent, Interface, Offline, Push, Push API, Reference, Service Workers, Workers
PushEvent 接口在 Push API represents a push message that has been received. This event is sent to the global scope ServiceWorker . It contains the information sent from an application server to a PushSubscription .
3192 PushEvent.PushEvent() API, Constructor, Experimental, Push, Push API, PushEvent, Reference, Service Workers
PushEvent() 构造函数创建新 PushEvent object. Note that the this constructor is exposed only to a service worker context.
3193 PushEvent.data API, Experimental, Property, Push, PushEvent, Reference, data
data 只读特性在 PushEvent interface returns a reference to a PushMessageData object containing data sent to the PushSubscription .
3194 PushManager API, Experimental, Interface, Push, Push API, Reference, Service Workers
PushManager 接口在 Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
3195 PushManager.getSubscription() API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers
PushManager.getSubscription() 方法在 PushManager interface retrieves an existing push subscription.
3196 PushManager.hasPermission() API, Deprecated, Method, PushManager, Reference
PushManager.hasPermission() 方法在 PushManager interface returns a Promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted , denied ,或 default .
3197 PushManager.permissionState() API, Experimental, Method, PushManager, Reference, Référence(2), Service Workers, permissionState
permissionState() 方法在 PushManager interface returns a Promise 解析为 DOMString indicating the permission state of the push manager. Possible values are 'prompt' , 'denied' ,或 'granted' .
3198 PushManager.register() API, Deprecated, Method, Reference, Simple Push API
The register method is used to ask the system to request a new endpoint for notifications. This method has been superceded by PushManager.subscribe() .
3199 PushManager.registrations() API, Deprecated, Method, Reference, Simple Push API
The registrations method is used to ask the system about existing push endpoint registrations.
3200 PushManager.subscribe() API, Experimental, Method, PushManager, Reference, Référence(2), WebAPI, subscribe
subscribe() 方法在 PushManager interface subscribes to a push service.
3201 PushManager.supportedContentEncodings API, Experimental, Property, PushManager, Reference, Service Workers, supportedContentEncodings
supportedContentEncodings 只读特性在 PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.
3202 PushManager.unregister() API, Deprecated, Method, Reference, Simple Push API
unregister() method was used to ask the system to unregister and delete the specified endpoint. In the updated API, a subscription is can be unregistered via the PushSubscription.unsubscribe() 方法。
3203 PushMessageData API, Experimental, Interface, Push, Push API, PushMessageData, Reference, Service Workers
PushMessageData 接口在 Push API provides methods which let you retrieve the push data sent by a server in various formats.
3204 PushMessageData.arrayBuffer() API, ArrayBuffer, Experimental, Method, Push, PushMessageData, Reference, Service Workers
arrayBuffer() 方法在 PushMessageData interface extracts push message data as an ArrayBuffer 对象。
3205 PushMessageData.blob() API, Blob, Experimental, Method, Push, PushMessageData, Reference, Service Workers
blob() 方法在 PushMessageData interface extracts push message data as a Blob 对象。
3206 PushMessageData.json() API, Experimental, JSON, Method, Push, PushMessageData, Reference, Service Workers
json() 方法在 PushMessageData interface extracts push message data by parsing it as a JSON string and returning the result.
3207 PushMessageData.text() API, Experimental, Method, Plain text, Push, PushMessageData, Reference, Service Workers, Text
text() 方法在 PushMessageData interface extracts push message data as a plain text string.
3208 PushRegistrationManager API, Deprecated, Interface, NeedsBrowserCompatibility, NeedsExample, PushRegistrationManager, Reference, Référence(2)
Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration. This interface has been superceded by PushManager .
3209 PushSubscription API, Experimental, Interface, Push, Push API, PushSubscription, Reference, Service Workers
PushSubscription 接口在 Push API provides a subcription's URL endpoint and allows unsubscription from a push service.
3210 PushSubscription.endpoint API, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, endPoint
endpoint 只读特性在 PushSubscription interface returns a USVString containing the endpoint associated with the push subscription.
3211 PushSubscription.expirationTime API, Experimental, Property, Push API, PushManager, PushSubscription, Reference, Service Worker
expirationTime 只读特性在 PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.
3212 PushSubscription.getKey() API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, getKey
getKey() 方法在 PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.
3213 PushSubscription.options API, Experimental, Property, Push API, PushManager, Reference, Service Worker
选项 只读特性在 PushSubscription interface is an object containing containing the options used to create the subscription.
3214 PushSubscription.subscriptionId API, Deprecated, Experimental, Property, Push, Push API, PushSubscription, Reference, Service Workers, subscriptionId
endpoint 只读特性在 PushSubscription interface returns a DOMString containing the subscription ID associated with the push subscription.
3215 PushSubscription.toJSON() API, Experimental, Method, Push, Push API, PushSubscription, Reference, Serializer, Service Workers, toJSON
toJSON() 方法在 PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.
3216 PushSubscription.unsubscribe() API, Experimental, Method, Push, Push API, PushSubscription, Reference, Service Workers, unsubscribe
unsubscribe() 方法在 PushSubscription interface returns a Promise 解析为 布尔 when the current subscription is successfully unsubscribed.
3217 RTCAnswerOptions API, Dictionary, RTCAnswerOptions, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, answer, createAnswer, rtc
RTCAnswerOptions dictionary is used to provide optional settings when creating an SDP answer using RTCPeerConnection.createOffer() after receiving an offer from a remote peer.
3218 RTCCertificate API, Interface, RTCCertificate, Reference, WebRTC, real-time communications
The interface of the the WebRTC API provides an object represents a certificate that an RTCPeerConnection uses to authenticate.
3219 RTCConfiguration API, Dictionary, Interface, RTCConfiguration, Reference, WebRTC
RTCConfiguration dictionary is used to provide configuration options for an RTCPeerConnection . It may be passed into the constructor when instantiating a connection, or used with the RTCPeerConnection.getConfiguration() and RTCPeerConnection.setConfiguration() methods, which allow inspecting and changing the configuration while a connection is established.
3220 RTCDTMFSender Audio, DTMF, Interface, Media, PSTN, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API
监听这些事件使用 addEventListener() 或通过把事件监听器赋值给 on eventname 特性为此接口。
3221 RTCDTMFSender.insertDTMF() API, DTMF, Media, Method, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, insertDTMF
insertDTMF () method on the RTCDTMFSender interface starts sending tones to the remote peer over the RTCPeerConnection . Sending of the tones is performed asynchronously, with tonechange events sent to the RTCDTMFSender every time a tone starts or ends.
3222 RTCDTMFSender.ontonechange DTMF, Event Handler, Property, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, ontonechange
ontonechange 特性为 RTCDTMFSender interface is used to set the event handler for the tonechange event, which is sent to the RTCDTMFSender each time a tone begins or ends. The event handler receives as input a single parameter of type RTCDTMFToneChangeEvent , which describes the change.
3223 RTCDTMFSender.toneBuffer Audio, DTMF, Media, Property, RTCDTMFSender, Reference, Telephony, Touch-tone, WebRTC, WebRTC API, toneBuffer
RTCDTMFSender interface's toneBuffer property returns a string containing a list of the DTMF tones currently queued for sending to the remote peer over the RTCPeerConnection . To place tones into the buffer, call insertDTMF() .
3224 RTCDTMFSender: tonechange event DTMF, RTCDTMFSender, Reference, Touch-tone, WebRTC, WebRTC API, events, tonechange
tonechange event is sent to an RTCDTMFSender 通过 WebRTC API to indicate when DTMF tones previously queued for sending (by calling RTCDTMFSender.insertDTMF() ) begin and end.
3225 RTCDTMFToneChangeEvent DTMF, Reference, Touch-tone, WebRTC, WebRTC API, events
RTCDTMFToneChangeEvent interface represents events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange 事件。
3226 RTCDTMFToneChangeEvent.RTCDTMFToneChangeEvent() Constructor, DTMF, Media, RTCDTMFToneChangeEvent, Reference, WebRTC, WebRTC API
RTCDTMFToneChangeEvent() 构造函数创建新 RTCDTMFToneChangeEvent .
3227 RTCDTMFToneChangeEvent.tone Media, Property, RTCDTMFToneChangeEvent, Reference, Touch-, WebRTC, WebRTC API, tone
The read-only property RTCDTMFToneChangeEvent.tone returns the DTMF character which has just begun to play, or an empty string ( "" ). if all queued tones have finished playing (that is, RTCDTMFSender.toneBuffer is empty).
3228 RTCDataChannel API, Communication, Data Transfer, Experimental, Interface, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API
RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data. Every data channel is associated with an RTCPeerConnection , and each peer connection can have up to a theoretical maximum of 65,534 data channels (the actual limit may vary from browser to browser).
3229 RTCDataChannel.binaryType Experimental, Property, RTCDataChannel, Reference, WebRTC, binaryType
The property binaryType RTCDataChannel 接口是 DOMString which specifies the type of JavaScript object which should be used to represent binary data received on the RTCDataChannel . Values allowed by the WebSocket.binaryType property are also permitted here: "blob" if Blob objects are being used or "arraybuffer" if ArrayBuffer objects are being used. The default is "blob" .
3230 RTCDataChannel.bufferedAmount Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, bufferedAmount
只读 RTCDataChannel property bufferedAmount returns the number of bytes of data currently queued to be sent over the data channel.
3231 RTCDataChannel.bufferedAmountLowThreshold Experimental, Property, RTCDataChannel, Reference, WebRTC, bufferedAmountLowThreshold
RTCDataChannel property bufferedAmountLowThreshold is used to specify the number of bytes of buffered outgoing data that is considered "low." The default value is 0.
3232 RTCDataChannel.close() API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, close
RTCDataChannel.close() method closes the RTCDataChannel . Either peer is permitted to call this method to initiate closure of the channel.
3233 RTCDataChannel.id Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, id
只读 RTCDataChannel property id returns an ID number (between 0 and 65,534) which uniquely identifies the RTCDataChannel .
3234 RTCDataChannel.label Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, label
只读 RTCDataChannel property label 返回 DOMString containing a name describing the data channel. These labels are not required to be unique.
3235 RTCDataChannel.maxPacketLifeTime Experimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxPacketLifeTime
只读 RTCDataChannel property maxPacketLifeTime returns the amount of time, in milliseconds, the browser is allowed to take to attempt to transmit a message, as set when the data channel was created, or null .
3236 RTCDataChannel.maxRetransmits Experimental, NeedsExample, Property, RTCDataChannel, Read-only, Reference, WebRTC, maxRetransmits
只读 RTCDataChannel property maxRetransmits returns the maximum number of times the browser should try to retransmit a message before giving up, as set when the data channel was created, or null , which indicates that there is no maximum.
3237 RTCDataChannel.negotiated Networking, Property, RTCDataChannel, Read-only, Reference, WebRTC, WebRTC API, data, datachannel, negotiated
只读 RTCDataChannel property negotiated indicates whether the RTCDataChannel 's connection was negotiated by the Web app ( true ) or by the WebRTC layer ( false ).
3238 RTCDataChannel.onbufferedamountlow Event Handler, Experimental, Networking, Property, RTCDataChannel, Reference, WebRTC, buffering, onbufferedamountlow
RTCDataChannel.onbufferedamountlow property is an EventHandler which specifies a function the browser calls when the bufferedamountlow event is sent to the RTCDataChannel . This event, which is represented by a simple 事件 object, is sent when the amount of data buffered to be sent falls to or below the threshold specified by the channel's bufferedAmountLowThreshold .
3239 RTCDataChannel.onclose Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onclose
RTCDataChannel.onclose property is an EventHandler which specifies a function to be called by the browser when the close event is received by the RTCDataChannel . This is a simple 事件 which indicates that the data channel has closed down.
3240 RTCDataChannel.onerror Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onerror
RTCDataChannel.onerror property is an EventHandler which specifies a function to be called when the error event is received. When an error occurs on the data channel, the function receives as input an ErrorEvent object describing the error which occurred.
3241 RTCDataChannel.onmessage Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onmessage
RTCDataChannel.onmessage property stores an EventHandler which specifies a function to be called when the message event is fired on the channel. This event is represented by the MessageEvent interface. This event is sent to the channel when a message is received from the other peer.
3242 RTCDataChannel.onopen Event Handler, Experimental, Property, RTCDataChannel, Reference, WebRTC, onopen
RTCDataChannel.onopen property is an EventHandler which specifies a function to be called when the open event is fired; this is a simple 事件 which is sent when the data channel's underlying data transport—the link over which the RTCDataChannel 's messages flow—is established or re-established.
3243 RTCDataChannel.ordered Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, ordered
只读 RTCDataChannel property ordered indicates whether or not the data channel guarantees in-order delivery of messages; the default is true , which indicates that the data channel is indeed ordered.
3244 RTCDataChannel.protocol Experimental, NeedsExample, Property, Protocol, RTCDataChannel, Read-only, Reference, WebRTC
只读 RTCDataChannel property 协议 返回 DOMString containing the name of the subprotocol in use. If no protocol was specified when the data channel was created, then this property's value is "" (the empty string).
3245 RTCDataChannel.readyState Experimental, Property, RTCDataChannel, Read-only, Reference, WebRTC, readyState
只读 RTCDataChannel property readyState returns an enum of type RTCDataChannelState which indicates the state of the data channel's underlying data connection.
3246 RTCDataChannel.reliable Experimental, Obsolete, Property, RTCDataChannel, Read-only, WebRTC, reliable
只读 RTCDataChannel property reliable indicates whether or not the data channel is reliable.
3247 RTCDataChannel.send() API, Communication, Data Transfer, Method, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, datachannel, send
send() 方法在 RTCDataChannel interface sends data across the data channel to the remote peer.
3248 RTCDataChannel.stream Non-standard, Obsolete, Property, RTCDataChannel, Read-only, Reference, WebRTC, stream
The deprecated (and never part of the official specification) read-only RTCDataChannel property stream returns an ID number (between 0 and 65,535) which uniquely identifies the RTCDataChannel .
3249 RTCDataChannel: bufferedamountlow event API, Buffer, Communication, Media, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, bufferedamountlow, data, events, rtc
A bufferedamountlow event is sent to an RTCDataChannel when the number of bytes currently in the outbound data transfer buffer falls below the threshold specified in bufferedAmountLowThreshold .
3250 RTCDataChannel: close event API, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events
close event is sent to the onclose event handler on an RTCDataChannel instance when the data transport being used for the data channel has closed.
3251 RTCDataChannel: error event API, Connectivity, Data Channel, Error, Error Handling, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, rtc
A WebRTC error event is sent to an RTCDataChannel 对象的 onerror error handler when an error occurs on the data channel.
3252 RTCDataChannel: message event API, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, data, events, message, messaging, rtc
The WebRTC message event is sent to the onmessage event handler on an RTCDataChannel object when a message has been received from the remote peer.
3253 RTCDataChannel: open event API, Connectivity, Connetion, Data Channel, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, channel, close, data, events, rtc
The WebRTC open event is sent to an RTCDataChannel 对象的 onopen event handler when the underlying transport used to send and receive the data channel's messages is opened or re-opened.
3254 RTCDataChannelEvent API, Experimental, Interface, RTCDataChannelEvent, Reference, WebRTC, datachannel
RTCDataChannelEvent() constructor returns a new RTCDataChannelEvent object, which represents a datachannel event. These events sent to an RTCPeerConnection when its remote peer is asking to open an RTCDataChannel between the two peers.
3255 RTCDataChannelEvent() Constructor, Experimental, RTCDataChannelEvent, Reference, WebRTC
RTCDataChannelEvent() 构造函数创建新 RTCDataChannelEvent .
3256 RTCDataChannelEvent.channel Experimental, Property, RTCDataChannelEvent, Read-only, Reference, WebRTC, channel
The read-only property RTCDataChannelEvent .channel 返回 RTCDataChannel 与事件关联。
3257 RTCDtlsTransport API, Draft, Experimental, Interface, NeedsContent, NeedsExample, RTCDtlsTransport, Reference
RTCDtlsTransport interface provides information which describes a Datagram Transport Layer Security ( DTLS ) transport.
3258 RTCDtlsTransport.iceTransport API, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCDtlsTransport, Read-only, Reference, iceTransport
只读 RTCDtlsTransport property iceTransport contains a reference to the underlying RTCIceTransport .
3259 RTCDtlsTransport.state API, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCDtlsTransport, RTCDtlsTransportState, Read-only, Reference, WebRTC, state
state 只读特性在 RTCDtlsTransport interface provides information which describes a Datagram Transport Layer Security ( DTLS ) transport state.
3260 RTCIceCandidate API, Candidate, Connection, Connectivity, ICE, Interface, Media, RTCIceCandidate, Reference, SDP, Web RTC, WebRTC, WebRTC API
RTCIceCandidate interface—part of the WebRTC API —represents a candidate Internet Connectivity Establishment ( ICE ) configuration which may be used to establish an RTCPeerConnection .
3261 RTCIceCandidate. toJSON() API, Candidate, ICE, JSON, Method, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, toJSON
RTCIceCandidate 方法 toJSON() converts the RTCIceCandidate on which it's called into JSON in the form of an RTCIceCandidateInit 对象。
3262 RTCIceCandidate.RTCIceCandidate() API, Audio, Candidate, Constructor, ICE, Media, RTCIceCandidate, Video, WebRTC, WebRTC API, rtc
RTCIceCandidate () constructor creates and returns a new RTCIceCandidate object, which can be configured to represent a single ICE candidate.
3263 RTCIceCandidate.candidate API, Candidate, Candidates, ICE, Media, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, a-line
The read-only property candidate RTCIceCandidate interface returns a DOMString describing the candidate in detail.
3264 RTCIceCandidate.component API, ICE, Property, RTCIceCandidate, RTCP, RTP, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, component
只读 component property on the RTCIceCandidate interface is a string which indicates whether the candidate is an RTP or an RTCP candidate.
3265 RTCIceCandidate.foundation API, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, Transport, WebRTC, WebRTC API, foundation
RTCIceCandidate interface's read-only foundation property is a string which uniquely identifies the candidate across multiple transports.
3266 RTCIceCandidate.ip API, Address, Candidate, ICE, IP, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API
RTCIceCandidate interface's read-only ip property is a string providing the address of the device which is the source of the candidate.
3267 RTCIceCandidate.port API, Candidate, ICE, Networking, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, port
RTCIceCandidate interface's read-only port property contains the port number on the device at the address given by ip at which the candidate's peer can be reached.
3268 RTCIceCandidate.priority API, Candidate, ICE, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, priority
RTCIceCandidate interface's read-only priority property specifies the candidate's priority according to the remote peer; the higher this value is, the better the remote peer considers the candidate to be.
3269 RTCIceCandidate.protocol API, ICE, Property, Protocol, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API
RTCIceCandidate interface's read-only 协议 property is a string which indicates whether the candidate uses UDP or TCP as its transport protocol.
3270 RTCIceCandidate.relatedAddress API, Address, IP, Property, RTCIceCandidate, Read-only, Reference, SDP, STUN, TURN, WebRTC, WebRTC API, relatedAddress
RTCIceCandidate interface's read-only relatedAddress property is a string indicating the related address of a relay or reflexive candidate.
3271 RTCIceCandidate.relatedPort API, Address, Candidate, ICE, IP, Media, Property, RTCIceCandidate, Reference, SDP, WebRTC, WebRTC API, relatedPort
RTCIceCandidate interface's read-only relatedPort property indicates the port number of reflexive or relay candidates.
3272 RTCIceCandidate.sdpMLineIndex API, Candidate, Media Description, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex
只读 sdpMLineIndex property on the RTCIceCandidate interface is a zero-based index of the m-line describing the media associated with the candidate.
3273 RTCIceCandidate.sdpMid API, ICE, Identification, Property, RTCIceCandidate, Read-only, SDP, WebRTC, WebRTC API, id, identification-tag, sdpMid, stream
The read-only property sdpMid RTCIceCandidate interface returns a DOMString specifying the media stream identification tag of the media component with which the candidate is associated.
3274 RTCIceCandidate.tcpType API, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, tcpType
RTCIceCandidate interface's read-only tcpType property is included on TCP candidates to provide additional details about the candidate type.
3275 RTCIceCandidate.type API, Candidate, ICE, Media, RTCIceCandidate, Read-only, Reference, SDP, Type, WebRTC, WebRTC API
RTCIceCandidate interface's read-only type specifies the type of candidate the object represents.
3276 RTCIceCandidate.usernameFragment API, Candidate, NeedsExample, Property, RTCIceCandidate, Read-only, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment
只读 usernameFragment property on the RTCIceCandidate interface is a string indicating the username fragment ("ufrag") that uniquely identifies a single ICE interaction session.
3277 RTCIceCandidateInit API, Candidate, Dictionary, ICE, Interface, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API
WebRTC API's RTCIceCandidateInit dictionary, which contains the information needed to fundamentally describe an RTCIceCandidate .
3278 RTCIceCandidateInit.candidate API, Candidate, ICE, Media, Property, RTCIceCandidateInit, SDP, Signaling, WebRTC, WebRTC API, candidate-attribute
The optional property candidate RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate 对象的 candidate 特性。
3279 RTCIceCandidateInit.sdpMLineIndex API, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, m-line, sdpMLineIndex
The optional property sdpMLineIndex RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate 对象的 sdpMLineIndex 特性。
3280 RTCIceCandidateInit.sdpMid API, ICE, Media, NeedsContent, Property, RTCIceCandidateInit, SDP, WebRTC, WebRTC API, m-line, sdpMid
The optional property sdpMid RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate 对象的 sdpMid 特性。
3281 RTCIceCandidateInit.usernameFragment API, Candidate, NeedsExample, Property, RTCIceCandidateInit, Reference, SDP, WebRTC, WebRTC API, ufrag, usernameFragment
The optional property usernameFragment RTCIceCandidateInit dictionary specifies the value of the RTCIceCandidate 对象的 usernameFragment 特性。
3282 RTCIceCandidatePair API, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, Pair, Reference, WebRTC, WebRTC API
RTCIceCandidatePair dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints.
3283 RTCIceCandidatePair.local API, Candidate, Connectivity, ICE, Negotiation, Property, RTCIceCandidatePair, Reference, WebRTC, WebRTC API, local, rtc
local 特性为 RTCIceCandidatePair dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection.
3284 RTCIceCandidatePair.remote API, Candidate, ICE, Negotiation, Pair, Property, RTCIceCandidatePair, Reference, Remote, WebRTC, WebRTC API, rtc
remote 特性为 RTCIceCandidatePair dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection.
3285 RTCIceCandidatePairStats API, Candidate, Candidate Pair, Connection, Connectivity, Dictionary, ICE, Media, Networking, Pair, Reference, Statistics, Stats, WebRTC, WebRTC API, candidate-pair, rtc
The WebRTC RTCIceCandidatePairStats dictionary reports statistics which provide insight into the quality and performance of an RTCPeerConnection while connected and configured as described by the specified pair of ICE candidates.
3286 RTCIceCandidatePairStats.availableIncomingBitrate API, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, Network, Pair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, availableIncomingBitrate, priority, speed
RTCIceCandidatePairStats property availableIncomingBitrate returns a value indicative of the available inbound capacity of the network connection represented by the candidate pair.
3287 RTCIceCandidatePairStats.availableOutgoingBitrate API, Bandwidth, Bit Rate, Bitrate, Candidate, Connection, ICE, Network, Pair, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API
RTCIceCandidatePairStats property availableOutgoingBitrate returns a value indicative of the available outbound capacity of the network connection represented by the candidate pair.
3288 RTCIceCandidatePairStats.bytesReceived API, Candidate, Candidate Pair, ICE, Network, Networking, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, data
RTCIceCandidatePairStats property bytesReceived indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been received to date on the connection described by the candidate pair.
3289 RTCIceCandidatePairStats.bytesSent API, Candidate, Candidate Pair, ICE, Pair, RTCIceCandidatePairStats, Sent, Statistics, Stats, Transmitted, WebRTC, WebRTC API, bytesSent, rtc
RTCIceCandidatePairStats property bytesSent indicates the total number of payload bytes—that is, bytes which aren't overhead such as headers or padding—that hve been sent so far on the connection described by the candidate pair.
3290 RTCIceCandidatePairStats.circuitBreakerTriggerCount API, Circuit-Breaker, Connection, Property, Reference, Statistics, Stats, WebRTC, WebRTC API, circuitBreakerTriggerCount
RTCIceCandidatePairStats property circuitBreakerTriggerCount indicates the number of times the circuit-breaker has been triggered to indicate a connection timeout or other unexpected connection abort on this specific connection configuration.
3291 RTCIceCandidatePairStats.consentExpiredTimestamp API, Binding, Connection, Connectivity, Consent, Property, RTCIceCandidatePairStats, Reference, STUN, WebRTC, WebRTC API, consentTimestampExpired, expiration, rtc, timeStamp
RTCIceCandidatePairStats property consentExpiredTimestamp indicates the time at which the most recent STUN binding response expired.
3292 RTCIceCandidatePairStats.consentRequestsSent API, Candidates, Connectivity, ICE, Networking, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, contentRequestsReceived, data, rtc
RTCIceCandidatePairStats property consentRequestsSent specifies the number of consent requests that have been sent by this peer to the remote peer on the connection described by the pair of candidates.
3293 RTCIceCandidatePairStats.currentRoundTripTime API, Connectivity, ICE, Network, Performance, Ping, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, currentRoundTripTime, rtc, speed
RTCIceCandidatePairStats property currentRoundTripTime is a floating-point value indicating the number of seconds it takes for data to be sent by this peer to the remote peer and back over the connection described by this pair of ICE candidates.
3294 RTCIceCandidatePairStats.firstRequestTimestamp API, Connectivity, ICE, Network, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, Timing, WebRTC, WebRTC API, firstRequestTimestamp, timeStamp
RTCIceCandidatePairStats property firstRequestTimestamp specifies the time at which the first STUN request was sent on the described candidate pair.
3295 RTCIceCandidatePairStats.lastPacketReceivedTimestamp API, ICE, Networking, Packet, Property, RTCIceCandidatePairStats, Statistics, Stats, WebRTC, WebRTC API, lastPacketReceivedTimestamp, timeStamp
RTCIceCandidatePairStats property lastPacketReceivedTimestamp indicates the time at which the connection described by the candidate pair last received a packet. STUN packets are not included.
3296 RTCIceCandidatePairStats.lastRequestTimestamp API, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, lastRequestTimestamp, timeStamp
RTCIceCandidatePairStats property lastRequestTimestamp indicates the time at which the most recent STUN request was sent on the described candidate pair.
3297 RTCIceCandidatePairStats.nominated API, Flag, ICE, Negotiation, Networking, Property, RTCIceCandidatePairStats, Reference, WebRTC, WebRTC API, nominated
RTCIceCandidatePairStats property nominated specifies whether or not the candidate pair described by the underlying RTCIceCandidatePair has been nominated to be used as the configuration for the WebRTC connection.
3298 RTCIceCandidatePairStats.packetsReceived API, Communication, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsReceived
RTCIceCandidatePairStats dictionary's packetsReceived property indicates the total number of packets of any kind that have been received on the connection described by the pair of candidates.
3299 RTCIceCandidatePairStats.packetsSent API, Candidate, Connectivity, ICE, Networking, Packets, Property, RTCIceCandidatePairStats, Reference, Sent, Statistics, Stats, WebRTC, WebRTC API
RTCIceCandidatePairStats dictionary's packetsSent property indicates the total number of packets which have been sent on the connection described by the pair of candidates.
3300 RTCIceCandidatePairStats.priority API, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, priority
obsolete RTCIceCandidatePairStats property priority reports the priority of the candidate pair as an integer value.
3301 RTCIceCandidatePairStats.readable API, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, readable
obsolete RTCIceCandidatePairStats property readable reports whether or not the connection described by the candidate pair has received at least one valid incoming ICE request.
3302 RTCIceCandidatePairStats.remoteCandidateId API, Candidate, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id
RTCIceCandidatePairStats property remoteCandidateId is a string that uniquely identifies the remote ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates.
3303 RTCIceCandidatePairStats.requestsReceived API, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, request, requestsReceived
RTCIceCandidatePairStats dictionary's requestsReceived property indicates the total number of STUN connectivity check requests that have been received so far on the connection described by this pairing of candidates.
3304 RTCIceCandidatePairStats.requestsSent API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, STUN, Statistics, Stats, WebRTC, WebRTC API, requestsSent
RTCIceCandidatePairStats dictionary's requestsSent property indicates the total number of STUN connectivity check requests that have been sent so far on the connection described by this pair of candidates.
3305 RTCIceCandidatePairStats.responsesReceived API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesReceived
responsesReceived property in the RTCIceCandidatePairStats dictionary indicates the total number of STUN connectivity check responses that have been received on the connection described by this pair of candidates.
3306 RTCIceCandidatePairStats.responsesSent API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Responses, STUN, Statistics, Stats, WebRTC, WebRTC API, responsesSent
RTCIceCandidatePairStats dictionary's responsesSent property indicates the total number of STUN connectivity check responses that have been sent so far on the connection described by this pair of candidates.
3307 RTCIceCandidatePairStats.retransmissionsReceived API, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Received, Reference, Retransmissions, STUN, Statistics, Stats, WebRTC, WebRTC API, retransmissionsReceived
RTCIceCandidatePairStats dictionary's retransmissionsReceived property indicates the total number of STUN connectivity check request retransmissions that have been received so far on the pair of candidates.
3308 RTCIceCandidatePairStats.retransmissionsSent
RTCIceCandidatePairStats dictionary's retransmissionsSent property indicates the total number of STUN connectivity check request retransmissions that have been sent so far on the pair of candidates.
3309 RTCIceCandidatePairStats.selected
non-standard , Firefox-specific RTCIceCandidatePairStats property selected indicates whether or not the candidate pair described by the object is the one currently being used to communicate with the remote peer.
3310 RTCIceCandidatePairStats.state API, Candidate, CandidatePair, Check List, ICE, Pair, Property, RTCIceCandidatePair, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, state
state property in an RTCIceCandidatePairStats object indicates the state of the check list of which the candidate pair is a member.
3311 RTCIceCandidatePairStats.totalRoundTripTime API, Candidate, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, round-trip, rount trip time, rtt, totalRoundTripTime
RTCIceCandidatePairStats dictionary's totalRoundTripTime property is the total time that has elapsed between sending STUN requests and receiving the responses, for all such requests that have been made so far on the pair of candidates described by this RTCIceCandidatePairStats 对象。
3312 RTCIceCandidatePairStats.transportId API, ICE, Networking, Property, RTCIceCandidatePairStats, RTCIceTransport, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, transportID
transportId property uniquely identifies the RTCIceTransport that was inspected to obtain the transport-related statistics contained in the RTCIceCandidatePairStats 对象。
3313 RTCIceCandidatePairStats.writable API, Candidate, ICE, Obsolete, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, writable
obsolete RTCIceCandidatePairStats property writable reports whether or not the connection described by the candidate pair is writable.
3314 RTCIceCandidateStats.lastPacketSentTimestamp API, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp
RTCIceCandidatePairStats property lastPacketSentTimestamp indicates the time at which the connection described by the candidate pair last sent a packet, not including STUN packets.
3315 RTCIceCandidateStats.lastResponseTimestamp API, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Response, Statistics, Stats, WebRTC, WebRTC API, lastResponseTimestamp, timeStamp
RTCIceCandidatePairStats property lastResponseTimestamp indicates the time at which the last STUN response was received on the described candidate pair.
3316 RTCIceCandidateStats.localCandidateId API, Candidate, Connection, Connectivity, ICE, Networking, Property, RTCIceCandidatePairStats, Reference, Statistics, Stats, WebRTC, WebRTC API, local, localCandidateId
RTCIceCandidatePairStats property localCandidateId is a string that uniquely identifies the local ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates.
3317 RTCIceCandidateStats API, Candidate, Dictionary, ICE, Ice Candidate, RTCIceCandidate, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API
The WebRTC API's RTCIceCandidateStats dictionary provides statistics related to an RTCIceCandidate .
3318 RTCIceCandidateStats.address API, Address, Domain, Domain Name, FQDN, IP, IPv4, IPv6, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API
address 特性为 RTCIceCandidateStats dictionary indicates the address of the ICE candidate. While it's preferred that the address be specified as an IPv4 or IPv6 numeric address, a fully-qualified domain name can be used as well.
3319 RTCIceCandidateStats.candidateType API, Candidate, ICE, Networking, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, candidateType, rtc
RTCIceCandidateStats 接口的 candidateType property is a string which indicates the type of ICE candidate the object represents.
3320 RTCIceCandidateStats.deleted API, Candidate, Property, RTCIceCandidateStats, Reference, WebRTC, WebRTC API, deleted
RTCIceCandidateStats dictionary's deleted property indicates whether or not the candidate has been deleted or released.
3321 RTCIceCandidateStats.mozLocalTransport API, Candidate, ICE, Media, Non-standard, Obsolete, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Relay, Statistics, Stats, Transport, WebRTC, WebRTC API, mozLocalTransport
The non-standard Mozilla extension to the RTCIceCandidateStats dictionary, mozLocalTransport , has been supplanted by the standard 协议 and relayProtocol 特性。
3322 RTCIceCandidateStats.networkType API, Candidate, Connection, Connectivity, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, networkType
RTCIceCandidateStats dictionary's networkType property specifies the type of network used by a local candidate to communicate with a remote peer.
3323 RTCIceCandidateStats.port API, Candidate, Connection, ICE, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, WebRTC, WebRTC API, port
RTCIceCandidateStats dictionary's port property specifies the network port used by the candidate.
3324 RTCIceCandidateStats.priority
RTCIceCandidateStats dictionary's priority property is a positive integer value indicating the priority (or desirability) of the described candidate.
3325 RTCIceCandidateStats.protocol API, Candidate, ICE, Media, Property, Protocol, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API
RTCIceCandidateStats dictionary's 协议 property specifies the protocol the specified candidate would use for communication with the remote peer.
3326 RTCIceCandidateStats.relayProtocol API, Candidate, ICE, Media, Property, Protocol, RTCIceCandidate, RTCIceCandidateStats, Statistics, Stats, WebRTC, WebRTC API, relayProtocol, rtc
RTCIceCandidateStats dictionary's relayProtocol property specifies the protocol being used by a local ICE candidate to communicate with the TURN 服务器。
3327 RTCIceCandidateStats.transportId API, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, Transport, WebRTC, WebRTC API, id, rtc, transportID
RTCIceCandidateStats dictionary's transportId property is a string that uniquely identifies the transport that produced the RTCTransportStats from which information about this candidate was taken.
3328 RTCIceCandidateStats.url API, Candidate, Connection, Connectivity, ICE, Network, Networking, Property, RTCIceCandidateStats, Reference, Statistics, Stats, URL, WebRTC, WebRTC API, rtc
RTCIceCandidateStats dictionary's url property specifies the URL of the ICE server from which the described candidate was obtained. This property is only available for local candidates.
3329 RTCIceCandidateType API, Enum, Enumerated Type, ICE, Media, RTCIceCandidateType, Reference, SDP, Type, WebRTC, WebRTC API
WebRTC API's RTCIceCandidateType enumerated type provides a set of DOMString values representing the types of ICE candidate that can arrive.
3330 RTCIceComponent API, Enum, Enumerated, Enumeration, ICE, RTCIceComponent, RTCP, RTP, Reference, SDP, Transport, Type, component
WebRTC API's RTCIceComponent enumerated type contains DOMString values that each identify a specific ICE component; these are "rtp" and "rtcp" .
3331 RTCIceCredentialType
The WebRTC API's RTCIceCredentialType enumerated string type defines the authentication method used to gain access to an ICE server identified by an RTCIceServer 对象。
3332 RTCIceGathererState API, Enum, Enumerated Type, Gathering, ICE, RTCIceGathererState, Read-only, Reference, Type, WebRTC, rtc, state
RTCIceGathererState enumerated type provides the string values which can be returned by an RTCIceTransport 对象的 gatheringState .
3333 RTCIceParameters API, Candidate, Connectivity, Dictionary, ICE, Interface, Negotiation, RTCIceParameters, Reference, Transport, WebRTC, WebRTC API, password, ufrag, username
RTCIceParameters dictionary specifies the username fragment and password assigned to an ICE session.
3334 RTCIceParameters.password API, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceParameters, Reference, WebRTC, WebRTC API, password
RTCIceParameters dictionary's password property specifies the ICE password that, in tandem with the usernameFragment , uniquely identifies an ICE session for its entire duration.
3335 RTCIceParameters.usernameFragment API, Candidate, ICE, Negotiation, Property, RTCIceParameters, Reference, Web RTC API, WebRTC, ice-ufrag, parameters, rtc, ufrag, username, usernameFragment
RTCIceParameters dictionary's usernameFragment property specifies the username fragment ("ufrag") that uniquely identifies the corresponding ICE session for the duration of the current ICE session.
3336 RTCIceProtocol API, Enumerated Type, ICE, Media, RTCIceProtocol, Reference, SDP, TCP, Type, UDP, WebRTC, WebRTC API
WebRTC API's RTCIceProtocol enumerated type provides a set of DOMString values representing the names of the transport protocols ICE candidates can use.
3337 RTCIceRole API, Controlled Agent, Controlling Agent, Enumerated Type, Enumeration, ICE, Media, RTCIceRole, Reference, Rôle, Type, WebRTC, WebRTC API, agent, rtc
RTCIceRole enumerated type lists the string values that identify whether a connection's ICE agent is serving as the controlling agent or the controlled agent, as indicated by RTCIceTransport.role .
3338 RTCIceServer Authentication, Configuration, Dictionary, Experimental, ICE, RTCIceServer, WebRTC
RTCIceServer dictionary defines how to connect to a single ICE server (such as a STUN or TURN server). It includes both the URL and the necessary credentials, if any, to connect to the server.
3339 RTCIceServer.credential Credential, Experimental, Property, RTCIceServer, Reference, TURN, WebRTC
RTCIceServer dictionary's credential property is a string providing the credential to use when connecting to the described server. This is typically a password, key, or other secret.
3340 RTCIceServer.credentialType Authentication, ICE, OAuth, Property, RTCIceServer, Reference, WebRTC, WebRTC API, credentialType, credentials, password
RTCIceServer dictionary's credentialType property is a string value from the RTCIceCredentialType enum which indicates what type of credential the RTCIceServer.credential value is. The default is password .
3341 RTCIceServer.url Experimental, Obsolete, Property, RTCIceServer, Reference, URL, WebRTC
obsolete RTCIceServer dictionary's url property specifies the URL of a single ICE server to be used while negotiating connections. It was removed from the specification in June 2013 but is still broadly used in older examples and books, so we include documentation here to help adapt old code to new browsers.
3342 RTCIceServer.username Experimental, Property, RTCIceServer, Reference, WebRTC, username
RTCIceServer dictionary's username property is a string which specifies the username to use when authenticating with the ICE server being described.
3343 RTCIceServers.urls Experimental, Property, RTCIceServer, Reference, WebRTC, urls
RTCIceServer dictionary's urls property specifies the URL or URLs of the servers to be used for ICE negotiations. These are typically STUN and/or TURN servers.
3344 RTCIceTcpCandidateType API, Enum, Enumerated Type, RTCIceTcpCandidateType, Reference, TCP Type, Type, WebRTC, WebRTC API
WebRTC API's RTCIceTcpCandidateType enumerated type provides a set of DOMString values representing the types of TCP candidates.
3345 RTCIceTransport API, Audio, Interface, Media, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, rtc
RTCIceTransport interface provides access to information about the ICE transport layer over which the data is being sent and received.
3346 RTCIceTransport.component API, ICE, Media, Property, RTCIceTransport, RTCP, RTP, Read-only, Reference, Transport, Video, WebRTC, WebRTC API, component
只读 RTCIceTransport property component specifies whether the object is serving to transport RTP or RTCP. The value is one of the strings in RTCIceComponent .
3347 RTCIceTransport.gatheringState API, Gatherer, Property, RTCIceTransport, Read-only, Reference, WebRTC, WebRTC API, gatheringState, state
只读 RTCIceTransport property gatheringState 返回 DOMString from the enumerated type RTCIceGathererState that indicates what gathering state the ICE agent is currently in: "new" , "gathering" ,或 "complete" .
3348 RTCIceTransport.getLocalCandidates() API, Candidates, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, getLocalCandidates, rtc
RTCIceTransport 方法 getLocalCandidates() returns an array of RTCIceCandidate objects, one for each of the candidates that have been gathered by the local device during the current ICE agent session.
3349 RTCIceTransport.getLocalParameters() API, Connectivity, ICE, Method, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, getLocalParameters, parameters, password, ufrag, username, usernameFragment
RTCIceTransport 方法 getLocalParameters() 返回 RTCIceParameters object which provides information uniquely identifying the local peer for the duration of the ICE session.
3350 RTCIceTransport.getRemoteCandidates() API, Candidates, Connectivity, ICE, Negotiation, Property, RTCIceTransport, Reference, Remote, WebRTC, WebRTC API, getRemoteCandidates, rtc
RTCIceTransport 方法 getRemoteCandidates() returns an array which contains one RTCIceCandidate for each of the candidates that have been received from the remote peer so far during the current ICE gathering session.
3351 RTCIceTransport.getRemoteParameters()
RTCIceTransport 方法 getRemoteParameters() 返回 RTCIceParameters object which provides information uniquely identifying the remote peer for the duration of the ICE session.
3352 RTCIceTransport.getSelectedCandidatePair() API, Candidates, Connectivity, Gathering, ICE, Method, Negotiation, Pair, RTCIceTransport, Reference, WebRTC, WebRTC API, getSelectedCandidatePair
RTCIceTransport 方法 getSelectedCandidatePair() 返回 RTCIceCandidatePair object containing the current best-choice pair of ICE candidates describing the configuration of the endpoints of the transport.
3353 RTCIceTransport.ongatheringstatechange API, Candidates, Connectivity, Event Handler, Gathering, ICE, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, ongatheringstatechange
ongatheringstatechange event handler for the RTCIceTransport interface specifies an event handler that is to be called when the gatheringstatechange event occurs on the transport.
3354 RTCIceTransport.onselectedcandidatepairchange API, Candidate, Candidate Pair, Connectivity, Event Handler, Negotiation, Property, RTCIceTransport, Reference, WebRTC, WebRTC API, onselectedcandidatepairchange, selectedcandidatepairchange
RTCIceTransport 接口的 onselectedcandidatepairchange event handler specifies a function to be called to handle the selectedcandidatepairchange event, which is fired when the ICE agent selects a new candidate pair to be used for the connection.
3355 RTCIceTransport.onstatechange API, Audio, Change, Event Handler, Media, Property, RTCIceTransport, Reference, Video, WebRTC, WebRTC API, onstatechange, rtc, state, statechange
onstatechange event handler for the RTCIceTransport interface is a property which specifies a function to serve as the EventHandler statechange event that is fired whenever the transport's state 改变。
3356 RTCIceTransport.role API, Audio, Candidates, ICE, Media, Negotiation, Property, RTCIceTransport, Read-only, Reference, Rôle, Video, WebRTC, WebRTC API, rtc
只读 RTCIceTransport property role indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
3357 RTCIceTransport.state API, Enumerated Type, Enumeration, ICE, Media, Property, RTCIceTransportState, Read-only, Reference, Transport, Type, WebRTC, WebRTC API, state
只读 RTCIceTransport property state returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
3358 RTCIceTransport: gatheringstatechange event Connection, Connectivity, Gathering, ICE, Negotiation, RTCIceTransport, Reference, Transport, WebRTC, WebRTC API, events, gatheringSstate, gatheringstatechange
A gatheringstatechange event is sent to an RTCIceTransport when its ICE candidate gathering state changes.
3359 RTCIceTransport: selectedcandidatepairchange event Connectivity, ICE, Negotiation, RTCIceCandidate, RTCIceTransport, Reference, SDP, WebRTC, WebRTC API, events, onselectedcandidatepairchange, selectedcandidatepairchange
A selectedcandidatepairchange event is sent to an RTCIceTransport ICE agent selects a new pair of candidates that describe the endpoints of a viable connection.
3360 RTCIceTransport: statechange event ICE, Negotiation, RTCIceTransport, Reference, SDP, Transport, WebRTC, WebRTC API, events, rtc, state, statechange
A statechange event occurs when the RTCIceTransport changes state. The state can be used to determine how far through the process of examining, verifying, and selecting a valid candidate pair is prior to successfully connecting the two peers for WebRTC communications.
3361 RTCIceTransportState API, Candidate, Enum, Enumerated Type, Enumeration, ICE, Media, RTCIceTransportState, Reference, Transport, Type, WebRTC, WebRTC API, state
RTCIceTransportState enumerated type defines the string values which may be returned by the state property on RTCIceTransport objects. The transport state indicates which stage of the candidate gathering process is currently underway.
3362 RTCIdentityAssertion API, Experimental, Interface, RTCIdentityAssertion, Reference, WebRTC, WebRTC API
RTCIdentityAssertion 接口的 WebRTC API represents the identity of the a remote peer of the current connection. If no peer has yet been set and verified this interface returns null . Once set it can't be changed.
3363 RTCIdentityErrorEvent API, Experimental, Expérimental(2), Interface, Reference, Référence(2), WebRTC
RTCIdentityErrorEvent interface represents an error associated with the identity provider (idP). This is usually for an RTCPeerConnection . Two events are sent with this type: idpassertionerror and idpvalidationerror .
3364 RTCIdentityErrorEvent.idp Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.idp 返回 DOMString describing the domain name of the identity provider (idp) generating the error response event.
3365 RTCIdentityErrorEvent.loginUrl Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.loginUrl DOMString giving the URL where the user can complete the authentication. It can be null and is provided by the identity provider (idp).
3366 RTCIdentityErrorEvent.protocol Experimental, Expérimental(2), Property, RTCIdentityErrorEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityErrorEvent.protocol DOMString describing the Idp protocol in use.
3367 RTCIdentityEvent API, Experimental, Interface, RTCIdentityEVent, Reference, WebRTC, WebRTC API
RTCIdentityEvent interface represents an identity assertion generated by an identity provider (idP). This is usually for an RTCPeerConnection . The only event sent with this type is identityresult ..
3368 RTCIdentityEvent.assertion Experimental, Expérimental(2), Property, RTCIdentyEvent, Read-only, Reference, Référence(2), WebRTC
The read-only property RTCIdentityEvent.assertion 返回 DOMString containing a blob being the coded assertion associated with the event.
3369 RTCInboundRtpStreamStats API, Dictionary, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, local, receiver
WebRTC API 's RTCInboundRtpStreamStats dictionary, based upon RTCReceivedRtpStreamStats and RTCStats , contains statistics related to the receiving end of an RTP stream on the local end of the RTCPeerConnection .
3370 RTCInboundRtpStreamStats.averageRtcpInterval API, Packet, Property, RTCInboundRtpStreamStats, RTCP, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate
averageRtcpInterval 特性为 RTCInboundRtpStreamStats dictionary is a floating-point value indicating the average RTCP transmission interval, in seconds.
3371 RTCInboundRtpStreamStats.bytesReceived API, Media, Networking, Performance, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, bytesReceived, stream
RTCInboundRtpStreamStats dictionary's bytesReceived property is an integer value which indicates the total number of bytes received so far from this synchronization source (SSRC).
3372 RTCInboundRtpStreamStats.fecPacketsDiscarded API, Errors, FEC, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, fecPacketsDiscarded
fecPacketsDiscarded 特性为 RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of RTP Forward Error Correction (FEC) packets that have been discarded.
3373 RTCInboundRtpStreamStats.fecPacketsReceived
fecPacketsReceived 特性为 RTCInboundRtpStreamStats dictionary indicates how many Forward Error Correction (FEC) packets have been received by this RTP receiver from the remote peer.
3374 RTCInboundRtpStreamStats.firCount API, FIR, Frames, Property, RTCIncomingRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, firCount, stream
firCount 特性为 RTCInboundRtpStreamStats dictionary indicates the number of Full Intra Request ( FIR ) packets have been sent by the receiver to the sender.
3375 RTCInboundRtpStreamStats.framesDecoded API, Decode, Frames, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, decoding, framesDecoded, stream
framesDecoded 特性为 RTCInboundRtpStreamStats dictionary indicates the total number of frames which have been decoded successfully for this media source.
3376 RTCInboundRtpStreamStats.lastPacketReceivedTimestamp API, Media, Property, RTCInboundRtpStreamStats, RTP, Reference, Time, Time stamp, WebRTC, WebRTC API, lastPacketReceivedTimestamp, stream, timeStamp
lastPacketReceivedTimestamp 特性为 RTCInboundRtpStreamStats dictionary indicates the time at which the most recently received packet arrived from this source.
3377 RTCInboundRtpStreamStats.nackCount API, NACK, Packet Loss, Property, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream
nackCount 特性为 RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender.
3378 RTCInboundRtpStreamStats.packetsDuplicated API, Duplicate, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Repeat, Statistics, Stats, WebRTC, WebRTC API, packetsDuplicated, stream
packetsDuplicated 特性为 RTCInboundRtpStreamStats dictionary indicates the total number of packets discarded because they were duplicates of previously-received packets.
3379 RTCInboundRtpStreamStats.packetsFailedDecryption API, Decryption, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, packetsFailedDecryption, stream
packetsFailedDecryption 特性为 RTCInboundRtpStreamStats dictionary indicates the total number of RTP packets which failed to be decrypted successfully after being received by the local end of the connection during this session.
3380 RTCInboundRtpStreamStats.perDscpPacketsReceived API, DCSP, Packets, Property, RTCInboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDcspPacketsReceived
perDscpPacketsReceived 特性为 RTCInboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets received for that DCSP.
3381 RTCInboundRtpStreamStats.pliCount API, Media, PLI, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream
pliCount 特性为 RTCInboundRtpStreamStats dictionary states the number of times the RTCRtpReceiver described by these statistics sent a Picture Loss Indication ( PLI ) packet to the sender.
3382 RTCInboundRtpStreamStats.qpSum API, Property, QP, Quantization, RTCInboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, qpSum, stream
qpSum 特性为 RTCInboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter ( QP ) values for every frame sent or received to date on the video track corresponding to this RTCInboundRtpStreamStats 对象。
3383 RTCInboundRtpStreamStats.receiverId API, Audio, Media, Property, RTCInboundRtpStreamStats, RTP, RTP Receiver, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, receiver, receiverId
receiverId 特性为 RTCInboundRtpStreamStats dictionary specifies the id RTCAudioReceiverStats or RTCVideoReceiverStats object representing the RTCRtpReceiver receiving the stream.
3384 RTCInboundRtpStreamStats.remoteId API, Media, Property, RTCInboundRtpStreamStats, RTCRtpSender, RTP, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId, sender, stream
remoteId 特性为 RTCInboundRtpStreamStats dictionary specifies the id RTCRemoteOutboundRtpStreamStats object representing the remote peer's RTCRtpSender which is sending the media to the local peer.
3385 RTCInboundRtpStreamStats.sliCount API, Corruption, Errors, Property, RTCInboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream
sliCount 特性为 RTCInboundRtpStreamStats dictionary indicates how many Slice Loss Indication ( SLI ) packets the RTCRtpReceiver for which this object provdes statistics sent to the remote RTCRtpSender .
3386 RTCInboundRtpStreamStats.trackId API, Audio, Media, MediaStreamTrack, Property, RTCInboundRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, trackId
trackId 特性为 RTCInboundRtpStreamStats dictionary indicates the id RTCReceiverAudioTrackAttachmentStats or RTCReceiverVideoTrackAttachmentStats object representing the MediaStreamTrack which is receiving the incoming media.
3387 RTCNetworkType API, Connection, Enum, Enumerated Type, Enumeration, Network, RTCNetworkType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, networkType
WebRTC RTCNetworkType enumerated type defines a set of strings used to identify the type of network used by a connection between two peers.
3388 RTCOfferAnswerOptions Configuration, Dictionary, Options, RTCOfferAnswerOptions, Reference, Settings, WebRTC, WebRTC API, createAnswer, createOffer
WebRTC API's RTCOfferAnswerOptions dictionary is used to specify options that configure and control the process of creating WebRTC offers or answers.
3389 RTCOfferAnswerOptions.voiceActivityDetection Audio, Configuration, Offer, Options, Property, RTCOfferAnswerOptions, RTCPeerConnection, Reference, SDP, Voice, WebRTC, WebRTC API, answer, detection
voiceActivityDetection 特性为 RTCOfferAnswerOptions dictionary is used to specify whether or not to use automatic voice detection for the audio on an RTCPeerConnection . The default value, true , indicates that voice detection should be used and that if possible, the 用户代理 should automatically disable or mute outgoing audio when the audio source is not sensing a human voice.
3390 RTCOfferOptions Dictionary, Media, Offer, RTCOfferOptions, Reference, SDP, WebRTC, WebRTC API, rtc
RTCOfferOptions dictionary is used to provide optional settings when creating an RTCPeerConnection offer with the createOffer() 方法。
3391 RTCOfferOptions.iceRestart Configuration, ICE, ICE Restart, Offer, Option, Property, RTCOfferOptions, Reference, SDP, Setting, WebRTC, WebRTC API, iceRestart
iceRestart 特性为 RTCOfferOptions dictionary is a Boolean value which, when true, tells the RTCPeerConnection to start ICE renegotiation.
3392 RTCOutboundRtpStreamStats API, Dictionary, Outbound, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, stream
RTCOutboundRtpStreamStats dictionary is the RTCStats -based object which provides metrics and statistics related to an outbound RTP stream being sent by an RTCRtpSender .
3393 RTCOutboundRtpStreamStats.averageRtcpInterval API, Media, Packets, Property, RTCOutboundRtpStreamStats, RTCP, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, averageRtcpInterval, rate, sender, stream
averageRtcpInterval 特性为 RTCOutboundRtpStreamStats dictionary is a floating-point value indicating the average time that should pass between transmissions of RTCP packets on this stream.
3394 RTCOutboundRtpStreamStats.firCount API, FIR, Frames, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Skipped Frames, Statistics, Stats, Video, WebRTC, WebRTC API, firCount
firCount 特性为 RTCOutboundRtpStreamStats dictionary indicates the number of Full Intra Request ( FIR ) that the remote RTCRtpReceiver has sent to this RTCRtpSender .
3395 RTCOutboundRtpStreamStats.framesEncoded API, Encoding, Frames, Media, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, encode, framesEncoded, stream
framesEncoded 特性为 RTCOutboundRtpStreamStats dictionary indicates the total number of frames that have been encoded by this RTCRtpSender for this media source.
3396 RTCOutboundRtpStreamStats.lastPacketSentTimestamp API, Packet, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, lastPacketSentTImestamp, timeStamp
lastPacketSentTimestamp 特性为 RTCOutboundRtpStreamStats dictionary indicates the time at which the RTCRtpSender described by this RTCOutboundRtpStreamStats object last transmitted a packet to the remote receiver.
3397 RTCOutboundRtpStreamStats.nackCount API, Audio, Media, NACK, Packet Loss, Packets, Property, RTCOutboundRtpStreamStats, Reference, Reliability, Statistics, Stats, Video, WebRTC, WebRTC API, nackCount, stream
nackCount 特性为 RTCOutboundRtpStreamStats dictionary is a numeric value indicating the number of times the RTCRtpSender described by this object received a NACK packet from the remote receiver.
3398 RTCOutboundRtpStreamStats.perDscpPacketsSent API, DSCP, Media, Property, RTCOutboundRtpStreamStats, RTP, Reference, Services, Statistics, Stats, WebRTC, WebRTC API, perDscpPacketsSent
perDscpPacketsSent 特性为 RTCOutboundRtpStreamStats dictionary is a record comprised of key/value pairs in which each key is a string representation of a Differentiated Services Code Point and the value is the number of packets sent for that DCSP.
3399 RTCOutboundRtpStreamStats.pliCount API, Media, PLI, Property, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, pliCount, stream
pliCount 特性为 RTCOutboundRtpStreamStats dictionary states the number of times the remote peer's RTCRtpReceiver sent a Picture Loss Indication ( PLI ) packet to the RTCRtpSender for which this object provides statistics.
3400 RTCOutboundRtpStreamStats.qpSum API, Encoding, Media, Property, QP, Quantization, RTCOutboundRtpStreamStats, RTCRtpSender, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, stream
qpSum 特性为 RTCOutboundRtpStreamStats dictionary is a value generated by adding the Quantization Parameter ( QP ) values for every frame this sender has produced to date on the video track corresponding to this RTCOutboundRtpStreamStats 对象。
3401 RTCOutboundRtpStreamStats.qualityLimitationReason API, Media, Property, Quality, RTCOutboundRtpStreamStats, Reference, Statistics, Stats, WebRTC, WebRTC API, qualityLimitationReason, reason, stream
qualityLimitationReason 特性为 RTCOutboundRtpStreamStats dictionary is a string indicating the reason why the media quality in the stream is currently being reduced by the codec during encoding, or none if no quality reduction is being performed.
3402 RTCOutboundRtpStreamStats.remoteId API, Property, RTCOutboundRtpStreamStats, RTCRtpReceiver, RTCRtpSender, Reference, Remote, Statistics, Stats, WebRTC, WebRTC API, id, remoteId
remoteId 特性为 RTCOutboundRtpStreamStats dictionary specifies the id RTCRemoteInboundRtpStreamStats object representing the remote peer's RTCRtpReceiver which is sending the media to the local peer for this SSRC.
3403 RTCOutboundRtpStreamStats.sliCount API, Corruption, Errors, Property, RTCOutboundRtpStreamStats, RTP, Reference, SLI, Slice Loss, Statistics, Stats, Video, WebRTC, WebRTC API, sliCount, stream
sliCount 特性为 RTCOutboundRtpStreamStats dictionary indicates how many Slice Loss Indication ( SLI ) packets the RTCRtpSender received from the remote RTCRtpReceiver for the RTP stream described by this object.
3404 RTCOutboundRtpStreamStats.trackId API, Audio, Media, MediaStreamTrack, Property, RTCOutboundRtpStreamStats, RTCRtpSender, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, id, stream, track, trackId
trackId 特性为 RTCOutboundRtpStreamStats dictionary indicates the id RTCSenderAudioTrackAttachmentStats or RTCSenderVideoTrackAttachmentStats object representing the MediaStreamTrack which is being sent on this stream.
3405 RTCPeerConnection API, Audio, Communication, Interface, Media, NeedsUpdate, Networking, RTCPeerConnection, Reference, Telecom, Video, WebRTC, WebRTC API
RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.
3406 RTCPeerConnection() API, Constructor, Experimental, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection() constructor returns a newly-created RTCPeerConnection , which represents a connection between the local device and a remote peer.
3407 RTCPeerConnection.addIceCandidate() API, ICE, Media, Method, RTCPeerConnection, Reference, SDP, Web, WebRTC, WebRTC API, addIceCandidate
When a web site or app using RTCPeerConnection receives a new ICE candidate from the remote peer over its signaling channel, it delivers the newly-received candidate to the browser's ICE agent by calling RTCPeerConnection.addIceCandidate() .
3408 RTCPeerConnection.addStream() Deprecated, Experimental, Method, RTCPeerConnection, Reference, WebRTC, addStream
obsolete RTCPeerConnection 方法 addStream() adds a MediaStream as a local source of audio or video. Instead of using this obsolete method, you should instead use addTrack() once for each track you wish to send to the remote peer.
3409 RTCPeerConnection.addTrack() API, Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, addTrack
RTCPeerConnection 方法 addTrack() adds a new media track to the set of tracks which will be transmitted to the other peer.
3410 RTCPeerConnection.addTransceiver() API, Audio, Media, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceivers, Video, addTransceiver
RTCPeerConnection 方法 addTransceiver() creates a new RTCRtpTransceiver and adds it to the set of transceivers associated with the RTCPeerConnection .
3411 RTCPeerConnection.canTrickleIceCandidates API, ICE, Media, Property, RTCPeerConnection, Reference, Trickle, Trickling, WebRTC, WebRTC API, canTrickleIceCandidates
只读 RTCPeerConnection property canTrickleIceCandidates 返回 布尔 which indicates whether or not the remote peer can accept trickled ICE candidates .
3412 RTCPeerConnection.close() Experimental, Method, RTCPeerConnection, Reference, WebRTC, close
RTCPeerConnection.close() method closes the current peer connection.
3413 RTCPeerConnection.connectionState Experimental, Property, RTCPeerConnection, Reference, WebRTC, connectionState
只读 connectionState 特性为 RTCPeerConnection interface indicates the current state of the peer connection by returning one of the string values specified by the enum RTCPeerConnectionState .
3414 RTCPeerConnection.createAnswer() API, Experimental, Media, Method, RTCPeerConnection, Reference, Video, Web, WebRTC, createAnswer
createAnswer() method on the RTCPeerConnection interface creates an SDP answer to an offer received from a remote peer during the offer/answer negotiation of a WebRTC connection. The answer contains information about any media already attached to the session, codecs and options supported by the browser, and any ICE candidates already gathered. The answer is delivered to the returned Promise , and should then be sent to the source of the offer to continue the negotiation process.
3415 RTCPeerConnection.createDataChannel() API, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, createDataChannel
createDataChannel() method on the RTCPeerConnection interface creates a new channel linked with the remote peer, over which any kind of data may be transmitted.
3416 RTCPeerConnection.createOffer() API, Media, Method, RTCPeerConnection, Reference, SDP, WebRTC, createOffer
createOffer() 方法在 RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer.
3417 RTCPeerConnection.currentLocalDescription API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentLocalConnection
The read-only property RTCPeerConnection.currentLocalDescription 返回 RTCSessionDescription object describing the local end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated.
3418 RTCPeerConnection.currentRemoteDescription API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, currentRemoteDescription
The read-only property RTCPeerConnection.currentRemoteDescription 返回 RTCSessionDescription object describing the remote end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer. Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated.
3419 RTCPeerConnection.defaultIceServers Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, defaultIceServers
The read-only property RTCPeerConnection.defaultIceServers returns an array of objects based on the RTCIceServer dictionary, which indicates what, if any, ICE servers the browser will use by default if none are provided to the RTCPeerConnection 在其 RTCConfiguration . However, browsers are not required to provide any default ICE servers at all.
3420 RTCPeerConnection.generateCertificate() API, Media, Method, RTCPeerConnection, Reference, Security, Static Method, WebRTC, WebRTC API, generateCertificate
generateCertificate() 方法在 RTCPeerConnection interface creates and stores an X.509 certificate and corresponding private key then returns an RTCCertificate , providing access to it.
3421 RTCPeerConnection.getConfiguration() API, Experimental, Interface, Method, RTCConfiguration, Reference, WebRTC, getConfiguration
RTCPeerConnection.getConfiguration() method returns an RTCConfiguration object which indicates the current configuration of the RTCPeerConnection on which the method is called.
3422 RTCPeerConnection.getIdentityAssertion() Experimental, Method, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.getIdentityAssertion() method initiates the gathering of an identity assertion. This has an effect only if the signalingState 不是 "closed" .
3423 RTCPeerConnection.getLocalStreams() Experimental, Method, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.getLocalStreams() method returns an array of MediaStream associated with the local end of the connection. The array may be empty.
3424 RTCPeerConnection.getReceivers() Experimental, Media, Method, RTCPeerConnection, RTP, Reference, WebRTC, WebRTC API, getReceivers
RTCPeerConnection.getReceivers() method returns an array of RTCRtpReceiver objects, each of which represents one RTP receiver. Each RTP receiver manages the reception and decoding of data for a MediaStreamTrack RTCPeerConnection
3425 RTCPeerConnection.getRemoteStreams() Experimental, Method, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.getRemoteStreams() method returns an array of MediaStream associated with the remote end of the connection. The array may be empty.
3426 RTCPeerConnection.getSenders() Media, Method, NeedsExample, RTCPeerConnection, RTCRtpSender, RTP, Reference, WebRTC, WebRTC API, getSenders
RTCPeerConnection 方法 getSenders() returns an array of RTCRtpSender objects, each of which represents the RTP sender responsible for transmitting one track's data.
3427 RTCPeerConnection.getStats() API, Connection, Method, RTCPeerConnection, RTCStats, RTCStatsReport, Reference, Statistics, Stats, WebRTC, WebRTC API, WebRTC Stats, getStats, rtc
RTCPeerConnection 方法 getStats() returns a promise which resolves with data providing statistics about either the overall connection or about the specified MediaStreamTrack .
3428 RTCPeerConnection.getStreamById() Experimental, Method, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.getStreamById() 方法返回 MediaStream with the given id that is associated with local or remote end of the connection. If no stream matches, it returns null .
3429 RTCPeerConnection.getTransceivers() API, Media, Method, RTCPeerConnection, RTCRtpTransceiver, RTP, Reference, Transceiver, WebRTC, getTransceivers
RTCPeerConnection 接口的 getTransceivers() method returns a list of the RTCRtpTransceiver objects being used to send and receive data on the connection.
3430 RTCPeerConnection.iceConnectionState API, Experimental, Media, Property, RTCPeerConnection, Read-only, Reference, WebRTC, iceConnectionState
The read-only property RTCPeerConnection.iceConnectionState returns an enum of type RTCIceConnectionState which state of the ICE agent associated with the RTCPeerConnection .
3431 RTCPeerConnection.iceGatheringState Experimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, iceGatheringState
The read-only property RTCPeerConnection.iceGatheringState returns an enum of type RTCIceGatheringState that describes connection's ICE gathering state. This lets you detect, for example, when collection of ICE candidates has finished.
3432 RTCPeerConnection.localDescription Experimental, Expérimental(2), Property, RTCPeerConnection, Read-only, Reference, Référence(2), WebRTC, localDescription
The read-only property RTCPeerConnection.localDescription 返回 RTCSessionDescription describing the session for the local end of the connection. If it has not yet been set, this is null .
3433 RTCPeerConnection.onaddstream Deprecated, Event Handler, MediaStream, Property, RTCPeerConnection, SDP, Streams, WebRTC, WebRTC API, onaddstream, rtc
RTCPeerConnection.onaddstream event handler is a property containing the code to execute when the addstream event, of type MediaStreamEvent , is received by this RTCPeerConnection . Such an event is sent when a MediaStream is added to this connection by the remote peer. The event is sent immediately after the call setRemoteDescription() and doesn't wait for the result of the SDP negotiation.
3434 RTCPeerConnection.onconnectionstatechange API, Connection State, Event Handler, ICE, Property, RTCPeerConnection, Reference, WebRTC, onconnectionstatechange
RTCPeerConnection.onconnectionstatechange property specifies an EventHandler which is called to handle the connectionstatechange event when it occurs on an instance of RTCPeerConnection . This happens whenever the aggregate state of the connection changes.
3435 RTCPeerConnection.ondatachannel Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ondatachannel
RTCPeerConnection.ondatachannel property is an EventHandler which specifies a function which is called when the datachannel event occurs on an RTCPeerConnection . This event, of type RTCDataChannelEvent , is sent when an RTCDataChannel is added to the connection by the remote peer calling createDataChannel() .
3436 RTCPeerConnection.onicecandidate API, Candidate, Event Handler, ICE, Negotiation, Property, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, onicecandidate
RTCPeerConnection property onicecandidate property is an EventHandler which specifies a function to be called when the icecandidate event occurs on an RTCPeerConnection instance. This happens whenever the local ICE agent needs to deliver a message to the other peer through the signaling server.
3437 RTCPeerConnection.onicecandidateerror Experimental, ICE, RTCPeerConnection, Reference, WebRTC, onicecandidateerror
RTCPeerConnection.onicecandidateerror property is an EventHandler which specifies a function which is called to handle the icecandidateerror event when it occurs on an RTCPeerConnection instance. This event is fired when an error occurs during the ICE candidate gathering process.
3438 RTCPeerConnection.oniceconnectionstatechange Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, oniceconnectionstatechange
RTCPeerConnection.oniceconnectionstatechange property is an event handler which specifies a function to be called when the iceconnectionstatechange event is fired on an RTCPeerConnection instance. This happens when the state of the connection's ICE agent, as represented by the iceConnectionState property, changes.
3439 RTCPeerConnection.onicegatheringstatechange Event Handler, Experimental, ICE, Property, RTCPeerConnection, Reference, WebRTC, onicegatheringstatechange
RTCPeerConnection.onicegatheringstatechange property is an EventHandler which specifies a function to be called when the icegatheringstatechange event is sent to an RTCPeerConnection instance. This happens when the ICE gathering state—that is, whether or not the ICE agent is actively gathering candidates—changes.
3440 RTCPeerConnection.onidentityresult Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.onidentityresult event handler is a property containing the code to execute when the identityresult event, of type RTCIdentityEvent , is received by this RTCPeerConnection . Such an event is sent when an identity assertion is generated, via getIdentityAssertion() or during the creation of an offer or an answer.
3441 RTCPeerConnection.onidpassertionerror Authentication, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, WebRTC, WebRTC API
RTCPeerConnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type RTCIdentityErrorEvent , is received by this RTCPeerConnection . Such an event is sent when the associated identity provider (IdP) encounters an error while generating an identity assertion.
3442 RTCPeerConnection.onidpvalidationerror Authentication, Error, Event Handler, IdP, Identity, Obsolete, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onidpvalidationerror
RTCPeerConnection.onidpvalidationerror event handler is a property containing the code to execute whent the idpvalidationerror event, of type RTCIdentityErrorEvent , is received by this RTCPeerConnection . Such an event is sent when the associated identity provider (IdP) encounters an error while validating an identity assertion.
3443 RTCPeerConnection.onnegotiationneeded Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, onnegotiationneeded
RTCPeerConnection 接口的 onnegotiationneeded property is an EventListener which specifies a function which is called to handle the negotiationneeded event when it occurs on an RTCPeerConnection instance. This event is fired when a change has occurred which requires session negotiation. This negotiation should be carried out as the offerer, because some session changes cannot be negotiated as the answerer.
3444 RTCPeerConnection.onpeeridentity API, Authentication, Event Handler, IdP, Identity, Obsolete, Peer, Property, RTCPeerConnection, Reference, Validation, WebRTC, WebRTC API, onpeeridentity
RTCPeerConnection.onpeeridentity event handler is a property containing the code to execute whent the peeridentity event, of type 事件 , is received by this RTCPeerConnection . Such an event is sent when an identity assertion, received from a peer, has been successfully validated.
3445 RTCPeerConnection.onremovestream Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.onremovestream event handler is a property containing the code to execute when the removestream event, of type MediaStreamEvent , is received by this RTCPeerConnection . Such an event is sent when a MediaStream is removed from this connection.
3446 RTCPeerConnection.onsignalingstatechange API, Connectivity, Event Handler, ICE, Offer, Property, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, answer, onsignalingstatechange
onsignalingstatechange 特性为 RTCPeerConnection interface is an EventHandler which specifies a function to be called when the signalingstatechange event occurs on an RTCPeerConnection 接口。
3447 RTCPeerConnection.ontrack Event Handler, Experimental, Property, RTCPeerConnection, Reference, WebRTC, ontrack
RTCPeerConnection property ontrack EventHandler which specifies a function to be called when the track event occurs, indicating that a track has been added to the RTCPeerConnection .
3448 RTCPeerConnection.peerIdentity API, Authentication, Identification, Identity, Peer, Property, RTCPeerConnection, Read-only, Reference, WebRTC, WebRTC API
只读 RTCPeerConnection property peerIdentity returns a JavaScript Promise that resolves to an RTCIdentityAssertion which contains a DOMString identifying the remote peer.
3449 RTCPeerConnection.pendingLocalDescription API, Media, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingLocalDescription
The read-only property RTCPeerConnection.pendingLocalDescription 返回 RTCSessionDescription object describing a pending configuration change for the local end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentLocalDescription or RTCPeerConnection.localDescription to get the current state of the endpoint. For details on the difference, see Pending and current descriptions in WebRTC connectivity .
3450 RTCPeerConnection.pendingRemoteDescription API, Property, RTCPeerConnection, Read-only, Reference, SDP, WebRTC, pendingRemoteDescription
The read-only property RTCPeerConnection.pendingRemoteDescription 返回 RTCSessionDescription object describing a pending configuration change for the remote end of the connection. This does not describe the connection as it currently stands, but as it may exist in the near future. Use RTCPeerConnection.currentRemoteDescription or RTCPeerConnection.remoteDescription to get the current session description for the remote endpoint. For details on the difference, see Pending and current descriptions in WebRTC connectivity .
3451 RTCPeerConnection.remoteDescription Experimental, Property, RTCPeerConnection, Read-only, Reference, WebRTC, remoteDescription
The read-only property RTCPeerConnection.remoteDescription 返回 RTCSessionDescription describing the session (which includes configuration and media information) for the remote end of the connection. If this hasn't been set yet, this is null .
3452 RTCPeerConnection.removeStream() Deprecated, Experimental, Media, Method, RTCPeerConnection, Reference, WebRTC, removeStream
RTCPeerConnection.removeStream() method removes a MediaStream as a local source of audio or video. If the negotiation already happened, a new one will be needed for the remote peer to be able to use it. Because this method has been deprecated, you should instead use removeTrack() if your target browser versions have implemented it.
3453 RTCPeerConnection.removeTrack() Audio, Media, Method, RTCPeerConnection, Reference, Tracks, Video, WebRTC, removeTrack
RTCPeerConnection.removeTrack() method tells the local end of the connection to stop sending media from the specified track, without actually removing the corresponding RTCRtpSender from the list of senders as reported by RTCPeerConnection.getSenders() .
3454 RTCPeerConnection.restartIce() API, ICE, ICE Restarts, Media, Method, Negotiation, RTCPeerConnection, Reference, Signaling, WebRTC, WebRTC API, restartIce
WebRTC API's RTCPeerConnection interface offers the restartIce() method to allow a web application to easily request that ICE candidate gathering be redone on both ends of the connection.
3455 RTCPeerConnection.sctp Experimental, Property, RTCPeerConnection, Reference, SCTP, WebRTC
只读 sctp property on the RTCPeerConnection interface returns an RTCSctpTransport describing the SCTP transport over which SCTP data is being sent and received. If SCTP hasn't been negotiated, this value is null .
3456 RTCPeerConnection.setConfiguration() Configuration, Experimental, Method, RTCPeerConnection, Reference, WebRTC, setConfiguration
RTCPeerConnection.setConfiguration() method sets the current configuration of the RTCPeerConnection based on the values included in the specified RTCConfiguration object. This lets you change the ICE servers used by the connection and which transport policies to use.
3457 RTCPeerConnection.setIdentityProvider() Experimental, Method, RTCPeerConnection, Reference, WebRTC
RTCPeerConnection.setIdentityProvider() method sets the Identity Provider (IdP) to the triplet given in parameter: its name, the protocol used to communicate with it (optional) and an optional username. The IdP will be used only when an assertion is needed.
3458 RTCPeerConnection.setLocalDescription() Descriptions, Experimental, Media, Method, RTCPeerConnection, Reference, SDP, WebRTC, setLocalDescription
RTCPeerConnection.setLocalDescription() method changes the local description associated with the connection. This description specifies the properties of the local end of the connection, including the media format.
3459 RTCPeerConnection.setRemoteDescription() ICE, Method, Negotiation, RTCPeerConnection, Reference, SDP, WebRTC, WebRTC API, setRemoteDescription
RTCPeerConnection.setRemoteDescription() method changes the remote description associated with the connection. This description specifies the properties of the remote end of the connection, including the media format.
3460 RTCPeerConnection.signalingState API, ICE, Media, Negotiation, Property, RTCPeerConnection, Read-only, Reference, Signaling, WebRTC, WebRTC API, signalingState, state
只读 signalingState property on the RTCPeerConnection interface returns one of the string values specified by the RTCSignalingState enum; these values describe the state of the signaling process on the local end of the connection while connecting or reconnecting to another peer. See Signaling in Lifetime of a WebRTC session for more details about the signaling process.
3461 RTCPeerConnection: addstream event Event, Media, MediaStream, Obsolete, RTCPeerConnection, Reference, Streams, WebRTC, WebRTC API, addStream, events
过时 addstream event is sent to an RTCPeerConnection when new media, in the form of a MediaStream object, has been added to it.
3462 RTCPeerConnection: connectionstatechange event
connectionstatechange event is sent to the ontrack event handler on an RTCPeerConnection object after a new track has been added to an RTCRtpReceiver which is part of the connection.
3463 RTCPeerConnection: datachannel event Channels, Connection, Connectivity, Networking, RTCDataChannel, Reference, WebRTC, WebRTC API, data, datachannel, events, rtc
A datachannel event is sent to an RTCPeerConnection instance when an RTCDataChannel has been added to the connection, as a result of the remote peer calling RTCPeerConnection.createDataChannel() .
3464 RTCPeerConnection: icecandidate event API, Candidate, Connectivity, ICE, NeedsContent, Reference, SDP, WebRTC, WebRTC API, events, icecandidate
An icecandidate event is sent to an RTCPeerConnection when an RTCIceCandidate has been added to the target as a result of calling RTCPeerConnection.setLocalDescription() . This event handler should transmit the candidate to the remote peer so that the remote peer can add it its set of remote candidates.
3465 RTCPeerConnection: iceconnectionstatechange event API, Connection, Connectivity, Disconnect, ICE, Media, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, iceConnectionState, iceconnectionstatechange
An iceconnectionstatechange event is sent to an RTCPeerConnection object each time the ICE connection state changes during the negotiation process.
3466 RTCPeerConnection: icegatheringstatechange event API, Connection, Connectivity, Gathering, ICE, RTCPeerConnection, Reference, WebRTC, WebRTC API, events, icegatheringstatechange, state
icegatheringstatechange event is sent to the onicegatheringstatechange event handler on an RTCPeerConnection when the state of the ICE candidate gathering process changes.
3467 RTCPeerConnection: identityresult event API, Authentication, Event, Identity, Obsolete, RTCPeerConnection, Reference, WebRTC, WebRTC API, identityresult
An identityresult event is sent to an RTCPeerConnection 对象的 onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (IdP) during the process of creating an SDP offer or answer.
3468 RTCPeerConnection: idpassertionerror event Assertion, Authentication, Error, IdP, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, idpassertionerror
An idpassertionerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to generate an identity assertion.
3469 RTCPeerConnection: idpvalidationerror event API, Authentication, Error, IdP, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror
An idpvalidationerror event informs the target, a RTCPeerConnection 对象的 onidpvalidationerror event handler, that the identity provider (IdP) encountered an error while validating an identity assertion.
3470 RTCPeerConnection: negotiationneeded event API, Event, Negotiation, RTCPeerConnection, Reference, SDP, Signaling, WebRTC, WebRTC API, negotiationneeded, rtc
A negotiationneeded event is sent to the RTCPeerConnection when negotiation of the connection through the signaling channel is required.
3471 RTCPeerConnection: peeridentity event Authentication, Identity, Obsolete, Reference, WebRTC, WebRTC API, events, peeridentity
peeridentity event is sent to the connection concerned when peer identity has been set and verified on it. The new identiy can be access using the RTCPeerConnection.peerIdentity 特性。
3472 RTCPeerConnection: removestream event API, Event, Managing Streams, Media, MediaStream, RTCPeerConnection, Reference, Removing Streams, Streams, WebRTC, WebRTC API, removeStream
过时 removestream event was sent to an RTCPeerConnection to inform it that a MediaStream had been removed from the connection.
3473 RTCPeerConnection: signalingstatechange event API, Event, Media, Reference, Signaling, WebRTC, WebRTC API, signalingState, signalingstatechange, state
An signalingstatechange event is sent to an RTCPeerConnection to notify it that its signaling state, as indicated by the signalingState property, has changed.
3474 RTCPeerConnection: track event DOM, DOM Event Reference, Event Reference, Media, MediaStreamTrack, Reference, WebRTC, WebRTC API, events, track
track event is sent to the ontrack event handler on RTCPeerConnection s after a new track has been added to an RTCRtpReceiver which is part of the connection.
3475 RTCPeerConnection: idpvalidationerror event Authentication, Error, IdP, Identification, Identity, Obsolete, Reference, Validation, WebRTC, WebRTC API, events, idpvalidationerror
An idpvalidationerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to validate an identity assertion.
3476 RTCPeerConnectionIceEvent API, Experimental, Interface, RTCIceCandidateEvent, Reference, WebRTC
RTCPeerConnectionIceEvent interface represents events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection .
3477 RTCPeerConnectionIceEvent() API, Constructor, Experimental, RTCPeerConnectionIceEvent, Reference, WebRTC
RTCPeerConnectionIceEvent() 构造函数创建新 RTCPeerConnectionIceEvent .
3478 RTCPeerConnectionIceEvent.candidate Candidate, Negotiation, Networking, Property, RTCPeerConnectionIceEvent, Reference, SDP, WebRTC, WebRTC API, rtc
只读 candidate 特性为 RTCPeerConnectionIceEvent interface returns the RTCIceCandidate 与事件关联。
3479 RTCRtpCodecParameters API, Codec Configuration, Codec Parameters, Codec Preferences, Dictionary, Interface, Media, RTCRtpCodecParameters, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, SDP, WebRTC, setCodecPreferences
RTCRtpCodecParameters dictionary, part of the WebRTC API, is used to describe the configuration parameters for a single media codec .
3480 RTCRtpContributingSource API, Contributing Source, Dictionary, Interface, Media, RTCRtpContributingSource, RTP, Reference, WebRTC
RTCRtpContributingSource dictionary of the the WebRTC API 用于 getContributingSources() to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out.
3481 RTCRtpContributingSource.audioLevel API, Media, MediaStreamTrack, Property, RTCRtpContributingSource, RTP, Reference, WebRTC, audioLevel
只读 audioLevel 特性为 RTCRtpContributingSource interface indicates the audio level contained in the last RTP packet played from the described source.
3482 RTCRtpContributingSource.source API, Media, Property, RTCRtpContributingSource, Reference, WebRTC, source
只读 source 特性为 RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets.
3483 RTCRtpContributingSource.timestamp API, Media, Property, RTCRtpContributingSource, Reference, WebRTC, timeStamp
只读 timestamp 特性为 RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source.
3484 RTCRtpEncodingParameters API, Codec, Codec Configuration, Dictionary, Encoding, RTCRtpEncodingParameters, RTP, Reference, Settings, WebRTC, WebRTC API, parameters
An instance of the WebRTC API's RTCRtpEncodingParameters dictionary describes a single configuration of a codec 对于 RTCRtpSender .
3485 RTCRtpEncodingParameters.maxBitrate API, BPS, Bandwidth, Bit Rate, Codec, Encoding, Property, RTCRtpEncodingParameters, Reference, Settings, WebRTC, WebRTC API, maxBitrate, parameters
RTCRtpEncodingParameters dictionary's maxBitrate property specifies the maximum number of bits per second to allow a track encoded with this encoding to use.
3486 RTCRtpEncodingParameters.scaleResolutionDownBy API, Codec, Encoding, Media, RTCRtpEncodingParameters, RTP, Reference, Scale, Scaling, Settings, Video, WebRTC, WebRTC API, parameters, rtc, scaleResolutionDownBy, size
RTCRtpEncodingParameters dictionary's scaleResolutionDownBy property can be used to specify a factor by which to reduce the size of a video track during encoding.
3487 RTCRtpReceiver API, Interface, Media, RTCRtpReceiver, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API
RTCRtpReceiver 接口在 WebRTC API manages the reception and decoding of data for a MediaStreamTrack RTCPeerConnection .
3488 RTCRtpReceiver.getContributingSources() API, CSRC, Contributing Sources, Media, Method, RTCRtpReceiver, Reference, WebRTC, getContributingSources
getContributingSources() 方法在 RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.
3489 RTCRtpReceiver.getStats() API, Media, Method, RTCRtpReceiver, Reference, WebRTC, WebRTC API, WebRTC Statistics, WebRTC Statistics API, getStats
RTCRtpReceiver 方法 getStats() asynchronously requests an RTCStatsReport object which provides statistics about incoming traffic on the owning RTCPeerConnection ,返回 Promise whose fulfillment handler will be called once the results are available.
3490 RTCRtpReceiver.getSynchronizationSources() API, Media, Method, RTCRtpReceiver, RTP, Web, WebRTC, getSynchronizationSources
getSynchronizationSources() 方法在 RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.
3491 RTCRtpReceiver.track API, Audio, Media, Property, RTCRtpReceiver, Reference, Video, WebRTC, WebRTC API, track
track 只读特性在 RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver 实例。
3492 RTCRtpSendParameters API, Audio, Codec, Dictionary, Encoding, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, Video, WebRTC, WebRTC API, parameters, sender
The WebRTC API's RTCRtpSendParameters dictionary is used to specify the parameters for an RTCRtpSender when calling its setParameters() 方法。
3493 RTCRtpSendParameters.encodings API, Codec, Configuration, Media, RTCRtpSendParameters, RTCRtpSender, RTP, Reference, Settings, WebRTC, WebRTC API, encodings, parameters, rtc, sender
RTCRtpSendParameters dictionary's encodings property is an RTCRtpEncodingParameters object providing configuration settings for the encoder being used for the RTCRtpSender 's track .
3494 RTCRtpSender API, Audio, DTMF, Interface, Media, NeedsExample, RTCRtpSender, Reference, Video, WebRTC, WebRTC API
RTCRtpSender interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.
3495 RTCRtpSender.dtmf DTMF, Media, NeedsExample, Property, RTCRtpSender, Read-only, Reference, WebRTC, WebRTC API
只读 dtmf property on the RTCRtpSender interface returns a RTCDTMFSender object which can be used to send DTMF tones over the RTCPeerConnection 。见 Using DTMF for details on how to make use of th e 返回 RTCDTMFSender 对象。
3496 RTCRtpSender.getParameters() API, Audio, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, getParameters()
getParameters() 方法在 RTCRtpSender interface returns an RTCRtpSendParameters object describing the current configuration for the encoding and transmission of media on the RTCRtpSender.track 特性。
3497 RTCRtpSender.getStats() API, Media, Method, RTCRtpSender, Reference, WebRTC, WebRTC Statistics, WebRTC Statistics API, getStats
RTCRtpSender 方法 getStats() asynchronously requests an RTCStatsReport object which provides statistics about outgoing traffic on the RTCPeerConnection which owns the sender, returning a Promise which is fulfilled when the results are available.
3498 RTCRtpSender.replaceTrack() Audio, Media, Method, RTCRtpSender, RTP, Reference, Video, WebRTC, WebRTC API, replace, replaceTrack, track
RTCRtpSender 方法 replaceTrack() replaces the track currently being used as the sender's source with a new MediaStreamTrack .
3499 RTCRtpSender.setParameters() API, Audio, Codec, Encoding, Method, RTCRtpSender, Reference, Video, WebRTC, WebRTC API, parameters, sender, setParameters
setParameters() 方法在 RTCRtpSender interface applies changes the configuration of sender's track , which is the MediaStreamTrack for which the RTCRtpSender is responsible.
3500 RTCRtpSender.track API, Audio, DTMF, Property, RTCRtpSender, Reference, Video, Web, WebRTC API, track
track 只读特性在 RTCRtpSender interface returns the MediaStreamTrack which is being handled by the RTCRtpSender. If track is null, the RTCRtpSender doesn't transmit anything.
3501 RTCRtpStreamStats API, Dictionary, Interface, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc
RTCRtpStreamStats dictionary is returned by the RTCPeerConnection.getStats() , RTCRtpSender.getStats() ,和 RTCRtpReceiver.getStats() methods to provide detailed statistics about WebRTC connectivity.
3502 RTCRtpStreamStats.codecId API, Codec, Dictionary, Interface, Property, RTCRtpStreamStats, RTP, Reference, Statistics, WebRTC, WebRTC API, WebRTC Statistics, codecId, id, rtc
RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats RTP 流。
3503 RTCRtpStreamStats.firCount API, Dropped Frames, Frames, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, firCount, rtc, stream
firCount 特性为 RTCRtpStreamStats dictionary indicates the number of Full Intra Request ( FIR ) packets have been sent by the receiver to the sender.
3504 RTCRtpStreamStats.kind API, Audio, Media, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, kind, rtc
kind 特性为 RTCRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.
3505 RTCRtpStreamStats.nackCount API, Acknowledgement, Generic NACK, NACK, Negative Acknowledgement, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, nackCount, rtc
nackCount 特性为 RTCRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender.
3506 RTCRtpStreamStats.pliCount API, Data Loss, Media, PLI, Packet Loss, Packet Loss Indication, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Streams, WebRTC, WebRTC API, pliCount, rtc
pliCount 特性为 RTCRtpStreamStats dictionary states the number of times the stream's receiving end sent a Picture Loss Indication ( PLI ) packet to the sender.
3507 RTCRtpStreamStats.qpSum API, Media, Parameter, Property, QP, Quantization, Quantization Parameter, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, Video, WebRTC, WebRTC API, compression, qpSum, rtc
qpSum 特性为 RTCRtpStreamStats dictionary is a value generated by adding the Quantization Parameter ( QP ) values for every frame sent or received to date on the video track corresponding to this RTCRtpStreamStats 对象。
3508 RTCRtpStreamStats.sliCount API, Media, Packet, Property, RTCRtpStream, RTP, Reference, Reliability, SLI, Slice Loss Indication, Transmisison, WebRTC, WebRTC API, compression, rtc, sliCount, slice
sliCount 特性为 RTCRtpStreamStats dictionary indicates how many Slice Loss Indication ( SLI ) packets were received by the sender.
3509 RTCRtpStreamStats.ssrc API, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, rtc, source, ssrc
RTCRtpStreamStats dictionary's ssrc property is an integer which uniquely identifies the source of the RTP packets whose statistics are covered by the RTCStatsReport that includes this RTCRtpStreamStats 字典。
3510 RTCRtpStreamStats.trackId API, Property, RTCRtpStreamStats, RTP, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc, track, trackId
RTCRtpStreamStats dictionary's trackId property is a string which uniquely identifies the RTCMediaStreamTrackStats object which contains the track statistics for the MediaStreamTrack for which statistics are provided in this object.
3511 RTCRtpStreamStats.transportId API, Property, RTCRtpStreamStats, RTP, Reference, Transport, WebRTC, WebRTC API, id, rtc, transportID
RTCRtpStreamStats dictionary's transportId property is a string which uniquely identifies the object from which the statistics contained in the RTCTransportStats properties in the RTCStatsReport .
3512 RTCRtpSynchronizationSource API, Dictionary, Interface, Media, RTCRtpSynchronizationSource, RTP, Reference, Synchronization Source, WebRTC
RTCRtpSynchronizationSource dictionary of the the WebRTC API 用于 getSynchronizationSources() to describe a particular synchronization source (SSRC).
3513 RTCRtpSynchronizationSource.voiceActivityFlag API, Media, Property, RTCRtpSynchronizationSource, RTP, Voice Activity Detection, Voice Detection, WebRTC, voiceActivityFlag
只读 voiceActivityFlag 特性为 RTCRtpSynchronizationSource interface indicates whether or not the most recent RTP packet on the source includes voice activity.
3514 RTCRtpTransceiver API, Interface, Media, MediaStreamTrack, RTCRtpTransceiver, RTP, Reference, SDP, Transceiver, WebRTC
The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender RTCRtpReceiver , along with some shared state.
3515 RTCRtpTransceiver.currentDirection API, Media, Property, RTCRtpTransceiver, RTP, Read-only, Reference, Transceiver, WebRTC, currentDirection
只读 RTCRtpTransceiver property currentDirection is a string which indicates the current directionality of the transceiver.
3516 RTCRtpTransceiver.direction API, Media, Property, RTCRtpTransceiver, RTP, Reference, Transceiver, Transceiver Direction, WebRTC, direction
RTCRtpTransceiver property direction is a string which indicates the transceiver's preferred directionality.
3517 RTCRtpTransceiver.mid API, Media, Media ID, Property, RTCRtpTransceiver, RTP, Read-only, Reference, SDP, WebRTC, mid
只读 RTCRtpTransceiver 接口的 mid property specifies the negotiated media ID ( mid ) which the local and remote peers have agreed upon to uniquely identify the stream's pairing of sender and receiver.
3518 RTCRtpTransceiver.receiver API, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, receiver
只读 receiver property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpReceiver responsible for receiving and decoding incoming media data for the transceiver's stream.
3519 RTCRtpTransceiver.sender API, Media, Property, RTCRtpSender, RTCRtpTransceiver, RTP, Reference, WebRTC, sender
只读 sender property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpSender responsible for encoding and sending outgoing media data for the transceiver's stream.
3520 RTCRtpTransceiver.setCodecPreferences() API, Codec, Codec Configuration, Codec Parameters, Codec Preferences, Media, Method, RTCRtpTransceiver, Reference, Settings, WebRTC, setCodecPreferences
RTCRtpTransceiver 方法 setCodecPreferences() configures the transceiver's codecs given a list of RTCRtpCodecCapability objects specifying the new preferences for each codec .
3521 RTCRtpTransceiver.stop() API, Media, Method, RTCRtpTransceiver, RTP, Reference, Stopping a Transceiver, WebRTC, stop
stop() 方法在 RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver .
3522 RTCRtpTransceiver.stopped API, Deprecated, Media, Property, RTCRtpTransceiver, RTP, Reference, WebRTC, stopped
只读 stopped property on the RTCRtpTransceiver interface indicates whether or not the transceiver's associated sender and receiver have both been stopped.
3523 RTCRtpTransceiverDirection API, Audio, Media, RTCRtpTransceiver, RTCRtpTransceiverDirection, RTP, Reference, Transceiver, Transceiver Directionality, Video, WebRTC, inactive, recvonly, sendonly, sendrecv
RTCRtpTransceiverDirection type is an enumerated set of strings which are used to describe the directionality of a RTCRtpTransceiver 实例。
3524 RTCRtpTransceiverInit API, Dictionary, Interface, Media, RTCRtpTransceiver, RTCRtpTransceiverInit, Reference, Transceiver, WebRTC
RTCRtpTransceiverInit dictionary is used when calling the WebRTC function RTCPeerConnection.addTransceiver() to provide configuration options for the new transceiver.
3525 RTCSctpTransport Experimental, Interface, NeedsExample, RTCSctpTransport, Reference, Unimplemented, WebRTC
RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol ( SCTP ) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security ( DTLS ) transport over which SCTP packets for all of an RTCPeerConnection 's data channels are sent and received.
3526 RTCSctpTransport.state API, Draft, Experimental, NeedsCompatTable, NeedsExample, Property, RTCSctpTransport, RTCSctpTransportState, Read-only, Reference, WebRTC, state
state 只读特性在 RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol ( SCTP ) transport state.
3527 RTCSessionDescription API, Audio, Experimental, Interface, Media, Reference, Video, Web, WebRTC
RTCSessionDescription interface describes one end of a connection—or potential connection—and how it's configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session.
3528 RTCSessionDescription() Constructor, Deprecated, Experimental, Media, RTCSessionDescription, Reference, SDP, WebRTC
RTCSessionDescription() 构造函数创建新 RTCSessionDescription with its properties initialized as described in the specified object.
3529 RTCSessionDescription.sdp Experimental, Property, RTCSessionDescription, Reference, SDP, WebRTC
The property RTCSessionDescription.sdp is a read-only DOMString containing the SDP which describes the session.
3530 RTCSessionDescription.toJSON() Experimental, Expérimental(2), Method, RTCSessionDescription, Reference, Référence(2), Serializer, WebRTC
RTCSessionDescription.toJSON() method generates a JSON description of the object. Both properties, type and sdp , are contained in the generated JSON.
3531 RTCSessionDescription.type Experimental, Property, RTCSessionDescription, Reference, SDP, Type, WebRTC
The property RTCSessionDescription.type is a read-only value of type RTCSdpType which describes the description's type.
3532 RTCSessionDescriptionCallback API, Deprecated, Interface, NeedsBrowserCompatibility, NeedsSpecification, RTCSessionDescriptionCallback, Reference, SDP, WebRTC
RTCSessionDescriptionCallback type is used to represent the callback function passed into the deprecated callback-based version of createOffer() or createAnswer() when using them to create offers or answers.
3533 RTCStats API, Dictionary, RTCStats, Reference, Report, Statistics, Stats, WebRTC, rtc
RTCStats dictionary is the basic statistics object used by WebRTC's statistics monitoring model, providing the properties required of all statistics data objects.
3534 RTCStats.id API, Property, RTCStats, Reference, Statistics, Stats, WebRTC, WebRTC API, id, rtc
id 特性为 RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics.
3535 RTCStats.timestamp API, Property, RTCStats, Reference, Statistics, Stats, Time, WebRTC, WebRTC API, rtc, timeStamp
timestamp 特性为 RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
3536 RTCStats.type API, Property, RTCStats, Report, Statistics, Stats, Type, WebRTC, WebRTC API, rtc
RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType .
3537 RTCStatsIceCandidatePairState API, Candidate, CandidatePair, Check List, Enum, ICE, RTCIceCandidatePair, RTCStatsIceCandidatePairState, Reference, Type, WebRTC, WebRTC API, state
RTCStatsIceCandidatePairState enumerated type represents the set of string values which are possible for the RTCIceCandidatePairStats 对象的 state 特性。
3538 RTCStatsReport API, Dictionary, Draft, Interface, Media, NeedsContent, RTCStatsReport, Reference, WebRTC
RTCStatsReport dictionary is contains statistics data about WebRTC connections as returned by the RTCPeerConnection.getStats() , RTCRtpReceiver.getStats() ,和 RTCRtpSender.getStats() 方法。
3539 RTCStatsType API, Media, RTCStatsType, Reference, Statistics, Stats, Type, WebRTC, WebRTC API, WebRTC Statistics Identifiers, rtc
RTCStatsType enumerated type (enum) is a set of strings which define the type of statistics reported in an RTCStats 对象。
3540 RTCTrackEvent API, Interface, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, rtc, track
WebRTC API interface RTCTrackEvent 表示 track event, which is sent when a new MediaStreamTrack is added to an RTCRtpReceiver which is part of the RTCPeerConnection .
3541 RTCTrackEvent() API, Constructor, Media, RTCTrackEvent, Reference, WebRTC, WebRTC API, events, track
RTCTrackEvent() constructor creates and returns a new RTCTrackEvent object, configured to describe the track which has been added to the RTCPeerConnection .
3542 RTCTrackEvent.receiver API, Media, Property, RTCRtpReceiver, RTCTrackEvent, RTP, Read-only, Reference, WebRTC, WebRTC API, events, receiver, track
只读 receiver 特性为 RTCTrackEvent interface indicates the RTCRtpReceiver which is used to receive data containing media for the track to which the event refers.
3543 RTCTrackEvent.streams API, Media, Property, RTCTrackEvent, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track
WebRTC API interface RTCTrackEvent 's read-only property specifies an array of MediaStream objects, one for each of the streams that comprise the track being added to the RTCPeerConnection .
3544 RTCTrackEvent.track API, Media, Property, RTCTrackEvent, RTP, Read-only, Reference, Streams, WebRTC, WebRTC API, events, track
WebRTC API interface RTCTrackEvent 's read-only track property specifies the MediaStreamTrack that has been added to the RTCPeerConnection .
3545 RTCTrackEvent.transceiver API, Media, Property, RTCTrackEvent, RTP, Reference, Transceiver, WebRTC, WebRTC API, events
The WebRTC API interface RTCTrackEvent 's read-only transceiver property indicates the RTCRtpTransceiver affiliated with the event's track .
3546 RTCTrackEventInit API, Dictionary, Interface, Media, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track
The WebRTC API's RTCTrackEventInit dictionary is used to provide information describing an RTCTrackEvent when instantiating a new track event using new RTCTrackEvent() .
3547 RTCTrackEventInit.receiver API, Property, RTCTrackEventInit, RTP, Reference, WebRTC, WebRTC API, events, receiver, track
RTCTrackEventInit dictionary's receiver property specifies the RTCRtpReceiver 与事件关联。
3548 RTCTrackEventInit.streams API, Media, Property, RTCTrackEvent, Reference, Streams, WebRTC, WebRTC API, events, track
RTCTrackEventInit dictionary's optional property provides an array containing a MediaStream object for each of the streams associated with the event's track.
3549 RTCTrackEventInit.track API, Media, Property, RTCTrackEventInit, Reference, WebRTC, WebRTC API, events, track
RTCTrackEventInit dictionary's track property specifies the MediaStreamTrack associated with the track 事件。
3550 RTCTrackEventInit.transceiver API, Media, RTCTrackEventInit, RTP, Reference, Transceiver, WebRTC, WebRTC API, events
RTCTrackEventInit dictionary's transceiver property specifies the RTCRtpTransceiver associated with the track 事件。
3551 RadioNodeList API, HTML DOM, Interface, RadioNodeList
RadioNodeList interface represents a collection of radio elements in a <form> <fieldset> 元素。
3552 RadioNodeList.value HTML DOM, Property, RadioNodeList, Reference
If the underlying element collection contains radio buttons, the RadioNodeList.value property represents the checked radio button. On retrieving the value 特性, value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked .
3553 范围 API, DOM
范围 interface represents a fragment of a document that can contain nodes and parts of text nodes.
3554 Range() API, Constructor, DOM, DOM Reference, Experimental, Range, Reference
Range() constructor returns a newly created 范围 object whose start and end is the global Document 对象。
3555 Range.cloneContents() API, DOM, Method, Range
Range.cloneContents() 返回 DocumentFragment copying the objects of type 节点 included in the 范围 .
3556 Range.cloneRange() API, DOM, Method, Range
Range.cloneRange() 方法返回 范围 object with boundary points identical to the cloned 范围 .
3557 Range.collapse() API, DOM, Method, Range
Range.collapse() method collapses the 范围 to one of its boundary points.
3558 Range.collapsed API, DOM, DOM Reference, Property, Range, Reference
Range.collapsed 只读特性返回 布尔 flag indicating whether the start and end points of the 范围 are at the same position. It returns true if the start and end boundary points of the 范围 are the same point in the DOM, false 若不。
3559 Range.commonAncestorContainer API, DOM, Property, Range
Range.commonAncestorContainer read-only property returns the deepest — or furthest down the document tree — 节点 that contains both boundary points 范围 . This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container .
3560 Range.compareBoundaryPoints() API, DOM, Method, Range
Range.compareBoundaryPoints() method compares the boundary points of the 范围 with those of another range.
3561 Range.compareNode() API, DOM, DOM Reference, Method, Non-standard, Obsolete, Range, Reference, compareNode
Range.compareNode() returns a constant indicating the position of the 节点 .
3562 Range.comparePoint() API, DOM, DOM Reference, Experimental, Method, Range, Reference
Range.comparePoint() 方法返回 -1 , 0 ,或 1 depending on whether the referenceNode is before, the same as, or after the 范围 .
3563 Range.createContextualFragment() API, DOM, DOM Reference, Method, Range, Reference
Range.createContextualFragment() 方法返回 DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html , for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
3564 Range.deleteContents() API, DOM, Method, Range
Range.deleteContents() method removes the contents of the 范围 Document .
3565 Range.detach() API, DOM, Method, Range
Range.detach() method does nothing. It used to disable the 范围 object and enable the browser to release associated resources. The method has been kept for compatibility.
3566 Range.endContainer API, DOM, Property, Range
Range.endContainer read-only property returns the 节点 within which the 范围 ends. To change the end position of a node, use the Range.setEnd() method or a similar one.
3567 Range.endOffset API, DOM, Property, Range
Range.endOffset read-only property returns a number representing where in the Range.endContainer the 范围 ends.
3568 Range.extractContents() API, DOM, Method, Range
Range.extractContents() method moves contents of the 范围 from the document tree into a DocumentFragment .
3569 Range.getBoundingClientRect() API, CSSOM View, Experimental, Method, Range, Reference
Range.getBoundingClientRect() 方法返回 DOMRect object that bounds the contents of the range; this is a rectangle enclosing the union of the bounding rectangles for all the elements in the range.
3570 Range.getClientRects() API, CSSOM View, Experimental, Method, Range, Reference
Range.getClientRects() method returns a list of DOMRect objects representing the area of the screen occupied by the range . This is created by aggregating the results of calls to Element.getClientRects() for all the elements in the range.
3571 Range.insertNode() API, DOM, Method, Range
Range.insertNode() method inserts a node at the start of the 范围 .
3572 Range.intersectsNode() API, DOM, Experimental, Method, Range, Reference
Range.intersectsNode() method returns a boolean indicating whether the given 节点 intersects the 范围 .
3573 Range.isPointInRange() API, DOM, Experimental, Method, Range, Reference
Range.isPointInRange() メソッドは 范围 のなかで与えられたポイントを含むかどうかをbooleanで返します。 true を返すのは ReferenceNode の範囲内の offset にポイント(カーソル位置)がある場合に限ります。
3574 Range.selectNode() API, DOM, Method, Range
Range.selectNode() method sets the 范围 to contain the 节点 and its contents. The parent 节点 of the start and end of the 范围 will be the same as the parent of the referenceNode .
3575 Range.selectNodeContents() API, DOM, Method, Range, Reference
Range.selectNodeContents() method sets the 范围 to contain the contents of a 节点 .
3576 Range.setEnd() API, DOM, DOM API, End, Method, Range, Reference, setEnd
Range.setEnd() method sets the end position of a 范围 to be located at the given offset into the specified node x.Setting the end point above (higher in the document) than the start point will result in a collapsed range with the start and end points both set to the specified end position.
3577 Range.setEndAfter() API, DOM, Method, Range
Range.setEndAfter() method sets the end position of a 范围 relative to another 节点 . The parent 节点 of end of the 范围 will be the same as that for the referenceNode .
3578 Range.setEndBefore() API, DOM, Method, Range
Range.setEndBefore() method sets the end position of a 范围 relative to another 节点 . The parent 节点 of end of the 范围 will be the same as that for the referenceNode .
3579 Range.setStart() API, DOM, Method, Range
Range.setStart() method sets the start position of a 范围 .
3580 Range.setStartAfter() API, DOM, Method, Range
Range.setStartAfter() method sets the start position of a 范围 relative to a 节点 . The parent 节点 of the start of the 范围 will be the same as that for the referenceNode .
3581 Range.setStartBefore() API, DOM, Method, Range
Range.setStartBefore() method sets the start position of a 范围 relative to another 节点 . The parent 节点 of the start of the 范围 will be the same as that for the referenceNode .
3582 Range.startContainer API, DOM, Property, Range
Range.startContainer read-only property returns the 节点 within which the 范围 starts. To change the start position of a node, use one of the Range.setStart() 方法。
3583 Range.startOffset API, DOM, Property, Range
Range.startOffset read-only property returns a number representing where in the startContainer the 范围 starts.
3584 Range.surroundContents() API, DOM, Method, Range
Range.surroundContents() method moves content of the 范围 into a new node, placing the new node at the start of the specified range.
3585 Range.toString() API, DOM, Method, Range, Stringifier
Range.toString() method is a stringifier returning the text of the 范围 .
3586 ReadableByteStreamController API, Experimental, Fetch, Interface, ReadableByteStreamController, Reference, Streams
ReadableByteStreamController 接口在 Streams API represents a controller allowing control of a ReadableStream 's state and internal queue. Byte stream controllers are for byte streams.
3587 ReadableByteStreamController.ReadableByteStreamController() API, Constructor, Experimental, ReadableByteStreamController, Reference, Streams
ReadableByteStreamController() constructor creates and returns a ReadableByteStreamController() 对象实例。
3588 ReadableByteStreamController.byobRequest API, Experimental, Property, ReadableByteStreamController, Reference, Streams, byobRequest
byobRequest getter property of the ReadableByteStreamController interface returns the current BYOB pull request.
3589 ReadableByteStreamController.close() API, Experimental, Method, ReadableByteStreamController, Reference, Streams, close
close() 方法在 ReadableByteStreamController interface closes the associated stream.
3590 ReadableByteStreamController.desiredSize API, Experimental, Property, ReadableByteStreamController, Reference, Streams, desiredSize
desiredSize getter property of the ReadableByteStreamController interface returns the desired size required to fill the stream's internal queue.
3591 ReadableByteStreamController.enqueue() API, Experimental, Method, ReadableByteStreamController, Reference, Streams, enqueue
enqueue() 方法在 ReadableByteStreamController interface enqueues a given chunk in the associated stream.
3592 ReadableByteStreamController.error() API, Error, Experimental, Method, ReadableByteStreamController, Reference, Streams
error() 方法在 ReadableByteStreamController interface causes any future interactions with the associated stream to error.
3593 ReadableStream API, Fetch, Fetch API, Files, HTTP, Interface, Networking, ReadableStream, Reference, Streams, data
ReadableStream 接口在 Streams API represents a readable stream of byte data. The 抓取 API offers a concrete instance of a ReadableStream 透过 body property of a 响应 对象。
3594 ReadableStream.ReadableStream() API, Constructor, ReadableStream, Reference
ReadableStream() constructor creates and returns a readable stream object from the given handlers.
3595 ReadableStream.cancel() API, Method, ReadableStream, Reference, Streams, cancel
cancel() 方法在 ReadableStream interface cancels the associated stream. The supplied reason parameter will be given to the underlying source, which may or may not use it.
3596 ReadableStream.getReader() API, Method, ReadableStream, Reference, Streams, getReader
getReader() 方法在 ReadableStream interface creates a reader and locks the stream to it. While the stream is locked, no other reader can be acquired until this one is released.
3597 ReadableStream.locked API, Property, ReadableStream, Reference, Streams, locked
locked getter property of the ReadableStream interface returns whether or not the readable stream is locked to a reader .
3598 ReadableStream.pipeThrough() API, Experimental, Method, ReadableStream, Reference, Streams, pipeThrough
pipeThrough() 方法在 ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
3599 ReadableStream.pipeTo() API, Experimental, Method, ReadableStream, Reference, Streams, pipeTo
pipeTo() 方法在 ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
3600 ReadableStream.tee() API, Method, ReadableStream, Reference, Streams, tee
tee() 方法在 ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream 实例。
3601 ReadableStreamBYOBReader API, Experimental, Fetch, Interface, ReadableStreamBYOBReader, Reference, Streams
ReadableStreamDefaultReader 接口在 Streams API represents a BYOB ("bring your own buffer") reader that can be used to read stream data supplied by the developer (e.g. a custom ReadableStream.ReadableStream() 构造函数)。
3602 ReadableStreamBYOBReader.ReadableStreamBYOBReader() API, Constructor, Experimental, ReadableStreamBYOBReader, Reference, Streams
ReadableStreamBYOBReader() constructor creates and returns a ReadableStreamBYOBReader() 对象实例。
3603 ReadableStreamBYOBReader.cancel() API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, cancel
cancel() 方法在 ReadableStreamBYOBReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
3604 ReadableStreamBYOBReader.closed API, Experimental, Property, ReadableStreamBYOBReader, Reference, Streams, closed
closed getter property of the ReadableStreamBYOBReader interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors.
3605 ReadableStreamBYOBReader.read() API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, read
read() 方法在 ReadableStreamBYOBReader interface returns a promise providing access to the next chunk in the byte stream's internal queue.
3606 ReadableStreamBYOBReader.releaseLock() API, Experimental, Method, ReadableStreamBYOBReader, Reference, Streams, releaseLock
releaseLock() 方法在 ReadableStreamBYOBReader interface releases the reader's lock on the stream. After the lock is released, the reader is no longer active.
3607 ReadableStreamBYOBRequest API, Experimental, Fetch, Interface, ReadableStreamBYOBRequest, Reference, Steams
ReadableStreamBYOBRequest 接口在 Streams API represents a pull request into a ReadableByteStreamController view.
3608 ReadableStreamBYOBRequest.ReadableStreamBYOBRequest() API, Constructor, Experimental, ReadableStreamBYOBRequest, Reference, Streams
ReadableStreamBYOBRequest() constructor creates and returns a ReadableStreamBYOBRequest() 对象实例。
3609 ReadableStreamBYOBRequest.respond() API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respond
error() 方法在 ReadableStreamBYOBRequest interface xxx
3610 ReadableStreamBYOBRequest.respondWithNewView() API, Experimental, Method, ReadableStreamBYOBRequest, Reference, Streams, respondWithNewView
respondWithNewView() 方法在 ReadableStreamBYOBRequest interface xxx
3611 ReadableStreamBYOBRequest.view API, Experimental, Property, ReadableStreamBYOBRequest, Reference, Streams, View
view getter property of the ReadableStreamBYOBRequest interface returns the current view.
3612 ReadableStreamDefaultController API, Fetch, Interface, ReadableStreamDefaultController, Reference, Streams
ReadableStreamDefaultController 接口在 Streams API represents a controller allowing control of a ReadableStream 's state and internal queue. Default controllers are for streams that are not byte streams.
3613 ReadableStreamDefaultController.ReadableStreamDefaultController() API, Constructor, ReadableStreamDefaultController, Reference, Streams
ReadableStreamDefaultController() constructor creates and returns a ReadableStreamDefaultController() 对象实例。
3614 ReadableStreamDefaultController.close() API, Method, ReadableStreamDefaultController, Reference, Streams, close
close() 方法在 ReadableStreamDefaultController interface closes the associated stream.
3615 ReadableStreamDefaultController.desiredSize API, Property, ReadableStreamDefaultController, Reference, Streams, desiredSize
desiredSize getter property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
3616 ReadableStreamDefaultController.enqueue() API, Method, ReadableStreamDefaultController, Reference, Streams, enqueue
enqueue() 方法在 ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
3617 ReadableStreamDefaultController.error() API, Error, Method, ReadableStreamDefaultController, Reference, Streams
error() 方法在 ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
3618 ReadableStreamDefaultReader API, Fetch, Interface, ReadableStreamDefaultReader, Reference, Streams
ReadableStreamDefaultReader 接口在 Streams API represents a default reader that can be used to read stream data supplied from a network (e.g. a fetch request).
3619 ReadableStreamDefaultReader.ReadableStreamDefaultReader() API, Constructor, ReadableStreamDefaultReader, Reference, Streams
ReadableStreamDefaultReader() constructor creates and returns a ReadableStreamDefaultReader() 对象实例。
3620 ReadableStreamDefaultReader.cancel() API, Method, ReadableStreamDefaultReader, Reference, Streams, cancel
cancel() 方法在 ReadableStreamDefaultReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
3621 ReadableStreamDefaultReader.closed API, Property, ReadableStreamDefaultReader, Reference, Streams, closed
closed getter property of the ReadableStream interface returns a promise that fulfills if the stream becomes closed or the reader's lock is released, or rejects if the stream errors.
3622 ReadableStreamDefaultReader.read() API, Method, ReadableStreamDefaultReader, Reference, Streams, read
read() 方法在 ReadableStreamDefaultReader interface returns a promise providing access to the next chunk in the stream's internal queue.
3623 ReadableStreamDefaultReader.releaseLock() API, Method, ReadableStreamDefaultReader, Reference, Streams, releaseLock
releaseLock() 方法在 ReadableStreamDefaultReader interface releases the reader's lock on the stream.
3624 RelativeOrientationSensor API, Generic Sensor API, Interface, Orientation Sensor API, OrientationSensor, Reference, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors
RelativeOrientationSensor 接口的 Sensor APIs describes the device's physical orientation without regard to the Earth's reference coordinate system.
3625 RelativeOrientationSensor.RelativeOrientationSensor() API, Constructor, Generic Sensor API, Orientation Sensor API, OrientationSensor, RelativeOrientationSensor, Sensor, Sensor APIs, Sensors
RelativeOrientationSensor 构造函数创建新 RelativeOrientationSensor object which describes the device's physical orientation.
3626 RenderingContext API, Canvas, Context, Graphics, Graphics Context, Helper, Reference, Rendering Context, Type, WebGL, WebGL2, rendering
RenderingContext is a WebIDL typedef which can refer to any one of the interfaces that represent a graphics rendering context within a <canvas> 元素: CanvasRenderingContext2D , WebGLRenderingContext ,或 WebGL2RenderingContext .
3627 Report API, Experimental, Interface, Reference, Report, Reporting API
Report 接口在 Reporting API represents a single report.
3628 Report.body API, BODY, Experimental, Property, Reference, Report, Reporting API
body 只读特性在 Report interface returns the body of the report, which is a ReportBody object containing the detailed report information.
3629 Report.type API, Experimental, Property, Reference, Report, Reporting API, Type
type 只读特性在 Report interface returns the type of report generated, e.g. deprecation or intervention .
3630 Report.url API, Experimental, Property, Reference, Report, Reporting API, URL
url 只读特性在 Report interface returns the URL of the document that generated the report.
3631 Reporting API API, Experimental, Landing, Reference, Reporting, Secure context
The Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy , Feature-Policy , or feature deprecation reports) in a consistent manner.
3632 ReportingObserver API, Experimental, Interface, Reference, Reporting API, ReportingObserver
ReportingObserver 接口在 Reporting API allows you to collect and access reports.
3633 ReportingObserver() API, Constructor, Experimental, Reference, Reporting API, ReportingObserver
ReportingObserver() constructor of the Reporting API creates a new ReportingObserver object instance, which can be used to collect and access reports.
3634 ReportingObserver.disconnect() API, Experimental, Method, Reference, Reporting API, ReportingObserver
disconnect() 方法在 ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
3635 ReportingObserver.observe() API, Experimental, Method, Reference, Reporting API, ReportingObserver, observe
observe() 方法在 ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
3636 ReportingObserver.takeRecords() API, Experimental, Method, Reference, Reporting API, ReportingObserver
takeRecords() 方法在 ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
3637 ReportingObserverOptions API, Dictionary, Experimental, Reference, Reporting API, ReportingObserverOptions
ReportingObserverOptions dictionary of the Reporting API allows options to be set in the constructor when creating a ReportingObserver .
3638 Request API, Fetch, Fetch API, Interface, Networking, Reference, request
Request 接口在 抓取 API 表示资源请求。
3639 Request() API, Constructor, Experimental, Fetch, Reference, request
Request() 构造函数创建新 Request 对象。
3640 Request.cache API, Cache, Experimental, Fetch, Property, Reference, request
cache 只读特性在 Request interface contains the cache mode of the request. It controls how the request will interact with the browser's HTTP cache .
3641 Request.clone() API, Experimental, Fetch, Method, Reference, clone, request
clone() 方法在 Request interface creates a copy of the current Request 对象。
3642 Request.context API, Context, Experimental, Fetch, Property, Reference, request
The deprecated context 只读特性在 Request interface contains the context of the Request (e.g., audio , image , iframe ).
3643 Request.credentials API, Cookies, Fetch, Networking, Property, Reference, Security, credentials, request
credentials 只读特性在 Request interface indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests.
3644 Request.destination API, Experimental, Fetch, Fetch API, Files, Loading, Networking, Property, Read-only, Reference, data, destination, request
destination 只读特性在 Request interface returns a string describing the type of content being requested.
3645 Request.headers API, Experimental, Fetch, Headers, Property, Reference, request
headers 只读特性在 Request interface contains the object associated with the request.
3646 Request.integrity API, Experimental, Fetch, Property, Reference, integrity, request
integrity 只读特性在 Request interface contains the subresource integrity value of the request.
3647 Request.method API, Experimental, Fetch, Property, Reference, request
method 只读特性在 Request interface contains the request's method ( GET , POST ,等)
3648 Request.mode API, Experimental, Fetch, Property, Reference, mode, request
mode 只读特性在 Request interface contains the mode of the request (e.g., cors , no-cors , same-origin ,或 navigate .) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable.
3649 Request.redirect API, Experimental, Fetch, Property, Redirect, Reference, request
redirect 只读特性在 Request interface contains the mode for how redirects are handled.
3650 Request.referrer API, Experimental, Fetch, Property, Reference, referrer, request
referrer 只读特性在 Request interface is set by the user agent to be the referrer of the Request. (e.g., client , no-referrer , or a URL.)
3651 Request.referrerPolicy API, Experimental, Fetch, Property, Reference, referrerPolicy, request
referrerPolicy 只读特性在 Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request.
3652 Request.url API, Experimental, Fetch, Property, Reference, URL, request
url 只读特性在 Request interface contains the URL of the request.
3653 RequestDestination API, Enum, Fetch, Fetch API, Interface, NeedsContent, RequestDestination, Type, destination
RequestDestination enumerated type contains the permitted values for a request's destination . These string values indicate potential types of content that a request may try to retrieve.
3654 重置尺寸观测器 API API, Draft, Element, Monitor, Overview, Reference, Resize Observer, Resize Observer API, observe, size
The Resize Observer API provides a performant mechanism by which code can monitor an element for changes to its size, with notifications being delivered to the observer each time the size changes.
3655 ResizeObserver API, Bounding Box, Experimental, Interface, Reference, Resize Observer API, ResizeObserver, content box, observers
ResizeObserver interface reports changes to the dimensions of an 元素 's content or border box, or the bounding box of an SVGElement .
3656 ResizeObserver.ResizeObserver() API, Constructor, Reference, Resize Observer API, ResizeObserver, observers
ResizeObserver 构造函数创建新 ResizeObserver object, which can be used to report changes to the content or border box of an 元素 or the bounding box of an SVGElement .
3657 ResizeObserver.disconnect() API, Method, Reference, Resize Observer API, ResizeObserver, disconnect(), observers
disconnect() 方法在 ResizeObserver interface unobserves all observed 元素 or SVGElement 目标。
3658 ResizeObserver.observe() API, Method, Reference, Resize Observer API, ResizeObserver, observe(), observers
observe() 方法在 ResizeObserver interface starts observing the specified 元素 or SVGElement .
3659 ResizeObserver.unobserve() API, Method, Reference, Resize Observer API, ResizeObserver, observers, unobserve()
unobserve() 方法在 ResizeObserver interface ends the observing of a specified 元素 or SVGElement .
3660 ResizeObserverEntry API, Bounding Box, Interface, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers
ResizeObserverEntry interface represents the object passed to the ResizeObserver() constructor's callback function, which allows you to access the new dimensions of the 元素 or SVGElement being observed.
3661 ResizeObserverEntry.borderBoxSize API, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, borderBoxSize
borderBoxSize 只读特性在 ResizeObserverEntry interface returns an object containing the new border box size of the observed element when the callback is run.
3662 ResizeObserverEntry.contentBoxSize API, Experimental, Property, Reference, Resize Observer API, ResizeObserverEntry, contentBoxSize
contentBoxSize 只读特性在 ResizeObserverEntry interface returns an object containing the new content box size of the observed element when the callback is run.
3663 ResizeObserverEntry.contentRect API, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers
contentRect 只读特性在 ResizeObserverEntry interface returns a DOMRectReadOnly object containing the new size of the observed element when the callback is run. Note that this is better supported than ResizeObserverEntry.borderBoxSize or ResizeObserverEntry.contentBoxSize , but it is left over from an earlier implementation of the Resize Observer API, is still included in the spec for web compat reasons, and may be deprecated in future versions.
3664 ResizeObserverEntry.target API, Bounding Box, Property, Reference, Resize Observer API, ResizeObserver, ResizeObserverEntry, content box, observers, target
target 只读特性在 ResizeObserverEntry interface returns a reference to the 元素 or SVGElement that is being observed.
3665 资源计时 API API, Guide, HTTP, Overview, Performance, Resource Timing API, Timing, Web Performance
Resource Timing interfaces enable retrieving and analyzing detailed network timing data regarding the loading of an application's resource(s) . An application can use the timing metrics to determine, for example, the length of time it takes to load a specific resource, such as an XMLHttpRequest , <SVG> , image, or script.
3666 使用资源计时 API API, Guide, NeedsExample, Performance, Resource Timing, Resource Timing API, Timing, Web, Web Development, Web Performance
资源计时 API provides a way to retrieve and analyze detailed network timing data regarding the loading of an application's resource(s) . An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource such as an XMLHttpRequest , <SVG> , image, script, etc.).
3667 响应 API, Experimental, Fetch, Fetch API, Interface, Reference, Response
响应 接口在 抓取 API represents the response to a request.
3668 Response() API, Constructor, Experimental, Fetch, Reference, Response
Response() 构造函数创建新 响应 对象。
3669 Response.clone() API, Experimental, Fetch, Method, Reference, Response, clone
clone() 方法在 响应 interface creates a clone of a response object, identical in every way, but stored in a different variable.
3670 Response.error() API, Error, Experimental, Fetch, Method, Reference, Response
error() 方法在 响应 interface returns a new 响应 object associated with a network error.
3671 Response.headers API, Experimental, Fetch, Headers, Property, Reference, Response
headers 只读特性在 响应 interface contains the object associated with the response.
3672 Response.ok API, Experimental, Fetch, Property, Reference, Response, ok
ok 只读特性在 响应 interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
3673 Response.redirect() API, Experimental, Fetch, Method, Redirect, Reference, Response
redirect() 方法在 响应 interface returns a 响应 resulting in a redirect to the specified URL.
3674 Response.redirected API, Experimental, Fetch, Property, Read-only, Reference, Response, redirected
只读 redirected 特性为 响应 interface indicates whether or not the response is the result of a request you made which was redirected.
3675 Response.status API, Experimental, Fetch, Property, Reference, Response, status
status 只读特性在 响应 interface contains the status code of the response (e.g., 200 for a success).
3676 Response.statusText API, Experimental, Fetch, Property, Reference, Response, statusText
statusText 只读特性在 响应 interface contains the status message corresponding to the status code (e.g., OK for 200 ).
3677 Response.type API, Experimental, Fetch, Property, Reference, Response, Type
type 只读特性在 响应 interface contains the type of the response. It can be one of the following:
3678 Response.url API, Experimental, Fetch, Property, Reference, Response, URL
url 只读特性在 响应 interface contains the URL of the response. The value of the url property will be the final URL obtained after any redirects.
3679 Response.useFinalURL API, Experimental, Fetch, Obsolete, Property, Reference, Response, useFinalURL
useFinalURL 特性为 响应 interface contains a boolean stating whether this is the final URL of the response.
3680 RsaHashedImportParams API, Dictionary, Reference, RsaHashedImportParams, Web Crypto API
RsaHashedImportParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey() , when importing any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5 , RSA-PSS ,或 RSA-OAEP .
3681 RsaHashedKeyGenParams API, Dictionary, Reference, RsaHashedKeyGenParams, Web Crypto API
RsaHashedKeyGenParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.generateKey() , when generating any RSA-based key pair: that is, when the algorithm is identified as any of RSASSA-PKCS1-v1_5 , RSA-PSS ,或 RSA-OAEP .
3682 RsaOaepParams API, Dictionary, Reference, RsaOaepParams, Web Crypto API
RsaOaepParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt() , SubtleCrypto.decrypt() , SubtleCrypto.wrapKey() ,或 SubtleCrypto.unwrapKey() , when using the RSA_OAEP 算法。
3683 RsaPssParams API, Dictionary, Reference, RsaPssParams, Web Crypto API
RsaPssParams dictionary of the Web 加密 API represents the object that should be passed as the algorithm parameter into SubtleCrypto.sign() or SubtleCrypto.verify() , when using the RSA-PSS 算法。
3684 SVGAElement API, Reference, SVG, SVGAElement
SVGAElement interface provides access to the properties of <a> element, as well as methods to manipulate them.
3685 SVGAElement.target API, NeedsBrowserCompatibility, Property, Reference, SVG
SVGAElement.target read-only property of SVGAElement 返回 SVGAnimatedString object that specifies the portion of a target window, frame, pane into which a document is to be opened when a link is activated.
3686 SVGAltGlyphDefElement API, Deprecated, Reference, SVG, SVG DOM
SVGAltGlyphDefElement interface corresponds to the <altGlyphDef> 元素。
3687 SVGAltGlyphElement API, Deprecated, NeedsExample, Reference, SVG, SVGAltGlyphElement
SVGAltGlyphElement interface represents an <altglyph> element. This interface makes it possible to implement more sophisticated and particular glyph characters. For some textal representations as: ligatures (e.g. æ, ß, etc ), special-purpose fonts (e.g. musical symbols) or even alternate glyphs such as Asian text strings it is required that a different set of glyphs be used than the normal given character data.
3688 SVGAltGlyphElement.glyphRef API, Deprecated, Property, Reference, SVG, SVGAltGlyphElement, SVGAltGlyphRefElement
SVGAltGlyphElement.glyphRef 特性为 DOMString representing a glyph identifier. It has the same meaning as the ‘glyphRef’ property on the SVGGlyphRefElement 接口在 <glyphRef> 元素。
3689 format
SVGAltGlyphElement.format 特性为 DOMString that defines the format of the given font. It has the same meaning as the 'format' property of SVGGlyphRefElement property. If the font is in one of the formats listed in CSS2([CSS2], section15.3.5) , then its value is the corresponding <string> parameter of the font.
3690 SVGAltGlyphItemElement API, Deprecated, Reference, SVG, SVG DOM
SVGAltGlyphItemElement interface corresponds to the <altGlyphItem> 元素。
3691 SVGAngle API, Reference, SVG, SVG DOM
SVGAngle interface is used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only.
3692 SVGAnimateColorElement API, Deprecated, NeedsExample, Reference, SVG, SVG DOM
SVGAnimateColorElement interface corresponds to the <animateColor> 元素。
3693 SVGAnimateElement API, NeedsExample, Reference, SVG, SVG DOM
SVGAnimateElement interface corresponds to the <animate> 元素。
3694 SVGAnimateMotionElement API, Reference, SVG, SVG DOM
SVGAnimateMotionElement interface corresponds to the <animateMotion> 元素。
3695 SVGAnimateTransformElement API, NeedsExample, Reference, SVG, SVG DOM
SVGAnimateTransformElement interface corresponds to the <animateTransform> 元素。
3696 SVGAnimatedAngle API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedAngle interface is used for attributes of basic type <angle> which can be animated.
3697 SVGAnimatedBoolean API, NeedsExample, Reference, SVG, SVG DOM
SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.
3698 SVGAnimatedEnumeration API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated.
3699 SVGAnimatedInteger API, NeedsBrowserCompatibility, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated.
3700 SVGAnimatedLength API, Reference, Référence(2), SVG
SVGAnimatedLength interface is used for attributes of basic type <length> which can be animated.
3701 SVGAnimatedLengthList API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedLengthList interface is used for attributes of type SVGLengthList which can be animated.
3702 SVGAnimatedNumber API, HTML, NeedsExample, SVG, SVG DOM
SVGAnimatedNumber interface is used for attributes of basic type <Number> which can be animated.
3703 SVGAnimatedNumberList API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated.
3704 SVGAnimatedPoints API, NeedsExample, Reference, SVG, SVG DOM
SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute.
3705 SVGAnimatedPreserveAspectRatio API, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedPreserveAspectRatio interface is used for attributes of type SVGPreserveAspectRatio which can be animated.
3706 SVGAnimatedRect API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated.
3707 SVGAnimatedString API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this.
3708 SVGAnimatedString.animVal
AnimVal attribute or animVal property contains the same value as the baseVal 特性。 If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal
3709 SVGAnimatedString.baseVal
BaseVal gets or sets the base value of the given attribute before any animations are applied. The base value of the given attribute before applying any animations. Setter throws DOMException.
3710 SVGAnimatedTransformList API, Reference, Référence(2), SVG, SVG DOM
SVGAnimatedTransformList interface is used for attributes which take a list of numbers and which can be animated.
3711 SVGAnimationElement API, NeedsExample, Reference, SVG, SVG DOM
SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement , SVGSetElement , SVGAnimateColorElement , SVGAnimateMotionElement and SVGAnimateTransformElement .
3712 SVGAnimationElement.onbegin API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
SVGAnimationElement.onbegin property refers to the event handler for the beginEvent .
3713 SVGAnimationElement.onend API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
SVGAnimationElement.onend property refers to the event handler for the endEvent .
3714 SVGAnimationElement.onrepeat API, DOM, Experimental, NeedsExample, Property, Reference, SVG, SVG DOM
SVGAnimationElement.onrepeat property refers to the event handler for the repeatEvent .
3715 SVGAnimationElement: beginEvent event API, Reference, SVG Animation, SVGAnimationElement, beginEvent, events
beginEvent event of the SVGAnimationElement interface is fired when the element local timeline begins to play. It will be raised each time the element begins the active duration (i.e., when it restarts, but not when it repeats).
3716 SVGAnimationElement: endEvent event API, Reference, SMIL, SVG animations, SVGAnimationElement, events
endEvent event of the SVGAnimationElement interface is fired when at the active end of the animation is reached.
3717 SVGAnimationElement: repeatEvent event API, Reference, SMIL, SVG animations, SVGAnimationElement, events
repeatEvent event of the SVGAnimationElement interface is fired when the element's local timeline repeats. It will be fired each time the element repeats, after the first iteration.
3718 targetElement API, DOM, NeedsExample, Property, Reference, SVG, SVG DOM
SVGAnimationElement.targetElement property refers to the element which is being animated. If no target element is being animated (for example, because the href attribute specifies an unknown element), the value returned is null .
3719 SVGCircleElement API, DOM, Interface, JavaScript, SVG, SVGCircleElement
SVGCircleElement interface is an interface for the <circle> 元素。
3720 cx API, Property, Reference, SVG, SVGCircleElement, cx
cx 只读特性在 SVGCircleElement interface reflects the cx attribute of a <circle> element and by that defines the x-coordinate of the circleʼs center.
3721 cy API, Property, Reference, SVG, SVGCircleElement, cy
cy 只读特性在 SVGCircleElement interface reflects the cy attribute of a <circle> element and by that defines the y-coordinate of the circleʼs center.
3722 r API, Property, Reference, SVG, SVGCircleElement, r
r 只读特性在 SVGCircleElement interface reflects the r attribute of a <circle> element and by that defines the radius of the circle.
3723 SVGClipPathElement API, NeedsExample, Reference, SVG, SVG DOM
SVGClipPathElement interface provides access to the properties of <clipPath> elements, as well as methods to manipulate them.
3724 SVGColorProfileElement API, Deprecated, NeedsExample, Reference, SVG, SVG DOM
SVGColorProfileElement interface corresponds to the <color-profile> 元素。
3725 SVGComponentTransferFunctionElement API, NeedsExample, Reference, SVG, SVG DOM
SVGComponentTransferFunctionElement interface defines a base interface used by the component transfer function interfaces.
3726 SVGCursorElement API, NeedsExample, Reference, SVG, SVG DOM
SVGCursorElement interface provides access to the properties of <cursor> elements, as well as methods to manipulate them.
3727 SVGDefsElement API, NeedsExample, Reference, SVG, SVG DOM
SVGDefsElement interface corresponds to the <defs> 元素。
3728 SVGDescElement API, NeedsExample, Reference, SVG, SVG DOM
SVGDescElement interface corresponds to the <desc> 元素。
3729 SVGElement API, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGElement
All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement 接口。
3730 SVGElement.dataset Property, Reference, SVG, SVG Custom Attributes, SVG2, SVGElement, dataset
SVGElement.dataset property allows access, both in reading and writing mode, to all the 自定义数据属性 ( data-* ) set on the element. It is a map of DOMString s representing keys to DOMString s representing the values for those keys, with one entry for each custom data attribute. Each key corresponds to the name of a custom data attribute; for example, a custom attribute named data-foo is in the map with the key "foo" .
3731 SVGElement: abort event API, Reference, SVGElement, abort, events
abort event is fired when page loading is stopped before an SVG element has been allowed to load completely. This basically implements the standard abort DOM event.
3732 SVGElement: error event API, Error, Reference, SVGElement, events
error event is fired when an SVG element does not load properly or when an error occurs during script execution.
3733 SVGElement: load event API, Reference, SVGElement, events, load
load event fires on an SVGElement when it is loaded in the browser, e.g. in the DOM in the case of an embedded <svg> . It is basically the same as the standard load DOM event.
3734 SVGElement: resize event API, Reference, SVGElement, events, resize
resize event is fired when an SVG document is being resized. This event is only applicable to outermost SVG elements and is dispatched after the resize operation has taken place.
3735 SVGElement: scroll event API, Reference, SVGElement, Scroll, events
scroll event is fired when an SVG document view is being shifted along the X and/or Y axes. This basically implements the standard scroll DOM event.
3736 SVGElement: unload event API, Reference, SVGElement, events, unload
unload event is fired when the DOM implementation removes an SVG document from a window or frame.
3737 SVGEllipseElement API, Reference, SVG, SVG DOM
SVGEllipseElement interface provides access to the properties of <ellipse> 元素。
3738 SVGEvent API, Reference, SVG, WebAPI
SVGEvent interface represents the event object for most SVG-related events.
3739 SVGExternalResourcesRequired API, Deprecated, Reference, SVG, SVG DOM
SVGExternalResourcesRequired interface defines an interface which applies to all elements where this element or one of its descendants can reference an external resource.
3740 SVGFEBlendElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEBlendElement interface corresponds to the <feBlend> 元素。
3741 SVGFEColorMatrixElement API, NeedsBrowserCompatibility, NeedsExample, NeedsMobileBrowserCompatibility, Reference, SVG, SVG DOM
SVGFEColorMatrixElement interface corresponds to the <feColorMatrix> 元素。
3742 SVGFEComponentTransferElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEComponentTransferElement interface corresponds to the <feComponentTransfer> 元素。
3743 SVGFECompositeElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFECompositeElement interface corresponds to the <feComposite> 元素。
3744 SVGFEConvolveMatrixElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEConvolveMatrixElement interface corresponds to the <feConvolveMatrix> 元素。
3745 SVGFEDiffuseLightingElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEDiffuseLightingElement interface corresponds to the <feDiffuseLighting> 元素。
3746 SVGFEDisplacementMapElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEDisplacementMapElement interface corresponds to the <feDisplacementMap> 元素。
3747 SVGFEDistantLightElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEDistantLightElement interface corresponds to the <feDistantLight> 元素。
3748 SVGFEDropShadowElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEDropShadowElement interface corresponds to the <feDropShadow> 元素。
3749 SVGFEFloodElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEFloodElement interface corresponds to the <feFlood> 元素。
3750 SVGFEFuncAElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEFuncAElement interface corresponds to the <feFuncA> 元素。
3751 SVGFEFuncBElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEFuncBElement interface corresponds to the <feFuncB> 元素。
3752 SVGFEFuncGElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEFuncGElement interface corresponds to the <feFuncG> 元素。
3753 SVGFEFuncRElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEFuncRElement interface corresponds to the <feFuncR> 元素。
3754 SVGFEGaussianBlurElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEGaussianBlurElement interface corresponds to the <feGaussianBlur> 元素。
3755 SVGFEImageElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEImageElement interface corresponds to the <feImage> 元素。
3756 SVGFEMergeElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEMergeElement interface corresponds to the <feMerge> 元素。
3757 SVGFEMergeNodeElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEMergeNodeElement interface corresponds to the <feMergeNode> 元素。
3758 SVGFEMorphologyElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEMorphologyElement interface corresponds to the <feMorphology> 元素。
3759 SVGFEOffsetElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEOffsetElement interface corresponds to the <feOffset> 元素。
3760 SVGFEPointLightElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFEPointLightElement interface corresponds to the <fePointLight> 元素。
3761 SVGFESpecularLightingElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFESpecularLightingElement interface corresponds to the <feSpecularLighting> 元素。
3762 SVGFESpotLightElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFESpotLightElement interface corresponds to the <feSpotLight> 元素。
3763 SVGFETileElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFETileElement interface corresponds to the <feTile> 元素。
3764 SVGFETurbulenceElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFETurbulenceElement interface corresponds to the <feTurbulence> 元素。
3765 SVGFilterElement API, NeedsExample, Reference, SVG, SVG DOM
SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.
3766 SVGFilterPrimitiveStandardAttributes API, NeedsExample, Reference, SVG, SVG DOM
SVGFilterPrimitiveStandardAttributes 接口定义了跨过滤器原语接口的一组公共 DOM 属性。
3767 SVGFontElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontElement interface corresponds to the <font> 元素。
3768 SVGFontFaceElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontFaceElement interface corresponds to the <font-face> 元素。
3769 SVGFontFaceFormatElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontFaceFormatElement interface corresponds to the <font-face-format> 元素。
3770 SVGFontFaceNameElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontFaceNameElement interface corresponds to the <font-face-name> 元素。
3771 SVGFontFaceSrcElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontFaceSrcElement interface corresponds to the <font-face-src> 元素。
3772 SVGFontFaceUriElement API, Deprecated, Reference, SVG, SVG DOM
SVGFontFaceUriElement interface corresponds to the <font-face-uri> 元素。
3773 SVGForeignObjectElement API, NeedsExample, Reference, SVG, SVG DOM
SVGForeignObjectElement interface provides access to the properties of <foreignObject> elements, as well as methods to manipulate them.
3774 SVGGElement API, NeedsExample, Reference, SVG, SVG DOM
SVGGElement interface corresponds to the <g> 元素。
3775 SVGGeometryElement API, DOM, NeedsExample, Reference, SVG, SVG DOM
SVGGeometryElement interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.
3776 SVGGeometryElement.getPointAtLength() API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM
SVGGeometryElement.getPointAtLength() method returns the point at a given distance along the path.
3777 SVGGeometryElement.getTotalLength() API, DOM, Method, NeedsExample, Reference, SVG, SVG DOM
SVGGeometryElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units.
3778 SVGGeometryElement.isPointInFill() API, DOM, Method, Reference, SVG, SVG DOM
SVGGeometryElement.isPointInFill() method determines whether a given point is within the fill shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the fill. The point argument is interpreted as a point in the local coordiante system of the element.
3779 SVGGeometryElement.isPointInStroke() API, DOM, Method, Reference, SVG, SVG DOM
SVGGeometryElement.isPointInStroke() method determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke. The point argument is interpreted as a point in the local coordiante system of the element.
3780 SVGGeometryElement.pathLength API, DOM, NeedsExample, Property, Reference, SVG, SVG DOM
SVGGeometryElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units.
3781 SVGGlyphElement API, Deprecated, Reference, SVG, SVG DOM
SVGGlyphElement interface corresponds to the <glyph> 元素。
3782 SVGGlyphRefElement API, Deprecated, Reference, SVG, SVG DOM
SVGGlyphRefElement interface corresponds to the <glyphRef> 元素。
3783 SVGGradientElement API, NeedsExample, Reference, SVG, SVG DOM
SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement .
3784 SVGGraphicsElement API, NeedsExample, Reference, SVG, SVG OM
SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
3785 getBBox SVG
SVGGraphicsElement.getBBox() allows us to determine the coordinates of the smallest rectangle in which the object fits. The coordinates returned are with respect to the current svg space, i.e. after the application of all geometry attributes on all the elements contained in the target element.
3786 SVGHKernElement API, Deprecated, Reference, SVG, SVG DOM
SVGHKernElement interface corresponds to the <hkern> 元素。
3787 SVGImageElement API, Image, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement
SVGImageElement interface corresponds to the <image> 元素。
3788 SVGImageElement.decode API, Decode, Experimental, Image, Method, NeedsExample, Reference, SVG, SVG DOM, SVGImageElement, asynchronous
decode() 方法在 SVGImageElement interface initiates asynchronous decoding of an image, returning a Promise that
3789 SVGImageElement.decoding API, Image, Property, Reference, SVG, SVG DOM, SVGImageElement, decoding
decoding 特性为 SVGImageElement interface represents a hint given to the browser on how it should decode the image.
3790 SVGImageElement.height API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, height
height 只读特性在 SVGImageElement interface returns an SVGAnimatedLength corresponding to the height attribute of the given <image> 元素。
3791 SVGImageElement.preserveAspectRatio API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, preserveAspectRatio
preserveAspectRatio 只读特性在 SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given <image> 元素。
3792 SVGImageElement.width API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, width
width 只读特性在 SVGImageElement interface returns an SVGAnimatedLength corresponding to the width attribute of the given <image> 元素。
3793 SVGImageElement.x API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, x
x 只读特性在 SVGImageElement interface returns an SVGAnimatedLength corresponding to the x attribute of the given <image> 元素。
3794 SVGImageElement.y API, Image, NeedsExample, Property, Reference, SVG, SVG DOM, SVGImageElement, y
y 只读特性在 SVGImageElement interface returns an SVGAnimatedLength corresponding to the y attribute of the given <image> 元素。
3795 SVGLength API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGLength interface correspond to the <length> basic data type.
3796 SVGLengthList API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGLengthList defines a list of SVGLength 对象。
3797 SVGLineElement API, NeedsExample, Reference, SVG, SVG DOM
SVGLineElement interface provides access to the properties of <line> elements, as well as methods to manipulate them.
3798 SVGLinearGradientElement API, NeedsExample, Reference, SVG, SVG DOM
SVGLinearGradientElement interface corresponds to the <linearGradient> 元素。
3799 SVGMPathElement API, NeedsExample, Reference, SVG, SVG DOM
SVGMPathElement interface corresponds to the <mpath> 元素。
3800 SVGMaskElement API, NeedsExample, Reference, SVG, SVG DOM
SVGMaskElement interface provides access to the properties of <mask> elements, as well as methods to manipulate them.
3801 SVGMatrix API, Deprecated, Reference, SVG, SVG DOM
Many of SVG's graphics operations utilize 2x3 matrices of the form:
3802 SVGMeshElement API, Experimental, Reference, SVG, SVG DOM
SVGMeshElement interface provides access to the properties of <mesh> 元素。
3803 SVGMetadataElement API, NeedsExample, Reference, SVG, SVG DOM
SVGMetadataElement interface corresponds to the <metadata> 元素。
3804 SVGMissingGlyphElement API, Deprecated, Reference, SVG, SVG DOM
SVGMissingGlyphElement interface corresponds to the <missing-glyph> 元素。
3805 SVGNumber API, NeedsExample, Reference, SVG, SVG DOM
SVGNumber interface corresponds to the <number> basic data type.
3806 SVGNumberList API, Reference, Référence(2), SVG, SVG DOM
SVGNumberList defines a list of SVGNumber 对象。
3807 SVGPathElement API, NeedsExample, Reference, SVG, SVG DOM
SVGPathElement interface corresponds to the <path> 元素。
3808 SVGPathElement.getPointAtLength() API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM
SVGPathElement.getPointAtLength() method returns the point at a given distance along the path.
3809 SVGPathElement.getTotalLength() API, DOM, Deprecated, Method, NeedsExample, Reference, SVG, SVG DOM
SVGPathElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units.
3810 SVGPathElement.pathLength API, DOM, Deprecated, NeedsExample, Property, Reference, SVG, SVG DOM
SVGPathElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units.
3811 SVGPatternElement API, NeedsExample, Reference, SVG, SVG DOM
SVGPatternElement interface corresponds to the <pattern> 元素。
3812 SVGPoint API, NeedsContent
An SVGPoint represents a 2D or 3D point in the SVG coordinate system.
3813 SVGPolygonElement API, NeedsExample, Reference, SVG, SVG DOM
SVGPolygonElement interface provides access to the properties of <polygon> elements, as well as methods to manipulate them.
3814 SVGPolylineElement API, NeedsExample, Reference, SVG, SVG DOM
SVGPolylineElement interface provides access to the properties of <polyline> elements, as well as methods to manipulate them.
3815 SVGPreserveAspectRatio API, Reference, Référence(2), SVG, SVG DOM
SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.
3816 SVGRadialGradientElement API, Reference, SVG, SVG DOM
SVGRadialGradientElement interface corresponds to the <RadialGradient> 元素。
3817 SVGRect API, Reference, SVG, SVG DOM
SVGRect represents a rectangle. Rectangles consist of an x and y coordinate pair identifying a minimum x value, a minimum y value, and a width and height, which are constrained to be non-negative.
3818 The 'X' property
x property describes the horizontal coordinate of the position of the element.
3819 SVGRectElement API, NeedsExample, Reference, SVG, SVG DOM
SVGRectElement interface provides access to the properties of <rect> elements, as well as methods to manipulate them.
3820 SVGRenderingIntent API, Deprecated, Reference, SVG, SVG DOM
SVGRenderingIntent interface defines the enumerated list of possible values for rendering-intent attributes or descriptors.
3821 SVGSVGElement API, NeedsExample, Reference, SVG, SVG DOM
SVGSVGElement interface provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
3822 SVGScriptElement API, NeedsExample, Reference, SVG, SVG DOM
SVGScriptElement interface corresponds to the SVG <script> 元素。
3823 SVGSetElement API, NeedsExample, Reference, SVG, SVG DOM
SVGSetElement interface corresponds to the <set> 元素。
3824 SVGSolidcolorElement API, Experimental, NeedsExample, Reference, SVG, SVG DOM
SVGSolidcolorElement interface corresponds to the <solidcolor> 元素。
3825 SVGStopElement API, NeedsExample, Reference, SVG, SVG DOM
SVGStopElement interface corresponds to the <stop> 元素。
3826 SVGStringList API, Reference, SVG, SVG DOM
SVGStringList defines a list of DOMString 对象。
3827 SVGStylable API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style , class and presentation attributes specified on them.
3828 SVGStyleElement API, NeedsExample, Reference, SVG, SVG DOM
SVGStyleElement interface corresponds to the SVG <style> 元素。
3829 SVGSwitchElement API, NeedsExample, Reference, SVG, SVG DOM
SVGSwitchElement interface corresponds to the <switch> 元素。
3830 SVGSymbolElement API, Interface, NeedsExample, Reference, SVG, SVG DOM, SVGSymbolElement
SVGSymbolElement interface corresponds to the <symbol> 元素。
3831 SVGTRefElement API, Deprecated, NeedsExample, Reference, SVG, SVG DOM
SVGTRefElement interface corresponds to the <tref> 元素。
3832 SVGTSpanElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTSpanElement 接口表示 <tspan> 元素。
3833 SVGTests API, NeedsExample, Reference, SVG, SVG DOM
SVGTests interface is used to reflect conditional processing attributes and is mixed into other interfaces for elements that support these attributes.
3834 SVGTextContentElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTextContentElement interface is implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement , SVGTSpanElement , SVGTRefElement , SVGAltGlyphElement and SVGTextPathElement .
3835 SVGTextElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTextElement interface corresponds to the <text> 元素。
3836 SVGTextPathElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTextPathElement interface corresponds to the <textPath> 元素。
3837 SVGTextPositioningElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTextPositioningElement interface is implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement , SVGTSpanElement , SVGTRefElement and SVGAltGlyphElement .
3838 SVGTitleElement API, NeedsExample, Reference, SVG, SVG DOM
SVGTitleElement interface corresponds to the <title> 元素。
3839 SVGTransform API, Reference, Référence(2), SVG, SVG DOM
SVGTransform is the interface for one of the component transformations within an SVGTransformList ; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…) ) within a transform 属性。
3840 SVGTransformList API, Reference, Référence(2), SVG, SVG DOM
SVGTransformList defines a list of SVGTransform 对象。
3841 SVGTransformable API, NeedsExample, Reference, Référence(2), SVG, SVG DOM
接口 SVGTransformable contains properties and methods that apply to all elements which have attribute transform .
3842 SVGURIReference API, NeedsExample, Reference, SVG, SVG DOM
SVGURIReference interface is used to reflect the href attribute and the deprecated xlink:href 属性。
3843 SVGUnitTypes API, NeedsExample, Reference, SVG, SVG DOM
SVGUnitTypes interface defines a commonly used set of constants used for reflecting gradientUnits , patternContentUnits and other similar attributes.
3844 SVGUseElement API, NeedsExample, Reference, SVG, SVG DOM
SVGUseElement interface corresponds to the <use> 元素。
3845 SVGVKernElement API, Deprecated, Reference, SVG, SVG DOM
SVGVKernElement interface corresponds to the <vkern> 元素。
3846 SVGViewElement API, NeedsExample, Reference, SVG, SVG DOM
SVGViewElement interface provides access to the properties of <view> elements, as well as methods to manipulate them.
3847 SVGZoomAndPan API, NeedsExample, Reference, SVG, SVG DOM
SVGZoomAndPan interface is used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute.
3848 Screen API, CSSOM View, Interface, Reference
Screen interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen .
3849 Screen.availHeight API, CSSOM View, Property, Reference, Screen size, availHeight
只读 Screen 接口的 availHeight property returns the height, in CSS pixels, of the space available for Web content on the screen. Since Screen is exposed on the Window 接口的 window.screen property, you access availHeight 使用 window.screen.availHeight .
3850 Screen.availLeft API, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Returns the first available pixel available from the left side of the screen.
3851 Screen.availTop API, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features.
3852 Screen.availWidth API, CSSOM View, Property, Reference
Screen.availWidth property returns the amount of horizontal space (in pixels) available to the window.
3853 Screen.colorDepth API, CSSOM View, Property, Reference
Screen.colorDepth read-only property returns the color depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the browser compatibility section for those that don't.
3854 Screen.height API, CSSOM View, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference
Screen.height read-only property returns the height of the screen in pixels.
3855 Screen.left API, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property
Returns the distance in pixels from the left side of the main screen to the left side of the current screen.
3856 Screen.lockOrientation() API, CSSOM View, Deprecated, Method, NeedsUpdate, Screen Orientation, screen
lockOrientation() 方法在 Screen interface locks the screen into a specified orientation. The ScreenOrientation.lock() method should be used instead.
3857 Screen.mozBrightness API, API:Mozilla Extensions, Deprecated, Non-standard, Property
Indicates how bright the screen's backlight is, on a scale from 0 (very dim) to 1 (full brightness); this value is a double-precision float.
3858 Screen.mozEnabled API, API:Mozilla Extensions, DOM, Deprecated, Non-standard, Property, Reference
This Boolean attribute controls the device's screen. Setting it to false will turn off the screen.
3859 Screen.onorientationchange API, CSSOM View, Deprecated, Event Handler, Property, Screen Orientation
An event handler for the orientationchange events sent to the screen object. The ScreenOrientation.onchange handler should be used instead.
3860 Screen.orientation API, CSSOM View, Experimental, Property, Read-only, Screen Orientation, screen
orientation 只读特性在 Screen interface returns the current orientation of the screen.
3861 Screen.pixelDepth API, CSSOM View, NeedsMarkupWork, Property, Reference
Returns the bit depth of the screen. Per the CSSOM, some implementations return 24 for compatibility reasons. See the browser compatibility section for those that don't.
3862 Screen.top API, API:Microsoft Extensions, API:Mozilla Extensions, API:WebKit Extensions, DOM, Non-standard, Property, Window
Returns the distance in pixels from the top side of the current screen.
3863 Screen.unlockOrientation() API, CSSOM View, Deprecated, Method, NeedsMarkupWork, Screen Orientation
Screen.unlockOrientation() method removes all the previous screen locks set by the page/app. The ScreenOrientation.unlock() method should be used instead.
3864 Screen.width API, CSSOM View, Property, Reference
Returns the width of the screen.
3865 Screen Capture API API, Capture, Conference, Media, MediaDevices, MediaStream, Overview, Screen Capture, Screen Capture API, Screen Sharing, Sharing, Video, Window, display, getDisplayMedia, screen
The Screen Capture API introduces additions to the existing Media Capture and Streams API to let the user select a screen or portion of a screen (such as a window) to capture as a media stream.
3866 Using the Screen Capture API API, Capture, Conference, Guide, Media, Screen Capture, Screen Capture API, Sharing, Video, WebRTC, display, getDisplayMedia, screen
In this article, we will examine how to use the Screen Capture API and its getDisplayMedia() method to capture part or all of a screen for streaming, recording, or sharing during a WebRTC conference session.
3867 Screen Orientation API API, Draft, Experimental, NeedsContent, Overview, Screen Orientation
Screen Orientation API provides information about the orientation of the screen.
3868 ScreenOrientation API, Interface, Reference, Screen Orientation API, ScreenOrientation, screen
ScreenOrientation 接口的 Screen Orientation API provides information about the current orientation of the document.
3869 ScreenOrientation.angle API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, angle
angle 只读特性在 ScreenOrientation interface returns the document's current orientation angle.
3870 ScreenOrientation.lock() API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, lock
lock() 特性为 ScreenOrientation interface locks the orientation of the containing document to its default orientation.
3871 ScreenOrientation.onchange API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock
onchange 特性为 ScreenOrientation is an event handler fired whenever is the EventHandler called when the screen changes orientation.
3872 ScreenOrientation.type API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Type
type 只读特性在 ScreenOrientation interface returns the document's current orientation type, one of "portrait-primary", "portrait-secondary", "landscape-primary", or "landscape-secondary".
3873 ScreenOrientation.unlock() API, Orientation, Property, Reference, Screen Orientation API, ScreenOrientation, Unlock
unlock() 特性为 ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
3874 ScriptProcessorNode API, Deprecated, Interface, Reference, ScriptProcessorNode, Web Audio API
ScriptProcessorNode interface allows the generation, processing, or analyzing of audio using JavaScript.
3875 ScriptProcessorNode.bufferSize API, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, bufferSize
The following example shows basic usage of a ScriptProcessorNode to take a track loaded via AudioContext.decodeAudioData() , process it, adding a bit of white noise to each audio sample of the input track (buffer) and play it through the AudioDestinationNode . For each channel and each sample frame, the scriptNode.onaudioprocess function takes the associated audioProcessingEvent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
3876 ScriptProcessorNode.onaudioprocess API, Property, Reference, Référence(2), ScriptProcessorNode, Web Audio API, onaudioprocess
The following example shows basic usage of a ScriptProcessorNode to take a track loaded via AudioContext.decodeAudioData() , process it, adding a bit of white noise to each audio sample of the input track (buffer) and play it through the AudioDestinationNode . For each channel and each sample frame, the scriptNode.onaudioprocess function takes the associated audioProcessingEvent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
3877 ScriptProcessorNode: audioprocess event ScriptProcessorNode, Web Audio API, audioprocess, events
The audioprocess event of the ScriptProcessorNode interface is fired when an input buffer of a script processor is ready to be processed.
3878 ScrollToOptions API, CSSOM View, Dictionary, Reference, ScrollToOptions
ScrollToOptions dictionary of the CSSOM View spec contains properties specifying where an element should be scrolled to, and whether the scrolling should be smooth.
3879 ScrollToOptions.behavior API, Property, Reference, ScrollToOptions, behavior
An enum, the value of which can be one of the following:
3880 ScrollToOptions.left API, Property, Reference, ScrollToOptions, left
A double.
3881 ScrollToOptions.top API, Property, Reference, ScrollToOptions, top
A double.
3882 SecurityPolicyViolationEvent API, CSP, Experimental, HTTP, Interface, Reference, Security, SecurityPolicyViolationEvent
SecurityPolicyViolationEvent interface inherits from 事件 , and represents the event object of an event sent on a document or worker when its content security policy is violated.
3883 SecurityPolicyViolationEvent.SecurityPolicyViolationEvent() API, CSP, Constructor, Experimental, HTTP, Reference, Security, SecurityPolicyViolationEvent
SecurityPolicyViolationEvent 构造函数创建新 SecurityPolicyViolationEvent 对象实例。
3884 SecurityPolicyViolationEvent.blockedURI API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent
blockedURI 只读特性在 SecurityPolicyViolationEvent 接口是 USVString representing the URI of the resource that was blocked because it violates a policy.
3885 SecurityPolicyViolationEvent.columnNumber API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, columnNumber
columnNumber 只读特性在 SecurityPolicyViolationEvent interface is the column number in the document or worker at which the violation occurred.
3886 SecurityPolicyViolationEvent.disposition API, CSP, Disposition, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent
disposition 只读特性在 SecurityPolicyViolationEvent interface indicates how the violated policy is configured to be treated by the user agent.
3887 SecurityPolicyViolationEvent.documentURI API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, documentURI
documentURI 只读特性在 SecurityPolicyViolationEvent 接口是 USVString representing the URI of the document or worker in which the violation was found.
3888 SecurityPolicyViolationEvent.effectiveDirective API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, effectiveDirective
effectiveDirective 只读特性在 SecurityPolicyViolationEvent 接口是 DOMString representing the directive whose enforcement uncovered the violation.
3889 SecurityPolicyViolationEvent.lineNumber API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, lineNumber
lineNumber 只读特性在 SecurityPolicyViolationEvent interface is the line number in the document or worker at which the violation occurred.
3890 SecurityPolicyViolationEvent.originalPolicy API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, originalPolicy
originalPolicy 只读特性在 SecurityPolicyViolationEvent 接口是 DOMString containing the policy whose enforcement uncovered the violation.
3891 SecurityPolicyViolationEvent.referrer API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, referrer
referrer 只读特性在 SecurityPolicyViolationEvent 接口是 USVString representing the referrer of the resources whose policy was violated. This will be a URL or null .
3892 SecurityPolicyViolationEvent.sample API, CSP, Experimental, HTTP, Property, Reference, Sample, Security, SecurityPolicyViolationEvent
sample 只读特性在 SecurityPolicyViolationEvent 接口是 DOMString representing a sample of the resource that caused the violation.
3893 SecurityPolicyViolationEvent.sourceFile API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, sourceFile
sourceFile 只读特性在 SecurityPolicyViolationEvent 接口是 USVString representing the URI of the document or worker in which the violation was found.
3894 SecurityPolicyViolationEvent.statusCode API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, Statuscode
statusCode 只读特性在 SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the document or worker in which the violation occurred.
3895 SecurityPolicyViolationEvent.violatedDirective API, CSP, Experimental, HTTP, Property, Reference, Security, SecurityPolicyViolationEvent, violatedDirective
violatedDirective 只读特性在 SecurityPolicyViolationEvent 接口是 DOMString representing the directive whose enforcement uncovered the violation.
3896 Selection API, Experimental, Interface, Reference, Selection
A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or manipulation, call window.getSelection() .
3897 Selection.addRange() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.addRange() method adds a 范围 Selection .
3898 Selection.anchorNode API, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.anchorNode read-only property returns the 节点 in which the selection begins.
3899 Selection.anchorOffset API, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.anchorOffset read-only property returns the number of characters that the selection's anchor is offset within the Selection.anchorNode .
3900 Selection.collapse() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.collapse() method collapses the current selection to a single point. The document is not modified. If the content is focused and editable, the caret will blink there.
3901 Selection.collapseToEnd() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.collapseToEnd() method collapses the selection to the end of the last range in the selection. If the content of the selection is focused and editable, the caret will blink there.
3902 Selection.collapseToStart() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.collapseToStart() method collapses the selection to the start of the first range in the selection. If the content of the selection is focused and editable, the caret will blink there.
3903 Selection.containsNode() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.containsNode() method indicates whether a specfied node is part of the selection.
3904 Selection.deleteFromDocument() API, Experimental, HTML Editing, Method, Reference, Selection, deleteFromDocument
deleteFromDocument() 方法在 Selection interface deletes the selected text from the document's DOM.
3905 Selection.extend() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.extend() method moves the focus of the selection to a specified point. The anchor of the selection does not move. The selection will be from the anchor to the new focus, regardless of direction.
3906 Selection.focusNode API, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.focusNode read-only property returns the 节点 in which the selection ends.
3907 Selection.focusOffset API, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.focusOffset read-only property returns the number of characters that the selection's focus is offset within the Selection.focusNode .
3908 Selection.getRangeAt() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.getRangeAt() method returns a range object representing one of the ranges currently selected.
3909 Selection.isCollapsed API, DOM, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.isCollapsed 只读特性返回 布尔 which indicates whether or not there is currently any text selected. No text is selected when the selection's start and end points are at the same position in the content.
3910 Selection.modify() API, API:Mozilla Extensions, API:WebKit Extensions, HTML Editing, Method, Non-standard, Reference, Selection
Selection.modify() method applies a change to the current selection or cursor position, using simple textual commands.
3911 Selection.rangeCount API, Experimental, HTML Editing, Property, Read-only, Reference, Selection
Selection.rangeCount read-only property returns the number of ranges in the selection.
3912 Selection.removeAllRanges() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.removeAllRanges() method removes all ranges from the selection, leaving the anchorNode and focusNode properties equal to null and leaving nothing selected.
3913 Selection.removeRange() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.removeRange() method removes a range from a selection.
3914 Selection.selectAllChildren() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.selectAllChildren() method adds all the children of the specified node to the selection. Previous selection is lost.
3915 Selection.selectionLanguageChange()
Selection.selectionLanguageChange() method is a Gecko/Firefox internal method that was exposed to web pages until Firefox 29. It was removed in bug 949445 and should not be used.
3916 Selection.setBaseAndExtent() API, Experimental, Method, Reference, Selection, setBaseAndExtent
setBaseAndExtent() 方法在 Selection interface sets the selection to be a range including all or parts of two specified DOM nodes, and any content located between them.
3917 Selection.toString() API, Experimental, HTML Editing, Method, Reference, Selection
Selection.toString() method returns a string currently being represented by the selection object, i.e. the currently selected text.
3918 Selection.type API, Experimental, Property, Reference, Selection, Type
type 只读特性在 Selection interface returns a DOMString describing the type of the current selection.
3919 选定 API API, Junk, Landing, Reference, Selection, Selection API, Text
To retrieve the current text range the user has selected, you can use the Window.getSelection() or Document.getSelection() method, storing the return value — a Selection object — in a variable for futher use.
3920 传感器 API, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, Sensors
传感器 接口的 Sensor APIs is the base class for all the other sensor interfaces. This interface cannot be used directly. Instead it provides properties, event handlers, and methods accessed by interfaces that inherit from it.
3921 Sensor.activated API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activated
activated 只读特性在 传感器 interface returns a 布尔 indicating whether the sensor is active.
3922 Sensor.hasReading API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, hasReading
hasReading 只读特性在 传感器 interface returns a 布尔 indicating whether the sensor has a reading.
3923 Sensor.onactivate API, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, activate, onactivate
onactivate EventHandler is called when one of the Sensor interface's child interfaces becomes active.
3924 Sensor.onerror API, Error, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onerror
onerror EventHandler is called when an error occurs on one of the child interfaces of the 传感器 接口。
3925 Sensor.onreading API, EventHandler, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, onreading, reading
onreading EventHandler is called when a reading is taken on one of the child interfaces of the 传感器 接口。
3926 Sensor.start() API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, start()
start method activates one of the sensors based on 传感器 .
3927 Sensor.stop() API, Generic Sensor API, Method, Reference, Sensor, Sensor APIs, Sensors, stop()
stop 方法在 传感器 interface deactivates the current sensor.
3928 Sensor.timestamp API, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, timeStamp
timestamp 只读特性在 传感器 interface returns the time stamp of the latest sensor reading.
3929 Sensor APIs API, Generic Sensor API, Overview, Reference, Sensor, Sensor APIs, Sensors
Although the Generic Sensor API specification defines a 传感器 interface, as a web developer you will never use it. Instead you'll use one of its subclasses to retrieve specific kinds of sensor data. For example, the accelerometer interface returns the acceleration of the device along all three axes at the time it is read.
3930 SensorErrorEvent API, Error, Generic Sensor API, Interface, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
SensorErrorEvent 接口在 Sensor APIs provides information about errors thrown by a 传感器 or related interface.
3931 SensorErrorEvent.SensorErrorEvent() API, Constructor, Error, Generic Sensor API, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
SensorErrorEvent 构造函数创建新 SensorErrorEvent object which provides information about errors thrown by any of the interfaces based on 传感器 .
3932 SensorErrorEvent.error API, Error, Generic Sensor API, Property, Reference, Sensor, Sensor APIs, SensorErrorEvent, Sensors
error 只读特性在 SensorErrorEvent interface returns the DOMException object passed in the event's contructor.
3933 服务器发送事件 API, Overview, SSE, Server-sent events
Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page. These incoming messages can be treated as 事件 + data inside the web page.
3934 使用服务器发送事件 Advanced, Communication, DOM, Guide, SSE, Server Sent Events, Server-sent events, messaging
The server-sent event API is contained in the EventSource interface; to open a connection to the server to begin receiving events from it, create a new EventSource object with the URL of a script that generates the events. For example:
3935 服务工作者 API API, Landing, Offline, Overview, Reference, Service Workers, Workers
Service workers essentially act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network requests and take appropriate action based on whether the network is available, and update assets residing on the server. They will also allow access to push notifications and background sync APIs.
3936 使用服务工作者 Guide, Service, ServiceWorker, Workers, basics
One overriding problem that web users have suffered with for years is loss of connectivity. The best web app in the world will provide a terrible user experience if you can’t download it. There have been various attempts to create technologies to solve this problem, as our Offline page shows, and some of the issues have been solved. But the overriding problem is that there still isn’t a good overall control mechanism for asset caching and custom network requests.

The previous attempt — AppCache — seemed to be a good idea because it allowed you to specify assets to cache really easily. However, it made many assumptions about what you were trying to do and then broke horribly when your app didn’t follow those assumptions exactly. Read Jake Archibald's (unfortunately-titled but well-written) Application Cache is a Douchebag 了解更多细节。
3937 ServiceWorker API, Draft, Interface, Offline, Service Workers, ServiceWorker, Workers
ServiceWorker 接口在 ServiceWorker API provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker 对象。
3938 ServiceWorker.onstatechange API, Property, Reference, Référence(2), Service Workers, ServiceWorker, onstatechange
An EventListener property called whenever an event of type statechange is fired; it is basically fired anytime the ServiceWorker.state 改变。
3939 ServiceWorker.scriptURL API, Property, Reference, Service Workers, ServiceWorker, scriptURL
返回 ServiceWorker serialized script URL defined as part of ServiceWorkerRegistration . Must be on the same origin as the document that registers the ServiceWorker .
3940 ServiceWorker.state API, Property, Reference, Service Workers, ServiceWorker, state
state 只读特性在 ServiceWorker interface returns a string representing the current state of the service worker. It can be one of the following values: installing , installed, activating , activated ,或 redundant .
3941 ServiceWorkerContainer API, Draft, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerContainer, Workers
ServiceWorkerContainer 接口在 ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.
3942 ServiceWorkerContainer.controller API, Controller, Property, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerController
controller 只读特性在 ServiceWorkerContainer interface returns a ServiceWorker object if its state is activated (the same object returned by ServiceWorkerRegistration.active ). This property returns null if the request is a force refresh ( Shift + refresh) or if there is no active worker.
3943 ServiceWorkerContainer.getRegistration() API, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
getRegistration() 方法在 ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided document URL.  The method returns a Promise 解析为 ServiceWorkerRegistration or undefined .
3944 ServiceWorkerContainer.getRegistrations() API, Experimental, Method, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
getRegistrations() 方法在 ServiceWorkerContainer interface returns all ServiceWorkerRegistration s associated with a ServiceWorkerContainer in an array. If the method can't return ServiceWorkerRegistration s, it returns a Promise .
3945 ServiceWorkerContainer.oncontrollerchange API, Experimental, Interface, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onchange
oncontrollerchange 特性为 ServiceWorkerContainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker.
3946 ServiceWorkerContainer.onerror API, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer, onerror
onerror 特性为 ServiceWorkerContainer interface is an event handler fired whenever an error event occurs in the associated service workers.
3947 ServiceWorkerContainer.onmessage API, Experimental, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerContainer
onmessage 特性为 ServiceWorkerContainer interface is an event handler fired whenever a message event occurs — when incoming messages are received to the ServiceWorkerContainer object (e.g., via a MessagePort.postMessage() call).
3948 ServiceWorkerContainer.ready API, Property, Reference, Service worker API, ServiceWorker, ServiceWorkerContainer
ready 只读特性在 ServiceWorkerContainer interface provides a way of delaying code execution until a service worker is active . It returns a Promise that will never reject, and which waits indefinitely until the ServiceWorkerRegistration associated with the current page has an active worker. Once that condition is met, it resolves with the ServiceWorkerRegistration .
3949 ServiceWorkerContainer.register() API, Method, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerContainer, register
register() 方法在 ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration 为给定 scriptURL .
3950 ServiceWorkerContainer.startMessages() API, Experimental, Reference, Service Workers, ServiceWorkerContainer, startMessages
startMessages() 方法在 ServiceWorkerContainer interface explicitly starts the flow of messages being dispatched from a service worker to pages under its control (e.g. sent via Client.postMessage() ). This can be used to react to sent messages earlier, even before that page's content has finished loading.
3951 ServiceWorkerContainer: message event API, Event, Reference, Service Workers
message event is used in a page controlled by a service worker to receive messages from the service worker.
3952 ServiceWorkerGlobalScope API, Draft, Interface, Offline, Reference, Service Workers, ServiceWorkerGlobalScope, Workers
ServiceWorkerGlobalScope 接口在 ServiceWorker API represents the global execution context of a service worker.
3953 ServiceWorkerGlobalScope.caches API, Property, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope
ServiceWorkerGlobalScope.caches read-only property returns the CacheStorage object associated with the service worker.
3954 ServiceWorkerGlobalScope.clients API, Clients, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope
clients 只读特性在 ServiceWorkerGlobalScope interface returns the Clients object associated with the service worker.
3955 ServiceWorkerGlobalScope.onactivate API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onactivate
onactivate 特性为 ServiceWorkerGlobalScope interface is an event handler fired whenever an activate event occurs (when the service worker activates). This happens after installation, when the page to be controlled by the service worker refreshes.
3956 ServiceWorkerGlobalScope.onfetch API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onfetch
onfetch 特性为 ServiceWorkerGlobalScope interface is an event handler fired whenever a fetch event occurs (usually when the ServiceWorkerGlobalScope.fetch method is called.)
3957 ServiceWorkerGlobalScope.oninstall API, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope, oninstall
oninstall 特性为 ServiceWorkerGlobalScope interface is an event handler fired whenever an 安装 event occurs (when the service worker installs). This happens before activation.
3958 ServiceWorkerGlobalScope.onmessage API, Property, Reference, Service, ServiceWorker, ServiceWorkerGlobalScope, Workers, onmessage
ServiceWorkerGlobalScope.onmessage event of the ServiceWorkerGlobalScope interface is called whenever incoming messages are received.
3959 ServiceWorkerGlobalScope.onnotificationclick API, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclick
ServiceWorkerGlobalScope.onnotificationclick property is an event handler called whenever the notificationclick event is dispatched on the ServiceWorkerGlobalScope object, that is when a user clicks on a displayed notification spawned by ServiceWorkerRegistration.showNotification() .
3960 ServiceWorkerGlobalScope.onpush API, Property, Push, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope, onpush
ServiceWorkerGlobalScope.onpush event of the ServiceWorkerGlobalScope interface is fired whenever a push message is received by a service worker via a push server.
3961 ServiceWorkerGlobalScope.onpushsubscriptionchange API, NeedsExample, Property, Push, Reference, Service Workers, ServiceWorkerGlobalScope, onpushsubscriptionchange
ServiceWorkerGlobalScope.onpushsubscriptionchange event of the ServiceWorkerGlobalScope interface is fired to indicate a change in push subscription that was triggered outside the application's control, e.g. when browser refresh the push subscription.
3962 ServiceWorkerGlobalScope.onsync
ServiceWorkerGlobalScope.onsync event of the ServiceWorkerGlobalScope interface is fired whenever a SyncEvent event occurs. This is triggered when a call to SyncManager.register is made from a service worker client page. The attempt to sync is made either immediately if the network is available or as soon as the network becomes available.
3963 ServiceWorkerGlobalScope.registration API, Property, Reference, Référence(2), Service Workers, ServiceWorker, ServiceWorkerGlobalScope, registration
registration 只读特性在 ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker's registration.
3964 ServiceWorkerGlobalScope.skipWaiting() API, Method, Reference, Service Workers, Service worker API, ServiceWorker, skipWaiting
ServiceWorkerGlobalScope.skipWaiting() 方法在 ServiceWorkerGlobalScope forces the waiting service worker to become the active service worker.
3965 ServiceWorkerGlobalScope: activate event API, Reference, Service Workers, ServiceWorkerGlobalScope, activate, events
activate event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker.
3966 ServiceWorkerGlobalScope: install event API, Reference, Service Worker, ServiceWorkerGlobalScope, events, install
安装 event of the ServiceWorkerGlobalScope interface is fired when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.installing worker.
3967 ServiceWorkerGlobalScope: message event Event, Reference, Service worker API
In thie example a page gets a handle to the ServiceWorker object via ServiceWorkerRegistration.active , and then calls its postMessage 函数。
3968 ServiceWorkerGlobalScope: notificationclick event Notifications, Service Worker, events, notificationclick
notificationclick event is fired to indicate that a system notification spawned by ServiceWorkerRegistration.showNotification() has been clicked.
3969 ServiceWorkerGlobalScope: push event API, Notifications, Push, Push API, PushEvent, Reference, Service Workers, ServiceWorker, ServiceWorkerGlobalScope, events, messaging
push event is sent to a service worker's global scope (represented by the ServiceWorkerGlobalScope interface) when the service worker has received a push message.
3970 ServiceWorkerGlobalScope: pushsubscriptionchange event API, Push, Push API, PushSubscriptionChangeEvent, Reference, Service Workers, Service Workers API, ServiceWorker, ServiceWorkerGlobalScope, Subscription, events
pushsubscriptionchange event is sent to the global scope ServiceWorker to indicate a change in push subscription that was triggered outside the application's control.
3971 onnotificationclose API, Experimental, Interface, Property, Reference, ServiceWorkerGlobalScope, onnotificationclose
ServiceWorkerGlobalScope.onnotificationclose property is an event handler called whenever the notificationclose event is dispatched on the ServiceWorkerGlobalScope object, that is when a user closes a displayed notification spawned by ServiceWorkerRegistration.showNotification() .
3972 ServiceWorkerMessageEvent API, Deprecated, Experimental, Interface, Offline, Référence(2), Service Workers, ServiceWorkerMessageEvent, Workers
ServiceWorkerMessageEvent 接口在 ServiceWorker API contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker.
3973 ServiceWorkerMessageEvent.ServiceWorkerMessageEvent() API, Constructor, Deprecated, Experimental, Reference, Service Workers, ServiceWorkerMessageEvent
ServiceWorkerMessageEvent() 构造函数创建新 ServiceWorkerMessageEvent 对象实例。
3974 ServiceWorkerMessageEvent.data API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, data
data 只读特性在 ServiceWorkerMessageEvent interface returns the event's data. It can be any data type.
3975 ServiceWorkerMessageEvent.lastEventId API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, lastEventID
lastEventID 只读特性在 ServiceWorkerMessageEvent interface represents, in 服务器发送事件 , the last event ID of the event source.
3976 ServiceWorkerMessageEvent.origin API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, origin
origin 只读特性在 ServiceWorkerMessageEvent interface returns the origin of the service worker's environment settings object.
3977 ServiceWorkerMessageEvent.ports API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, ports
ports 只读特性在 ServiceWorkerMessageEvent interface returns an array of MessagePort objects connected with the message channel the message is being sent through.
3978 ServiceWorkerMessageEvent.source API, Deprecated, Experimental, Property, Reference, Service Workers, ServiceWorkerMessageEvent, source
source 只读特性在 ServiceWorkerMessageEvent returns a reference to the ServiceWorker object of the associated service worker that sent the message.
3979 ServiceWorkerRegistration API, Interface, Offline, Reference, Service Workers, Service worker API, ServiceWorkerRegistration, Workers
ServiceWorkerRegistration 接口在 ServiceWorker API represents the service worker registration. You register a service worker to control one or more pages that share the same origin.
3980 ServiceWorkerRegistration.active API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, active
active 特性为 ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is activating or activated . This property is initially set to null .
3981 ServiceWorkerRegistration.getNotifications() API, Experimental, Method, Notifications, Reference, Service Workers, Service worker API, ServiceWorker, ServiceWorkerRegistration, getNotifications
getNotifications() 方法在 ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration. Origins can have many active but differently-scoped service worker registrations. Notifications created by one service worker on the same origin will not be available to other active services workers on that same origin.
3982 ServiceWorkerRegistration.installing API, Installing, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration
installing 特性为 ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installing . This property is initially set to null .
3983 ServiceWorkerRegistration.navigationPreload API, NavigationPreloadManager, Offline, Property, Service Workers, ServiceWorkerRegistration, Workers
navigationPreload 只读特性在 ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.
3984 ServiceWorkerRegistration.onupdatefound API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, onupdatefound
onupdatefound 特性为 ServiceWorkerRegistration interface is an EventListener property called whenever an event of type statechange is fired; it is fired any time the ServiceWorkerRegistration.installing property acquires a new service worker.
3985 ServiceWorkerRegistration.periodicSync API, Experimental, PeriodicSyncManager, Property, Reference, Service Workers, ServiceWorkerRegistration, periodicSync
periodicSync 只读特性在 ServiceWorkerRegistration interface returns a reference to the PeriodicSyncManager interface, which manages periodic background synchronization processes.
3986 ServiceWorkerRegistration.pushManager API, Property, Push, PushManager, Reference, Service Workers, ServiceWorkerRegistration
pushManager 特性为 ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
3987 ServiceWorkerRegistration.scope API, Property, Reference, Service Workers, ServiceWorkerRegistration, scope
scope 只读特性在 ServiceWorkerRegistration interface returns a unique identifier for a service worker registration. The service worker must be on the same origin as the document that registers the ServiceWorker .
3988 ServiceWorkerRegistration.showNotification() API, Experimental, Method, NeedsExample, Reference, Service Workers, ServiceWorker, ServiceWorkerRegistration, showNotification
showNotification() 方法在 ServiceWorkerRegistration interface creates a notification on an active service worker.
3989 ServiceWorkerRegistration.sync API, Experimental, Property, Reference, Service Workers, ServiceWorkerRegistration, Sync
sync 特性为 ServiceWorkerRegistration interface returns a reference to the SyncManager interface, which manages background synchronization processes.
3990 ServiceWorkerRegistration.unregister() API, Method, Reference, Service Workers, ServiceWorkerRegistration, unregister
unregister 方法在 ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise . The promise will resolve to false if no registration was found, otherwise it resolves to true irrespective of whether unregistration happened or not (it may not unregister if someone else just called ServiceWorkerContainer.register with the same scope.) The service worker will finish any ongoing operations before it is unregistered.
3991 ServiceWorkerRegistration.update() API, Method, Reference, Service Workers, ServiceWorkerRegistration, Update
update 方法在 ServiceWorkerRegistration interface attempts to update the service worker. It fetches the worker's script URL, and if the new worker is not byte-by-byte identical to the current worker, it installs the new worker. The fetch of the worker bypasses any browser caches if the previous fetch occurred over 24 hours ago.
3992 ServiceWorkerRegistration.waiting API, Property, Reference, Référence(2), Service Workers, ServiceWorkerRegistration, waiting
waiting 特性为 ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installed . This property is initially set to null .
3993 ServiceWorkerState API, Interface, Reference, Service Workers, ServiceWorkerState
ServiceWorkerState is associated with its ServiceWorker 的状态。
3994 ShadowRoot API, Interface, Reference, ShadowRoot, Web Components, shadow dom
ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree.
3995 ShadowRoot.delegatesFocus API, Non-standard, Property, Reference, ShadowRoot, Web Components, delegatesFocus, shadow dom
delegatesFocus 只读特性在 ShadowRoot interface returns a boolean that indicates whether delegatesFocus was set when the shadow was attached (see Element.attachShadow() ).
3996 ShadowRoot.host API, Host, Property, Reference, ShadowRoot, shadow dom
host 只读特性在 ShadowRoot returns a reference to the DOM element the ShadowRoot is attached to.
3997 ShadowRoot.innerHTML API, Property, Reference, ShadowRoot, innerHTML, shadow dom
innerHTML 特性为 ShadowRoot interface sets or returns a reference to the DOM tree inside the ShadowRoot .
3998 ShadowRoot.mode API, Property, Reference, ShadowRoot, mode, shadow dom
mode 特性为 ShadowRoot specifies its mode — either open or closed . This defines whether or not the shadow root's internal features are accessible from JavaScript.
3999 SharedWorker API, Interface, Reference, SharedWorker, Web Workers, Workers
SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope .
4000 SharedWorker() API, Constructor, Reference, SharedWorker, Web Workers
SharedWorker() constructor creates a SharedWorker object that executes the script at the specified URL. This script must obey the same-origin policy .
4001 SharedWorker.port API, Property, Reference, SharedWorker, Web Workers, port
port 特性为 SharedWorker interface returns a MessagePort object used to communicate and control the shared worker.
4002 SharedWorkerGlobalScope API, Interface, Reference, SharedWorkerGlobalScope, Web Workers
SharedWorkerGlobalScope object (the SharedWorker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript 参考 . See the complete list of functions available to workers .
4003 SharedWorkerGlobalScope.applicationCache API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, applicationCache
applicationCache 只读特性在 SharedWorkerGlobalScope interface returns the ApplicationCache object for the worker (see Using the application cache ).
4004 SharedWorkerGlobalScope.close() API, DOM, Method, Reference, SharedWorkerGlobalScope, Web Workers, close
close() 方法在 SharedWorkerGlobalScope interface discards any tasks queued in the SharedWorkerGlobalScope 's event loop, effectively closing this particular scope.
4005 SharedWorkerGlobalScope.name API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, name
名称 只读特性在 SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created. This is the name that the SharedWorker() constructor can pass to get a reference to the SharedWorkerGlobalScope .
4006 SharedWorkerGlobalScope.onconnect API, Property, Reference, Référence(2), SharedWorkerGlobalScope, Web Workers, onconnect
onconnect 特性为 SharedWorkerGlobalScope interface is an event handler representing the code to be called when the connect event is raised — that is, when a MessagePort connection is opened between the associated SharedWorker and the main thread.
4007 SharedWorkerGlobalScope: connect event API, Event, Reference, SharedWorkerGlobalScope, connect, events
connect event is fired in shared workers at their SharedWorkerGlobalScope when a new client connects.
4008 Slotable API, Interface, Reference, Slotable, Web Components, shadow dom
Slotable 混合定义特征允许节点变为内容在 <slot> 元素 — 以下特征包括于 元素 and 文本 .
4009 Slotable.assignedSlot API, Property, Reference, Slotable, Web Components, assignedSlot, shadow dom
assignedSlot 只读特性在 Slotable interface returns an HTMLSlotElement 表示 <slot> element the node is inserted in.
4010 SourceBuffer API, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBuffer, Video
SourceBuffer interface represents a chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments.
4011 SourceBuffer.abort() API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, abort
abort() 方法在 SourceBuffer interface aborts the current segment and resets the segment parser.
4012 SourceBuffer.appendBuffer() API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendBuffer
appendBuffer() 方法在 SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView 对象到 SourceBuffer .
4013 SourceBuffer.appendBufferAsync() API, Audio, Experimental, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, appendBufferAsync
SourceBuffer 方法 appendBufferAsync() begins the process of asynchronously appending media segment data from an ArrayBuffer or ArrayBufferView 对象到 SourceBuffer .
4014 SourceBuffer.appendStream() API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, appendstream
appendStream() 方法在 SourceBuffer interface appends media segment data from a ReadableStream 对象到 SourceBuffer .
4015 SourceBuffer.appendWindowEnd API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowEnd
appendWindowEnd 特性为 SourceBuffer interface controls the timestamp for the end of the append window , a timestamp range that can be used to filter what media data is appended to the SourceBuffer . Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
4016 SourceBuffer.appendWindowStart API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, appendWindowStart
appendWindowStart 特性为 SourceBuffer interface controls the timestamp for the start of the append window , a timestamp range that can be used to filter what media data is appended to the SourceBuffer . Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
4017 SourceBuffer.audioTracks API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, audiotracks
audioTracks 只读特性在 SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer .
4018 SourceBuffer.buffered API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, buffered
buffered 只读特性在 SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer as a normalized TimeRanges 对象。
4019 SourceBuffer.changeType() API, Audio, MSE, Media, Media Source, Media Source Extensions, Method, SourceBuffer, Video, changeType
SourceBuffer 方法 changeType() sets the MIME type that future calls to appendBuffer() should expect the new media data to conform to.
4020 SourceBuffer.mode API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, mode
mode 特性为 SourceBuffer interface controls whether media segments can be appended to the SourceBuffer in any order, or in a strict sequence.
4021 SourceBuffer.remove() API, Audio, Experimental, MSE, Media Source Extensions, Method, Reference, SourceBuffer, Video, remove
remove() 方法在 SourceBuffer interface removes media segments within a specific time range from the SourceBuffer . This method can only be called when SourceBuffer.updating 等于 false 。若 SourceBuffer.updating 不等于 false ,调用 SourceBuffer.abort() .
4022 SourceBuffer.removeAsync() API, Audio, MSE, Media, Media Source Extensions, Method, Non-standard, Reference, SourceBuffer, Video, removeAsync
removeAsync() 方法在 SourceBuffer interface starts the process of asynchronously removing from the SourceBuffer media segments found within a specific time range.
4023 SourceBuffer.textTracks API, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, textTracks
textTracks 只读特性在 SourceBuffer interface returns a list of the text tracks currently contained inside the SourceBuffer .
4024 SourceBuffer.timestampOffset API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, timestampOffset
timestampOffset 特性为 SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the SourceBuffer .
4025 SourceBuffer.trackDefaults API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, trackDefaults
trackDefaults 特性为 SourceBuffer interface specifies the default values to use if kind, label, and/or language information is not available in the initialization segment of the media to be appended to the SourceBuffer .
4026 SourceBuffer.updating API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Updating, Video
updating 只读特性在 SourceBuffer interface indicates whether the SourceBuffer is currently being updated — i.e. whether an SourceBuffer.appendBuffer() , SourceBuffer.appendStream() ,或 SourceBuffer.remove() operation is currently in progress.
4027 SourceBuffer.videoTracks API, Experimental, MSE, Media Source Extensions, Property, Reference, SourceBuffer, Video, videoTracks
videoTracks 只读特性在 SourceBuffer interface returns a list of the video tracks currently contained inside the SourceBuffer .
4028 SourceBufferList API, Audio, Experimental, Interface, MSE, Media Source Extensions, Reference, SourceBufferList, Video
SourceBufferList interface represents a simple container list for multiple SourceBuffer 对象。
4029 SourceBufferList.SourceBuffer() API, Audio, Experimental, Getter, MSE, Media Source Extensions, Method, Reference, SourceBuffer, SourceBufferList, Video
SourceBuffer() getter method of the SourceBufferList interface allows the SourceBuffer objects in the list to be accessed with an array operator (i.e. [] )。
4030 SourceBufferList.length API, Audio, MSE, Media Source Extensions, Property, Reference, SourceBufferList, Video, length
length 只读特性在 SourceBufferList interface returns the number of SourceBuffer objects in the list.
4031 SpeechGrammar API, Experimental, Interface, Reference, SpeechGrammar, Web Speech API, recognition, speech
SpeechGrammar 接口在 Web 语音 API represents a set of words or patterns of words that we want the recognition service to recognize.
4032 SpeechGrammar.SpeechGrammar() API, Constructor, Experimental, Reference, SpeechGrammar, Web, Web Speech API, speech
SpeechGrammar constructor of the SpeechGrammar interface creates a new SpeechGrammar 对象实例。
4033 SpeechGrammar.src API, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, src
src 特性为 SpeechGrammar interface sets and returns a string containing the grammar from within in the SpeechGrammar 对象。
4034 SpeechGrammar.weight API, Experimental, Property, Reference, SpeechGrammar, Web Speech API, recognition, speech, weight
可选 weight 特性为 SpeechGrammar interface sets and returns the weight of the SpeechGrammar 对象。
4035 SpeechGrammarList API, Experimental, Interface, Reference, SpeechGrammarList, Web Speech API, recognition, speech
SpeechGrammarList 接口在 Web 语音 API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize.
4036 SpeechGrammarList.SpeechGrammarList() API, Constructor, Experimental, Reference, SpeechGrammarList, Web Speech API, recognition, speech
SpeechGrammarList() 构造函数创建新 SpeechGrammarList 对象实例。
4037 SpeechGrammarList.addFromString() API, Experimental, Method, Reference, SpeechGrammarList, Web Speech, addFromString, recognition, speech
addFromString() 方法在 SpeechGrammarList interface takes a grammar present in a specific DOMString within the code base (e.g. stored in a variable) and adds it to the SpeechGrammarList as a new SpeechGrammar 对象。
4038 SpeechGrammarList.addFromURI() API, Experimental, Method, Reference, SpeechGrammarList, Web Speech API, addFromURI, recognition, speech
addFromURI() 方法在 SpeechGrammarList interface takes a grammar present at a specific URI and adds it to the SpeechGrammarList as a new SpeechGrammar 对象。
4039 SpeechGrammarList.item() API, Experimental, Getter, Method, Reference, SpeechGrammarList, Web Speech API, item, recognition, speech
item getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax.
4040 SpeechGrammarList.length API, Experimental, Property, Reference, SpeechGrammarList, Web Speech API, length, recognition, speech
length 只读特性在 SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList .
4041 SpeechRecognition API, Experimental, Interface, Reference, SpeechRecognition, Web Speech API, recognition, speech
SpeechRecognition 接口在 Web 语音 API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service.
4042 SpeechRecognition() API, Constructor, Experimental, Reference, SpeechRecognition, Web Speech API, recognition, speech
SpeechRecognition() 构造函数创建新 SpeechRecognition 对象实例。
4043 SpeechRecognition.abort() API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, abort, recognition, speech
abort() 方法在 Web 语音 API stops the speech recognition service from listening to incoming audio, and doesn't attempt to return a SpeechRecognitionResult .
4044 SpeechRecognition.continuous API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, continuous, recognition, speech
continuous 特性为 SpeechRecognition interface controls whether continuous results are returned for each recognition, or only a single result.
4045 SpeechRecognition.grammars API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, grammars, recognition, speech
grammars 特性为 SpeechRecognition interface returns and sets a collection of SpeechGrammar objects that represent the grammars that will be understood by the current SpeechRecognition .
4046 SpeechRecognition.interimResults API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, speech
interimResults 特性为 SpeechRecognition interface controls whether interim results should be returned ( true ) 或不 ( false .) Interim results are results that are not yet final (e.g. the SpeechRecognitionResult.isFinal 特性为 false )。
4047 SpeechRecognition.lang API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, lang, recognition, speech
lang 特性为 SpeechRecognition interface returns and sets the language of the current SpeechRecognition . If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either.
4048 SpeechRecognition.maxAlternatives API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, maxAlternatives, recognition, speech
maxAlternatives 特性为 SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternative s provided per SpeechRecognitionResult .
4049 SpeechRecognition.onaudioend API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudioend, recognition, speech
onaudioend 特性为 SpeechRecognition interface represents an event handler that will run when the user agent has finished capturing audio (when the audioend event fires.)
4050 SpeechRecognition.onaudiostart API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onaudiostart, recognition, speech
onaudiostart 特性为 SpeechRecognition interface represents an event handler that will run when the user agent has started to capture audio (when the audiostart event fires.)
4051 SpeechRecognition.onend API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onend, recognition, speech
onend 特性为 SpeechRecognition interface represents an event handler that will run when the speech recognition service has disconnected (when the end event fires.)
4052 SpeechRecognition.onerror API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onerror, recognition, speech
onerror 特性为 SpeechRecognition interface represents an event handler that will run when a speech recognition error occurs (when the error event fires.)
4053 SpeechRecognition.onnomatch API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onnomatch, recognition, speech
onnomatch 特性为 SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a final result with no significant recognition (when the nomatch event fires.)
4054 SpeechRecognition.onresult API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onresult, recognition, speech
onresult 特性为 SpeechRecognition interface represents an event handler that will run when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app (when the result event fires.)
4055 SpeechRecognition.onsoundend API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundend, recognition, speech
onsoundend 特性为 SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has stopped being detected (when the soundend event fires.)
4056 SpeechRecognition.onsoundstart API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onsoundstart, recognition, speech
onsoundstart 特性为 SpeechRecognition interface represents an event handler that will run when any sound — recognisable speech or not — has been detected (when the soundstart event fires.)
4057 SpeechRecognition.onspeechend API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechend, recognition, speech
onspeechend 特性为 SpeechRecognition interface represents an event handler that will run when speech recognised by the speech recognition service has stopped being detected (when the speechend event fires.)
4058 SpeechRecognition.onspeechstart API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onspeechstart, recognition, speech
onspeechstart 特性为 SpeechRecognition interface represents an event handler that will run when sound recognised by the speech recognition service as speech has been detected (when the speechstart event fires.)
4059 SpeechRecognition.onstart API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, onstart, recognition, speech
onstart 特性为 SpeechRecognition interface represents an event handler that will run when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition (when the start event fires.)
4060 SpeechRecognition.serviceURI API, Experimental, Property, Reference, SpeechRecognition, Web Speech API, recognition, serviceURI, speech
serviceURI 特性为 SpeechRecognition interface specifies the location of the speech recognition service used by the current SpeechRecognition to handle the actual recognition. The default is the user agent's default speech service.
4061 SpeechRecognition.start() API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, start
start() 方法在 Web 语音 API starts the speech recognition service listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition .
4062 SpeechRecognition.stop() API, Experimental, Method, Reference, SpeechRecognition, Web Speech API, recognition, speech, stop
stop() 方法在 Web 语音 API stops the speech recognition service from listening to incoming audio, and attempts to return a SpeechRecognitionResult using the audio captured so far.
4063 SpeechRecognition: audioend event Event, Reference, Web Speech API
可以使用 audioend event in an addEventListener 方法:
4064 SpeechRecognition: audiostart event Event, Reference, SpeechRecognition, Web Speech API, audiostart, onaudiostart
可以使用 audiostart event in an onaudiostart 方法:
4065 SpeechRecognition: end event Event, Reference, Web Speech API
可以使用 end event in an addEventListener 方法:
4066 SpeechRecognition: error event Event, Reference, Web Speech API
可以使用 error event in an addEventListener 方法:
4067 SpeechRecognition: nomatch event Event, Reference, Web Speech API
nomatch event of the Web 语音 API is fired when the speech recognition service returns a final result with no significant recognition.
4068 SpeechRecognition: result event Event, Reference, Web Speech API
result event of the Web 语音 API is fired when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app
4069 SpeechRecognition: soundend event Event, Reference, Web Speech API
可以使用 soundend event in an addEventListener 方法:
4070 SpeechRecognition: soundstart event Event, Reference, Web Speech API
soundstart event of the Web 语音 API is fired when any sound — recognisable speech or not — has been detected.
4071 SpeechRecognition: speechend event Event, Reference, Web Speech API
speechend event of the Web 语音 API is fired when speech recognized by the speech recognition service has stopped being detected.
4072 SpeechRecognition: speechstart event Event, Reference, Web Speech API
可以使用 speechstart event in an addEventListener 方法:
4073 SpeechRecognition: start event Event, Reference, Web Speech API
start event of the Web 语音 API SpeechRecognition object is fired when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition .
4074 SpeechRecognitionAlternative API, Experimental, Interface, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech
SpeechRecognitionAlternative 接口在 Web 语音 API represents a single word that has been recognised by the speech recognition service.
4075 SpeechRecognitionAlternative.confidence API, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, confidence, recognition, speech
confidence 只读特性在 SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.
4076 SpeechRecognitionAlternative.transcript API, Experimental, Property, Reference, SpeechRecognitionAlternative, Web Speech API, recognition, speech, transcript
transcript 只读特性在 SpeechRecognitionResult interface returns a string containing the transcript of the recognised word(s).
4077 SpeechRecognitionError API, Experimental, Interface, Reference, SpeechRecognitionError, Web Speech API, recognition, speech
SpeechRecognitionError 接口在 Web 语音 API represents error messages from the recognition service.
4078 SpeechRecognitionError.error API, Error, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, recognition, speech
error 只读特性在 SpeechRecognitionError interface returns the type of error raised.
4079 SpeechRecognitionError.message API, Experimental, Property, Reference, SpeechRecognitionError, Web Speech API, message, recognition, speech
message 只读特性在 SpeechRecognitionError interface returns a message describing the error in more detail.
4080 SpeechRecognitionEvent API, Experimental, Interface, Reference, SpeechRecognitionEvent, Web Speech API, recognition, speech
SpeechRecognitionEvent 接口在 Web 语音 API represents the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.
4081 SpeechRecognitionEvent.emma API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, emma, recognition, speech
emma 只读特性在 SpeechRecognitionEvent interface returns an E xtensible MultiModal Annotation markup language (EMMA) — XML — representation of the result.
4082 SpeechRecognitionEvent.interpretation API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, interpretation, recognition, speech
interpretation 只读特性在 SpeechRecognitionEvent interface returns the semantic meaning of what the user said.
4083 SpeechRecognitionEvent.resultIndex API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, resultIndex, speech
resultIndex 只读特性在 SpeechRecognitionEvent interface returns the lowest index value result in the SpeechRecognitionResultList "array" that has actually changed.
4084 SpeechRecognitionEvent.results API, Experimental, Property, Reference, SpeechRecognitionEvent, Web Speech API, recognition, results, speech
结果 只读特性在 SpeechRecognitionEvent interface returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session.
4085 SpeechRecognitionResult API, Experimental, Interface, Reference, SpeechRecognitionResult, Web Speech API, recognition, speech
SpeechRecognitionResult 接口在 Web 语音 API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative 对象。
4086 SpeechRecognitionResult.isFinal API, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, isFinal, recognition, speech
isFinal 只读特性在 SpeechRecognitionResult 接口是 布尔 that states whether this result is final ( true ) 或不 ( false ) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.
4087 SpeechRecognitionResult.item() API, Experimental, Getter, Method, Reference, SpeechRecognitionResult, Web Speech API, item, recognition, speech
item getter of the SpeechRecognitionResult interface is a standard getter that allows SpeechRecognitionAlternative objects within the result to be accessed via array syntax.
4088 SpeechRecognitionResult.length API, Experimental, Property, Reference, SpeechRecognitionResult, Web Speech API, length, recognition, speech
length 只读特性在 SpeechRecognitionResult interface returns the length of the "array" — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as "n-best alternatives".)
4089 SpeechRecognitionResultList API, Experimental, Interface, Reference, SpeechRecognitionResultList, Web Speech API, recognition, speech
SpeechRecognitionResultList 接口在 Web 语音 API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in continuous 模式。
4090 SpeechRecognitionResultList.item() API, Experimental, Getter, Method, Reference, SpeechRecognitionResultList, Web Speech API, item, recognition, speech
item getter of the SpeechRecognitionResultList interface is a standard getter — it allows SpeechRecognitionResult objects in the list to be accessed via array syntax.
4091 SpeechRecognitionResultList.length API, Experimental, Property, Reference, SpeechRecognitionResultList, Web Speech API, length, recognition, speech
length 只读特性在 SpeechRecognitionResultList interface returns the length of the "array" — the number of SpeechRecognitionResult objects in the list.
4092 SpeechSynthesis API, Experimental, Interface, Reference, SpeechSynthesis, Web Speech API, speech, synthesis
SpeechSynthesis 接口在 Web 语音 API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.
4093 SpeechSynthesis.cancel() API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, cancel, speech, synthesis
cancel() 方法在 SpeechSynthesis interface removes all utterances from the utterance queue.
4094 SpeechSynthesis.getVoices() API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, getVoices, speech, synthesis
getVoices() 方法在 SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device.
4095 SpeechSynthesis.onvoiceschanged API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, onvoiceschanged, speech, synthesis
onvoiceschanged 特性为 SpeechSynthesis interface represents an event handler that will run when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)
4096 SpeechSynthesis.pause() API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, pause, speech, synthesis
pause() 方法在 SpeechSynthesis interface puts the SpeechSynthesis object into a paused state.
4097 SpeechSynthesis.paused API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, paused, speech, synthesis
paused 只读特性在 SpeechSynthesis 接口是 布尔 that returns true SpeechSynthesis object is in a paused state, or false 若不。
4098 SpeechSynthesis.pending API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, pending, speech, synthesis
pending 只读特性在 SpeechSynthesis 接口是 布尔 that returns true if the utterance queue contains as-yet-unspoken utterances.
4099 SpeechSynthesis.resume() API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, resume, speech, synthesis
resume() 方法在 SpeechSynthesis interface puts the SpeechSynthesis object into a non-paused state: resumes it if it was already paused.
4100 SpeechSynthesis.speak() API, Experimental, Method, Reference, SpeechSynthesis, Web Speech API, speak, speech, synthesis
speak() 方法在 SpeechSynthesis interface adds an utterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.
4101 SpeechSynthesis.speaking API, Experimental, Property, Reference, SpeechSynthesis, Web Speech API, speaking, speech, synthesis
speaking 只读特性在 SpeechSynthesis 接口是 布尔 that returns true if an utterance is currently in the process of being spoken — even if SpeechSynthesis is in a paused 状态。
4102 SpeechSynthesis: voiceschanged event Event, Reference, Web Speech API
voiceschanged event of the Web 语音 API is fired when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)
4103 SpeechSynthesisErrorEvent API, Experimental, Interface, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis
SpeechSynthesisErrorEvent 接口在 Web 语音 API contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service.
4104 SpeechSynthesisErrorEvent.error API, Error, Experimental, Property, Reference, SpeechSynthesisErrorEvent, Web Speech API, speech, synthesis
error 特性为 SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt.
4105 SpeechSynthesisEvent API, Experimental, Interface, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis
SpeechSynthesisEvent 接口在 Web 语音 API contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.
4106 SpeechSynthesisEvent.charIndex API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, charIndex, speech, synthesis
charIndex 只读特性在 SpeechSynthesisUtterance interface returns the index position of the character in the SpeechSynthesisUtterance.text that was being spoken when the event was triggered.
4107 SpeechSynthesisEvent.elapsedTime API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, elapsedTime, speech, synthesis
elapsedTime 只读特性在 SpeechSynthesisUtterance interface returns the elapsed time in seconds after the SpeechSynthesisUtterance.text started being spoken that the event was triggered at.
4108 SpeechSynthesisEvent.name API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, name, speech, synthesis
名称 只读特性在 SpeechSynthesisUtterance interface returns the name associated with certain types of events occuring as the SpeechSynthesisUtterance.text is being spoken: the name of the SSML marker reached in the case of a mark event, or the type of boundary reached in the case of a boundary 事件。
4109 SpeechSynthesisEvent.utterance API, Experimental, Property, Reference, SpeechSynthesisEvent, Web Speech API, speech, synthesis, utterance
utterance 只读特性在 SpeechSynthesisUtterance interface returns the SpeechSynthesisUtterance instance that the event was triggered on.
4110 SpeechSynthesisUtterance API, Experimental, Interface, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis
SpeechSynthesisUtterance 接口在 Web 语音 API represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)
4111 SpeechSynthesisUtterance.SpeechSynthesisUtterance() API, Constructor, Reference, SpeechSynthesisUtterance, Web Speech API, speech, synthesis
SpeechSynthesisUtterance() constructor of the SpeechSynthesisUtterance interface returns a new SpeechSynthesisUtterance 对象实例。
4112 SpeechSynthesisUtterance.lang API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, lang, speech, synthesis
lang 特性为 SpeechSynthesisUtterance interface gets and sets the language of the utterance.
4113 SpeechSynthesisUtterance.onboundary API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onboundary, speech, synthesis
onboundary 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a word or sentence boundary (when the boundary event fires.)
4114 SpeechSynthesisUtterance.onend API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onend, speech, synthesis
onend 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has finished being spoken (when the end event fires.)
4115 SpeechSynthesisUtterance.onerror API, Experimental, Property, Reference, SpeechSynthesisUtterance, onerror, speech, synthesis
onerror 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when an error occurs that prevents the utterance from being succesfully spoken (when the error event fires.)
4116 SpeechSynthesisUtterance.onmark API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onmark, speech, synthesis
onmark 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when the spoken utterance reaches a named SSML mark tag (when the mark event fires.)
4117 SpeechSynthesisUtterance.onpause API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onpause, speech, synthesis
onpause 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when the utterance is paused part way through (when the pause event fires.)
4118 SpeechSynthesisUtterance.onresume API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onresume, speech, synthesis
onresume 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when a paused utterance is resumed (when the resume event fires.)
4119 SpeechSynthesisUtterance.onstart API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, onstart, speech, synthesis
onstart 特性为 SpeechSynthesisUtterance interface represents an event handler that will run when the utterance has begun to be spoken (when the start event fires.)
4120 SpeechSynthesisUtterance.pitch API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, pitch, speech, synthesis
pitch 特性为 SpeechSynthesisUtterance interface gets and sets the pitch at which the utterance will be spoken at.
4121 SpeechSynthesisUtterance.rate API, Experimental, Property, Reference, SpeechSynthesisUtterance, Web Speech API, rate, speech, synthesis
rate 特性为 SpeechSynthesisUtterance interface gets and sets the speed at which the utterance will be spoken at.
4122 SpeechSynthesisUtterance.text API, Experimental, Property, Reference, SpeechSynthesisUtterance, Text, Web Speech API, speech, synthesis
text 特性为 SpeechSynthesisUtterance interface gets and sets the text that will be synthesised when the utterance is spoken.
4123 SpeechSynthesisUtterance.voice API, Experimental, Property, Reference, SpeechSynthesisUtterance, Voice, Web Speech API, speech, synthesis
voice 特性为 SpeechSynthesisUtterance interface gets and sets the voice that will be used to speak the utterance.
4124 SpeechSynthesisUtterance.volume API, Experimental, Property, Reference, SpeechSynthesisUtterance, Volume, Web Speech API, speech, synthesis
volume 特性为 SpeechSynthesisUtterance interface gets and sets the volume that the utterance will be spoken at.
4125 SpeechSynthesisUtterance: boundary event Event, Reference, Web Speech API
可以使用 boundary event in an addEventListener 方法:
4126 SpeechSynthesisUtterance: end event Event, Reference, Web Speech API
可以使用 end event in an addEventListener 方法:
4127 SpeechSynthesisUtterance: error event Event, Reference, Web Speech API
可以使用 error event in an addEventListener 方法:
4128 SpeechSynthesisUtterance: mark event Event, Reference, Web Speech API
可以使用 mark event in an addEventListener 方法:
4129 SpeechSynthesisUtterance: pause event Event, Reference, Web Speech API
可以使用 pause event in an addEventListener 方法:
4130 SpeechSynthesisUtterance: resume event Event, Reference, Web Speech API
resume event of the Web 语音 API SpeechSynthesisUtterance object is fired when a paused utterance is resumed.
4131 SpeechSynthesisUtterance: start event Event, Reference, Web Speech API
可以使用 start event in an addEventListener 方法:
4132 SpeechSynthesisVoice API, Experimental, Interface, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis
SpeechSynthesisVoice 接口在 Web 语音 API represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.
4133 SpeechSynthesisVoice.default API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, default, speech, synthesis
default 只读特性在 SpeechSynthesisVoice interface returns a 布尔 indicating whether the voice is the default voice for the current app ( true ), or not ( false )。
4134 SpeechSynthesisVoice.lang API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, lang, speech, synthesis
lang 只读特性在 SpeechSynthesisVoice interface returns a BCP 47 language tag indicating the language of the voice.
4135 SpeechSynthesisVoice.localService API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, localService, speech, synthesis
localService 只读特性在 SpeechSynthesisVoice interface returns a 布尔 indicating whether the voice is supplied by a local speech synthesizer service ( true ), or a remote speech synthesizer service ( false )。
4136 SpeechSynthesisVoice.name API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, name, speech, synthesis
名称 只读特性在 SpeechSynthesisVoice interface returns a human-readable name that represents the voice.
4137 SpeechSynthesisVoice.voiceURI API, Experimental, Property, Reference, SpeechSynthesisVoice, Web Speech API, speech, synthesis, voiceURI
voiceURI 只读特性在 SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice.
4138 StaticRange API, Content Range, DOM, DOM API, DOM Tree, Interface, Reference, Static Range API, StaticRange
DOM StaticRange interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree.
4139 StaticRange.StaticRange() API, Constructor, DOM, DOM API, Range, Reference, StaticRange
StaticRange() 构造函数创建新 StaticRange object representing a span of content within the DOM.
4140 StaticRange.collapsed API, DOM, DOM API, Empty, Property, Range, Reference, Static Range API, StaticRange, collapsed
collapsed 只读特性在 StaticRange interface returns true if the range's start position and end position are the same.
4141 StaticRange.endContainer API, DOM, DOM API, Property, Reference, Static Range API, StaticRange, endContainer
endContainer 特性为 StaticRange interface returns the end 节点 for the range.
4142 StaticRange.endOffset API, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, endOffset, offset, startContainer
endOffset 特性为 StaticRange interface returns the offset into the end node of the range's end position.
4143 StaticRange.startContainer API, DOM, DOM API, Property, Range, Read-only, Reference, Static Range API, StaticRange, container, start, startContainer
只读 startContainer 特性为 StaticRange interface returns the start 节点 for the range.
4144 StaticRange.startOffset API, DOM, DOM API, Property, Read-only, Reference, Static Range API, StaticRange, startContainer
只读 startOffset 特性为 StaticRange interface returns the offset into the start node of the range's start position.
4145 StaticRange.toRange() API, Experimental, Method, Reference, Static Range API, StaticRange, toRange()
toRange() 特性为 StaticRange interface converts the StaticRange object to a 范围 对象。
4146 StereoPannerNode API, Audio, Interface, Reference, StereoPannerNode, Web Audio API
pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode .
4147 StereoPannerNode.StereoPannerNode() API, Audio, Constructor, Media, Reference, StereoPannerNode, Web Audio API
StereoPannerNode() constructor of the Web 音频 API creates a new StereoPannerNode object which is an AudioNode that represents a simple stereo panner node that can be used to pan an audio stream left or right.
4148 StereoPannerNode.pan API, Property, Read-only, Reference, StereoPannerNode, Web Audio API
An a-rate AudioParam containing the panning to apply.
4149 存储 API, Interface, Reference, Storage, Web Storage, data
存储 接口在 Web 存储 API provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
4150 Storage.clear() API, Method, Reference, Storage, Web Storage
clear() 方法在 存储 interface clears all keys stored in a given 存储 对象。
4151 Storage.getItem() API, Method, Reference, Storage, Web Storage
getItem() 方法在 存储 interface, when passed a key name, will return that key's value, or null if the key does not exist, in the given 存储 对象。
4152 Storage.key() API, Method, Reference, Storage, Web Storage
key() 方法在 存储 interface, when passed a number n, returns the name of the nth key in a given 存储 object. The order of keys is user-agent defined, so you should not rely on it.
4153 Storage.length API, Property, Read-only, Reference, Storage, Web Storage
length 只读特性在 存储 interface returns the number of data items stored in a given 存储 对象。
4154 Storage.removeItem() API, Method, Reference, Storage, Web Storage
removeItem() 方法在 存储 interface, when passed a key name, will remove that key from the given 存储 object if it exists. If there is no item associated with the given key, this method will do nothing.
4155 Storage.setItem() API, Method, Reference, Storage, Web Storage
setItem() 方法在 存储 interface, when passed a key name and value, will add that key to the given 存储 object, or update that key's value if it already exists.
4156 存储 API API, Overview, Quotas, Reference, Secure context, Storage, Storage API, Usage
存储标准定义公共、共享存储系统,用于为单个 Web 站点存储可访问内容数据的所有 API 和技术。存储 API 使站点代码能够知道它们可以使用多少空间,它们已使用多少空间,甚至控制它们是否需要警报先于 用户代理 处置站点数据以便为其它事情腾出空间。
4157 存储访问 API API, Reference, Storage, Storage Access API
The Storage Access API provides a way for embedded, cross-origin content to gain unrestricted access to storage that it would normally only have access to in a first-party context (we refer to this as an origin’s first-party storage).
4158 Using the Storage Access API API, DOM, Guide, Reference, Storage, Storage Access API
存储访问 API should be used by embedded cross-origin documents to verify whether they have access to their first-party storage and, if not, to request access. We’ll briefly look at a common storage access scenario.
4159 StorageEstimate API, Dictionary, Interface, Quotas, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage
StorageEstimate 字典用于 StorageManager 以提供站点或应用程序数据存储的大小及正在使用的存储的估计。 estimate() 方法返回符合此字典的对象当其 Promise 解析。
4160 StorageEstimate.quota API, Property, Quota, Quotas, Reference, Secure context, StorageEstimate
StorageEstimate dictionary's quota property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate() ; there may be more space available, but there will not be less. This value is an estimate to help prevent its use for fingerprinting—that is, identifying a device using an amalgamation of the values of seemingly innocuous properties.
4161 StorageEstimate.usage API, Reference, Secure context, Storage, Storage API, StorageEstimate, Usage
StorageEstimate dictionary's usage property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate() ; there may be more space available, but there will not be less. The value is an estimate because the 用户代理 may use compression, duplication prevention techniques, and other methods to improve storage efficiency.
4162 StorageEvent API, Event, NeedsSpecTable, Reference, StorageEvent, Web Storage API
A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document.
4163 StorageManager API, Interface, Persistence, Quotas, Reference, Secure context, Storage, Storage API, StorageManager, Usage
StorageManager 接口的 存储 API 提供用于管理持久性权限和估计可用存储的接口。可以获取此接口的引用使用 navigator.storage or WorkerNavigator.storage .
4164 StorageManager.estimate() API, Method, Quota, Reference, Secure context, Storage, Storage API, StorageManager, Usage, estimate
estimate() 方法在 StorageManager interface asks the Storage Manager to obtain quota and usage information for the current origin. This method operates asynchronously, so it returns a Promise which resolves once the information is available. The promise's fulfillment handler receives as an input a StorageEstimate with the usage and quota data.
4165 StorageManager.persist() Method, Reference, Secure context, Storage API, persist()
persist() 方法在 StorageManager interface requests permission to use persistent storage, and returns a Promise that resolves to true if permission is granted and box mode is persistent, and false 否则。
4166 StorageManager.persisted() Method, Reference, Secure context, Storage API, persisted()
persisted() 方法在 StorageManager interface returns a Promise that resolves to true if box mode is persistent for your site's storage.
4167 StorageQuota Experimental, Interface, Quota Management API, Reference, StorageQuota
storageQuota 特性为 Navigator 接口在 Quota Management API provides means to query and request storage usage and quota information.
4168 StorageQuota.queryInfo Property, Quota Management API, Reference, StorageQuota
queryInfo() 特性为 StorageQuota interface returns a StorageInfo object containting the current data usage and available quota information for the application.
4169 StorageQuota.requestPersistentQuota Property, Quota Management API, Reference, StorageQuota
requestPersistentQuota() 特性为 StorageQuota interface requests persistent storage for the requesting application and returns a Promise to an instance of StorageInfo .
4170 StorageQuota.supportedTypes Property, Quota Management API, Reference, StorageQuota
supportedTypes 只读特性在 StorageQuota interface returns a list of the available storage types.
4171 Streams API API, Experimental, JavaScript, Landing, Reference, Streams
The Streams API allows JavaScript to programmatically access streams of data received over the network and process them as desired by the developer.
4172 Streams API concepts API, Streams, concepts
Streams API adds a very useful set of tools to the web platform, providing objects allowing JavaScript to programmatically access streams of data received over the network and process them as desired by the developer. Some of the concepts and terminology associated with streams might be new to you — this article explains all you need to know.
4173 Using readable streams API, Controller, Fetch, Guide, ReadableStreams, Streams, pipe chains, readable streams, reader, tee
That explains the basics of “default” readable streams. We’ll explain bytestreams in a separate future article, once they are available in browsers.
4174 Using writable streams API, Controller, Guide, Streams, WritableStream, writable streams, writer
As a JavaScript developer, programmatically writing data to a stream is very useful! This article explains the Streams API ’s writable stream functionality.
4175 StylePropertyMap API, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMap
StylePropertyMap 接口的 CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration .
4176 StylePropertyMap.append() API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, append()
append() 方法在 StylePropertyMap interface adds a new CSS declaration to the StylePropertyMap with the given property and value.
4177 StylePropertyMap.clear() API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, clear()
clear() 方法在 StylePropertyMap interface removes all declarations in the StylePropertyMap .
4178 StylePropertyMap.delete() API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, delete()
delete() 方法在 StylePropertyMap interface removes the CSS declaration with the given property.
4179 StylePropertyMap.set() API, CSS Typed Object Model API, Houdini, Method, Reference, StylePropertyMap, set()
set() 方法在 StylePropertyMap interface changes the CSS declaration with the given property.
4180 StylePropertyMapReadOnly API, CSS Typed Object Model API, Experimental, Houdini, Interface, Reference, StylePropertyMapReadOnly
StylePropertyMapReadOnly 接口的 CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration . Retrieve an instance of this interface using Element.computedStyleMap() .
4181 StylePropertyMapReadOnly.entries() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, entries()
StylePropertyMapReadOnly.entries() method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
4182 StylePropertyMapReadOnly.forEach() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, forEach()
StylePropertyMapReadOnly.forEach() method executes a provided function once for each element of StylePropertyMapReadOnly .
4183 StylePropertyMapReadOnly.get() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, get()
get() 方法在 StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
4184 StylePropertyMapReadOnly.getAll() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, getAll()
getAll() 方法在 StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
4185 StylePropertyMapReadOnly.has() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, has()
has() 方法在 StylePropertyMapReadOnly interface indicates whether the specified property is in the StylePropertyMapReadOnly 对象。
4186 StylePropertyMapReadOnly.keys() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, keys()
StylePropertyMapReadOnly.keys() method returns a new Array Iterator containing the keys for each item in StylePropertyMapReadOnly
4187 StylePropertyMapReadOnly.size API, CSS Typed Object Model API, Experimental, Houdini, Property, Reference, StylePropertyMapReadOnly, size
size 只读特性在 StylePropertyMapReadOnly interface returns an unsinged long integer containing the size of the StylePropertyMapReadOnly 对象。
4188 StylePropertyMapReadOnly.values() API, CSS Typed Object Model API, Experimental, Houdini, Method, Reference, StylePropertyMapReadOnly, values()
StylePropertyMapReadOnly.values() method returns a new Array Iterator containing the values for each index in the StylePropertyMapReadOnly 对象。
4189 StyleSheet API, CSS, CSSOM, DOM, Interface, Reference, StyleSheet
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet 接口。
4190 StyleSheet.disabled API, CSS, CSSOM, Disabled, Property, Reference
被禁用 特性为 StyleSheet interface determines whether the style sheet is prevented from applying to the document.
4191 StyleSheet.media API, CSSOM, Property, Reference
media 特性为 StyleSheet interface specifies the intended destination media for style information. It is a read-only, array-like MediaList object and can be removed with deleteMedium() and added with appendMedium() .
4192 StyleSheet.ownerNode API, CSSOM, NeedsSpecTable, Property, Reference
ownerNode 特性为 StyleSheet interface returns the node that associates this style sheet with the document.
4193 StyleSheet.parentStyleSheet API, CSSOM, NeedsSpecTable, Property, Reference
parentStyleSheet 特性为 StyleSheet interface returns the style sheet, if any, that is including the given style sheet.
4194 StyleSheet.title API, CSSOM, NeedsSpecTable, Property, Reference
title 特性为 StyleSheet interface returns the advisory title of the current style sheet.
4195 StyleSheet.type API, CSSOM, NeedsSpecTable, Property, Reference
type 特性为 StyleSheet interface specifies the style sheet language for the given style sheet.
4196 Stylesheet.href API, CSSOM, Property, Reference
href 特性为 StyleSheet interface returns the location of the style sheet.
4197 StyleSheetList API, CSSOM, NeedsContent, NeedsUpdate
StyleSheetList interface represents a list of StyleSheet .
4198 SubtleCrypto API, Interface, Reference, Référence(2), SubtleCrypto, Web Crypto API
SubtleCrypto 接口在 Web 加密 API provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto ).
4199 SubtleCrypto.decrypt() API, Decrypt, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API
decrypt() 方法在 SubtleCrypto interface decrypts some encrypted data. It takes as arguments a key to decrypt with, some optional extra parameters, and the data to decrypt (also known as "ciphertext"). It returns a Promise which will be fulfilled with the decrypted data (also known as "plaintext").
4200 SubtleCrypto.deriveBits() API, Crypto, Method, Reference, SubtleCrypto, deriveBits
deriveBits() 方法在 SubtleCrypto interface can be used to derive an array of bits from a base key.
4201 SubtleCrypto.deriveKey() API, Crypto, Method, Reference, SubtleCrypto, Web, deriveKey
deriveKey() 方法在 SubtleCrypto interface can be used to derive a secret key from a master key.
4202 SubtleCrypto.digest() API, Method, Reference, SubtleCrypto, WebCrypto API, digest
digest() 方法在 SubtleCrypto interface generates a digest of the given data. A digest is a short fixed-length value derived from some variable-length input. Cryptographic digests should exhibit collision-resistance, meaning that it's hard to come up with two different inputs that have the same digest value.
4203 SubtleCrypto.encrypt() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, encrypt
encrypt() 方法在 SubtleCrypto interface encrypts data.
4204 SubtleCrypto.exportKey() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, exportKey
exportKey() 方法在 SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.
4205 SubtleCrypto.generateKey() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, generateKey
使用 generateKey() 方法在 SubtleCrypto interface to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
4206 SubtleCrypto.importKey() API, Method, Reference, SubtleCrypto, Web Crypto API, importKey
importKey() 方法在 SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web 加密 API .
4207 SubtleCrypto.sign() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, sign
sign() 方法在 SubtleCrypto interface generates a digital signature .
4208 SubtleCrypto.unwrapKey() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, unwrapKey
unwrapKey() 方法在 SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web 加密 API .
4209 SubtleCrypto.verify() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, verify
verify() 方法在 SubtleCrypto interface verifies a digital signature .
4210 SubtleCrypto.wrapKey() API, Method, Reference, Référence(2), SubtleCrypto, Web Crypto API, wrapKey
wrapKey() 方法在 SubtleCrypto interface "wraps" a key. This means that it exports the key in an external, portable format, then encrypts the exported key. Wrapping a key helps protect it in untrusted environments, such as inside an otherwise unprotected data store or in transmission over an unprotected network.
4211 SyncEvent API, Background Sync, Interface, Non-standard, Offline, Reference, ServiceWorker, SyncEvent, Workers
SyncEvent interface represents a sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
4212 SyncEvent.SyncEvent() API, Background Sync, Constructor, Experimental, Reference, ServiceWorker, SyncEvent
SyncEvent() 构造函数创建新 SyncEvent 对象。
4213 SyncEvent.lastChance API, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, lastChance
SyncEvent.lastChance 只读特性在 SyncEvent interface returns true if the user agent will not make further synchronization attempts after the current attempt. This is the value passed in the lastChance 参数为 SyncEvent() 构造函数。
4214 SyncEvent.tag API, Background Sync, Experimental, Property, Reference, ServiceWorker, SyncEvent, tag
SyncEvent.tag 只读特性在 SyncEvent interface returns the developer-defined identifier for this SyncEvent . This is the value passed in the tag 参数为 SyncEvent() 构造函数。
4215 registration DOM, Junk, Property
The registration read-only property of the SyncEvent interface returns a reference to a SyncRegistration 对象。
4216 SyncManager API, Interface, Non-standard, Reference, ServiceWorker, SyncManager
SyncManager 接口的 ServiceWorker API provides an interface for registering and listing sync registrations.
4217 SyncManager.getTags() API, Experimental, Method, Reference, ServiceWorker, SyncManager, getTags
SyncManager.getTags 方法在 SyncManager interface returns a list of developer-defined identifiers for SyncManager registrations.
4218 SyncManager.register() API, Experimental, Method, Reference, ServiceWorker, SyncManager, register
SyncManager.register 方法在 SyncManager interface returns a Promise 解析为 SyncRegistration 实例。
4219 TaskAttributionTiming API, Experimental, Interface, Long Tasks API, Performance, TaskAttributionTiming
TaskAttributionTiming interface of the 长任务 API returns information about the work involved in a long task and its associate frame context. The frame context, also called the container, is the iframe, embed or object that is being implicated, on the whole, for a long task.
4220 TaskAttributionTiming.containerId API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
containerId readonly property of the TaskAttributionTiming interface returns the container's id attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4221 TaskAttributionTiming.containerName API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
containerName readonly property of the TaskAttributionTiming interface returns the container's 名称 attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4222 TaskAttributionTiming.containerSrc API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
containerSrc readonly property of the TaskAttributionTiming interface returns the container's src attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
4223 TaskAttributionTiming.containerType API, Long Tasks API, Performance, Property, Reference, TaskAttributionTiming
containerType readonly property of the TaskAttributionTiming interface returns the type of frame container, one of iframe , embed ,或 对象 .
4224 Text API, DOM, Interface
文本 接口表示正文内容在 元素 or Attr . If an element has no markup within its content, it has a single child implementing 文本 that contains the element's text. However, if the element contains markup, it is parsed into information items and 文本 nodes that form its children.
4225 HTMLSlotElement.assignedSlot API, Property, Reference, Text, assignedSlot, shadow dom
assignedSlot 特性为 文本 interface returns the HTMLSlotElement object associated with the element.
4226 Text() API, Constructor, DOM, Experimental, Reference, Text
Text() constructor returns a newly created 文本 object with the optional DOMString given in parameter as its textual content.
4227 Text.isElementContentWhitespace API, DOM, Obsolete, Property, Text
Text.isElementContentWhitespace 只读特性返回 布尔 flag indicating whether or not the text node's content consists solely of whitespace.
4228 Text.replaceWholeText() API, DOM, Method, Obsolete, Text
Text.replaceWholeText() method replaces the text of the node and all of its logically adjacent text nodes with the specified text. The replaced nodes are removed, including the current node, unless it was the recipient of the replacement text.
4229 Text.splitText() API, DOM, Method, Text
Text.splitText() method breaks the 文本 node into two nodes at the specified offset, keeping both nodes in the tree as siblings.
4230 Text.wholeText API, DOM, Property, Text
Text.wholeText read-only property returns the full text of all 文本 nodes logically adjacent to the node.
4231 TextDecoder API, DOM, Encoding, Experimental, Interface, Reference, TextDecoder
TextDecoder interface represents a decoder for a specific method—that is, a specific character encoding—such as utf-8 , iso-8859-2 , koi8 , cp1261 , gbk , etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays .
4232 TextDecoder() API, Constructor, Encoding, Experimental, Reference, TextDecoder
TextDecoder() constructor returns a newly created TextDecoder object for the encoding specified in parameter.
4233 TextDecoder.prototype.decode() API, Encoding, Experimental, Method, TextDecoder
TextDecoder.prototype.decode() 方法返回 DOMString containing the text, given in parameters, decoded with the specific method for that TextDecoder 对象。
4234 TextDecoder.prototype.encoding API, Encoding, Experimental, Property, Read-only, TextDecoder
TextDecoder.prototype.encoding 只读特性返回 DOMString containing the name of the decoding algorithm used by the specific decoder.
4235 TextEncoder API, Encoding, Experimental, Interface, Reference, TextEncoder
TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays .
4236 TextEncoder() API, Constructor, Encoding, Reference, TextEncoder
TextEncoder() constructor returns a newly created utf-8 TextEncoder 对象。
4237 TextEncoder.encoding API, Encoding, Property, Read-only, Reference, TextEncoder
TextEncoder.encoding 只读特性返回 DOMString containing the name of the encoding algorithm used by the specific encoder.
4238 TextEncoder.prototype.encode() API, Encoding, Method, Reference, TextEncoder, encode
TextEncoder.prototype.encode() method takes a USVString as input, and returns a Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder 对象。
4239 TextEncoder.prototype.encodeInto() API, Experimental, Method, Reference, TextEncoder, encodeInto
TextEncoder.prototype.encodeInto() method takes a USVString to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding. This is potentially more performant than the older encode() method especially when the target buffer is a view into a Wasm heap.
4240 TextMetrics API, Canvas, Reference, TextMetrics
TextMetrics interface represents the dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() 方法。
4241 TextMetrics.width API, Canvas, Property, Reference, TextMetrics
只读 width 特性为 TextMetrics interface contains the text's advance width (the width of that inline box) in CSS pixels.
4242 TextTrack API, Interface, Media, Reference, TextTrack, Web, WebVTT
This interface also inherits properties from EventTarget .
4243 TextTrack.mode Accessibility, NeedsExample, Property, TextTrack, Web, WebVTT, mode
TextTrack 接口的 mode property is a string specifying and controlling the text track's mode: 被禁用 , hidden ,或 showing .
4244 TextTrack: cuechange event API, Event, Reference, TextTrack, WebVTT, cuechange, oncuechange, track
cuechange event fires when a TextTrack has changed the currently displaying cues.
4245 TextTrackCue API, Accessibility, Draft, HTML5, Interface, Media, NeedsContent, TextTrack, TextTrackCue, WebVTT, a11y, cue, track, vtt
TextTrackCue is an abstract class which is used as the basis for the various derived cue types, such as VTTCue ; you will instead work with those derived types.
4246 TextTrackList API, HTML DOM, HTMLMediaElement, Interface, Media, Reference, TextTrackList, Track List, Tracks, list
TextTrackList interface is used to represent a list of the text tracks defined by the <track> element, with each track represented by a separate textTrack object in the list.
4247 TextTrackList.length API, HTML DOM, Media, Property, Read-only, Reference, TextTrackList, length, list, track
只读 TextTrackList property length returns the number of entries in the TextTrackList , each of which is a TextTrack representing one track in the media element.
4248 TextTrackList.onaddtrack API, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, addTrack, onaddtrack, track
TextTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new text track has been added to the media element whose text tracks the TextTrackList represents.
4249 TextTrackList.onchange API, Adding Tracks, Event Handler, HTML DOM, HTMLMediaElement, Media, Property, Reference, TextTrack, TextTrackList, addTrack, onchange, text track, track
TextTrackList property onchange is an event handler which is called when the change event occurs, indicating that a change has occurred on a TextTrack VideoTrackList .
4250 TextTrackList.onremovetrack API, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, TextTrack, TextTrackList, VideoTrackList, onremovetrack, remove, removeTrack, track
TextTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a text track has been removed from the media element, and therefore also from the TextTrackList .
4251 TextTrackList: addtrack event API, Reference, TextTrack, TextTrackList, addTrack, addTrack Event, events
addtrack event is fired when a track is added to a TextTrackList .
4252 TextTrackList: change event Event, TextTrack, TextTrackList, change event
change event is fired when a text track is made active or inactive, or a textTrackList is otherwise changed
4253 TextTrackList: removeTrack event API, Media Streams API, MediaStreamTrackEvent, Reference, Removing Tracks, events, removeTrack
removetrack event is fired when a track is removed from a TextTrackList .
4254 getTrackById() API, HTML DOM, HTMLMediaElement, Media, Method, Reference, TextTrack, TextTrackList, Track ID, Track List, Tracks, getTrackById, id, track
TextTrackList 方法 getTrackById() 返回第一 TextTrack object from the track list whose id matches the specified string.
4255 The HTML DOM API API, Beginner, DOM, Documents, Elements, HTML DOM, HTML DOM API, Nodes, Overview, Web, Windows, hierarchy
HTML DOM API is made up of the interfaces that define the functionality of each of the 元素 in HTML , as well as any supporting types and interfaces they rely upon.
4256 Using microtasks in JavaScript with queueMicrotask() API, Batch, Guide, HTML DOM, JavaScript, Microtask, Queue, Reference, ServiceWorker, SharedWorker, Window, Worker, asynchronous, queueMicrotask
A microtask is a short function which is executed after the function or program which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used by the 用户代理 to drive the script's execution environment.
4257 In depth: Microtasks and the JavaScript runtime environment API, Advanced, Guide, JavaScript, Microtasks, asynchronous, queueMicrotask, runtime
When debugging or, possibly, when trying to decide upon the best approach to solving a problem around timing and scheduling of tasks and microtasks, there are things about how the JavaScript runtime operates under the hood that may be useful to understand. That's what this section covers
4258 The WebSocket API (WebSockets) API, Client, Communication, Overview, Server, Two-Way, WebSocket, WebSocket API, WebSockets, data, interactive
WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
4259 Writing WebSocket client applications Client, Example, Guide, Networking, Web Sockets API, WebSocket, WebSocket API, WebSockets
WebSocket client applications use the WebSocket API to communicate with WebSocket servers using the WebSocket protocol.
4260 Writing WebSocket servers Guide, HTML5, NeedsContent, NeedsExample, NeedsMarkupWork, Tutorial, WebSocket, WebSocket API, WebSockets
A WebSocket server is an application listening on any port of a TCP server that follows a specific protocol, simple as that. The task of creating a custom server tends to scare people; however, it can be easy to implement a simple WebSocket server on your platform of choice.
4261 Writing a WebSocket server in C# HTML5, NeedsMarkupWork, Tutorial, WebSockets
If you would like to use the WebSocket API, it is useful if you have a server. In this article I will show you how to write one in C#. You can do it in any server-side language , but to keep things simple and more understandable, I chose Microsoft's language.
4262 Writing a WebSocket server in Java HTML5, Handshaking, NeedsMarkupWork, Tutorial, WebSockets
This example shows you how to create a WebSocket API server using Oracle Java.

Although other server-side languages can be used to create a WebSocket server, this example uses Oracle Java to simplify the example code .
4263 TimeEvent API, Interface, NeedsMarkupWork, SVG
TimeEvent interface, a part of SVG SMIL animation, provides specific contextual information associated with Time events. It extends 事件 .
4264 TimeRanges API, HTML DOM, Interface, Media, NeedsExample, Reference
TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> 元素。
4265 TimeRanges.end() API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges
Returns the time offset at which a specified time range ends.
4266 TimeRanges.length API, HTML DOM, Media, Property, Read-only, Reference, TimeRanges
TimeRanges.length read-only property returns the number of ranges in the object.
4267 TimeRanges.start() API, HTML DOM, Media, Method, NeedsBrowserCompatibility, Reference, TimeRanges
Returns the time offset at which a specified time range begins.
4268 触摸 API, Interface, Reference, TouchEvent
触摸 interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.
4269 Touch() API, Constructor, Experimental, Reference, touch
Touch() 构造函数创建新 触摸 对象。
4270 Touch.clientX API, Property, Read-only, Reference, touch
Touch.clientX read-only property returns the X coordinate of the touch point relative to the viewport, not including any scroll offset.
4271 Touch.clientY API, Property, Read-only, Reference, touch
Touch.clientY read-only property returns the Y coordinate of the touch point relative to the browser's viewport, not including any scroll offset.
4272 Touch.force API, Experimental, Property, Read-only, touch
Touch.force read-only property returns the amount of pressure the user is applying to the touch surface for a 触摸 point.
4273 Touch.identifier API, Property, Read-only, Reference, touch
Touch.identifier returns a value uniquely identifying this point of contact with the touch surface. This value remains consistent for every event involving this finger's (or stylus's) movement on the surface until it is lifted off the surface.
4274 Touch.pageX API, Property, Read-only, Reference, touch
Touch.pageX read-only property returns the X coordinate of the touch point relative to the viewport, including any scroll offset.
4275 Touch.pageY API, Property, Read-only, Reference, touch
Touch.pageY read-only property returns the Y coordinate of the touch point relative to the viewport, including any scroll offset.
4276 Touch.radiusX API, DOM, Experimental, Mobile, Property, touch
Returns the X radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX .
4277 Touch.radiusY API, DOM, Experimental, Mobile, Property, touch
Returns the Y radius of the ellipse that most closely circumscribes the area of contact with the touch surface. The value is in CSS pixels of the same scale as Touch.screenX .
4278 Touch.rotationAngle API, DOM, Experimental, Mobile, Property, touch
Returns the rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY . The value may be between 0 and 90. Together, these three values describe an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a relatively large ellipse representing the contact between a fingertip and the screen or a small area representing the tip of a stylus, for example.
4279 Touch.screenX API, DOM, Mobile, Property, touch
Returns the X coordinate of the touch point relative to the screen, not including any scroll offset.
4280 Touch.screenY API, DOM, Mobile, Property, touch
Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
4281 Touch.target API, DOM, EventTarget, Mobile, Property, touch
返回 元素 ( EventTarget ) on which the touch contact started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that element or even been removed from the document. Note that if the target element is removed from the document, events will still be targeted at it, and hence won't necessarily bubble up to the window or document anymore. If there is any risk of an element being removed while it is being touched, the best practice is to attach the touch listeners directly to the target.
4282 msManipulationViewsEnabled msManipulationViesEnabled
msManipulationViewsEnabled read-only property returns true if manipulation features are support available, such as touch panning and zooming using CSS rules.
4283 触摸事件 Advanced, DOM, Event, Guide, Mobile, Overview, touch
In order to provide quality support for touch-based user interfaces, touch events offer the ability to interpret finger (or stylus) activity on touch screens or trackpads.
4284 Multi-touch interaction Guide, TouchEvent, touch
The touch event interfaces support application-specific single and multi-touch interactions. However, the interfaces can be a bit tricky for programmers to use because touch events are very different from other DOM input events, such as mouse events . The application described in this guide shows how to use touch events for simple single and multi-touch interactions, the basics needed to build application-specific gestures.
4285 Supporting both TouchEvent and MouseEvent Guide, TouchEvent, touch
touch interfaces enable applications to create enhanced user experiences on touch enabled devices. However, the reality is the vast majority of today's web content is designed only to work with mouse input. Consequently, even if a browser supports touch, the browser must still emulate mouse events so content that assumes mouse-only input will work as is without direct modification.
4286 Using Touch Events Guide, TouchEvent, touch
Today, most Web content is designed for keyboard and mouse input. However, devices with touch screens (especially portable devices) are mainstream and Web applications can either directly process touch-based input by using 触摸事件 or the application can use interpreted mouse events for the application input. A disadvantage to using mouse events is that they do not support concurrent user input, whereas touch events support multiple simultaneous inputs (possibly at different locations on the touch surface), thus enhancing user experiences.
4287 TouchEvent API, DOM, Interface, Reference, touch
TouchEvent interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.
4288 TouchEvent() API, Constructor, DOM, Reference, events, touch
触摸 Event() 构造函数创建新 TouchEvent .
4289 TouchEvent.altKey API, DOM, Mobile, Property, TouchEvent, touch
A 布尔 value indicating whether or not the alt (Alternate) key is enabled when the touch event is created. If the alt key is enabled, the attribute's value is true . Otherwise, it is false .
4290 TouchEvent.changedTouches API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
changedTouches read-only property is a TouchList whose touch points ( 触摸 objects) varies depending on the event type, as follows:
4291 TouchEvent.ctrlKey API, DOM, Mobile, Property, TouchEvent, touch
A 布尔 value indicating whether the 控制 (Control) key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false .
4292 TouchEvent.metaKey API, DOM, Mobile, Property, TouchEvent, touch
A 布尔 value indicating whether or not the Meta key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false .
4293 TouchEvent.shiftKey API, DOM, Mobile, Property, TouchEvent, touch
A 布尔 value indicating whether or not the shift key is enabled when the touch event is created. If this key is enabled, the attribute's value is true . Otherwise, it is false .
4294 TouchEvent.targetTouches API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
targetTouches read-only property is a TouchList listing all the 触摸 objects for touch points that are still in contact with the touch surface and whose touchstart event occurred inside the same target element as the current target element.
4295 TouchEvent.touches API, DOM, DOM Reference, Mobile, Property, Read-only, Reference, TouchEvent, touch
touches is a read-only TouchList listing all the 触摸 objects for touch points that are currently in contact with the touch surface, regardless of whether or not they've changed or what their target element was at touchstart time.
4296 TouchList API, DOM, DOM Reference, Mobile, Reference, TouchList, touch
TouchList interface represents a list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one 触摸 object for each finger, for a total of three entries.
4297 TouchList.identifiedTouch() API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch
identifiedTouch() method returns the first 触摸 项在 TouchList that matches the specified identifier.
4298 TouchList.item() API, DOM, DOM Reference, Method, Mobile, Reference, TouchList, touch
item() 方法返回 触摸 object at the specified index in the TouchList .
4299 TouchList.length API, DOM, DOM Reference, Mobile, Property, Reference, TouchList, touch
length read-only property indicates the number of items (touch points) in a given TouchList .
4300 TrackDefault API, Audio, Experimental, Interface, MSE, MediaSourceExtensions, Reference, TrackDefault, Video
TrackDefault interface provides a SourceBuffer with kind, label, and language information for tracks that do not contain this information in the initialization segments of a media chunk.
4301 TrackDefault.TrackDefault() API, Audio, Constructor, Experimental, MSE, Media Source Extensions, Reference, TrackDefault, Video
TrackDefault() constructor of the TrackDefault interface constructs and returns a new TrackDefault 对象。
4302 TrackDefault.byteStreamTrackID API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, byteStreamTrackID
byteStreamTrackID 只读特性在 TrackDefault interface returns the ID of the specific track that the SourceBuffer should apply to.
4303 TrackDefault.kinds API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, kinds
kinds 只读特性在 TrackDefault interface returns default kinds for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track.
4304 TrackDefault.label API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video, label
label 只读特性在 TrackDefault interface returns the default label for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track.
4305 TrackDefault.language API, Audio, Experimental, Language, MSE, Media Source Extensions, Property, Reference, TrackDefault, Video
语言 只读特性在 TrackDefault interface returns a default language for an associated SourceBuffer to use when an initialization segment does not contain language information for a new track.
4306 TrackDefault.type API, Audio, Experimental, MSE, Media Source Extensions, Property, Reference, TrackDefault, Type, Video
type 只读特性在 TrackDefault interface returns the type of track that this SourceBuffer 's media segment data relates to (i.e. audio, video, or text track.)
4307 TrackDefaultList API, Audio, Experimental, Extensions, Interface, MSE, Media, Reference, TrackDefaultList, Video, source
TrackDefaultList interface represents a simple container list for multiple TrackDefault 对象。
4308 TrackDefaultList.TrackDefault() API, Audio, Extensions, Getter, MSE, Media, Method, Reference, Video, source
TrackDefault() getter method of the TrackDefaultList interface allows the TrackDefault objects in the list to be accessed with an array operator (i.e. [] )。
4309 TrackDefaultList.TrackDefaultList() API, Audio, Constructor, Experimental, Extensions, MSE, Media, Reference, TrackDefaultList, Video, source
TrackDefaultList() constructor of the TrackDefaultList interface constructs and returns a new TrackDefaultList 对象。
4310 TrackDefaultList.length API, Audio, Experimental, Extensions, MSE, Media, Property, Reference, TrackDefaultList, Video, length, source
length 只读特性在 TrackDefaultList interface returns the number of TrackDefault objects in the list.
4311 TrackEvent API, Audio, HTML DOM, Interface, Media, Reference, TrackEvent, Video
TrackEvent interface, which is part of the HTML DOM specification, is used for events which represent changes to a set of available tracks on an HTML media element; these events are addtrack and removetrack .
4312 TrackEvent() API, Audio, Constructor, HTML DOM, Media, Reference, TrackEvent, Tracks, Video
TrackEvent() constructor creates and returns a new TrackEvent object describing an event which occurred on a list of tracks ( AudioTrackList , VideoTrackList ,或 TextTrackList ).
4313 TrackEvent.track API, Audio, Event, HTML DOM, Media, Property, Read-only, Reference, TrackEvent, Video, track
只读 track 特性为 TrackEvent interface specifies the media track object to which the event applies.
4314 Transferable API, Interface, Reference, Transferable, Web Workers
Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers.
4315 TransformStream Streams API
TransformStream 接口在 Streams API represents a set of transformable data.
4316 TransitionEvent API, CSS, CSS3 Transitions, CSSOM, Experimental, Reference
Transition 事件 interface represents events providing information related to 过渡 .
4317 TransitionEvent() API, CSS, CSS3 Transitions, CSSOM, Constructor, Experimental, Reference, TransitionEvent
TransitionEvent() constructor returns a newly created TransitionEvent , representing an event in relation with an transition.
4318 TransitionEvent.animationName API, CSS, CSS3 Transitions, Experimental, Property, Reference, TransitionEvent
TransitionEvent.transitionName read-only property is a DOMString containing the name of the CSS property associated with the transition.
4319 TransitionEvent.elapsedTime API, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent
TransitionEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired. This value is not affected by the transition-delay 特性。
4320 TransitionEvent.initTransitionEvent() API, CSS, CSS3 Transitions, CSSOM, Deprecated, Experimental, Method, Reference, TransitionEvent
TransitionEvent.initTransitionEvent() method Initializes a transition event created using the deprecated Document.createEvent("TransitionEvent") 方法。
4321 TransitionEvent.pseudoElement API, CSS, CSS3 Transitions, CSSOM, Experimental, Property, Reference, TransitionEvent
TransitionEvent.pseudoElement read-only property is a DOMString , starting with '::' , containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: '' .
4322 TreeWalker API, DOM
TreeWalker 对象表示文档子树节点及其位置。
4323 TreeWalker.currentNode API, DOM, Property, TreeWalker
TreeWalker.currentNode 特性表示 节点 on which the TreeWalker is currently pointing at.
4324 TreeWalker.expandEntityReferences API, DOM, Obsolete, Property, TreeWalker
TreeWalker.expandEntityReferences 只读特性返回 布尔 flag indicating whether or not the children of entity reference nodes are visible to the TreeWalker .
4325 TreeWalker.filter API, DOM, Property, TreeWalker
TreeWalker.filter 只读特性返回 NodeFilter that is the filtering object associated with the TreeWalker .
4326 TreeWalker.firstChild() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.firstChild() method moves the current 节点 to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
4327 TreeWalker.lastChild() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.lastChild() method moves the current 节点 to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
4328 TreeWalker.nextNode() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.nextNode() method moves the current 节点 to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed.
4329 TreeWalker.nextSibling() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.nextSibling() method moves the current 节点 to its next sibling, if any, and returns the found sibling. I there is no such node, return null and the current node is not changed.
4330 TreeWalker.parentNode() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.parentNode() method moves the current 节点 to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker 's root node ,返回 null and the current node is not changed.
4331 TreeWalker.previousNode() API, DOM, DOM Reference, Method, TreeWalker
TreeWalker.previousNode() method moves the current 节点 to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
4332 TreeWalker.previousSibling() API, DOM, DOM Reference, Method, TreeWalker, createTreeWalker, treeWalker.previousSibling
TreeWalker.previousSibling() method moves the current 节点 to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
4333 TreeWalker.root API, DOM, Property, TreeWalker
TreeWalker.root read-only property returns the node that is the root of what the TreeWalker traverses.
4334 TreeWalker.whatToShow API, DOM, Property, TreeWalker
TreeWalker.whatToShow read-only property returns an unsigned long being a bitmask made of constants describing the types of 节点 that must to be presented. Non-matching nodes are skipped, but their children may be included, if relevant. The possible values are:
4335 TypeInfo API, DOM, DOM Reference, Interface, NeedsContent, Obsolete, Reference, TypeInfo
obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema.
4336 UDP Socket API UDPSocket, mozUDPSocket
//TODO: docs are missing, see https://bugzilla.mozilla.org/show_bug.cgi?id=745283
4337 UIEvent API, DOM, Event, Interface, Reference, UIEvent, events
UIEvent 接口表示简单用户界面事件。
4338 UIEvent() API, Constructor, Reference, UIEvent
UIEvent() 构造函数创建新 UIEvent .
4339 UIEvent.cancelBubble API, DOM, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Non-standard, Property, Reference, UIEvent
UIEvent.cancelBubble property indicates if event bubbling for this event has been canceled or not. It is set to false by default, allowing the event to bubble up the DOM, if it is a bubbleable event. Setting this property to true stops the event from bubbling up the DOM. Not all events are allowed to bubble up the DOM.
4340 UIEvent.detail API, DOM, Property, Read-only, Reference
UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.
4341 UIEvent.initUIEvent() API, DOM, Deprecated, Event, Method, UIEvent
UIEvent.initUIEvent() method initializes a UI event once it's been created.
4342 UIEvent.isChar API, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UIEvent, isChar
UIEvent.isChar 只读特性返回 布尔 indicating whether the event produced a key character or not.
4343 UIEvent.layerX API, DOM, Property, Read-only, Reference, UIEvent
UIEvent.layerX read-only property returns the horizontal coordinate of the event relative to the current layer.
4344 UIEvent.layerY API, DOM, Property, Read-only, Reference, UIEvent
UIEvent.layerY read-only property returns the vertical coordinate of the event relative to the current layer.
4345 UIEvent.pageX API, DOM, Non-standard, Obsolete, Property, Read-only, Reference, UI Events, UIEvent, events, pageX
The non-standard, read-only UIEvent property pageX returns the horizontal coordinate of the event relative to the whole document.
4346 UIEvent.pageY API, DOM, Property, Read-only, Reference, UIEvent
UIEvent.pageY read-only property returns the vertical coordinate of the event relative to the whole document.
4347 UIEvent.view API, DOM, NeedsLiveExample, Property, Read-only, Reference, UIEvent
UIEvent.view read-only property returns the WindowProxy object from which the event was generated. In browsers, this is the Window object the event happened in.
4348 sourceCapabilities API, DOM, Property, Reference, UIEvent
UIEvent.sourceCapabilities read-only property returns an instance of the InputDeviceCapabilities interface which provides information about the physical device responsible for generating a touch event. If no input device was responsible for the event, it returns null .
4349 URL API, Address, Domain, Interface, Location, Networking, Reference, URI, URL, URL API, Web, hostname, href, origin
URL interface is used to parse, construct, normalize, and encode URLs. It works by providing properties which allow you to easily read and modify the components of a URL.
4350 URL() API, Constructor, Reference, URL, URL API
URL() constructor returns a newly created URL object representing the URL defined by the parameters.
4351 URL.createObjectURL() API, Blob, DOM, File, Method, Object URL, URL, URL API, createObjectURL
URL.createObjectURL() static method creates a DOMString containing a URL representing the object given in the parameter. The URL lifetime is tied to the document in the window on which it was created. The new object URL represents the specified File object or Blob 对象。
4352 URL.hash API, Hash, Property, Reference, URL
hash 特性为 URL interface returns a USVString 包含 '#' followed by the fragment identifier of the URL.
4353 URL.host API, Host, Property, Reference, URL
host 特性为 URL 接口是 USVString 包含主机,即 hostname , and then, if the port of the URL is nonempty, a ':' ,和 port of the URL.
4354 URL.hostname API, Property, Reference, URL, hostname
hostname 特性为 URL 接口是 USVString 包含 URL 的域。
4355 URL.href API, Property, Reference, URL, href
href 特性为 URL 接口是 USVString containing the whole URL.
4356 URL.origin API, Property, Read-only, Reference, URL, URL API, origin
origin 只读特性在 URL interface returns a USVString containing the Unicode serialization of the origin of the represented URL. The exact structure varies depending on the type of URL:
4357 URL.password API, Property, Reference, URL, password
password 特性为 URL 接口是 USVString containing the password specified before the domain name.
4358 URL.pathname API, Property, Reference, URL, pathname
pathname 特性为 URL 接口是 USVString 包含初始 '/' followed by the path of the URL (or the empty string if there is no path).
4359 URL.port API, Property, Reference, URL, port
port 特性为 URL 接口是 USVString containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to '' .
4360 URL.protocol API, Property, Protocol, Reference, URL
协议 特性为 URL 接口是 USVString representing the protocol scheme of the URL, including the final ':' .
4361 URL.revokeObjectURL() API, Method, URL, URL API, revokeObjectURL
URL.revokeObjectURL() static method releases an existing object URL which was previously created by calling URL.createObjectURL() .
4362 URL.search API, Property, Reference, Search, URL
search 特性为 URL interface is a search string, also called a query string , that is a USVString 包含 '?' followed by the parameters of the URL.
4363 URL.searchParams API, Property, Read-only, Reference, URL, URLSearchParameters
searchParams readonly property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
4364 URL.toJSON() API, Method, Reference, URL, toJSON()
toJSON() method of the URL interface returns a USVString containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString() .
4365 URL.toString() API, Method, Reference, Stringifier, URL, toString()
URL.toString() stringifier method returns a USVString containing the whole URL. It is effectively a read-only version of URL.href .
4366 URL.username API, Property, Reference, URL, username
username 特性为 URL 接口是 USVString containing the username specified before the domain name.
4367 URL API API, Address, Domain, Forms, Host, IP, Overview, URL, URL API, Web, hostname
The URL API is a component of the URL standard, which defines what constitutes a valid Uniform Resource Locator and the API that accesses and manipulates URLs.
4368 URLSearchParams API, Interface, Landing, Reference, URL API, URLSearchParams
URLSearchParams interface defines utility methods to work with the query string of a URL.
4369 URLSearchParams() API, Constructor, Reference, URL API, URLSearchParams
URLSearchParams() constructor creates and returns a new URLSearchParams object. Leading '?' characters are ignored.
4370 URLSearchParams.append() API, Append, Method, URL API, URLSearchParams
append() 方法在 URLSearchParams interface appends a specified key/value pair as a new search parameter.
4371 URLSearchParams.delete() API, Method, URL API, URLSearchParams, delete
delete() 方法在 URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters.
4372 URLSearchParams.entries() API, Method, Reference, URL API, URLSearchParams
entries() 方法在 URLSearchParams interface returns an iterator allowing iteration through all key/value pairs contained in this object. The key and value of each pair are USVString 对象。
4373 URLSearchParams.forEach() API, Method, Reference, URLSearchParams, forEach
forEach() 方法在 URLSearchParams interface allows iteration through all values contained in this object via a callback function.
4374 URLSearchParams.get() API, Method, URL API, URLSearchParams, get
get() 方法在 URLSearchParams interface returns the first value associated to the given search parameter.
4375 URLSearchParams.getAll() API, Method, URL API, URLSearchParams, getAll
getAll() 方法在 URLSearchParams interface returns all the values associated with a given search parameter as an array.
4376 URLSearchParams.has() API, Method, URL API, URLSearchParams, has
has() 方法在 URLSearchParams interface returns a 布尔 that indicates whether a parameter with the specified name exists.
4377 URLSearchParams.keys() API, Method, Reference, URL API, URLSearchParams
keys() 方法在 URLSearchParams interface returns an iterator allowing iteration through all keys contained in this object. The keys are USVString 对象。
4378 URLSearchParams.set() API, Method, URL API, URLSearchParams, set
set() 方法在 URLSearchParams interface sets the value associated with a given search parameter to the given value. If there were several matching values, this method deletes the others. If the search parameter doesn't exist, this method creates it.
4379 URLSearchParams.sort() API, Method, Reference, URLSearchParams, sort
URLSearchParams.sort() method sorts all key/value pairs contained in this object in place and returns undefined . The sort order is according to unicode code points of the keys. This method uses a stable sorting algorithm (i.e. the relative order between key/value pairs with equal keys will be preserved).
4380 URLSearchParams.toString() API, Method, URL API, URLSearchParams, toString
toString() 方法在 URLSearchParams interface returns a query string suitable for use in a URL.
4381 URLSearchParams.values() API, Iterator, Method, Reference, URL API, URLSearchParams
values() 方法在 URLsearchParams interface returns an iterator allowing iteration through all values contained in this object. The values are USVString 对象。
4382 URLUtilsReadOnly API, Experimental, Expérimental(2), URL API
obsolete URLUtilsReadOnly interface previously defined utility methods for working with URLs. These were then inherited by other interfaces, such as WorkerLocation .
4383 URLUtilsReadOnly.hash API, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly
URLUtilsReadOnly .hash 只读特性返回 DOMString 包含 '#' followed by the fragment identifier of the URL. The hash is not percent encoded.
4384 URLUtilsReadOnly.host API, Experimental, Expérimental(2), Property, Read-only, Reference, Référence(2), URL API, URLUtilsReadOnly
URLUtilsReadOnly .host 只读特性返回 DOMString 包含主机,即 hostname ':' ,和 port of the URL.
4385 URLUtilsReadOnly.hostname API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .hostname 只读特性返回 DOMString 包含 URL 的域。
4386 URLUtilsReadOnly.href API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .href 只读特性返回 DOMString containing the whole URL.
4387 URLUtilsReadOnly.origin API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .origin read-only property is a DOMString containing the Unicode serialization of the origin of the represented URL, that is, for http and https, the scheme followed by '://' , followed by the domain, followed by ':' , followed by the port (the default port, 80 and 443 respectively, if explicitely specified). For URL using 文件: scheme, the value is browser dependant.
4388 URLUtilsReadOnly.pathname API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .pathname 只读特性返回 DOMString 包含初始 '/' followed by the path of the URL.
4389 URLUtilsReadOnly.port API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .port 只读特性返回 DOMString 包含 URL 的端口号。
4390 URLUtilsReadOnly.protocol API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .protocol 只读特性返回 DOMString 包含 URL 的协议方案,包括最终的 ':' .
4391 URLUtilsReadOnly.search API, Experimental, Expérimental(2), Property, Read-only, URL API, URLUtilsReadOnly
URLUtilsReadOnly .search 只读特性返回 DOMString 包含 '?' followed by the parameters of the URL.
4392 URLUtilsReadOnly.toString() API, Experimental, Expérimental(2), Method, Stringifier, URL API, URLUtilsReadOnly
URLUtilsReadOnly .toString() stringifier method returns a DOMString containing the whole URL. It is a synonym for URLUtilsReadOnly.href .
4393 USB API, Interface, Reference, USB, WebUSB, WebUSB API
USB 接口在 WebUSB API provides attributes and methods for finding and connecting USB devices from a web page.
4394 USB.getDevices() API, Method, Reference, USB, WebUSB, WebUSB API, getDevices()
getDevices 方法在 USB interface returns a Promise that resolves with an array of USBDevice objects for paired attached devices. For information on pairing devices, see USB.requestDevice() .
4395 USB.onconnect API, Method, Reference, USB, WebUSB, WebUSB API, onconnect
onconnect 特性为 USB interface is an event handler called whenever a paired device is connected.
4396 USB.ondisconnect API, Method, Reference, USB, WebUSB, WebUSB API, ondisconnect
ondisconnect 特性为 USB is an event handler called whenever a paired device is disconnected.
4397 USB.requestDevice() API, Method, Reference, USB, WebUSB, WebUSB API, getDevices()
requestDevice() method of the USB interface returns a Promise that resolves with an instance of USBDevice if the specified device is found. Calling this function triggers the user agent's pairing flow.
4398 USBDevice API, Interface, Reference, USBDevice, WebUSB, WebUSB API
USBDevice 接口的 WebUSB API provides access to metadata about a paired USB device and methods for controlling it.
4399 USBDevice.claimInterface() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, claimInterface
claimInterface() 方法在 USBDevice interface returns a promise that resolves when the requested interface is claimed for exclusive access.
4400 USBDevice.clearHalt() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, clearHalt
clearHalt() 方法在 USBDevice interface returns a promise that resolves when a halt condition is cleared. A halt condition is when a data tranfer to or from the device has a status of 'stall' , which requires the web page (the host system, in USB terminology) to clear that condition. See the for details.
4401 USBDevice.close() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, close
close() 方法在 USBDevice interface returns a promise that resolves when all open interfaces are released and the device session has ended.
4402 USBDevice.configuration API, Configuration, Property, Reference, USB, USBDevice, WebUSB, WebUSB API
configuration read only property of the USBDevice interface returns a USBConfiguration object for the currently selected interface for a paired USB device.
4403 USBDevice.configurations API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, configurations
configurations read only property of the USBDevice interface an array of device-specific interfaces for controlling a paired USB device.
4404 USBDevice.controlTransferIn() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferIn
controlTransferIn() 方法在 USBDevice interface returns a promise that resolves with a USBInTransferResult when a command or status operation has been transmitted to the USB device.
4405 USBDevice.controlTransferOut() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, controlTransferOut
controlTransferOut() 方法在 USBDevice interface returns a promise that resolves with a USBOutTransferResult when a command or status operation has been transmitted from the USB device.
4406 USBDevice.deviceClass API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass
deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol .
4407 USBDevice.deviceClass API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceClass
deviceClass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol.
4408 USBDevice.deviceProtocol API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceProtocol
deviceProtocol read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceSubclass .
4409 USBDevice.deviceSubclass API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceSubclass
deviceSubclass read only property of the USBDevice interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceProtocol.
4410 USBDevice.deviceVersionMajor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMajor
deviceVersionMajor read only property of the USBDevice interface he major version number of the device in a semantic versioning scheme.
4411 USBDevice.deviceVersionMinor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionMinor
deviceVersionMinor read only property of the USBDevice interface the minor version number of the device in a semantic versioning scheme.
4412 USBDevice.deviceVersionSubminor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, deviceVersionSubminor
deviceVersionSubminor read only property of the USBDevice interface the patch version number of the device in a semantic versioning scheme.
4413 USBDevice.isochronousTransferIn() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferIn
isochronousTransferIn() 方法在 USBDevice interface returns a promise that resolves with a USBIsochronousInTransferResult when time sensitive information has been transmitted to the USB device.
4414 USBDevice.isochronousTransferOut() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, isochronousTransferOut
isochronousTransferOut() 方法在 USBDevice interface returns a promise that resolves with a USBIsochronousOutTransferResult when time sensitive information has been transmitted from the USB device.
4415 USBDevice.manufacturerName API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, manufacturerName
manufacturerName read only property of the USBDevice interface the of the organization that manufactured the USB device.
4416 USBDevice.open() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, open
open() 方法在 USBDevice interface returns a promise that resolves when a device session has started.
4417 USBDevice.opened API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, opened
opened read only property of the USBDevice interface indicates whether a session has been started with a paired USB device. A device must be opened before it can be controlled by a web page.
4418 USBDevice.productID API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productID
productID read only property of the USBDevice interface the manufacturer-defined code that identifies a USB device.
4419 USBDevice.productName API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, productName
productName read only property of the USBDevice interface the manufacturer-defined name that identifies a USB device.
4420 USBDevice.releaseInterface() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, releaseInterface
releaseInterface() 方法在 USBDevice interface returns a promise that resolves when a cliamed interface is released from exclusive access.
4421 USBDevice.reset() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, reset
reset() 方法在 USBDevice interface returns a promise that resolves when the device is reset and all app operations canceled and their promises rejected.
4422 USBDevice.selectAlternateInterface() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectAlternateInterface
selectAlternateInterface() 方法在 USBDevice interface returns a promise that resolves when the specified alternative endpoint is selected.
4423 USBDevice.selectConfiguration() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, selectConfiguration
selectConfiguration() 方法在 USBDevice interface returns a promise that resolves when the specified configuration is selected.
4424 USBDevice.serialNumber API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, serialNumber
serialNumber read only property of the USBDevice interface is the manufacturer-defined serial number for the specific USB device.
4425 USBDevice.transferIn() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferIn
transferIn() 方法在 USBDevice interface returns a promise that resolves with a USBTransferInResult when bulk or interrupt data is transmitted to the USB device.
4426 USBDevice.transferOut() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferOut
transferOut() 方法在 USBDevice interface returns a promise that resolves with a USBTransferOutResult when bulk or interrupt data is transmitted from the USB device.
4427 USBDevice.usbVersionMajor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMajor
usbVersionMajor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMinor and USBDevice.usbVersionSubminor.
4428 USBDevice.usbVersionMinor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionMinor
usbVersionMinor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionSubminor.
4429 USBDevice.usbVersionSubminor API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, usbVersionSubminor
usbVersionSubminor read only property of the USBDevice interface is one of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionMinor.
4430 USBDevice.vendorID API, Property, Reference, USB, USBDevice, WebUSB, WebUSB API, vendorID
vendorID read only property of the USBDevice interface is the official usg.org-assigned vendor ID.
4431 USVString API, DOM, Reference, String, WebIDL
USVString corresponds to the set of all possible sequences of unicode scalar values. USVString maps to a 字符串 when returned in JavaScript; it's generally only used for APIs that perform text processing and need a string of unicode scalar values to operate on. USVString 相当于 DOMString except for not allowing unpaired surrogate codepoints. Unpaired surrogate codepoints present in USVString are converted by the browser to Unicode 'replacement character' U+FFFD , (�).
4432 用户计时 API Guide, Overview, Web Performance
User Timing interface allows the developer to create application specific timestamps that are part of the browser's performance timeline . There are two types of user defined timing event types: the " mark " event type and the " measure " event type .
4433 Using the User Timing API Guide, Web Performance
User Timing interface allows the developer to create application specific timestamps that are part of the browser's performance timeline . There are two types of user defined timing entry types: the " mark " entry type and the " measure " entry type .
4434 UserDataHandler API, DOM, NeedsMarkupWork, Obsolete
When associating user data with a key on a node, Node.setUserData () can also accept, in its third argument, a handler which will be called when the object is cloned, imported, deleted, renamed, or adopted. Per the specification, exceptions should not be thrown in a UserDataHandler . In both document.importNode () and Node.cloneNode () , although user data is not copied over, the handler will be called.
4435 UserProximityEvent API, Experimental, Interface, Proximity Events, Reference
UserProximityEvent indicates whether a nearby physical object is present by using the proximity sensor of a device.
4436 UserProximityEvent.near API, Experimental, NeedsContent, NeedsExample, NeedsSyntax, Property, Proximity
near property tell if there is an object close to the device ( true ) 或不 ( false ).
4437 VRDisplay API, DOM, Experimental, Interface, Media, Reference, VR, VRDisplay, Virtual Reality, WebVR
VRDisplay 接口在 WebVR API represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality.
4438 VRDevice.hardwareUnitId API, Experimental, Obsolete, Property, Reference, VR, VRDevice, Virtual Reality, WebVR, hardwareUnitId
hardwareUnitId 只读特性在 VRDevice interface returns the distinct hardware ID for the overall hardware unit that this VRDevice is a part of. All devices that are part of the same physical piece of hardware will have the same hardwareUnitId .
4439 VRDevice.resetPose() API, Deprecated, Experimental, Method, Reference, VR, VRDevice, Virtual Reality, WebVR, resetPose()
resetPose() 方法在 VRDisplay interface resets the pose for the VRDisplay , treating its current VRPose.position and VRPose.orientation as the "origin/zero" values.
4440 VRDisplay.cancelAnimationFrame() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, cancelAnimationFrame()
cancelAnimationFrame() 方法在 VRDisplay interface is a special implementation of Window.cancelAnimationFrame that unregisters callbacks registered with VRDisplay.requestAnimationFrame() .
4441 VRDisplay.capabilities API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, capabilities
capabilities 只读特性在 VRDisplay interface returns a VRDisplayCapabilities object that indicates the various capabilities of the VRDisplay .
4442 VRDisplay.depthFar API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthFar
depthFar 特性为 VRDisplay interface gets and sets the z-depth defining the far plane of the eye view frustum , i.e. the furthest viewable boundary of the scene.
4443 VRDisplay.depthNear API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, depthNear
depthNear 特性为 VRDisplay interface gets and sets the z-depth defining the near plane of the eye view frustum , i.e. the nearest viewable boundary of the scene.
4444 VRDisplay.displayId API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayId
displayId 只读特性在 VRDisplay interface returns an identifier for this particular VRDisplay , which is also used as an association point in the 手柄 API (见 Gamepad.displayId ).
4445 VRDisplay.displayName API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, displayName
displayName 只读特性在 VRDisplay interface returns a human-readable name to identify the VRDisplay .
4446 VRDisplay.exitPresent() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, exitPresent()
exitPresent() 方法在 VRDisplay interface stops the VRDisplay presenting a scene.
4447 VRDisplay.getEyeParameters() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getEyeParameters()
getEyeParameters() 方法在 VRDisplay interface returns the VREyeParameters object containing the eye parameters for the specified eye.
4448 VRDisplay.getFrameData() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getFrameData
getFrameData() 方法在 VRDisplay interface accepts a VRFrameData object and populates it with the information required to render the current frame.
4449 VRDisplay.getImmediatePose() API, Experimental, Method, Obsolete, Reference, VR, VRDisplay, Virtual Reality, WebVR, getImmediatePose()
getImmediatePose() 方法在 VRDisplay interface returns a VRPose object defining the current pose of the VRDisplay , with no prediction applied.
4450 VRDisplay.getLayers() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getLayers()
getLayers() 方法在 VRDisplay interface returns the layers currently being presented by the VRDisplay .
4451 VRDisplay.getPose() API, Deprecated, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, getPose()
getPose() 方法在 VRDisplay interface returns a VRPose object defining the future predicted pose of the VRDisplay as it will be when the current frame is actually presented.
4452 VRDisplay.isPresenting API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isPresenting
isPresenting 只读特性在 VRDisplay interface returns a 布尔 indicating whether the VRDisplay is currently having content presented through it.
4453 VRDisplay.requestAnimationFrame() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, requestAnimationFrame()
requestAnimationFrame() 方法在 VRDisplay interface is a special implementation of Window.requestAnimationFrame containing a callback function that will be called every time a new frame of the VRDisplay presentation is rendered:
4454 VRDisplay.requestPresent() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Display, WebVR, requestPresent()
requestPresent() 方法在 VRDisplay interface starts the VRDisplay presenting a scene.
4455 VRDisplay.stageParameters API, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, stageParameters
stageParameters 只读特性在 VRDisplay interface returns a VRStageParameters object containing room-scale parameters, if the VRDisplay is capable of supporting room-scale experiences.
4456 VRDisplay.submitFrame() API, Experimental, Method, Reference, VR, VRDisplay, Virtual Reality, WebVR, submitFrame()
submitFrame() 方法在 VRDisplay interface captures the current state of the VRLayerInit currently being presented and displays it on the VRDisplay .
4457 VRdisplay.isConnected API, Deprecated, Experimental, Property, Reference, VR, VRDisplay, Virtual Reality, WebVR, isConnected
isConnected 只读特性在 VRDisplay interface returns a 布尔 indicating whether the VRDisplay is connected to the computer.
4458 VRDisplayCapabilities API, Experimental, Interface, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR
VRDisplayCapabilities 接口在 WebVR API describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information.
4459 VRDisplayCapabilities.canPresent API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, canPresent
canPresent 只读特性在 VRDisplayCapabilities interface returns a 布尔 stating whether the VR display is capable of presenting content (e.g. through an HMD).
4460 VRDisplayCapabilities.hasExternalDisplay API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasExternalDisplay
hasExternalDisplay 只读特性在 VRDisplayCapabilities interface returns a 布尔 stating whether the VR display is separate from the device's primary display.
4461 VRDisplayCapabilities.hasOrientation API, Deprecated, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasOrientation
hasOrientation 只读特性在 VRDisplayCapabilities interface returns a 布尔 stating whether the VR display can track and return orientation information.
4462 VRDisplayCapabilities.hasPosition API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, hasPosition
hasPosition 只读特性在 VRDisplayCapabilities interface returns a 布尔 stating whether the VR display can track and return position information.
4463 VRDisplayCapabilities.maxLayers API, Experimental, Property, Reference, VR, VRDisplayCapabilities, Virtual Reality, WebVR, maxLayers
maxLayers 只读特性在 VRDisplayCapabilities interface returns a number indicating the maximum number of VRLayer s that the VR display can present at once (e.g. the maximum length of the array that Display.requestPresent() can accept.)
4464 VRDisplayEvent API, Experimental, Interface, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR
VRDisplayEvent 接口在 WebVR API represents represents the event object of WebVR-related events (see the list of WebVR window extensions ).
4465 VRDisplayEvent.VRDisplayEvent() API, Constructor, Experimental, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR
VRDisplayEvent constructor creates a VRDisplayEvent 对象实例。
4466 VRDisplayEvent.display API, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, display
display 只读特性在 VRDisplayEvent interface returns the VRDisplay associated with this event.
4467 VRDisplayEvent.reason API, Experimental, Property, Reference, VR, VRDisplayEvent, Virtual Reality, WebVR, reason
reason 只读特性在 VRDisplayEvent interface returns a human-readable reason why the event was fired.
4468 VREyeParameters API, Experimental, Landing, Reference, VR, VREyeParameters, Virtual Reality, WebVR
VREyeParameters 接口在 WebVR API represents all the information required to correctly render a scene for a given eye, including field of view information.
4469 VREyeParameters.fieldOfView API, Deprecated, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, fieldOfView
fieldOfView 只读特性在 VREyeParameters interface returns a VRFieldOfView 对象 describing t he current field of view for the eye, which can vary as the user adjusts their interpupillary distance (IPD).
4470 VREyeParameters.maximumFieldOfView API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, maximumFieldOfView
maximumFieldOfView 只读特性在 VREyeParameters interface describes the maximum supported field of view for the current eye.
4471 VREyeParameters.minimumFieldOfView API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, minimumFieldOfView
minimumFieldOfView 只读特性在 VREyeParameters interface describes the minimum supported field of view for the current eye.
4472 VREyeParameters.offset API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, offset
offset 只读特性在 VREyeParameters interface r epresents the o ffset from the center point between the user's eyes to the center of the eye, measured in meters.
4473 VREyeParameters.recommendedFieldOfView API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, recommendedFieldOfView
recommendedFieldOfView 只读特性在 VREyeParameters interface describes the recommended field of view for the current eye — ideally based on user calibration.
4474 VREyeParameters.renderHeight API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderHeight
renderHeight 只读特性在 VREyeParameters interface describes the recommended render target height of each eye viewport, in pixels.
4475 VREyeParameters.renderRect API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VREyeParameters, Virtual Reality, WebVR, renderRect
renderRect 只读特性在 VREyeParameters interface 指定 the viewport of a canvas into which visuals for the current eye should be rendered.
4476 VREyeParameters.renderWidth API, Experimental, Property, Reference, VR, VREyeParameters, Virtual Reality, WebVR, renderWidth
renderWidth 只读特性在 VREyeParameters interface describes the recommended render target width of each eye viewport, in pixels.
4477 VRFieldOfView API, Experimental, Interface, Reference, VR, VRFieldOfView, Virtual Reality, WebVR
VRFieldOfView 接口在 WebVR API represents a field of view defined by 4 different degree values describing the view from a center point.
4478 VRFieldOfView.VRFieldOfView() API, Constructor, Obsolete, Reference, VR, VRFieldOfView, Virtual Reality, WebVR
VRFieldOfView() 构造函数创建新 VRFieldOFView 对象。
4479 VRFieldOfView.downDegrees API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, downDegrees
downDegrees 只读特性在 VRFieldOfView interface returns the number of degrees downwards that the field of view extends in.
4480 VRFieldOfView.leftDegrees API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, leftDegrees
leftDegrees 只读特性在 VRFieldOfView interface returns the number of degrees to the left that the field of view extends in.
4481 VRFieldOfView.rightDegrees API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, rightDegrees
rightDegrees 只读特性在 VRFieldOfView interface returns the number of degrees to the right that the field of view extends in.
4482 VRFieldOfView.upDegrees API, Experimental, Property, Reference, VR, VRFieldOfView, Virtual Reality, WebVR, upDegrees
upDegrees 只读特性在 VRFieldOfView interface returns the number of degrees upwards that the field of view extends in.
4483 VRFrameData API, Experimental, Interface, Reference, VR, VRFrameData, Virtual Reality, WebVR
VRFrameData 接口在 WebVR API represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData() .
4484 VRFrameData.VRFrameData() API, Constructor, Experimental, Reference, VR, VRFrameData, Virtual Reality, WebVR
VRFrameData constructor creates a VRFrameData 对象实例。
4485 VRFrameData.leftProjectionMatrix API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftProjectionMatrix
leftProjectionMatrix 只读特性在 VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the left eye’s rendering.
4486 VRFrameData.leftViewMatrix API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, leftViewMatrix
leftViewMatrix 只读特性在 VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the left eye’s rendering.
4487 VRFrameData.pose API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, pose
pose 只读特性在 VRFrameData interface returns the VRPose VRDisplay 在当前 VRFrameData.timestamp .
4488 VRFrameData.rightProjectionMatrix API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightProjectionMatrix
rightProjectionMatrix 只读特性在 VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the projection to be used for the right eye’s rendering.
4489 VRFrameData.rightViewMatrix API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, rightViewMatrix
rightViewMatrix 只读特性在 VRFrameData interface returns a Float32Array representing a 4x4 matrix that describes the view transform to be used for the right eye’s rendering.
4490 VRFrameData.timestamp API, Experimental, Property, Reference, VR, VRFrameData, Virtual Reality, WebVR, timeStamp
timestamp 只读特性在 VRFrameData interface returns a constantly increasing timestamp value representing the time a frame update occurred.
4491 VRLayerInit API, Dictionary, Experimental, Interface, Reference, VR, VRLayerInit, Virtual Reality, WebVR
VRLayerInit interface (dictionary) of the WebVR API represents a content layer (an HTMLCanvasElement or OffscreenCanvas ) that you want to present in a VR display.
4492 VRLayerInit.leftBounds API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, leftBounds
leftBounds 特性为 VRLayerInit interface (dictionary) defines the left texture bounds of the canvas whose contents will be presented by the VRDisplay .
4493 VRLayerInit.rightBounds API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, rightBounds
rightBounds 特性为 VRLayerInit interface (dictionary) defines the right texture bounds of the canvas whose contents will be presented by the VRDisplay .
4494 VRLayerInit.source API, Experimental, Property, Reference, VR, VRLayerInit, Virtual Reality, WebVR, source
source 特性为 VRLayerInit interface (dictionary) defines the canvas whose contents will be presented by the VRDisplay .
4495 VRPose API, Experimental, Landing, Reference, VR, VRPose, Virtual Reality, WebVR
VRPose 接口在 WebVR API represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.)
4496 VRPose.angularAcceleration API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularAcceleration
angularAcceleration 只读特性在 VRPose interface returns an array representing the angular acceleration vector of the VRDisplay 在当前 VRPose.timestamp , in meters per second per second.
4497 VRPose.angularVelocity API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, angularVelocity
angularVelocity 只读特性在 VRPose interface returns an array representing the angular velocity vector of the VRDisplay 在当前 VRPose.timestamp , in radians per second.
4498 VRPose.hasOrientation API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasOrientation
hasOrientation 只读特性在 VRPositionState interface returns a boolean indicating whether the VRPositionState.orientation property is valid (i.e. if the hardware is currently registering a valid orientation). If it is false , the orientation property will return null .
4499 VRPose.hasPosition API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPositionState, Virtual Reality, WebVR, hasPosition
hasPosition 只读特性在 VRPositionState interface returns a boolean indicating whether the VRPositionState.position property is valid (i.e. if the hardware is currently registering a valid position). If it is false 位置 property will return null .
4500 VRPose.linearAcceleration API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearAcceleration
linearAcceleration 只读特性在 VRPose interface returns an array representing the linear acceleration vector of the VRDisplay 在当前 VRPose.timestamp , in meters per second per second.
4501 VRPose.linearVelocity API, Experimental, Expérimental(2), Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, linearVelocity
linearVelocity 只读特性在 VRPose interface returns an array representing the linear velocity vector of the VRDisplay 在当前 VRPose.timestamp , in meters per second.
4502 VRPose.orientation API, Experimental, Expérimental(2), Orientation, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR
orientation 只读特性在 VRPositionState interface returns the orientation of the sensor at the current VRPose.timestamp , as a quarternion value.
4503 VRPose.position API, Experimental, Expérimental(2), Position, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR
位置 只读特性在 VRPose interface returns the position of the VRDisplay 在当前 VRPose.timestamp as a 3D vector.
4504 VRPose.timestamp API, Experimental, Expérimental(2), Obsolete, Property, Reference, Référence(2), VR, VRPose, Virtual Reality, WebVR, timeStamp
timestamp 只读特性在 VRPose interface returns the current time stamp of the system — a monotonically increasing value representing the time since the current app was started.
4505 VRStageParameters API, Experimental, Interface, Reference, VR, VRStageParameters, Virtual Reality, WebVR
VRStageParameters 接口在 WebVR API represents the values describing the the stage area for devices that support room-scale experiences.
4506 VRStageParameters.sittingToStandingTransform API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sittingToStandingTransform
sittingToStandingTransform 只读特性在 VRStageParameters interface contains a matrix that transforms the sitting-space view matrices of VRFrameData to standing-space.
4507 VRStageParameters.sizeX API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeX
sizeX 只读特性在 VRStageParameters interface returns the w idth of the play-area bounds in meters.
4508 VRStageParameters.sizeY API, Experimental, Property, Reference, VR, VRStageParameters, Virtual Reality, WebVR, sizeY
sizeY 只读特性在 VRStageParameters interface returns the depth of the play-area bounds in meters.
4509 VTTCue VTTCue, text track, vtt
This interface also inherits properties from TextTrackCue .
4510 VTTCue() API, Accessibility, Constructor, Reference, VTTCue, WebVTT, WebVTT API, a11y, captions, vtt
VTTCue() constructor creates and returns a new VTTCue 对象。
4511 VTTRegion API, VTTRegion, WebVTT
VTTRegion interface—part of the API for handling WebVTT (text tracks on media presentations)—describes a portion of the video to render a VTTCue onto.
4512 ValidityState API, Constraint Validation API, Forms, HTML DOM, Interface
ValidityState interface represents the validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
4513 validity.badInput API, Constraints API, HTML DOM, Property, Read-only, ValidityState
只读 badInput property of a ValidityState object indicates if the user has provided input that the browser is unable to convert. For example, if you have a number input element whose content is a string. 注意: While this is unsupported in Internet Explorer, any non-numeric value will be dismissed from the field if it is a number input.
4514 validity.tooLong API, Constraint Validation API, DOM, Property, Reference
只读 tooLong property of a ValidityState object indicates if the value of an <input> , <button> , <select> , <output> , <fieldset> or <textarea> , after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength 属性。
4515 validity.tooShort
No summary!
4516 振动 API Beginner, Mobile, Vibration
Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The 振动 API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it.
4517 VideoConfiguration API, Audio, Experimental, Interface, Media Capabilities API, Reference, Video, VideoConfiguration
VideoConfiguration dictionary of the 媒体能力 API is used to define the video file being tested when calling the MediaCapabilities 方法 encodingInfo() and decodingInfo() to determine whether or not the described video configuration is supported, and how smoothly and how smoooth and power-efficient it can be handled.
4518 VideoPlaybackQuality API, Experimental, Frames, HTML DOM, Interface, Media, Media Playback Quality, Media Playback Quality API, Playback, Quality, Reference, Video, VideoPlaybackQuality
A VideoPlaybackQuality object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.
4519 VideoPlaybackQuality.corruptedVideoFrames API, Corruption, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, corruptedVideoFrames
VideoPlaybackQuality interface's read-only corruptedVideoFrames property the number of corrupted video frames that have been received since the <video> element was last loaded or reloaded.
4520 VideoPlaybackQuality.creationTime API, Experimental, Media, Media Playback Quality, Media Playback Quality API, Property, Quality, Reference, Video, VideoPlaybackQuality, creationTime
只读 creationTime property on the VideoPlaybackQuality interface reports the number of milliseconds since the browsing context was created this quality sample was recorded.
4521 VideoPlaybackQuality.droppedVideoFrames API, Data Loss, Experimental, Frames, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, droppedVideoFrames
只读 droppedVideoFrames 特性为 VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement .
4522 VideoPlaybackQuality.totalFrameDelay API, Experimental, Media Source Extensions, Obsolete, Property, Reference, Video, VideoPlaybackQuality, totalFrameDelay
VideoPlaybackQuality.totalFrameDelay 只读特性返回 double containing the sum of the frame delay since the creation of the associated HTMLVideoElement . The frame delay is the difference between a frame's theoretical presentation time and its effective display time.
4523 VideoPlaybackQuality.totalVideoFrames API, Experimental, Frames, HTML DOM, Media, Media Playback Quality, Media Playback Quality API, Playback, Property, Quality, Reference, Video, VideoPlaybackQuality, totalVideoFrames
VideoPlaybackQuality 接口的 totalVideoFrames read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.
4524 VideoTrack HTML, HTML DOM, Interface, Media, Reference, Video, VideoTrack, track
VideoTrack interface represents a single video track from a <video> 元素。
4525 VideoTrack.id API, HTML DOM, Interface, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track
id property contains a string which uniquely identifies the track represented by the VideoTrack .
4526 VideoTrack.kind API, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, id, track
kind property contains a string indicating the category of video contained in the VideoTrack .
4527 VideoTrack.label API, HTML DOM, Media, Property, Read-only, Reference, Video, Video Track, VideoTrack, label, metadata, track
只读 VideoTrack property label returns a string specifying the video track's human-readable label, if one is available; otherwise, it returns an empty string.
4528 VideoTrack.selected HTML DOM, Media, Media Controls, Media Track, Property, Reference, Video, VideoTrack, selected, track
VideoTrack property selected controls whether or not a particular video track is active.
4529 VideoTrack.sourceBuffer API, HTML DOM, MSE, Media, Media Source Extensions, Property, Read-only, Reference, SourceBuffer, Video, VideoTrack, track
只读 VideoTrack property sourceBuffer 返回 SourceBuffer that created the track, or null if the track was not created by a SourceBuffer SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
4530 Videotrack.language API, HTML DOM, Language, Localization, Media, Property, Read-only, Reference, Video, VideoTrack, track
只读 VideoTrack property 语言 returns a string identifying the language used in the video track.
4531 VideoTrackList API, HTML DOM, Interface, Media, Reference, Track List, Tracks, Video, VideoTrackList, list
VideoTrackList interface is used to represent a list of the video tracks contained within a <video> element, with each track represented by a separate VideoTrack object in the list.
4532 VideoTrackList.length API, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, length, list, track
只读 VideoTrackList property length returns the number of entries in the VideoTrackList , each of which is a VideoTrack representing one video track in the media element.
4533 VideoTrackList.onaddtrack API, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onaddtrack, track
VideoTrackList property onaddtrack is an event handler which is called when the addtrack event occurs, indicating that a new video track has been added to the media element whose video tracks the VideoTrackList represents.
4534 VideoTrackList.onchange API, Adding Tracks, Adding Video Tracks, Event Handler, HTML DOM, Media, Property, Reference, Video, VideoTrackList, addTrack, onchange, track
VideoTrackList property onchange is an event handler which is called when the change event occurs, indicating that a VideoTrack VideoTrackList has been made active.
4535 VideoTrackList.onremovetrack API, Event Handler, HTML DOM, Media, Property, Reference, Removing Tracks, Removing Video Tracks, Video, VideoTrackList, onremovetrack, remove, removeTrack, track
VideoTrackList onremovetrack event handler is called when the removetrack event occurs, indicating that a video track has been removed from the media element, and therefore also from the VideoTrackList .
4536 VideoTrackList.selectedIndex API, HTML DOM, Media, Property, Read-only, Reference, Video, VideoTrackList, track
只读 VideoTrackList property selectedIndex returns the index of the currently selected track, if any, or -1 否则。
4537 VideoTrackList: addtrack event API, Reference, events
addtrack event is fired when a track is added to a VideoTrackList .
4538 VideoTrackList: change event 事件
change event is fired when a video track is made active or inactive, for example by changing the track's selected 特性。
4539 VideoTrackList: removetrack event API, Media Streams API, MediaStreamTrackEvent, NeedsBrowserCompatibility, Reference, Removing Tracks, events, removeTrack
removetrack event is fired when a track is removed from a VideoTrackList .
4540 getTrackById API, HTML DOM, Media, Method, Reference, Track ID, Track List, Tracks, Video, VideoTrackList, getTrackById, id, track
VideoTrackList 方法 getTrackById() 返回第一 VideoTrack object from the track list whose id matches the specified string.
4541 Visual Viewport API API, Experimental, Layout, Overview, Reference, layout viewport, viewport, visual, visual viewport
Visual Viewport API provides an explicit mechanism for querying and modifying the properties of the visual viewport. The visual viewport is the visual portion of a screen excluding on-screen keyboards, areas outside of a pinch-zoom area, or any other on-screen artifact that doesn't scale with the dimensions of a page.
4542 VisualViewport API, Experimental, Interface, Reference, Visual Viewport API, VisualViewport, viewport
VisualViewport interface of the Visual Viewport API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window.
4543 VisualViewport.height API, Property, Reference, Visual Viewport API, VisualViewport, height, viewport
height 只读特性在 VisualViewport interface returns the height of the visual viewport, in CSS pixels.
4544 VisualViewport.offsetTop API, Property, Reference, Visual Viewport API, VisualViewport, offsetTop, viewport
offsetTop 只读特性在 VisualViewport interface returns the offset of the top edge of the visual viewport from the top edge of the layout viewport in CSS pixels.
4545 VisualViewport.offsetleft API, Property, Reference, Visual Viewport API, VisualViewport, offsetleft, viewport
offsetLeft 只读特性在 VisualViewport interface returns the offset of the left edge of the visual viewport from the left edge of the layout viewport in CSS pixels.
4546 VisualViewport.onresize API, Event, Experimental, Reference, Visual Viewport API, VisualViewport, onresize, resize, viewport
onresize event handler of the VisualViewport interface is called when a viewport is resized, i.e. when the resize event is fired.
4547 VisualViewport.onscroll API, Event, Experimental, Reference, Scroll, Visual Viewport API, VisualViewport, onscroll, viewport
onscroll event handler of the VisualViewport interface is called when a viewport is scrolled, i.e. when the scroll event is fired.
4548 VisualViewport.pageLeft API, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport
pageLeft 只读特性在 VisualViewport interface returns the x coordinate relative to the initial containing block origin of the left edge of the visual viewport, in CSS pixels.
4549 VisualViewport.pageTop API, Property, Reference, Visual Viewport API, VisualViewport, pageLeft, viewport
pageTop 只读特性在 VisualViewport interface returns the y coordinate relative to the initial containing block origin of the top edge of the visual viewport, in CSS pixels.
4550 VisualViewport.scale API, Property, Reference, Visual Viewport API, VisualViewport, size, viewport
scale 只读特性在 VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport.
4551 VisualViewport.width API, Property, Reference, Visual Viewport API, VisualViewport, viewport, width
width 只读特性在 VisualViewport interface returns the width of the visual viewport, in CSS pixels.
4552 VisualViewport: resize event API, Experimental, Reference, VisualViewport, events, resize
可以使用 resize event in an addEventListener 方法:
4553 VisualViewport: scroll event API, Experimental, Reference, Scroll, VisualViewport, events
可以使用 scroll event in an addEventListener 方法:
4554 WEBGL_color_buffer_float API, Reference, WebGL, WebGL extension
WEBGL_color_buffer_float 扩展属于 WebGL API and adds the ability to render to 32-bit floating-point color buffers.
4555 WEBGL_compressed_texture_astc API, Reference, WebGL, WebGL extension, WebGL extensions
WEBGL_compressed_texture_astc 扩展属于 WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
4556 WEBGL_compressed_texture_astc.getSupportedProfiles() API, Method, Reference, WebGL, WebGL extension, WebGL extensions
WEBGL_compressed_texture_astc.getSupportedProfiles() method returns an array of strings containing the names of the ASTC profiles supported by the implementation.
4557 WEBGL_compressed_texture_atc API, Reference, WebGL, WebGL extensions
WEBGL_compressed_texture_atc 扩展属于 WebGL API and exposes 3 ATC compressed texture formats. ATC is a proprietary compression algorithm for compressing textures on handheld devices.
4558 WEBGL_compressed_texture_etc API, Reference, WebGL, WebGL extension
WEBGL_compressed_texture_etc 扩展属于 WebGL API and exposes 10 ETC/EAC compressed texture formats .
4559 WEBGL_compressed_texture_etc1 API, Reference, WebGL, WebGL extension
WEBGL_compressed_texture_etc1 扩展属于 WebGL API and exposes the ETC1 compressed texture format .
4560 WEBGL_compressed_texture_pvrtc API, Reference, WebGL, WebGL extension
WEBGL_compressed_texture_pvrtc 扩展属于 WebGL API and exposes four PVRTC compressed texture formats .
4561 WEBGL_compressed_texture_s3tc API, Reference, WebGL, WebGL extension
WEBGL_compressed_texture_s3tc 扩展属于 WebGL API and exposes four S3TC compressed texture formats .
4562 WEBGL_compressed_texture_s3tc_srgb API, Reference, WebGL, WebGL extension
WEBGL_compressed_texture_s3tc_srgb 扩展属于 WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
4563 WEBGL_debug_renderer_info API, Reference, WebGL, WebGL extension
WEBGL_debug_renderer_info 扩展属于 WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
4564 WEBGL_debug_shaders API, Reference, WebGL, WebGL extension
WEBGL_debug_shaders 扩展属于 WebGL API and exposes a method to debug shaders from privileged contexts.
4565 WEBGL_debug_shaders.getTranslatedShaderSource() API, Method, Reference, WebGL, WebGL extension
WEBGL_debug_shaders.getTranslatedShaderSource() method is part of the WebGL API and allows you to debug a translated shader.
4566 WEBGL_depth_texture API, Reference, WebGL, WebGL extension
WEBGL_depth_texture 扩展属于 WebGL API and defines 2D depth and depth-stencil textures.
4567 WEBGL_draw_buffers API, Reference, WebGL, WebGL extension
WEBGL_draw_buffers 扩展属于 WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading ,例如。
4568 WEBGL_draw_buffers.drawBuffersWEBGL() API, Method, Reference, WebGL
WEBGL_draw_buffers.drawBuffersWEBGL() method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
4569 WEBGL_lose_context API, Reference, WebGL, WebGL extension
WEBGL_lose_context 扩展属于 WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext .
4570 WEBGL_lose_context.loseContext() API, Method, Reference, WebGL, WebGL extension
WEBGL_lose_context.loseContext() method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext 上下文。
4571 WEBGL_lose_context.restoreContext() API, Method, Reference, WebGL, WebGL extension
WEBGL_lose_context.restoreContext() method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext 对象。
4572 WaveShaperNode API, Interface, Reference, WaveShaperNode, Web Audio API
A WaveShaperNode 总是准确拥有一个输入和一个输出。
4573 WaveShaperNode.WaveShaperNode() API, Audio, Constructor, Media, Reference, WaveShaperNode, Web Audio API
WaveShaperNode() constructor of the Web 音频 API creates a new WaveShaperNode object which is an AudioNode that represents a non-linear distorter.
4574 WaveShaperNode.curve API, Property, Reference, WaveShaperNode, Web Audio API, curve
curve 特性为 WaveShaperNode 接口是 Float32Array of numbers describing the distortion to apply.
4575 WaveShaperNode.oversample API, Property, Reference, WaveShaperNode, Web Audio API, oversample
oversample 特性为 WaveShaperNode interface is an enumerated value indicating if oversampling must be used. Oversampling is a technique for creating more samples (up-sampling) before applying a distortion effect to the audio signal.
4576 Web 动画 API API, Animation, Experimental, Landing, Reference, Web Animations
Web 动画 API allows for synchronizing and timing changes to the presentation of a Web page, i.e. animation of DOM elements. It does so by combining two models: the Timing Model and the Animation Model.
4577 关键帧格式 API, Animation, Experimental, KeyframeEffect(), Reference, animate(), setKeyframes(), waapi, web animations api
Element.animate() , KeyframeEffect.KeyframeEffect() ,和 KeyframeEffect.setKeyframes() all accept objects formatted to represent a set of keyframes. There are several options to this format, which are explained below.
4578 使用 Web 动画 API Alice, Animations, Beginner, CSS, Guide, JavaScript, Timing, Tutorial, animate, duration, keyframes, pause, play, reverse, web animations api
The Web Animations API lets us construct animations and control their playback with JavaScript. This article will start you off in the right direction with fun demos and tutorials featuring Alice in Wonderland.
4579 Web 动画 API 概念 Animations, Beginner, CSS, Guide, JavaScript, animate, concepts, web animations api
The Web Animations API (WAAPI) provides JavaScript developers access to the browser’s animation engine and describes how animations should be implemented across browsers. This article will introduce you to the important concepts behind the WAAPI, providing you with a theoretical understanding of how it works so you can use it effectively. To learn how to put the API to use, check out its sister article, 使用 Web 动画 API .
4580 Web 音频 API API, Audio, Example, Landing, Overview, Web Audio API, sound
The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more.
4581 Advanced techniques: creating sound, sequencing, timing, scheduling API, Advanced, Audio, Guide, Reference, Web Audio API, sequencer
We've now got an instrument inside our browser! Keep playing and experimenting — you can expand on any of these techniques to create something much more elaborate.
4582 Basic concepts behind Web Audio API Audio, Beginner, Guide, Introduction, Media, Web Audio, Web Audio API, concepts, sound
This article explains some of the audio theory behind how the features of the Web Audio API work, to help you make informed decisions while designing how audio is routed through your app.
4583 Controlling multiple parameters with ConstantSourceNode Audio, Example, Guide, Intermediate, Media, Tutorial, Web Audio, Web Audio API
This article demonstrates how to use a ConstantSourceNode to link multiple parameters together so they share the same value, which can be changed by simply setting the value of the ConstantSourceNode.offset 参数。
4584 Porting webkitAudioContext code to standards based AudioContext API, Reference, Référence(2), Web Audio API, porting, webkitAudioContext
The Web Audio standard was first implemented in WebKit , and the implementation was built in parallel with the work on the specification of the API.  As the specification evolved and changes were made to the spec, some of the old implementation pieces were not removed from the WebKit (and Blink) implementations due to backwards compatibility reasons.  New engines implementing the Web Audio spec (such as Gecko) will only implement the official, final version of the specification, which means that code using webkitAudioContext or old naming conventions in the Web Audio specification may not immediately work out of the box in a compliant Web Audio implementation.  This article attempts to summarize the areas where developers are likely to encounter these problems and provide examples on how to port such code to standards based AudioContext, which will work across different browser engines.
4585 Simple synth keyboard Audio, Example, Guide, Media, Oscillator, Piano, Synthesizer, Tutorial, Web Audio API
This article presents the code and working demo of a video keyboard you can play using the mouse. The keyboard allows you to switch among the standard waveforms as well as one custom waveform, and you can control the master gain using a volume slider beneath the keyboard. This example makes use of the following Web API interfaces: AudioContext , OscillatorNode , PeriodicWave ,和 GainNode .
4586 Tools for analyzing Web Audio usage API, Audio, Debugging, Media, Tools, Web, Web Audio, Web Audio API, sound
While working on your Web Audio API code, you may find that you need tools to analyze the graph of nodes you create or to otherwise debug your work. This article discusses tools available to help you do that.
4587 Using IIR filters API, Audio, Guide, IIRFilter, Using, Web Audio API
That's it for our IIRFilter demo. This should have shown you how to use the basics, and helped you to understand what it's useful for and how it works.
4588 使用 Web 音频 API API, Audio, Guide, Playback, Using, Web, Web Audio, Web Audio API, basics, sound
Great! We have a boombox that plays our 'tape', and we can adjust the volume and stereo panning, giving us a fairly basic working audio graph.
4589 Visualizations with Web Audio API API, Web Audio API, analyser, fft, visualisation, visualization, waveform
To extract data from your audio source, you need an AnalyserNode , which is created using the AudioContext.createAnalyser() method, for example:
4590 Web Audio API best practices Audio, Best practices, Guide, Web Audio API
There's no strict right or wrong way when writing creative code. As long as you consider security, performance, and accessibility, you can adapt to your own style. In this article, we'll share a number of best practices — guidelines, tips, and tricks for working with the Web Audio API.
4591 Web audio spatialization basics PannerNode, Web Audio API, panning
Hopefully, this article has given you an insight into how Web Audio spatialization works, and what each of the PannerNode properties do (there are quite a few of them). The values can be hard to manipulate sometimes and depending on your use case it can take some time to get them right.
4592 Web 身份验证 API 2FA, API, Authentication, Landing, Reference, Web Authentication API, WebAuthn
The Web Authentication API is an extension of the 证书管理 API that enables strong authentication with public key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts.
4593 Attestation and Assertion API, Guide, Web Authentication API, WebAuthn
There are two different types of certificates used in WebAuthn for registration and authentication. They have similar names and similar purposes, but understanding the differences may be an initial point of confusion. The sections below describe attestation, which happens during registration, and assertion which happens during authentication.
4594 Web Bluetooth API API, Bluetooth, Overview, Reference, Web Bluetooth API
The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals.
4595 Web Budget API API, BudgetService, BudgetState, Landing, NeedsContent, Overview, Reference, Web Budget API
TBD
4596 Web 加密 API API, Overview, Reference, Web Crypto API
Web 加密 API is an interface allowing a script to use cryptographic primitives in order to build systems using cryptography.
4597 Web Locks API API, Experimental, LockManager, Overview, Reference, Web Locks API, lock
The Web Locks API allows scripts running in one tab or worker to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script executing in the same origin can acquire the same lock, which allows a web app running in multiple tabs or workers to coordinate work and the use of resources.
4598 Web 语音 API API, Experimental, Landing, Reference, Web Speech API, recognition, speech, synthesis
The Web Speech API makes web apps able to handle voice data. There are two components to this API:
4599 Using the Web Speech API API, Guide, Tutorial, Using, Web Speech API, recognition, speech, synthesis
The Web Speech API provides two distinct areas of functionality — speech recognition, and speech synthesis (also known as text to speech, or tts) — which open up interesting new possibilities for accessibility, and control mechanisms. This article provides a simple introduction to both areas, along with demos.
4600 Web 存储 API API, Reference, Storage, Web Storage, localStorage, sessionStorage
Web 存储 API provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookies.
4601 Local storage with Window.localStorage API, Guide, Offline, Storage API, localStorage
Window 对象的 Window.localStorage property is analogous to sessionStorage (with the same same-origin rules applied) but it is persistent across sessions. Both are instances of the 存储 接口。
4602 使用 Web 存储 API API, Guide, Storage, Web Storage API, localStorage, sessionStorage
The Web Storage API provides mechanisms by which browsers can securely store key/value pairs.
4603 Web Video Text Tracks Format (WebVTT) API, Intermediate, Media, NeedsMarkupWork, NeedsUpdate, Reference, Video, Web Video Text Tracks, WebVTT, captions, subtitles, text tracks
Web Video Text Tracks Format ( WebVTT ) is a format for displaying timed text tracks (such as subtitles or captions) using the <track> 元素。
4604 Web 工作者 API API, Overview, Reference, Web Workers
Web 工作者 makes it possible to run a script operation in a background thread separate from the main execution thread of a web application. The advantage of this is that laborious processing can be performed in a separate thread, allowing the main (usually the UI) thread to run without being blocked/slowed down.
4605 可用于 Web 工作者的函数和类 Reference, Référence(2), Web
In addition to the standard JavaScript set of functions (such as 字符串 , 数组 , 对象 , JSON , etc), there are a variety of functions available from the DOM to workers. This article provides a list of those.
4606 结构化克隆算法 Advanced, DOM, HTML5, JavaScript, Reference
The structured clone algorithm is an algorithm defined by the HTML5 specification for copying complex JavaScript objects. It is used internally when transferring data to and from 工作者 凭借 postMessage() or when storing objects with IndexedDB . It builds up a clone by recursing through the input object while maintaining a map of previously visited references in order to avoid infinitely traversing cycles.
4607 使用 Web 工作者 Advanced, Firefox, Guide, HTML5, JavaScript, WebWorkers, Workers
Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null). Once created, a worker can send messages to the JavaScript code that created it by posting messages to an event handler specified by that code (and vice versa).
4608 WebGL2RenderingContext API, Experimental, Reference, WebGL, WebGL2
WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML <canvas> 元素。
4609 WebGL2RenderingContext.beginQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.beginQuery() 方法在 WebGL 2 API starts an asynchronous query. The target parameter indicates which kind of query to begin.
4610 WebGL2RenderingContext.beginTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.beginTransformFeedback() 方法在 WebGL 2 API starts a transform feedback operation.
4611 WebGL2RenderingContext.bindBufferBase() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.bindBufferBase() 方法在 WebGL 2 API binds a given WebGLBuffer to a given binding point ( target ) at a given index .
4612 WebGL2RenderingContext.bindBufferRange() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.bindBufferRange() 方法在 WebGL 2 API binds a range of a given WebGLBuffer to a given binding point ( target ) at a given index .
4613 WebGL2RenderingContext.bindSampler() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.bindSampler() 方法在 WebGL 2 API binds a passed WebGLSampler object to the texture unit at the passed index.
4614 WebGL2RenderingContext.bindTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.bindTransformFeedback() 方法在 WebGL 2 API binds a passed WebGLTransformFeedback object to the current GL state.
4615 WebGL2RenderingContext.bindVertexArray() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.bindVertexArray() 方法在 WebGL 2 API binds a passed WebGLVertexArrayObject object to the buffer.
4616 WebGL2RenderingContext.blitFramebuffer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.blitFramebuffer() 方法在 WebGL 2 API transfers a block of pixels from the read framebuffer to the draw framebuffer.
4617 WebGL2RenderingContext.clearBuffer[fiuv]() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.clearBuffer[fiuv]() methods of the WebGL 2 API clear buffers from the currently bound framebuffer.
4618 WebGL2RenderingContext.clientWaitSync() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.clientWaitSync() 方法在 WebGL 2 API blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed.
4619 WebGL2RenderingContext.compressedTexSubImage3D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.compressedTexSubImage3D() 方法在 WebGL API specifies a three-dimensional sub-rectangle for a texture image in a compressed format.
4620 WebGL2RenderingContext.copyBufferSubData() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.copyBufferSubData() 方法在 WebGL 2 API copies part of the data of a buffer to another buffer.
4621 WebGL2RenderingContext.copyTexSubImage3D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.copyTexSubImage3D() 方法在 WebGL API copies pixels from the current WebGLFramebuffer into an existing 3D texture sub-image.
4622 WebGL2RenderingContext.createQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.createQuery() 方法在 WebGL 2 API creates and initializes WebGLQuery objects, which provide ways to asynchronously query for information.
4623 WebGL2RenderingContext.createSampler() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.createSampler() 方法在 WebGL 2 API creates and initializes WebGLSampler 对象。
4624 WebGL2RenderingContext.createTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.createTransformFeedback() 方法在 WebGL 2 API creates and initializes WebGLTransformFeedback 对象。
4625 WebGL2RenderingContext.createVertexArray() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.createVertexArray() 方法在 WebGL 2 API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
4626 WebGL2RenderingContext.deleteQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.deleteQuery() 方法在 WebGL 2 API deletes a given WebGLQuery 对象。
4627 WebGL2RenderingContext.deleteSampler() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.deleteSampler() 方法在 WebGL 2 API deletes a given WebGLSampler 对象。
4628 WebGL2RenderingContext.deleteSync() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.deleteSync() 方法在 WebGL 2 API deletes a given WebGLSync 对象。
4629 WebGL2RenderingContext.deleteTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.deleteTransformFeedback() 方法在 WebGL 2 API deletes a given WebGLTransformFeedback 对象。
4630 WebGL2RenderingContext.deleteVertexArray() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.deleteVertexArray() 方法在 WebGL 2 API deletes a given WebGLVertexArrayObject 对象。
4631 WebGL2RenderingContext.drawArraysInstanced() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.drawArraysInstanced() 方法在 WebGL 2 API renders primitives from array data like the gl.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
4632 WebGL2RenderingContext.drawBuffers() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.drawBuffers() 方法在 WebGL 2 API defines draw buffers to which fragment colors are written into. The draw buffer settings are part of the state of the currently bound framebuffer or the drawingbuffer if no framebuffer is bound.
4633 WebGL2RenderingContext.drawElementsInstanced() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.drawElementsInstanced() 方法在 WebGL 2 API renders primitives from array data like the gl.drawElements() method. In addition, it can execute multiple instances of a set of elements.
4634 WebGL2RenderingContext.drawRangeElements() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.drawRangeElements() 方法在 WebGL API renders primitives from array data in a given range.
4635 WebGL2RenderingContext.endQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.endQuery() 方法在 WebGL 2 API marks the end of a given query target.
4636 WebGL2RenderingContext.endTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.endTransformFeedback() 方法在 WebGL 2 API ends a transform feedback operation.
4637 WebGL2RenderingContext.fenceSync() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.fenceSync() 方法在 WebGL 2 API creates a new WebGLSync object and inserts it into the GL command stream.
4638 WebGL2RenderingContext.framebufferTextureLayer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.framebufferTextureLayer() 方法在 WebGL 2 API attaches a single layer of a texture to a framebuffer.
4639 WebGL2RenderingContext.getActiveUniformBlockName() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getActiveUniformBlockName() 方法在 WebGL 2 API retrieves the name of the active uniform block at a given index within a WebGLProgram .
4640 WebGL2RenderingContext.getActiveUniformBlockParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getActiveUniformBlockParameter() 方法在 WebGL 2 API retrieves information about an active uniform block within a WebGLProgram .
4641 WebGL2RenderingContext.getActiveUniforms() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getActiveUniforms() 方法在 WebGL 2 API retrieves information about active uniforms within a WebGLProgram .
4642 WebGL2RenderingContext.getBufferSubData() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getBufferSubData() 方法在 WebGL 2 API reads data from a buffer binding point and writes them to an ArrayBuffer or SharedArrayBuffer .
4643 WebGL2RenderingContext.getFragDataLocation() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getFragDataLocation() 方法在 WebGL 2 API returns the binding of color numbers to user-defined varying out variables.
4644 WebGL2RenderingContext.getIndexedParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getIndexedParameter() 方法在 WebGL 2 API returns indexed information about a given target .
4645 WebGL2RenderingContext.getInternalformatParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getInternalformatParameter() 方法在 WebGL 2 API returns information about implementation-dependent support for internal formats.
4646 WebGL2RenderingContext.getQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getQuery() 方法在 WebGL 2 API returns the currently active WebGLQuery target ,或 null .
4647 WebGL2RenderingContext.getQueryParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getQueryParameter() 方法在 WebGL 2 API returns parameter information of a WebGLQuery 对象。
4648 WebGL2RenderingContext.getSamplerParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getSamplerParameter() 方法在 WebGL 2 API returns parameter information of a WebGLSampler 对象。
4649 WebGL2RenderingContext.getSyncParameter() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getSyncParameter() 方法在 WebGL 2 API returns parameter information of a WebGLSync 对象。
4650 WebGL2RenderingContext.getTransformFeedbackVarying() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getTransformFeedbackVarying() 方法在 WebGL 2 API returns information about varying variables from WebGLTransformFeedback buffers.
4651 WebGL2RenderingContext.getUniformBlockIndex() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getUniformBlockIndex() 方法在 WebGL 2 API retrieves the index of a uniform block within a WebGLProgram .
4652 WebGL2RenderingContext.getUniformIndices() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.getUniformIndices() 方法在 WebGL 2 API retrieves the indices of a number of uniforms within a WebGLProgram .
4653 WebGL2RenderingContext.invalidateFramebuffer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.invalidateFramebuffer() 方法在 WebGL 2 API invalidates the contents of attachments in a framebuffer.
4654 WebGL2RenderingContext.invalidateSubFramebuffer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.invalidateSubFramebuffer() 方法在 WebGL 2 API invalidates portions of the contents of attachments in a framebuffer.
4655 WebGL2RenderingContext.isQuery() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.isQuery() 方法在 WebGL 2 API 返回 true if the passed object is a valid WebGLQuery 对象。
4656 WebGL2RenderingContext.isSampler() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.isSampler() 方法在 WebGL 2 API 返回 true if the passed object is a valid WebGLSampler 对象。
4657 WebGL2RenderingContext.isSync() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.isSync() 方法在 WebGL 2 API 返回 true if the passed object is a valid WebGLSync 对象。
4658 WebGL2RenderingContext.isTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.isTransformFeedback() 方法在 WebGL 2 API 返回 true if the passed object is a valid WebGLTransformFeedback 对象。
4659 WebGL2RenderingContext.isVertexArray() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.isVertexArray() 方法在 WebGL API 返回 true if the passed object is a valid WebGLVertexArrayObject 对象。
4660 WebGL2RenderingContext.pauseTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.pauseTransformFeedback() 方法在 WebGL 2 API pauses a transform feedback operation.
4661 WebGL2RenderingContext.readBuffer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.readBuffer() 方法在 WebGL 2 API selects a color buffer as the source for pixels for subsequent calls to copyTexImage2D , copyTexSubImage2D , copyTexSubImage3D or readPixels .
4662 WebGL2RenderingContext.renderbufferStorageMultisample() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.renderbufferStorageMultisample() 方法在 WebGL 2 API returns creates and initializes a renderbuffer object's data store and allows specifying a number of samples to be used.
4663 WebGL2RenderingContext.resumeTransformFeedback() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.resumeTransformFeedback() 方法在 WebGL 2 API resumes a transform feedback operation.
4664 WebGL2RenderingContext.samplerParameter[if]() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.samplerParameter[if]() methods of the WebGL 2 API set WebGLSampler 参数。
4665 WebGL2RenderingContext.texImage3D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGLRenderingContext.texImage3D() 方法在 WebGL API specifies a three-dimensional texture image.
4666 WebGL2RenderingContext.texStorage2D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.texStorage2D() 方法在 WebGL API specifies all levels of two-dimensional texture storage.
4667 WebGL2RenderingContext.texStorage3D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.texStorage3D() 方法在 WebGL API specifies all levels of a three-dimensional texture or two-dimensional array texture.
4668 WebGL2RenderingContext.texSubImage3D() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.texSubImage3D() 方法在 WebGL API specifies a sub-rectangle of the current texture.
4669 WebGL2RenderingContext.transformFeedbackVaryings() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.transformFeedbackVaryings() 方法在 WebGL 2 API specifies values to record in WebGLTransformFeedback buffers.
4670 WebGL2RenderingContext.uniformBlockBinding() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.uniformBlockBinding() 方法在 WebGL 2 API assigns binding points for active uniform blocks.
4671 WebGL2RenderingContext.uniformMatrix[234]x[234]fv() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.uniformMatrix[234]x[234]fv() methods of the WebGL 2 API specify matrix values for uniform variables.
4672 WebGL2RenderingContext.uniform[1234][uif][v]() API, Experimental, Method, Reference, WebGL, WebGL2, WebGL2RenderingContext
WebGL2RenderingContext.uniform[1234][uif][v]() methods of the WebGL API specify values of uniform variables.
4673 WebGL2RenderingContext.vertexAttribDivisor() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.vertexAttribDivisor() 方法在 WebGL 2 API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with gl.drawArraysInstanced() and gl.drawElementsInstanced() .
4674 WebGL2RenderingContext.vertexAttribI4[u]i[v]() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.vertexAttribI4[u]i[v]() methods of the WebGL 2 API specify integer values for generic vertex attributes.
4675 WebGL2RenderingContext.vertexAttribIPointer() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.vertexAttribIPointer() 方法在 WebGL 2 API specifies integer data formats and locations of vertex attributes in a vertex attributes array.
4676 WebGL2RenderingContext.waitSync() API, Experimental, Method, Reference, WebGL, WebGL2
WebGL2RenderingContext.waitSync() 方法在 WebGL 2 API returns immediately, but waits on the GL server until the given WebGLSync object is signaled.
4677 WebGL: 2D and 3D graphics for the web 3D, 3D Graphics, API, Advanced, Graphics, JavaScript, Media, Overview, Reference, WebGL, WebGL API
Support for WebGL is present in Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+, Internet Explorer 11+, and Microsoft Edge build 10240+; however, the user's device must also have hardware that supports these features.
4678 A basic 2D WebGL animation example 2D Animation, 2D Graphics, Animation, Drawing, Example, Graphics, WebGL, WebGL API
This is a pretty simple example, since it's just drawing one simple object, but the concepts used here extend to much more complex animations.
4679 Compressed texture formats
The WebGL API provides methods to use compressed texture formats. These are useful to increase texture detail while limiting the additional video memory necessary. By default, no compressed formats are available: a corresponding compressed texture format extension must first be enabled.
4680 Data in WebGL 3D, 3D Graphics, Attributes, Drawing, Graphics, Guide, Intermediate, NeedsContent, NeedsExample, Uniforms, Varyings, WebGL, WebGL API
Shader programs have access to three kinds of data storage, each of which has a specific use case. Each kind of variable is accessible by one or both types of shader program (depending on the data store type) and possibly by the site's JavaScript code, depending on the specific type of variable.
4681 Matrix math for the web 3D, CSS, Guide, WebGL, matrices, matrix, transform3d
Matrices can be used to represent transformations of objects in space, and are an important tool to use in visualizations on the Web. This article explores how to create matrices and use them with CSS3 transforms matrix3d transform type.
4682 使用 WebGL 扩展 Advanced, WebGL
WebGL, like its sister APIs (OpenGL and OpenGL ES), supports extensions. A complete list of extensions is available in the khronos webgl extension registry .
4683 WebGL best practices Advanced, Best practices, WebGL
This article offers suggestions and tips to improve your WebGL content. Following these suggestions can help improve your web application's compatibility with more devices and browsers, as well as increase its performance.
4684 WebGL by example Beginner, Example, Graphics, Learn, WebGL
WebGL by example is a series of live samples with short explanations that showcase WebGL concepts and capabilities.
4685 Basic scissoring Beginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL, scissor
In this example, we see how to draw simple rectangles and squares using WebGL scissoring operations.
4686 Boilerplate 1 Beginner, Example, Learn, Tutorial, WebGL
This example describes repeated pieces of code that will be hidden from now on, as well as defining a JavaScript utility function to make WebGL initialization easier.
4687 Canvas size and WebGL Beginner, Example, Learn, Tutorial, WebGL
This WebGL example explores the effect of setting (or not setting) the canvas size to its element size in CSS pixels, as it appears in the browser window.
4688 Clearing by clicking Beginner, Example, Graphics, Learn, Tutorial, WebGL
This example demonstrates how to combine user interaction with WebGL graphics operations by clearing the rendering context with a random color when the user clicks.
4689 Clearing with colors Beginner, Example, Graphics, Learn, Tutorial, WebGL
An example showing how to clear a WebGL rendering context to a solid color.
4690 Color masking Beginner, Example, Graphics, Learn, Tutorial, WebGL
This WebGL example modifies random colors by applying color masking to limit the range of displayed colors to specific shades.
4691 Detect WebGL Beginner, Example, Graphics, Learn, Tutorial, WebGL
This example demonstrates how to detect a WebGL rendering context and reports the result to the user.
4692 Hello GLSL Beginner, Example, GLSL, Graphics, Learn, Shaders, Tutorial, WebGL
This WebGL example demonstrates a very basic GLSL shader program that draws a solid color square.
4693 Hello vertex attributes Beginner, Example, Graphics, Learn, Tutorial, WebGL
This WebGL example demonstrates how to combine shader programming and user interaction by sending user input to the shader using vertex attributes.
4694 Raining rectangles Beginner, Example, Game, Graphics, Learn, Scissoring, Tutorial, WebGL
A simple WebGL game that demonstrates clearing with solid colors, scissoring, animation, and user interaction.
4695 Scissor animation Animation, Beginner, Example, Graphics, Learn, Scissoring, Tutorial, WebGL
A simple WebGL example in which we have some animation fun using scissoring and clearing operations.
4696 Simple color animation Beginner, Example, Graphics, Learn, Tutorial, WebGL
A very basic color animation created using WebGL , performed by clearing the drawing buffer with a different random color every second.
4697 Textures from code Beginner, Example, Graphics, Learn, Procedural Texturing, Shaders, Textures, Texturing, Tutorial, WebGL
This WebGL example provides a simple demonstration of procedural texturing with fragment shaders.
4698 Video textures Advanced, Example, Graphics, Learn, NeedsContent, Tutorial, WebGL
This example demonstrates how to use video files as textures for WebGL surfaces.
4699 WebGL constants API, Reference, WebGL, constants
WebGL API provides several constants that are passed into or returned by functions. All constants are of type GLenum .
4700 WebGL model view projection 3D, Graphics, Guide, Model, View, WebGL, projection
This article explores how to take data within a WebGL project, and project it into the proper spaces to display it on the screen. It assumes a knowledge of basic matrix math using translation, scale, and rotation matrices. It explains the three core matrices that are typically used to represent a 3D object: the model, view and projection matrices.
4701 WebGL 教程 Overview, Tutorial, WebGL, WebGL API
This tutorial describes how to use the <canvas> element to draw WebGL graphics, starting with the basics. The examples provided should give you some clear ideas what you can do with WebGL and will provide code snippets that may get you started in building your own content.
4702 Adding 2D content to a WebGL context 2D Graphics, 3D, 3D Graphics, Drawing, Graphics, Intermediate, Shaders, Tutorial, WebGL, WebGL API
Once you've successfully created a WebGL context , you can start rendering into it. A simple thing we can do is draw a simple square untextured plane, so let's start there, by building code to draw a square plane.
4703 Animating objects with WebGL Tutorial, WebGL
In this example, we'll actually rotate our square plane.
4704 Animating textures in WebGL Media, Tutorial, Video, WebGL
In this demonstration, we build upon the previous example by replacing our static textures with the frames of an mp4 video file that's playing. This is actually pretty easy to do and fun to watch, so let's get started. You can use similar code to use any sort of data (such as a <canvas> ) as the source for your textures.
4705 Creating 3D objects using WebGL Tutorial, WebGL
Let's take our square plane into three dimensions by adding five more faces to create a cube. To do this efficiently, we're going to switch from drawing using the vertices directly by calling the gl.drawArrays() method to using the vertex array as a table, and referencing individual vertices in that table to define the positions of each face's vertices, by calling gl.drawElements() .
4706 Getting started with WebGL Tutorial, WebGL
WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 2D and 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins. WebGL programs consist of control code written in JavaScript and shader code (GLSL) that is executed on a computer's Graphics Processing Unit (GPU). WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background.
4707 Lighting in WebGL 3D, Fragments, Graphics, Guide, Light Sources, Shaders, Shading, Tutorial, Vertexes, WebGL, lighting, vertices
As should be clear by now, WebGL doesn't have much built-in knowledge. It just runs two functions you supply — a vertex shader and a fragment shader — and expects you to write creative functions to get the results you want. In other words, if you want lighting you have to calculate it yourself. Fortunately, it's not all that hard to do, and this article will cover some of the basics.
4708 Using shaders to apply color in WebGL Tutorial, WebGL
Having created a square plane in the previous demonstration , the next obvious step is to add a splash of color to it. We can do this by revising the shaders.
4709 Using textures in WebGL Tutorial, WebGL
Now that our sample program has a rotating 3D cube, let's map a texture onto it instead of having its faces be solid colors.
4710 WebGL types Reference, Types, WebGL
The following types are used in WebGL 接口。
4711 WebGLActiveInfo API, Reference, WebGL
WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() 方法。
4712 WebGLActiveInfo.name API, Property, Reference, WebGL
只读 WebGLActiveInfo.name property represents the name of the requested data returned by calling the getActiveAttrib() or getActiveUniform() 方法。
4713 WebGLActiveInfo.size API, Property, Reference, WebGL
只读 WebGLActiveInfo.size 特性为 Number representing the size of the requested data returned by calling the getActiveAttrib() or getActiveUniform() 方法。
4714 WebGLActiveInfo.type API, Property, Reference, WebGL
只读 WebGLActiveInfo.type property represents the type of the requested data returned by calling the getActiveAttrib() or getActiveUniform() 方法。
4715 WebGLBuffer API, Reference, WebGL
WebGLBuffer interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
4716 WebGLContextEvent API, Interface, Reference, WebGL, WebGLContextEvent
WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
4717 WebGLContextEvent.statusMessage API, Property, Read-only, Reference, WebGL, WebGLContextEvent
只读 WebGLContextEvent.statusMessage property contains additional event status information, or is an empty string if no additional information is available.
4718 WebGLFramebuffer API, Reference, WebGL
WebGLFramebuffer interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
4719 WebGLProgram API, GL, GLSL, Graphics, Interface, Program, Reference, Shader, WebGL, WebGLProgram
WebGLProgram 属于 WebGL API and is a combination of two compiled WebGLShader s consisting of a vertex shader and a fragment shader (both written in GLSL).
4720 WebGLQuery API, Experimental, Reference, WebGL, WebGL2
WebGLQuery interface is part of the WebGL 2 API and provides ways to asynchronously query for information. By default, occlusion queries and primitive queries are available.
4721 WebGLRenderbuffer API, Reference, WebGL
WebGLRenderbuffer interface is part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation.
4722 WebGLRenderingContext 2D, 3D, API, Canvas, Context, Drawing, GL, Graphics, Interface, Reference, WebGL, WebGLRenderingContext, rendering
WebGLRenderingContext interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> 元素。
4723 WebGLRenderingContext.activeTexture() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.activeTexture() 方法在 WebGL API specifies which texture unit to make active.
4724 WebGLRenderingContext.attachShader() Method, WebGL
WebGLRenderingContext.attachShader() 方法在 WebGL API attaches either a fragment or vertex WebGLShader WebGLProgram .
4725 WebGLRenderingContext.bindAttribLocation() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.bindAttribLocation() 方法在 WebGL API binds a generic vertex index to an attribute variable.
4726 WebGLRenderingContext.bindBuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.bindBuffer() 方法在 WebGL API binds a given WebGLBuffer to a target.
4727 WebGLRenderingContext.bindFramebuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.bindFramebuffer() 方法在 WebGL API binds a given WebGLFramebuffer to a target.
4728 WebGLRenderingContext.bindRenderbuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.bindRenderbuffer() 方法在 WebGL API binds a given WebGLRenderbuffer to a target, which must be gl.RENDERBUFFER .
4729 WebGLRenderingContext.bindTexture() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.bindTexture() 方法在 WebGL API binds a given WebGLTexture to a target (binding point).
4730 WebGLRenderingContext.blendColor() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.blendColor() 方法在 WebGL API is used to set the source and destination blending factors.
4731 WebGLRenderingContext.blendEquation() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.blendEquation() 方法在 WebGL API is used to set both the RGB blend equation and alpha blend equation to a single equation.
4732 WebGLRenderingContext.blendEquationSeparate() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.blendEquationSeparate() 方法在 WebGL API is used to set the RGB blend equation and alpha blend equation separately.
4733 WebGLRenderingContext.blendFunc() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.blendFunc() 方法在 WebGL API defines which function is used for blending pixel arithmetic.
4734 WebGLRenderingContext.blendFuncSeparate() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.blendFuncSeparate() 方法在 WebGL API defines which function is used for blending pixel arithmetic for RGB and alpha components separately.
4735 WebGLRenderingContext.bufferData() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.bufferData() 方法在 WebGL API initializes and creates the buffer object's data store.
4736 WebGLRenderingContext.bufferSubData() API, Method, Reference, WebGL, WebGLRenderingContext, bufferSubData
WebGLRenderingContext.bufferSubData() 方法在 WebGL API updates a subset of a buffer object's data store.
4737 WebGLRenderingContext.canvas Property, Read-only, WebGL, WebGLRenderingContext
WebGLRenderingContext.canvas property is a read-only reference to the HTMLCanvasElement or OffscreenCanvas object that is associated with the context. It might be null if it is not associated with a <canvas> element or an OffscreenCanvas 对象。
4738 WebGLRenderingContext.checkFramebufferStatus() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.checkFramebufferStatus() 方法在 WebGL API returns the completeness status of the WebGLFramebuffer 对象。
4739 WebGLRenderingContext.clear() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.clear() 方法在 WebGL API clears buffers to preset values.
4740 WebGLRenderingContext.clearColor() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.clearColor() 方法在 WebGL API specifies the color values used when clearing color buffers.
4741 WebGLRenderingContext.clearDepth() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.clearDepth() 方法在 WebGL API specifies the clear value for the depth buffer.
4742 WebGLRenderingContext.clearStencil() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.clearStencil() 方法在 WebGL API specifies the clear value for the stencil buffer.
4743 WebGLRenderingContext.colorMask() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.colorMask() 方法在 WebGL API sets which color components to enable or to disable when drawing or rendering to a WebGLFramebuffer .
4744 WebGLRenderingContext.commit() API, Experimental, Method, OffscreenCanvas, Reference, WebGL
WebGLRenderingContext .commit() method pushes frames back to the original HTMLCanvasElement , if the context is not directly fixed to a specific canvas.
4745 WebGLRenderingContext.compileShader() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.compileShader() 方法在 WebGL API compiles a GLSL shader into binary data so that it can be used by a WebGLProgram .
4746 WebGLRenderingContext.compressedTexImage[23]D() API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext
WebGLRenderingContext.compressedTexImage2D() and WebGL2RenderingContext.compressedTexImage3D() methods of the WebGL API specify a two- or three-dimensional texture image in a compressed format.
4747 WebGLRenderingContext.compressedTexSubImage2D() API, Method, Reference, Textures, WebGL, WebGL extension, WebGLRenderingContext
WebGLRenderingContext.compressedTexSubImage2D() 方法在 WebGL API specifies a two-dimensional sub-rectangle for a texture image in a compressed format.
4748 WebGLRenderingContext.copyTexImage2D() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.copyTexImage2D() 方法在 WebGL API copies pixels from the current WebGLFramebuffer into a 2D texture image.
4749 WebGLRenderingContext.copyTexSubImage2D() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.copyTexSubImage2D() 方法在 WebGL API copies pixels from the current WebGLFramebuffer into an existing 2D texture sub-image.
4750 WebGLRenderingContext.createBuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.createBuffer() 方法在 WebGL API creates and initializes a WebGLBuffer storing data such as vertices or colors.
4751 WebGLRenderingContext.createFramebuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.createFramebuffer() 方法在 WebGL API creates and initializes a WebGLFramebuffer 对象。
4752 WebGLRenderingContext.createProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.createProgram() 方法在 WebGL API creates and initializes a WebGLProgram 对象。
4753 WebGLRenderingContext.createRenderbuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.createRenderbuffer() 方法在 WebGL API creates and initializes a WebGLRenderbuffer 对象。
4754 WebGLRenderingContext.createShader() API, Graphics, Method, Reference, Shader, WebGL
WebGLRenderingContext.createShader() 方法在 WebGL API 创建 WebGLShader that can then be configured further using WebGLRenderingContext.shaderSource() and WebGLRenderingContext.compileShader() .
4755 WebGLRenderingContext.createTexture() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.createTexture() 方法在 WebGL API creates and initializes a WebGLTexture 对象。
4756 WebGLRenderingContext.cullFace() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.cullFace() 方法在 WebGL API specifies whether or not front- and/or back-facing polygons can be culled.
4757 WebGLRenderingContext.deleteBuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteBuffer() 方法在 WebGL API deletes a given WebGLBuffer . This method has no effect if the buffer has already been deleted.
4758 WebGLRenderingContext.deleteFramebuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteFramebuffer() 方法在 WebGL API deletes a given WebGLFramebuffer object. This method has no effect if the frame buffer has already been deleted.
4759 WebGLRenderingContext.deleteProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteProgram() 方法在 WebGL API deletes a given WebGLProgram object. This method has no effect if the program has already been deleted.
4760 WebGLRenderingContext.deleteRenderbuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteRenderbuffer() 方法在 WebGL API deletes a given WebGLRenderbuffer object. This method has no effect if the render buffer has already been deleted.
4761 WebGLRenderingContext.deleteShader() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteShader() 方法在 WebGL API marks a given WebGLShader object for deletion. It will then be deleted whenever the shader is no longer in use. This method has no effect if the shader has already been deleted, and the WebGLShader is automatically marked for deletion when it is destroyed by the garbage collector.
4762 WebGLRenderingContext.deleteTexture() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.deleteTexture() 方法在 WebGL API deletes a given WebGLTexture object. This method has no effect if the texture has already been deleted.
4763 WebGLRenderingContext.depthFunc() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.depthFunc() 方法在 WebGL API specifies a function that compares incoming pixel depth to the current depth buffer value.
4764 WebGLRenderingContext.depthMask() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.depthMask() 方法在 WebGL API sets whether writing into the depth buffer is enabled or disabled.
4765 WebGLRenderingContext.depthRange() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.depthRange() 方法在 WebGL API specifies the depth range mapping from normalized device coordinates to window or viewport coordinates.
4766 WebGLRenderingContext.detachShader() Method, WebGL
WebGLRenderingContext.detachShader() 方法在 WebGL API detaches a previously attached WebGLShader WebGLProgram .
4767 WebGLRenderingContext.disable() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.disable() 方法在 WebGL API disables specific WebGL capabilities for this context.
4768 WebGLRenderingContext.disableVertexAttribArray() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.disableVertexAttribArray() 方法在 WebGL API turns the generic vertex attribute array off at a given index position.
4769 WebGLRenderingContext.drawArrays() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.drawArrays() 方法在 WebGL API renders primitives from array data.
4770 WebGLRenderingContext.drawElements() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.drawElements() 方法在 WebGL API renders primitives from array data.
4771 WebGLRenderingContext.drawingBufferHeight API, Property, Read-only, Reference, WebGL, WebGLRenderingContext
只读 WebGLRenderingContext.drawingBufferHeight property represents the actual height of the current drawing buffer. It should match the height 属性在 <canvas> element associated with this context, but might differ if the implementation is not able to provide the requested height.
4772 WebGLRenderingContext.drawingBufferWidth API, Property, Read-only, Reference, WebGL, WebGLRenderingContext
只读 WebGLRenderingContext.drawingBufferWidth property represents the actual width of the current drawing buffer. It should match the width 属性在 <canvas> element associated with this context, but might differ if the implementation is not able to provide the requested width.
4773 WebGLRenderingContext.enable() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.enable() 方法在 WebGL API enables specific WebGL capabilities for this context.
4774 WebGLRenderingContext.enableVertexAttribArray() 3D, API, Attribute Array, Graphics, Method, Reference, Vertex Attributes, WebGL, WebGL API, WebGLRenderingContext, enableVertexAttribArray, vertex, vertex shader
WebGLRenderingContext 方法 enableVertexAttribArray() , part of the WebGL API , turns on the generic vertex attribute array at the specified index into the list of attribute arrays.
4775 WebGLRenderingContext.finish() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.finish() 方法在 WebGL API blocks execution until all previously called commands are finished.
4776 WebGLRenderingContext.flush() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.flush() 方法在 WebGL API empties different buffer commands, causing all commands to be executed as quickly as possible.
4777 WebGLRenderingContext.framebufferRenderbuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.framebufferRenderbuffer() 方法在 WebGL API attaches a WebGLRenderbuffer object to a WebGLFramebuffer 对象。
4778 WebGLRenderingContext.framebufferTexture2D() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.framebufferTexture2D() 方法在 WebGL API attaches a texture to a WebGLFramebuffer .
4779 WebGLRenderingContext.frontFace() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.frontFace() 方法在 WebGL API specifies whether polygons are front- or back-facing by setting a winding orientation.
4780 WebGLRenderingContext.generateMipmap() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.generateMipmap() 方法在 WebGL API generates a set of mipmaps for a WebGLTexture 对象。
4781 WebGLRenderingContext.getActiveAttrib() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getActiveAttrib() 方法在 WebGL API 返回 WebGLActiveInfo object containing size, type, and name of a vertex attribute. It is generally used when querying unknown uniforms either for debugging or generic library creation.
4782 WebGLRenderingContext.getActiveUniform() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getActiveUniform() 方法在 WebGL API 返回 WebGLActiveInfo object containing size, type, and name of a uniform attribute. It is generally used when querying unknown uniforms either for debugging or generic library creation.
4783 WebGLRenderingContext.getAttachedShaders() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getAttachedShaders() 方法在 WebGL API returns a list of WebGLShader objects attached to a WebGLProgram .
4784 WebGLRenderingContext.getAttribLocation() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getAttribLocation() 方法在 WebGL API returns the location of an attribute variable in a given WebGLProgram .
4785 WebGLRenderingContext.getBufferParameter() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getBufferParameter() 方法在 WebGL API returns information about the buffer.
4786 WebGLRenderingContext.getContextAttributes() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getContextAttributes() 方法返回 WebGLContextAttributes object that contains the actual context parameters. Might return null , if the context is lost.
4787 WebGLRenderingContext.getError() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getError() 方法在 WebGL API returns error information.
4788 WebGLRenderingContext.getExtension() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getExtension() method enables a WebGL extension.
4789 WebGLRenderingContext.getFramebufferAttachmentParameter() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getFramebufferAttachmentParameter() 方法在 WebGL API returns information about a framebuffer's attachment.
4790 WebGLRenderingContext.getParameter() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getParameter() 方法在 WebGL API returns a value for the passed parameter name.
4791 WebGLRenderingContext.getProgramInfoLog() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getProgramInfoLog returns the information log for the specified WebGLProgram object. It contains errors that occurred during failed linking or validation of WebGLProgram 对象。
4792 WebGLRenderingContext.getProgramParameter() API, Method, Reference, WebGL, WebGL2, WebGLRenderingContext
WebGLRenderingContext.getProgramParameter() 方法在 WebGL API returns information about the given program.
4793 WebGLRenderingContext.getRenderbufferParameter() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getRenderbufferParameter() 方法在 WebGL API returns information about the renderbuffer.
4794 WebGLRenderingContext.getShaderInfoLog() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getShaderInfoLog returns the information log for the specified WebGLShader object. It contains warnings, debugging and compile information.
4795 WebGLRenderingContext.getShaderParameter() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getShaderParameter() 方法在 WebGL API returns information about the given shader.
4796 WebGLRenderingContext.getShaderPrecisionFormat() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getShaderPrecisionFormat() 方法在 WebGL API returns a new WebGLShaderPrecisionFormat object describing the range and precision for the specified shader numeric format.
4797 WebGLRenderingContext.getShaderSource() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getShaderSource() 方法在 WebGL API returns the source code of a WebGLShader 作为 DOMString .
4798 WebGLRenderingContext.getSupportedExtensions() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getSupportedExtensions() method returns a list of all the supported WebGL extensions.
4799 WebGLRenderingContext.getTexParameter() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.getTexParameter() 方法在 WebGL API returns information about the given texture.
4800 WebGLRenderingContext.getUniform() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getUniform() 方法在 WebGL API returns the value of a uniform variable at a given location.
4801 WebGLRenderingContext.getUniformLocation() API, Method, Reference, Uniform Variables, Uniforms, Variables, Variables in WebGL, WebGL, WebGLRenderingContext, getUniformLocation
属于 WebGL API WebGLRenderingContext 方法 getUniformLocation() returns the location of a specific uniform variable which is part of a given WebGLProgram .
4802 WebGLRenderingContext.getVertexAttrib() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getVertexAttrib() 方法在 WebGL API returns information about a vertex attribute at a given position.
4803 WebGLRenderingContext.getVertexAttribOffset() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.getVertexAttribOffset() 方法在 WebGL API returns the address of a specified vertex attribute.
4804 WebGLRenderingContext.hint() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.hint() 方法在 WebGL API specifies hints for certain behaviors. The interpretation of these hints depend on the implementation.
4805 WebGLRenderingContext.isBuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isBuffer() 方法在 WebGL API 返回 true if the passed WebGLBuffer 有效和 false 否则。
4806 WebGLRenderingContext.isContextLost() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isContextLost() 方法返回 布尔 indicating whether or not the WebGL context has been lost.
4807 WebGLRenderingContext.isEnabled() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isEnabled() 方法在 WebGL API tests whether a specific WebGL capability is enabled or not for this context.
4808 WebGLRenderingContext.isFramebuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isFramebuffer() 方法在 WebGL API 返回 true if the passed WebGLFramebuffer 有效和 false 否则。
4809 WebGLRenderingContext.isProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isProgram() 方法在 WebGL API 返回 true if the passed WebGLProgram is valid, false 否则。
4810 WebGLRenderingContext.isRenderbuffer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isRenderbuffer() 方法在 WebGL API 返回 true if the passed WebGLRenderbuffer 有效和 false 否则。
4811 WebGLRenderingContext.isShader() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isShader() 方法在 WebGL API 返回 true if the passed WebGLShader is valid, false 否则。
4812 WebGLRenderingContext.isTexture() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.isTexture() 方法在 WebGL API 返回 true if the passed WebGLTexture 有效和 false 否则。
4813 WebGLRenderingContext.lineWidth() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.lineWidth() 方法在 WebGL API sets the line width of rasterized lines.
4814 WebGLRenderingContext.linkProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.linkProgram() 方法在 WebGL API links a given WebGLProgram to the attached vertex and fragment shaders.
4815 WebGLRenderingContext.pixelStorei() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.pixelStorei() 方法在 WebGL API specifies the pixel storage modes.
4816 WebGLRenderingContext.polygonOffset() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.polygonOffset() 方法在 WebGL API specifies the scale factors and units to calculate depth values.
4817 WebGLRenderingContext.readPixels() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.readPixels() 方法在 WebGL API reads a block of pixels from a specified rectangle of the current color framebuffer into an ArrayBufferView 对象。
4818 WebGLRenderingContext.renderbufferStorage() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.renderbufferStorage() 方法在 WebGL API creates and initializes a renderbuffer object's data store.
4819 WebGLRenderingContext.sampleCoverage() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.sampleCoverage() 方法在 WebGL API specifies multi-sample coverage parameters for anti-aliasing effects.
4820 WebGLRenderingContext.scissor() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.scissor() 方法在 WebGL API sets a scissor box, which limits the drawing to a specified rectangle.
4821 WebGLRenderingContext.shaderSource() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.shaderSource() 方法在 WebGL API sets the source code of a WebGLShader .
4822 WebGLRenderingContext.stencilFunc() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilFunc() 方法在 WebGL API sets the front and back function and reference value for stencil testing.
4823 WebGLRenderingContext.stencilFuncSeparate() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilFuncSeparate() 方法在 WebGL API sets the front and/or back function and reference value for stencil testing.
4824 WebGLRenderingContext.stencilMask() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilMask() 方法在 WebGL API controls enabling and disabling of both the front and back writing of individual bits in the stencil planes.
4825 WebGLRenderingContext.stencilMaskSeparate() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilMaskSeparate() 方法在 WebGL API controls enabling and disabling of front and/or back writing of individual bits in the stencil planes.
4826 WebGLRenderingContext.stencilOp() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilOp() 方法在 WebGL API sets both the front and back-facing stencil test actions.
4827 WebGLRenderingContext.stencilOpSeparate() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.stencilOpSeparate() 方法在 WebGL API sets the front and/or back-facing stencil test actions.
4828 WebGLRenderingContext.texImage2D() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.texImage2D() 方法在 WebGL API specifies a two-dimensional texture image.
4829 WebGLRenderingContext.texParameter[fi]() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.texParameter[fi]() methods of the WebGL API set texture parameters.
4830 WebGLRenderingContext.texSubImage2D() API, Method, Reference, Textures, WebGL, WebGLRenderingContext
WebGLRenderingContext.texSubImage2D() 方法在 WebGL API specifies a sub-rectangle of the current texture.
4831 WebGLRenderingContext.uniformMatrix[234]fv() API, Method, Reference, Uniform Variables, Uniforms, WebGL, WebGL API, WebGLRenderingContext, matrices, matrix, uniformMatrix2fv, uniformMatrix3fv, uniformMatrix4fv
WebGLRenderingContext.uniformMatrix[234]fv() methods of the WebGL API specify matrix values for uniform variables.
4832 WebGLRenderingContext.uniform[1234][fi][v]() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.uniform[1234][fi][v]() methods of the WebGL API specify values of uniform variables.
4833 WebGLRenderingContext.useProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.useProgram() 方法在 WebGL API sets the specified WebGLProgram as part of the current rendering state.
4834 WebGLRenderingContext.validateProgram() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.validateProgram() 方法在 WebGL API validates a WebGLProgram . It checks if it is successfully linked and if it can be used in the current WebGL state.
4835 WebGLRenderingContext.vertexAttribPointer() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.vertexAttribPointer() 方法在 WebGL API binds the buffer currently bound to gl.ARRAY_BUFFER to a generic vertex attribute of the current vertex buffer object and specifies its layout.
4836 WebGLRenderingContext.vertexAttrib[1234]f[v]() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.vertexAttrib[1234]f[v]() methods of the WebGL API specify constant values for generic vertex attributes.
4837 WebGLRenderingContext.viewport() API, Method, Reference, WebGL, WebGLRenderingContext
WebGLRenderingContext.viewport() 方法在 WebGL API sets the viewport, which specifies the affine transformation of x and y from normalized device coordinates to window coordinates.
4838 WebGLSampler API, Experimental, Reference, WebGL, WebGL2
WebGLSampler interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
4839 WebGLShader Reference, WebGL, WebGLShader
WebGLShader 属于 WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.
4840 WebGLShaderPrecisionFormat API, Reference, WebGL
WebGLShaderPrecisionFormat interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() 方法。
4841 WebGLShaderPrecisionFormat.precision API, Property, Reference, WebGL
只读 WebGLShaderPrecisionFormat.precision property returns the number of bits of precision that can be represented.
4842 WebGLShaderPrecisionFormat.rangeMax API, Property, Reference, WebGL
只读 WebGLShaderPrecisionFormat.rangeMax property returns the base 2 log of the absolute value of the maximum value that can be represented.
4843 WebGLShaderPrecisionFormat.rangeMin API, Property, Reference, WebGL
只读 WebGLShaderPrecisionFormat.rangeMin property returns the base 2 log of the absolute value of the minimum value that can be represented.
4844 WebGLSync API, Experimental, Reference, WebGL, WebGL2
WebGLSync interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
4845 WebGLTexture API, Reference, WebGL
WebGLTexture interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
4846 WebGLTransformFeedback API, Interface, Reference, WebGL, WebGL2
WebGLTransformFeedback interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times.
4847 WebGLUniformLocation API, Reference, WebGL
WebGLUniformLocation interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
4848 WebGLVertexArrayObject API, Reference, WebGL, WebGL2
WebGLVertexArrayObject interface is part of the WebGL 2 API , represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.
4849 WebRTC API API, Audio, Conferencing, Landing, Media, Networking, Video, WebRTC, WebRTC API, streaming
WebRTC (Web Real-Time Communication) is a technology which enables Web applications and sites to capture and optionally stream audio and/or video media, as well as to exchange arbitrary data between browsers without requiring an intermediary.
4850 A simple RTCDataChannel sample API, Communication, Example, Tutorial, WebRTC
RTCDataChannel interface is a feature of the WebRTC API which lets you open a channel between two peers over which you may send and receive arbitrary data. The API is intentionally similar to the WebSocket API , so that the same programming model can be used for each.
4851 High-level guides API, Audio, Landing, Media, Video, WebRTC
WebRTC (Web Real-Time Communications) is a broad, multi-component system for setting up and operating complex audio, video, and data channels across networks among two or more peers on the Web. The high-level guides listed below introduce WebRTC technology from a top-down perspective, describing the overall architecture, the life cycle of a WebRTC connection, and basic security and technological issues you might run into as you explore and build Web content or apps using the WebRTC API.
4852 Improving compatibility using WebRTC adapter.js API, Audio, Guide, Video, WebRTC
The WebRTC organization provides on GitHub the WebRTC adapter to work around compatibility issues in different browsers' WebRTC implementations. The adapter is a JavaScript shim which lets your code to be written to the specification so that it will "just work" in all browsers with WebRTC support.
4853 Introduction to WebRTC protocols API, Audio, Beginner, Draft, Guide, ICE, Media, NAT, SDP, STUN, TURN, Video, WebRTC, WebRTC API
This article introduces the protocols on top of which the WebRTC API is built.
4854 Introduction to the Real-time Transport Protocol (RTP) API, Connectivity, Guide, Intermediate, Protocols, RTCRtpReceiver, RTCRtpSender, RTCRtpTransceiver, RTP, WebRTC
Real-time Transport Protocol ( RTP ), defined in RFC 3550 , is an IETF standard protocol to enable real-time connectivity for exchanging data that needs real-time priority. This article provides an overview of what RTP is and how it functions in the context of WebRTC.
4855 Lifetime of a WebRTC session Advanced, Guide, NeedsContent, WebRTC
WebRTC lets you build peer-to-peer communication of arbitrary data, audio, or video—or any combination thereof—into a browser application. In this article, we'll look at the lifetime of a WebRTC session, from establishing the connection all the way through closing the connection when it's no longer needed.
4856 Signaling and video calling API, Audio, Calling, Example, Guide, Media, Signaling, Tutorial, Video, WebRTC
WebRTC allows real-time, peer-to-peer, media exchange between two devices. A connection is established through a discovery and negotiation process called signaling . This tutorial will guide you through building a two-way video-call.
4857 Taking still photos with WebRTC API, Advanced, Example, Photos, Sample code, Still Photos, Video, WebRTC, camera, getusermedia, webcam
This article shows how to use WebRTC to access the camera on a computer or mobile phone with WebRTC support and take a photo with it.
4858 Using DTMF with WebRTC API, DTMF, Example, Guide, Media, RTCDTMFSender, RTCPeerConnection, Touch-tone, WebRTC, WebRTC API
In order to more fully support audio/video conferencing, WebRTC supports sending DTMF to the remote peer on an RTCPeerConnection . This article offers a brief high-level overview of how DTMF works over WebRTC, then provides a guide for everyday developers about how to send DTMF over an RTCPeerConnection . The DTMF system is often referred to as "touch tone," after an old trade name for the system.
4859 Using WebRTC data channels Communications, Data Transfer, Draft, Guide, NeedsContent, Networking, RTCDataChannel, WebRTC, WebRTC API, buffering
In this guide, we'll examine how to add a data channel to a peer connection, which can then be used to securely exchange arbitrary data; that is, any kind of data we wish, in any format we choose.
4860 WebRTC coding guide
Once you have an overall understanding of what WebRTC does and how it works, your mind likely turns to implementation. How do you create a Web application that uses two-way video or data streams without having to do all the hard work of compressing frames, building streams, and so forth by yourself? This coding guide will explain in depth how WebRTC works, and will dive into actual code that uses WebRTC to do useful things.
4861 WebRTC connectivity API, Advanced, Audio, Draft, Guide, Media, Video, WebRTC
This article describes how the various WebRTC-related protocols interact with one another in order to create a connection and transfer data and/or media among peers.
4862 WebRTC Statistics API 草案
The WebRTC API has a vast array of statistics available, covering the entire breadth of the WebRTC connectivity system, from sender to receiver and peer to peer.
4863 WebSocket API, NeedsContent, WebSocket, WebSockets
WebSocket object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
4864 WebSocket() API, Constructor, Reference, Web API, WebSocket
WebSocket() constructor returns a new WebSocket 对象。
4865 WebSocket.binaryType API, Property, Reference, Web API, WebSocket
WebSocket.binaryType property returns the type of binary data being transmitted by the connection.
4866 WebSocket.bufferedAmount API, Property, Reference, Web API, WebSocket
WebSocket.bufferedAmount read-only property returns the number of bytes of data that have been queued using calls to send() but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send() , this will continue to climb.
4867 WebSocket.close() API, Method, Reference, Web API, WebSocket
WebSocket.close() method closes the WebSocket connection or connection attempt, if any. If the connection is already CLOSED , this method does nothing.
4868 WebSocket.extensions API, Property, Reference, Web API, WebSocket
WebSocket.extensions read-only property returns the extensions selected by the server. This is currently only the empty string or a list of extensions as negotiated by the connection.
4869 WebSocket.onclose API, Property, Reference, Web API, WebSocket
WebSocket.onclose property is an EventHandler that is called when the WebSocket connection's readyState changes to CLOSED . It is called with a CloseEvent .
4870 WebSocket.onerror API, Connection, Error, Error Handler, Networking, Property, Reference, Web API, WebSocket, onerror
WebSocket 接口的 onerror event handler property is a function which gets called when an error occurs on the WebSocket.
4871 WebSocket.onmessage API, Property, Reference, Web API, WebSocket
WebSocket.onmessage property is an EventHandler that is called when a message is received from the server. It is called with a MessageEvent .
4872 WebSocket.onopen API, Property, Reference, Web API, WebSocket
WebSocket.onopen property is an EventHandler that is called when the WebSocket connection's readyState changes to OPEN ; this indicates that the connection is ready to send and receive data. It is called with an 事件 .
4873 WebSocket.protocol API, Property, Reference, Web API, WebSocket
WebSocket.protocol read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the protocols parameter when creating the WebSocket object, or the empty string if no connection is established.
4874 WebSocket.readyState API, Property, Reference, Web API, WebSocket
WebSocket.readyState read-only property returns the current state of the WebSocket 连接。
4875 WebSocket.send() API, Method, Reference, Web API, WebSocket
WebSocket.send() method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of bufferedAmount by the number of bytes needed to contain the data. If the data can't be sent (for example, because it needs to be buffered but the buffer is full), the socket is closed automatically.
4876 WebSocket.url API, Property, Reference, Web API, WebSocket
WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
4877 WebSocket: close event
close handler is fired when a connection with a WebSocket is closed.
4878 WebSocket: error event
error handler is fired when a connection with a WebSocket has been closed due to an error (some data couldn't be sent for example).
4879 WebSocket: message event
message handler is fired when data is received through a WebSocket .
4880 WebSocket: open event
open handler is fired when a connection with a WebSocket is opened.
4881 WebVR API API, Experimental, Landing, Reference, VR, Virtual Reality, WebVR
WebVR provides support for exposing virtual reality devices — for example, head-mounted displays like the Oculus Rift or HTC Vive — to web apps, enabling developers to translate position and movement information from the display into movement around a 3D scene. This has numerous, interesting applications, from virtual product tours and interactive training apps to immersive first-person games.
4882 Using VR controllers with WebVR Experimental, Gamepad API, Guide, VR, Virtual Reality, WebGL, WebVR, controllers
This article has given you a very basic idea of how to use the Gamepad Extensions to use VR controllers inside WebVR apps. In a real app you'd probably have a much more complex control system in effect, with controls assigned to the buttons on the VR controllers, and the display being affected by both the display pose and the controller poses simultaneously. Here however, we just wanted to isolate the pure Gamepad Extensions parts of that.
4883 Using the WebVR API 1.1, API, Canvas, Tutorial, VR, Virtual Reality, WebGL, WebVR
This article has given you the very basics of how to create a simple WebVR 1.1 app, to help you get started.
4884 WebVR concepts Acceleration, Apps, FOV, Guide, Orientation, Position, VR, Virtual Reality, WebVR, concepts, velocity
This article discusses some of the concepts and theory behind virtual reality (VR). If you are a newcomer to the area, it is worthwhile getting an understanding of these topics before you start diving into code.
4885 WebXR 设备 API API, AR, Augmented Reality, Graphics, Overview, VR, Virtual Reality, WebXR, WebXR API, WebXR Device API, XR
WebXR is a group of standards which are used together to support rendering 3D scenes to hardware designed for presenting virtual worlds ( virtual reality ,或 VR ), or for adding graphical imagery to the real world, ( augmented reality ,或 AR ). The WebXR 设备 API implements the core of the WebXR feature set, managing the selection of output devices, render the 3D scene to the chosen device at the appropriate frame rate, and manage motion vectors created using input controllers.
4886 WheelEvent API, DOM, Interface, Reference, WheelEvent
WheelEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.
4887 WheelEvent() Constructor, DOM, Interface, Reference, WheelEvent
WheelEvent() constructor returns a newly created WheelEvent 对象。
4888 WheelEvent.deltaMode API, DOM, Property, Read-only, Reference, WheelEvent
WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount. Permitted values are:
4889 WheelEvent.deltaX API, DOM, Property, Read-only, Reference, Référence(2), WheelEvent
WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit.
4890 WheelEvent.deltaY API, DOM, Property, Read-only, Reference, Référence(2), WheelEvent
WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit.
4891 WheelEvent.deltaZ DOM, Interface, Property, Read-only, Reference, Référence(2), WheelEvent
WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.
4892 Window API, Browser, DOM, Interface, JavaScript, Reference, Tab, Window, global, global scope, scope
Window interface represents a window containing a DOM document; the document 特性指向 DOM 文档 加载在相应窗口中。
4893 Window.alert() API, DOM, Method, Reference, Window, alert
Window.alert() method displays an alert dialog with the optional specified content and an OK button.
4894 Window.applicationCache API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Returns a reference to the application cache object for the window.
4895 Window.back() API, DOM, Firefox, Gecko, Method, Non-standard, Obsolete, Window, back
The obsolete and non-standard method back() window interface returns the window to the previous item in the history. This was a Firefox-specific method and was removed in Firefox 31.
4896 Window.blur() API, DOM, Gecko, Method
Shifts focus away from the window.
4897 Window.captureEvents() API, DOM, DOM_0, Gecko, Method, Non-standard
Window.captureEvents() method registers the window to capture all events of the specified type.
4898 Window.clearImmediate() API, DOM, Method
This method clears the action specified by window.setImmediate .
4899 Window.close() API, DOM, Gecko, Method, Reference, Window
Window.close() method closes the current window, or the window on which it was called.
4900 Window.closed API, HTML DOM, NeedsCompatTable, NeedsSpecTable, Property, Reference, Window
Window.closed read-only property indicates whether the referenced window is closed or not.
4901 Window.confirm() API, DOM, Method, Reference, Window, confirm
Window.confirm() method displays a modal dialog with an optional message and two buttons: OK and Cancel.
4902 Window.console API, Property, Read-only, Reference, Window, console
Window.console property returns a reference to the 控制台 object, which provides methods for logging information to the browser's console. These methods are intended for debugging purposes only and should not be relied on for presenting information to end users.
4903 Window.content
返回 Window object for the primary content window. This is useful in XUL windows that have a <browser> (或 tabbrowser or <iframe> ) with type="content-primary" attribute on it — the most famous example is Firefox main window, browser.xul 。在这种情况下, content returns a reference to the Window object for the document currently displayed in the browser. It is a shortcut for browserRef .contentWindow .
4904 Window.controllers API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
controllers 特性为 Window interface returns the XUL controllers of the chrome window.
4905 Window.convertPointFromNodeToPage() API, HTML DOM, Method, Non-standard, Point, Reference, Safari, WebKit, Window
给定 specified in a particular DOM 节点 's coordinate system, the Window 方法 convertPointFromNodeToPage() 返回 which specifies the same position in the page's coordinate system. This method is non-standard and should not be used .
4906 Window.convertPointFromPageToNode API, Method, Non-standard, Point, Reference, Safari, WebKit, Window, convertPointFromPageToNode
给定 specified in the page's coordinate system, the Window 方法 convertPointFromPageToNode() 返回 object specifying the same location in the coordinate system of the specified DOM 节点 .
4907 Window.crypto API, HTML DOM, Property, Reference, Window
Window.crypto property returns the Crypto object associated to the global object. This object allows web pages access to certain cryptographic related services. Although the Window.crypto property itself is read-only, all of its methods (and the methods of its child object, SubtleCrypto ) are not read-only, and therefore vulnerable to attack by polyfill.
4908 Window.customElements API, CustomElementRegistry, Property, Reference, Web Components, Window, custom elements, customElements
customElements 只读特性在 Window interface returns a reference to the CustomElementRegistry object, which can be used to register new 自定义元素 and get information about previously registered custom elements.
4909 Window.defaultStatus API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
Gets/sets the status bar text for the given window.
4910 Window.devicePixelRatio API, Adaptive Design, Property, Read-only, Reference, Window, devicePixelRatio, pixel, ratio, resolution
Window property devicePixelRatio returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
4911 Window.dialogArguments API, Deprecated, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
dialogArguments property returns the parameters that were passed into the window.showModalDialog() 方法。
4912 Window.directories API, HTML DOM, NeedsCompatTable, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
Returned the window personalbar toolbar object. Use the window.personalbar 代替。
4913 Window.document API, HTML DOM, Property, Reference, Window
window.document returns a reference to the document contained in the window.
4914 Window.dump() API, DOM, DOM_0, Method, Non-standard, Window
Window.dump() prints messages to the (native) console.
4915 Window.event API, DOM, Event, Event Handler, Property, Read-only, Window
只读 Window property event 返回 事件 which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined .
4916 Window.external API, Deprecated, Window, external
external 特性为 Window API returns an instance of the External interface, which was intended to contain functions related to adding external search providers to the browser. However, this is now deprecated, and the contained methods are now dummy functions (at least in some browsers) that do nothing as per spec.
4917 Window.find() API, DOM, Method, NeedsCompatTable, NeedsContent, Non-standard, Reference, find
Window.find() method finds a string in a window.
4918 Window.focus() API, DOM, Gecko, Method
Makes a request to bring the window to the front. It may fail due to user settings and the window isn't guaranteed to be frontmost before this method returns.
4919 Window.forward() API, DOM, Deprecated, Firefox, Method, Non-standard, Obsolete, Window, forward
Moves the window one document forward in history. This was a Firefox-specific method and was removed in Firefox 31.
4920 Window.frameElement API, DOM, DOM Reference, Gecko, Property, Reference, Window
Returns the element (such as <iframe> or <object> ) in which the window is embedded, or null if the element is either top-level or is embedded into a document with a different script origin; that is, in cross-origin situations.
4921 Window.frames API, DOM, DOM Reference, Gecko, NeedsContent, NeedsUpdate, Property, Reference
Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.
4922 Window.fullScreen API, DOM_0, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
fullScreen 特性为 Window interface indicates whether the window is displayed in full screen mode or not. It is only reliable in Gecko 1.9 (Firefox 3) and later; see the Notes below.
4923 Window.getAttention() API, DOM, DOM Reference, Gecko, Method, Reference
Window.getAttention() method attempts to get the user's attention. The mechanism for this happening depends on the specific operating system and window manager.
4924 Window.getComputedStyle() API, CSSOM View, Method, Reference, Window, getComputedStyle
Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
4925 Window.getDefaultComputedStyle() API, CSS, Method, Reference
getDefaultComputedStyle() method gives the default computed values of all the CSS properties of an element, ignoring author styling. That is, only user-agent and user styles are taken into account.
4926 Window.getSelection() API, DOM, Method, Reference, Selection, Selection API, Window
Window.getSelection() 方法返回 Selection object representing the range of text selected by the user or the current position of the caret.
4927 Window.history API, HTML DOM, History API, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Window . history 只读特性返回引用 历史 对象,它提供接口为操纵浏览器 会话历史 (pages visited in the tab or frame that the current page is loaded in).
4928 Window.home() API, DOM, Gecko, Method, Obsolete, Reference, Window
Window.home() method returns the window to the home page.
4929 Window.innerHeight API, CSSOM View, NeedsMarkupWork, Property, Reference, Window
Height (in pixels) of the browser window viewport including, if rendered, the horizontal scrollbar.
4930 Window.innerWidth API, CSSOM View, NeedsContent, NeedsSpecTable, Property, Reference
Width (in pixels) of the browser window viewport including, if rendered, the vertical scrollbar.
4931 Window.isSecureContext API, Property, Reference, Security, Window
window.isSecureContext read-only property indicates whether a context is capable of using features that require 安全上下文 .
4932 Window.length API, DOM, DOM Reference, Gecko, Property, Reference, Window
Returns the number of frames (either <frame> or <iframe> elements) in the window.
4933 Window.localStorage API, Property, Read-only, Reference, Storage, Web Storage, Window, WindowLocalStorage, localStorage
只读 localStorage property allows you to access a 存储 对象为 Document 's origin; the stored data is saved across browser sessions.
4934 Window.location API, HTML, NeedsExample, Property, Reference, Window
Window.location 只读特性返回 定位 对象带有关文档当前位置的信息。
4935 Window.locationbar API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
返回 locationbar object, whose visibility can be checked.
4936 Window.matchMedia() API, CSSOM View, DOM, JavaScript, Media Queries, Method, Reference, Window
Window 接口的 matchMedia() method returns a new MediaQueryList object representing the parsed results of the specified media query string. The returned MediaQueryList can then be used to determine if the Document matches the media query, or to monitor a document to detect when it matches or stops matching the media query.
4937 Window.menubar API, HTML DOM, Property, Reference, Window
Window.menubar property returns the menubar object, whose visibility can be checked.
4938 Window.minimize() API, DOM, Method, NeedsContent, NeedsExample, Reference, Window
Window.minimize() method sets the window to a minimized state.
4939 Window.moveBy() API, CSSOM View, Method, Reference, Window
moveBy() 方法在 Window interface moves the current window by a specified amount.
4940 Window.moveTo() API, CSSOM View, Method, Reference, Window
moveTo() 方法在 Window interface moves the current window to the specified coordinates.
4941 Window.mozAnimationStartTime API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Returns the time, in milliseconds since the epoch, at which animations started now should be considered to have started. This value should be used instead of, for example, Date.now() , because this value will be the same for all animations started in this window during this refresh interval, allowing them to remain in sync with one another.
4942 Window.mozInnerScreenX API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Gets the X coordinate of the top-left corner of the window's viewport, in screen coordinates.
4943 Window.mozInnerScreenY API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Gets the Y coordinate of the top-left corner of the window's viewport, in screen coordinates.
4944 Window.mozPaintCount API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Property, Reference, Window
Returns the number of times the current document has been painted to the screen in this window.
4945 Window.name API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference
Gets/sets the name of the window.
4946 Window.navigator API, HTML DOM, Property, Read-only, Reference, Window
Window.navigator 只读特性返回引用 Navigator object, which has methods and properties about the application running the script.
4947 Window.onappinstalled API, Event Handler, Manifest, Property, Reference, Window, onappinstalled, web manifest
onappinstalled attribute of the Window object serves as an event handler for the appinstalled event, which is dispatched once the web application is successfully installed as a progressive web app . The event that is fired is a "simple event" that implements the 事件 接口。
4948 Window.onbeforeinstallprompt API, Event Handler, Manifest, Property, Reference, Window, onbeforeinstallprompt
Window.onbeforeinstallprompt property is an event handler for processing a beforeinstallprompt , which is dispatched on devices when a user is about to be prompted to "install" a web application. Its associated event may be saved for later and used to prompt the user at a more suitable time.
4949 Window.ondevicelight API, Ambient Light Events, Experimental, NeedsMarkupWork, Property, Reference
Specifies an event listener to receive devicelight events. These events occur when the device's light level sensor detects a change in the intensity of the ambient light level.
4950 Window.ondevicemotion API, Device Orientation, Event Handler, Mobile, Motion, Orientation, Property, Reference
An event handler for the devicemotion 事件 (被发送给窗口)。
4951 Window.ondeviceorientation API, Device Orientation, Mobile, Orientation, Property
An event handler for the deviceorientation event, which contains information about a relative device orientation change.
4952 Window.ondeviceorientationabsolute API, Device Orientation, Mobile, Orientation, Property
An event handler for the deviceorientationabsolute event containing information about an absolute device orientation change.
4953 Window.ondeviceproximity API, Event Handler, Experimental, NeedsMarkupWork, Property, Proximity Events, Reference, Window
ondeviceproximity 特性为 Window interface specifies an EventHandler to receive deviceproximity events. These events occur when the device sensor detects that an object becomes closer to or farther from the device.
4954 Window.ondragdrop API, HTML DOM, Obsolete, Property, Window, ondragdrop
An event handler for drag and drop events sent to the window.
4955 Window.ongamepadconnected API, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepadconnected
ongamepadconnected 特性为 Window interface represents an event handler that will run when a gamepad is connected (when the gamepadconnected 事件激发)。
4956 Window.ongamepaddisconnected API, Event Handler, Experimental, Gamepad API, Property, Reference, Window, ongamepaddisconnected
ongamepaddisconnected 特性为 Window interface represents an event handler that will run when a gamepad is disconnected (when the gamepaddisconnected 事件激发)。
4957 Window.onmozbeforepaint API, Event Handler, Mozilla, Non-standard, Obsolete, Property, Window, onmozbeforepaint
An event handler for the MozBeforePaint event. This is used in concert with the window.mozRequestAnimationFrame() method to perform smooth, synchronized animations from JavaScript code.
4958 Window.onpaint API, DOM, DOM_0, Event Handler, Non-standard, Property
Window.onpaint is an event handler for the paint event on the window.
4959 Window.onuserproximity API, Experimental, NeedsBetterSpecLink, Property, Proximity Events, Reference, Window
Window.onuserproxymity property represents an EventHandler , that is a function to be called when the userproximity event occurs. These events are of type UserProximityEvent and occur when the the device sensor detects that an object becomes nearby.
4960 Window.onvrdisplayactivate API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayactivate
onvrdisplayactivate 特性为 Window interface represents an event handler that will run when a display is able to be presented to (when the vrdisplayactivate event fires), for example if an HMD has been moved to bring it out of standby, or woken up by being put on.
4961 Window.onvrdisplayblur API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayblur
onvrdisplayblur 特性为 Window interface represents an event handler that will run when presentation to a display has been paused for some reason by the browser, OS, or VR hardware (when the vrdisplayblur event fires) — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience.
4962 Window.onvrdisplayconnect API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayconnect
onvrdisplayconnect 特性为 Window interface represents an event handler that will run when a compatible VR display has been connected to the computer (when the vrdisplayconnect 事件激发)。
4963 Window.onvrdisplaydeactivate API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydeactivate
onvrdisplaydeactivate 特性为 Window interface represents an event handler that will run when a display can no longer be presented to (when the vrdisplaydeactivate event fires), for example if an HMD has gone into standby or sleep mode due to a period of inactivity.
4964 Window.onvrdisplaydisconnect API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaydisconnect
onvrdisplaydisconnect event handler property of the Window interface is called when a compatible VR display has been disconnected from the computer (when the vrdisplaydisconnect 事件激发)。
4965 Window.onvrdisplayfocus API, Event Handler, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplayfocus
onvrdisplayfocus 特性为 Window interface represents an event handler that will run when presentation to a display has resumed after being blurred (when the vrdisplayfocus 事件激发)。
4966 Window.onvrdisplaypointerrestricted Event Handler, Experimental, Property, Reference, Window, onvrdisplaypointerrestricted
onvrdisplaypointerrestricted 特性为 Window interface represents an event handler that will run when the VR display's pointer input is restricted to consumption via a pointerlocked element .
4967 Window.onvrdisplaypointerunrestricted Event Handler, Experimental, Property, WebVR, Window, onvrdisplaypointerunrestricted
onvrdisplaypointerunrestricted 特性为 Window interface represents an event handler that will run when the VR display's pointer input is no longer restricted to consumption via a pointerlocked element .
4968 Window.onvrdisplaypresentchange API, Experimental, Property, Reference, VR, Virtual Reality, WebVR, Window, events, onvrdisplaypresentchange
onvrdisplaypresentchange 特性为 Window interface represents an event handler that will run when the presenting state of a VR display changes — i.e. goes from presenting to not presenting, or vice versa (when the vrdisplaypresentchange 事件激发)。
4969 Window.open() API, DOM, Method, NeedsMarkupWork, NeedsUpdate, Reference, Window, open
Window 接口的 open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn't exist, then a new window is opened and the specified resource is loaded into its browsing context.
4970 Window.openDialog() API, DOM, DOM_0, Gecko, Method, Non-standard, Reference
window.openDialog() is an extension to window.open() . It behaves the same, except that it can optionally take one or more parameters past windowFeatures ,和 windowFeatures itself is treated a little differently.
4971 Window.opener API, HTML DOM, NeedsSpecTable, Property, Reference, Window, opener
Window 接口的 opener property returns a reference to the window that opened the window using open() .
4972 Window.orientation NeedsContent
Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.
4973 Window.outerHeight API, CSSOM View, NeedsContent, Property, Reference
Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.
4974 Window.outerWidth API, CSSOM View, NeedsContent, Property, Reference
Window.outerWidth read-only property returns the width of the outside of the browser window. It represents the width of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles.
4975 Window.pageXOffset API, Alias, CSSOM View, CSSOM View API, NeedsMobileBrowserCompatibility, Property, Window, scrolling
只读 Window property pageXOffset 是别名化的 scrollX .
4976 Window.pageYOffset API, Alias, CSSOM View, CSSOM View API, Property, Scrolling Documents, Scrolling Windows, Vertical, Window, scrolling
只读 Window property pageYOffset 是别名化的 scrollY ; as such, it returns the number of pixels the document is currently scrolled along the vertical axis (that is, up or down) with a value of 0.0, indicating that the top edge of the Document is currently aligned with the top edge of the window's content area.
4977 Window.parent API, HTML DOM, NeedsSpecTable, Property, Reference, Window
Window.parent property is a reference to the parent of the current window or subframe.
4978 Window.performance API, HTML DOM, High Resolution Time, High Resolution Time API, Navigation Timing, Navigation Timing API, Optimization, Performance, Property, Reference, Telemetry, Window
Window 接口的 性能 特性返回 性能 对象,可以用于聚集有关当前文档的性能信息。它充当暴露点,对于性能时间线 API、高分辨率时间 API、 导航计时 API 用户计时 API ,和 资源计时 API .
4979 Window.personalbar API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
返回 personalbar 对象,其可见性可以在窗口中触发。
4980 Window.pkcs11 API, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Obsolete, Property, Reference, Window
返回 pkcs11 object, which is used to install drivers and other software associated with the pkcs11 protocol 。若 pkcs11 isn't supported, this property returns null .
4981 Window.postMessage() API, Cross-origin Communication, DOM, HTML DOM, Method, Reference, Window, postMessage
window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
4982 Window.print() API, DOM, Method, Reference, Window
Opens the Print Dialog to print the current document.
4983 Window.prompt() API, DOM, MakeBrowserAgnostic, Method, Reference, Window, prompt
Window.prompt() displays a dialog with an optional message prompting the user to input some text.
4984 Window.releaseEvents() API, DOM, DOM_0, Method, Non-standard, Reference, Window, releaseEvents
Releases the window from trapping events of a specific type.
4985 Window.requestAnimationFrame() API, Animations, DOM, DOM Reference, Drawing, Games, Graphics, Intermediate, JavaScript timers, Method, Performance, Reference, Scheduling, Window, requestAnimationFrame
window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes a callback as an argument to be invoked before the repaint.
4986 Window.requestFileSystem() API, Deprecated, File, File System, File System API, File and Directory Entry API, Files, Method, Non-standard, Reference, Window, filesystem, requestFileSystem
The non-standard Window 方法 requestFileSystem() method is a Google Chrome-specific method which lets a web site or app gain access to a sandboxed file system for its own use. The returned FileSystem is then available for use with the other 文件系统 API .
4987 Window.resizeBy() API, CSSOM View, Method, NeedsMarkupWork, Reference, Window
Window.resizeBy() method resizes the current window by a specified amount.
4988 Window.resizeTo() API, CSSOM View, Method, NeedsMarkupWork, Reference, Window
Window.resizeTo() method dynamically resizes the window.
4989 Window.restore() API, DOM, Method, NeedsContent, Reference, Référence(2), Window
This method is currently not working, but you can use:
4990 Window.routeEvent() API, Method, Obsolete, Reference, Window, routeEvent
Window 方法 routeEvent() ,其是 obsolete and no longer available, used to be called to forward an event to the next object that has asked to capture events.
4991 Window.screen API, CSSOM View, DOM, Property, Window
Window property screen returns a reference to the screen object associated with the window. screen object, implementing the Screen interface, is a special object for inspecting properties of the screen on which the current window is being rendered.
4992 Window.screenLeft API, CSSOM View, Property, Read-only, Reference, Window, screenLeft
Window.screenLeft read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen.
4993 Window.screenTop API, CSSOM View, Property, Read-only, Reference, Window, screenTop
Window.screenTop read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.
4994 Window.screenX API, CSSOM View, Property, Read-only, Reference, Window, screenX
Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen.
4995 Window.screenY API, CSSOM View, Property, Read-only, Reference, Window
Window.screenY read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen.
4996 Window.scroll() API, CSSOM View, Method, NeedsMarkupWork, Reference
Window.scroll() 方法将窗口卷动到文档特定位置。
4997 Window.scrollBy() API, CSSOM View, Method, Reference
Window.scrollBy() 方法按给定数量卷动窗口文档。
4998 Window.scrollByLines() API, DOM, DOM_0, Method, Non-standard, Reference, Window
Window.scrollByLines() method scrolls the document by the specified number of lines.
4999 Window.scrollByPages() API, DOM, Method, Non-standard, Reference, Window, scrollByPages, scrolling
Window.scrollByPages() method scrolls the current document by the specified number of pages.
5000 Window.scrollMaxX API, DOM, DOM_0, Gecko, Non-standard, Property, Window
Window.scrollMaxX read-only property returns the maximum number of pixels that the document can be scrolled horizontally.
5001 Window.scrollMaxY API, DOM_0, HTML DOM, NeedsExample, NeedsMarkupWork, NeedsSpecTable, Non-standard, Property, Reference, Window
Window.scrollMaxY read-only property returns the maximum number of pixels that the document can be scrolled vertically.
5002 Window.scrollTo() API, CSSOM View, Method, NeedsMarkupWork, Reference
Window.scrollTo() scrolls to a particular set of coordinates in the document.
5003 Window.scrollX API, CSSOM View, NeedsBrowserCompatibility, NeedsMarkupWork, NeedsMobileBrowserCompatibility, Property, Reference
只读 scrollX 特性为 Window interface returns the number of pixels that the document is currently scrolled horizontally. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number. You can get the number of pixels the document is scrolled vertically from the scrollY 特性。
5004 Window.scrollY API, CSSOM View, NeedsMarkupWork, Property, Reference, Window, scrollY
只读 scrollY 特性为 Window interface returns the number of pixels that the document is currently scrolled vertically.
5005 Window.scrollbars API, HTML DOM, NeedsExample, Property, Reference, Window
Window.scrollbars property returns the scrollbars object, whose visibility can be checked.
5006 Window.self API, HTML DOM, Property, Read-only, Reference, Window
Window.self read-only property returns the window itself, as a WindowProxy . It can be used with dot notation on a window object (that is, window.self ) or standalone ( self ). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Web 工作者 . By using self , you can refer to the global scope in a way that will work not only in a window context ( self will resolve to window.self ) but also in a worker context ( self will then resolve to WorkerGlobalScope.self ).
5007 Window.sessionStorage API, Property, Reference, Storage, Window, WindowSessionStorage, sessionStorage
sessionStorage property accesses a session 存储 object for the current origin. sessionStorage 类似于 localStorage ; the difference is that while data in localStorage doesn't expire, data in sessionStorage is cleared when the page session ends.
5008 Window.setCursor() API, DOM_0, Method, Non-standard, Reference, Window
Window.setCursor() method sets the cursor for the current window.
5009 Window.setImmediate() API, DOM, Method, Non-standard, Reference, Window, setImmediate
This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates.
5010 Window.showModalDialog() API, DOM, Deprecated, Method, Window
Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.
5011 Window.sidebar DOM, Non-standard, Property, Reference, Window
Returns a sidebar object, which contains several methods for registering add-ons with the browser.
5012 Adding search engines from web pages API, Add-ons, Guide, Non-standard, Search plugins
Firefox allows JavaScript code to install search engine plugins to the search box using OpenSearch.
5013 Window.sizeToContent() API, HTML DOM, Method, Reference, Window
Window.sizeToContent() method sizes the window according to its content. In order for it to work, the DOM content should be loaded when this function is called—for example, once the DOMContentLoaded event has been thrown.
5014 Window.speechSynthesis API, Experimental, Property, Reference, SpeechSynthesis, Window
speechSynthesis read-only property of the Window object returns a SpeechSynthesis 对象,其是入口点为使用 Web 语音 API 语音合成功能。
5015 Window.status API, HTML DOM, NeedsExample, NeedsSpecTable, Property, Reference, Window
status 特性为 Window interface sets the text in the status bar at the bottom of the browser or returns the previously set text.
5016 Window.statusbar API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Window.statusbar property returns the statusbar object, whose visibility can be toggled in the window.
5017 Window.stop() API, DOM, HTML DOM, Method, Reference, Window, stop
window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
5018 Window.toolbar API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Window.toolbar property returns the toolbar object, whose visibility can be toggled in the window.
5019 Window.top API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
Returns a reference to the topmost window in the window hierarchy.
5020 Window.updateCommands() API, DOM, Method, Reference, Window, XUL command nodes, sCommandName, updateCommands
更新当前 Chrome 窗口 UI 命令的状态。
5021 Window.visualViewport API, Experimental, Property, Reference, Visual Viewport API, VisualViewport, Window
visualViewport 只读特性在 Window interface returns a VisualViewport object representing the visual viewport for a given window.
5022 Window.window API, HTML DOM, NeedsExample, NeedsMarkupWork, Property, Reference, Window
window property of a Window object points to the window object itself.
5023 Window: DOMContentLoaded event Event, Reference, Web, events
DOMContentLoaded 事件激发当初始 HTML 文档已完全加载并剖析,无需等待样式表、图像及子框架完成加载。
5024 Window: afterprint event Event, Reference
afterprint event is fired after the associated document has started printing or the print preview has been closed.
5025 Window: animationcancel event
An animationcancel event is fired when a CSS Animation unexpectedly aborts. In other words, any time it stops running without sending an animationend event. This might happen when the animation-name is changed such that the animation is removed, or when the animating node is hidden using CSS. Therefore, either directly or because any of its containing nodes are hidden.
5026 Window: animationend event Animation, Reference, events
animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element is removed from the DOM or the animation is removed from the element, the animationend event is not fired.
5027 Window: animationiteration event Animation, Reference, events
animationiteration event is fired when an iteration of a CSS Animation ends, and another one begins. This event does not occur at the same time as the animationend event, and therefore does not occur for animations with an animation-iteration-count of one.
5028 Window: animationstart event Reference, events
animationstart event is fired when a CSS Animation has started. If there is an animation-delay , this event will fire once the delay period has expired. A negative delay will cause the event to fire with an elapsedTime equal to the absolute value of the delay (and, correspondingly, the animation will begin playing at that time index into the sequence).
5029 Window: appinstalled event API, Manifest, Reference, Web, appinstalled, events, web manifest
可以使用 appinstalled event in an addEventListener 方法:
5030 Window: beforeprint event Event, Reference
beforeprint event is fired when the associated document is about to be printed or previewed for printing.
5031 Window: beforeunload event Event, Reference
beforeunload event is fired when the window, the document and its resources are about to be unloaded.
5032 Window: blur event API, Event, FocusEvent, Reference, Web, Window, blur, onblur
blur event fires when an element has lost focus.
5033 Window: clipboardchange event API, Clipboard API, Reference, clipboardchange, events
clipboardchange event fires when the system clipboard content changes.
5034 Window: copy event 事件
copy event fires when the user initiates a copy action through the browser's user interface.
5035 Window: cut event 事件
cut event is fired when the user has initiated a "cut" action through the browser's user interface.
5036 Window: devicemotion event Sensors, events
devicemotion event is fired at a regular interval and indicates the amount of physical force of acceleration the device is receiving at that time. It also provides information about the rate of rotation, if available.
5037 Window: deviceorientation event Sensors, Window Event, events
deviceorientation event is fired when fresh data is available from an orientation sensor about the current orientation of the device as compared to the Earth coordinate frame. This data is gathered from a magnetometer inside the device.
5038 Window: error event 事件
error event is fired on a Window object when a resource failed to load or couldn't be used — for example if a script has an execution error.
5039 Window: focus event API, Event, Focus, FocusEvent, Reference, Web, Window, onfocus
focus event fires when an element has received focus.
5040 Window: gamepadconnected event
gamepadconnected event is fired when the browser detects that a gamepad has been connected or the first time a button/axis of the gamepad is used.
5041 Window: gamepaddisconnected event
gamepaddisconnected event is fired when the browser detects that a gamepad has been disconnected.
5042 Window: hashchange event Event, Reference
hashchange event is fired when the fragment identifier of the URL has changed (the part of the URL beginning with and following the # symbol).
5043 Window: languagechange event Event, Experimental, HTML DOM, Reference
languagechange event is fired at the global scope object when the user's preferred language changes.
5044 Window: load event DOM, Event, Reference
load 事件被激发当整个页面已加载,包括所有从属资源 (如:样式表和图像)。这相比 DOMContentLoaded ,一旦页面 DOM 被加载就会被激发,无需等待资源完成加载。
5045 Window: message event 事件
message event is fired on a Window object when the window receives a message, for example from a call to Window.postMessage() from another browsing context.
5046 Window: messageerror event 事件
messageerror event is fired on a Window object when it receives a message that can't be deserialized.
5047 Window: offline event API, Event, Offline, Reference, Window
offline event of the Window interface is fired when the browser has lost access to the network and the value of Navigator.onLine switches to false .
5048 Window: online event API, Event, Online, Reference, Window
online event of the Window interface is fired when the browser has gained access to the network and the value of Navigator.onLine switches to true .
5049 Window: orientationchange event API, Event, Reference, Sensors, Window, onorientationchange
orientationchange event is fired when the orientation of the device has changed.
5050 Window: pagehide event API, Event, History, Navigation, Reference, Window, pagehide
pagehide event is sent to a Window when the browser hides the current page in the process of presenting a different page from the session's history.
5051 Window: pageshow event API, Document, Event, History, Navigation, Page, PageTransitionEvent, Reference, Window, pageshow, show
pageshow event is sent to a Window when the browser makes the window's document visible due to navigation tasks.
5052 Window: paste event 事件
paste event is fired when the user has initiated a "paste" action through the browser's user interface.
5053 Window: popstate event API, Event, History, History API, Reference, Window, popstate
popstate event of the Window interface is fired when the active history entry changes.
5054 Window: rejectionhandled event API, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Window, Worker, events, global, onrejectionhandled, rejectionhandled
rejectionhandled event is sent to the script's global scope (usually window but also Worker ) whenever a JavaScript Promise is rejected but after the promise rejection has been handled.
5055 Window: resize event API, Reference, Web, Window, events, resize
resize event fires when the document view (window) has been resized.
5056 Window: storage event API, Event, Reference, Storage, Web Storage, Window
storage event of the Window interface fires when a storage area ( localStorage or sessionStorage ) 已在另一文档上下文中被修改。
5057 Window: transitioncancel event Reference, events
transitioncancel event is fired when a CSS transition 被取消。
5058 Window: transitionend event Reference, events
transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display 被设为 none , then the event will not be generated.
5059 Window: transitionrun event Reference, events
transitionrun event is fired when a CSS transition is first created, i.e. before any transition-delay has begun.
5060 Window: transitionstart event Reference, events
transitionstart event is fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
5061 Window: unhandledrejection event API, Event, HTML DOM, JavaScript, Promise, Promises, Reference, Rejection, Window, Worker, events, global scope, unhandledrejection
unhandledrejection event is sent to the global scope of a script when a JavaScript Promise that has no rejection handler is rejected; typically, this is the window , but may also be a Worker .
5062 Window: unload event Event, Reference, Window, events
unload event is fired when the document or a child resource is being unloaded.
5063 Window: vrdisplayactivate event Reference, WebVR, events, onvrdisplayactivate, vrdisplayactivate
可以使用 vrdisplayactivate event in an addEventListener 方法:
5064 Window: vrdisplayblur event Experimental, Reference, WebVR, events, onvrdisplayblur, vrdisplayblur
可以使用 vrdisplayblur event in an addEventListener 方法:
5065 Window: vrdisplayconnect event Event, Reference, WebVR, onvrdisplayconnect, vrdisplayconnect
可以使用 vrdisplayconnect event in an addEventListener 方法:
5066 Window: vrdisplaydeactivate event Reference, WebVR, events, onvrdisplaydeactivate, vrdisplaydeactivate
可以使用 vrdisplaydeactivate event in an addEventListener 方法:
5067 Window: vrdisplaydisconnect event Event, Reference, WebVR, onvrdisplaydisconnect, vrdisplaydisconnect
可以使用 vrdisplaydisconnect event in an addEventListener 方法:
5068 Window: vrdisplayfocus event Reference, WebVR, events, onvrdisplayfocus, vrdisplayfocus
可以使用 vrdisplayfocus event in an addEventListener 方法:
5069 Window: vrdisplaypointerrestricted event Reference, Web VR, Window, events, vrdisplaypointerrestricted
可以使用 vrdisplaypointerrestricted event in an addEventListener 方法:
5070 Window: vrdisplaypointerunrestricted event Reference, WebVR, Window, events, vrdisplaypointerunrestricted
可以使用 vrdisplaypointerunrestricted event in an addEventListener 方法:
5071 Window: vrdisplaypresentchange event Event, Reference, WebVR, onvrdisplaypresentchange, vrdisplaypresentchange
可以使用 vrdisplaypresentchange event in an addEventListener 方法:
5072 window.cancelAnimationFrame() API, Animation, DOM, Experimental, Method, Reference, Window
window.cancelAnimationFrame() method cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame() .
5073 window.cancelIdleCallback() API, DOM, DOM Reference, JavaScript timers, Method, Reference, Window, cancelIdleCallback
window.cancelIdleCallback() method cancels a callback previously scheduled with window.requestIdleCallback() .
5074 window.requestIdleCallback() API, DOM, DOM Reference, JavaScript timers, Method, Reference, Window, requestIdleCallback
window.requestIdleCallback() method queues a function to be called during a browser's idle periods. This enables developers to perform background and low priority work on the main event loop, without impacting latency-critical events such as animation and input response. Functions are generally called in first-in-first-out order; however, callbacks which have a timeout specified may be called out-of-order if necessary in order to run them before the timeout elapses.
5075 WindowClient API, Client, Experimental, Interface, Reference, Service Workers, ServiceWorker, WindowClient
WindowClient 接口在 ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
5076 WindowClient.focus() API, Client, Experimental, Focus, Method, Reference, Service Workers, WindowClient
focus() 方法在 WindowClient interface gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient .
5077 WindowClient.focused API, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, focused
focused 只读特性在 WindowClient 接口是 布尔 that indicates whether the current client has focus.
5078 WindowClient.navigate() API, Client, Experimental, Method, Navigate, Reference, Service Workers, WindowClient
navigate() 方法在 WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient .
5079 WindowClient.visibilityState API, Experimental, Property, Reference, Service Workers, ServiceWorker, WindowClient, visibilityState
visibilityState 只读特性在 WindowClient interface indicates the visibility of the current client. This value can be one of hidden , visible , prerender ,或 unloaded .
5080 WindowEventHandlers API, HTML-DOM, Interface, Mixin, Reference, WindowEventHandlers
WindowEventHandlers mixin describes the event handlers common to several interfaces like Window ,或 HTMLBodyElement and HTMLFrameSetElement . Each of these interfaces can implement additional specific event handlers.
5081 WindowEventHandlers.onafterprint API, DOM, Event Handler, HTML-DOM, Property, Reference, Window, printing
onafterprint 特性为 WindowEventHandlers 混合 EventHandler 为处理 afterprint events for the current window. These events are raised after the user prints, or if they abort the print dialog.
5082 WindowEventHandlers.onbeforeprint API, DOM, Event Handler, Property, Reference, printing
onbeforeprint 特性为 WindowEventHandlers 混合 EventHandler 为处理 beforeprint events for the current window. These events are raised before the print dialog window is opened.
5083 WindowEventHandlers.onbeforeunload API, DOM, Event Handler, Property, Reference, Window
onbeforeunload 特性为 WindowEventHandlers 混合 EventHandler 为处理 beforeunload events. These events fire when a window is about to unload its resources. At this point, the document is still visible and the event is still cancelable.
5084 WindowEventHandlers.onhashchange Event Handler, HTML-DOM, Hash, Property, Reference, URL & Hash, WindowEventHandlers
WindowEventHandlers.onhashchange 特性为 WindowEventHandlers 混合 EventHandler 为处理 hashchange 事件。
5085 WindowEventHandlers.onlanguagechange API, Event Handler, Experimental, Property, Reference, WindowEventHandlers
onlanguagechange 特性为 WindowEventHandlers 混合 EventHandler 为处理 languagechange 事件。
5086 WindowEventHandlers.onmessage API, Event Handler, HTML-DOM, Property, Reference, Window, WindowEventHandlers, events, onmessage
onmessage 特性为 WindowEventHandlers 混合 EventHandler called whenever an object receives a message 事件。
5087 WindowEventHandlers.onmessageerror API, Event Handler, HTML-DOM, Property, Reference, Window, onmessageerror
onmessageerror event handler of the WindowEventHandlers interface is an EventListener , called whenever an MessageEvent 类型 messageerror is fired on a window—that is, when it receives a message that cannot be deserialized .
5088 WindowEventHandlers.onpopstate API, DOM, Event Handler, HTML5, NeedsSpecTable, Property, Window, events
onpopstate 特性为 WindowEventHandlers 混合 EventHandler 为处理 popstate events on the window.
5089 WindowEventHandlers.onrejectionhandled API, Event Handler, HTML DOM, JavaScript, Promises, Property, Reference, WindowEventHandlers, events, onrejectionhandled
onrejectionhandled 特性为 WindowEventHandlers 混合 EventHandler 为处理 rejectionhandled events. These events are raised when Promise s are rejected.
5090 WindowEventHandlers.onstorage API, Event Handler, Property, Reference, Web Storage, WindowEventHandlers
onstorage 特性为 WindowEventHandlers 混合 EventHandler 为处理 storage 事件。
5091 WindowEventHandlers.onunhandledrejection API, Event Handler, HTML DOM, Promises, Property, Reference, WindowEventHandlers, events, onunhandledrejection
onunhandledrejection 特性为 WindowEventHandlers 混合 EventHandler 为处理 unhandledrejection events. These events are raised for unhandled Promise rejections.
5092 WindowEventHandlers.onunload API, Event Handler, MakeBrowserAgnostic, Property, Reference, WindowEventHandlers
onunload 特性为 WindowEventHandlers 混合 EventHandler 为处理 unload events. These events fire when the window is unloading its content and resources. The resource removal is processed after the unload event occurs.
5093 WindowOrWorkerGlobalScope API, DOM, DOM API, Service Worker, Window, WindowOrWorkerGlobalScope, Worker, WorkerGlobalScope
WindowOrWorkerGlobalScope mixin describes several features common to the Window and WorkerGlobalScope 接口。
5094 WindowOrWorkerGlobalScope.atob() API, DOM, Method, Reference, Référence(2), WindowOrWorkerGlobalScope, atob
WindowOrWorkerGlobalScope.atob() function decodes a string of data which has been encoded using base-64 encoding. You can use the btoa() method to encode and transmit data which may otherwise cause communication problems, then transmit it and use the atob() method to decode the data again. For example, you can encode, transmit, and decode control characters such as ASCII values 0 through 31.
5095 WindowOrWorkerGlobalScope.btoa() API, DOM, Method, Reference, Web, WindowOrWorkerGlobalScope, btoa, data, strings
WindowOrWorkerGlobalScope.btoa() method creates a base-64 encoded ASCII string from a binary string (i.e., a 字符串 object in which each character in the string is treated as a byte of binary data).
5096 WindowOrWorkerGlobalScope.caches API, Experimental, Property, Read-only, Reference, Service Workers, Web Workers, Window, WindowOrWorkerGlobalScope
caches 只读特性在 WindowOrWorkerGlobalScope interface returns the CacheStorage object associated with the current context. This object enables functionality such as storing assets for offline use, and generating custom responses to requests.
5097 WindowOrWorkerGlobalScope.clearInterval() API, HTML DOM, JavaScript timers, Method, Reference, WindowOrWorkerGlobalScope, clearInterval
clearInterval() 方法在 WindowOrWorkerGlobalScope mixin cancels a timed, repeating action which was previously established by a call to setInterval() .
5098 WindowOrWorkerGlobalScope.clearTimeout() API, HTML DOM, Method, Reference, WindowOrWorkerGlobalScope, clearTimeout
clearTimeout() 方法在 WindowOrWorkerGlobalScope mixin cancels a timeout previously established by calling setTimeout() .
5099 WindowOrWorkerGlobalScope.fetch() API, Experimental, Fetch, Fetch API, GlobalFetch, Method, Reference, request
fetch() 方法在 WindowOrWorkerGlobalScope mixin starts the process of fetching a resource from the network, returning a promise which is fulfilled once the response is available.
5100 WindowOrWorkerGlobalScope.indexedDB API, Database, IndexedDB, Property, Read-only, Reference, Storage, WindowOrWorkerGlobalScope
indexedDB 只读特性在 WindowOrWorkerGlobalScope mixin provides a mechanism for applications to asynchronously access the capabilities of indexed databases.
5101 WindowOrWorkerGlobalScope.isSecureContext API, DOM, Property, Reference, Web, Window, WindowOrWorkerGlobalContext, Workers, isSecureContext
isSecureContext 只读特性在 WindowOrWorkerGlobalScope interface returns a boolean indicating whether the current context is secure ( true ) 或不 ( false ).
5102 WindowOrWorkerGlobalScope.origin API, DOM, Property, Reference, Web, Window, WindowOrWorkerGlobalScope, Worker, origin
origin 只读特性在 WindowOrWorkerGlobalScope interface returns the origin of the global scope, serialized as a string.
5103 WindowOrWorkerGlobalScope.queueMicrotask() API, HTML DOM, Intervals, JavaScript, Method, Microtask, Performance, Reference, Scheduling, ServiceWorker, SharedWorker, Tasks, Timers, Window, WindowOrWorkerGlobalScope, Worker, asynchronous, queueMicrotask, setTimeout
queueMicrotask() method, which is exposed on the Window or Worker interface, queues a microtask to be executed at a safe time prior to control returning to the browser's event loop.
5104 WindowOrWorkerGlobalScope.setInterval() API, DOM, Gecko, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, Timers, WindowOrWorkerGlobalScope, setInterval
setInterval() method, offered on the Window and Worker interfaces, repeatedly calls a function or executes a code snippet, with a fixed time delay between each call.
5105 WindowOrWorkerGlobalScope.setTimeout() API, HTML DOM, Intervals, JavaScript timers, MakeBrowserAgnostic, Method, NeedsMarkupWork, NeedsUpdate, Reference, Timers, WindowOrWorkerGlobalScope, setTimeout
setTimeout() 方法在 WindowOrWorkerGlobalScope mixin (and successor to Window.setTimeout() ) sets a timer which executes a function or specified piece of code once the timer expires.
5106 self.createImageBitmap() API, Canvas, DOM, Method, Reference, WindowOrWorkerGlobalScope, createImageBitmap
createImageBitmap() method creates a bitmap from a given source, optionally cropped to contain only a portion of that source. The method exists on the global scope in both windows and workers. It accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap .
5107 Worker API, DOM, Interface, JavaScript, Reference, Web Workers, Worker, Workers
Worker 接口在 Web 工作者 API represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread.
5108 Worker() API, Constructor, Reference, Référence(2), Web Workers, Worker
Worker() constructor creates a Worker object that executes the script at the specified URL. This script must obey the same-origin policy .
5109 Worker.onmessage API, EventHandler, Property, Reference, Référence(2), Web Workers, Worker, onmessage
onmessage 特性为 Worker interface represents an EventHandler , that is a function to be called when the message event occurs. These events are of type MessageEvent and will be called when the worker's parent receives a message (i.e. from the DedicatedWorkerGlobalScope.postMessage 方法)。
5110 Worker.onmessageerror API, Event Handler, Property, Reference, Worker, onmessageerror
onmessageerror event handler of the Worker interface is an EventListener , called whenever an MessageEvent 类型 messageerror is fired on the Worker instance — that is, when it receives a message that cannot be deserialized .
5111 Worker.prototype.postMessage() API, JavaScript, Method, Reference, Référence(2), Web Workers, Worker, postMessage
postMessage() 方法在 Worker interface sends a message to the worker's inner scope. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
5112 Worker.terminate() API, Method, Reference, Référence(2), Web Workers, Worker, terminate
terminate() 方法在 Worker interface immediately terminates the Worker . This does not offer the worker an opportunity to finish its operations; it is simply stopped at once.
5113 Worker: message event 事件
message event is fired on a Worker object when the worker's parent receives a message from its worker (i.e. when the worker sends a message using DedicatedWorkerGlobalScope.postMessage() ).
5114 Worker: messageerror event 事件
messageerror event is fired on a Worker object when it receives a message that can't be deserialized.
5115 WorkerGlobalScope API, Interface, Reference, WorkerGlobalScope, Workers
WorkerGlobalScope 接口在 Web 工作者 API is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop.
5116 WorkerGlobalScope.close() API, Deprecated, Method, Reference, Référence(2), Web Workers, WorkerGlobalScope, close
close() 方法在 WorkerGlobalScope interface discards any tasks queued in the WorkerGlobalScope 's event loop, effectively closing this particular scope.
5117 WorkerGlobalScope.console API, Property, Read-only, Reference, Référence(2), Web Workers, WorkerGlobalScope
console 只读特性在 WorkerGlobalScope interface returns a 控制台 object providing access to the browser console for the worker.
5118 WorkerGlobalScope.dump() API, Method, Reference, Web Workers, WorkerGlobalScope, dump
dump() 方法在 WorkerGlobalScope interface allows you to write a message to stdout — i.e. in your terminal, in Firefox only. This is the same as Firefox's window.dump , but for workers.
5119 WorkerGlobalScope.importScripts() API, Method, Reference, Web Workers, WorkerGlobalScope, importScripts
importScripts() 方法在 WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
5120 WorkerGlobalScope.location API, Location, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope
location 只读特性在 WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the 定位 for browsing scopes, but adapted to workers.
5121 WorkerGlobalScope.navigator API, Navigator, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope
navigator 只读特性在 WorkerGlobalScope interface returns the WorkerNavigator associated with the worker. It is a specific navigator object, mostly a subset of the Navigator for browsing scopes, but adapted to workers.
5122 WorkerGlobalScope.onclose API, Event Handler, Non-standard, Obsolete, Property, Reference, Web Workers, WorkerGlobalScope, onclose
onclose 特性为 WorkerGlobalScope interface represents an EventHandler to be called when the close event occurs and bubbles through the Worker .
5123 WorkerGlobalScope.onerror API, EventHandler, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onerror
onerror 特性为 WorkerGlobalScope interface represents an EventHandler to be called when the error event occurs and bubbles through the Worker .
5124 WorkerGlobalScope.onlanguagechange API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onlanguagechange
onlanguagechange 特性为 WorkerGlobalScope interface represents an EventHandler to be called when the languagechange event occurs and bubbles through the Worker .
5125 WorkerGlobalScope.onoffline API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, onoffline
onoffline 特性为 WorkerGlobalScope interface represents an EventHandler to be called when the offline event occurs and bubbles through the Worker .
5126 WorkerGlobalScope.ononline API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, ononline
ononline 特性为 WorkerGlobalScope interface represents an EventHandler to be called when the online event occurs and bubbles through the Worker .
5127 WorkerGlobalScope.performance API, CheckExample, Performance, Property, Read-only, Reference, Référence(2), WorkerGlobalScope
性能 只读特性在 WorkerGlobalScope interface returns a 性能 object to be used on the worker.
5128 WorkerGlobalScope.self API, Property, Reference, Référence(2), Web Workers, WorkerGlobalScope, self
self 只读特性在 WorkerGlobalScope interface returns a reference to the WorkerGlobalScope itself. Most of the time it is a specific scope like DedicatedWorkerGlobalScope , SharedWorkerGlobalScope ,或 ServiceWorkerGlobalScope .
5129 WorkerGlobalScope: languagechange event Event, Reference, WorkerGlobalScope
languagechange event is fired at the global scope object when the user's preferred language changes.
5130 WorkerLocation API, Web Workers
WorkerLocation interface defines the absolute location of the script executed by the Worker . Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location .
5131 WorkerNavigator API, HTML DOM, Interface, Reference, Web Workers, WorkerNavigator, Workers
WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker . Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator .
5132 WorkerNavigator.connection API, Connection, Experimental, Property, Reference, WorkerNavigator
WorkerNavigator.connection 只读特性返回 NetworkInformation object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered. This could be used to select high definition content or low definition content based on the user's connection.
5133 WorkerNavigator.locks API, Experimental, LockManager, Property, Reference, Web Locks API
locks 只读特性在 WorkerNavigator interface returns a LockManager object which provides methods for requesting a new object and querying for an existing 对象。
5134 WorkerNavigator.permissions API, Experimental, Permissions, Property, Reference, Web Workers, WorkerNavigator, Workers
WorkerNavigator.permissions 只读特性返回 权限 object that can be used to query and update permission status of APIs covered by the 权限 API .
5135 Worklet API, Experimental, Interface, Reference, Worklet, Worklets
Worklet interface is a lightweight version of Web 工作者 and gives developers access to low-level parts of the rendering pipeline.
5136 Worklet.addModule() API, Experimental, Houdini, Method, Reference, Worklets, addModule
addModule() 方法在 Worklet interface loads the module in the given JavaScript file and adds it to the current Worklet .
5137 WritableStream API, Experimental, Interface, Reference, Streams, WritableStream
WritableStream 接口的 Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
5138 WritableStream.WritableStream() API, Constructor, Experimental, Reference, Streams, WritableStream
WritableStream() 构造函数创建新 WritableStream 对象实例。
5139 WritableStream.abort() API, Experimental, Method, Reference, Streams, WritableStream, abort
abort() 方法在 WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
5140 WritableStream.getWriter() API, Experimental, Method, Reference, Streams, WritableStream, getWriter
getWriter() 方法在 WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance. While the stream is locked, no other writer can be acquired until this one is released.
5141 WritableStream.locked API, Experimental, Property, Reference, Streams, WritableStream, locked
locked getter property of the WritableStream interface returns a boolean indicating whether the WritableStream is locked to a writer.
5142 WritableStreamDefaultController API, Experimental, Fetch, Interface, Reference, Streams, WritableStreamDefaultController
WritableStreamDefaultController 接口的 Streams API represents a controller allowing control of a WritableStream 's state. When constructing a WritableStream , the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
5143 WritableStreamDefaultController.WritableStreamDefaultController() API, Constructor, Experimental, Reference, Streams, WritableStreamDefaultController
WritableStreamDefaultController() constructor creates and returns a WritableStreamDefaultController() 对象实例。
5144 WritableStreamDefaultController.error() API, Error, Experimental, Method, Reference, Streams, WritableStreamDefaultController
error() 方法在 WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
5145 WritableStreamDefaultWriter API, Experimental, Interface, Reference, Streams, Streams API, WritableStream
WritableStreamDefaultWriter 接口的 Streams API is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
5146 WritableStreamDefaultWriter.WritableStreamDefaultWriter() API, Constructor, Experimental, Reference, Streams, WritableStreamDefaultWriter
WritableStreamDefaultWriter() 构造函数创建新 WritableStreamDefaultWriter 对象实例。
5147 WritableStreamDefaultWriter.abort() API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, abort
abort() 方法在 WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
5148 WritableStreamDefaultWriter.close() API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, close
close() 方法在 WritableStreamDefaultWriter interface closes the associated writable stream.
5149 WritableStreamDefaultWriter.closed API, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, closed
closed getter property of the WritableStreamDefaultWriter interface returns a promise that fulfills if the stream becomes closed or the writer's lock is released, or rejects if the stream errors.
5150 WritableStreamDefaultWriter.desiredSize API, Experimental, Property, Reference, Streams, WritableStreamDefaultWriter, desiredSize
desiredSize getter property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
5151 WritableStreamDefaultWriter.ready API, Method, Ready, Reference, Streams, Streams API, WritableStream, WritableStreamDefaultWriter
ready getter property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
5152 WritableStreamDefaultWriter.releaseLock() API, Experimental, Method, Reference, Streams, WritiableStream, releaseLock()
releaseLock() 方法在 WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream. After the lock is released, the writer is no longer active. If the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed.
5153 WritableStreamDefaultWriter.write() API, Experimental, Method, Reference, Streams, WritableStreamDefaultWriter, write()
write() 特性为 WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
5154 XDomainRequest AJAX, API, IE, JavaScript, Microsoft, Obsolete, Web
XDomainRequest is an implementation of HTTP access control (CORS) that worked in Internet Explorer 8 and 9. It was removed in Internet Explorer 10 in favor of using XMLHttpRequest with proper CORS; if you are targeting Internet Explorer 10 or later, or wish to support any other browser, you need to use standard HTTP access control .
5155 XDomainRequest.abort() API, DOM, IE, Method, Microsoft, Obsolete, Reference
Aborts an XDomainRequest .
5156 XDomainRequest.onerror AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler which is called when an XDomainRequest encounters an error.
5157 XDomainRequest.onload AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler for when an XDomainRequest has finished receiving the response from the server. You can find the entire server response in the XDomainRequest.responseText 特性。
5158 XDomainRequest.onprogress AJAX, API, DOM, Event, IE, Microsoft, Obsolete, Property, Reference
This method is called periodically as an event handler for progress events on XDomainRequest s, so that code can monitor progress while loading content.
5159 XDomainRequest.ontimeout AJAX, API, DOM, IE, Microsoft, Obsolete, Property, Reference
An event handler which is called when a pending XDomainRequest times out.
5160 XDomainRequest.open() AJAX, IE, JavaScript, Method, Microsoft, Obsolete, Reference
Opens an XDomainRequest which is configured to use a given method (GET/POST) and URL.
5161 XDomainRequest.responseText AJAX, IE, Microsoft, Obsolete, Property, Reference
Returns the response body of an XDomainRequest 以字符串形式。
5162 XDomainRequest.send() API, DOM, IE, Method, Microsoft, Obsolete, Reference
Sends an XDomainRequest which has previously been opened calling XDomainRequest.open() .
5163 XDomainRequest.timeout AJAX, IE, Microsoft, Obsolete, Property, Reference, Référence(2)
Gets or sets the amount of time in milliseconds until an XDomainRequest times out.
5164 XMLDocument API, DOM, Experimental, Interface, Reference, XMLDocument
XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.
5165 XMLDocument.async API, DOM, DOM Reference, Deprecated, Document, Non-standard, Property, Reference, async
document.async can be set to indicate whether a XMLDocument.load() call should be an asynchronous or synchronous request. true is the default value, indicating that documents should be loaded asynchronously.
5166 XMLDocument.load() API, DOM, Deprecated, Method, Non-standard, Reference, load
document.load() is a part of an old version of the W3C DOM Level 3 Load & Save module . Can be used with document.async to indicate whether the request is synchronous or asynchronous (the default). As of at least Gecko 1.9, this no longer supports cross-site loading of documents (Use XMLHttpRequest or fetch() 代替)。
5167 XMLHttpRequest AJAX, API, Communication, HTTP, Interface, Reference, Web, XHR, XMLHttpRequest
使用 XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing.
5168 HTML 在 XMLHttpRequest API, Guide, HTML, HTML with XMLHttpRequest, Loading HTML, Parsing HTML, Web, XMLHttpRequest
The W3C XMLHttpRequest specification adds HTML parsing support to XMLHttpRequest , which originally supported only XML parsing. This feature allows Web apps to obtain an HTML resource as a parsed DOM 使用 XMLHttpRequest .
5169 How to check the security state of an XMLHTTPRequest over SSL
Here is a an example Javascript function that prints the security details of an XMLHTTPRequest sent over SSL. The function is passed the channel property of an XMLHTTPRequest to extract the following information:
5170 发送和接收二进制数据 AJAX, FileReader, MIME, XMLHttpRequest
responseType property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), "arraybuffer" , "blob" , "document" , "json" ,和 "text" response property will contain the entity body according to responseType , as an ArrayBuffer , Blob , Document , JSON , or string. This is null if the request is not complete or was not successful.
5171 同步和异步请求 Communication, DOM, Guide, Intermediate, Networking, Synchronous, XMLHttpRequest, asynchronous
XMLHttpRequest supports both synchronous and asynchronous communications. In general, however, asynchronous requests should be preferred to synchronous requests for performance reasons.
5172 使用 XMLHttpRequest AJAX, AJAXfile, Advanced, DOM, Guide, HTTP, JXON, MakeBrowserAgnostic, Tutorial, XHR, XML, XMLHttpRequest
In this guide, we'll take a look at how to use XMLHttpRequest to issue HTTP requests in order to exchange data between the web site and a server
5173 使用 XMLHttpRequest 在 IE6 Web Development, Web Standards
No summary!
5174 XMLHttpRequest() API, Constructor, Creating an XMLHttpRequest, Fetching Data, Loading Data, NeedsBrowserCompatibility, NeedsExample, NeedsSpecTable, Reading Data, Reference, Server Access, XHR, XMLHttpRequest
XMLHttpRequest() 构造函数创建新 XMLHttpRequest .
5175 XMLHttpRequest.abort() AJAX, API, Abort XHR, Cancel XHR, HTTP, HttpRequest, Method, Reference, Stop XHR, XHR, XMLHttpRequest, abort, cancel, stop
XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its readyState is changed to XMLHttpRequest.UNSENT (0) and the request's status code is set to 0.
5176 XMLHttpRequest.channel API, Non-standard, Property, Reference, XHR, XMLHttpRequest, channel, nsIChannel
XMLHttpRequest.channel is an nsIChannel that used by the object when performing the request. This is null if the channel hasn't been created yet. In the case of a multi-part request, this is the initial channel, not the different parts in the multi-part request. Requires elevated privileges to access.
5177 XMLHttpRequest.getAllResponseHeaders() API, Fetch Headers, Get Headers, HTTP, HTTP Header, Method, Reference, Response Header, XHR, XMLHttpRequest, getAllResponseHeaders
XMLHttpRequest 方法 getAllResponseHeaders() returns all the response headers, separated by CRLF , as a string, or returns null 若未收到响应。
5178 XMLHttpRequest.getResponseHeader() API, Examine Header, Get Header, HTTP, HTTP Header, Headers, Method, Reference, XHR, XHR Header, XMLHttpRequest, getResponseHeader
XMLHttpRequest 方法 getResponseHeader() returns the string containing the text of a particular header's value.
5179 XMLHttpRequest.mozAnon API, Authentication, Cookies, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozAnon
XMLHttpRequest.mozAnon is a boolean. If true, the request will be sent without cookies or authentication headers.
5180 XMLHttpRequest.mozBackgroundRequest API, Background Service, Mozilla, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozBackgroundRequest
XMLHttpRequest.mozBackgroundRequest is a Boolean, indicating if the object represents a background service request.
5181 XMLHttpRequest.mozResponseArrayBuffer API, Non-standard, Property, Reference, XHR, XMLHttpRequest, mozResponseArrayBufer
ArrayBuffer response to the request, written as a JavaScript typed array.
5182 XMLHttpRequest.mozSystem AP, Non-standard, Property, Reference, Same Origin Policy, XHR, XMLHttpRequest, mozSystem, origin
mozSystem is a boolean. If true, the same origin policy is not enforced on the request.
5183 XMLHttpRequest.multipart API, Gecko, Mozilla, Non-standard, Obsolete, Property, Reference, XMLHttpRequest, multipart
This boolean indicates if the response is expected to be a stream of possibly multiple XML documents.
5184 XMLHttpRequest.onreadystatechange API, Event, Handler, Property, Reference, XHR, XMLHttpRequest
An EventHandler that is called whenever the readyState attribute changes. The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange property contains the event handler to be called when the readystatechange event is fired, that is every time the readyState 特性为 XMLHttpRequest 改变。
5185 XMLHttpRequest.open() API, HTTP, Method, NeedsExample, Reference, XHR, XMLHttpRequest, open
XMLHttpRequest 方法 open() 初始化新近创建的请求,或重新初始化现有请求。
5186 XMLHttpRequest.openRequest() API, DOM, Firefox, Gecko, Method, Non-standard, XHR, XMLHttpRequest, openRequest
This Mozilla-specific method is available only from within privileged code, and is only called from a C++ context in order to initialize an XMLHttpRequest .
5187 XMLHttpRequest.overrideMimeType() API, File Type, MIME Type, Method, Reference, XHR, XHR MIME Type, XMLHttpRequest, overrideMimeType
XMLHttpRequest 方法 overrideMimeType() specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request.
5188 XMLHttpRequest.readyState AJAX, Property, Reference, XMLHttpRequest
XMLHttpRequest.readyState property returns the state an XMLHttpRequest client is in. An XHR client exists in one of the following states:
5189 XMLHttpRequest.response AJAX, API, Fetching Content, Fetching Data, Loading Data, Property, Read-only, Reading Data, Reference, Response, Server, XMLHttpRequest
XMLHttpRequest response property returns the response's body content as an ArrayBuffer , Blob , Document , JavaScript 对象 ,或 DOMString , depending on the value of the request's responseType 特性。
5190 XMLHttpRequest.responseText API, Fetching Text, Loading Text, Property, Read-only, Reference, XMLHttpRequest, responseText
只读 XMLHttpRequest property responseText returns the text received from a server following a request being sent.
5191 XMLHttpRequest.responseType AJAX, API, HTTP, HTTP Response, HTTP Response Type, Property, Reference, Response, XHR, XMLHttpRequest, responseType
XMLHttpRequest property responseType is an enumerated string value specifying the type of data contained in the response.
5192 XMLHttpRequest.responseURL AJAX, Property, Read-only, Reference, URL, XMLHttpRequest, responseURL
只读 XMLHttpRequest.responseURL property returns the serialized URL of the response or the empty string if the URL is null . If the URL is returned, any URL fragment present in the URL will be stripped away. The value of responseURL will be the final URL obtained after any redirects.
5193 XMLHttpRequest.responseXML AJAX, API, Fetching XML, Loading XML, Property, Read-only, Reading XML, Reference, Transfer, XML, XMLHttpRequest, download, responseXML, upload
XMLHttpRequest.responseXML 只读特性返回 Document containing the HTML or XML retrieved by the request; or null if the request was unsuccessful, has not yet been sent, or if the data can't be parsed as XML or HTML.
5194 XMLHttpRequest.send() AJAX, API, HTTP request, Method, NeedsContent, NeedsExample, Reference, XHR, XHR Request, XMLHttpRequest, send
XMLHttpRequest 方法 send() sends the request to the server.
5195 XMLHttpRequest.sendAsBinary() Binary Data, HTTP, Method, Non-standard, Obsolete, Reference, Sending Binary Data, XHR, XMLHttpRequest, sendAsBinary
过时 XMLHttpRequest 方法 sendAsBinary() is a variant of the send() method that sends binary data. The send() method now supports binary data and should now be used instead.
5196 XMLHttpRequest.setRequestHeader() API, HTTP, HTTP Header, Method, NeedsExample, Reference, Request header, XHR, XHR Request, XMLHttpRequest, header, request, setRequestHeader
XMLHttpRequest 方法 setRequestHeader() sets the value of an HTTP request header. When using setRequestHeader() , you must call it after calling open() , but before calling send() . If this method is called several times with the same header, the values are merged into one single request header.
5197 XMLHttpRequest.status API, Error, Property, Reference, XMLHttpRequest, XMLHttpRequest Status, result, status
只读 XMLHttpRequest.status property returns the numerical HTTP status code XMLHttpRequest 's response.
5198 XMLHttpRequest.statusText AJAX, API, Property, Read-only, Reference, XMLHttpRequest, XMLHttpRequest Status
只读 XMLHttpRequest.statusText 特性返回 DOMString containing the response's status message as returned by the HTTP server. Unlike XMLHTTPRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState 是在 UNSENT or OPENED state, the value of statusText will be an empty string.
5199 XMLHttpRequest.timeout AJAX, Asynchronous XHR, Asynchronous XMLHttpRequest, Property, Reference, XHR, XMLHttpRequest, timeout
XMLHttpRequest.timeout property is an unsigned long representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, which means there is no timeout. Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception. When a timeout happens, a timeout event is fired.
5200 XMLHttpRequest.upload AJAX, API, Monitoring XMLHttpRequest, Property, Read-only, Reference, Sending Files, Uploading, XHR, XHR Uploads, XMLHttpRequest, XMLHttpRequest Uploads, XMLHttpRequestUpload, upload
XMLHttpRequest upload property returns an XMLHttpRequestUpload object that can be observed to monitor an upload's progress.
5201 XMLHttpRequest.withCredentials AJAX, API, Property, Reference, Security, XHR, XMLHttpRequest, credentials, withCredentials
XMLHttpRequest.withCredentials 特性为 布尔 that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests.
5202 XMLHttpRequest: abort event API, Event, ProgressEvent, Web, XMLHttpRequest, abort
abort event is fired when a request has been aborted, for example because the program called XMLHttpRequest.abort() .
5203 XMLHttpRequest: error event API, Error, Event, ProgressEvent, Web, XMLHttpRequest
error 事件被激发当请求遭遇错误。
5204 XMLHttpRequest: load event API, Event, ProgressEvent, Web, XMLHttpRequest, load
load event is fired when an XMLHttpRequest 事务成功完成。
5205 XMLHttpRequest: loadend event API, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Reference, Web, events, loadend
loadend event is fired when a request has completed, whether successfully (after load ) or unsuccessfully (after abort or error ).
5206 XMLHttpRequest: loadstart event API, Event, NeedsCompatTable, NeedsSpecTable, ProgressEvent, Web, XMLHttpRequest, events, loadstart
loadstart event is fired when a request has started to load data.
5207 XMLHttpRequest: progress event API, Event, ProgressEvent, Reference, Web, XMLHttpRequest, progress
progress event is fired periodically when a request receives more data.
5208 XMLHttpRequest: timeout event API, Event, Reference, XHR, XMLHttpRequest, events, timeout
timeout event is fired when progression is terminated due to preset time expiring.
5209 init()
从 C++ 代码初始化要使用的对象。 警告: 此方法必须 not be called from JavaScript.
5210 XMLHttpRequestEventTarget AJAX, API, NeedsBrowserCompatibility, NeedsContent, Reference, XMLHttpRequest
XMLHttpRequestEventTarget is the interface that describes the event handlers you can implement in an object that will handle events for an XMLHttpRequest .
5211 XMLHttpRequestEventTarget.onabort API, Event Handler, Property, Reference, Web, XHMLHttpRequestEventTarget
XMLHttpRequestEventTarget.onabort is the function called when an XMLHttpRequest transaction is aborted, such as when the XMLHttpRequest.abort() 函数被调用。
5212 XMLHttpRequestEventTarget.onerror API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
XMLHttpRequestEventTarget.onerror is the function called when an XMLHttpRequest transaction fails due to an error.
5213 XMLHttpRequestEventTarget.onload API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
XMLHttpRequestEventTarget.onload is the function called when an XMLHttpRequest 事务成功完成。
5214 XMLHttpRequestEventTarget.onloadstart API, Event Handler, Property, Reference, Web, XMLHttpRequestEventTarget
XMLHttpRequestEventTarget.onloadstart is the function called when an XMLHttpRequest transaction starts transferring data.
5215 XMLHttpRequestEventTarget.onprogress Event Handler, Property, Reference, Web, XHR, XMLHttpRequestEventTarget
XMLHttpRequestEventTarget.onprogress is the function called periodically with information when an XMLHttpRequest before success completely .
5216 XMLHttpRequestResponseType Definition, Enum, Enumerated, Response, Response Type, Type, XMLHttpRequest, XMLHttpRequestResponseType
XMLHttpRequestResponseType type is an enumerated set of strings which are used to specify the type of data contained in the response of an XMLHttpRequest .
5217 XMLSerializer Converting, DOM Parsing, Interface, Parsing, Reference, Serialization, Serializing, XML, XMLSerializer, conversion
XMLSerializer 接口提供 serializeToString() 方法以构造 XML 字符串表示 DOM 树。
5218 XMLSerializer.serializeToString() API, DOM, DOM Parsing, DOM to HTML, DOM to XML, Parsing, Reference, Serialize, Serializing DOM, XML, XMLSerializer, serializeToString
XMLSerializer 方法 serializeToString() constructs a string representing the specified DOM tree in XML form.
5219 XPathEvaluator API, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathEvaluator
XPathEvaluator interface allows to compile and evaluate XPath 表达式。
5220 XPathEvaluator.createExpression() API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator
This method compiles an XPathExpression which can then be used for (repeated) evaluations of the XPath 表达式。
5221 XPathEvaluator.createNSResolver() API, DOM, DOM XPath API, Method, NeedsExample, Reference, XPath, XPathEvaluator
This method adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.
5222 XPathEvaluator.evaluate() API, DOM, DOM XPath API, Method, Reference, XPath, XPathEvaluator
evaluate() 方法在 XPathEvaluator interface executes an XPath expression on the given node or document and returns an XPathResult .
5223 XPathException API, DOM, DOM XPath API, Exception, Reference, XPath
DOM XPath API the XPathException interface represents exception conditions that can be encountered while performing XPath operations.
5224 XPathException.code API, DOM, DOM XPath API, Property, Reference, XPath, XPathException
code 只读特性在 XPathException interface returns a short that contains one of the error code constants .
5225 XPathExpression API, DOM, DOM XPath API, Document, Interface, Reference, XML, XPath, XPathExpression
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM 树。
5226 XPathExpression.evaluate() API, DOM XPath API, Method, Reference, XPath, XPathExpression
evaluate() 方法在 XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult .
5227 XPathNSResolver API, DOM, DOM XPath API, Interface, Reference, XML, XPath, XPathNSResolver
XPathNSResolver interface permits prefix strings in an XPath expression to be properly bound to namespace URI strings.
5228 XPathNSResolver.lookupNamespaceURI() API, DOM, DOM XPath API, Method, Reference, XPath, XPathNSResolver
lookupNamespaceURI method looks up the namespace URI associated to the given namespace prefix within an XPath expression evaluated by the XPathEvaluator 接口。
5229 XPathResult API, DOM XPath API, Interface, Reference, XPath, XPathResult
XPathResult interface represents the results generated by evaluating an XPath expression within the context of a given node.
5230 XPathResult.booleanValue API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 booleanValue 特性为 XPathResult interface returns the boolean value of a result with XPathResult.resultType being BOOLEAN_TYPE .
5231 XPathResult.invalidIteratorState API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 invalidIteratorState 特性为 XPathResult interface signifies that the iterator has become invalid. It is true if XPathResult.resultType is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE and the document has been modified since this result was returned.
5232 XPathResult.iterateNext() API, DOM XPath API, Method, Reference, XPath, XPathResult
iterateNext() 方法在 XPathResult interface iterates over a node set result and returns the next node from it or null if there are no more nodes.
5233 XPathResult.numberValue API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 numberValue 特性为 XPathResult interface returns the numeric value of a result with XPathResult.resultType being NUMBER_TYPE .
5234 XPathResult.resultType API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 resultType 特性为 XPathResult interface represents the type of the result, as defined by the type constants.
5235 XPathResult.singleNodeValue API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 singleNodeValue 特性为 XPathResult interface returns a 节点 value or null in case no node was matched of a result with XPathResult.resultType being ANY_UNORDERED_NODE_TYPE or FIRST_ORDERED_NODE_TYPE .
5236 XPathResult.snapshotItem() API, DOM XPath API, Method, Reference, XPath, XPathResult
snapshotItem() 方法在 XPathResult interface returns an item of the snapshot collection or null in case the index is not within the range of nodes. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated.
5237 XPathResult.snapshotLength API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 snapshotLength 特性为 XPathResult interface represents the number of nodes in the result snapshot.
5238 XPathResult.stringValue API, DOM XPath API, Property, Reference, XPath, XPathResult
只读 stringValue 特性为 XPathResult interface returns the string value of a result with XPathResult.resultType being STRING_TYPE .
5239 XR API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR
WebXR 设备 API interface XR provides methods which let you get access to the a XRSession object represneting a WebXR session. With that XRSession in hand, you can use it to interact with the Augmented Reality (AR) or Virtual Reality (VR) device.
5240 XR.isSessionSupported() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, isSessionSupported
XR 方法 isSessionSupported() returns a promise which resolves to true if the specified WebXR session mode is supported by the user's WebXR device. Otherwise, the promise resolves with false .
5241 XR.ondevicechange AR, Augmented Reality, Event Handler, Experimental, Interface, VR, Virtual Reality, WebXR, WebXR Device API, XR, ondevicechange
XR.ondevicechange 特性为 XR interface is passed a devicechange event whenever availability of an immersive device changes. The event that is fired is a "simple event" that implements the 事件 接口。
5242 XR.requestSession() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, requestSession()
XR.requestSession() 方法在 XR interface returns a Promise that resolves with an XRSession object of the requested XRSessionMode , one of "inline" or "immersive-vr" .
5243 XR: devicechange event
A devicechange event is fired on XR interface whenever the availability of immersive XR devices has changed.
5244 XRFrame API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame
XRFrame 接口在 WebXR 设备 API provides information needed to render a single frame of an AR/VR scene to the display. An instance of this object is passed to each call of the callback provided to XRSession.requestAnimationFrame .
5245 XRFrame.getPose() API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame, getPose()
getPose() 方法在 XRFrame interface turns an XRPose object representing the relative relationship between any two XRSpace 对象。
5246 XRFrame.getViewerPose() API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame, getViewerPose()
XRFrame.getViewerPose() 方法在 XRFrame interface returns an XRViewerPose corresponding to the viewer's pose in a given XRReferenceSpace .
5247 XRFrame.session API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRFrame
session readonly property of XRFrame interface references the XRSession that produced it.
5248 XRFrameRequestCallback Fixup spec table
XRFrameRequestCallback is a callback function passed into XRSession.requestAnimationFrame (part of WebXR API ) to obtain the current time and the current XRFrame .
5249 XRInputSource API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSource
XRInputSource 接口在 WebXR 设备 API returns information about the Web AR/VR control device being used. The control device is platform-specific and defines a primary action. A primary action is a trigger, touchpad, button, spoken command, or hand gesture that when performed produces selectstart , selectend ,和 select 事件。
5250 XRInputSource.gripSpace API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRInputSession, gripSpace
XRInputSource.gripSpace 只读特性在 XRInputSource interface returns an XRSpace whose native origin tracks the pose that should be used to render virtual objects such that they appear to be held in the user's hand. For example, if a user were holding a virtual straight rod, the native origin of this XRSpace would be the approximate center of the user's curled fingers.
5251 XRPose
XRPose WebXR API interface that represents position and orientation in a 3D space relative to an XRSpace .
5252 XRPose.emulatedPosition
emulatedPosition readonly attribute of XRPose 布尔 that repressents whether or not that pose is tracked with real 6DOF hardware or is an estimated in software.
5253 XRPose.transform
transform readonly attribute of XRPose XRRigidTransform that describes the position and orientation of that transform relative to the base XRSpace .
5254 XRRenderState API, AR, Augmented Reality, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState
XRRenderState 接口在 WebXR 设备 API represents a set of configurable values which affect how XRSession 's output is composited. The active render state for an XRSession changes between frame boundaries. To queue updates for the next frame, call XRSession.updateRenderState() .
5255 XRRenderState.baseLayer API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, baseLayer
baseLayer 只读特性在 XRRenderState interface returns the XRWebGLLayer instance that is the source of bitmap images and a description of how the image is to be rendered in the device.
5256 XRRenderState.depthFar API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, depthFar
depthFar 只读特性在 XRRenderState interface returns the distance in meters of the far clip plane from the viewer.
5257 XRRenderState.depthNear API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, depthNear
depthNear 只读特性在 XRRenderState interface returns the distance in meters of the near clip plane from the viewer.
5258 XRRenderState.inlineVerticalFieldOfView 'Augmented Reality, API, AR, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRRenderState, inlineVerticalFieldOfView
inlineVerticalFieldOfView 只读特性在 XRRenderState interface defines the angle of the field of view in radians used when computing projection matrices for "inline" XRSession objects. This option must be null for immersive sessions.
5259 XRRigidTransform
XRRigidTransform WebXR API interface that represents 3D geometric transform described by a position and orientation.
5260 XRSession API, AR, Augmented Reality, Interface, Reference, VR, Virtual Reality, WebXR Device API, XRSession
XRSession WebXR 设备 API provides the means to interact with an AR/VR device, providing features such as polling the viewer space (viewer pose), getting information about the user's environment, and presenting imagery to the user. To get an XRSession call XR.requestSession() .
5261 XRSession.cancelAnimationFrame() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, cancelAnimationFrame()
cancelAnimationFrame() 方法在 XRSession interface cancels an animation frame previously requested via a call to XRSession.requestAnimationFrame .
5262 XRSession.end() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, end()
end() 方法在 XRSession interface requests shutdown the current XR session and returns a promise that resolves when the session ends.
5263 XRSession.environmentBlendMode
environmentBlendMode readonly attribute of XRSession distinguishes the VR devices, AR devices with see-through screens and pass-through screens.
5264 XRSession.inputSources API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, inputSources
inputSources readonly property of the XRSession interface returns an XRInputSourceArray object representing all tracked controllers, including but not limited to handheld controllers, optically tracked hands, and gaze-based input methods. Keyboards, gamepads, and mice are not considered input sources.
5265 XRSession.onend API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, onend
onend attribute of the XRSession object is the event handler for the end event, which is dispatched after the XR session ends and all related hardware-specific routines are completed.
5266 XRSession.oninputsourceschange API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, oninputsourceschange
oninputsourcechange attribute of the XRSession object is the event handler for the inputsourcechange event, which is dispatched when session's list of active XR input sources has changed. The list itself is accessible via XRSession.inputSources .
5267 XRSession.onselect API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XR, onselect
onselect attribute of the XRSession object is the event handler for the select event, which is dispatched when a user presses a trigger, touchpad, or button, speaks a command, or makes a hand gesture.
5268 XRSession.onselectend API, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onselectend
onselectend attribute of the XRSession object is the event handler for the selectend event, which is dispatched when user finishes making some sort of selection by releasing a trigger, touchpad, or button, finishes speaking a command, or makes a hand gesture. For example, this might include releasing a button or joystick.
5269 XRSession.onselectstart API, AR, Augmented Reality, Event Handler, Experimental, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, onselectstart
onselectstart attribute of the XRSession object is the event handler for the selectstart event, which is dispatched when user starts making some sort of selection by pressing a trigger, touchpad, or button, speaking a command, or making a hand gesture. For example, this might include pressing a button or moving a joystick.
5270 XRSession.onvisibilitychange API, AR, Augmented Reality, Event Handler, Reference, VR, Virtual Reality, WebXR Device API, XRSession, onvisibilitychange
onvisibilitychange attribute of the XRSession object is the event handler for the visibilitychange event, which is dispatched when the visibility state of the XR session changes. The visibility state of the session is accessible via XRSession.visibilityState .
5271 XRSession.renderState API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, renderState
renderState readonly attribute of XRSession 返回 XRRenderState object, which provides information about the user's environment.
5272 XRSession.requestAnimationFrame() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, requestAnimationFrame()
requestAnimationFrame() 方法在 XRSession interface Tells the browser to paint one frame of an animation at which time the browser will call the supplied callback function. The callback will be run once before the next repaint.
5273 XRSession.requestReferenceSpace() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR Device API, XRSession, requestReferenceSpace()
requestReferenceSpace() 方法在 XRSession interface returns a Promise that resolves with either an instance of XRReferenceSpace or of XRBoundedReferenceSpace which contains information about the current session tracking behavior.
5274 XRSession.updateRenderState() API, AR, Augmented Reality, Experimental, Method, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, updateRenderState()
updateRenderState() 方法在 XRSession interface of WebXR API queues an update to the active render state which will be applied on the next frame.
5275 XRSession.visibilityState API, AR, Augmented Reality, Experimental, Property, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSession, visibilityState
visibilityState readonly property of the XRSession interface indicates whether or not the imagery produced by the XR session is visible to the user.
5276 XRSession: end event
A end event is fired on XRSession interface when the XR session is ended, either by application or User Agent.
5277 XRSessionMode
XRSessionMode enum of WebXR 设备 API defines the possible values for session modes.
5278 XRSpace API, AR, Augmented Realty, Experimental, Interface, Reference, VR, Virtual Reality, WebXR, WebXR Device API, XRSpace
XRSpace 接口在 WebXR 设备 API is the base class for classes that represent a virtual coordinate system with an origin that corresponds to a physical location. Spatial data in WebXR is always expressed in relationship to an instance of an XRSpace descendant at the time of a specific XRFrame . Numeric values such as pose positions are coordinates in that space relative to its origin. The XRSpace interface is only used through one of its descendent classes.
5279 XSLTProcessor API, DOM, DOM Reference, Reference, XSLT
An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
5280 Browser Differences
No summary!
5281 Generating HTML
No summary!
5282 介绍
No summary!
5283 资源
No summary!
5284 XSL Transformations in Mozilla FAQ Guide, XSLT
Make sure the mime type for both source and stylesheet are set to an XML mimetype, namely text/xml or application/xml . The XSLT namespace is http://www.w3.org/1999/XSL/Transform . Use the <?xml-stylesheet ?> processing instruction instead of the non-standard xml:stylesheet. The most common cause is the MIME type handling. To find out which MIME type your server sends, look at Page Info, use extensions like LiveHTTPHeaders or a download manager like wget . Mozilla won't load XSLT stylesheets from a different domain for security reasons.
5285 XSLT Basic Example XSLT
This first example demonstrates the basics of setting up an XSLT transformation in a browser. The example will take an XML document that contains information (title, list of authors and body text) about an article and present it in an human readable form.
5286 console API, Debugging, Interface, Reference, console, web console
console object provides access to the browser's debugging console (e.g. the Web 控制台 in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided.
5287 Console.assert() API, DOM, Debugging, Method, Web Development, console, web console
Writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
5288 Console.clear() API, Debugging, Method, console, web console
Clears the console.
5289 Console.count() API, DOM, Debugging, Method, Web Development, web console
Logs the number of times that this particular call to count() has been called. This function takes an optional argument label .
5290 Console.countReset() API, DOM, Debugging, Method, Web Development, web console
Resets the counter. This function takes an optional argument label .
5291 Console.debug() API, Debug, Debugging, Developer Tools, Logging, Method, Reference, console, log, output, print
控制台 方法 debug() outputs a message to the web console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output.
5292 Console.dir() API, DOM, Debugging, Method, Reference, Web Development, console, web console
控制台 方法 dir() displays an interactive list of the properties of the specified JavaScript object.
5293 Console.dirxml() API, DOM, Debugging, Method, Web Development, web console
Displays an interactive tree of the descendant elements of the specified XML/HTML element. If it is not possible to display as an element the JavaScript Object view is shown instead. The output is presented as a hierarchical listing of expandable nodes that let you see the contents of child nodes.
5294 Console.error() API, DOM, Debugging, Method, Web Development, web console
Outputs an error message to the Web Console.
5295 Console.group() API, DOM, Debugging, Method, Web Development, web console
Creates a new inline group in the Web 控制台 log. This indents following console messages by an additional level, until console.groupEnd() 被调用。
5296 Console.groupCollapsed() API, DOM, DOM Reference, Debugging, Method, Reference, Web Development, web console
Creates a new inline group in the Web Console. Unlike console.group() , however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.
5297 Console.groupEnd() API, DOM, Debugging, Method, Web Development, web console
Exits the current inline group in the Web 控制台 。见 在控制台中使用组 console documentation for details and examples.
5298 Console.info() API, Debugging, Method, Web Development, web console
Outputs an informational message to the Web Console. Only in Firefox, a small "i" icon is displayed next to these items in the Web Console's log.
5299 Console.profile() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profile, web console
Starts recording a performance profile (for example, the Firefox performance tool ).
5300 Console.profileEnd() API, DOM, Debugging, Method, Non-standard, Reference, Web Development, profileEnd, web console
The profileEnd method stops recording a profile previously started with Console.profile() .
5301 Console.table() API, DOM, Debugging, Method, Web Development, web console
将表列数据显示为表格。
5302 Console.time() API, DOM, Debugging, Method, Web Development, console, web console
Starts a timer you can use to track how long an operation takes. You give each timer a unique name, and may have up to 10,000 timers running on a given page. When you call console.timeEnd() with the same name, the browser will output the time, in milliseconds, that elapsed since the timer was started.
5303 Console.timeEnd() API, DOM, Debugging, Method, Web Development, console, web console
Stops a timer that was previously started by calling console.time() .
5304 Console.timeLog() API, DOM, Debugging, Method, Web Development, console, web console
Logs the current value of a timer that was previously started by calling console.time() to the console.
5305 Console.timeStamp() API, DOM, Debugging, Method, Non-standard, Web Development, web console
Adds a single marker to the browser's 性能 or Waterfall tool. This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events.
5306 Console.warn() API, DOM, Debugging, Method, Web Development, web console
输出警告消息到 Web 控制台。
5307 console.log() API, DOM, Debugging, HTML-tree, Method, Reference, Web Development, console, console.dir(), console.log(), difference, web console
控制台 方法 log() outputs a message to the web console.
5308 console.trace() API, Chrome, DOM, Debugging, Firefox, Method, String, Web Development, console, console.trace(), trace, web console
console 接口的 trace() method outputs a stack trace to the Web 控制台 .
5309 getCandidateWindowClientRect
\
5310 msCaching msCaching
msCaching read/write property specifies whether stream data downloaded using XMLHttpRequest is cached to disk or not.
5311 msCachingEnabled msCachingEnabled
msCachingEnabled method gets the current caching state for an XMLHttpRequest .
5312 msCapsLockWarningOff
msCapsLockWarningOff read/write property turns automatic caps lock warning on or off for validated password input fields.
5313 msFirstPaint msFirstPaint
msFirstPaint is a read-only property which gets the time when the document loaded by the window object began to be displayed to the user.
5314 msGetPropertyEnabled msGetPropertyEnabled
msGetPropertyEnabled returns whether a given property in the style object is enabled.
5315 msGetRegionContent msGetRegionContent
msGetRegionContent returns an array of Range instances corresponding to the content from the region flow that is positioned in the region.
5316 msGraphicsTrustStatus msGraphicsTrustStatus
msGraphicsTrustStatus is a read-only property which returns an object containing information on protected video playback.
5317 msIsBoxed msIsBoxed
msIsBoxed is a property which gets or sets when the video player control is in boxed (letterbox or pillarbox) mode.
5318 msPlayToDisabled msPlayToDisabled
msPlayToDisabled is a read/write property which gets and sets if the PlayTo device is enabled or disabled.
5319 msPlayToPreferredSourceUri
msPlayToPreferredSourceUri is a read/write property which gets or sets the path to the preferred media source. This enables the PlayTo target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.
5320 msPlayToPrimary msPlayToPrimary
msPlayToPrimary is a read/write property which gets or sets the primary DLNA PlayTo 设备。
5321 msPlayToSource msPlayToSource
msPlayToSource is a read-only property which gets the source associated with the media element for use by the PlayToManager .
5322 msPutPropertyEnabled msPutPropertyEnabled
No summary!
5323 msRealTime msRealTime
msRealTime is a read/write property which specifies whether or not to enable low-latency playback on the media element.
5324 msRegionOverflow Internet Explorer, msRegionOverflow
msRegionOverflow read-only property determines if content fully fits into the region or not.
5325 msSetMediaProtectionManager msSetMediaProtectionManager
msSetMediaProtectionManager method specifies the media protection manager for a given media pipeline.
5326 msWriteProfilerMark msWriteProfilerMark
msWriteProfilerMark 方法写入剖分析事件。
5327 mssitemodejumplistitemremoved
mssitemodejumplistitemremoved event occurs when msSiteModeShowJumpList is called and an item has been removed from a 跳转列表 by the user.
5328 msthumbnailclick msthumbnailclick
msthumbnailclick event occurs when a user clicks a button or thumbnail icon in the taskbar.

元数据

  • 最后修改: