@types/web 0.0.250 → 0.0.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +649 -553
- package/iterable.d.ts +2 -2
- package/package.json +1 -1
- package/ts5.5/index.d.ts +649 -553
- package/ts5.5/iterable.d.ts +2 -2
- package/ts5.6/index.d.ts +649 -553
- package/ts5.6/iterable.d.ts +2 -2
package/ts5.6/index.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ interface Algorithm {
|
|
|
55
55
|
name: string;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
interface AllAcceptedCredentialsOptions {
|
|
59
|
+
allAcceptedCredentialIds: Base64URLString[];
|
|
60
|
+
rpId: string;
|
|
61
|
+
userId: Base64URLString;
|
|
62
|
+
}
|
|
63
|
+
|
|
58
64
|
interface AnalyserOptions extends AudioNodeOptions {
|
|
59
65
|
fftSize?: number;
|
|
60
66
|
maxDecibels?: number;
|
|
@@ -465,6 +471,13 @@ interface CryptoKeyPair {
|
|
|
465
471
|
publicKey: CryptoKey;
|
|
466
472
|
}
|
|
467
473
|
|
|
474
|
+
interface CurrentUserDetailsOptions {
|
|
475
|
+
displayName: string;
|
|
476
|
+
name: string;
|
|
477
|
+
rpId: string;
|
|
478
|
+
userId: Base64URLString;
|
|
479
|
+
}
|
|
480
|
+
|
|
468
481
|
interface CustomEventInit<T = any> extends EventInit {
|
|
469
482
|
detail?: T;
|
|
470
483
|
}
|
|
@@ -2388,6 +2401,11 @@ interface UnderlyingSource<R = any> {
|
|
|
2388
2401
|
type?: ReadableStreamType;
|
|
2389
2402
|
}
|
|
2390
2403
|
|
|
2404
|
+
interface UnknownCredentialOptions {
|
|
2405
|
+
credentialId: Base64URLString;
|
|
2406
|
+
rpId: string;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2391
2409
|
interface ValidityStateFlags {
|
|
2392
2410
|
badInput?: boolean;
|
|
2393
2411
|
customError?: boolean;
|
|
@@ -3103,7 +3121,7 @@ interface Animation extends EventTarget {
|
|
|
3103
3121
|
*/
|
|
3104
3122
|
reverse(): void;
|
|
3105
3123
|
/**
|
|
3106
|
-
* The **`updatePlaybackRate()`** method of the Web Animations API's synchronizing its playback position.
|
|
3124
|
+
* The **`updatePlaybackRate()`** method of the Web Animations API's Animation Interface sets the speed of an animation after first synchronizing its playback position.
|
|
3107
3125
|
*
|
|
3108
3126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/updatePlaybackRate)
|
|
3109
3127
|
*/
|
|
@@ -3324,7 +3342,7 @@ interface AudioBuffer {
|
|
|
3324
3342
|
*/
|
|
3325
3343
|
readonly sampleRate: number;
|
|
3326
3344
|
/**
|
|
3327
|
-
* The **`copyFromChannel()`** method of the
|
|
3345
|
+
* The **`copyFromChannel()`** method of the AudioBuffer interface copies the audio sample data from the specified channel of the `AudioBuffer` to a specified Float32Array.
|
|
3328
3346
|
*
|
|
3329
3347
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/copyFromChannel)
|
|
3330
3348
|
*/
|
|
@@ -3361,7 +3379,7 @@ interface AudioBufferSourceNode extends AudioScheduledSourceNode {
|
|
|
3361
3379
|
*/
|
|
3362
3380
|
buffer: AudioBuffer | null;
|
|
3363
3381
|
/**
|
|
3364
|
-
* The **`detune`** property of the representing detuning of oscillation in cents.
|
|
3382
|
+
* The **`detune`** property of the AudioBufferSourceNode interface is a k-rate AudioParam representing detuning of oscillation in cents.
|
|
3365
3383
|
*
|
|
3366
3384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/detune)
|
|
3367
3385
|
*/
|
|
@@ -3414,7 +3432,7 @@ declare var AudioBufferSourceNode: {
|
|
|
3414
3432
|
*/
|
|
3415
3433
|
interface AudioContext extends BaseAudioContext {
|
|
3416
3434
|
/**
|
|
3417
|
-
* The **`baseLatency`** read-only property of the seconds of processing latency incurred by the `AudioContext` passing an audio buffer from the AudioDestinationNode — i.e., the end of the audio graph — into the host system's audio subsystem ready for playing.
|
|
3435
|
+
* The **`baseLatency`** read-only property of the AudioContext interface returns a double that represents the number of seconds of processing latency incurred by the `AudioContext` passing an audio buffer from the AudioDestinationNode — i.e., the end of the audio graph — into the host system's audio subsystem ready for playing.
|
|
3418
3436
|
*
|
|
3419
3437
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/baseLatency)
|
|
3420
3438
|
*/
|
|
@@ -3450,7 +3468,7 @@ interface AudioContext extends BaseAudioContext {
|
|
|
3450
3468
|
*/
|
|
3451
3469
|
createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;
|
|
3452
3470
|
/**
|
|
3453
|
-
* The **`getOutputTimestamp()`** method of the containing two audio timestamp values relating to the current audio context.
|
|
3471
|
+
* The **`getOutputTimestamp()`** method of the AudioContext interface returns a new `AudioTimestamp` object containing two audio timestamp values relating to the current audio context.
|
|
3454
3472
|
*
|
|
3455
3473
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/getOutputTimestamp)
|
|
3456
3474
|
*/
|
|
@@ -3820,7 +3838,7 @@ interface AudioNode extends EventTarget {
|
|
|
3820
3838
|
*/
|
|
3821
3839
|
channelInterpretation: ChannelInterpretation;
|
|
3822
3840
|
/**
|
|
3823
|
-
* The read-only `context` property of the the node is participating in.
|
|
3841
|
+
* The read-only `context` property of the AudioNode interface returns the associated BaseAudioContext, that is the object representing the processing graph the node is participating in.
|
|
3824
3842
|
*
|
|
3825
3843
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/context)
|
|
3826
3844
|
*/
|
|
@@ -3838,7 +3856,7 @@ interface AudioNode extends EventTarget {
|
|
|
3838
3856
|
*/
|
|
3839
3857
|
readonly numberOfOutputs: number;
|
|
3840
3858
|
/**
|
|
3841
|
-
* The `connect()` method of the AudioNode interface lets you connect one of the node's outputs to a target, which may be either another `AudioNode` (thereby directing the sound data to the specified node) or an change the value of that parameter over time.
|
|
3859
|
+
* The `connect()` method of the AudioNode interface lets you connect one of the node's outputs to a target, which may be either another `AudioNode` (thereby directing the sound data to the specified node) or an AudioParam, so that the node's output data is automatically used to change the value of that parameter over time.
|
|
3842
3860
|
*
|
|
3843
3861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
|
|
3844
3862
|
*/
|
|
@@ -3895,7 +3913,7 @@ interface AudioParam {
|
|
|
3895
3913
|
*/
|
|
3896
3914
|
value: number;
|
|
3897
3915
|
/**
|
|
3898
|
-
* The **`cancelAndHoldAtTime()`** method of the `AudioParam` but holds its value at a given time until further changes are made using other methods.
|
|
3916
|
+
* The **`cancelAndHoldAtTime()`** method of the AudioParam interface cancels all scheduled future changes to the `AudioParam` but holds its value at a given time until further changes are made using other methods.
|
|
3899
3917
|
*
|
|
3900
3918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelAndHoldAtTime)
|
|
3901
3919
|
*/
|
|
@@ -3919,19 +3937,19 @@ interface AudioParam {
|
|
|
3919
3937
|
*/
|
|
3920
3938
|
linearRampToValueAtTime(value: number, endTime: number): AudioParam;
|
|
3921
3939
|
/**
|
|
3922
|
-
* The `setTargetAtTime()` method of the `AudioParam` value.
|
|
3940
|
+
* The `setTargetAtTime()` method of the AudioParam interface schedules the start of a gradual change to the `AudioParam` value.
|
|
3923
3941
|
*
|
|
3924
3942
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setTargetAtTime)
|
|
3925
3943
|
*/
|
|
3926
3944
|
setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;
|
|
3927
3945
|
/**
|
|
3928
|
-
* The `setValueAtTime()` method of the `AudioParam` value at a precise time, as measured against
|
|
3946
|
+
* The `setValueAtTime()` method of the AudioParam interface schedules an instant change to the `AudioParam` value at a precise time, as measured against BaseAudioContext/currentTime.
|
|
3929
3947
|
*
|
|
3930
3948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueAtTime)
|
|
3931
3949
|
*/
|
|
3932
3950
|
setValueAtTime(value: number, startTime: number): AudioParam;
|
|
3933
3951
|
/**
|
|
3934
|
-
* The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values.
|
|
3952
|
+
* The **`setValueCurveAtTime()`** method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
|
|
3935
3953
|
*
|
|
3936
3954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
|
|
3937
3955
|
*/
|
|
@@ -4056,13 +4074,13 @@ interface AudioWorkletNode extends AudioNode {
|
|
|
4056
4074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */
|
|
4057
4075
|
onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent) => any) | null;
|
|
4058
4076
|
/**
|
|
4059
|
-
* The read-only **`parameters`** property of the
|
|
4077
|
+
* The read-only **`parameters`** property of the AudioWorkletNode interface returns the associated AudioParamMap — that is, a `Map`-like collection of AudioParam objects.
|
|
4060
4078
|
*
|
|
4061
4079
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters)
|
|
4062
4080
|
*/
|
|
4063
4081
|
readonly parameters: AudioParamMap;
|
|
4064
4082
|
/**
|
|
4065
|
-
* The read-only **`port`** property of the associated
|
|
4083
|
+
* The read-only **`port`** property of the AudioWorkletNode interface returns the associated MessagePort.
|
|
4066
4084
|
*
|
|
4067
4085
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port)
|
|
4068
4086
|
*/
|
|
@@ -4092,7 +4110,7 @@ interface AuthenticatorAssertionResponse extends AuthenticatorResponse {
|
|
|
4092
4110
|
*/
|
|
4093
4111
|
readonly authenticatorData: ArrayBuffer;
|
|
4094
4112
|
/**
|
|
4095
|
-
* The **`signature`** read-only property of the object which is the signature of the authenticator for both the client data (AuthenticatorResponse.clientDataJSON).
|
|
4113
|
+
* The **`signature`** read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object which is the signature of the authenticator for both AuthenticatorAssertionResponse.authenticatorData and a SHA-256 hash of the client data (AuthenticatorResponse.clientDataJSON).
|
|
4096
4114
|
*
|
|
4097
4115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/signature)
|
|
4098
4116
|
*/
|
|
@@ -4118,7 +4136,7 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
4118
4136
|
*/
|
|
4119
4137
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
4120
4138
|
/**
|
|
4121
|
-
* The **`attestationObject`** property of the entire `attestationObject` with a private key that is stored in the authenticator when it is manufactured.
|
|
4139
|
+
* The **`attestationObject`** property of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the new public key, as well as signature over the entire `attestationObject` with a private key that is stored in the authenticator when it is manufactured.
|
|
4122
4140
|
*
|
|
4123
4141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)
|
|
4124
4142
|
*/
|
|
@@ -4162,7 +4180,7 @@ declare var AuthenticatorAttestationResponse: {
|
|
|
4162
4180
|
*/
|
|
4163
4181
|
interface AuthenticatorResponse {
|
|
4164
4182
|
/**
|
|
4165
|
-
* The **`clientDataJSON`** property of the AuthenticatorResponse interface stores a JSON string in an
|
|
4183
|
+
* The **`clientDataJSON`** property of the AuthenticatorResponse interface stores a JSON string in an ArrayBuffer, representing the client data that was passed to CredentialsContainer.create() or CredentialsContainer.get().
|
|
4166
4184
|
*
|
|
4167
4185
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorResponse/clientDataJSON)
|
|
4168
4186
|
*/
|
|
@@ -4204,7 +4222,7 @@ interface BaseAudioContextEventMap {
|
|
|
4204
4222
|
*/
|
|
4205
4223
|
interface BaseAudioContext extends EventTarget {
|
|
4206
4224
|
/**
|
|
4207
|
-
* The `audioWorklet` read-only property of the processing.
|
|
4225
|
+
* The `audioWorklet` read-only property of the BaseAudioContext interface returns an instance of AudioWorklet that can be used for adding AudioWorkletProcessor-derived classes which implement custom audio processing.
|
|
4208
4226
|
* Available only in secure contexts.
|
|
4209
4227
|
*
|
|
4210
4228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/audioWorklet)
|
|
@@ -4243,7 +4261,7 @@ interface BaseAudioContext extends EventTarget {
|
|
|
4243
4261
|
*/
|
|
4244
4262
|
readonly state: AudioContextState;
|
|
4245
4263
|
/**
|
|
4246
|
-
* The `createAnalyser()` method of the can be used to expose audio time and frequency data and create data visualizations.
|
|
4264
|
+
* The `createAnalyser()` method of the BaseAudioContext interface creates an AnalyserNode, which can be used to expose audio time and frequency data and create data visualizations.
|
|
4247
4265
|
*
|
|
4248
4266
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createAnalyser)
|
|
4249
4267
|
*/
|
|
@@ -4279,7 +4297,7 @@ interface BaseAudioContext extends EventTarget {
|
|
|
4279
4297
|
*/
|
|
4280
4298
|
createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;
|
|
4281
4299
|
/**
|
|
4282
|
-
* The **`createConstantSource()`** property of the BaseAudioContext interface creates a outputs a monaural (one-channel) sound signal whose samples all have the same value.
|
|
4300
|
+
* The **`createConstantSource()`** property of the BaseAudioContext interface creates a ConstantSourceNode object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
|
|
4283
4301
|
*
|
|
4284
4302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createConstantSource)
|
|
4285
4303
|
*/
|
|
@@ -4291,7 +4309,7 @@ interface BaseAudioContext extends EventTarget {
|
|
|
4291
4309
|
*/
|
|
4292
4310
|
createConvolver(): ConvolverNode;
|
|
4293
4311
|
/**
|
|
4294
|
-
* The `createDelay()` method of the which is used to delay the incoming audio signal by a certain amount of time.
|
|
4312
|
+
* The `createDelay()` method of the BaseAudioContext Interface is used to create a DelayNode, which is used to delay the incoming audio signal by a certain amount of time.
|
|
4295
4313
|
*
|
|
4296
4314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createDelay)
|
|
4297
4315
|
*/
|
|
@@ -4352,7 +4370,7 @@ interface BaseAudioContext extends EventTarget {
|
|
|
4352
4370
|
*/
|
|
4353
4371
|
createWaveShaper(): WaveShaperNode;
|
|
4354
4372
|
/**
|
|
4355
|
-
* The `decodeAudioData()` method of the BaseAudioContext Interface is used to asynchronously decode audio file data contained in an
|
|
4373
|
+
* The `decodeAudioData()` method of the BaseAudioContext Interface is used to asynchronously decode audio file data contained in an ArrayBuffer that is loaded from Window/fetch, XMLHttpRequest, or FileReader.
|
|
4356
4374
|
*
|
|
4357
4375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/decodeAudioData)
|
|
4358
4376
|
*/
|
|
@@ -4375,7 +4393,7 @@ declare var BaseAudioContext: {
|
|
|
4375
4393
|
*/
|
|
4376
4394
|
interface BeforeUnloadEvent extends Event {
|
|
4377
4395
|
/**
|
|
4378
|
-
* The **`returnValue`** property of the
|
|
4396
|
+
* The **`returnValue`** property of the BeforeUnloadEvent interface, when set to a truthy value, triggers a browser-generated confirmation dialog asking users to confirm if they _really_ want to leave the page when they try to close or reload it, or navigate somewhere else.
|
|
4379
4397
|
* @deprecated
|
|
4380
4398
|
*
|
|
4381
4399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue)
|
|
@@ -4480,7 +4498,7 @@ interface Blob {
|
|
|
4480
4498
|
*/
|
|
4481
4499
|
stream(): ReadableStream<Uint8Array>;
|
|
4482
4500
|
/**
|
|
4483
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
4501
|
+
* The **`text()`** method of the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
|
|
4484
4502
|
*
|
|
4485
4503
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
4486
4504
|
*/
|
|
@@ -4621,7 +4639,7 @@ declare var CDATASection: {
|
|
|
4621
4639
|
*/
|
|
4622
4640
|
interface CSSAnimation extends Animation {
|
|
4623
4641
|
/**
|
|
4624
|
-
* The **`animationName`** property of the
|
|
4642
|
+
* The **`animationName`** property of the CSSAnimation interface returns the animation-name.
|
|
4625
4643
|
*
|
|
4626
4644
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSAnimation/animationName)
|
|
4627
4645
|
*/
|
|
@@ -4843,19 +4861,19 @@ declare var CSSFontPaletteValuesRule: {
|
|
|
4843
4861
|
*/
|
|
4844
4862
|
interface CSSGroupingRule extends CSSRule {
|
|
4845
4863
|
/**
|
|
4846
|
-
* The **`cssRules`** property of the a collection of CSSRule objects.
|
|
4864
|
+
* The **`cssRules`** property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.
|
|
4847
4865
|
*
|
|
4848
4866
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/cssRules)
|
|
4849
4867
|
*/
|
|
4850
4868
|
readonly cssRules: CSSRuleList;
|
|
4851
4869
|
/**
|
|
4852
|
-
* The **`deleteRule()`** method of the rules.
|
|
4870
|
+
* The **`deleteRule()`** method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
|
|
4853
4871
|
*
|
|
4854
4872
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/deleteRule)
|
|
4855
4873
|
*/
|
|
4856
4874
|
deleteRule(index: number): void;
|
|
4857
4875
|
/**
|
|
4858
|
-
* The **`insertRule()`** method of the
|
|
4876
|
+
* The **`insertRule()`** method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
|
|
4859
4877
|
*
|
|
4860
4878
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)
|
|
4861
4879
|
*/
|
|
@@ -4887,7 +4905,7 @@ declare var CSSImageValue: {
|
|
|
4887
4905
|
*/
|
|
4888
4906
|
interface CSSImportRule extends CSSRule {
|
|
4889
4907
|
/**
|
|
4890
|
-
* The read-only **`href`** property of the
|
|
4908
|
+
* The read-only **`href`** property of the CSSImportRule interface returns the URL specified by the @import at-rule.
|
|
4891
4909
|
*
|
|
4892
4910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/href)
|
|
4893
4911
|
*/
|
|
@@ -4899,14 +4917,14 @@ interface CSSImportRule extends CSSRule {
|
|
|
4899
4917
|
*/
|
|
4900
4918
|
readonly layerName: string | null;
|
|
4901
4919
|
/**
|
|
4902
|
-
* The read-only **`media`** property of the containing the value of the `media` attribute of the associated stylesheet.
|
|
4920
|
+
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object, containing the value of the `media` attribute of the associated stylesheet.
|
|
4903
4921
|
*
|
|
4904
4922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
|
|
4905
4923
|
*/
|
|
4906
4924
|
get media(): MediaList;
|
|
4907
4925
|
set media(mediaText: string);
|
|
4908
4926
|
/**
|
|
4909
|
-
* The read-only **`styleSheet`** property of the
|
|
4927
|
+
* The read-only **`styleSheet`** property of the CSSImportRule interface returns the CSS Stylesheet specified by the @import at-rule.
|
|
4910
4928
|
*
|
|
4911
4929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet)
|
|
4912
4930
|
*/
|
|
@@ -5007,7 +5025,7 @@ declare var CSSKeyframesRule: {
|
|
|
5007
5025
|
*/
|
|
5008
5026
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
5009
5027
|
/**
|
|
5010
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
5028
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
5011
5029
|
*
|
|
5012
5030
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
5013
5031
|
*/
|
|
@@ -5075,7 +5093,7 @@ declare var CSSMathClamp: {
|
|
|
5075
5093
|
*/
|
|
5076
5094
|
interface CSSMathInvert extends CSSMathValue {
|
|
5077
5095
|
/**
|
|
5078
|
-
* The CSSMathInvert.value read-only property of the
|
|
5096
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
5079
5097
|
*
|
|
5080
5098
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
5081
5099
|
*/
|
|
@@ -5094,7 +5112,7 @@ declare var CSSMathInvert: {
|
|
|
5094
5112
|
*/
|
|
5095
5113
|
interface CSSMathMax extends CSSMathValue {
|
|
5096
5114
|
/**
|
|
5097
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
5115
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5098
5116
|
*
|
|
5099
5117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
5100
5118
|
*/
|
|
@@ -5113,7 +5131,7 @@ declare var CSSMathMax: {
|
|
|
5113
5131
|
*/
|
|
5114
5132
|
interface CSSMathMin extends CSSMathValue {
|
|
5115
5133
|
/**
|
|
5116
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
5134
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5117
5135
|
*
|
|
5118
5136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
5119
5137
|
*/
|
|
@@ -5132,7 +5150,7 @@ declare var CSSMathMin: {
|
|
|
5132
5150
|
*/
|
|
5133
5151
|
interface CSSMathNegate extends CSSMathValue {
|
|
5134
5152
|
/**
|
|
5135
|
-
* The CSSMathNegate.value read-only property of the
|
|
5153
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
5136
5154
|
*
|
|
5137
5155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
5138
5156
|
*/
|
|
@@ -5151,7 +5169,7 @@ declare var CSSMathNegate: {
|
|
|
5151
5169
|
*/
|
|
5152
5170
|
interface CSSMathProduct extends CSSMathValue {
|
|
5153
5171
|
/**
|
|
5154
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
5172
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5155
5173
|
*
|
|
5156
5174
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
5157
5175
|
*/
|
|
@@ -5208,7 +5226,7 @@ declare var CSSMathValue: {
|
|
|
5208
5226
|
*/
|
|
5209
5227
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
5210
5228
|
/**
|
|
5211
|
-
* The **`matrix`** property of the
|
|
5229
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
5212
5230
|
*
|
|
5213
5231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
5214
5232
|
*/
|
|
@@ -5227,7 +5245,7 @@ declare var CSSMatrixComponent: {
|
|
|
5227
5245
|
*/
|
|
5228
5246
|
interface CSSMediaRule extends CSSConditionRule {
|
|
5229
5247
|
/**
|
|
5230
|
-
* The read-only **`media`** property of the destination medium for style information.
|
|
5248
|
+
* The read-only **`media`** property of the CSSMediaRule interface returns a MediaList representing the intended destination medium for style information.
|
|
5231
5249
|
*
|
|
5232
5250
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
|
|
5233
5251
|
*/
|
|
@@ -5292,7 +5310,7 @@ declare var CSSNestedDeclarations: {
|
|
|
5292
5310
|
*/
|
|
5293
5311
|
interface CSSNumericArray {
|
|
5294
5312
|
/**
|
|
5295
|
-
* The read-only **`length`** property of the
|
|
5313
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
5296
5314
|
*
|
|
5297
5315
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
5298
5316
|
*/
|
|
@@ -5313,61 +5331,61 @@ declare var CSSNumericArray: {
|
|
|
5313
5331
|
*/
|
|
5314
5332
|
interface CSSNumericValue extends CSSStyleValue {
|
|
5315
5333
|
/**
|
|
5316
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
5334
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
5317
5335
|
*
|
|
5318
5336
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
5319
5337
|
*/
|
|
5320
5338
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
5321
5339
|
/**
|
|
5322
|
-
* The **`div()`** method of the supplied value.
|
|
5340
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
5323
5341
|
*
|
|
5324
5342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
5325
5343
|
*/
|
|
5326
5344
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
5327
5345
|
/**
|
|
5328
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
5346
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
5329
5347
|
*
|
|
5330
5348
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
5331
5349
|
*/
|
|
5332
5350
|
equals(...value: CSSNumberish[]): boolean;
|
|
5333
5351
|
/**
|
|
5334
|
-
* The **`max()`** method of the passed.
|
|
5352
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
5335
5353
|
*
|
|
5336
5354
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
5337
5355
|
*/
|
|
5338
5356
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
5339
5357
|
/**
|
|
5340
|
-
* The **`min()`** method of the values passed.
|
|
5358
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
5341
5359
|
*
|
|
5342
5360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
5343
5361
|
*/
|
|
5344
5362
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
5345
5363
|
/**
|
|
5346
|
-
* The **`mul()`** method of the the supplied value.
|
|
5364
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
5347
5365
|
*
|
|
5348
5366
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
5349
5367
|
*/
|
|
5350
5368
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
5351
5369
|
/**
|
|
5352
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
5370
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
5353
5371
|
*
|
|
5354
5372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
5355
5373
|
*/
|
|
5356
5374
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
5357
5375
|
/**
|
|
5358
|
-
* The **`to()`** method of the another.
|
|
5376
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
5359
5377
|
*
|
|
5360
5378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
5361
5379
|
*/
|
|
5362
5380
|
to(unit: string): CSSUnitValue;
|
|
5363
5381
|
/**
|
|
5364
|
-
* The **`toSum()`** method of the
|
|
5382
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
5365
5383
|
*
|
|
5366
5384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
5367
5385
|
*/
|
|
5368
5386
|
toSum(...units: string[]): CSSMathSum;
|
|
5369
5387
|
/**
|
|
5370
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
5388
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
5371
5389
|
*
|
|
5372
5390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
5373
5391
|
*/
|
|
@@ -5378,7 +5396,7 @@ declare var CSSNumericValue: {
|
|
|
5378
5396
|
prototype: CSSNumericValue;
|
|
5379
5397
|
new(): CSSNumericValue;
|
|
5380
5398
|
/**
|
|
5381
|
-
* The **`parse()`** static method of the members are value and the units.
|
|
5399
|
+
* The **`parse()`** static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
|
|
5382
5400
|
*
|
|
5383
5401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static)
|
|
5384
5402
|
*/
|
|
@@ -5451,7 +5469,7 @@ declare var CSSPageRule: {
|
|
|
5451
5469
|
*/
|
|
5452
5470
|
interface CSSPerspective extends CSSTransformComponent {
|
|
5453
5471
|
/**
|
|
5454
|
-
* The **`length`** property of the
|
|
5472
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
5455
5473
|
*
|
|
5456
5474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
5457
5475
|
*/
|
|
@@ -5686,25 +5704,25 @@ declare var CSSPropertyRule: {
|
|
|
5686
5704
|
*/
|
|
5687
5705
|
interface CSSRotate extends CSSTransformComponent {
|
|
5688
5706
|
/**
|
|
5689
|
-
* The **`angle`** property of the
|
|
5707
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
5690
5708
|
*
|
|
5691
5709
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
5692
5710
|
*/
|
|
5693
5711
|
angle: CSSNumericValue;
|
|
5694
5712
|
/**
|
|
5695
|
-
* The **`x`** property of the translating vector.
|
|
5713
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
5696
5714
|
*
|
|
5697
5715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
5698
5716
|
*/
|
|
5699
5717
|
x: CSSNumberish;
|
|
5700
5718
|
/**
|
|
5701
|
-
* The **`y`** property of the translating vector.
|
|
5719
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
5702
5720
|
*
|
|
5703
5721
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
5704
5722
|
*/
|
|
5705
5723
|
y: CSSNumberish;
|
|
5706
5724
|
/**
|
|
5707
|
-
* The **`z`** property of the vector.
|
|
5725
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
5708
5726
|
*
|
|
5709
5727
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
5710
5728
|
*/
|
|
@@ -5736,13 +5754,13 @@ interface CSSRule {
|
|
|
5736
5754
|
*/
|
|
5737
5755
|
readonly parentRule: CSSRule | null;
|
|
5738
5756
|
/**
|
|
5739
|
-
* The **`parentStyleSheet`** property of the the current rule is defined.
|
|
5757
|
+
* The **`parentStyleSheet`** property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
|
|
5740
5758
|
*
|
|
5741
5759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentStyleSheet)
|
|
5742
5760
|
*/
|
|
5743
5761
|
readonly parentStyleSheet: CSSStyleSheet | null;
|
|
5744
5762
|
/**
|
|
5745
|
-
* The read-only **`type`** property of the indicating which type of rule the CSSRule represents.
|
|
5763
|
+
* The read-only **`type`** property of the CSSRule interface is a deprecated property that returns an integer indicating which type of rule the CSSRule represents.
|
|
5746
5764
|
* @deprecated
|
|
5747
5765
|
*
|
|
5748
5766
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/type)
|
|
@@ -5812,19 +5830,19 @@ declare var CSSRuleList: {
|
|
|
5812
5830
|
*/
|
|
5813
5831
|
interface CSSScale extends CSSTransformComponent {
|
|
5814
5832
|
/**
|
|
5815
|
-
* The **`x`** property of the translating vector.
|
|
5833
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
5816
5834
|
*
|
|
5817
5835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
5818
5836
|
*/
|
|
5819
5837
|
x: CSSNumberish;
|
|
5820
5838
|
/**
|
|
5821
|
-
* The **`y`** property of the translating vector.
|
|
5839
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
5822
5840
|
*
|
|
5823
5841
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
5824
5842
|
*/
|
|
5825
5843
|
y: CSSNumberish;
|
|
5826
5844
|
/**
|
|
5827
|
-
* The **`z`** property of the vector.
|
|
5845
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
5828
5846
|
*
|
|
5829
5847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
5830
5848
|
*/
|
|
@@ -5868,13 +5886,13 @@ declare var CSSScopeRule: {
|
|
|
5868
5886
|
*/
|
|
5869
5887
|
interface CSSSkew extends CSSTransformComponent {
|
|
5870
5888
|
/**
|
|
5871
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
5889
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
5872
5890
|
*
|
|
5873
5891
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
5874
5892
|
*/
|
|
5875
5893
|
ax: CSSNumericValue;
|
|
5876
5894
|
/**
|
|
5877
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
5895
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
5878
5896
|
*
|
|
5879
5897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
5880
5898
|
*/
|
|
@@ -5893,7 +5911,7 @@ declare var CSSSkew: {
|
|
|
5893
5911
|
*/
|
|
5894
5912
|
interface CSSSkewX extends CSSTransformComponent {
|
|
5895
5913
|
/**
|
|
5896
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
5914
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
5897
5915
|
*
|
|
5898
5916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
5899
5917
|
*/
|
|
@@ -5912,7 +5930,7 @@ declare var CSSSkewX: {
|
|
|
5912
5930
|
*/
|
|
5913
5931
|
interface CSSSkewY extends CSSTransformComponent {
|
|
5914
5932
|
/**
|
|
5915
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
5933
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
5916
5934
|
*
|
|
5917
5935
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
5918
5936
|
*/
|
|
@@ -7365,7 +7383,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7365
7383
|
get style(): CSSStyleProperties;
|
|
7366
7384
|
set style(cssText: string);
|
|
7367
7385
|
/**
|
|
7368
|
-
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
7386
|
+
* The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
|
|
7369
7387
|
*
|
|
7370
7388
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap)
|
|
7371
7389
|
*/
|
|
@@ -7499,7 +7517,7 @@ interface CSSTransformComponent {
|
|
|
7499
7517
|
*/
|
|
7500
7518
|
is2D: boolean;
|
|
7501
7519
|
/**
|
|
7502
|
-
* The **`toMatrix()`** method of the object.
|
|
7520
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
7503
7521
|
*
|
|
7504
7522
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
7505
7523
|
*/
|
|
@@ -7519,19 +7537,19 @@ declare var CSSTransformComponent: {
|
|
|
7519
7537
|
*/
|
|
7520
7538
|
interface CSSTransformValue extends CSSStyleValue {
|
|
7521
7539
|
/**
|
|
7522
|
-
* The read-only **`is2D`** property of the
|
|
7540
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
7523
7541
|
*
|
|
7524
7542
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
7525
7543
|
*/
|
|
7526
7544
|
readonly is2D: boolean;
|
|
7527
7545
|
/**
|
|
7528
|
-
* The read-only **`length`** property of the the list.
|
|
7546
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
7529
7547
|
*
|
|
7530
7548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
7531
7549
|
*/
|
|
7532
7550
|
readonly length: number;
|
|
7533
7551
|
/**
|
|
7534
|
-
* The **`toMatrix()`** method of the
|
|
7552
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
7535
7553
|
*
|
|
7536
7554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
7537
7555
|
*/
|
|
@@ -7552,7 +7570,7 @@ declare var CSSTransformValue: {
|
|
|
7552
7570
|
*/
|
|
7553
7571
|
interface CSSTransition extends Animation {
|
|
7554
7572
|
/**
|
|
7555
|
-
* The **`transitionProperty`** property of the name** of the transition.
|
|
7573
|
+
* The **`transitionProperty`** property of the CSSTransition interface returns the **expanded transition property name** of the transition.
|
|
7556
7574
|
*
|
|
7557
7575
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition/transitionProperty)
|
|
7558
7576
|
*/
|
|
@@ -7575,19 +7593,19 @@ declare var CSSTransition: {
|
|
|
7575
7593
|
*/
|
|
7576
7594
|
interface CSSTranslate extends CSSTransformComponent {
|
|
7577
7595
|
/**
|
|
7578
|
-
* The **`x`** property of the translating vector.
|
|
7596
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
7579
7597
|
*
|
|
7580
7598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
7581
7599
|
*/
|
|
7582
7600
|
x: CSSNumericValue;
|
|
7583
7601
|
/**
|
|
7584
|
-
* The **`y`** property of the translating vector.
|
|
7602
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
7585
7603
|
*
|
|
7586
7604
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
7587
7605
|
*/
|
|
7588
7606
|
y: CSSNumericValue;
|
|
7589
7607
|
/**
|
|
7590
|
-
* The **`z`** property of the vector.
|
|
7608
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
7591
7609
|
*
|
|
7592
7610
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
7593
7611
|
*/
|
|
@@ -7612,7 +7630,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
7612
7630
|
*/
|
|
7613
7631
|
readonly unit: string;
|
|
7614
7632
|
/**
|
|
7615
|
-
* The **`CSSUnitValue.value`** property of the
|
|
7633
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
7616
7634
|
*
|
|
7617
7635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
7618
7636
|
*/
|
|
@@ -7631,7 +7649,7 @@ declare var CSSUnitValue: {
|
|
|
7631
7649
|
*/
|
|
7632
7650
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
7633
7651
|
/**
|
|
7634
|
-
* The **`length`** read-only property of the
|
|
7652
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
7635
7653
|
*
|
|
7636
7654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
7637
7655
|
*/
|
|
@@ -7652,13 +7670,13 @@ declare var CSSUnparsedValue: {
|
|
|
7652
7670
|
*/
|
|
7653
7671
|
interface CSSVariableReferenceValue {
|
|
7654
7672
|
/**
|
|
7655
|
-
* The **`fallback`** read-only property of the
|
|
7673
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
7656
7674
|
*
|
|
7657
7675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
7658
7676
|
*/
|
|
7659
7677
|
readonly fallback: CSSUnparsedValue | null;
|
|
7660
7678
|
/**
|
|
7661
|
-
* The **`variable`** property of the
|
|
7679
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
7662
7680
|
*
|
|
7663
7681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
7664
7682
|
*/
|
|
@@ -7706,7 +7724,7 @@ interface Cache {
|
|
|
7706
7724
|
*/
|
|
7707
7725
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
7708
7726
|
/**
|
|
7709
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
7727
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
7710
7728
|
*
|
|
7711
7729
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
7712
7730
|
*/
|
|
@@ -7724,7 +7742,7 @@ interface Cache {
|
|
|
7724
7742
|
*/
|
|
7725
7743
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
7726
7744
|
/**
|
|
7727
|
-
* The **`put()`** method of the
|
|
7745
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
7728
7746
|
*
|
|
7729
7747
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
7730
7748
|
*/
|
|
@@ -7750,7 +7768,7 @@ interface CacheStorage {
|
|
|
7750
7768
|
*/
|
|
7751
7769
|
delete(cacheName: string): Promise<boolean>;
|
|
7752
7770
|
/**
|
|
7753
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
7771
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
7754
7772
|
*
|
|
7755
7773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
7756
7774
|
*/
|
|
@@ -7768,7 +7786,7 @@ interface CacheStorage {
|
|
|
7768
7786
|
*/
|
|
7769
7787
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
7770
7788
|
/**
|
|
7771
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
7789
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
7772
7790
|
*
|
|
7773
7791
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
7774
7792
|
*/
|
|
@@ -7975,7 +7993,7 @@ interface CanvasRect {
|
|
|
7975
7993
|
*/
|
|
7976
7994
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
7977
7995
|
/**
|
|
7978
|
-
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the
|
|
7996
|
+
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
7979
7997
|
*
|
|
7980
7998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
7981
7999
|
*/
|
|
@@ -8253,7 +8271,7 @@ declare var Clipboard: {
|
|
|
8253
8271
|
*/
|
|
8254
8272
|
interface ClipboardEvent extends Event {
|
|
8255
8273
|
/**
|
|
8256
|
-
* The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:
|
|
8274
|
+
* The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:
|
|
8257
8275
|
*
|
|
8258
8276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent/clipboardData)
|
|
8259
8277
|
*/
|
|
@@ -8354,7 +8372,7 @@ declare var Comment: {
|
|
|
8354
8372
|
*/
|
|
8355
8373
|
interface CompositionEvent extends UIEvent {
|
|
8356
8374
|
/**
|
|
8357
|
-
* The **`data`** read-only property of the method that raised the event; its exact nature varies depending on the type of event that generated the `CompositionEvent` object.
|
|
8375
|
+
* The **`data`** read-only property of the CompositionEvent interface returns the characters generated by the input method that raised the event; its exact nature varies depending on the type of event that generated the `CompositionEvent` object.
|
|
8358
8376
|
*
|
|
8359
8377
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/data)
|
|
8360
8378
|
*/
|
|
@@ -8638,7 +8656,7 @@ interface CredentialsContainer {
|
|
|
8638
8656
|
*/
|
|
8639
8657
|
preventSilentAccess(): Promise<void>;
|
|
8640
8658
|
/**
|
|
8641
|
-
* The **`store()`** method of the
|
|
8659
|
+
* The **`store()`** method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
|
|
8642
8660
|
*
|
|
8643
8661
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store)
|
|
8644
8662
|
*/
|
|
@@ -8657,7 +8675,7 @@ declare var CredentialsContainer: {
|
|
|
8657
8675
|
*/
|
|
8658
8676
|
interface Crypto {
|
|
8659
8677
|
/**
|
|
8660
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
8678
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
8661
8679
|
* Available only in secure contexts.
|
|
8662
8680
|
*
|
|
8663
8681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -8734,25 +8752,25 @@ interface CustomElementRegistry {
|
|
|
8734
8752
|
*/
|
|
8735
8753
|
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
8736
8754
|
/**
|
|
8737
|
-
* The **`get()`** method of the previously-defined custom element.
|
|
8755
|
+
* The **`get()`** method of the CustomElementRegistry interface returns the constructor for a previously-defined custom element.
|
|
8738
8756
|
*
|
|
8739
8757
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get)
|
|
8740
8758
|
*/
|
|
8741
8759
|
get(name: string): CustomElementConstructor | undefined;
|
|
8742
8760
|
/**
|
|
8743
|
-
* The **`getName()`** method of the previously-defined custom element.
|
|
8761
|
+
* The **`getName()`** method of the CustomElementRegistry interface returns the name for a previously-defined custom element.
|
|
8744
8762
|
*
|
|
8745
8763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
8746
8764
|
*/
|
|
8747
8765
|
getName(constructor: CustomElementConstructor): string | null;
|
|
8748
8766
|
/**
|
|
8749
|
-
* The **`upgrade()`** method of the elements in a Node subtree, even before they are connected to the main document.
|
|
8767
|
+
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
|
|
8750
8768
|
*
|
|
8751
8769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade)
|
|
8752
8770
|
*/
|
|
8753
8771
|
upgrade(root: Node): void;
|
|
8754
8772
|
/**
|
|
8755
|
-
* The **`whenDefined()`** method of the resolves when the named element is defined.
|
|
8773
|
+
* The **`whenDefined()`** method of the CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
|
|
8756
8774
|
*
|
|
8757
8775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined)
|
|
8758
8776
|
*/
|
|
@@ -8818,13 +8836,13 @@ interface DOMException extends Error {
|
|
|
8818
8836
|
*/
|
|
8819
8837
|
readonly code: number;
|
|
8820
8838
|
/**
|
|
8821
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
8839
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
8822
8840
|
*
|
|
8823
8841
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
8824
8842
|
*/
|
|
8825
8843
|
readonly message: string;
|
|
8826
8844
|
/**
|
|
8827
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
8845
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
8828
8846
|
*
|
|
8829
8847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
8830
8848
|
*/
|
|
@@ -8899,7 +8917,7 @@ interface DOMImplementation {
|
|
|
8899
8917
|
*/
|
|
8900
8918
|
createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;
|
|
8901
8919
|
/**
|
|
8902
|
-
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or
|
|
8920
|
+
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore() or Node.replaceChild().
|
|
8903
8921
|
*
|
|
8904
8922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
|
|
8905
8923
|
*/
|
|
@@ -9167,7 +9185,7 @@ interface DOMMatrixReadOnly {
|
|
|
9167
9185
|
*/
|
|
9168
9186
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
9169
9187
|
/**
|
|
9170
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
9188
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
9171
9189
|
*
|
|
9172
9190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
9173
9191
|
*/
|
|
@@ -9211,7 +9229,7 @@ interface DOMMatrixReadOnly {
|
|
|
9211
9229
|
*/
|
|
9212
9230
|
toJSON(): any;
|
|
9213
9231
|
/**
|
|
9214
|
-
* The **`transformPoint`** method of the
|
|
9232
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
9215
9233
|
*
|
|
9216
9234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
9217
9235
|
*/
|
|
@@ -9335,7 +9353,7 @@ interface DOMPointReadOnly {
|
|
|
9335
9353
|
*/
|
|
9336
9354
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
9337
9355
|
/**
|
|
9338
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
9356
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
9339
9357
|
*
|
|
9340
9358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
9341
9359
|
*/
|
|
@@ -9390,7 +9408,7 @@ interface DOMQuad {
|
|
|
9390
9408
|
*/
|
|
9391
9409
|
getBounds(): DOMRect;
|
|
9392
9410
|
/**
|
|
9393
|
-
* The DOMQuad method `toJSON()` returns a
|
|
9411
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
9394
9412
|
*
|
|
9395
9413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
9396
9414
|
*/
|
|
@@ -9440,7 +9458,7 @@ declare var DOMRect: {
|
|
|
9440
9458
|
prototype: DOMRect;
|
|
9441
9459
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
9442
9460
|
/**
|
|
9443
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
9461
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
9444
9462
|
*
|
|
9445
9463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
9446
9464
|
*/
|
|
@@ -9542,7 +9560,7 @@ declare var DOMRectReadOnly: {
|
|
|
9542
9560
|
prototype: DOMRectReadOnly;
|
|
9543
9561
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
9544
9562
|
/**
|
|
9545
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
9563
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
9546
9564
|
*
|
|
9547
9565
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
9548
9566
|
*/
|
|
@@ -9690,7 +9708,7 @@ interface DataTransfer {
|
|
|
9690
9708
|
*/
|
|
9691
9709
|
readonly files: FileList;
|
|
9692
9710
|
/**
|
|
9693
|
-
* The read-only `items` property of the DataTransfer interface is a
|
|
9711
|
+
* The read-only `items` property of the DataTransfer interface is a DataTransferItemList of the DataTransferItem in a drag operation.
|
|
9694
9712
|
*
|
|
9695
9713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/items)
|
|
9696
9714
|
*/
|
|
@@ -9782,13 +9800,13 @@ declare var DataTransferItem: {
|
|
|
9782
9800
|
*/
|
|
9783
9801
|
interface DataTransferItemList {
|
|
9784
9802
|
/**
|
|
9785
|
-
* The read-only **`length`** property of the the drag item list.
|
|
9803
|
+
* The read-only **`length`** property of the DataTransferItemList interface returns the number of items currently in the drag item list.
|
|
9786
9804
|
*
|
|
9787
9805
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/length)
|
|
9788
9806
|
*/
|
|
9789
9807
|
readonly length: number;
|
|
9790
9808
|
/**
|
|
9791
|
-
* The **`DataTransferItemList.add()`** method creates a new list.
|
|
9809
|
+
* The **`DataTransferItemList.add()`** method creates a new DataTransferItem using the specified data and adds it to the drag data list.
|
|
9792
9810
|
*
|
|
9793
9811
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
|
|
9794
9812
|
*/
|
|
@@ -9801,7 +9819,7 @@ interface DataTransferItemList {
|
|
|
9801
9819
|
*/
|
|
9802
9820
|
clear(): void;
|
|
9803
9821
|
/**
|
|
9804
|
-
* The **`DataTransferItemList.remove()`** method removes the
|
|
9822
|
+
* The **`DataTransferItemList.remove()`** method removes the DataTransferItem at the specified index from the list.
|
|
9805
9823
|
*
|
|
9806
9824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/remove)
|
|
9807
9825
|
*/
|
|
@@ -10015,7 +10033,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10015
10033
|
*/
|
|
10016
10034
|
readonly all: HTMLAllCollection;
|
|
10017
10035
|
/**
|
|
10018
|
-
* The **`anchors`** read-only property of the
|
|
10036
|
+
* The **`anchors`** read-only property of the Document interface returns a list of all of the anchors in the document.
|
|
10019
10037
|
* @deprecated
|
|
10020
10038
|
*
|
|
10021
10039
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/anchors)
|
|
@@ -10036,7 +10054,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10036
10054
|
*/
|
|
10037
10055
|
bgColor: string;
|
|
10038
10056
|
/**
|
|
10039
|
-
* The **`Document.body`** property represents the `null` if no such element exists.
|
|
10057
|
+
* The **`Document.body`** property represents the body or frameset node of the current document, or `null` if no such element exists.
|
|
10040
10058
|
*
|
|
10041
10059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/body)
|
|
10042
10060
|
*/
|
|
@@ -10078,7 +10096,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10078
10096
|
*/
|
|
10079
10097
|
readonly currentScript: HTMLOrSVGScriptElement | null;
|
|
10080
10098
|
/**
|
|
10081
|
-
* In browsers, **`document.defaultView`** returns the
|
|
10099
|
+
* In browsers, **`document.defaultView`** returns the Window object associated with Browsing_context, or `null` if none is available.
|
|
10082
10100
|
*
|
|
10083
10101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/defaultView)
|
|
10084
10102
|
*/
|
|
@@ -10102,13 +10120,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10102
10120
|
*/
|
|
10103
10121
|
readonly doctype: DocumentType | null;
|
|
10104
10122
|
/**
|
|
10105
|
-
* The **`documentElement`** read-only property of the Document interface returns the example, the html element for HTML documents).
|
|
10123
|
+
* The **`documentElement`** read-only property of the Document interface returns the Element that is the root element of the document (for example, the html element for HTML documents).
|
|
10106
10124
|
*
|
|
10107
10125
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentElement)
|
|
10108
10126
|
*/
|
|
10109
10127
|
readonly documentElement: HTMLElement;
|
|
10110
10128
|
/**
|
|
10111
|
-
* The **`documentURI`** read-only property of the
|
|
10129
|
+
* The **`documentURI`** read-only property of the Document interface returns the document location as a string.
|
|
10112
10130
|
*
|
|
10113
10131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentURI)
|
|
10114
10132
|
*/
|
|
@@ -10121,7 +10139,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10121
10139
|
*/
|
|
10122
10140
|
domain: string;
|
|
10123
10141
|
/**
|
|
10124
|
-
* The **`embeds`** read-only property of the
|
|
10142
|
+
* The **`embeds`** read-only property of the Document interface returns a list of the embedded embed elements within the current document.
|
|
10125
10143
|
*
|
|
10126
10144
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/embeds)
|
|
10127
10145
|
*/
|
|
@@ -10177,7 +10195,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10177
10195
|
*/
|
|
10178
10196
|
readonly images: HTMLCollectionOf<HTMLImageElement>;
|
|
10179
10197
|
/**
|
|
10180
|
-
* The **`Document.implementation`** property returns a
|
|
10198
|
+
* The **`Document.implementation`** property returns a DOMImplementation object associated with the current document.
|
|
10181
10199
|
*
|
|
10182
10200
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/implementation)
|
|
10183
10201
|
*/
|
|
@@ -10208,7 +10226,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10208
10226
|
*/
|
|
10209
10227
|
readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
|
|
10210
10228
|
/**
|
|
10211
|
-
* The **`Document.location`** read-only property returns a and provides methods for changing that URL and loading another URL.
|
|
10229
|
+
* The **`Document.location`** read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
|
|
10212
10230
|
*
|
|
10213
10231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
|
|
10214
10232
|
*/
|
|
@@ -10228,13 +10246,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10228
10246
|
onvisibilitychange: ((this: Document, ev: Event) => any) | null;
|
|
10229
10247
|
readonly ownerDocument: null;
|
|
10230
10248
|
/**
|
|
10231
|
-
* The read-only **`pictureInPictureEnabled`** property of the available.
|
|
10249
|
+
* The read-only **`pictureInPictureEnabled`** property of the Document interface indicates whether or not picture-in-picture mode is available.
|
|
10232
10250
|
*
|
|
10233
10251
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled)
|
|
10234
10252
|
*/
|
|
10235
10253
|
readonly pictureInPictureEnabled: boolean;
|
|
10236
10254
|
/**
|
|
10237
|
-
* The **`plugins`** read-only property of the containing one or more HTMLEmbedElements representing the
|
|
10255
|
+
* The **`plugins`** read-only property of the Document interface returns an HTMLCollection object containing one or more HTMLEmbedElements representing the embed elements in the current document.
|
|
10238
10256
|
*
|
|
10239
10257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/plugins)
|
|
10240
10258
|
*/
|
|
@@ -10252,7 +10270,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10252
10270
|
*/
|
|
10253
10271
|
readonly referrer: string;
|
|
10254
10272
|
/**
|
|
10255
|
-
* **`Document.rootElement`** returns the Element that is the root element of the document if it is an
|
|
10273
|
+
* **`Document.rootElement`** returns the Element that is the root element of the document if it is an svg element, otherwise `null`.
|
|
10256
10274
|
* @deprecated
|
|
10257
10275
|
*
|
|
10258
10276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/rootElement)
|
|
@@ -10265,7 +10283,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10265
10283
|
*/
|
|
10266
10284
|
readonly scripts: HTMLCollectionOf<HTMLScriptElement>;
|
|
10267
10285
|
/**
|
|
10268
|
-
* The **`scrollingElement`** read-only property of the scrolls the document.
|
|
10286
|
+
* The **`scrollingElement`** read-only property of the Document interface returns a reference to the Element that scrolls the document.
|
|
10269
10287
|
*
|
|
10270
10288
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollingElement)
|
|
10271
10289
|
*/
|
|
@@ -10462,7 +10480,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10462
10480
|
*/
|
|
10463
10481
|
createProcessingInstruction(target: string, data: string): ProcessingInstruction;
|
|
10464
10482
|
/**
|
|
10465
|
-
* The **`Document.createRange()`** method returns a new
|
|
10483
|
+
* The **`Document.createRange()`** method returns a new Range object.
|
|
10466
10484
|
*
|
|
10467
10485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createRange)
|
|
10468
10486
|
*/
|
|
@@ -10506,7 +10524,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10506
10524
|
exitPointerLock(): void;
|
|
10507
10525
|
getElementById(elementId: string): HTMLElement | null;
|
|
10508
10526
|
/**
|
|
10509
|
-
* The **`getElementsByClassName`** method of of all child elements which have all of the given class name(s).
|
|
10527
|
+
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
10510
10528
|
*
|
|
10511
10529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByClassName)
|
|
10512
10530
|
*/
|
|
@@ -10518,7 +10536,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10518
10536
|
*/
|
|
10519
10537
|
getElementsByName(elementName: string): NodeListOf<HTMLElement>;
|
|
10520
10538
|
/**
|
|
10521
|
-
* The **`getElementsByTagName`** method of
|
|
10539
|
+
* The **`getElementsByTagName`** method of Document interface returns an HTMLCollection of elements with the given tag name.
|
|
10522
10540
|
*
|
|
10523
10541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByTagName)
|
|
10524
10542
|
*/
|
|
@@ -10556,13 +10574,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10556
10574
|
*/
|
|
10557
10575
|
hasStorageAccess(): Promise<boolean>;
|
|
10558
10576
|
/**
|
|
10559
|
-
* The Document object's **`importNode()`** method creates a copy of a inserted into the current document later.
|
|
10577
|
+
* The Document object's **`importNode()`** method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
|
|
10560
10578
|
*
|
|
10561
10579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
|
|
10562
10580
|
*/
|
|
10563
10581
|
importNode<T extends Node>(node: T, options?: boolean | ImportNodeOptions): T;
|
|
10564
10582
|
/**
|
|
10565
|
-
* The **`Document.open()`** method opens a document for
|
|
10583
|
+
* The **`Document.open()`** method opens a document for Document.write.
|
|
10566
10584
|
*
|
|
10567
10585
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/open)
|
|
10568
10586
|
*/
|
|
@@ -10945,7 +10963,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
10945
10963
|
get classList(): DOMTokenList;
|
|
10946
10964
|
set classList(value: string);
|
|
10947
10965
|
/**
|
|
10948
|
-
* The **`className`** property of the of the specified element.
|
|
10966
|
+
* The **`className`** property of the Element interface gets and sets the value of the `class` attribute of the specified element.
|
|
10949
10967
|
*
|
|
10950
10968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/className)
|
|
10951
10969
|
*/
|
|
@@ -11098,7 +11116,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11098
11116
|
*/
|
|
11099
11117
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
11100
11118
|
/**
|
|
11101
|
-
* The **`getAttribute()`** method of the element.
|
|
11119
|
+
* The **`getAttribute()`** method of the Element interface returns the value of a specified attribute on the element.
|
|
11102
11120
|
*
|
|
11103
11121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
|
|
11104
11122
|
*/
|
|
@@ -11110,7 +11128,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11110
11128
|
*/
|
|
11111
11129
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
11112
11130
|
/**
|
|
11113
|
-
* The **`getAttributeNames()`** method of the
|
|
11131
|
+
* The **`getAttributeNames()`** method of the Element interface returns the attribute names of the element as an Array of strings.
|
|
11114
11132
|
*
|
|
11115
11133
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)
|
|
11116
11134
|
*/
|
|
@@ -11128,7 +11146,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11128
11146
|
*/
|
|
11129
11147
|
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
11130
11148
|
/**
|
|
11131
|
-
* The **`Element.getBoundingClientRect()`** method returns a position relative to the viewport.
|
|
11149
|
+
* The **`Element.getBoundingClientRect()`** method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
|
|
11132
11150
|
*
|
|
11133
11151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)
|
|
11134
11152
|
*/
|
|
@@ -11140,13 +11158,13 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11140
11158
|
*/
|
|
11141
11159
|
getClientRects(): DOMRectList;
|
|
11142
11160
|
/**
|
|
11143
|
-
* The Element method **`getElementsByClassName()`** returns a live specified class name or names.
|
|
11161
|
+
* The Element method **`getElementsByClassName()`** returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
|
|
11144
11162
|
*
|
|
11145
11163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByClassName)
|
|
11146
11164
|
*/
|
|
11147
11165
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
11148
11166
|
/**
|
|
11149
|
-
* The **`Element.getElementsByTagName()`** method returns a live
|
|
11167
|
+
* The **`Element.getElementsByTagName()`** method returns a live HTMLCollection of elements with the given tag name.
|
|
11150
11168
|
*
|
|
11151
11169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
|
|
11152
11170
|
*/
|
|
@@ -11190,19 +11208,19 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11190
11208
|
*/
|
|
11191
11209
|
hasAttributes(): boolean;
|
|
11192
11210
|
/**
|
|
11193
|
-
* The **`hasPointerCapture()`** method of the pointer capture for the pointer identified by the given pointer ID.
|
|
11211
|
+
* The **`hasPointerCapture()`** method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
|
|
11194
11212
|
*
|
|
11195
11213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)
|
|
11196
11214
|
*/
|
|
11197
11215
|
hasPointerCapture(pointerId: number): boolean;
|
|
11198
11216
|
/**
|
|
11199
|
-
* The **`insertAdjacentElement()`** method of the relative to the element it is invoked upon.
|
|
11217
|
+
* The **`insertAdjacentElement()`** method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
|
|
11200
11218
|
*
|
|
11201
11219
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement)
|
|
11202
11220
|
*/
|
|
11203
11221
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
11204
11222
|
/**
|
|
11205
|
-
* The **`insertAdjacentHTML()`** method of the the resulting nodes into the DOM tree at a specified position.
|
|
11223
|
+
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
|
|
11206
11224
|
*
|
|
11207
11225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
|
|
11208
11226
|
*/
|
|
@@ -11220,7 +11238,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11220
11238
|
*/
|
|
11221
11239
|
matches(selectors: string): boolean;
|
|
11222
11240
|
/**
|
|
11223
|
-
* The **`releasePointerCapture()`** method of the previously set for a specific (PointerEvent) _pointer_.
|
|
11241
|
+
* The **`releasePointerCapture()`** method of the Element interface releases (stops) _pointer capture_ that was previously set for a specific (PointerEvent) _pointer_.
|
|
11224
11242
|
*
|
|
11225
11243
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture)
|
|
11226
11244
|
*/
|
|
@@ -11232,7 +11250,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11232
11250
|
*/
|
|
11233
11251
|
removeAttribute(qualifiedName: string): void;
|
|
11234
11252
|
/**
|
|
11235
|
-
* The **`removeAttributeNS()`** method of the
|
|
11253
|
+
* The **`removeAttributeNS()`** method of the Element interface removes the specified attribute with the specified namespace from an element.
|
|
11236
11254
|
*
|
|
11237
11255
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNS)
|
|
11238
11256
|
*/
|
|
@@ -11313,13 +11331,13 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11313
11331
|
*/
|
|
11314
11332
|
setHTMLUnsafe(html: string): void;
|
|
11315
11333
|
/**
|
|
11316
|
-
* The **`setPointerCapture()`** method of the _capture target_ of future pointer events.
|
|
11334
|
+
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the _capture target_ of future pointer events.
|
|
11317
11335
|
*
|
|
11318
11336
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture)
|
|
11319
11337
|
*/
|
|
11320
11338
|
setPointerCapture(pointerId: number): void;
|
|
11321
11339
|
/**
|
|
11322
|
-
* The **`toggleAttribute()`** method of the present and adding it if it is not present) on the given element.
|
|
11340
|
+
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
|
|
11323
11341
|
*
|
|
11324
11342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
11325
11343
|
*/
|
|
@@ -11597,7 +11615,7 @@ interface Event {
|
|
|
11597
11615
|
*/
|
|
11598
11616
|
readonly cancelable: boolean;
|
|
11599
11617
|
/**
|
|
11600
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
11618
|
+
* The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
11601
11619
|
*
|
|
11602
11620
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
11603
11621
|
*/
|
|
@@ -11615,13 +11633,13 @@ interface Event {
|
|
|
11615
11633
|
*/
|
|
11616
11634
|
readonly defaultPrevented: boolean;
|
|
11617
11635
|
/**
|
|
11618
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
11636
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
11619
11637
|
*
|
|
11620
11638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
11621
11639
|
*/
|
|
11622
11640
|
readonly eventPhase: number;
|
|
11623
11641
|
/**
|
|
11624
|
-
* The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via
|
|
11642
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via EventTarget.dispatchEvent().
|
|
11625
11643
|
*
|
|
11626
11644
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
11627
11645
|
*/
|
|
@@ -11641,7 +11659,7 @@ interface Event {
|
|
|
11641
11659
|
*/
|
|
11642
11660
|
readonly srcElement: EventTarget | null;
|
|
11643
11661
|
/**
|
|
11644
|
-
* The read-only **`target`** property of the dispatched.
|
|
11662
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
11645
11663
|
*
|
|
11646
11664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
11647
11665
|
*/
|
|
@@ -11678,7 +11696,7 @@ interface Event {
|
|
|
11678
11696
|
*/
|
|
11679
11697
|
preventDefault(): void;
|
|
11680
11698
|
/**
|
|
11681
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
11699
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
11682
11700
|
*
|
|
11683
11701
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
11684
11702
|
*/
|
|
@@ -11745,25 +11763,25 @@ interface EventSource extends EventTarget {
|
|
|
11745
11763
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
11746
11764
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
11747
11765
|
/**
|
|
11748
|
-
* The **`readyState`** read-only property of the connection.
|
|
11766
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
11749
11767
|
*
|
|
11750
11768
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
11751
11769
|
*/
|
|
11752
11770
|
readonly readyState: number;
|
|
11753
11771
|
/**
|
|
11754
|
-
* The **`url`** read-only property of the URL of the source.
|
|
11772
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
11755
11773
|
*
|
|
11756
11774
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
11757
11775
|
*/
|
|
11758
11776
|
readonly url: string;
|
|
11759
11777
|
/**
|
|
11760
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
11778
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
11761
11779
|
*
|
|
11762
11780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
11763
11781
|
*/
|
|
11764
11782
|
readonly withCredentials: boolean;
|
|
11765
11783
|
/**
|
|
11766
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
11784
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
11767
11785
|
*
|
|
11768
11786
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
11769
11787
|
*/
|
|
@@ -11954,7 +11972,7 @@ interface FileReader extends EventTarget {
|
|
|
11954
11972
|
*/
|
|
11955
11973
|
readAsBinaryString(blob: Blob): void;
|
|
11956
11974
|
/**
|
|
11957
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
11975
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
11958
11976
|
*
|
|
11959
11977
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
11960
11978
|
*/
|
|
@@ -11989,13 +12007,13 @@ declare var FileReader: {
|
|
|
11989
12007
|
*/
|
|
11990
12008
|
interface FileSystem {
|
|
11991
12009
|
/**
|
|
11992
|
-
* The read-only **`name`** property of the
|
|
12010
|
+
* The read-only **`name`** property of the FileSystem interface indicates the file system's name.
|
|
11993
12011
|
*
|
|
11994
12012
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/name)
|
|
11995
12013
|
*/
|
|
11996
12014
|
readonly name: string;
|
|
11997
12015
|
/**
|
|
11998
|
-
* The read-only **`root`** property of the object representing the root directory of the file system, for use with the File and Directory Entries API.
|
|
12016
|
+
* The read-only **`root`** property of the FileSystem interface specifies a FileSystemDirectoryEntry object representing the root directory of the file system, for use with the File and Directory Entries API.
|
|
11999
12017
|
*
|
|
12000
12018
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/root)
|
|
12001
12019
|
*/
|
|
@@ -12014,19 +12032,19 @@ declare var FileSystem: {
|
|
|
12014
12032
|
*/
|
|
12015
12033
|
interface FileSystemDirectoryEntry extends FileSystemEntry {
|
|
12016
12034
|
/**
|
|
12017
|
-
* The FileSystemDirectoryEntry interface's method **`createReader()`** returns a the directory.
|
|
12035
|
+
* The FileSystemDirectoryEntry interface's method **`createReader()`** returns a FileSystemDirectoryReader object which can be used to read the entries in the directory.
|
|
12018
12036
|
*
|
|
12019
12037
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/createReader)
|
|
12020
12038
|
*/
|
|
12021
12039
|
createReader(): FileSystemDirectoryReader;
|
|
12022
12040
|
/**
|
|
12023
|
-
* The FileSystemDirectoryEntry interface's method **`getDirectory()`** returns a somewhere within the directory subtree rooted at the directory on which it's called.
|
|
12041
|
+
* The FileSystemDirectoryEntry interface's method **`getDirectory()`** returns a FileSystemDirectoryEntry object corresponding to a directory contained somewhere within the directory subtree rooted at the directory on which it's called.
|
|
12024
12042
|
*
|
|
12025
12043
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getDirectory)
|
|
12026
12044
|
*/
|
|
12027
12045
|
getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
|
|
12028
12046
|
/**
|
|
12029
|
-
* The FileSystemDirectoryEntry interface's method **`getFile()`** returns a within the directory subtree rooted at the directory on which it's called.
|
|
12047
|
+
* The FileSystemDirectoryEntry interface's method **`getFile()`** returns a FileSystemFileEntry object corresponding to a file contained somewhere within the directory subtree rooted at the directory on which it's called.
|
|
12030
12048
|
*
|
|
12031
12049
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getFile)
|
|
12032
12050
|
*/
|
|
@@ -12047,25 +12065,25 @@ declare var FileSystemDirectoryEntry: {
|
|
|
12047
12065
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
12048
12066
|
readonly kind: "directory";
|
|
12049
12067
|
/**
|
|
12050
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
12068
|
+
* The **`getDirectoryHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemDirectoryHandle for a subdirectory with the specified name within the directory handle on which the method is called.
|
|
12051
12069
|
*
|
|
12052
12070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
12053
12071
|
*/
|
|
12054
12072
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
12055
12073
|
/**
|
|
12056
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
12074
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
12057
12075
|
*
|
|
12058
12076
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
12059
12077
|
*/
|
|
12060
12078
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
12061
12079
|
/**
|
|
12062
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
12080
|
+
* The **`removeEntry()`** method of the FileSystemDirectoryHandle interface attempts to remove an entry if the directory handle contains a file or directory called the name specified.
|
|
12063
12081
|
*
|
|
12064
12082
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
12065
12083
|
*/
|
|
12066
12084
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
12067
12085
|
/**
|
|
12068
|
-
* The **`resolve()`** method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
12086
|
+
* The **`resolve()`** method of the FileSystemDirectoryHandle interface returns an Array of directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
12069
12087
|
*
|
|
12070
12088
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
12071
12089
|
*/
|
|
@@ -12103,7 +12121,7 @@ declare var FileSystemDirectoryReader: {
|
|
|
12103
12121
|
*/
|
|
12104
12122
|
interface FileSystemEntry {
|
|
12105
12123
|
/**
|
|
12106
|
-
* The read-only **`filesystem`** property of the FileSystemEntry interface contains a resides.
|
|
12124
|
+
* The read-only **`filesystem`** property of the FileSystemEntry interface contains a FileSystem object that represents the file system on which the entry resides.
|
|
12107
12125
|
*
|
|
12108
12126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/filesystem)
|
|
12109
12127
|
*/
|
|
@@ -12133,7 +12151,7 @@ interface FileSystemEntry {
|
|
|
12133
12151
|
*/
|
|
12134
12152
|
readonly name: string;
|
|
12135
12153
|
/**
|
|
12136
|
-
* The FileSystemEntry interface's method **`getParent()`** obtains a
|
|
12154
|
+
* The FileSystemEntry interface's method **`getParent()`** obtains a FileSystemDirectoryEntry.
|
|
12137
12155
|
*
|
|
12138
12156
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/getParent)
|
|
12139
12157
|
*/
|
|
@@ -12152,7 +12170,7 @@ declare var FileSystemEntry: {
|
|
|
12152
12170
|
*/
|
|
12153
12171
|
interface FileSystemFileEntry extends FileSystemEntry {
|
|
12154
12172
|
/**
|
|
12155
|
-
* The FileSystemFileEntry interface's method **`file()`** returns a the directory entry.
|
|
12173
|
+
* The FileSystemFileEntry interface's method **`file()`** returns a File object which can be used to read data from the file represented by the directory entry.
|
|
12156
12174
|
*
|
|
12157
12175
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileEntry/file)
|
|
12158
12176
|
*/
|
|
@@ -12179,7 +12197,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
12179
12197
|
*/
|
|
12180
12198
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
12181
12199
|
/**
|
|
12182
|
-
* The **`getFile()`** method of the
|
|
12200
|
+
* The **`getFile()`** method of the FileSystemFileHandle interface returns a Promise which resolves to a File object representing the state on disk of the entry represented by the handle.
|
|
12183
12201
|
*
|
|
12184
12202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
12185
12203
|
*/
|
|
@@ -12199,19 +12217,19 @@ declare var FileSystemFileHandle: {
|
|
|
12199
12217
|
*/
|
|
12200
12218
|
interface FileSystemHandle {
|
|
12201
12219
|
/**
|
|
12202
|
-
* The **`kind`** read-only property of the
|
|
12220
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
12203
12221
|
*
|
|
12204
12222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
12205
12223
|
*/
|
|
12206
12224
|
readonly kind: FileSystemHandleKind;
|
|
12207
12225
|
/**
|
|
12208
|
-
* The **`name`** read-only property of the handle.
|
|
12226
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
12209
12227
|
*
|
|
12210
12228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
12211
12229
|
*/
|
|
12212
12230
|
readonly name: string;
|
|
12213
12231
|
/**
|
|
12214
|
-
* The **`isSameEntry()`** method of the
|
|
12232
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
12215
12233
|
*
|
|
12216
12234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
12217
12235
|
*/
|
|
@@ -12262,7 +12280,7 @@ declare var FileSystemWritableFileStream: {
|
|
|
12262
12280
|
*/
|
|
12263
12281
|
interface FocusEvent extends UIEvent {
|
|
12264
12282
|
/**
|
|
12265
|
-
* The **`relatedTarget`** read-only property of the FocusEvent interface is the secondary target, depending on the type of event:
|
|
12283
|
+
* The **`relatedTarget`** read-only property of the FocusEvent interface is the secondary target, depending on the type of event:
|
|
12266
12284
|
*
|
|
12267
12285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FocusEvent/relatedTarget)
|
|
12268
12286
|
*/
|
|
@@ -12426,7 +12444,7 @@ declare var FontFaceSet: {
|
|
|
12426
12444
|
*/
|
|
12427
12445
|
interface FontFaceSetLoadEvent extends Event {
|
|
12428
12446
|
/**
|
|
12429
|
-
* The **`fontfaces`** read-only property of the
|
|
12447
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
12430
12448
|
*
|
|
12431
12449
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
12432
12450
|
*/
|
|
@@ -12537,7 +12555,7 @@ declare var FragmentDirective: {
|
|
|
12537
12555
|
*/
|
|
12538
12556
|
interface GPUError {
|
|
12539
12557
|
/**
|
|
12540
|
-
* The **`message`** read-only property of the
|
|
12558
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
12541
12559
|
*
|
|
12542
12560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
12543
12561
|
*/
|
|
@@ -12582,7 +12600,7 @@ interface Gamepad {
|
|
|
12582
12600
|
*/
|
|
12583
12601
|
readonly buttons: ReadonlyArray<GamepadButton>;
|
|
12584
12602
|
/**
|
|
12585
|
-
* The **`Gamepad.connected`** property of the still connected to the system.
|
|
12603
|
+
* The **`Gamepad.connected`** property of the Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system.
|
|
12586
12604
|
*
|
|
12587
12605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/connected)
|
|
12588
12606
|
*/
|
|
@@ -12600,13 +12618,13 @@ interface Gamepad {
|
|
|
12600
12618
|
*/
|
|
12601
12619
|
readonly index: number;
|
|
12602
12620
|
/**
|
|
12603
|
-
* The **`Gamepad.mapping`** property of the remapped the controls on the device to a known layout.
|
|
12621
|
+
* The **`Gamepad.mapping`** property of the Gamepad interface returns a string indicating whether the browser has remapped the controls on the device to a known layout.
|
|
12604
12622
|
*
|
|
12605
12623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/mapping)
|
|
12606
12624
|
*/
|
|
12607
12625
|
readonly mapping: GamepadMappingType;
|
|
12608
12626
|
/**
|
|
12609
|
-
* The **`Gamepad.timestamp`** property of the representing the last time the data for this gamepad was updated.
|
|
12627
|
+
* The **`Gamepad.timestamp`** property of the Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated.
|
|
12610
12628
|
*
|
|
12611
12629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp)
|
|
12612
12630
|
*/
|
|
@@ -12631,19 +12649,19 @@ declare var Gamepad: {
|
|
|
12631
12649
|
*/
|
|
12632
12650
|
interface GamepadButton {
|
|
12633
12651
|
/**
|
|
12634
|
-
* The **`GamepadButton.pressed`** property of the the button is currently pressed (`true`) or unpressed (`false`).
|
|
12652
|
+
* The **`GamepadButton.pressed`** property of the GamepadButton interface returns a `boolean` indicating whether the button is currently pressed (`true`) or unpressed (`false`).
|
|
12635
12653
|
*
|
|
12636
12654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/pressed)
|
|
12637
12655
|
*/
|
|
12638
12656
|
readonly pressed: boolean;
|
|
12639
12657
|
/**
|
|
12640
|
-
* The **`touched`** property of the a button capable of detecting touch is currently touched (`true`) or not touched (`false`).
|
|
12658
|
+
* The **`touched`** property of the GamepadButton interface returns a `boolean` indicating whether a button capable of detecting touch is currently touched (`true`) or not touched (`false`).
|
|
12641
12659
|
*
|
|
12642
12660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/touched)
|
|
12643
12661
|
*/
|
|
12644
12662
|
readonly touched: boolean;
|
|
12645
12663
|
/**
|
|
12646
|
-
* The **`GamepadButton.value`** property of the current state of analog buttons on many modern gamepads, such as the triggers.
|
|
12664
|
+
* The **`GamepadButton.value`** property of the GamepadButton interface returns a double value used to represent the current state of analog buttons on many modern gamepads, such as the triggers.
|
|
12647
12665
|
*
|
|
12648
12666
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/value)
|
|
12649
12667
|
*/
|
|
@@ -12662,7 +12680,7 @@ declare var GamepadButton: {
|
|
|
12662
12680
|
*/
|
|
12663
12681
|
interface GamepadEvent extends Event {
|
|
12664
12682
|
/**
|
|
12665
|
-
* The **`GamepadEvent.gamepad`** property of the **GamepadEvent interface** returns a Gamepad object, providing access to the associated gamepad data for fired
|
|
12683
|
+
* The **`GamepadEvent.gamepad`** property of the **GamepadEvent interface** returns a Gamepad object, providing access to the associated gamepad data for fired Window.gamepadconnected_event and Window.gamepaddisconnected_event events.
|
|
12666
12684
|
*
|
|
12667
12685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent/gamepad)
|
|
12668
12686
|
*/
|
|
@@ -13264,7 +13282,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
13264
13282
|
*/
|
|
13265
13283
|
ping: string;
|
|
13266
13284
|
/**
|
|
13267
|
-
* The **`HTMLAnchorElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the
|
|
13285
|
+
* The **`HTMLAnchorElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the a element defining which referrer is sent when fetching the resource.
|
|
13268
13286
|
*
|
|
13269
13287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy)
|
|
13270
13288
|
*/
|
|
@@ -13348,7 +13366,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
13348
13366
|
*/
|
|
13349
13367
|
ping: string;
|
|
13350
13368
|
/**
|
|
13351
|
-
* The **`HTMLAreaElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the resource.
|
|
13369
|
+
* The **`HTMLAreaElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the area element defining which referrer is sent when fetching the resource.
|
|
13352
13370
|
*
|
|
13353
13371
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy)
|
|
13354
13372
|
*/
|
|
@@ -13535,7 +13553,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
13535
13553
|
*/
|
|
13536
13554
|
formTarget: string;
|
|
13537
13555
|
/**
|
|
13538
|
-
* The **`HTMLButtonElement.labels`** read-only property returns a
|
|
13556
|
+
* The **`HTMLButtonElement.labels`** read-only property returns a NodeList of the label elements associated with the button element.
|
|
13539
13557
|
*
|
|
13540
13558
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels)
|
|
13541
13559
|
*/
|
|
@@ -13792,7 +13810,7 @@ interface HTMLDetailsElement extends HTMLElement {
|
|
|
13792
13810
|
*/
|
|
13793
13811
|
name: string;
|
|
13794
13812
|
/**
|
|
13795
|
-
* The **`open`** property of the `open` HTML attribute, indicating whether the details's contents (not counting the summary) is to be shown to the user.
|
|
13813
|
+
* The **`open`** property of the HTMLDetailsElement interface is a boolean value reflecting the `open` HTML attribute, indicating whether the details's contents (not counting the summary) is to be shown to the user.
|
|
13796
13814
|
*
|
|
13797
13815
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)
|
|
13798
13816
|
*/
|
|
@@ -13815,13 +13833,13 @@ declare var HTMLDetailsElement: {
|
|
|
13815
13833
|
*/
|
|
13816
13834
|
interface HTMLDialogElement extends HTMLElement {
|
|
13817
13835
|
/**
|
|
13818
|
-
* The **`closedBy`** property of the
|
|
13836
|
+
* The **`closedBy`** property of the HTMLDialogElement interface indicates the types of user actions that can be used to close the associated dialog element.
|
|
13819
13837
|
*
|
|
13820
13838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/closedBy)
|
|
13821
13839
|
*/
|
|
13822
13840
|
closedBy: string;
|
|
13823
13841
|
/**
|
|
13824
|
-
* The **`open`** property of the `open` HTML attribute, indicating whether the dialog is available for interaction.
|
|
13842
|
+
* The **`open`** property of the HTMLDialogElement interface is a boolean value reflecting the `open` HTML attribute, indicating whether the dialog is available for interaction.
|
|
13825
13843
|
*
|
|
13826
13844
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/open)
|
|
13827
13845
|
*/
|
|
@@ -13851,7 +13869,7 @@ interface HTMLDialogElement extends HTMLElement {
|
|
|
13851
13869
|
*/
|
|
13852
13870
|
show(): void;
|
|
13853
13871
|
/**
|
|
13854
|
-
* The **`showModal()`** method of the of any other dialogs that might be present.
|
|
13872
|
+
* The **`showModal()`** method of the HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present.
|
|
13855
13873
|
*
|
|
13856
13874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/showModal)
|
|
13857
13875
|
*/
|
|
@@ -14308,7 +14326,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14308
14326
|
*/
|
|
14309
14327
|
autocomplete: AutoFillBase;
|
|
14310
14328
|
/**
|
|
14311
|
-
* The HTMLFormElement property **`elements`** returns an the form element.
|
|
14329
|
+
* The HTMLFormElement property **`elements`** returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
|
|
14312
14330
|
*
|
|
14313
14331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
|
|
14314
14332
|
*/
|
|
@@ -14332,7 +14350,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14332
14350
|
*/
|
|
14333
14351
|
readonly length: number;
|
|
14334
14352
|
/**
|
|
14335
|
-
* The **`HTMLFormElement.method`** property represents the
|
|
14353
|
+
* The **`HTMLFormElement.method`** property represents the HTTP method used to submit the form.
|
|
14336
14354
|
*
|
|
14337
14355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)
|
|
14338
14356
|
*/
|
|
@@ -14393,7 +14411,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14393
14411
|
*/
|
|
14394
14412
|
reset(): void;
|
|
14395
14413
|
/**
|
|
14396
|
-
* The **`HTMLFormElement.submit()`** method submits a given
|
|
14414
|
+
* The **`HTMLFormElement.submit()`** method submits a given form.
|
|
14397
14415
|
*
|
|
14398
14416
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit)
|
|
14399
14417
|
*/
|
|
@@ -14707,7 +14725,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14707
14725
|
*/
|
|
14708
14726
|
name: string;
|
|
14709
14727
|
/**
|
|
14710
|
-
* The **`HTMLIFrameElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.
|
|
14728
|
+
* The **`HTMLIFrameElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the iframe element defining which referrer is sent when fetching the resource.
|
|
14711
14729
|
*
|
|
14712
14730
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy)
|
|
14713
14731
|
*/
|
|
@@ -14813,13 +14831,13 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14813
14831
|
*/
|
|
14814
14832
|
fetchPriority: "high" | "low" | "auto";
|
|
14815
14833
|
/**
|
|
14816
|
-
* The **`height`** property of the drawn, in CSS pixel 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.
|
|
14834
|
+
* The **`height`** property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixel 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.
|
|
14817
14835
|
*
|
|
14818
14836
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
|
|
14819
14837
|
*/
|
|
14820
14838
|
height: number;
|
|
14821
14839
|
/**
|
|
14822
|
-
* The _obsolete_ **`hspace`** property of the space to leave empty on the left and right sides of the img element when laying out the page.
|
|
14840
|
+
* The _obsolete_ **`hspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the img element when laying out the page.
|
|
14823
14841
|
* @deprecated
|
|
14824
14842
|
*
|
|
14825
14843
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
|
|
@@ -14854,7 +14872,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14854
14872
|
*/
|
|
14855
14873
|
name: string;
|
|
14856
14874
|
/**
|
|
14857
|
-
* The HTMLImageElement interface's **`naturalHeight`** property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in
|
|
14875
|
+
* The HTMLImageElement interface's **`naturalHeight`** property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixel.
|
|
14858
14876
|
*
|
|
14859
14877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
|
|
14860
14878
|
*/
|
|
@@ -14866,7 +14884,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14866
14884
|
*/
|
|
14867
14885
|
readonly naturalWidth: number;
|
|
14868
14886
|
/**
|
|
14869
|
-
* The **`HTMLImageElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.
|
|
14887
|
+
* The **`HTMLImageElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the img element defining which referrer is sent when fetching the resource.
|
|
14870
14888
|
*
|
|
14871
14889
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
|
|
14872
14890
|
*/
|
|
@@ -14890,38 +14908,38 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14890
14908
|
*/
|
|
14891
14909
|
srcset: string;
|
|
14892
14910
|
/**
|
|
14893
|
-
* The **`useMap`** property on the providing the name of the client-side image map to apply to the image.
|
|
14911
|
+
* The **`useMap`** property on the HTMLImageElement interface reflects the value of the HTML `usemap` attribute, which is a string providing the name of the client-side image map to apply to the image.
|
|
14894
14912
|
*
|
|
14895
14913
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
|
|
14896
14914
|
*/
|
|
14897
14915
|
useMap: string;
|
|
14898
14916
|
/**
|
|
14899
|
-
* The _obsolete_ **`vspace`** property of the to leave empty on the top and bottom of the img element when laying out the page.
|
|
14917
|
+
* The _obsolete_ **`vspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom of the img element when laying out the page.
|
|
14900
14918
|
* @deprecated
|
|
14901
14919
|
*
|
|
14902
14920
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
|
|
14903
14921
|
*/
|
|
14904
14922
|
vspace: number;
|
|
14905
14923
|
/**
|
|
14906
|
-
* The **`width`** property of the drawn in CSS pixel if it's being drawn or rendered to any visual medium such as a screen or printer.
|
|
14924
|
+
* The **`width`** property of the HTMLImageElement interface indicates the width at which an image is drawn in CSS pixel if it's being drawn or rendered to any visual medium such as a screen or printer.
|
|
14907
14925
|
*
|
|
14908
14926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
|
|
14909
14927
|
*/
|
|
14910
14928
|
width: number;
|
|
14911
14929
|
/**
|
|
14912
|
-
* The read-only HTMLImageElement property **`x`** indicates the x-coordinate of the origin.
|
|
14930
|
+
* The read-only HTMLImageElement property **`x`** indicates the x-coordinate of the img element's left border edge relative to the root element's origin.
|
|
14913
14931
|
*
|
|
14914
14932
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
|
|
14915
14933
|
*/
|
|
14916
14934
|
readonly x: number;
|
|
14917
14935
|
/**
|
|
14918
|
-
* The read-only HTMLImageElement property **`y`** indicates the y-coordinate of the origin.
|
|
14936
|
+
* The read-only HTMLImageElement property **`y`** indicates the y-coordinate of the img element's top border edge relative to the root element's origin.
|
|
14919
14937
|
*
|
|
14920
14938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
|
|
14921
14939
|
*/
|
|
14922
14940
|
readonly y: number;
|
|
14923
14941
|
/**
|
|
14924
|
-
* The **`decode()`** method of the HTMLImageElement interface returns a it to the DOM.
|
|
14942
|
+
* The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and it is safe to append it to the DOM.
|
|
14925
14943
|
*
|
|
14926
14944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
|
|
14927
14945
|
*/
|
|
@@ -15054,7 +15072,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
15054
15072
|
*/
|
|
15055
15073
|
indeterminate: boolean;
|
|
15056
15074
|
/**
|
|
15057
|
-
* The **`HTMLInputElement.labels`** read-only property returns a
|
|
15075
|
+
* The **`HTMLInputElement.labels`** read-only property returns a NodeList of the label elements associated with the input element, if the element is not hidden.
|
|
15058
15076
|
*
|
|
15059
15077
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels)
|
|
15060
15078
|
*/
|
|
@@ -15450,7 +15468,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
15450
15468
|
*/
|
|
15451
15469
|
media: string;
|
|
15452
15470
|
/**
|
|
15453
|
-
* The **`referrerPolicy`** property of the HTMLLinkElement interface reflects the HTML `referrerpolicy` attribute of the resource.
|
|
15471
|
+
* The **`referrerPolicy`** property of the HTMLLinkElement interface reflects the HTML `referrerpolicy` attribute of the link element defining which referrer is sent when fetching the resource.
|
|
15454
15472
|
*
|
|
15455
15473
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy)
|
|
15456
15474
|
*/
|
|
@@ -15648,7 +15666,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
15648
15666
|
*/
|
|
15649
15667
|
readonly ended: boolean;
|
|
15650
15668
|
/**
|
|
15651
|
-
* The **`HTMLMediaElement.error`** property is the there has not been an error.
|
|
15669
|
+
* The **`HTMLMediaElement.error`** property is the MediaError object for the most recent error, or `null` if there has not been an error.
|
|
15652
15670
|
*
|
|
15653
15671
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/error)
|
|
15654
15672
|
*/
|
|
@@ -15750,13 +15768,13 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
15750
15768
|
*/
|
|
15751
15769
|
src: string;
|
|
15752
15770
|
/**
|
|
15753
|
-
* The **`srcObject`** property of the the source of the media associated with the HTMLMediaElement, or `null` if not assigned.
|
|
15771
|
+
* The **`srcObject`** property of the HTMLMediaElement interface sets or returns the object which serves as the source of the media associated with the HTMLMediaElement, or `null` if not assigned.
|
|
15754
15772
|
*
|
|
15755
15773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/srcObject)
|
|
15756
15774
|
*/
|
|
15757
15775
|
srcObject: MediaProvider | null;
|
|
15758
15776
|
/**
|
|
15759
|
-
* The read-only **`textTracks`** property on HTMLMediaElement objects returns a objects representing the media element's text tracks, in the same order as in the list of text tracks.
|
|
15777
|
+
* The read-only **`textTracks`** property on HTMLMediaElement objects returns a TextTrackList object listing all of the TextTrack objects representing the media element's text tracks, in the same order as in the list of text tracks.
|
|
15760
15778
|
*
|
|
15761
15779
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/textTracks)
|
|
15762
15780
|
*/
|
|
@@ -15931,7 +15949,7 @@ interface HTMLMeterElement extends HTMLElement {
|
|
|
15931
15949
|
*/
|
|
15932
15950
|
high: number;
|
|
15933
15951
|
/**
|
|
15934
|
-
* The **`HTMLMeterElement.labels`** read-only property returns a
|
|
15952
|
+
* The **`HTMLMeterElement.labels`** read-only property returns a NodeList of the label elements associated with the meter element.
|
|
15935
15953
|
*
|
|
15936
15954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels)
|
|
15937
15955
|
*/
|
|
@@ -16079,7 +16097,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16079
16097
|
*/
|
|
16080
16098
|
readonly contentWindow: WindowProxy | null;
|
|
16081
16099
|
/**
|
|
16082
|
-
* The **`data`** property of the reflects the `data` HTML attribute, specifying the address of a resource's data.
|
|
16100
|
+
* The **`data`** property of the HTMLObjectElement interface returns a string that reflects the `data` HTML attribute, specifying the address of a resource's data.
|
|
16083
16101
|
*
|
|
16084
16102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)
|
|
16085
16103
|
*/
|
|
@@ -16093,7 +16111,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16093
16111
|
*/
|
|
16094
16112
|
readonly form: HTMLFormElement | null;
|
|
16095
16113
|
/**
|
|
16096
|
-
* The **`height`** property of the reflects the `height` HTML attribute, specifying the displayed height of the resource in CSS pixels.
|
|
16114
|
+
* The **`height`** property of the HTMLObjectElement interface Returns a string that reflects the `height` HTML attribute, specifying the displayed height of the resource in CSS pixels.
|
|
16097
16115
|
*
|
|
16098
16116
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)
|
|
16099
16117
|
*/
|
|
@@ -16101,7 +16119,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16101
16119
|
/** @deprecated */
|
|
16102
16120
|
hspace: number;
|
|
16103
16121
|
/**
|
|
16104
|
-
* The **`name`** property of the reflects the `name` HTML attribute, specifying the name of the browsing context.
|
|
16122
|
+
* The **`name`** property of the HTMLObjectElement interface returns a string that reflects the `name` HTML attribute, specifying the name of the browsing context.
|
|
16105
16123
|
*
|
|
16106
16124
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/name)
|
|
16107
16125
|
*/
|
|
@@ -16109,13 +16127,13 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16109
16127
|
/** @deprecated */
|
|
16110
16128
|
standby: string;
|
|
16111
16129
|
/**
|
|
16112
|
-
* The **`type`** property of the reflects the `type` HTML attribute, specifying the MIME type of the resource.
|
|
16130
|
+
* The **`type`** property of the HTMLObjectElement interface returns a string that reflects the `type` HTML attribute, specifying the MIME type of the resource.
|
|
16113
16131
|
*
|
|
16114
16132
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/type)
|
|
16115
16133
|
*/
|
|
16116
16134
|
type: string;
|
|
16117
16135
|
/**
|
|
16118
|
-
* The **`useMap`** property of the reflects the `usemap` HTML attribute, specifying a
|
|
16136
|
+
* The **`useMap`** property of the HTMLObjectElement interface returns a string that reflects the `usemap` HTML attribute, specifying a map element to use.
|
|
16119
16137
|
* @deprecated
|
|
16120
16138
|
*
|
|
16121
16139
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)
|
|
@@ -16136,7 +16154,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16136
16154
|
/** @deprecated */
|
|
16137
16155
|
vspace: number;
|
|
16138
16156
|
/**
|
|
16139
|
-
* The **`width`** property of the reflects the `width` HTML attribute, specifying the displayed width of the resource in CSS pixels.
|
|
16157
|
+
* The **`width`** property of the HTMLObjectElement interface returns a string that reflects the `width` HTML attribute, specifying the displayed width of the resource in CSS pixels.
|
|
16140
16158
|
*
|
|
16141
16159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/width)
|
|
16142
16160
|
*/
|
|
@@ -16166,7 +16184,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16166
16184
|
*/
|
|
16167
16185
|
reportValidity(): boolean;
|
|
16168
16186
|
/**
|
|
16169
|
-
* The **`setCustomValidity()`** method of the element.
|
|
16187
|
+
* The **`setCustomValidity()`** method of the HTMLObjectElement interface sets a custom validity message for the element.
|
|
16170
16188
|
*
|
|
16171
16189
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/setCustomValidity)
|
|
16172
16190
|
*/
|
|
@@ -16354,7 +16372,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
16354
16372
|
get htmlFor(): DOMTokenList;
|
|
16355
16373
|
set htmlFor(value: string);
|
|
16356
16374
|
/**
|
|
16357
|
-
* The **`HTMLOutputElement.labels`** read-only property returns a
|
|
16375
|
+
* The **`HTMLOutputElement.labels`** read-only property returns a NodeList of the label elements associated with the output element.
|
|
16358
16376
|
*
|
|
16359
16377
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels)
|
|
16360
16378
|
*/
|
|
@@ -16513,7 +16531,7 @@ declare var HTMLPreElement: {
|
|
|
16513
16531
|
*/
|
|
16514
16532
|
interface HTMLProgressElement extends HTMLElement {
|
|
16515
16533
|
/**
|
|
16516
|
-
* The **`HTMLProgressElement.labels`** read-only property returns a NodeList of the label elements associated with the
|
|
16534
|
+
* The **`HTMLProgressElement.labels`** read-only property returns a NodeList of the label elements associated with the progress element.
|
|
16517
16535
|
*
|
|
16518
16536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/labels)
|
|
16519
16537
|
*/
|
|
@@ -16626,7 +16644,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
16626
16644
|
*/
|
|
16627
16645
|
noModule: boolean;
|
|
16628
16646
|
/**
|
|
16629
|
-
* The **`referrerPolicy`** property of the `referrerpolicy` of the script element, which defines how the referrer is set when fetching the script and any scripts it imports.
|
|
16647
|
+
* The **`referrerPolicy`** property of the HTMLScriptElement interface reflects the HTML `referrerpolicy` of the script element, which defines how the referrer is set when fetching the script and any scripts it imports.
|
|
16630
16648
|
*
|
|
16631
16649
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy)
|
|
16632
16650
|
*/
|
|
@@ -16691,7 +16709,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16691
16709
|
*/
|
|
16692
16710
|
readonly form: HTMLFormElement | null;
|
|
16693
16711
|
/**
|
|
16694
|
-
* The **`HTMLSelectElement.labels`** read-only property returns a
|
|
16712
|
+
* The **`HTMLSelectElement.labels`** read-only property returns a NodeList of the label elements associated with the select element.
|
|
16695
16713
|
*
|
|
16696
16714
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels)
|
|
16697
16715
|
*/
|
|
@@ -16733,7 +16751,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16733
16751
|
*/
|
|
16734
16752
|
selectedIndex: number;
|
|
16735
16753
|
/**
|
|
16736
|
-
* The **read-only** HTMLSelectElement property **`selectedOptions`** contains a list of the element that are currently selected.
|
|
16754
|
+
* The **read-only** HTMLSelectElement property **`selectedOptions`** contains a list of the option elements contained within the select element that are currently selected.
|
|
16737
16755
|
*
|
|
16738
16756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions)
|
|
16739
16757
|
*/
|
|
@@ -16787,13 +16805,13 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16787
16805
|
*/
|
|
16788
16806
|
checkValidity(): boolean;
|
|
16789
16807
|
/**
|
|
16790
|
-
* The **`HTMLSelectElement.item()`** method returns the position in the options list corresponds to the index given in the parameter, or `null` if there are none.
|
|
16808
|
+
* The **`HTMLSelectElement.item()`** method returns the Element corresponding to the HTMLOptionElement whose position in the options list corresponds to the index given in the parameter, or `null` if there are none.
|
|
16791
16809
|
*
|
|
16792
16810
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/item)
|
|
16793
16811
|
*/
|
|
16794
16812
|
item(index: number): HTMLOptionElement | null;
|
|
16795
16813
|
/**
|
|
16796
|
-
* The **`HTMLSelectElement.namedItem()`** method returns the whose `name` or `id` match the specified name, or `null` if no option matches.
|
|
16814
|
+
* The **`HTMLSelectElement.namedItem()`** method returns the HTMLOptionElement corresponding to the HTMLOptionElement whose `name` or `id` match the specified name, or `null` if no option matches.
|
|
16797
16815
|
*
|
|
16798
16816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/namedItem)
|
|
16799
16817
|
*/
|
|
@@ -17222,7 +17240,7 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17222
17240
|
*/
|
|
17223
17241
|
cellPadding: string;
|
|
17224
17242
|
/**
|
|
17225
|
-
* While you should instead use the CSS interface's **`cellSpacing`** property represents the spacing around the individual th and td elements representing a table's cells.
|
|
17243
|
+
* While you should instead use the CSS border-spacing property, the obsolete HTMLTableElement interface's **`cellSpacing`** property represents the spacing around the individual th and td elements representing a table's cells.
|
|
17226
17244
|
* @deprecated
|
|
17227
17245
|
*
|
|
17228
17246
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/cellSpacing)
|
|
@@ -17236,7 +17254,7 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17236
17254
|
*/
|
|
17237
17255
|
frame: string;
|
|
17238
17256
|
/**
|
|
17239
|
-
* The read-only HTMLTableElement property **`rows`** returns a live
|
|
17257
|
+
* The read-only HTMLTableElement property **`rows`** returns a live HTMLCollection of all the rows in the table, including the rows contained within any thead, tfoot, and tbody elements.
|
|
17240
17258
|
*
|
|
17241
17259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/rows)
|
|
17242
17260
|
*/
|
|
@@ -17262,13 +17280,13 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17262
17280
|
*/
|
|
17263
17281
|
readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;
|
|
17264
17282
|
/**
|
|
17265
|
-
* The **`HTMLTableElement.tFoot`** property represents the
|
|
17283
|
+
* The **`HTMLTableElement.tFoot`** property represents the tfoot element of a table.
|
|
17266
17284
|
*
|
|
17267
17285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tFoot)
|
|
17268
17286
|
*/
|
|
17269
17287
|
tFoot: HTMLTableSectionElement | null;
|
|
17270
17288
|
/**
|
|
17271
|
-
* The **`HTMLTableElement.tHead`** represents the
|
|
17289
|
+
* The **`HTMLTableElement.tHead`** represents the thead element of a table.
|
|
17272
17290
|
*
|
|
17273
17291
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tHead)
|
|
17274
17292
|
*/
|
|
@@ -17281,31 +17299,31 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17281
17299
|
*/
|
|
17282
17300
|
width: string;
|
|
17283
17301
|
/**
|
|
17284
|
-
* The **`HTMLTableElement.createCaption()`** method returns the
|
|
17302
|
+
* The **`HTMLTableElement.createCaption()`** method returns the caption element associated with a given table.
|
|
17285
17303
|
*
|
|
17286
17304
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createCaption)
|
|
17287
17305
|
*/
|
|
17288
17306
|
createCaption(): HTMLTableCaptionElement;
|
|
17289
17307
|
/**
|
|
17290
|
-
* The **`createTBody()`** method of
|
|
17308
|
+
* The **`createTBody()`** method of HTMLTableElement objects creates and returns a new tbody element associated with a given table.
|
|
17291
17309
|
*
|
|
17292
17310
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTBody)
|
|
17293
17311
|
*/
|
|
17294
17312
|
createTBody(): HTMLTableSectionElement;
|
|
17295
17313
|
/**
|
|
17296
|
-
* The **`createTFoot()`** method of associated with a given table.
|
|
17314
|
+
* The **`createTFoot()`** method of HTMLTableElement objects returns the tfoot element associated with a given table.
|
|
17297
17315
|
*
|
|
17298
17316
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTFoot)
|
|
17299
17317
|
*/
|
|
17300
17318
|
createTFoot(): HTMLTableSectionElement;
|
|
17301
17319
|
/**
|
|
17302
|
-
* The **`createTHead()`** method of associated with a given table.
|
|
17320
|
+
* The **`createTHead()`** method of HTMLTableElement objects returns the thead element associated with a given table.
|
|
17303
17321
|
*
|
|
17304
17322
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTHead)
|
|
17305
17323
|
*/
|
|
17306
17324
|
createTHead(): HTMLTableSectionElement;
|
|
17307
17325
|
/**
|
|
17308
|
-
* The **`HTMLTableElement.deleteCaption()`** method removes the
|
|
17326
|
+
* The **`HTMLTableElement.deleteCaption()`** method removes the caption element from a given table.
|
|
17309
17327
|
*
|
|
17310
17328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteCaption)
|
|
17311
17329
|
*/
|
|
@@ -17317,13 +17335,13 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17317
17335
|
*/
|
|
17318
17336
|
deleteRow(index: number): void;
|
|
17319
17337
|
/**
|
|
17320
|
-
* The **`HTMLTableElement.deleteTFoot()`** method removes the
|
|
17338
|
+
* The **`HTMLTableElement.deleteTFoot()`** method removes the tfoot element from a given table.
|
|
17321
17339
|
*
|
|
17322
17340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTFoot)
|
|
17323
17341
|
*/
|
|
17324
17342
|
deleteTFoot(): void;
|
|
17325
17343
|
/**
|
|
17326
|
-
* The **`HTMLTableElement.deleteTHead()`** removes the
|
|
17344
|
+
* The **`HTMLTableElement.deleteTHead()`** removes the thead element from a given table.
|
|
17327
17345
|
*
|
|
17328
17346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTHead)
|
|
17329
17347
|
*/
|
|
@@ -17482,7 +17500,7 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
17482
17500
|
*/
|
|
17483
17501
|
deleteRow(index: number): void;
|
|
17484
17502
|
/**
|
|
17485
|
-
* The **`insertRow()`** method of the HTMLTableSectionElement interface inserts a new row (tr) in the given table sectioning element (thead, tfoot, or
|
|
17503
|
+
* The **`insertRow()`** method of the HTMLTableSectionElement interface inserts a new row (tr) in the given table sectioning element (thead, tfoot, or tbody), then returns a reference to this new row.
|
|
17486
17504
|
*
|
|
17487
17505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/insertRow)
|
|
17488
17506
|
*/
|
|
@@ -17505,7 +17523,7 @@ declare var HTMLTableSectionElement: {
|
|
|
17505
17523
|
*/
|
|
17506
17524
|
interface HTMLTemplateElement extends HTMLElement {
|
|
17507
17525
|
/**
|
|
17508
|
-
* The **`HTMLTemplateElement.content`** property returns a `<template>` element's template contents (a
|
|
17526
|
+
* The **`HTMLTemplateElement.content`** property returns a `<template>` element's template contents (a DocumentFragment).
|
|
17509
17527
|
*
|
|
17510
17528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
17511
17529
|
*/
|
|
@@ -17588,7 +17606,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17588
17606
|
*/
|
|
17589
17607
|
readonly form: HTMLFormElement | null;
|
|
17590
17608
|
/**
|
|
17591
|
-
* The **`HTMLTextAreaElement.labels`** read-only property returns a NodeList of the label elements associated with the
|
|
17609
|
+
* The **`HTMLTextAreaElement.labels`** read-only property returns a NodeList of the label elements associated with the textArea element.
|
|
17592
17610
|
*
|
|
17593
17611
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels)
|
|
17594
17612
|
*/
|
|
@@ -17636,7 +17654,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17636
17654
|
*/
|
|
17637
17655
|
rows: number;
|
|
17638
17656
|
/**
|
|
17639
|
-
*
|
|
17657
|
+
* The **`selectionDirection`** property of the HTMLTextAreaElement interface specifies the current direction of the selection.
|
|
17640
17658
|
*
|
|
17641
17659
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
17642
17660
|
*/
|
|
@@ -17814,7 +17832,7 @@ interface HTMLTrackElement extends HTMLElement {
|
|
|
17814
17832
|
*/
|
|
17815
17833
|
label: string;
|
|
17816
17834
|
/**
|
|
17817
|
-
* The **`readyState`** read-only property of the HTMLTrackElement interface returns a number representing the track element's text track readiness state:
|
|
17835
|
+
* The **`readyState`** read-only property of the HTMLTrackElement interface returns a number representing the track element's text track readiness state:
|
|
17818
17836
|
*
|
|
17819
17837
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState)
|
|
17820
17838
|
*/
|
|
@@ -17958,7 +17976,7 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
17958
17976
|
*/
|
|
17959
17977
|
cancelVideoFrameCallback(handle: number): void;
|
|
17960
17978
|
/**
|
|
17961
|
-
* The **HTMLVideoElement** method **`getVideoPlaybackQuality()`** creates and returns a frames have been lost.
|
|
17979
|
+
* The **HTMLVideoElement** method **`getVideoPlaybackQuality()`** creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost.
|
|
17962
17980
|
*
|
|
17963
17981
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)
|
|
17964
17982
|
*/
|
|
@@ -17993,13 +18011,13 @@ declare var HTMLVideoElement: {
|
|
|
17993
18011
|
*/
|
|
17994
18012
|
interface HashChangeEvent extends Event {
|
|
17995
18013
|
/**
|
|
17996
|
-
* The **`newURL`** read-only property of the navigating.
|
|
18014
|
+
* The **`newURL`** read-only property of the HashChangeEvent interface returns the new URL to which the window is navigating.
|
|
17997
18015
|
*
|
|
17998
18016
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/newURL)
|
|
17999
18017
|
*/
|
|
18000
18018
|
readonly newURL: string;
|
|
18001
18019
|
/**
|
|
18002
|
-
* The **`oldURL`** read-only property of the was navigated.
|
|
18020
|
+
* The **`oldURL`** read-only property of the HashChangeEvent interface returns the previous URL from which the window was navigated.
|
|
18003
18021
|
*
|
|
18004
18022
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/oldURL)
|
|
18005
18023
|
*/
|
|
@@ -18169,19 +18187,19 @@ declare var History: {
|
|
|
18169
18187
|
*/
|
|
18170
18188
|
interface IDBCursor {
|
|
18171
18189
|
/**
|
|
18172
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
18190
|
+
* The **`direction`** read-only property of the IDBCursor interface is a string that returns the direction of traversal of the cursor (set using IDBObjectStore.openCursor for example).
|
|
18173
18191
|
*
|
|
18174
18192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
18175
18193
|
*/
|
|
18176
18194
|
readonly direction: IDBCursorDirection;
|
|
18177
18195
|
/**
|
|
18178
|
-
* The **`key`** read-only property of the position.
|
|
18196
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
18179
18197
|
*
|
|
18180
18198
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
18181
18199
|
*/
|
|
18182
18200
|
readonly key: IDBValidKey;
|
|
18183
18201
|
/**
|
|
18184
|
-
* The **`primaryKey`** read-only property of the
|
|
18202
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
18185
18203
|
*
|
|
18186
18204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
18187
18205
|
*/
|
|
@@ -18193,7 +18211,7 @@ interface IDBCursor {
|
|
|
18193
18211
|
*/
|
|
18194
18212
|
readonly request: IDBRequest;
|
|
18195
18213
|
/**
|
|
18196
|
-
* The **`source`** read-only property of the
|
|
18214
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
18197
18215
|
*
|
|
18198
18216
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
18199
18217
|
*/
|
|
@@ -18211,7 +18229,7 @@ interface IDBCursor {
|
|
|
18211
18229
|
*/
|
|
18212
18230
|
continue(key?: IDBValidKey): void;
|
|
18213
18231
|
/**
|
|
18214
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
18232
|
+
* The **`continuePrimaryKey()`** method of the IDBCursor interface advances the cursor to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
18215
18233
|
*
|
|
18216
18234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
18217
18235
|
*/
|
|
@@ -18242,7 +18260,7 @@ declare var IDBCursor: {
|
|
|
18242
18260
|
*/
|
|
18243
18261
|
interface IDBCursorWithValue extends IDBCursor {
|
|
18244
18262
|
/**
|
|
18245
|
-
* The **`value`** read-only property of the whatever that is.
|
|
18263
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
18246
18264
|
*
|
|
18247
18265
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
18248
18266
|
*/
|
|
@@ -18274,7 +18292,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
18274
18292
|
*/
|
|
18275
18293
|
readonly name: string;
|
|
18276
18294
|
/**
|
|
18277
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
18295
|
+
* The **`objectStoreNames`** read-only property of the IDBDatabase interface is a DOMStringList containing a list of the names of the object stores currently in the connected database.
|
|
18278
18296
|
*
|
|
18279
18297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
18280
18298
|
*/
|
|
@@ -18298,13 +18316,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
18298
18316
|
*/
|
|
18299
18317
|
close(): void;
|
|
18300
18318
|
/**
|
|
18301
|
-
* The **`createObjectStore()`** method of the
|
|
18319
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
18302
18320
|
*
|
|
18303
18321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
18304
18322
|
*/
|
|
18305
18323
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
18306
18324
|
/**
|
|
18307
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
18325
|
+
* The **`deleteObjectStore()`** method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it.
|
|
18308
18326
|
*
|
|
18309
18327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
18310
18328
|
*/
|
|
@@ -18345,7 +18363,7 @@ interface IDBFactory {
|
|
|
18345
18363
|
*/
|
|
18346
18364
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
18347
18365
|
/**
|
|
18348
|
-
* The **`deleteDatabase()`** method of the
|
|
18366
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
18349
18367
|
*
|
|
18350
18368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
18351
18369
|
*/
|
|
@@ -18376,7 +18394,7 @@ interface IDBIndex {
|
|
|
18376
18394
|
*/
|
|
18377
18395
|
readonly keyPath: string | string[];
|
|
18378
18396
|
/**
|
|
18379
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
18397
|
+
* The **`multiEntry`** read-only property of the IDBIndex interface returns a boolean value that affects how the index behaves when the result of evaluating the index's key path yields an array.
|
|
18380
18398
|
*
|
|
18381
18399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
18382
18400
|
*/
|
|
@@ -18406,7 +18424,7 @@ interface IDBIndex {
|
|
|
18406
18424
|
*/
|
|
18407
18425
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
18408
18426
|
/**
|
|
18409
|
-
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an
|
|
18427
|
+
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an IDBKeyRange.
|
|
18410
18428
|
*
|
|
18411
18429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
18412
18430
|
*/
|
|
@@ -18424,7 +18442,7 @@ interface IDBIndex {
|
|
|
18424
18442
|
*/
|
|
18425
18443
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18426
18444
|
/**
|
|
18427
|
-
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an
|
|
18445
|
+
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
18428
18446
|
*
|
|
18429
18447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
18430
18448
|
*/
|
|
@@ -18436,7 +18454,7 @@ interface IDBIndex {
|
|
|
18436
18454
|
*/
|
|
18437
18455
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
18438
18456
|
/**
|
|
18439
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
18457
|
+
* The **`openKeyCursor()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
18440
18458
|
*
|
|
18441
18459
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
18442
18460
|
*/
|
|
@@ -18455,25 +18473,25 @@ declare var IDBIndex: {
|
|
|
18455
18473
|
*/
|
|
18456
18474
|
interface IDBKeyRange {
|
|
18457
18475
|
/**
|
|
18458
|
-
* The **`lower`** read-only property of the
|
|
18476
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
18459
18477
|
*
|
|
18460
18478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
18461
18479
|
*/
|
|
18462
18480
|
readonly lower: any;
|
|
18463
18481
|
/**
|
|
18464
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
18482
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
18465
18483
|
*
|
|
18466
18484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
18467
18485
|
*/
|
|
18468
18486
|
readonly lowerOpen: boolean;
|
|
18469
18487
|
/**
|
|
18470
|
-
* The **`upper`** read-only property of the
|
|
18488
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
18471
18489
|
*
|
|
18472
18490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
18473
18491
|
*/
|
|
18474
18492
|
readonly upper: any;
|
|
18475
18493
|
/**
|
|
18476
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
18494
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
18477
18495
|
*
|
|
18478
18496
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
18479
18497
|
*/
|
|
@@ -18496,7 +18514,7 @@ declare var IDBKeyRange: {
|
|
|
18496
18514
|
*/
|
|
18497
18515
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
18498
18516
|
/**
|
|
18499
|
-
* The **`lowerBound()`** static method of the
|
|
18517
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
18500
18518
|
*
|
|
18501
18519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
18502
18520
|
*/
|
|
@@ -18508,7 +18526,7 @@ declare var IDBKeyRange: {
|
|
|
18508
18526
|
*/
|
|
18509
18527
|
only(value: any): IDBKeyRange;
|
|
18510
18528
|
/**
|
|
18511
|
-
* The **`upperBound()`** static method of the
|
|
18529
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
18512
18530
|
*
|
|
18513
18531
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
18514
18532
|
*/
|
|
@@ -18522,19 +18540,19 @@ declare var IDBKeyRange: {
|
|
|
18522
18540
|
*/
|
|
18523
18541
|
interface IDBObjectStore {
|
|
18524
18542
|
/**
|
|
18525
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
18543
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
18526
18544
|
*
|
|
18527
18545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
18528
18546
|
*/
|
|
18529
18547
|
readonly autoIncrement: boolean;
|
|
18530
18548
|
/**
|
|
18531
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
18549
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
18532
18550
|
*
|
|
18533
18551
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
18534
18552
|
*/
|
|
18535
18553
|
readonly indexNames: DOMStringList;
|
|
18536
18554
|
/**
|
|
18537
|
-
* The **`keyPath`** read-only property of the
|
|
18555
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
18538
18556
|
*
|
|
18539
18557
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
18540
18558
|
*/
|
|
@@ -18546,7 +18564,7 @@ interface IDBObjectStore {
|
|
|
18546
18564
|
*/
|
|
18547
18565
|
name: string;
|
|
18548
18566
|
/**
|
|
18549
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
18567
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
18550
18568
|
*
|
|
18551
18569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
18552
18570
|
*/
|
|
@@ -18564,25 +18582,25 @@ interface IDBObjectStore {
|
|
|
18564
18582
|
*/
|
|
18565
18583
|
clear(): IDBRequest<undefined>;
|
|
18566
18584
|
/**
|
|
18567
|
-
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or
|
|
18585
|
+
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or IDBKeyRange.
|
|
18568
18586
|
*
|
|
18569
18587
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
18570
18588
|
*/
|
|
18571
18589
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
18572
18590
|
/**
|
|
18573
|
-
* The **`createIndex()`** method of the
|
|
18591
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
18574
18592
|
*
|
|
18575
18593
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
18576
18594
|
*/
|
|
18577
18595
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
18578
18596
|
/**
|
|
18579
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
18597
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
18580
18598
|
*
|
|
18581
18599
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
18582
18600
|
*/
|
|
18583
18601
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
18584
18602
|
/**
|
|
18585
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
18603
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
18586
18604
|
*
|
|
18587
18605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
18588
18606
|
*/
|
|
@@ -18594,7 +18612,7 @@ interface IDBObjectStore {
|
|
|
18594
18612
|
*/
|
|
18595
18613
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
18596
18614
|
/**
|
|
18597
|
-
* The **`getAll()`** method of the containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
18615
|
+
* The **`getAll()`** method of the IDBObjectStore interface returns an IDBRequest object containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
18598
18616
|
*
|
|
18599
18617
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
18600
18618
|
*/
|
|
@@ -18606,7 +18624,7 @@ interface IDBObjectStore {
|
|
|
18606
18624
|
*/
|
|
18607
18625
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18608
18626
|
/**
|
|
18609
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
18627
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
18610
18628
|
*
|
|
18611
18629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
18612
18630
|
*/
|
|
@@ -18618,13 +18636,13 @@ interface IDBObjectStore {
|
|
|
18618
18636
|
*/
|
|
18619
18637
|
index(name: string): IDBIndex;
|
|
18620
18638
|
/**
|
|
18621
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
18639
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
18622
18640
|
*
|
|
18623
18641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
18624
18642
|
*/
|
|
18625
18643
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
18626
18644
|
/**
|
|
18627
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
18645
|
+
* The **`openKeyCursor()`** method of the IDBObjectStore interface returns an IDBRequest object whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
18628
18646
|
*
|
|
18629
18647
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
18630
18648
|
*/
|
|
@@ -18680,7 +18698,7 @@ interface IDBRequestEventMap {
|
|
|
18680
18698
|
*/
|
|
18681
18699
|
interface IDBRequest<T = any> extends EventTarget {
|
|
18682
18700
|
/**
|
|
18683
|
-
* The **`error`** read-only property of the request.
|
|
18701
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
18684
18702
|
*
|
|
18685
18703
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
18686
18704
|
*/
|
|
@@ -18690,19 +18708,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
18690
18708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
18691
18709
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
18692
18710
|
/**
|
|
18693
|
-
* The **`readyState`** read-only property of the
|
|
18711
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
18694
18712
|
*
|
|
18695
18713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
18696
18714
|
*/
|
|
18697
18715
|
readonly readyState: IDBRequestReadyState;
|
|
18698
18716
|
/**
|
|
18699
|
-
* The **`result`** read-only property of the
|
|
18717
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
18700
18718
|
*
|
|
18701
18719
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
18702
18720
|
*/
|
|
18703
18721
|
readonly result: T;
|
|
18704
18722
|
/**
|
|
18705
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
18723
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
18706
18724
|
*
|
|
18707
18725
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
18708
18726
|
*/
|
|
@@ -18755,13 +18773,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
18755
18773
|
*/
|
|
18756
18774
|
readonly error: DOMException | null;
|
|
18757
18775
|
/**
|
|
18758
|
-
* The **`mode`** read-only property of the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
18776
|
+
* The **`mode`** read-only property of the IDBTransaction interface returns the current mode for accessing the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
18759
18777
|
*
|
|
18760
18778
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
18761
18779
|
*/
|
|
18762
18780
|
readonly mode: IDBTransactionMode;
|
|
18763
18781
|
/**
|
|
18764
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
18782
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
18765
18783
|
*
|
|
18766
18784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
18767
18785
|
*/
|
|
@@ -18785,7 +18803,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
18785
18803
|
*/
|
|
18786
18804
|
commit(): void;
|
|
18787
18805
|
/**
|
|
18788
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
18806
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
18789
18807
|
*
|
|
18790
18808
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
18791
18809
|
*/
|
|
@@ -18808,13 +18826,13 @@ declare var IDBTransaction: {
|
|
|
18808
18826
|
*/
|
|
18809
18827
|
interface IDBVersionChangeEvent extends Event {
|
|
18810
18828
|
/**
|
|
18811
|
-
* The **`newVersion`** read-only property of the database.
|
|
18829
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
18812
18830
|
*
|
|
18813
18831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
18814
18832
|
*/
|
|
18815
18833
|
readonly newVersion: number | null;
|
|
18816
18834
|
/**
|
|
18817
|
-
* The **`oldVersion`** read-only property of the database.
|
|
18835
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
18818
18836
|
*
|
|
18819
18837
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
18820
18838
|
*/
|
|
@@ -18908,7 +18926,7 @@ declare var ImageBitmap: {
|
|
|
18908
18926
|
*/
|
|
18909
18927
|
interface ImageBitmapRenderingContext {
|
|
18910
18928
|
/**
|
|
18911
|
-
* The **`ImageBitmapRenderingContext.canvas`** property, part of the Canvas API, is a read-only reference to the
|
|
18929
|
+
* The **`ImageBitmapRenderingContext.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement or OffscreenCanvas object that is associated with the given context.
|
|
18912
18930
|
*
|
|
18913
18931
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
|
|
18914
18932
|
*/
|
|
@@ -18934,7 +18952,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
18934
18952
|
*/
|
|
18935
18953
|
interface ImageCapture {
|
|
18936
18954
|
/**
|
|
18937
|
-
* The **`track`** read-only property of the
|
|
18955
|
+
* The **`track`** read-only property of the ImageCapture interface returns a reference to the MediaStreamTrack passed to the ImageCapture.ImageCapture constructor.
|
|
18938
18956
|
*
|
|
18939
18957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/track)
|
|
18940
18958
|
*/
|
|
@@ -18952,13 +18970,13 @@ interface ImageCapture {
|
|
|
18952
18970
|
*/
|
|
18953
18971
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18954
18972
|
/**
|
|
18955
|
-
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18973
|
+
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with a ImageBitmap containing the snapshot.
|
|
18956
18974
|
*
|
|
18957
18975
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18958
18976
|
*/
|
|
18959
18977
|
grabFrame(): Promise<ImageBitmap>;
|
|
18960
18978
|
/**
|
|
18961
|
-
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18979
|
+
* The **`takePhoto()`** method of the ImageCapture interface takes a single exposure using the video capture device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18962
18980
|
*
|
|
18963
18981
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/takePhoto)
|
|
18964
18982
|
*/
|
|
@@ -18983,7 +19001,7 @@ interface ImageData {
|
|
|
18983
19001
|
*/
|
|
18984
19002
|
readonly colorSpace: PredefinedColorSpace;
|
|
18985
19003
|
/**
|
|
18986
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
19004
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
18987
19005
|
*
|
|
18988
19006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
18989
19007
|
*/
|
|
@@ -19177,25 +19195,25 @@ declare var InputDeviceInfo: {
|
|
|
19177
19195
|
*/
|
|
19178
19196
|
interface InputEvent extends UIEvent {
|
|
19179
19197
|
/**
|
|
19180
|
-
* The **`data`** read-only property of the characters.
|
|
19198
|
+
* The **`data`** read-only property of the InputEvent interface returns a string with inserted characters.
|
|
19181
19199
|
*
|
|
19182
19200
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/data)
|
|
19183
19201
|
*/
|
|
19184
19202
|
readonly data: string | null;
|
|
19185
19203
|
/**
|
|
19186
|
-
* The **`dataTransfer`** read-only property of the containing information about richtext or plaintext data being added to or removed from editable content.
|
|
19204
|
+
* The **`dataTransfer`** read-only property of the InputEvent interface returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editable content.
|
|
19187
19205
|
*
|
|
19188
19206
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/dataTransfer)
|
|
19189
19207
|
*/
|
|
19190
19208
|
readonly dataTransfer: DataTransfer | null;
|
|
19191
19209
|
/**
|
|
19192
|
-
* The **`inputType`** read-only property of the
|
|
19210
|
+
* The **`inputType`** read-only property of the InputEvent interface returns the type of change made to editable content.
|
|
19193
19211
|
*
|
|
19194
19212
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/inputType)
|
|
19195
19213
|
*/
|
|
19196
19214
|
readonly inputType: string;
|
|
19197
19215
|
/**
|
|
19198
|
-
* The **`InputEvent.isComposing`** read-only property returns a boolean value indicating if the event is fired after
|
|
19216
|
+
* The **`InputEvent.isComposing`** read-only property returns a boolean value indicating if the event is fired after Element/compositionstart_event and before Element/compositionend_event.
|
|
19199
19217
|
*
|
|
19200
19218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/isComposing)
|
|
19201
19219
|
*/
|
|
@@ -19351,7 +19369,7 @@ interface KeyboardEvent extends UIEvent {
|
|
|
19351
19369
|
*/
|
|
19352
19370
|
readonly altKey: boolean;
|
|
19353
19371
|
/**
|
|
19354
|
-
* The **`charCode`** read-only property of the pressed during a Element/keypress_event event.
|
|
19372
|
+
* The **`charCode`** read-only property of the KeyboardEvent interface returns the Unicode value of a character key pressed during a Element/keypress_event event.
|
|
19355
19373
|
* @deprecated
|
|
19356
19374
|
*
|
|
19357
19375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/charCode)
|
|
@@ -19401,7 +19419,7 @@ interface KeyboardEvent extends UIEvent {
|
|
|
19401
19419
|
*/
|
|
19402
19420
|
readonly metaKey: boolean;
|
|
19403
19421
|
/**
|
|
19404
|
-
* The **`repeat`** read-only property of the `true` if the given key is being held down such that it is automatically repeating.
|
|
19422
|
+
* The **`repeat`** read-only property of the KeyboardEvent interface returns a boolean value that is `true` if the given key is being held down such that it is automatically repeating.
|
|
19405
19423
|
*
|
|
19406
19424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/repeat)
|
|
19407
19425
|
*/
|
|
@@ -19553,7 +19571,7 @@ interface LinkStyle {
|
|
|
19553
19571
|
*/
|
|
19554
19572
|
interface Location {
|
|
19555
19573
|
/**
|
|
19556
|
-
* The **`ancestorOrigins`** read-only property of the Location interface is a static browsing contexts of the document associated with the given Location object.
|
|
19574
|
+
* The **`ancestorOrigins`** read-only property of the Location interface is a static DOMStringList containing, in reverse order, the origins of all ancestor browsing contexts of the document associated with the given Location object.
|
|
19557
19575
|
*
|
|
19558
19576
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins)
|
|
19559
19577
|
*/
|
|
@@ -19652,7 +19670,7 @@ interface Lock {
|
|
|
19652
19670
|
*/
|
|
19653
19671
|
readonly mode: LockMode;
|
|
19654
19672
|
/**
|
|
19655
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
19673
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
19656
19674
|
*
|
|
19657
19675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
19658
19676
|
*/
|
|
@@ -20073,7 +20091,7 @@ declare var MediaDevices: {
|
|
|
20073
20091
|
*/
|
|
20074
20092
|
interface MediaElementAudioSourceNode extends AudioNode {
|
|
20075
20093
|
/**
|
|
20076
|
-
* The MediaElementAudioSourceNode interface's read-only **`mediaElement`** property indicates the receiving audio.
|
|
20094
|
+
* The MediaElementAudioSourceNode interface's read-only **`mediaElement`** property indicates the HTMLMediaElement that contains the audio track from which the node is receiving audio.
|
|
20077
20095
|
*
|
|
20078
20096
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaElementAudioSourceNode/mediaElement)
|
|
20079
20097
|
*/
|
|
@@ -20270,7 +20288,7 @@ interface MediaKeyStatusMap {
|
|
|
20270
20288
|
*/
|
|
20271
20289
|
get(keyId: BufferSource): MediaKeyStatus | undefined;
|
|
20272
20290
|
/**
|
|
20273
|
-
* The **`has()`** method of the whether a value has been associated with the given key.
|
|
20291
|
+
* The **`has()`** method of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.
|
|
20274
20292
|
*
|
|
20275
20293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap/has)
|
|
20276
20294
|
*/
|
|
@@ -20297,13 +20315,13 @@ interface MediaKeySystemAccess {
|
|
|
20297
20315
|
*/
|
|
20298
20316
|
readonly keySystem: string;
|
|
20299
20317
|
/**
|
|
20300
|
-
* The `MediaKeySystemAccess.createMediaKeys()` method returns a
|
|
20318
|
+
* The `MediaKeySystemAccess.createMediaKeys()` method returns a Promise that resolves to a new MediaKeys object.
|
|
20301
20319
|
*
|
|
20302
20320
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/createMediaKeys)
|
|
20303
20321
|
*/
|
|
20304
20322
|
createMediaKeys(): Promise<MediaKeys>;
|
|
20305
20323
|
/**
|
|
20306
|
-
* The **`getConfiguration()`** method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options:
|
|
20324
|
+
* The **`getConfiguration()`** method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options:
|
|
20307
20325
|
*
|
|
20308
20326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/getConfiguration)
|
|
20309
20327
|
*/
|
|
@@ -20399,25 +20417,25 @@ declare var MediaList: {
|
|
|
20399
20417
|
*/
|
|
20400
20418
|
interface MediaMetadata {
|
|
20401
20419
|
/**
|
|
20402
|
-
* The **`album`** property of the collection containing the media to be played.
|
|
20420
|
+
* The **`album`** property of the MediaMetadata interface returns or sets the name of the album or collection containing the media to be played.
|
|
20403
20421
|
*
|
|
20404
20422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/album)
|
|
20405
20423
|
*/
|
|
20406
20424
|
album: string;
|
|
20407
20425
|
/**
|
|
20408
|
-
* The **`artist`** property of the creator, etc., of the media to be played.
|
|
20426
|
+
* The **`artist`** property of the MediaMetadata interface returns or sets the name of the artist, group, creator, etc., of the media to be played.
|
|
20409
20427
|
*
|
|
20410
20428
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artist)
|
|
20411
20429
|
*/
|
|
20412
20430
|
artist: string;
|
|
20413
20431
|
/**
|
|
20414
|
-
* The **`artwork`** property of the objects representing images associated with playing media.
|
|
20432
|
+
* The **`artwork`** property of the MediaMetadata interface returns or sets an array of objects representing images associated with playing media.
|
|
20415
20433
|
*
|
|
20416
20434
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artwork)
|
|
20417
20435
|
*/
|
|
20418
20436
|
artwork: ReadonlyArray<MediaImage>;
|
|
20419
20437
|
/**
|
|
20420
|
-
* The **`title`** property of the played.
|
|
20438
|
+
* The **`title`** property of the MediaMetadata interface returns or sets the title of the media to be played.
|
|
20421
20439
|
*
|
|
20422
20440
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/title)
|
|
20423
20441
|
*/
|
|
@@ -20440,13 +20458,13 @@ interface MediaQueryListEventMap {
|
|
|
20440
20458
|
*/
|
|
20441
20459
|
interface MediaQueryList extends EventTarget {
|
|
20442
20460
|
/**
|
|
20443
|
-
* The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.
|
|
20461
|
+
* The **`matches`** read-only property of the MediaQueryList interface is a boolean value that returns `true` if the document currently matches the media query list, or `false` if not.
|
|
20444
20462
|
*
|
|
20445
20463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/matches)
|
|
20446
20464
|
*/
|
|
20447
20465
|
readonly matches: boolean;
|
|
20448
20466
|
/**
|
|
20449
|
-
* The **`media`** read-only property of the serialized media query.
|
|
20467
|
+
* The **`media`** read-only property of the MediaQueryList interface is a string representing a serialized media query.
|
|
20450
20468
|
*
|
|
20451
20469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/media)
|
|
20452
20470
|
*/
|
|
@@ -20454,14 +20472,14 @@ interface MediaQueryList extends EventTarget {
|
|
|
20454
20472
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/change_event) */
|
|
20455
20473
|
onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;
|
|
20456
20474
|
/**
|
|
20457
|
-
* The deprecated **`addListener()`** method of the `MediaQueryListener` that will run a custom callback function in response to the media query status changing.
|
|
20475
|
+
* The deprecated **`addListener()`** method of the MediaQueryList interface adds a listener to the `MediaQueryListener` that will run a custom callback function in response to the media query status changing.
|
|
20458
20476
|
* @deprecated
|
|
20459
20477
|
*
|
|
20460
20478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/addListener)
|
|
20461
20479
|
*/
|
|
20462
20480
|
addListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;
|
|
20463
20481
|
/**
|
|
20464
|
-
* The **`removeListener()`** method of the `MediaQueryListener`.
|
|
20482
|
+
* The **`removeListener()`** method of the MediaQueryList interface removes a listener from the `MediaQueryListener`.
|
|
20465
20483
|
* @deprecated
|
|
20466
20484
|
*
|
|
20467
20485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/removeListener)
|
|
@@ -20485,13 +20503,13 @@ declare var MediaQueryList: {
|
|
|
20485
20503
|
*/
|
|
20486
20504
|
interface MediaQueryListEvent extends Event {
|
|
20487
20505
|
/**
|
|
20488
|
-
* The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.
|
|
20506
|
+
* The **`matches`** read-only property of the MediaQueryListEvent interface is a boolean value that is `true` if the document currently matches the media query list, or `false` if not.
|
|
20489
20507
|
*
|
|
20490
20508
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/matches)
|
|
20491
20509
|
*/
|
|
20492
20510
|
readonly matches: boolean;
|
|
20493
20511
|
/**
|
|
20494
|
-
* The **`media`** read-only property of the a serialized media query.
|
|
20512
|
+
* The **`media`** read-only property of the MediaQueryListEvent interface is a string representing a serialized media query.
|
|
20495
20513
|
*
|
|
20496
20514
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/media)
|
|
20497
20515
|
*/
|
|
@@ -20567,7 +20585,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
20567
20585
|
*/
|
|
20568
20586
|
pause(): void;
|
|
20569
20587
|
/**
|
|
20570
|
-
* The **`requestData()`** method of the MediaRecorder interface is used to raise a MediaRecorder.dataavailable_event event containing a called.
|
|
20588
|
+
* The **`requestData()`** method of the MediaRecorder interface is used to raise a MediaRecorder.dataavailable_event event containing a Blob object of the captured media as it was when the method was called.
|
|
20571
20589
|
*
|
|
20572
20590
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/requestData)
|
|
20573
20591
|
*/
|
|
@@ -20620,7 +20638,7 @@ interface MediaSession {
|
|
|
20620
20638
|
*/
|
|
20621
20639
|
metadata: MediaMetadata | null;
|
|
20622
20640
|
/**
|
|
20623
|
-
* The **`playbackState`** property of the playing or paused.
|
|
20641
|
+
* The **`playbackState`** property of the MediaSession interface indicates whether the current media session is playing or paused.
|
|
20624
20642
|
*
|
|
20625
20643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/playbackState)
|
|
20626
20644
|
*/
|
|
@@ -20644,7 +20662,7 @@ interface MediaSession {
|
|
|
20644
20662
|
*/
|
|
20645
20663
|
setMicrophoneActive(active: boolean): Promise<void>;
|
|
20646
20664
|
/**
|
|
20647
|
-
* The **`setPositionState()`** method of the document's media playback position and speed for presentation by user's device in any kind of interface that provides details about ongoing media.
|
|
20665
|
+
* The **`setPositionState()`** method of the MediaSession interface is used to update the current document's media playback position and speed for presentation by user's device in any kind of interface that provides details about ongoing media.
|
|
20648
20666
|
*
|
|
20649
20667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setPositionState)
|
|
20650
20668
|
*/
|
|
@@ -20669,7 +20687,7 @@ interface MediaSourceEventMap {
|
|
|
20669
20687
|
*/
|
|
20670
20688
|
interface MediaSource extends EventTarget {
|
|
20671
20689
|
/**
|
|
20672
|
-
* The **`activeSourceBuffers`** read-only property of the containing a subset of the SourceBuffer objects contained within providing the selected video track, enabled audio tracks, and shown/hidden text tracks.
|
|
20690
|
+
* The **`activeSourceBuffers`** read-only property of the MediaSource interface returns a SourceBufferList object containing a subset of the SourceBuffer objects contained within MediaSource.sourceBuffers — the list of objects providing the selected video track, enabled audio tracks, and shown/hidden text tracks.
|
|
20673
20691
|
*
|
|
20674
20692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/activeSourceBuffers)
|
|
20675
20693
|
*/
|
|
@@ -20687,31 +20705,31 @@ interface MediaSource extends EventTarget {
|
|
|
20687
20705
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
20688
20706
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
20689
20707
|
/**
|
|
20690
|
-
* The **`readyState`** read-only property of the current `MediaSource`.
|
|
20708
|
+
* The **`readyState`** read-only property of the MediaSource interface returns an enum representing the state of the current `MediaSource`.
|
|
20691
20709
|
*
|
|
20692
20710
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState)
|
|
20693
20711
|
*/
|
|
20694
20712
|
readonly readyState: ReadyState;
|
|
20695
20713
|
/**
|
|
20696
|
-
* The **`sourceBuffers`** read-only property of the containing the list of SourceBuffer objects associated with this `MediaSource`.
|
|
20714
|
+
* The **`sourceBuffers`** read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this `MediaSource`.
|
|
20697
20715
|
*
|
|
20698
20716
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceBuffers)
|
|
20699
20717
|
*/
|
|
20700
20718
|
readonly sourceBuffers: SourceBufferList;
|
|
20701
20719
|
/**
|
|
20702
|
-
* The **`addSourceBuffer()`** method of the given MIME type and adds it to the `MediaSource`'s
|
|
20720
|
+
* The **`addSourceBuffer()`** method of the MediaSource interface creates a new SourceBuffer of the given MIME type and adds it to the `MediaSource`'s MediaSource.sourceBuffers list.
|
|
20703
20721
|
*
|
|
20704
20722
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/addSourceBuffer)
|
|
20705
20723
|
*/
|
|
20706
20724
|
addSourceBuffer(type: string): SourceBuffer;
|
|
20707
20725
|
/**
|
|
20708
|
-
* The **`clearLiveSeekableRange()`** method of the to MediaSource.setLiveSeekableRange().
|
|
20726
|
+
* The **`clearLiveSeekableRange()`** method of the MediaSource interface clears a seekable range previously set with a call to MediaSource.setLiveSeekableRange().
|
|
20709
20727
|
*
|
|
20710
20728
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/clearLiveSeekableRange)
|
|
20711
20729
|
*/
|
|
20712
20730
|
clearLiveSeekableRange(): void;
|
|
20713
20731
|
/**
|
|
20714
|
-
* The **`endOfStream()`** method of the
|
|
20732
|
+
* The **`endOfStream()`** method of the MediaSource interface signals the end of the stream.
|
|
20715
20733
|
*
|
|
20716
20734
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/endOfStream)
|
|
20717
20735
|
*/
|
|
@@ -20723,7 +20741,7 @@ interface MediaSource extends EventTarget {
|
|
|
20723
20741
|
*/
|
|
20724
20742
|
removeSourceBuffer(sourceBuffer: SourceBuffer): void;
|
|
20725
20743
|
/**
|
|
20726
|
-
* The **`setLiveSeekableRange()`** method of the media element.
|
|
20744
|
+
* The **`setLiveSeekableRange()`** method of the MediaSource interface sets the range that the user can seek to in the media element.
|
|
20727
20745
|
*
|
|
20728
20746
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/setLiveSeekableRange)
|
|
20729
20747
|
*/
|
|
@@ -20776,7 +20794,7 @@ interface MediaStreamEventMap {
|
|
|
20776
20794
|
*/
|
|
20777
20795
|
interface MediaStream extends EventTarget {
|
|
20778
20796
|
/**
|
|
20779
|
-
* The **`active`** read-only property of the `true` if the stream is currently active; otherwise, it returns `false`.
|
|
20797
|
+
* The **`active`** read-only property of the MediaStream interface returns a Boolean value which is `true` if the stream is currently active; otherwise, it returns `false`.
|
|
20780
20798
|
*
|
|
20781
20799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/active)
|
|
20782
20800
|
*/
|
|
@@ -20804,7 +20822,7 @@ interface MediaStream extends EventTarget {
|
|
|
20804
20822
|
*/
|
|
20805
20823
|
clone(): MediaStream;
|
|
20806
20824
|
/**
|
|
20807
|
-
* The **`getAudioTracks()`** method of the stream's track set where MediaStreamTrack.kind is `audio`.
|
|
20825
|
+
* The **`getAudioTracks()`** method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set where MediaStreamTrack.kind is `audio`.
|
|
20808
20826
|
*
|
|
20809
20827
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getAudioTracks)
|
|
20810
20828
|
*/
|
|
@@ -20816,19 +20834,19 @@ interface MediaStream extends EventTarget {
|
|
|
20816
20834
|
*/
|
|
20817
20835
|
getTrackById(trackId: string): MediaStreamTrack | null;
|
|
20818
20836
|
/**
|
|
20819
|
-
* The **`getTracks()`** method of the stream's track set, regardless of MediaStreamTrack.kind.
|
|
20837
|
+
* The **`getTracks()`** method of the MediaStream interface returns a sequence that represents all the MediaStreamTrack objects in this stream's track set, regardless of MediaStreamTrack.kind.
|
|
20820
20838
|
*
|
|
20821
20839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTracks)
|
|
20822
20840
|
*/
|
|
20823
20841
|
getTracks(): MediaStreamTrack[];
|
|
20824
20842
|
/**
|
|
20825
|
-
* The **`getVideoTracks()`** method of the
|
|
20843
|
+
* The **`getVideoTracks()`** method of the MediaStream interface returns a sequence of MediaStreamTrack objects representing the video tracks in this stream.
|
|
20826
20844
|
*
|
|
20827
20845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getVideoTracks)
|
|
20828
20846
|
*/
|
|
20829
20847
|
getVideoTracks(): MediaStreamTrack[];
|
|
20830
20848
|
/**
|
|
20831
|
-
* The **`removeTrack()`** method of the MediaStream interface removes a
|
|
20849
|
+
* The **`removeTrack()`** method of the MediaStream interface removes a MediaStreamTrack from a stream.
|
|
20832
20850
|
*
|
|
20833
20851
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/removeTrack)
|
|
20834
20852
|
*/
|
|
@@ -20872,7 +20890,7 @@ declare var MediaStreamAudioDestinationNode: {
|
|
|
20872
20890
|
*/
|
|
20873
20891
|
interface MediaStreamAudioSourceNode extends AudioNode {
|
|
20874
20892
|
/**
|
|
20875
|
-
* The MediaStreamAudioSourceNode interface's read-only **`mediaStream`** property indicates the receiving audio.
|
|
20893
|
+
* The MediaStreamAudioSourceNode interface's read-only **`mediaStream`** property indicates the MediaStream that contains the audio track from which the node is receiving audio.
|
|
20876
20894
|
*
|
|
20877
20895
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioSourceNode/mediaStream)
|
|
20878
20896
|
*/
|
|
@@ -20903,7 +20921,7 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20903
20921
|
*/
|
|
20904
20922
|
contentHint: string;
|
|
20905
20923
|
/**
|
|
20906
|
-
* The **`enabled`** property of the `true` if the track is allowed to render the source stream or `false` if it is not.
|
|
20924
|
+
* The **`enabled`** property of 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.
|
|
20907
20925
|
*
|
|
20908
20926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/enabled)
|
|
20909
20927
|
*/
|
|
@@ -20927,7 +20945,7 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20927
20945
|
*/
|
|
20928
20946
|
readonly label: string;
|
|
20929
20947
|
/**
|
|
20930
|
-
* The **`muted`** read-only property of the indicating whether or not the track is currently unable to provide media output.
|
|
20948
|
+
* The **`muted`** read-only property of the MediaStreamTrack interface returns a boolean value indicating whether or not the track is currently unable to provide media output.
|
|
20931
20949
|
*
|
|
20932
20950
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/muted)
|
|
20933
20951
|
*/
|
|
@@ -20963,13 +20981,13 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20963
20981
|
*/
|
|
20964
20982
|
getCapabilities(): MediaTrackCapabilities;
|
|
20965
20983
|
/**
|
|
20966
|
-
* The **`getConstraints()`** method of the MediaStreamTrack interface returns a
|
|
20984
|
+
* The **`getConstraints()`** method of the MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to MediaStreamTrack.applyConstraints.
|
|
20967
20985
|
*
|
|
20968
20986
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getConstraints)
|
|
20969
20987
|
*/
|
|
20970
20988
|
getConstraints(): MediaTrackConstraints;
|
|
20971
20989
|
/**
|
|
20972
|
-
* The **`getSettings()`** method of the object containing the current values of each of the constrainable properties for the current `MediaStreamTrack`.
|
|
20990
|
+
* The **`getSettings()`** method of the MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current `MediaStreamTrack`.
|
|
20973
20991
|
*
|
|
20974
20992
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getSettings)
|
|
20975
20993
|
*/
|
|
@@ -21017,13 +21035,13 @@ declare var MediaStreamTrackEvent: {
|
|
|
21017
21035
|
*/
|
|
21018
21036
|
interface MessageChannel {
|
|
21019
21037
|
/**
|
|
21020
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
21038
|
+
* The **`port1`** read-only property of the MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel.
|
|
21021
21039
|
*
|
|
21022
21040
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
21023
21041
|
*/
|
|
21024
21042
|
readonly port1: MessagePort;
|
|
21025
21043
|
/**
|
|
21026
|
-
* The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
21044
|
+
* The **`port2`** read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
21027
21045
|
*
|
|
21028
21046
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
21029
21047
|
*/
|
|
@@ -21042,31 +21060,31 @@ declare var MessageChannel: {
|
|
|
21042
21060
|
*/
|
|
21043
21061
|
interface MessageEvent<T = any> extends Event {
|
|
21044
21062
|
/**
|
|
21045
|
-
* The **`data`** read-only property of the
|
|
21063
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
21046
21064
|
*
|
|
21047
21065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
21048
21066
|
*/
|
|
21049
21067
|
readonly data: T;
|
|
21050
21068
|
/**
|
|
21051
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
21069
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
21052
21070
|
*
|
|
21053
21071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
21054
21072
|
*/
|
|
21055
21073
|
readonly lastEventId: string;
|
|
21056
21074
|
/**
|
|
21057
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
21075
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
21058
21076
|
*
|
|
21059
21077
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
21060
21078
|
*/
|
|
21061
21079
|
readonly origin: string;
|
|
21062
21080
|
/**
|
|
21063
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
21081
|
+
* The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
|
|
21064
21082
|
*
|
|
21065
21083
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
21066
21084
|
*/
|
|
21067
21085
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
21068
21086
|
/**
|
|
21069
|
-
* The **`source`** read-only property of the
|
|
21087
|
+
* The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
|
|
21070
21088
|
*
|
|
21071
21089
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
21072
21090
|
*/
|
|
@@ -21114,7 +21132,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
21114
21132
|
*/
|
|
21115
21133
|
close(): void;
|
|
21116
21134
|
/**
|
|
21117
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
21135
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
21118
21136
|
*
|
|
21119
21137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
21120
21138
|
*/
|
|
@@ -21656,7 +21674,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21656
21674
|
readonly credentials: CredentialsContainer;
|
|
21657
21675
|
readonly doNotTrack: string | null;
|
|
21658
21676
|
/**
|
|
21659
|
-
* The **`Navigator.geolocation`** read-only property returns a device.
|
|
21677
|
+
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device.
|
|
21660
21678
|
*
|
|
21661
21679
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation)
|
|
21662
21680
|
*/
|
|
@@ -21669,7 +21687,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21669
21687
|
*/
|
|
21670
21688
|
readonly login: NavigatorLogin;
|
|
21671
21689
|
/**
|
|
21672
|
-
* The **`maxTouchPoints`** read-only property of the contact points that are supported by the current device.
|
|
21690
|
+
* The **`maxTouchPoints`** read-only property of the Navigator interface returns the maximum number of simultaneous touch contact points that are supported by the current device.
|
|
21673
21691
|
*
|
|
21674
21692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints)
|
|
21675
21693
|
*/
|
|
@@ -21694,7 +21712,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21694
21712
|
*/
|
|
21695
21713
|
readonly mediaSession: MediaSession;
|
|
21696
21714
|
/**
|
|
21697
|
-
* The **`permissions`** read-only property of the Navigator interface returns a status of APIs covered by the Permissions API.
|
|
21715
|
+
* The **`permissions`** read-only property of the Navigator interface returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API.
|
|
21698
21716
|
*
|
|
21699
21717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
21700
21718
|
*/
|
|
@@ -21726,7 +21744,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21726
21744
|
*/
|
|
21727
21745
|
canShare(data?: ShareData): boolean;
|
|
21728
21746
|
/**
|
|
21729
|
-
* The **`Navigator.getGamepads()`** method returns an array of
|
|
21747
|
+
* The **`Navigator.getGamepads()`** method returns an array of Gamepad objects, one for each gamepad connected to the device.
|
|
21730
21748
|
*
|
|
21731
21749
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/getGamepads)
|
|
21732
21750
|
*/
|
|
@@ -21936,7 +21954,7 @@ interface Node extends EventTarget {
|
|
|
21936
21954
|
*/
|
|
21937
21955
|
readonly baseURI: string;
|
|
21938
21956
|
/**
|
|
21939
|
-
* The read-only **`childNodes`** property of the Node interface returns a live the first child node is assigned index `0`.
|
|
21957
|
+
* The read-only **`childNodes`** property of the Node interface returns a live NodeList of child Node of the given element where the first child node is assigned index `0`.
|
|
21940
21958
|
*
|
|
21941
21959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/childNodes)
|
|
21942
21960
|
*/
|
|
@@ -22002,7 +22020,7 @@ interface Node extends EventTarget {
|
|
|
22002
22020
|
*/
|
|
22003
22021
|
readonly parentNode: ParentNode | null;
|
|
22004
22022
|
/**
|
|
22005
|
-
* The read-only **`previousSibling`** property of the Node interface returns the node immediately preceding the specified one in its parent's or `null` if the specified node is the first in that list.
|
|
22023
|
+
* The read-only **`previousSibling`** property of the Node interface returns the node immediately preceding the specified one in its parent's Node.childNodes list, or `null` if the specified node is the first in that list.
|
|
22006
22024
|
*
|
|
22007
22025
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)
|
|
22008
22026
|
*/
|
|
@@ -22185,19 +22203,19 @@ interface NodeIterator {
|
|
|
22185
22203
|
*/
|
|
22186
22204
|
readonly filter: NodeFilter | null;
|
|
22187
22205
|
/**
|
|
22188
|
-
* The **`NodeIterator.pointerBeforeReferenceNode`** read-only property returns a boolean flag that indicates whether the `NodeFilter` is anchored before (if this value is `true`) or after (if this value is `false`) the anchor node indicated by the
|
|
22206
|
+
* The **`NodeIterator.pointerBeforeReferenceNode`** read-only property returns a boolean flag that indicates whether the `NodeFilter` is anchored before (if this value is `true`) or after (if this value is `false`) the anchor node indicated by the NodeIterator.referenceNode property.
|
|
22189
22207
|
*
|
|
22190
22208
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)
|
|
22191
22209
|
*/
|
|
22192
22210
|
readonly pointerBeforeReferenceNode: boolean;
|
|
22193
22211
|
/**
|
|
22194
|
-
* The **`NodeIterator.referenceNode`** read-only property returns the iterator remains anchored to the reference node as specified by this property.
|
|
22212
|
+
* The **`NodeIterator.referenceNode`** read-only property returns the Node to which the iterator is anchored; as new nodes are inserted, the iterator remains anchored to the reference node as specified by this property.
|
|
22195
22213
|
*
|
|
22196
22214
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/referenceNode)
|
|
22197
22215
|
*/
|
|
22198
22216
|
readonly referenceNode: Node;
|
|
22199
22217
|
/**
|
|
22200
|
-
* The **`NodeIterator.root`** read-only property represents the traverses.
|
|
22218
|
+
* The **`NodeIterator.root`** read-only property represents the Node that is the root of what the NodeIterator traverses.
|
|
22201
22219
|
*
|
|
22202
22220
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/root)
|
|
22203
22221
|
*/
|
|
@@ -22305,13 +22323,13 @@ interface NotificationEventMap {
|
|
|
22305
22323
|
*/
|
|
22306
22324
|
interface Notification extends EventTarget {
|
|
22307
22325
|
/**
|
|
22308
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
22326
|
+
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the `body` option of the Notification.Notification constructor.
|
|
22309
22327
|
*
|
|
22310
22328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
22311
22329
|
*/
|
|
22312
22330
|
readonly body: string;
|
|
22313
22331
|
/**
|
|
22314
|
-
* The **`data`** read-only property of the
|
|
22332
|
+
* The **`data`** read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the `data` option of the Notification.Notification constructor.
|
|
22315
22333
|
*
|
|
22316
22334
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
22317
22335
|
*/
|
|
@@ -22323,13 +22341,13 @@ interface Notification extends EventTarget {
|
|
|
22323
22341
|
*/
|
|
22324
22342
|
readonly dir: NotificationDirection;
|
|
22325
22343
|
/**
|
|
22326
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
22344
|
+
* The **`icon`** read-only property of the Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the `icon` option of the Notification.Notification constructor.
|
|
22327
22345
|
*
|
|
22328
22346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
22329
22347
|
*/
|
|
22330
22348
|
readonly icon: string;
|
|
22331
22349
|
/**
|
|
22332
|
-
* The **`lang`** read-only property of the
|
|
22350
|
+
* The **`lang`** read-only property of the Notification interface indicates the language used in the notification, as specified in the `lang` option of the Notification.Notification constructor.
|
|
22333
22351
|
*
|
|
22334
22352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
22335
22353
|
*/
|
|
@@ -22349,19 +22367,19 @@ interface Notification extends EventTarget {
|
|
|
22349
22367
|
*/
|
|
22350
22368
|
readonly requireInteraction: boolean;
|
|
22351
22369
|
/**
|
|
22352
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
22370
|
+
* The **`silent`** read-only property of the Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
22353
22371
|
*
|
|
22354
22372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
22355
22373
|
*/
|
|
22356
22374
|
readonly silent: boolean | null;
|
|
22357
22375
|
/**
|
|
22358
|
-
* The **`tag`** read-only property of the
|
|
22376
|
+
* The **`tag`** read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the `tag` option of the Notification.Notification constructor.
|
|
22359
22377
|
*
|
|
22360
22378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
22361
22379
|
*/
|
|
22362
22380
|
readonly tag: string;
|
|
22363
22381
|
/**
|
|
22364
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
22382
|
+
* The **`title`** read-only property of the Notification interface indicates the title of the notification, as specified in the `title` parameter of the Notification.Notification constructor.
|
|
22365
22383
|
*
|
|
22366
22384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
22367
22385
|
*/
|
|
@@ -22516,13 +22534,13 @@ interface OES_vertex_array_object {
|
|
|
22516
22534
|
*/
|
|
22517
22535
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
22518
22536
|
/**
|
|
22519
|
-
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.
|
|
22537
|
+
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
|
|
22520
22538
|
*
|
|
22521
22539
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
22522
22540
|
*/
|
|
22523
22541
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
22524
22542
|
/**
|
|
22525
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
22543
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
22526
22544
|
*
|
|
22527
22545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
22528
22546
|
*/
|
|
@@ -22561,7 +22579,7 @@ interface OVR_multiview2 {
|
|
|
22561
22579
|
*/
|
|
22562
22580
|
interface OfflineAudioCompletionEvent extends Event {
|
|
22563
22581
|
/**
|
|
22564
|
-
* The **`renderedBuffer`** read-only property of the containing the result of processing an OfflineAudioContext.
|
|
22582
|
+
* The **`renderedBuffer`** read-only property of the OfflineAudioCompletionEvent interface is an AudioBuffer containing the result of processing an OfflineAudioContext.
|
|
22565
22583
|
*
|
|
22566
22584
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)
|
|
22567
22585
|
*/
|
|
@@ -22584,7 +22602,7 @@ interface OfflineAudioContextEventMap extends BaseAudioContextEventMap {
|
|
|
22584
22602
|
*/
|
|
22585
22603
|
interface OfflineAudioContext extends BaseAudioContext {
|
|
22586
22604
|
/**
|
|
22587
|
-
* The **`length`** property of the the buffer in sample-frames.
|
|
22605
|
+
* The **`length`** property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.
|
|
22588
22606
|
*
|
|
22589
22607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/length)
|
|
22590
22608
|
*/
|
|
@@ -22592,7 +22610,7 @@ interface OfflineAudioContext extends BaseAudioContext {
|
|
|
22592
22610
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/complete_event) */
|
|
22593
22611
|
oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;
|
|
22594
22612
|
/**
|
|
22595
|
-
* The **`resume()`** method of the context that has been suspended.
|
|
22613
|
+
* The **`resume()`** method of the OfflineAudioContext interface resumes the progression of time in an audio context that has been suspended.
|
|
22596
22614
|
*
|
|
22597
22615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/resume)
|
|
22598
22616
|
*/
|
|
@@ -22721,7 +22739,7 @@ interface OscillatorNode extends AudioScheduledSourceNode {
|
|
|
22721
22739
|
*/
|
|
22722
22740
|
type: OscillatorType;
|
|
22723
22741
|
/**
|
|
22724
|
-
* The **`setPeriodicWave()`** method of the OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when
|
|
22742
|
+
* The **`setPeriodicWave()`** method of the OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when OscillatorNode.type is `custom`.
|
|
22725
22743
|
*
|
|
22726
22744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/setPeriodicWave)
|
|
22727
22745
|
*/
|
|
@@ -22744,7 +22762,7 @@ declare var OscillatorNode: {
|
|
|
22744
22762
|
*/
|
|
22745
22763
|
interface OverconstrainedError extends DOMException {
|
|
22746
22764
|
/**
|
|
22747
|
-
* The **`constraint`** read-only property of the in the constructor, meaning the constraint that was not satisfied.
|
|
22765
|
+
* The **`constraint`** read-only property of the OverconstrainedError interface returns the constraint that was supplied in the constructor, meaning the constraint that was not satisfied.
|
|
22748
22766
|
*
|
|
22749
22767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError/constraint)
|
|
22750
22768
|
*/
|
|
@@ -23137,7 +23155,7 @@ interface PaymentRequestEventMap {
|
|
|
23137
23155
|
*/
|
|
23138
23156
|
interface PaymentRequest extends EventTarget {
|
|
23139
23157
|
/**
|
|
23140
|
-
* The **`id`** read-only attribute of the
|
|
23158
|
+
* The **`id`** read-only attribute of the PaymentRequest interface returns a unique identifier for a particular PaymentRequest instance.
|
|
23141
23159
|
*
|
|
23142
23160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id)
|
|
23143
23161
|
*/
|
|
@@ -23171,7 +23189,7 @@ interface PaymentRequest extends EventTarget {
|
|
|
23171
23189
|
*/
|
|
23172
23190
|
readonly shippingOption: string | null;
|
|
23173
23191
|
/**
|
|
23174
|
-
* The **`shippingType`** read-only property of the `'delivery'`, `'pickup'`, or `null` if one was not provided by the constructor.
|
|
23192
|
+
* The **`shippingType`** read-only property of the PaymentRequest interface returns one of `'shipping'`, `'delivery'`, `'pickup'`, or `null` if one was not provided by the constructor.
|
|
23175
23193
|
* @deprecated
|
|
23176
23194
|
*
|
|
23177
23195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)
|
|
@@ -23214,7 +23232,7 @@ declare var PaymentRequest: {
|
|
|
23214
23232
|
*/
|
|
23215
23233
|
interface PaymentRequestUpdateEvent extends Event {
|
|
23216
23234
|
/**
|
|
23217
|
-
* The **`updateWith()`** method of the
|
|
23235
|
+
* The **`updateWith()`** method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest.
|
|
23218
23236
|
*
|
|
23219
23237
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequestUpdateEvent/updateWith)
|
|
23220
23238
|
*/
|
|
@@ -23238,7 +23256,7 @@ interface PaymentResponseEventMap {
|
|
|
23238
23256
|
*/
|
|
23239
23257
|
interface PaymentResponse extends EventTarget {
|
|
23240
23258
|
/**
|
|
23241
|
-
* The **`details`** read-only property of the provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer.
|
|
23259
|
+
* The **`details`** read-only property of the PaymentResponse interface returns a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer.
|
|
23242
23260
|
*
|
|
23243
23261
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
|
|
23244
23262
|
*/
|
|
@@ -23258,7 +23276,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23258
23276
|
*/
|
|
23259
23277
|
readonly payerEmail: string | null;
|
|
23260
23278
|
/**
|
|
23261
|
-
* The **`payerName`** read-only property of the
|
|
23279
|
+
* The **`payerName`** read-only property of the PaymentResponse interface returns the name supplied by the user.
|
|
23262
23280
|
*
|
|
23263
23281
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
|
|
23264
23282
|
*/
|
|
@@ -23270,7 +23288,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23270
23288
|
*/
|
|
23271
23289
|
readonly payerPhone: string | null;
|
|
23272
23290
|
/**
|
|
23273
|
-
* The **`requestId`** read-only property of the the `PaymentResponse()` constructor by details.id.
|
|
23291
|
+
* The **`requestId`** read-only property of the PaymentResponse interface returns the free-form identifier supplied by the `PaymentResponse()` constructor by details.id.
|
|
23274
23292
|
*
|
|
23275
23293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId)
|
|
23276
23294
|
*/
|
|
@@ -23288,7 +23306,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23288
23306
|
*/
|
|
23289
23307
|
readonly shippingOption: string | null;
|
|
23290
23308
|
/**
|
|
23291
|
-
* The PaymentRequest method **`complete()`** of the Payment Request API notifies the user interface to be closed.
|
|
23309
|
+
* The PaymentRequest method **`complete()`** of the Payment Request API notifies the user agent that the user interaction is over, and causes any remaining user interface to be closed.
|
|
23292
23310
|
*
|
|
23293
23311
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete)
|
|
23294
23312
|
*/
|
|
@@ -23874,7 +23892,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
23874
23892
|
*/
|
|
23875
23893
|
readonly transferSize: number;
|
|
23876
23894
|
/**
|
|
23877
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
23895
|
+
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running.
|
|
23878
23896
|
*
|
|
23879
23897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
23880
23898
|
*/
|
|
@@ -23965,7 +23983,7 @@ interface PerformanceTiming {
|
|
|
23965
23983
|
*/
|
|
23966
23984
|
readonly domContentLoadedEventEnd: number;
|
|
23967
23985
|
/**
|
|
23968
|
-
* The 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 executed right after parsing has been executed.
|
|
23986
|
+
* The 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 Document/DOMContentLoaded_event event, that is right after all the scripts that need to be executed right after parsing has been executed.
|
|
23969
23987
|
* @deprecated
|
|
23970
23988
|
*
|
|
23971
23989
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)
|
|
@@ -23979,7 +23997,7 @@ interface PerformanceTiming {
|
|
|
23979
23997
|
*/
|
|
23980
23998
|
readonly domInteractive: number;
|
|
23981
23999
|
/**
|
|
23982
|
-
* The 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 corresponding Document/readystatechange_event event is thrown.
|
|
24000
|
+
* The 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'` and the corresponding Document/readystatechange_event event is thrown.
|
|
23983
24001
|
* @deprecated
|
|
23984
24002
|
*
|
|
23985
24003
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domLoading)
|
|
@@ -24130,7 +24148,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
24130
24148
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
24131
24149
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
24132
24150
|
/**
|
|
24133
|
-
* The **`state`** read-only property of the
|
|
24151
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
24134
24152
|
*
|
|
24135
24153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
24136
24154
|
*/
|
|
@@ -24147,7 +24165,7 @@ declare var PermissionStatus: {
|
|
|
24147
24165
|
};
|
|
24148
24166
|
|
|
24149
24167
|
/**
|
|
24150
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
24168
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
24151
24169
|
*
|
|
24152
24170
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
24153
24171
|
*/
|
|
@@ -24305,13 +24323,13 @@ interface PointerEvent extends MouseEvent {
|
|
|
24305
24323
|
*/
|
|
24306
24324
|
readonly azimuthAngle: number;
|
|
24307
24325
|
/**
|
|
24308
|
-
* The **`height`** read-only property of the geometry, along the y-axis (in CSS pixels).
|
|
24326
|
+
* The **`height`** read-only property of the PointerEvent interface represents the height of the pointer's contact geometry, along the y-axis (in CSS pixels).
|
|
24309
24327
|
*
|
|
24310
24328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height)
|
|
24311
24329
|
*/
|
|
24312
24330
|
readonly height: number;
|
|
24313
24331
|
/**
|
|
24314
|
-
* The **`isPrimary`** read-only property of the created the event is the _primary_ pointer.
|
|
24332
|
+
* The **`isPrimary`** read-only property of the PointerEvent interface indicates whether or not the pointer device that created the event is the _primary_ pointer.
|
|
24315
24333
|
*
|
|
24316
24334
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary)
|
|
24317
24335
|
*/
|
|
@@ -24323,25 +24341,25 @@ interface PointerEvent extends MouseEvent {
|
|
|
24323
24341
|
*/
|
|
24324
24342
|
readonly persistentDeviceId: number;
|
|
24325
24343
|
/**
|
|
24326
|
-
* The **`pointerId`** read-only property of the event.
|
|
24344
|
+
* The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to a given pointer event.
|
|
24327
24345
|
*
|
|
24328
24346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)
|
|
24329
24347
|
*/
|
|
24330
24348
|
readonly pointerId: number;
|
|
24331
24349
|
/**
|
|
24332
|
-
* The **`pointerType`** read-only property of the that caused a given pointer event.
|
|
24350
|
+
* The **`pointerType`** read-only property of the PointerEvent interface indicates the device type (mouse, pen, or touch) that caused a given pointer event.
|
|
24333
24351
|
*
|
|
24334
24352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerType)
|
|
24335
24353
|
*/
|
|
24336
24354
|
readonly pointerType: string;
|
|
24337
24355
|
/**
|
|
24338
|
-
* The **`pressure`** read-only property of the input.
|
|
24356
|
+
* The **`pressure`** read-only property of the PointerEvent interface indicates the normalized pressure of the pointer input.
|
|
24339
24357
|
*
|
|
24340
24358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pressure)
|
|
24341
24359
|
*/
|
|
24342
24360
|
readonly pressure: number;
|
|
24343
24361
|
/**
|
|
24344
|
-
* The **`tangentialPressure`** read-only property of the the pointer input (also known as barrel pressure or cylinder stress).
|
|
24362
|
+
* The **`tangentialPressure`** read-only property of the PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress).
|
|
24345
24363
|
*
|
|
24346
24364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/tangentialPressure)
|
|
24347
24365
|
*/
|
|
@@ -24359,13 +24377,13 @@ interface PointerEvent extends MouseEvent {
|
|
|
24359
24377
|
*/
|
|
24360
24378
|
readonly tiltY: number;
|
|
24361
24379
|
/**
|
|
24362
|
-
* The **`twist`** read-only property of the (e.g., pen stylus) around its major axis, in degrees.
|
|
24380
|
+
* The **`twist`** read-only property of the PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees.
|
|
24363
24381
|
*
|
|
24364
24382
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/twist)
|
|
24365
24383
|
*/
|
|
24366
24384
|
readonly twist: number;
|
|
24367
24385
|
/**
|
|
24368
|
-
* The **`width`** read-only property of the geometry along the x-axis, measured in CSS pixels.
|
|
24386
|
+
* The **`width`** read-only property of the PointerEvent interface represents the width of the pointer's contact geometry along the x-axis, measured in CSS pixels.
|
|
24369
24387
|
*
|
|
24370
24388
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/width)
|
|
24371
24389
|
*/
|
|
@@ -24449,7 +24467,7 @@ declare var ProcessingInstruction: {
|
|
|
24449
24467
|
*/
|
|
24450
24468
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
24451
24469
|
/**
|
|
24452
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
24470
|
+
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated.
|
|
24453
24471
|
*
|
|
24454
24472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
24455
24473
|
*/
|
|
@@ -24481,7 +24499,7 @@ declare var ProgressEvent: {
|
|
|
24481
24499
|
*/
|
|
24482
24500
|
interface PromiseRejectionEvent extends Event {
|
|
24483
24501
|
/**
|
|
24484
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
24502
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
24485
24503
|
*
|
|
24486
24504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
24487
24505
|
*/
|
|
@@ -24513,13 +24531,13 @@ interface PublicKeyCredential extends Credential {
|
|
|
24513
24531
|
*/
|
|
24514
24532
|
readonly authenticatorAttachment: string | null;
|
|
24515
24533
|
/**
|
|
24516
|
-
* The **`rawId`** read-only property of the containing the identifier of the credentials.
|
|
24534
|
+
* The **`rawId`** read-only property of the PublicKeyCredential interface is an ArrayBuffer object containing the identifier of the credentials.
|
|
24517
24535
|
*
|
|
24518
24536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId)
|
|
24519
24537
|
*/
|
|
24520
24538
|
readonly rawId: ArrayBuffer;
|
|
24521
24539
|
/**
|
|
24522
|
-
* The **`response`** read-only property of the object which is sent from the authenticator to the user agent for the creation/fetching of credentials.
|
|
24540
|
+
* The **`response`** read-only property of the PublicKeyCredential interface is an AuthenticatorResponse object which is sent from the authenticator to the user agent for the creation/fetching of credentials.
|
|
24523
24541
|
*
|
|
24524
24542
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/response)
|
|
24525
24543
|
*/
|
|
@@ -24571,6 +24589,24 @@ declare var PublicKeyCredential: {
|
|
|
24571
24589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)
|
|
24572
24590
|
*/
|
|
24573
24591
|
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
|
|
24592
|
+
/**
|
|
24593
|
+
* The **`signalAllAcceptedCredentials()`** static method of the PublicKeyCredential interface signals to the authenticator all of the valid credential IDs that the relying party (RP) server still holds for a particular user.
|
|
24594
|
+
*
|
|
24595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalAllAcceptedCredentials_static)
|
|
24596
|
+
*/
|
|
24597
|
+
signalAllAcceptedCredentials(options: AllAcceptedCredentialsOptions): Promise<void>;
|
|
24598
|
+
/**
|
|
24599
|
+
* The **`signalCurrentUserDetails()`** static method of the PublicKeyCredential interface signals to the authenticator that a particular user has updated their user name and/or display name on the relying party (RP) server.
|
|
24600
|
+
*
|
|
24601
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalCurrentUserDetails_static)
|
|
24602
|
+
*/
|
|
24603
|
+
signalCurrentUserDetails(options: CurrentUserDetailsOptions): Promise<void>;
|
|
24604
|
+
/**
|
|
24605
|
+
* The **`signalUnknownCredential()`** static method of the PublicKeyCredential interface signals to the authenticator that a credential ID was not recognized by the relying party (RP) server.
|
|
24606
|
+
*
|
|
24607
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalUnknownCredential_static)
|
|
24608
|
+
*/
|
|
24609
|
+
signalUnknownCredential(options: UnknownCredentialOptions): Promise<void>;
|
|
24574
24610
|
};
|
|
24575
24611
|
|
|
24576
24612
|
/**
|
|
@@ -24587,7 +24623,7 @@ interface PushManager {
|
|
|
24587
24623
|
*/
|
|
24588
24624
|
getSubscription(): Promise<PushSubscription | null>;
|
|
24589
24625
|
/**
|
|
24590
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
24626
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
24591
24627
|
*
|
|
24592
24628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
24593
24629
|
*/
|
|
@@ -24619,13 +24655,13 @@ declare var PushManager: {
|
|
|
24619
24655
|
*/
|
|
24620
24656
|
interface PushSubscription {
|
|
24621
24657
|
/**
|
|
24622
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
24658
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
24623
24659
|
*
|
|
24624
24660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
24625
24661
|
*/
|
|
24626
24662
|
readonly endpoint: string;
|
|
24627
24663
|
/**
|
|
24628
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
24664
|
+
* The **`expirationTime`** read-only property of the PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
24629
24665
|
*
|
|
24630
24666
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
24631
24667
|
*/
|
|
@@ -24788,7 +24824,7 @@ interface RTCDataChannelEventMap {
|
|
|
24788
24824
|
*/
|
|
24789
24825
|
interface RTCDataChannel extends EventTarget {
|
|
24790
24826
|
/**
|
|
24791
|
-
* The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
24827
|
+
* The property **`binaryType`** on the RTCDataChannel interface is a string which specifies the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
24792
24828
|
*
|
|
24793
24829
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
|
24794
24830
|
*/
|
|
@@ -24830,7 +24866,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
24830
24866
|
*/
|
|
24831
24867
|
readonly maxRetransmits: number | null;
|
|
24832
24868
|
/**
|
|
24833
|
-
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).
|
|
24869
|
+
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the RTCDataChannel's connection was negotiated by the Web app (`true`) or by the WebRTC layer (`false`).
|
|
24834
24870
|
*
|
|
24835
24871
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
|
24836
24872
|
*/
|
|
@@ -24866,13 +24902,13 @@ interface RTCDataChannel extends EventTarget {
|
|
|
24866
24902
|
*/
|
|
24867
24903
|
readonly readyState: RTCDataChannelState;
|
|
24868
24904
|
/**
|
|
24869
|
-
* The **`RTCDataChannel.close()`** method closes the
|
|
24905
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
|
24870
24906
|
*
|
|
24871
24907
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
|
24872
24908
|
*/
|
|
24873
24909
|
close(): void;
|
|
24874
24910
|
/**
|
|
24875
|
-
* The **`send()`** method of the remote peer.
|
|
24911
|
+
* The **`send()`** method of the RTCDataChannel interface sends data across the data channel to the remote peer.
|
|
24876
24912
|
*
|
|
24877
24913
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
|
24878
24914
|
*/
|
|
@@ -24931,7 +24967,7 @@ interface RTCDtlsTransport extends EventTarget {
|
|
|
24931
24967
|
onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;
|
|
24932
24968
|
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
24933
24969
|
/**
|
|
24934
|
-
* The **`state`** read-only property of the Datagram Transport Layer Security (**DTLS**) transport state.
|
|
24970
|
+
* The **`state`** read-only property of the RTCDtlsTransport interface provides information which describes a Datagram Transport Layer Security (**DTLS**) transport state.
|
|
24935
24971
|
*
|
|
24936
24972
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
|
|
24937
24973
|
*/
|
|
@@ -25027,19 +25063,19 @@ interface RTCError extends DOMException {
|
|
|
25027
25063
|
*/
|
|
25028
25064
|
readonly receivedAlert: number | null;
|
|
25029
25065
|
/**
|
|
25030
|
-
* The read-only **`sctpCauseCode`** property in an why the SCTP negotiation failed, if the `RTCError` represents an SCTP error.
|
|
25066
|
+
* The read-only **`sctpCauseCode`** property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the `RTCError` represents an SCTP error.
|
|
25031
25067
|
*
|
|
25032
25068
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sctpCauseCode)
|
|
25033
25069
|
*/
|
|
25034
25070
|
readonly sctpCauseCode: number | null;
|
|
25035
25071
|
/**
|
|
25036
|
-
* The RTCError interface's read-only property **`sdpLineNumber`** specifies the line number within the
|
|
25072
|
+
* The RTCError interface's read-only property **`sdpLineNumber`** specifies the line number within the SDP at which a syntax error occurred while parsing it.
|
|
25037
25073
|
*
|
|
25038
25074
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sdpLineNumber)
|
|
25039
25075
|
*/
|
|
25040
25076
|
readonly sdpLineNumber: number | null;
|
|
25041
25077
|
/**
|
|
25042
|
-
* The read-only **`sentAlert`** property in an while sending data to the remote peer, if the error represents an outbound DTLS error.
|
|
25078
|
+
* The read-only **`sentAlert`** property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error.
|
|
25043
25079
|
*
|
|
25044
25080
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sentAlert)
|
|
25045
25081
|
*/
|
|
@@ -25177,7 +25213,7 @@ declare var RTCIceCandidate: {
|
|
|
25177
25213
|
interface RTCIceCandidatePair {
|
|
25178
25214
|
/** The **`local`** property of the **RTCIceCandidatePair** dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection. */
|
|
25179
25215
|
local: RTCIceCandidate;
|
|
25180
|
-
/** The **`remote`** property of the **RTCIceCandidatePair** dictionary specifies the viable WebRTC connection. */
|
|
25216
|
+
/** The **`remote`** property of the **RTCIceCandidatePair** dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection. */
|
|
25181
25217
|
remote: RTCIceCandidate;
|
|
25182
25218
|
}
|
|
25183
25219
|
|
|
@@ -25265,7 +25301,7 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
25265
25301
|
*/
|
|
25266
25302
|
readonly currentLocalDescription: RTCSessionDescription | null;
|
|
25267
25303
|
/**
|
|
25268
|
-
* The **`currentRemoteDescription`** read-only property of the RTCPeerConnection interface returns an
|
|
25304
|
+
* The **`currentRemoteDescription`** read-only property of the RTCPeerConnection interface returns an RTCSessionDescription object describing the remote end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer.
|
|
25269
25305
|
*
|
|
25270
25306
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/currentRemoteDescription)
|
|
25271
25307
|
*/
|
|
@@ -25495,7 +25531,7 @@ declare var RTCPeerConnectionIceErrorEvent: {
|
|
|
25495
25531
|
*/
|
|
25496
25532
|
interface RTCPeerConnectionIceEvent extends Event {
|
|
25497
25533
|
/**
|
|
25498
|
-
* The read-only **`candidate`** property of the RTCPeerConnectionIceEvent interface returns the
|
|
25534
|
+
* The read-only **`candidate`** property of the RTCPeerConnectionIceEvent interface returns the RTCIceCandidate associated with the event.
|
|
25499
25535
|
*
|
|
25500
25536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceEvent/candidate)
|
|
25501
25537
|
*/
|
|
@@ -25520,7 +25556,7 @@ interface RTCRtpReceiver {
|
|
|
25520
25556
|
*/
|
|
25521
25557
|
jitterBufferTarget: DOMHighResTimeStamp | null;
|
|
25522
25558
|
/**
|
|
25523
|
-
* The **`track`** read-only property of the associated with the current RTCRtpReceiver instance.
|
|
25559
|
+
* The **`track`** read-only property of the RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver instance.
|
|
25524
25560
|
*
|
|
25525
25561
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track)
|
|
25526
25562
|
*/
|
|
@@ -25532,7 +25568,7 @@ interface RTCRtpReceiver {
|
|
|
25532
25568
|
*/
|
|
25533
25569
|
transform: RTCRtpTransform | null;
|
|
25534
25570
|
/**
|
|
25535
|
-
* The read-only **`transport`** property of an used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
25571
|
+
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
25536
25572
|
*
|
|
25537
25573
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transport)
|
|
25538
25574
|
*/
|
|
@@ -25594,7 +25630,7 @@ declare var RTCRtpScriptTransform: {
|
|
|
25594
25630
|
*/
|
|
25595
25631
|
interface RTCRtpSender {
|
|
25596
25632
|
/**
|
|
25597
|
-
* The read-only **`dtmf`** property on the **RTCRtpSender** interface returns a over the RTCPeerConnection.
|
|
25633
|
+
* The read-only **`dtmf`** property on the **RTCRtpSender** interface returns a RTCDTMFSender object which can be used to send DTMF tones over the RTCPeerConnection.
|
|
25598
25634
|
*
|
|
25599
25635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/dtmf)
|
|
25600
25636
|
*/
|
|
@@ -25612,7 +25648,7 @@ interface RTCRtpSender {
|
|
|
25612
25648
|
*/
|
|
25613
25649
|
transform: RTCRtpTransform | null;
|
|
25614
25650
|
/**
|
|
25615
|
-
* The read-only **`transport`** property of an used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
25651
|
+
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
|
25616
25652
|
*
|
|
25617
25653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transport)
|
|
25618
25654
|
*/
|
|
@@ -25685,13 +25721,13 @@ interface RTCRtpTransceiver {
|
|
|
25685
25721
|
*/
|
|
25686
25722
|
readonly mid: string | null;
|
|
25687
25723
|
/**
|
|
25688
|
-
* The read-only **`receiver`** property of WebRTC's RTCRtpTransceiver interface indicates the data for the transceiver's stream.
|
|
25724
|
+
* The read-only **`receiver`** property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpReceiver responsible for receiving and decoding incoming media data for the transceiver's stream.
|
|
25689
25725
|
*
|
|
25690
25726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/receiver)
|
|
25691
25727
|
*/
|
|
25692
25728
|
readonly receiver: RTCRtpReceiver;
|
|
25693
25729
|
/**
|
|
25694
|
-
* The read-only **`sender`** property of WebRTC's RTCRtpTransceiver interface indicates the for the transceiver's stream.
|
|
25730
|
+
* The read-only **`sender`** property of WebRTC's RTCRtpTransceiver interface indicates the RTCRtpSender responsible for encoding and sending outgoing media data for the transceiver's stream.
|
|
25695
25731
|
*
|
|
25696
25732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender)
|
|
25697
25733
|
*/
|
|
@@ -25703,7 +25739,7 @@ interface RTCRtpTransceiver {
|
|
|
25703
25739
|
*/
|
|
25704
25740
|
setCodecPreferences(codecs: RTCRtpCodec[]): void;
|
|
25705
25741
|
/**
|
|
25706
|
-
* The **`stop()`** method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and
|
|
25742
|
+
* The **`stop()`** method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver.
|
|
25707
25743
|
*
|
|
25708
25744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop)
|
|
25709
25745
|
*/
|
|
@@ -25781,7 +25817,7 @@ interface RTCSessionDescription {
|
|
|
25781
25817
|
*/
|
|
25782
25818
|
readonly type: RTCSdpType;
|
|
25783
25819
|
/**
|
|
25784
|
-
* The **`RTCSessionDescription.toJSON()`** method generates a
|
|
25820
|
+
* The **`RTCSessionDescription.toJSON()`** method generates a JSON description of the object.
|
|
25785
25821
|
*
|
|
25786
25822
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON)
|
|
25787
25823
|
*/
|
|
@@ -25814,25 +25850,25 @@ declare var RTCStatsReport: {
|
|
|
25814
25850
|
*/
|
|
25815
25851
|
interface RTCTrackEvent extends Event {
|
|
25816
25852
|
/**
|
|
25817
|
-
* The read-only **`receiver`** property of the RTCTrackEvent interface indicates the
|
|
25853
|
+
* The read-only **`receiver`** property of the RTCTrackEvent interface indicates the RTCRtpReceiver which is used to receive data containing media for the RTCTrackEvent.track to which the event refers.
|
|
25818
25854
|
*
|
|
25819
25855
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/receiver)
|
|
25820
25856
|
*/
|
|
25821
25857
|
readonly receiver: RTCRtpReceiver;
|
|
25822
25858
|
/**
|
|
25823
|
-
* The WebRTC API interface RTCTrackEvent's read-only **`streams`** property specifies an array of track being added to the RTCPeerConnection.
|
|
25859
|
+
* The WebRTC API interface RTCTrackEvent's read-only **`streams`** property specifies an array of MediaStream objects, one for each of the streams that comprise the track being added to the RTCPeerConnection.
|
|
25824
25860
|
*
|
|
25825
25861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/streams)
|
|
25826
25862
|
*/
|
|
25827
25863
|
readonly streams: ReadonlyArray<MediaStream>;
|
|
25828
25864
|
/**
|
|
25829
|
-
* The
|
|
25865
|
+
* The WebRTC API interface RTCTrackEvent's read-only **`track`** property specifies the MediaStreamTrack that has been added to the RTCPeerConnection.
|
|
25830
25866
|
*
|
|
25831
25867
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/track)
|
|
25832
25868
|
*/
|
|
25833
25869
|
readonly track: MediaStreamTrack;
|
|
25834
25870
|
/**
|
|
25835
|
-
* The WebRTC API interface RTCTrackEvent's read-only **`transceiver`** property indicates the
|
|
25871
|
+
* The WebRTC API interface RTCTrackEvent's read-only **`transceiver`** property indicates the RTCRtpTransceiver affiliated with the event's RTCTrackEvent.track.
|
|
25836
25872
|
*
|
|
25837
25873
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/transceiver)
|
|
25838
25874
|
*/
|
|
@@ -25882,13 +25918,13 @@ interface Range extends AbstractRange {
|
|
|
25882
25918
|
*/
|
|
25883
25919
|
cloneContents(): DocumentFragment;
|
|
25884
25920
|
/**
|
|
25885
|
-
* The **`Range.cloneRange()`** method returns a
|
|
25921
|
+
* The **`Range.cloneRange()`** method returns a Range object with boundary points identical to the cloned Range.
|
|
25886
25922
|
*
|
|
25887
25923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/cloneRange)
|
|
25888
25924
|
*/
|
|
25889
25925
|
cloneRange(): Range;
|
|
25890
25926
|
/**
|
|
25891
|
-
* The **`collapse()`** method of the Range interface collapses the
|
|
25927
|
+
* The **`collapse()`** method of the Range interface collapses the Range to one of its boundary points.
|
|
25892
25928
|
*
|
|
25893
25929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/collapse)
|
|
25894
25930
|
*/
|
|
@@ -25906,7 +25942,7 @@ interface Range extends AbstractRange {
|
|
|
25906
25942
|
*/
|
|
25907
25943
|
comparePoint(node: Node, offset: number): number;
|
|
25908
25944
|
/**
|
|
25909
|
-
* The **`Range.createContextualFragment()`** method returns a XML fragment parsing algorithm with the start of the range (the _parent_ of the selected node) as the context node.
|
|
25945
|
+
* The **`Range.createContextualFragment()`** method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the _parent_ of the selected node) as the context node.
|
|
25910
25946
|
*
|
|
25911
25947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
25912
25948
|
*/
|
|
@@ -25960,7 +25996,7 @@ interface Range extends AbstractRange {
|
|
|
25960
25996
|
*/
|
|
25961
25997
|
isPointInRange(node: Node, offset: number): boolean;
|
|
25962
25998
|
/**
|
|
25963
|
-
* The **`Range.selectNode()`** method sets the
|
|
25999
|
+
* The **`Range.selectNode()`** method sets the Range to contain the Node and its contents.
|
|
25964
26000
|
*
|
|
25965
26001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/selectNode)
|
|
25966
26002
|
*/
|
|
@@ -25978,7 +26014,7 @@ interface Range extends AbstractRange {
|
|
|
25978
26014
|
*/
|
|
25979
26015
|
setEnd(node: Node, offset: number): void;
|
|
25980
26016
|
/**
|
|
25981
|
-
* The **`Range.setEndAfter()`** method sets the end position of a
|
|
26017
|
+
* The **`Range.setEndAfter()`** method sets the end position of a Range relative to another Node.
|
|
25982
26018
|
*
|
|
25983
26019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setEndAfter)
|
|
25984
26020
|
*/
|
|
@@ -25990,7 +26026,7 @@ interface Range extends AbstractRange {
|
|
|
25990
26026
|
*/
|
|
25991
26027
|
setEndBefore(node: Node): void;
|
|
25992
26028
|
/**
|
|
25993
|
-
* The **`Range.setStart()`** method sets the start position of a
|
|
26029
|
+
* The **`Range.setStart()`** method sets the start position of a Range.
|
|
25994
26030
|
*
|
|
25995
26031
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setStart)
|
|
25996
26032
|
*/
|
|
@@ -26111,7 +26147,7 @@ interface ReadableStream<R = any> {
|
|
|
26111
26147
|
*/
|
|
26112
26148
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
26113
26149
|
/**
|
|
26114
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
26150
|
+
* The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
|
|
26115
26151
|
*
|
|
26116
26152
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
26117
26153
|
*/
|
|
@@ -26188,7 +26224,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
26188
26224
|
*/
|
|
26189
26225
|
interface ReadableStreamDefaultController<R = any> {
|
|
26190
26226
|
/**
|
|
26191
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
26227
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
26192
26228
|
*
|
|
26193
26229
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
26194
26230
|
*/
|
|
@@ -26200,13 +26236,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
26200
26236
|
*/
|
|
26201
26237
|
close(): void;
|
|
26202
26238
|
/**
|
|
26203
|
-
* The **`enqueue()`** method of the
|
|
26239
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
26204
26240
|
*
|
|
26205
26241
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
26206
26242
|
*/
|
|
26207
26243
|
enqueue(chunk?: R): void;
|
|
26208
26244
|
/**
|
|
26209
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
26245
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
26210
26246
|
*
|
|
26211
26247
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
26212
26248
|
*/
|
|
@@ -26310,19 +26346,19 @@ declare var RemotePlayback: {
|
|
|
26310
26346
|
*/
|
|
26311
26347
|
interface ReportingObserver {
|
|
26312
26348
|
/**
|
|
26313
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
26349
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
26314
26350
|
*
|
|
26315
26351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
26316
26352
|
*/
|
|
26317
26353
|
disconnect(): void;
|
|
26318
26354
|
/**
|
|
26319
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
26355
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
26320
26356
|
*
|
|
26321
26357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
26322
26358
|
*/
|
|
26323
26359
|
observe(): void;
|
|
26324
26360
|
/**
|
|
26325
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
26361
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
26326
26362
|
*
|
|
26327
26363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
26328
26364
|
*/
|
|
@@ -26359,7 +26395,7 @@ interface Request extends Body {
|
|
|
26359
26395
|
*/
|
|
26360
26396
|
readonly destination: RequestDestination;
|
|
26361
26397
|
/**
|
|
26362
|
-
* The **`headers`** read-only property of the with the request.
|
|
26398
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
26363
26399
|
*
|
|
26364
26400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
26365
26401
|
*/
|
|
@@ -26377,7 +26413,7 @@ interface Request extends Body {
|
|
|
26377
26413
|
*/
|
|
26378
26414
|
readonly keepalive: boolean;
|
|
26379
26415
|
/**
|
|
26380
|
-
* The **`method`** read-only property of the
|
|
26416
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
26381
26417
|
*
|
|
26382
26418
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
26383
26419
|
*/
|
|
@@ -26395,13 +26431,13 @@ interface Request extends Body {
|
|
|
26395
26431
|
*/
|
|
26396
26432
|
readonly redirect: RequestRedirect;
|
|
26397
26433
|
/**
|
|
26398
|
-
* The **`referrer`** read-only property of the Request.
|
|
26434
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
26399
26435
|
*
|
|
26400
26436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
26401
26437
|
*/
|
|
26402
26438
|
readonly referrer: string;
|
|
26403
26439
|
/**
|
|
26404
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
26440
|
+
* The **`referrerPolicy`** read-only property of the Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request.
|
|
26405
26441
|
*
|
|
26406
26442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
26407
26443
|
*/
|
|
@@ -26438,19 +26474,19 @@ declare var Request: {
|
|
|
26438
26474
|
*/
|
|
26439
26475
|
interface ResizeObserver {
|
|
26440
26476
|
/**
|
|
26441
|
-
* The **`disconnect()`** method of the or SVGElement targets.
|
|
26477
|
+
* The **`disconnect()`** method of the ResizeObserver interface unobserves all observed Element or SVGElement targets.
|
|
26442
26478
|
*
|
|
26443
26479
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/disconnect)
|
|
26444
26480
|
*/
|
|
26445
26481
|
disconnect(): void;
|
|
26446
26482
|
/**
|
|
26447
|
-
* The **`observe()`** method of the
|
|
26483
|
+
* The **`observe()`** method of the ResizeObserver interface starts observing the specified Element or SVGElement.
|
|
26448
26484
|
*
|
|
26449
26485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/observe)
|
|
26450
26486
|
*/
|
|
26451
26487
|
observe(target: Element, options?: ResizeObserverOptions): void;
|
|
26452
26488
|
/**
|
|
26453
|
-
* The **`unobserve()`** method of the
|
|
26489
|
+
* The **`unobserve()`** method of the ResizeObserver interface ends the observing of a specified Element or SVGElement.
|
|
26454
26490
|
*
|
|
26455
26491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/unobserve)
|
|
26456
26492
|
*/
|
|
@@ -26481,7 +26517,7 @@ interface ResizeObserverEntry {
|
|
|
26481
26517
|
*/
|
|
26482
26518
|
readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
26483
26519
|
/**
|
|
26484
|
-
* The `contentRect` read-only property of the object containing the new size of the observed element when the callback is run.
|
|
26520
|
+
* The `contentRect` read-only property of the ResizeObserverEntry interface returns a DOMRectReadOnly object containing the new size of the observed element when the callback is run.
|
|
26485
26521
|
*
|
|
26486
26522
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect)
|
|
26487
26523
|
*/
|
|
@@ -26493,7 +26529,7 @@ interface ResizeObserverEntry {
|
|
|
26493
26529
|
*/
|
|
26494
26530
|
readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
26495
26531
|
/**
|
|
26496
|
-
* The **`target`** read-only property of the
|
|
26532
|
+
* The **`target`** read-only property of the ResizeObserverEntry interface returns a reference to the Element or SVGElement that is being observed.
|
|
26497
26533
|
*
|
|
26498
26534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target)
|
|
26499
26535
|
*/
|
|
@@ -26537,7 +26573,7 @@ declare var ResizeObserverSize: {
|
|
|
26537
26573
|
*/
|
|
26538
26574
|
interface Response extends Body {
|
|
26539
26575
|
/**
|
|
26540
|
-
* The **`headers`** read-only property of the with the response.
|
|
26576
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
26541
26577
|
*
|
|
26542
26578
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
26543
26579
|
*/
|
|
@@ -27124,7 +27160,7 @@ declare var SVGAnimationElement: {
|
|
|
27124
27160
|
*/
|
|
27125
27161
|
interface SVGCircleElement extends SVGGeometryElement {
|
|
27126
27162
|
/**
|
|
27127
|
-
* The **`cx`** read-only property of the SVGCircleElement interface reflects the cx attribute of a circle element and by that defines the x-coordinate of the circle's center.<
|
|
27163
|
+
* The **`cx`** read-only property of the SVGCircleElement interface reflects the cx attribute of a circle element and by that defines the x-coordinate of the circle's center.<
|
|
27128
27164
|
*
|
|
27129
27165
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement/cx)
|
|
27130
27166
|
*/
|
|
@@ -28504,7 +28540,7 @@ declare var SVGGElement: {
|
|
|
28504
28540
|
*/
|
|
28505
28541
|
interface SVGGeometryElement extends SVGGraphicsElement {
|
|
28506
28542
|
/**
|
|
28507
|
-
* The **`SVGGeometryElement.pathLength`** property reflects the
|
|
28543
|
+
* The **`SVGGeometryElement.pathLength`** property reflects the pathLength attribute and returns the total length of the path, in user units.
|
|
28508
28544
|
*
|
|
28509
28545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/pathLength)
|
|
28510
28546
|
*/
|
|
@@ -28641,31 +28677,31 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
|
28641
28677
|
*/
|
|
28642
28678
|
crossOrigin: string | null;
|
|
28643
28679
|
/**
|
|
28644
|
-
* The **`height`** read-only property of the corresponding to the height attribute of the given
|
|
28680
|
+
* The **`height`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the height attribute of the given image element.
|
|
28645
28681
|
*
|
|
28646
28682
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height)
|
|
28647
28683
|
*/
|
|
28648
28684
|
readonly height: SVGAnimatedLength;
|
|
28649
28685
|
/**
|
|
28650
|
-
* The **`preserveAspectRatio`** read-only property of the SVGImageElement interface returns an element.
|
|
28686
|
+
* The **`preserveAspectRatio`** read-only property of the SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given image element.
|
|
28651
28687
|
*
|
|
28652
28688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/preserveAspectRatio)
|
|
28653
28689
|
*/
|
|
28654
28690
|
readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
|
|
28655
28691
|
/**
|
|
28656
|
-
* The **`width`** read-only property of the corresponding to the width attribute of the given image element.
|
|
28692
|
+
* The **`width`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the width attribute of the given image element.
|
|
28657
28693
|
*
|
|
28658
28694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/width)
|
|
28659
28695
|
*/
|
|
28660
28696
|
readonly width: SVGAnimatedLength;
|
|
28661
28697
|
/**
|
|
28662
|
-
* The **`x`** read-only property of the corresponding to the x attribute of the given image element.
|
|
28698
|
+
* The **`x`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the x attribute of the given image element.
|
|
28663
28699
|
*
|
|
28664
28700
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/x)
|
|
28665
28701
|
*/
|
|
28666
28702
|
readonly x: SVGAnimatedLength;
|
|
28667
28703
|
/**
|
|
28668
|
-
* The **`y`** read-only property of the corresponding to the y attribute of the given image element.
|
|
28704
|
+
* The **`y`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the y attribute of the given image element.
|
|
28669
28705
|
*
|
|
28670
28706
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/y)
|
|
28671
28707
|
*/
|
|
@@ -30307,7 +30343,7 @@ declare var SVGUnitTypes: {
|
|
|
30307
30343
|
};
|
|
30308
30344
|
|
|
30309
30345
|
/**
|
|
30310
|
-
*
|
|
30346
|
+
* ## SVG use DOM interface
|
|
30311
30347
|
*
|
|
30312
30348
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement)
|
|
30313
30349
|
*/
|
|
@@ -30395,7 +30431,7 @@ interface Screen {
|
|
|
30395
30431
|
*/
|
|
30396
30432
|
readonly height: number;
|
|
30397
30433
|
/**
|
|
30398
|
-
* The **`orientation`** read-only property of the
|
|
30434
|
+
* The **`orientation`** read-only property of the Screen interface returns the current orientation of the screen.
|
|
30399
30435
|
*
|
|
30400
30436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/orientation)
|
|
30401
30437
|
*/
|
|
@@ -30430,7 +30466,7 @@ interface ScreenOrientationEventMap {
|
|
|
30430
30466
|
*/
|
|
30431
30467
|
interface ScreenOrientation extends EventTarget {
|
|
30432
30468
|
/**
|
|
30433
|
-
* The **`angle`** read-only property of the angle.
|
|
30469
|
+
* The **`angle`** read-only property of the ScreenOrientation interface returns the document's current orientation angle.
|
|
30434
30470
|
*
|
|
30435
30471
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle)
|
|
30436
30472
|
*/
|
|
@@ -30438,13 +30474,13 @@ interface ScreenOrientation extends EventTarget {
|
|
|
30438
30474
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */
|
|
30439
30475
|
onchange: ((this: ScreenOrientation, ev: Event) => any) | null;
|
|
30440
30476
|
/**
|
|
30441
|
-
* The **`type`** read-only property of the type, one of `portrait-primary`, `portrait-secondary`, `landscape-primary`, or `landscape-secondary`.
|
|
30477
|
+
* The **`type`** read-only property of the ScreenOrientation interface returns the document's current orientation type, one of `portrait-primary`, `portrait-secondary`, `landscape-primary`, or `landscape-secondary`.
|
|
30442
30478
|
*
|
|
30443
30479
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
|
|
30444
30480
|
*/
|
|
30445
30481
|
readonly type: OrientationType;
|
|
30446
30482
|
/**
|
|
30447
|
-
* The **`unlock()`** method of the document from its default orientation.
|
|
30483
|
+
* The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
|
|
30448
30484
|
*
|
|
30449
30485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock)
|
|
30450
30486
|
*/
|
|
@@ -30503,13 +30539,13 @@ declare var ScriptProcessorNode: {
|
|
|
30503
30539
|
*/
|
|
30504
30540
|
interface ScrollTimeline extends AnimationTimeline {
|
|
30505
30541
|
/**
|
|
30506
|
-
* The **`axis`** read-only property of the
|
|
30542
|
+
* The **`axis`** read-only property of the ScrollTimeline interface returns an enumerated value representing the scroll axis that is driving the progress of the timeline.
|
|
30507
30543
|
*
|
|
30508
30544
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/axis)
|
|
30509
30545
|
*/
|
|
30510
30546
|
readonly axis: ScrollAxis;
|
|
30511
30547
|
/**
|
|
30512
|
-
* The **`source`** read-only property of the
|
|
30548
|
+
* The **`source`** read-only property of the ScrollTimeline interface returns a reference to the scrollable element (_scroller_) whose scroll position is driving the progress of the timeline and therefore the animation.
|
|
30513
30549
|
*
|
|
30514
30550
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/source)
|
|
30515
30551
|
*/
|
|
@@ -30619,7 +30655,7 @@ interface Selection {
|
|
|
30619
30655
|
*/
|
|
30620
30656
|
readonly anchorNode: Node | null;
|
|
30621
30657
|
/**
|
|
30622
|
-
* The **`Selection.anchorOffset`** read-only property returns the number of characters that the selection's anchor is offset within the
|
|
30658
|
+
* The **`Selection.anchorOffset`** read-only property returns the number of characters that the selection's anchor is offset within the Selection.anchorNode if said node is of type Text, CDATASection or Comment.
|
|
30623
30659
|
*
|
|
30624
30660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset)
|
|
30625
30661
|
*/
|
|
@@ -30637,7 +30673,7 @@ interface Selection {
|
|
|
30637
30673
|
*/
|
|
30638
30674
|
readonly focusNode: Node | null;
|
|
30639
30675
|
/**
|
|
30640
|
-
* The **`Selection.focusOffset`** read-only property returns the number of characters that the selection's focus is offset within the
|
|
30676
|
+
* The **`Selection.focusOffset`** read-only property returns the number of characters that the selection's focus is offset within the Selection.focusNode if said node is of type Text, CDATASection or Comment.
|
|
30641
30677
|
*
|
|
30642
30678
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset)
|
|
30643
30679
|
*/
|
|
@@ -30655,13 +30691,13 @@ interface Selection {
|
|
|
30655
30691
|
*/
|
|
30656
30692
|
readonly rangeCount: number;
|
|
30657
30693
|
/**
|
|
30658
|
-
* The **`type`** read-only property of the type of the current selection.
|
|
30694
|
+
* The **`type`** read-only property of the Selection interface returns a string describing the type of the current selection.
|
|
30659
30695
|
*
|
|
30660
30696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/type)
|
|
30661
30697
|
*/
|
|
30662
30698
|
readonly type: string;
|
|
30663
30699
|
/**
|
|
30664
|
-
* The **`Selection.addRange()`** method adds a
|
|
30700
|
+
* The **`Selection.addRange()`** method adds a Range to a Selection.
|
|
30665
30701
|
*
|
|
30666
30702
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/addRange)
|
|
30667
30703
|
*/
|
|
@@ -30691,7 +30727,7 @@ interface Selection {
|
|
|
30691
30727
|
*/
|
|
30692
30728
|
containsNode(node: Node, allowPartialContainment?: boolean): boolean;
|
|
30693
30729
|
/**
|
|
30694
|
-
* The **`deleteFromDocument()`** method of the
|
|
30730
|
+
* The **`deleteFromDocument()`** method of the Selection interface invokes the Range.deleteContents() method on the selected Range.
|
|
30695
30731
|
*
|
|
30696
30732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument)
|
|
30697
30733
|
*/
|
|
@@ -30784,7 +30820,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
30784
30820
|
*/
|
|
30785
30821
|
readonly scriptURL: string;
|
|
30786
30822
|
/**
|
|
30787
|
-
* The **`state`** read-only property of the of the service worker.
|
|
30823
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
30788
30824
|
*
|
|
30789
30825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
30790
30826
|
*/
|
|
@@ -30839,13 +30875,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
30839
30875
|
*/
|
|
30840
30876
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
30841
30877
|
/**
|
|
30842
|
-
* The **`getRegistration()`** method of the client URL.
|
|
30878
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
30843
30879
|
*
|
|
30844
30880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
30845
30881
|
*/
|
|
30846
30882
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
30847
30883
|
/**
|
|
30848
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
30884
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
30849
30885
|
*
|
|
30850
30886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
30851
30887
|
*/
|
|
@@ -30885,7 +30921,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
30885
30921
|
*/
|
|
30886
30922
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
30887
30923
|
/**
|
|
30888
|
-
* The **`active`** read-only property of the
|
|
30924
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
30889
30925
|
*
|
|
30890
30926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
30891
30927
|
*/
|
|
@@ -30897,7 +30933,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30897
30933
|
*/
|
|
30898
30934
|
readonly cookies: CookieStoreManager;
|
|
30899
30935
|
/**
|
|
30900
|
-
* The **`installing`** read-only property of the
|
|
30936
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
30901
30937
|
*
|
|
30902
30938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
30903
30939
|
*/
|
|
@@ -30911,7 +30947,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30911
30947
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
30912
30948
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
30913
30949
|
/**
|
|
30914
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
30950
|
+
* The **`pushManager`** read-only property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
|
|
30915
30951
|
*
|
|
30916
30952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
30917
30953
|
*/
|
|
@@ -30929,7 +30965,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30929
30965
|
*/
|
|
30930
30966
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
30931
30967
|
/**
|
|
30932
|
-
* The **`waiting`** read-only property of the
|
|
30968
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
30933
30969
|
*
|
|
30934
30970
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
30935
30971
|
*/
|
|
@@ -30941,19 +30977,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30941
30977
|
*/
|
|
30942
30978
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
30943
30979
|
/**
|
|
30944
|
-
* The **`showNotification()`** method of the service worker.
|
|
30980
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
30945
30981
|
*
|
|
30946
30982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
30947
30983
|
*/
|
|
30948
30984
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
30949
30985
|
/**
|
|
30950
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
30986
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
30951
30987
|
*
|
|
30952
30988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
30953
30989
|
*/
|
|
30954
30990
|
unregister(): Promise<boolean>;
|
|
30955
30991
|
/**
|
|
30956
|
-
* The **`update()`** method of the worker.
|
|
30992
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
30957
30993
|
*
|
|
30958
30994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
30959
30995
|
*/
|
|
@@ -31088,19 +31124,19 @@ interface SourceBufferEventMap {
|
|
|
31088
31124
|
*/
|
|
31089
31125
|
interface SourceBuffer extends EventTarget {
|
|
31090
31126
|
/**
|
|
31091
|
-
* The **`appendWindowEnd`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31127
|
+
* The **`appendWindowEnd`** property of the SourceBuffer interface controls the timestamp for the end of the append window, a timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31092
31128
|
*
|
|
31093
31129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowEnd)
|
|
31094
31130
|
*/
|
|
31095
31131
|
appendWindowEnd: number;
|
|
31096
31132
|
/**
|
|
31097
|
-
* The **`appendWindowStart`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31133
|
+
* The **`appendWindowStart`** property of the SourceBuffer interface controls the timestamp for the start of the append window, a timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31098
31134
|
*
|
|
31099
31135
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowStart)
|
|
31100
31136
|
*/
|
|
31101
31137
|
appendWindowStart: number;
|
|
31102
31138
|
/**
|
|
31103
|
-
* The **`buffered`** read-only property of the buffered in the `SourceBuffer` as a normalized TimeRanges object.
|
|
31139
|
+
* The **`buffered`** read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the `SourceBuffer` as a normalized TimeRanges object.
|
|
31104
31140
|
*
|
|
31105
31141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/buffered)
|
|
31106
31142
|
*/
|
|
@@ -31117,13 +31153,13 @@ interface SourceBuffer extends EventTarget {
|
|
|
31117
31153
|
onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
31118
31154
|
onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
31119
31155
|
/**
|
|
31120
|
-
* The **`timestampOffset`** property of the media segments that are appended to the `SourceBuffer`.
|
|
31156
|
+
* The **`timestampOffset`** property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the `SourceBuffer`.
|
|
31121
31157
|
*
|
|
31122
31158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset)
|
|
31123
31159
|
*/
|
|
31124
31160
|
timestampOffset: number;
|
|
31125
31161
|
/**
|
|
31126
|
-
* The **`updating`** read-only property of the currently being updated — i.e., whether an SourceBuffer.appendBuffer() or SourceBuffer.remove() operation is currently in progress.
|
|
31162
|
+
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer() or SourceBuffer.remove() operation is currently in progress.
|
|
31127
31163
|
*
|
|
31128
31164
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31129
31165
|
*/
|
|
@@ -31135,13 +31171,13 @@ interface SourceBuffer extends EventTarget {
|
|
|
31135
31171
|
*/
|
|
31136
31172
|
abort(): void;
|
|
31137
31173
|
/**
|
|
31138
|
-
* The **`appendBuffer()`** method of the to the `SourceBuffer`.
|
|
31174
|
+
* The **`appendBuffer()`** method of the SourceBuffer interface appends media segment data from an ArrayBuffer, a TypedArray or a DataView object to the `SourceBuffer`.
|
|
31139
31175
|
*
|
|
31140
31176
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendBuffer)
|
|
31141
31177
|
*/
|
|
31142
31178
|
appendBuffer(data: BufferSource): void;
|
|
31143
31179
|
/**
|
|
31144
|
-
* The **`changeType()`** method of the data to conform to.
|
|
31180
|
+
* The **`changeType()`** method of the SourceBuffer interface sets the MIME type that future calls to SourceBuffer.appendBuffer should expect the new media data to conform to.
|
|
31145
31181
|
*
|
|
31146
31182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/changeType)
|
|
31147
31183
|
*/
|
|
@@ -31175,7 +31211,7 @@ interface SourceBufferListEventMap {
|
|
|
31175
31211
|
*/
|
|
31176
31212
|
interface SourceBufferList extends EventTarget {
|
|
31177
31213
|
/**
|
|
31178
|
-
* The **`length`** read-only property of the
|
|
31214
|
+
* The **`length`** read-only property of the SourceBufferList interface returns the number of SourceBuffer objects in the list.
|
|
31179
31215
|
*
|
|
31180
31216
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length)
|
|
31181
31217
|
*/
|
|
@@ -31202,13 +31238,13 @@ declare var SourceBufferList: {
|
|
|
31202
31238
|
*/
|
|
31203
31239
|
interface SpeechRecognitionAlternative {
|
|
31204
31240
|
/**
|
|
31205
|
-
* The **`confidence`** read-only property of the confident the speech recognition system is that the recognition is correct.
|
|
31241
|
+
* The **`confidence`** read-only property of the SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.
|
|
31206
31242
|
*
|
|
31207
31243
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/confidence)
|
|
31208
31244
|
*/
|
|
31209
31245
|
readonly confidence: number;
|
|
31210
31246
|
/**
|
|
31211
|
-
* The **`transcript`** read-only property of the transcript of the recognized word(s).
|
|
31247
|
+
* The **`transcript`** read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognized word(s).
|
|
31212
31248
|
*
|
|
31213
31249
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/transcript)
|
|
31214
31250
|
*/
|
|
@@ -31228,13 +31264,13 @@ declare var SpeechRecognitionAlternative: {
|
|
|
31228
31264
|
*/
|
|
31229
31265
|
interface SpeechRecognitionErrorEvent extends Event {
|
|
31230
31266
|
/**
|
|
31231
|
-
* The **`error`** read-only property of the
|
|
31267
|
+
* The **`error`** read-only property of the SpeechRecognitionErrorEvent interface returns the type of error raised.
|
|
31232
31268
|
*
|
|
31233
31269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/error)
|
|
31234
31270
|
*/
|
|
31235
31271
|
readonly error: SpeechRecognitionErrorCode;
|
|
31236
31272
|
/**
|
|
31237
|
-
* The **`message`** read-only property of the error in more detail.
|
|
31273
|
+
* The **`message`** read-only property of the SpeechRecognitionErrorEvent interface returns a message describing the error in more detail.
|
|
31238
31274
|
*
|
|
31239
31275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/message)
|
|
31240
31276
|
*/
|
|
@@ -31254,13 +31290,13 @@ declare var SpeechRecognitionErrorEvent: {
|
|
|
31254
31290
|
*/
|
|
31255
31291
|
interface SpeechRecognitionEvent extends Event {
|
|
31256
31292
|
/**
|
|
31257
|
-
* The **`resultIndex`** read-only property of the the SpeechRecognitionResultList 'array' that has actually changed.
|
|
31293
|
+
* The **`resultIndex`** read-only property of the SpeechRecognitionEvent interface returns the lowest index value result in the SpeechRecognitionResultList 'array' that has actually changed.
|
|
31258
31294
|
*
|
|
31259
31295
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/resultIndex)
|
|
31260
31296
|
*/
|
|
31261
31297
|
readonly resultIndex: number;
|
|
31262
31298
|
/**
|
|
31263
|
-
* The **`results`** read-only property of the recognition results for the current session.
|
|
31299
|
+
* The **`results`** read-only property of the SpeechRecognitionEvent interface returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session.
|
|
31264
31300
|
*
|
|
31265
31301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/results)
|
|
31266
31302
|
*/
|
|
@@ -31280,19 +31316,19 @@ declare var SpeechRecognitionEvent: {
|
|
|
31280
31316
|
*/
|
|
31281
31317
|
interface SpeechRecognitionResult {
|
|
31282
31318
|
/**
|
|
31283
|
-
* The **`isFinal`** read-only property of the whether this result is final (`true`) or not (`false`) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.
|
|
31319
|
+
* The **`isFinal`** read-only property of the SpeechRecognitionResult interface is a boolean value that states whether this result is final (`true`) or not (`false`) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.
|
|
31284
31320
|
*
|
|
31285
31321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/isFinal)
|
|
31286
31322
|
*/
|
|
31287
31323
|
readonly isFinal: boolean;
|
|
31288
31324
|
/**
|
|
31289
|
-
* The **`length`** read-only property of the — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as 'n-best alternatives'.)
|
|
31325
|
+
* The **`length`** read-only property of the SpeechRecognitionResult interface returns the length of the 'array' — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as 'n-best alternatives'.)
|
|
31290
31326
|
*
|
|
31291
31327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/length)
|
|
31292
31328
|
*/
|
|
31293
31329
|
readonly length: number;
|
|
31294
31330
|
/**
|
|
31295
|
-
* The **`item`** getter of the array syntax.
|
|
31331
|
+
* The **`item`** getter of the SpeechRecognitionResult interface is a standard getter that allows SpeechRecognitionAlternative objects within the result to be accessed via array syntax.
|
|
31296
31332
|
*
|
|
31297
31333
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/item)
|
|
31298
31334
|
*/
|
|
@@ -31313,13 +31349,13 @@ declare var SpeechRecognitionResult: {
|
|
|
31313
31349
|
*/
|
|
31314
31350
|
interface SpeechRecognitionResultList {
|
|
31315
31351
|
/**
|
|
31316
|
-
* The **`length`** read-only property of the 'array' — the number of SpeechRecognitionResult objects in the list.
|
|
31352
|
+
* The **`length`** read-only property of the SpeechRecognitionResultList interface returns the length of the 'array' — the number of SpeechRecognitionResult objects in the list.
|
|
31317
31353
|
*
|
|
31318
31354
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/length)
|
|
31319
31355
|
*/
|
|
31320
31356
|
readonly length: number;
|
|
31321
31357
|
/**
|
|
31322
|
-
* The **`item`** getter of the syntax.
|
|
31358
|
+
* The **`item`** getter of the SpeechRecognitionResultList interface is a standard getter — it allows SpeechRecognitionResult objects in the list to be accessed via array syntax.
|
|
31323
31359
|
*
|
|
31324
31360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/item)
|
|
31325
31361
|
*/
|
|
@@ -31345,19 +31381,19 @@ interface SpeechSynthesis extends EventTarget {
|
|
|
31345
31381
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/voiceschanged_event) */
|
|
31346
31382
|
onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;
|
|
31347
31383
|
/**
|
|
31348
|
-
* The **`paused`** read-only property of the `true` if the `SpeechSynthesis` object is in a paused state, or `false` if not.
|
|
31384
|
+
* The **`paused`** read-only property of the SpeechSynthesis interface is a boolean value that returns `true` if the `SpeechSynthesis` object is in a paused state, or `false` if not.
|
|
31349
31385
|
*
|
|
31350
31386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/paused)
|
|
31351
31387
|
*/
|
|
31352
31388
|
readonly paused: boolean;
|
|
31353
31389
|
/**
|
|
31354
|
-
* The **`pending`** read-only property of the `true` if the utterance queue contains as-yet-unspoken utterances.
|
|
31390
|
+
* The **`pending`** read-only property of the SpeechSynthesis interface is a boolean value that returns `true` if the utterance queue contains as-yet-unspoken utterances.
|
|
31355
31391
|
*
|
|
31356
31392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/pending)
|
|
31357
31393
|
*/
|
|
31358
31394
|
readonly pending: boolean;
|
|
31359
31395
|
/**
|
|
31360
|
-
* The **`speaking`** read-only property of the `true` if an utterance is currently in the process of being spoken — even if `SpeechSynthesis` is in a
|
|
31396
|
+
* The **`speaking`** read-only property of the SpeechSynthesis interface is a boolean value that returns `true` if an utterance is currently in the process of being spoken — even if `SpeechSynthesis` is in a SpeechSynthesis/pause() state.
|
|
31361
31397
|
*
|
|
31362
31398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/speaking)
|
|
31363
31399
|
*/
|
|
@@ -31369,7 +31405,7 @@ interface SpeechSynthesis extends EventTarget {
|
|
|
31369
31405
|
*/
|
|
31370
31406
|
cancel(): void;
|
|
31371
31407
|
/**
|
|
31372
|
-
* The **`getVoices()`** method of the current device.
|
|
31408
|
+
* The **`getVoices()`** method of the SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device.
|
|
31373
31409
|
*
|
|
31374
31410
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/getVoices)
|
|
31375
31411
|
*/
|
|
@@ -31410,7 +31446,7 @@ declare var SpeechSynthesis: {
|
|
|
31410
31446
|
*/
|
|
31411
31447
|
interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {
|
|
31412
31448
|
/**
|
|
31413
|
-
* The **`error`** property of the
|
|
31449
|
+
* The **`error`** property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt.
|
|
31414
31450
|
*
|
|
31415
31451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisErrorEvent/error)
|
|
31416
31452
|
*/
|
|
@@ -31514,7 +31550,7 @@ interface SpeechSynthesisUtterance extends EventTarget {
|
|
|
31514
31550
|
*/
|
|
31515
31551
|
rate: number;
|
|
31516
31552
|
/**
|
|
31517
|
-
* The **`text`** property of the
|
|
31553
|
+
* The **`text`** property of the SpeechSynthesisUtterance interface gets and sets the text that will be synthesized when the utterance is spoken.
|
|
31518
31554
|
*
|
|
31519
31555
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/text)
|
|
31520
31556
|
*/
|
|
@@ -31549,7 +31585,7 @@ declare var SpeechSynthesisUtterance: {
|
|
|
31549
31585
|
*/
|
|
31550
31586
|
interface SpeechSynthesisVoice {
|
|
31551
31587
|
/**
|
|
31552
|
-
* The **`default`** read-only property of the indicating whether the voice is the default voice for the current app (`true`), or not (`false`.)
|
|
31588
|
+
* The **`default`** read-only property of the SpeechSynthesisVoice interface returns a boolean value indicating whether the voice is the default voice for the current app (`true`), or not (`false`.)
|
|
31553
31589
|
*
|
|
31554
31590
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/default)
|
|
31555
31591
|
*/
|
|
@@ -31561,19 +31597,19 @@ interface SpeechSynthesisVoice {
|
|
|
31561
31597
|
*/
|
|
31562
31598
|
readonly lang: string;
|
|
31563
31599
|
/**
|
|
31564
|
-
* The **`localService`** read-only property of the indicating whether the voice is supplied by a local speech synthesizer service (`true`), or a remote speech synthesizer service (`false`.)
|
|
31600
|
+
* The **`localService`** read-only property of the SpeechSynthesisVoice interface returns a boolean value indicating whether the voice is supplied by a local speech synthesizer service (`true`), or a remote speech synthesizer service (`false`.)
|
|
31565
31601
|
*
|
|
31566
31602
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/localService)
|
|
31567
31603
|
*/
|
|
31568
31604
|
readonly localService: boolean;
|
|
31569
31605
|
/**
|
|
31570
|
-
* The **`name`** read-only property of the represents the voice.
|
|
31606
|
+
* The **`name`** read-only property of the SpeechSynthesisVoice interface returns a human-readable name that represents the voice.
|
|
31571
31607
|
*
|
|
31572
31608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/name)
|
|
31573
31609
|
*/
|
|
31574
31610
|
readonly name: string;
|
|
31575
31611
|
/**
|
|
31576
|
-
* The **`voiceURI`** read-only property of the the speech synthesis service for this voice.
|
|
31612
|
+
* The **`voiceURI`** read-only property of the SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice.
|
|
31577
31613
|
*
|
|
31578
31614
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/voiceURI)
|
|
31579
31615
|
*/
|
|
@@ -31624,7 +31660,7 @@ declare var StereoPannerNode: {
|
|
|
31624
31660
|
*/
|
|
31625
31661
|
interface Storage {
|
|
31626
31662
|
/**
|
|
31627
|
-
* The **`length`** read-only property of the `Storage` object.
|
|
31663
|
+
* The **`length`** read-only property of the Storage interface returns the number of data items stored in a given `Storage` object.
|
|
31628
31664
|
*
|
|
31629
31665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/length)
|
|
31630
31666
|
*/
|
|
@@ -31768,7 +31804,7 @@ interface StyleMedia {
|
|
|
31768
31804
|
*/
|
|
31769
31805
|
interface StylePropertyMap extends StylePropertyMapReadOnly {
|
|
31770
31806
|
/**
|
|
31771
|
-
* The **`append()`** method of the `StylePropertyMap` with the given property.
|
|
31807
|
+
* The **`append()`** method of the StylePropertyMap interface adds the passed CSS value to the `StylePropertyMap` with the given property.
|
|
31772
31808
|
*
|
|
31773
31809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/append)
|
|
31774
31810
|
*/
|
|
@@ -31780,7 +31816,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly {
|
|
|
31780
31816
|
*/
|
|
31781
31817
|
clear(): void;
|
|
31782
31818
|
/**
|
|
31783
|
-
* The **`delete()`** method of the property.
|
|
31819
|
+
* The **`delete()`** method of the StylePropertyMap interface removes the CSS declaration with the given property.
|
|
31784
31820
|
*
|
|
31785
31821
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/delete)
|
|
31786
31822
|
*/
|
|
@@ -31805,25 +31841,25 @@ declare var StylePropertyMap: {
|
|
|
31805
31841
|
*/
|
|
31806
31842
|
interface StylePropertyMapReadOnly {
|
|
31807
31843
|
/**
|
|
31808
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
31844
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
31809
31845
|
*
|
|
31810
31846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
31811
31847
|
*/
|
|
31812
31848
|
readonly size: number;
|
|
31813
31849
|
/**
|
|
31814
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
31850
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
31815
31851
|
*
|
|
31816
31852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
31817
31853
|
*/
|
|
31818
31854
|
get(property: string): undefined | CSSStyleValue;
|
|
31819
31855
|
/**
|
|
31820
|
-
* The **`getAll()`** method of the
|
|
31856
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
31821
31857
|
*
|
|
31822
31858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
31823
31859
|
*/
|
|
31824
31860
|
getAll(property: string): CSSStyleValue[];
|
|
31825
31861
|
/**
|
|
31826
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
31862
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
31827
31863
|
*
|
|
31828
31864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
31829
31865
|
*/
|
|
@@ -31843,7 +31879,7 @@ declare var StylePropertyMapReadOnly: {
|
|
|
31843
31879
|
*/
|
|
31844
31880
|
interface StyleSheet {
|
|
31845
31881
|
/**
|
|
31846
|
-
* The **`disabled`** property of the applying to the document.
|
|
31882
|
+
* The **`disabled`** property of the StyleSheet interface determines whether the style sheet is prevented from applying to the document.
|
|
31847
31883
|
*
|
|
31848
31884
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/disabled)
|
|
31849
31885
|
*/
|
|
@@ -31862,13 +31898,13 @@ interface StyleSheet {
|
|
|
31862
31898
|
get media(): MediaList;
|
|
31863
31899
|
set media(mediaText: string);
|
|
31864
31900
|
/**
|
|
31865
|
-
* The **`ownerNode`** property of the with the document.
|
|
31901
|
+
* The **`ownerNode`** property of the StyleSheet interface returns the node that associates this style sheet with the document.
|
|
31866
31902
|
*
|
|
31867
31903
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode)
|
|
31868
31904
|
*/
|
|
31869
31905
|
readonly ownerNode: Element | ProcessingInstruction | null;
|
|
31870
31906
|
/**
|
|
31871
|
-
* The **`parentStyleSheet`** property of the the given style sheet.
|
|
31907
|
+
* The **`parentStyleSheet`** property of the StyleSheet interface returns the style sheet, if any, that is including the given style sheet.
|
|
31872
31908
|
*
|
|
31873
31909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet)
|
|
31874
31910
|
*/
|
|
@@ -31951,7 +31987,7 @@ interface SubtleCrypto {
|
|
|
31951
31987
|
*/
|
|
31952
31988
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
31953
31989
|
/**
|
|
31954
|
-
* The **`deriveBits()`** method of the key.
|
|
31990
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
31955
31991
|
*
|
|
31956
31992
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
31957
31993
|
*/
|
|
@@ -32462,7 +32498,7 @@ interface TextTrackList extends EventTarget {
|
|
|
32462
32498
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
|
|
32463
32499
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
32464
32500
|
/**
|
|
32465
|
-
* The **TextTrackList** method **`getTrackById()`** returns the first `id` matches the specified string.
|
|
32501
|
+
* The **TextTrackList** method **`getTrackById()`** returns the first TextTrack object from the track list whose `id` matches the specified string.
|
|
32466
32502
|
*
|
|
32467
32503
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById)
|
|
32468
32504
|
*/
|
|
@@ -32633,7 +32669,7 @@ interface TouchEvent extends UIEvent {
|
|
|
32633
32669
|
*/
|
|
32634
32670
|
readonly altKey: boolean;
|
|
32635
32671
|
/**
|
|
32636
|
-
* The **`changedTouches`** read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
|
|
32672
|
+
* The **`changedTouches`** read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
|
|
32637
32673
|
*
|
|
32638
32674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/changedTouches)
|
|
32639
32675
|
*/
|
|
@@ -32820,7 +32856,7 @@ declare var TransitionEvent: {
|
|
|
32820
32856
|
*/
|
|
32821
32857
|
interface TreeWalker {
|
|
32822
32858
|
/**
|
|
32823
|
-
* The **`TreeWalker.currentNode`** property represents the
|
|
32859
|
+
* The **`TreeWalker.currentNode`** property represents the Node which the TreeWalker is currently pointing at.
|
|
32824
32860
|
*
|
|
32825
32861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/currentNode)
|
|
32826
32862
|
*/
|
|
@@ -32844,43 +32880,43 @@ interface TreeWalker {
|
|
|
32844
32880
|
*/
|
|
32845
32881
|
readonly whatToShow: number;
|
|
32846
32882
|
/**
|
|
32847
|
-
* The **`TreeWalker.firstChild()`** method moves the current the found child.
|
|
32883
|
+
* The **`TreeWalker.firstChild()`** method moves the current Node to the first _visible_ child of the current node, and returns the found child.
|
|
32848
32884
|
*
|
|
32849
32885
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/firstChild)
|
|
32850
32886
|
*/
|
|
32851
32887
|
firstChild(): Node | null;
|
|
32852
32888
|
/**
|
|
32853
|
-
* The **`TreeWalker.lastChild()`** method moves the current the found child.
|
|
32889
|
+
* The **`TreeWalker.lastChild()`** method moves the current Node to the last _visible_ child of the current node, and returns the found child.
|
|
32854
32890
|
*
|
|
32855
32891
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/lastChild)
|
|
32856
32892
|
*/
|
|
32857
32893
|
lastChild(): Node | null;
|
|
32858
32894
|
/**
|
|
32859
|
-
* The **`TreeWalker.nextNode()`** method moves the current the found node.
|
|
32895
|
+
* The **`TreeWalker.nextNode()`** method moves the current Node to the next _visible_ node in the document order, and returns the found node.
|
|
32860
32896
|
*
|
|
32861
32897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextNode)
|
|
32862
32898
|
*/
|
|
32863
32899
|
nextNode(): Node | null;
|
|
32864
32900
|
/**
|
|
32865
|
-
* The **`TreeWalker.nextSibling()`** method moves the current
|
|
32901
|
+
* The **`TreeWalker.nextSibling()`** method moves the current Node to its next sibling, if any, and returns the found sibling.
|
|
32866
32902
|
*
|
|
32867
32903
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextSibling)
|
|
32868
32904
|
*/
|
|
32869
32905
|
nextSibling(): Node | null;
|
|
32870
32906
|
/**
|
|
32871
|
-
* The **`TreeWalker.parentNode()`** method moves the current and returns the found node.
|
|
32907
|
+
* The **`TreeWalker.parentNode()`** method moves the current Node to the first _visible_ ancestor node in the document order, and returns the found node.
|
|
32872
32908
|
*
|
|
32873
32909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/parentNode)
|
|
32874
32910
|
*/
|
|
32875
32911
|
parentNode(): Node | null;
|
|
32876
32912
|
/**
|
|
32877
|
-
* The **`TreeWalker.previousNode()`** method moves the current returns the found node.
|
|
32913
|
+
* The **`TreeWalker.previousNode()`** method moves the current Node to the previous _visible_ node in the document order, and returns the found node.
|
|
32878
32914
|
*
|
|
32879
32915
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousNode)
|
|
32880
32916
|
*/
|
|
32881
32917
|
previousNode(): Node | null;
|
|
32882
32918
|
/**
|
|
32883
|
-
* The **`TreeWalker.previousSibling()`** method moves the current
|
|
32919
|
+
* The **`TreeWalker.previousSibling()`** method moves the current Node to its previous sibling, if any, and returns the found sibling.
|
|
32884
32920
|
*
|
|
32885
32921
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousSibling)
|
|
32886
32922
|
*/
|
|
@@ -32905,7 +32941,7 @@ interface UIEvent extends Event {
|
|
|
32905
32941
|
*/
|
|
32906
32942
|
readonly detail: number;
|
|
32907
32943
|
/**
|
|
32908
|
-
* The **`UIEvent.view`** read-only property returns the
|
|
32944
|
+
* The **`UIEvent.view`** read-only property returns the WindowProxy object from which the event was generated.
|
|
32909
32945
|
*
|
|
32910
32946
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/view)
|
|
32911
32947
|
*/
|
|
@@ -32999,7 +33035,7 @@ interface URL {
|
|
|
32999
33035
|
*/
|
|
33000
33036
|
search: string;
|
|
33001
33037
|
/**
|
|
33002
|
-
* The **`searchParams`** read-only property of the access to the
|
|
33038
|
+
* The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
|
|
33003
33039
|
*
|
|
33004
33040
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
33005
33041
|
*/
|
|
@@ -33011,7 +33047,7 @@ interface URL {
|
|
|
33011
33047
|
*/
|
|
33012
33048
|
username: string;
|
|
33013
33049
|
/**
|
|
33014
|
-
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as
|
|
33050
|
+
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
|
|
33015
33051
|
*
|
|
33016
33052
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
33017
33053
|
*/
|
|
@@ -33040,7 +33076,7 @@ declare var URL: {
|
|
|
33040
33076
|
*/
|
|
33041
33077
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
33042
33078
|
/**
|
|
33043
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
33079
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
33044
33080
|
*
|
|
33045
33081
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
33046
33082
|
*/
|
|
@@ -33700,7 +33736,7 @@ interface VideoPlaybackQuality {
|
|
|
33700
33736
|
*/
|
|
33701
33737
|
readonly corruptedVideoFrames: number;
|
|
33702
33738
|
/**
|
|
33703
|
-
* The read-only **`creationTime`** property on the the browsing context was created this quality sample was recorded.
|
|
33739
|
+
* The read-only **`creationTime`** property on the VideoPlaybackQuality interface reports the number of milliseconds since the browsing context was created this quality sample was recorded.
|
|
33704
33740
|
*
|
|
33705
33741
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/creationTime)
|
|
33706
33742
|
*/
|
|
@@ -33762,26 +33798,26 @@ declare var ViewTimeline: {
|
|
|
33762
33798
|
*/
|
|
33763
33799
|
interface ViewTransition {
|
|
33764
33800
|
/**
|
|
33765
|
-
* The **`finished`** read-only property of the
|
|
33801
|
+
* The **`finished`** read-only property of the ViewTransition interface is a Promise that fulfills once the transition animation is finished, and the new page view is visible and interactive to the user.
|
|
33766
33802
|
*
|
|
33767
33803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished)
|
|
33768
33804
|
*/
|
|
33769
33805
|
readonly finished: Promise<void>;
|
|
33770
33806
|
/**
|
|
33771
|
-
* The **`ready`** read-only property of the
|
|
33807
|
+
* The **`ready`** read-only property of the ViewTransition interface is a Promise that fulfills once the pseudo-element tree is created and the transition animation is about to start.
|
|
33772
33808
|
*
|
|
33773
33809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
|
|
33774
33810
|
*/
|
|
33775
33811
|
readonly ready: Promise<void>;
|
|
33776
33812
|
types: ViewTransitionTypeSet;
|
|
33777
33813
|
/**
|
|
33778
|
-
* The **`updateCallbackDone`** read-only property of the
|
|
33814
|
+
* The **`updateCallbackDone`** read-only property of the ViewTransition interface is a Promise that fulfills when the promise returned by the Document.startViewTransition() method's callback fulfills, or rejects when it rejects.
|
|
33779
33815
|
*
|
|
33780
33816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone)
|
|
33781
33817
|
*/
|
|
33782
33818
|
readonly updateCallbackDone: Promise<void>;
|
|
33783
33819
|
/**
|
|
33784
|
-
* The **`skipTransition()`** method of the
|
|
33820
|
+
* The **`skipTransition()`** method of the ViewTransition interface skips the animation part of the view transition, but doesn't skip running the associated view update.
|
|
33785
33821
|
*
|
|
33786
33822
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition)
|
|
33787
33823
|
*/
|
|
@@ -36511,7 +36547,7 @@ interface WebSocket extends EventTarget {
|
|
|
36511
36547
|
*/
|
|
36512
36548
|
readonly url: string;
|
|
36513
36549
|
/**
|
|
36514
|
-
* The **`WebSocket.close()`** method closes the
|
|
36550
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
36515
36551
|
*
|
|
36516
36552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
36517
36553
|
*/
|
|
@@ -36720,19 +36756,19 @@ interface WheelEvent extends MouseEvent {
|
|
|
36720
36756
|
*/
|
|
36721
36757
|
readonly deltaMode: number;
|
|
36722
36758
|
/**
|
|
36723
|
-
* The **`WheelEvent.deltaX`** read-only property is a `double` representing the horizontal scroll amount in the
|
|
36759
|
+
* The **`WheelEvent.deltaX`** read-only property is a `double` representing the horizontal scroll amount in the WheelEvent.deltaMode unit.
|
|
36724
36760
|
*
|
|
36725
36761
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaX)
|
|
36726
36762
|
*/
|
|
36727
36763
|
readonly deltaX: number;
|
|
36728
36764
|
/**
|
|
36729
|
-
* The **`WheelEvent.deltaY`** read-only property is a `double` representing the vertical scroll amount in the
|
|
36765
|
+
* The **`WheelEvent.deltaY`** read-only property is a `double` representing the vertical scroll amount in the WheelEvent.deltaMode unit.
|
|
36730
36766
|
*
|
|
36731
36767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaY)
|
|
36732
36768
|
*/
|
|
36733
36769
|
readonly deltaY: number;
|
|
36734
36770
|
/**
|
|
36735
|
-
* The **`WheelEvent.deltaZ`** read-only property is a `double` representing the scroll amount along the z-axis, in the
|
|
36771
|
+
* The **`WheelEvent.deltaZ`** read-only property is a `double` representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.
|
|
36736
36772
|
*
|
|
36737
36773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaZ)
|
|
36738
36774
|
*/
|
|
@@ -36835,7 +36871,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
36835
36871
|
*/
|
|
36836
36872
|
readonly history: History;
|
|
36837
36873
|
/**
|
|
36838
|
-
* The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.
|
|
36874
|
+
* The read-only **`innerHeight`** property of the Window interface returns the interior height of the window in pixels, including the height of the horizontal scroll bar, if present.
|
|
36839
36875
|
*
|
|
36840
36876
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)
|
|
36841
36877
|
*/
|
|
@@ -36847,7 +36883,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
36847
36883
|
*/
|
|
36848
36884
|
readonly innerWidth: number;
|
|
36849
36885
|
/**
|
|
36850
|
-
* Returns the number of frames (either frame or
|
|
36886
|
+
* Returns the number of frames (either frame or iframe elements) in the window.
|
|
36851
36887
|
*
|
|
36852
36888
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)
|
|
36853
36889
|
*/
|
|
@@ -37015,7 +37051,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37015
37051
|
*/
|
|
37016
37052
|
readonly speechSynthesis: SpeechSynthesis;
|
|
37017
37053
|
/**
|
|
37018
|
-
* The **`status`** property of the bar at the bottom of the browser window.
|
|
37054
|
+
* The **`status`** property of the Window interface was originally intended to set the text in the status bar at the bottom of the browser window.
|
|
37019
37055
|
* @deprecated
|
|
37020
37056
|
*
|
|
37021
37057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)
|
|
@@ -37383,7 +37419,7 @@ declare var Worker: {
|
|
|
37383
37419
|
*/
|
|
37384
37420
|
interface Worklet {
|
|
37385
37421
|
/**
|
|
37386
|
-
* The **`addModule()`** method of the adds it to the current `Worklet`.
|
|
37422
|
+
* The **`addModule()`** method of the Worklet interface loads the module in the given JavaScript file and adds it to the current `Worklet`.
|
|
37387
37423
|
*
|
|
37388
37424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worklet/addModule)
|
|
37389
37425
|
*/
|
|
@@ -37445,7 +37481,7 @@ interface WritableStreamDefaultController {
|
|
|
37445
37481
|
*/
|
|
37446
37482
|
readonly signal: AbortSignal;
|
|
37447
37483
|
/**
|
|
37448
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
37484
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
37449
37485
|
*
|
|
37450
37486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
37451
37487
|
*/
|
|
@@ -37464,43 +37500,43 @@ declare var WritableStreamDefaultController: {
|
|
|
37464
37500
|
*/
|
|
37465
37501
|
interface WritableStreamDefaultWriter<W = any> {
|
|
37466
37502
|
/**
|
|
37467
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
37503
|
+
* The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
|
|
37468
37504
|
*
|
|
37469
37505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
37470
37506
|
*/
|
|
37471
37507
|
readonly closed: Promise<void>;
|
|
37472
37508
|
/**
|
|
37473
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
37509
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
37474
37510
|
*
|
|
37475
37511
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
37476
37512
|
*/
|
|
37477
37513
|
readonly desiredSize: number | null;
|
|
37478
37514
|
/**
|
|
37479
|
-
* The **`ready`** read-only property of the 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.
|
|
37515
|
+
* The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
|
|
37480
37516
|
*
|
|
37481
37517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
37482
37518
|
*/
|
|
37483
37519
|
readonly ready: Promise<void>;
|
|
37484
37520
|
/**
|
|
37485
|
-
* The **`abort()`** method of the 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.
|
|
37521
|
+
* The **`abort()`** method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
|
|
37486
37522
|
*
|
|
37487
37523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
37488
37524
|
*/
|
|
37489
37525
|
abort(reason?: any): Promise<void>;
|
|
37490
37526
|
/**
|
|
37491
|
-
* The **`close()`** method of the stream.
|
|
37527
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
37492
37528
|
*
|
|
37493
37529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
37494
37530
|
*/
|
|
37495
37531
|
close(): Promise<void>;
|
|
37496
37532
|
/**
|
|
37497
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
37533
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
37498
37534
|
*
|
|
37499
37535
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
37500
37536
|
*/
|
|
37501
37537
|
releaseLock(): void;
|
|
37502
37538
|
/**
|
|
37503
|
-
* The **`write()`** method of the operation.
|
|
37539
|
+
* The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
|
|
37504
37540
|
*
|
|
37505
37541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
37506
37542
|
*/
|
|
@@ -37774,7 +37810,7 @@ interface XPathEvaluatorBase {
|
|
|
37774
37810
|
*/
|
|
37775
37811
|
interface XPathExpression {
|
|
37776
37812
|
/**
|
|
37777
|
-
* The **`evaluate()`** method of the returns an XPathResult.
|
|
37813
|
+
* The **`evaluate()`** method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult.
|
|
37778
37814
|
*
|
|
37779
37815
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathExpression/evaluate)
|
|
37780
37816
|
*/
|
|
@@ -37793,55 +37829,55 @@ declare var XPathExpression: {
|
|
|
37793
37829
|
*/
|
|
37794
37830
|
interface XPathResult {
|
|
37795
37831
|
/**
|
|
37796
|
-
* The read-only **`booleanValue`** property of the
|
|
37832
|
+
* The read-only **`booleanValue`** property of the XPathResult interface returns the boolean value of a result with XPathResult.resultType being `BOOLEAN_TYPE`.
|
|
37797
37833
|
*
|
|
37798
37834
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/booleanValue)
|
|
37799
37835
|
*/
|
|
37800
37836
|
readonly booleanValue: boolean;
|
|
37801
37837
|
/**
|
|
37802
|
-
* The read-only **`invalidIteratorState`** property of the
|
|
37838
|
+
* The read-only **`invalidIteratorState`** property of the XPathResult interface signifies that the iterator has become invalid.
|
|
37803
37839
|
*
|
|
37804
37840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/invalidIteratorState)
|
|
37805
37841
|
*/
|
|
37806
37842
|
readonly invalidIteratorState: boolean;
|
|
37807
37843
|
/**
|
|
37808
|
-
* The read-only **`numberValue`** property of the
|
|
37844
|
+
* The read-only **`numberValue`** property of the XPathResult interface returns the numeric value of a result with XPathResult.resultType being `NUMBER_TYPE`.
|
|
37809
37845
|
*
|
|
37810
37846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/numberValue)
|
|
37811
37847
|
*/
|
|
37812
37848
|
readonly numberValue: number;
|
|
37813
37849
|
/**
|
|
37814
|
-
* The read-only **`resultType`** property of the the type constants.
|
|
37850
|
+
* The read-only **`resultType`** property of the XPathResult interface represents the type of the result, as defined by the type constants.
|
|
37815
37851
|
*
|
|
37816
37852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/resultType)
|
|
37817
37853
|
*/
|
|
37818
37854
|
readonly resultType: number;
|
|
37819
37855
|
/**
|
|
37820
|
-
* The read-only **`singleNodeValue`** property of the `null` in case no node was matched of a result with `FIRST_ORDERED_NODE_TYPE`.
|
|
37856
|
+
* The read-only **`singleNodeValue`** property of the XPathResult interface returns a Node value or `null` in case no node was matched of a result with XPathResult.resultType being `ANY_UNORDERED_NODE_TYPE` or `FIRST_ORDERED_NODE_TYPE`.
|
|
37821
37857
|
*
|
|
37822
37858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/singleNodeValue)
|
|
37823
37859
|
*/
|
|
37824
37860
|
readonly singleNodeValue: Node | null;
|
|
37825
37861
|
/**
|
|
37826
|
-
* The read-only **`snapshotLength`** property of the snapshot.
|
|
37862
|
+
* The read-only **`snapshotLength`** property of the XPathResult interface represents the number of nodes in the result snapshot.
|
|
37827
37863
|
*
|
|
37828
37864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotLength)
|
|
37829
37865
|
*/
|
|
37830
37866
|
readonly snapshotLength: number;
|
|
37831
37867
|
/**
|
|
37832
|
-
* The read-only **`stringValue`** property of the
|
|
37868
|
+
* The read-only **`stringValue`** property of the XPathResult interface returns the string value of a result with XPathResult.resultType being `STRING_TYPE`.
|
|
37833
37869
|
*
|
|
37834
37870
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/stringValue)
|
|
37835
37871
|
*/
|
|
37836
37872
|
readonly stringValue: string;
|
|
37837
37873
|
/**
|
|
37838
|
-
* The **`iterateNext()`** method of the next node from it or `null` if there are no more nodes.
|
|
37874
|
+
* The **`iterateNext()`** method of the XPathResult interface iterates over a node set result and returns the next node from it or `null` if there are no more nodes.
|
|
37839
37875
|
*
|
|
37840
37876
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/iterateNext)
|
|
37841
37877
|
*/
|
|
37842
37878
|
iterateNext(): Node | null;
|
|
37843
37879
|
/**
|
|
37844
|
-
* The **`snapshotItem()`** method of the `null` in case the index is not within the range of nodes.
|
|
37880
|
+
* The **`snapshotItem()`** method of the XPathResult interface returns an item of the snapshot collection or `null` in case the index is not within the range of nodes.
|
|
37845
37881
|
*
|
|
37846
37882
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotItem)
|
|
37847
37883
|
*/
|
|
@@ -38089,7 +38125,11 @@ declare namespace WebAssembly {
|
|
|
38089
38125
|
(message?: string): CompileError;
|
|
38090
38126
|
};
|
|
38091
38127
|
|
|
38092
|
-
/**
|
|
38128
|
+
/**
|
|
38129
|
+
* A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
|
|
38130
|
+
*
|
|
38131
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
38132
|
+
*/
|
|
38093
38133
|
interface Global<T extends ValueType = ValueType> {
|
|
38094
38134
|
value: ValueTypeMap[T];
|
|
38095
38135
|
valueOf(): ValueTypeMap[T];
|
|
@@ -38100,9 +38140,17 @@ declare namespace WebAssembly {
|
|
|
38100
38140
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
38101
38141
|
};
|
|
38102
38142
|
|
|
38103
|
-
/**
|
|
38143
|
+
/**
|
|
38144
|
+
* A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
|
|
38145
|
+
*
|
|
38146
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
|
|
38147
|
+
*/
|
|
38104
38148
|
interface Instance {
|
|
38105
|
-
/**
|
|
38149
|
+
/**
|
|
38150
|
+
* The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
|
|
38151
|
+
*
|
|
38152
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
|
|
38153
|
+
*/
|
|
38106
38154
|
readonly exports: Exports;
|
|
38107
38155
|
}
|
|
38108
38156
|
|
|
@@ -38120,11 +38168,23 @@ declare namespace WebAssembly {
|
|
|
38120
38168
|
(message?: string): LinkError;
|
|
38121
38169
|
};
|
|
38122
38170
|
|
|
38123
|
-
/**
|
|
38171
|
+
/**
|
|
38172
|
+
* The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
|
|
38173
|
+
*
|
|
38174
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
|
|
38175
|
+
*/
|
|
38124
38176
|
interface Memory {
|
|
38125
|
-
/**
|
|
38177
|
+
/**
|
|
38178
|
+
* The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
|
|
38179
|
+
*
|
|
38180
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
|
|
38181
|
+
*/
|
|
38126
38182
|
readonly buffer: ArrayBuffer;
|
|
38127
|
-
/**
|
|
38183
|
+
/**
|
|
38184
|
+
* The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
|
|
38185
|
+
*
|
|
38186
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
|
|
38187
|
+
*/
|
|
38128
38188
|
grow(delta: number): number;
|
|
38129
38189
|
}
|
|
38130
38190
|
|
|
@@ -38133,18 +38193,34 @@ declare namespace WebAssembly {
|
|
|
38133
38193
|
new(descriptor: MemoryDescriptor): Memory;
|
|
38134
38194
|
};
|
|
38135
38195
|
|
|
38136
|
-
/**
|
|
38196
|
+
/**
|
|
38197
|
+
* A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
|
|
38198
|
+
*
|
|
38199
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
|
|
38200
|
+
*/
|
|
38137
38201
|
interface Module {
|
|
38138
38202
|
}
|
|
38139
38203
|
|
|
38140
38204
|
var Module: {
|
|
38141
38205
|
prototype: Module;
|
|
38142
38206
|
new(bytes: BufferSource): Module;
|
|
38143
|
-
/**
|
|
38207
|
+
/**
|
|
38208
|
+
* The **`WebAssembly.Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
38209
|
+
*
|
|
38210
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
|
|
38211
|
+
*/
|
|
38144
38212
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
38145
|
-
/**
|
|
38213
|
+
/**
|
|
38214
|
+
* The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
|
|
38215
|
+
*
|
|
38216
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
|
|
38217
|
+
*/
|
|
38146
38218
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
38147
|
-
/**
|
|
38219
|
+
/**
|
|
38220
|
+
* The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
|
|
38221
|
+
*
|
|
38222
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
|
|
38223
|
+
*/
|
|
38148
38224
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
38149
38225
|
};
|
|
38150
38226
|
|
|
@@ -38157,15 +38233,35 @@ declare namespace WebAssembly {
|
|
|
38157
38233
|
(message?: string): RuntimeError;
|
|
38158
38234
|
};
|
|
38159
38235
|
|
|
38160
|
-
/**
|
|
38236
|
+
/**
|
|
38237
|
+
* The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
|
|
38238
|
+
*
|
|
38239
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
|
|
38240
|
+
*/
|
|
38161
38241
|
interface Table {
|
|
38162
|
-
/**
|
|
38242
|
+
/**
|
|
38243
|
+
* The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
|
|
38244
|
+
*
|
|
38245
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
|
|
38246
|
+
*/
|
|
38163
38247
|
readonly length: number;
|
|
38164
|
-
/**
|
|
38248
|
+
/**
|
|
38249
|
+
* The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
|
|
38250
|
+
*
|
|
38251
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
|
|
38252
|
+
*/
|
|
38165
38253
|
get(index: number): any;
|
|
38166
|
-
/**
|
|
38254
|
+
/**
|
|
38255
|
+
* The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
|
|
38256
|
+
*
|
|
38257
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
|
|
38258
|
+
*/
|
|
38167
38259
|
grow(delta: number, value?: any): number;
|
|
38168
|
-
/**
|
|
38260
|
+
/**
|
|
38261
|
+
* The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
|
|
38262
|
+
*
|
|
38263
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
|
|
38264
|
+
*/
|
|
38169
38265
|
set(index: number, value?: any): void;
|
|
38170
38266
|
}
|
|
38171
38267
|
|
|
@@ -38871,7 +38967,7 @@ declare var frames: WindowProxy;
|
|
|
38871
38967
|
*/
|
|
38872
38968
|
declare var history: History;
|
|
38873
38969
|
/**
|
|
38874
|
-
* The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.
|
|
38970
|
+
* The read-only **`innerHeight`** property of the Window interface returns the interior height of the window in pixels, including the height of the horizontal scroll bar, if present.
|
|
38875
38971
|
*
|
|
38876
38972
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)
|
|
38877
38973
|
*/
|
|
@@ -38883,7 +38979,7 @@ declare var innerHeight: number;
|
|
|
38883
38979
|
*/
|
|
38884
38980
|
declare var innerWidth: number;
|
|
38885
38981
|
/**
|
|
38886
|
-
* Returns the number of frames (either frame or
|
|
38982
|
+
* Returns the number of frames (either frame or iframe elements) in the window.
|
|
38887
38983
|
*
|
|
38888
38984
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)
|
|
38889
38985
|
*/
|
|
@@ -39051,7 +39147,7 @@ declare var self: Window & typeof globalThis;
|
|
|
39051
39147
|
*/
|
|
39052
39148
|
declare var speechSynthesis: SpeechSynthesis;
|
|
39053
39149
|
/**
|
|
39054
|
-
* The **`status`** property of the bar at the bottom of the browser window.
|
|
39150
|
+
* The **`status`** property of the Window interface was originally intended to set the text in the status bar at the bottom of the browser window.
|
|
39055
39151
|
* @deprecated
|
|
39056
39152
|
*
|
|
39057
39153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)
|