@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.5/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
|
*/
|
|
@@ -4842,19 +4860,19 @@ declare var CSSFontPaletteValuesRule: {
|
|
|
4842
4860
|
*/
|
|
4843
4861
|
interface CSSGroupingRule extends CSSRule {
|
|
4844
4862
|
/**
|
|
4845
|
-
* The **`cssRules`** property of the a collection of CSSRule objects.
|
|
4863
|
+
* The **`cssRules`** property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.
|
|
4846
4864
|
*
|
|
4847
4865
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/cssRules)
|
|
4848
4866
|
*/
|
|
4849
4867
|
readonly cssRules: CSSRuleList;
|
|
4850
4868
|
/**
|
|
4851
|
-
* The **`deleteRule()`** method of the rules.
|
|
4869
|
+
* The **`deleteRule()`** method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
|
|
4852
4870
|
*
|
|
4853
4871
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/deleteRule)
|
|
4854
4872
|
*/
|
|
4855
4873
|
deleteRule(index: number): void;
|
|
4856
4874
|
/**
|
|
4857
|
-
* The **`insertRule()`** method of the
|
|
4875
|
+
* The **`insertRule()`** method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
|
|
4858
4876
|
*
|
|
4859
4877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)
|
|
4860
4878
|
*/
|
|
@@ -4886,7 +4904,7 @@ declare var CSSImageValue: {
|
|
|
4886
4904
|
*/
|
|
4887
4905
|
interface CSSImportRule extends CSSRule {
|
|
4888
4906
|
/**
|
|
4889
|
-
* The read-only **`href`** property of the
|
|
4907
|
+
* The read-only **`href`** property of the CSSImportRule interface returns the URL specified by the @import at-rule.
|
|
4890
4908
|
*
|
|
4891
4909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/href)
|
|
4892
4910
|
*/
|
|
@@ -4898,13 +4916,13 @@ interface CSSImportRule extends CSSRule {
|
|
|
4898
4916
|
*/
|
|
4899
4917
|
readonly layerName: string | null;
|
|
4900
4918
|
/**
|
|
4901
|
-
* The read-only **`media`** property of the containing the value of the `media` attribute of the associated stylesheet.
|
|
4919
|
+
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object, containing the value of the `media` attribute of the associated stylesheet.
|
|
4902
4920
|
*
|
|
4903
4921
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
|
|
4904
4922
|
*/
|
|
4905
4923
|
readonly media: MediaList;
|
|
4906
4924
|
/**
|
|
4907
|
-
* The read-only **`styleSheet`** property of the
|
|
4925
|
+
* The read-only **`styleSheet`** property of the CSSImportRule interface returns the CSS Stylesheet specified by the @import at-rule.
|
|
4908
4926
|
*
|
|
4909
4927
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet)
|
|
4910
4928
|
*/
|
|
@@ -5004,7 +5022,7 @@ declare var CSSKeyframesRule: {
|
|
|
5004
5022
|
*/
|
|
5005
5023
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
5006
5024
|
/**
|
|
5007
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
5025
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
5008
5026
|
*
|
|
5009
5027
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
5010
5028
|
*/
|
|
@@ -5072,7 +5090,7 @@ declare var CSSMathClamp: {
|
|
|
5072
5090
|
*/
|
|
5073
5091
|
interface CSSMathInvert extends CSSMathValue {
|
|
5074
5092
|
/**
|
|
5075
|
-
* The CSSMathInvert.value read-only property of the
|
|
5093
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
5076
5094
|
*
|
|
5077
5095
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
5078
5096
|
*/
|
|
@@ -5091,7 +5109,7 @@ declare var CSSMathInvert: {
|
|
|
5091
5109
|
*/
|
|
5092
5110
|
interface CSSMathMax extends CSSMathValue {
|
|
5093
5111
|
/**
|
|
5094
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
5112
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5095
5113
|
*
|
|
5096
5114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
5097
5115
|
*/
|
|
@@ -5110,7 +5128,7 @@ declare var CSSMathMax: {
|
|
|
5110
5128
|
*/
|
|
5111
5129
|
interface CSSMathMin extends CSSMathValue {
|
|
5112
5130
|
/**
|
|
5113
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
5131
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5114
5132
|
*
|
|
5115
5133
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
5116
5134
|
*/
|
|
@@ -5129,7 +5147,7 @@ declare var CSSMathMin: {
|
|
|
5129
5147
|
*/
|
|
5130
5148
|
interface CSSMathNegate extends CSSMathValue {
|
|
5131
5149
|
/**
|
|
5132
|
-
* The CSSMathNegate.value read-only property of the
|
|
5150
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
5133
5151
|
*
|
|
5134
5152
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
5135
5153
|
*/
|
|
@@ -5148,7 +5166,7 @@ declare var CSSMathNegate: {
|
|
|
5148
5166
|
*/
|
|
5149
5167
|
interface CSSMathProduct extends CSSMathValue {
|
|
5150
5168
|
/**
|
|
5151
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
5169
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
5152
5170
|
*
|
|
5153
5171
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
5154
5172
|
*/
|
|
@@ -5205,7 +5223,7 @@ declare var CSSMathValue: {
|
|
|
5205
5223
|
*/
|
|
5206
5224
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
5207
5225
|
/**
|
|
5208
|
-
* The **`matrix`** property of the
|
|
5226
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
5209
5227
|
*
|
|
5210
5228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
5211
5229
|
*/
|
|
@@ -5224,7 +5242,7 @@ declare var CSSMatrixComponent: {
|
|
|
5224
5242
|
*/
|
|
5225
5243
|
interface CSSMediaRule extends CSSConditionRule {
|
|
5226
5244
|
/**
|
|
5227
|
-
* The read-only **`media`** property of the destination medium for style information.
|
|
5245
|
+
* The read-only **`media`** property of the CSSMediaRule interface returns a MediaList representing the intended destination medium for style information.
|
|
5228
5246
|
*
|
|
5229
5247
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
|
|
5230
5248
|
*/
|
|
@@ -5287,7 +5305,7 @@ declare var CSSNestedDeclarations: {
|
|
|
5287
5305
|
*/
|
|
5288
5306
|
interface CSSNumericArray {
|
|
5289
5307
|
/**
|
|
5290
|
-
* The read-only **`length`** property of the
|
|
5308
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
5291
5309
|
*
|
|
5292
5310
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
5293
5311
|
*/
|
|
@@ -5308,61 +5326,61 @@ declare var CSSNumericArray: {
|
|
|
5308
5326
|
*/
|
|
5309
5327
|
interface CSSNumericValue extends CSSStyleValue {
|
|
5310
5328
|
/**
|
|
5311
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
5329
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
5312
5330
|
*
|
|
5313
5331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
5314
5332
|
*/
|
|
5315
5333
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
5316
5334
|
/**
|
|
5317
|
-
* The **`div()`** method of the supplied value.
|
|
5335
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
5318
5336
|
*
|
|
5319
5337
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
5320
5338
|
*/
|
|
5321
5339
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
5322
5340
|
/**
|
|
5323
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
5341
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
5324
5342
|
*
|
|
5325
5343
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
5326
5344
|
*/
|
|
5327
5345
|
equals(...value: CSSNumberish[]): boolean;
|
|
5328
5346
|
/**
|
|
5329
|
-
* The **`max()`** method of the passed.
|
|
5347
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
5330
5348
|
*
|
|
5331
5349
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
5332
5350
|
*/
|
|
5333
5351
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
5334
5352
|
/**
|
|
5335
|
-
* The **`min()`** method of the values passed.
|
|
5353
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
5336
5354
|
*
|
|
5337
5355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
5338
5356
|
*/
|
|
5339
5357
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
5340
5358
|
/**
|
|
5341
|
-
* The **`mul()`** method of the the supplied value.
|
|
5359
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
5342
5360
|
*
|
|
5343
5361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
5344
5362
|
*/
|
|
5345
5363
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
5346
5364
|
/**
|
|
5347
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
5365
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
5348
5366
|
*
|
|
5349
5367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
5350
5368
|
*/
|
|
5351
5369
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
5352
5370
|
/**
|
|
5353
|
-
* The **`to()`** method of the another.
|
|
5371
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
5354
5372
|
*
|
|
5355
5373
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
5356
5374
|
*/
|
|
5357
5375
|
to(unit: string): CSSUnitValue;
|
|
5358
5376
|
/**
|
|
5359
|
-
* The **`toSum()`** method of the
|
|
5377
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
5360
5378
|
*
|
|
5361
5379
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
5362
5380
|
*/
|
|
5363
5381
|
toSum(...units: string[]): CSSMathSum;
|
|
5364
5382
|
/**
|
|
5365
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
5383
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
5366
5384
|
*
|
|
5367
5385
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
5368
5386
|
*/
|
|
@@ -5373,7 +5391,7 @@ declare var CSSNumericValue: {
|
|
|
5373
5391
|
prototype: CSSNumericValue;
|
|
5374
5392
|
new(): CSSNumericValue;
|
|
5375
5393
|
/**
|
|
5376
|
-
* The **`parse()`** static method of the members are value and the units.
|
|
5394
|
+
* The **`parse()`** static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
|
|
5377
5395
|
*
|
|
5378
5396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static)
|
|
5379
5397
|
*/
|
|
@@ -5445,7 +5463,7 @@ declare var CSSPageRule: {
|
|
|
5445
5463
|
*/
|
|
5446
5464
|
interface CSSPerspective extends CSSTransformComponent {
|
|
5447
5465
|
/**
|
|
5448
|
-
* The **`length`** property of the
|
|
5466
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
5449
5467
|
*
|
|
5450
5468
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
5451
5469
|
*/
|
|
@@ -5679,25 +5697,25 @@ declare var CSSPropertyRule: {
|
|
|
5679
5697
|
*/
|
|
5680
5698
|
interface CSSRotate extends CSSTransformComponent {
|
|
5681
5699
|
/**
|
|
5682
|
-
* The **`angle`** property of the
|
|
5700
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
5683
5701
|
*
|
|
5684
5702
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
5685
5703
|
*/
|
|
5686
5704
|
angle: CSSNumericValue;
|
|
5687
5705
|
/**
|
|
5688
|
-
* The **`x`** property of the translating vector.
|
|
5706
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
5689
5707
|
*
|
|
5690
5708
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
5691
5709
|
*/
|
|
5692
5710
|
x: CSSNumberish;
|
|
5693
5711
|
/**
|
|
5694
|
-
* The **`y`** property of the translating vector.
|
|
5712
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
5695
5713
|
*
|
|
5696
5714
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
5697
5715
|
*/
|
|
5698
5716
|
y: CSSNumberish;
|
|
5699
5717
|
/**
|
|
5700
|
-
* The **`z`** property of the vector.
|
|
5718
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
5701
5719
|
*
|
|
5702
5720
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
5703
5721
|
*/
|
|
@@ -5729,13 +5747,13 @@ interface CSSRule {
|
|
|
5729
5747
|
*/
|
|
5730
5748
|
readonly parentRule: CSSRule | null;
|
|
5731
5749
|
/**
|
|
5732
|
-
* The **`parentStyleSheet`** property of the the current rule is defined.
|
|
5750
|
+
* The **`parentStyleSheet`** property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
|
|
5733
5751
|
*
|
|
5734
5752
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentStyleSheet)
|
|
5735
5753
|
*/
|
|
5736
5754
|
readonly parentStyleSheet: CSSStyleSheet | null;
|
|
5737
5755
|
/**
|
|
5738
|
-
* The read-only **`type`** property of the indicating which type of rule the CSSRule represents.
|
|
5756
|
+
* 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.
|
|
5739
5757
|
* @deprecated
|
|
5740
5758
|
*
|
|
5741
5759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/type)
|
|
@@ -5805,19 +5823,19 @@ declare var CSSRuleList: {
|
|
|
5805
5823
|
*/
|
|
5806
5824
|
interface CSSScale extends CSSTransformComponent {
|
|
5807
5825
|
/**
|
|
5808
|
-
* The **`x`** property of the translating vector.
|
|
5826
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
5809
5827
|
*
|
|
5810
5828
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
5811
5829
|
*/
|
|
5812
5830
|
x: CSSNumberish;
|
|
5813
5831
|
/**
|
|
5814
|
-
* The **`y`** property of the translating vector.
|
|
5832
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
5815
5833
|
*
|
|
5816
5834
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
5817
5835
|
*/
|
|
5818
5836
|
y: CSSNumberish;
|
|
5819
5837
|
/**
|
|
5820
|
-
* The **`z`** property of the vector.
|
|
5838
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
5821
5839
|
*
|
|
5822
5840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
5823
5841
|
*/
|
|
@@ -5861,13 +5879,13 @@ declare var CSSScopeRule: {
|
|
|
5861
5879
|
*/
|
|
5862
5880
|
interface CSSSkew extends CSSTransformComponent {
|
|
5863
5881
|
/**
|
|
5864
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
5882
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
5865
5883
|
*
|
|
5866
5884
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
5867
5885
|
*/
|
|
5868
5886
|
ax: CSSNumericValue;
|
|
5869
5887
|
/**
|
|
5870
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
5888
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
5871
5889
|
*
|
|
5872
5890
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
5873
5891
|
*/
|
|
@@ -5886,7 +5904,7 @@ declare var CSSSkew: {
|
|
|
5886
5904
|
*/
|
|
5887
5905
|
interface CSSSkewX extends CSSTransformComponent {
|
|
5888
5906
|
/**
|
|
5889
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
5907
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
5890
5908
|
*
|
|
5891
5909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
5892
5910
|
*/
|
|
@@ -5905,7 +5923,7 @@ declare var CSSSkewX: {
|
|
|
5905
5923
|
*/
|
|
5906
5924
|
interface CSSSkewY extends CSSTransformComponent {
|
|
5907
5925
|
/**
|
|
5908
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
5926
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
5909
5927
|
*
|
|
5910
5928
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
5911
5929
|
*/
|
|
@@ -7357,7 +7375,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7357
7375
|
*/
|
|
7358
7376
|
readonly style: CSSStyleProperties;
|
|
7359
7377
|
/**
|
|
7360
|
-
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
7378
|
+
* The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
|
|
7361
7379
|
*
|
|
7362
7380
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap)
|
|
7363
7381
|
*/
|
|
@@ -7491,7 +7509,7 @@ interface CSSTransformComponent {
|
|
|
7491
7509
|
*/
|
|
7492
7510
|
is2D: boolean;
|
|
7493
7511
|
/**
|
|
7494
|
-
* The **`toMatrix()`** method of the object.
|
|
7512
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
7495
7513
|
*
|
|
7496
7514
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
7497
7515
|
*/
|
|
@@ -7511,19 +7529,19 @@ declare var CSSTransformComponent: {
|
|
|
7511
7529
|
*/
|
|
7512
7530
|
interface CSSTransformValue extends CSSStyleValue {
|
|
7513
7531
|
/**
|
|
7514
|
-
* The read-only **`is2D`** property of the
|
|
7532
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
7515
7533
|
*
|
|
7516
7534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
7517
7535
|
*/
|
|
7518
7536
|
readonly is2D: boolean;
|
|
7519
7537
|
/**
|
|
7520
|
-
* The read-only **`length`** property of the the list.
|
|
7538
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
7521
7539
|
*
|
|
7522
7540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
7523
7541
|
*/
|
|
7524
7542
|
readonly length: number;
|
|
7525
7543
|
/**
|
|
7526
|
-
* The **`toMatrix()`** method of the
|
|
7544
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
7527
7545
|
*
|
|
7528
7546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
7529
7547
|
*/
|
|
@@ -7544,7 +7562,7 @@ declare var CSSTransformValue: {
|
|
|
7544
7562
|
*/
|
|
7545
7563
|
interface CSSTransition extends Animation {
|
|
7546
7564
|
/**
|
|
7547
|
-
* The **`transitionProperty`** property of the name** of the transition.
|
|
7565
|
+
* The **`transitionProperty`** property of the CSSTransition interface returns the **expanded transition property name** of the transition.
|
|
7548
7566
|
*
|
|
7549
7567
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition/transitionProperty)
|
|
7550
7568
|
*/
|
|
@@ -7567,19 +7585,19 @@ declare var CSSTransition: {
|
|
|
7567
7585
|
*/
|
|
7568
7586
|
interface CSSTranslate extends CSSTransformComponent {
|
|
7569
7587
|
/**
|
|
7570
|
-
* The **`x`** property of the translating vector.
|
|
7588
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
7571
7589
|
*
|
|
7572
7590
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
7573
7591
|
*/
|
|
7574
7592
|
x: CSSNumericValue;
|
|
7575
7593
|
/**
|
|
7576
|
-
* The **`y`** property of the translating vector.
|
|
7594
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
7577
7595
|
*
|
|
7578
7596
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
7579
7597
|
*/
|
|
7580
7598
|
y: CSSNumericValue;
|
|
7581
7599
|
/**
|
|
7582
|
-
* The **`z`** property of the vector.
|
|
7600
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
7583
7601
|
*
|
|
7584
7602
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
7585
7603
|
*/
|
|
@@ -7604,7 +7622,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
7604
7622
|
*/
|
|
7605
7623
|
readonly unit: string;
|
|
7606
7624
|
/**
|
|
7607
|
-
* The **`CSSUnitValue.value`** property of the
|
|
7625
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
7608
7626
|
*
|
|
7609
7627
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
7610
7628
|
*/
|
|
@@ -7623,7 +7641,7 @@ declare var CSSUnitValue: {
|
|
|
7623
7641
|
*/
|
|
7624
7642
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
7625
7643
|
/**
|
|
7626
|
-
* The **`length`** read-only property of the
|
|
7644
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
7627
7645
|
*
|
|
7628
7646
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
7629
7647
|
*/
|
|
@@ -7644,13 +7662,13 @@ declare var CSSUnparsedValue: {
|
|
|
7644
7662
|
*/
|
|
7645
7663
|
interface CSSVariableReferenceValue {
|
|
7646
7664
|
/**
|
|
7647
|
-
* The **`fallback`** read-only property of the
|
|
7665
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
7648
7666
|
*
|
|
7649
7667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
7650
7668
|
*/
|
|
7651
7669
|
readonly fallback: CSSUnparsedValue | null;
|
|
7652
7670
|
/**
|
|
7653
|
-
* The **`variable`** property of the
|
|
7671
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
7654
7672
|
*
|
|
7655
7673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
7656
7674
|
*/
|
|
@@ -7698,7 +7716,7 @@ interface Cache {
|
|
|
7698
7716
|
*/
|
|
7699
7717
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
7700
7718
|
/**
|
|
7701
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
7719
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
7702
7720
|
*
|
|
7703
7721
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
7704
7722
|
*/
|
|
@@ -7716,7 +7734,7 @@ interface Cache {
|
|
|
7716
7734
|
*/
|
|
7717
7735
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
7718
7736
|
/**
|
|
7719
|
-
* The **`put()`** method of the
|
|
7737
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
7720
7738
|
*
|
|
7721
7739
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
7722
7740
|
*/
|
|
@@ -7742,7 +7760,7 @@ interface CacheStorage {
|
|
|
7742
7760
|
*/
|
|
7743
7761
|
delete(cacheName: string): Promise<boolean>;
|
|
7744
7762
|
/**
|
|
7745
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
7763
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
7746
7764
|
*
|
|
7747
7765
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
7748
7766
|
*/
|
|
@@ -7760,7 +7778,7 @@ interface CacheStorage {
|
|
|
7760
7778
|
*/
|
|
7761
7779
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
7762
7780
|
/**
|
|
7763
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
7781
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
7764
7782
|
*
|
|
7765
7783
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
7766
7784
|
*/
|
|
@@ -7967,7 +7985,7 @@ interface CanvasRect {
|
|
|
7967
7985
|
*/
|
|
7968
7986
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
7969
7987
|
/**
|
|
7970
|
-
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the
|
|
7988
|
+
* 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.
|
|
7971
7989
|
*
|
|
7972
7990
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
7973
7991
|
*/
|
|
@@ -8245,7 +8263,7 @@ declare var Clipboard: {
|
|
|
8245
8263
|
*/
|
|
8246
8264
|
interface ClipboardEvent extends Event {
|
|
8247
8265
|
/**
|
|
8248
|
-
* The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:
|
|
8266
|
+
* The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:
|
|
8249
8267
|
*
|
|
8250
8268
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent/clipboardData)
|
|
8251
8269
|
*/
|
|
@@ -8346,7 +8364,7 @@ declare var Comment: {
|
|
|
8346
8364
|
*/
|
|
8347
8365
|
interface CompositionEvent extends UIEvent {
|
|
8348
8366
|
/**
|
|
8349
|
-
* 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.
|
|
8367
|
+
* 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.
|
|
8350
8368
|
*
|
|
8351
8369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/data)
|
|
8352
8370
|
*/
|
|
@@ -8630,7 +8648,7 @@ interface CredentialsContainer {
|
|
|
8630
8648
|
*/
|
|
8631
8649
|
preventSilentAccess(): Promise<void>;
|
|
8632
8650
|
/**
|
|
8633
|
-
* The **`store()`** method of the
|
|
8651
|
+
* The **`store()`** method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
|
|
8634
8652
|
*
|
|
8635
8653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store)
|
|
8636
8654
|
*/
|
|
@@ -8649,7 +8667,7 @@ declare var CredentialsContainer: {
|
|
|
8649
8667
|
*/
|
|
8650
8668
|
interface Crypto {
|
|
8651
8669
|
/**
|
|
8652
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
8670
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
8653
8671
|
* Available only in secure contexts.
|
|
8654
8672
|
*
|
|
8655
8673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -8726,25 +8744,25 @@ interface CustomElementRegistry {
|
|
|
8726
8744
|
*/
|
|
8727
8745
|
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
8728
8746
|
/**
|
|
8729
|
-
* The **`get()`** method of the previously-defined custom element.
|
|
8747
|
+
* The **`get()`** method of the CustomElementRegistry interface returns the constructor for a previously-defined custom element.
|
|
8730
8748
|
*
|
|
8731
8749
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get)
|
|
8732
8750
|
*/
|
|
8733
8751
|
get(name: string): CustomElementConstructor | undefined;
|
|
8734
8752
|
/**
|
|
8735
|
-
* The **`getName()`** method of the previously-defined custom element.
|
|
8753
|
+
* The **`getName()`** method of the CustomElementRegistry interface returns the name for a previously-defined custom element.
|
|
8736
8754
|
*
|
|
8737
8755
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
8738
8756
|
*/
|
|
8739
8757
|
getName(constructor: CustomElementConstructor): string | null;
|
|
8740
8758
|
/**
|
|
8741
|
-
* The **`upgrade()`** method of the elements in a Node subtree, even before they are connected to the main document.
|
|
8759
|
+
* 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.
|
|
8742
8760
|
*
|
|
8743
8761
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade)
|
|
8744
8762
|
*/
|
|
8745
8763
|
upgrade(root: Node): void;
|
|
8746
8764
|
/**
|
|
8747
|
-
* The **`whenDefined()`** method of the resolves when the named element is defined.
|
|
8765
|
+
* The **`whenDefined()`** method of the CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
|
|
8748
8766
|
*
|
|
8749
8767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined)
|
|
8750
8768
|
*/
|
|
@@ -8810,13 +8828,13 @@ interface DOMException extends Error {
|
|
|
8810
8828
|
*/
|
|
8811
8829
|
readonly code: number;
|
|
8812
8830
|
/**
|
|
8813
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
8831
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
8814
8832
|
*
|
|
8815
8833
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
8816
8834
|
*/
|
|
8817
8835
|
readonly message: string;
|
|
8818
8836
|
/**
|
|
8819
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
8837
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
8820
8838
|
*
|
|
8821
8839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
8822
8840
|
*/
|
|
@@ -8891,7 +8909,7 @@ interface DOMImplementation {
|
|
|
8891
8909
|
*/
|
|
8892
8910
|
createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;
|
|
8893
8911
|
/**
|
|
8894
|
-
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or
|
|
8912
|
+
* 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().
|
|
8895
8913
|
*
|
|
8896
8914
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
|
|
8897
8915
|
*/
|
|
@@ -9159,7 +9177,7 @@ interface DOMMatrixReadOnly {
|
|
|
9159
9177
|
*/
|
|
9160
9178
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
9161
9179
|
/**
|
|
9162
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
9180
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
9163
9181
|
*
|
|
9164
9182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
9165
9183
|
*/
|
|
@@ -9203,7 +9221,7 @@ interface DOMMatrixReadOnly {
|
|
|
9203
9221
|
*/
|
|
9204
9222
|
toJSON(): any;
|
|
9205
9223
|
/**
|
|
9206
|
-
* The **`transformPoint`** method of the
|
|
9224
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
9207
9225
|
*
|
|
9208
9226
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
9209
9227
|
*/
|
|
@@ -9327,7 +9345,7 @@ interface DOMPointReadOnly {
|
|
|
9327
9345
|
*/
|
|
9328
9346
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
9329
9347
|
/**
|
|
9330
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
9348
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
9331
9349
|
*
|
|
9332
9350
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
9333
9351
|
*/
|
|
@@ -9382,7 +9400,7 @@ interface DOMQuad {
|
|
|
9382
9400
|
*/
|
|
9383
9401
|
getBounds(): DOMRect;
|
|
9384
9402
|
/**
|
|
9385
|
-
* The DOMQuad method `toJSON()` returns a
|
|
9403
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
9386
9404
|
*
|
|
9387
9405
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
9388
9406
|
*/
|
|
@@ -9432,7 +9450,7 @@ declare var DOMRect: {
|
|
|
9432
9450
|
prototype: DOMRect;
|
|
9433
9451
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
9434
9452
|
/**
|
|
9435
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
9453
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
9436
9454
|
*
|
|
9437
9455
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
9438
9456
|
*/
|
|
@@ -9534,7 +9552,7 @@ declare var DOMRectReadOnly: {
|
|
|
9534
9552
|
prototype: DOMRectReadOnly;
|
|
9535
9553
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
9536
9554
|
/**
|
|
9537
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
9555
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
9538
9556
|
*
|
|
9539
9557
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
9540
9558
|
*/
|
|
@@ -9682,7 +9700,7 @@ interface DataTransfer {
|
|
|
9682
9700
|
*/
|
|
9683
9701
|
readonly files: FileList;
|
|
9684
9702
|
/**
|
|
9685
|
-
* The read-only `items` property of the DataTransfer interface is a
|
|
9703
|
+
* The read-only `items` property of the DataTransfer interface is a DataTransferItemList of the DataTransferItem in a drag operation.
|
|
9686
9704
|
*
|
|
9687
9705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/items)
|
|
9688
9706
|
*/
|
|
@@ -9774,13 +9792,13 @@ declare var DataTransferItem: {
|
|
|
9774
9792
|
*/
|
|
9775
9793
|
interface DataTransferItemList {
|
|
9776
9794
|
/**
|
|
9777
|
-
* The read-only **`length`** property of the the drag item list.
|
|
9795
|
+
* The read-only **`length`** property of the DataTransferItemList interface returns the number of items currently in the drag item list.
|
|
9778
9796
|
*
|
|
9779
9797
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/length)
|
|
9780
9798
|
*/
|
|
9781
9799
|
readonly length: number;
|
|
9782
9800
|
/**
|
|
9783
|
-
* The **`DataTransferItemList.add()`** method creates a new list.
|
|
9801
|
+
* The **`DataTransferItemList.add()`** method creates a new DataTransferItem using the specified data and adds it to the drag data list.
|
|
9784
9802
|
*
|
|
9785
9803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
|
|
9786
9804
|
*/
|
|
@@ -9793,7 +9811,7 @@ interface DataTransferItemList {
|
|
|
9793
9811
|
*/
|
|
9794
9812
|
clear(): void;
|
|
9795
9813
|
/**
|
|
9796
|
-
* The **`DataTransferItemList.remove()`** method removes the
|
|
9814
|
+
* The **`DataTransferItemList.remove()`** method removes the DataTransferItem at the specified index from the list.
|
|
9797
9815
|
*
|
|
9798
9816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/remove)
|
|
9799
9817
|
*/
|
|
@@ -10007,7 +10025,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10007
10025
|
*/
|
|
10008
10026
|
readonly all: HTMLAllCollection;
|
|
10009
10027
|
/**
|
|
10010
|
-
* The **`anchors`** read-only property of the
|
|
10028
|
+
* The **`anchors`** read-only property of the Document interface returns a list of all of the anchors in the document.
|
|
10011
10029
|
* @deprecated
|
|
10012
10030
|
*
|
|
10013
10031
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/anchors)
|
|
@@ -10028,7 +10046,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10028
10046
|
*/
|
|
10029
10047
|
bgColor: string;
|
|
10030
10048
|
/**
|
|
10031
|
-
* The **`Document.body`** property represents the `null` if no such element exists.
|
|
10049
|
+
* The **`Document.body`** property represents the body or frameset node of the current document, or `null` if no such element exists.
|
|
10032
10050
|
*
|
|
10033
10051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/body)
|
|
10034
10052
|
*/
|
|
@@ -10070,7 +10088,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10070
10088
|
*/
|
|
10071
10089
|
readonly currentScript: HTMLOrSVGScriptElement | null;
|
|
10072
10090
|
/**
|
|
10073
|
-
* In browsers, **`document.defaultView`** returns the
|
|
10091
|
+
* In browsers, **`document.defaultView`** returns the Window object associated with Browsing_context, or `null` if none is available.
|
|
10074
10092
|
*
|
|
10075
10093
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/defaultView)
|
|
10076
10094
|
*/
|
|
@@ -10094,13 +10112,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10094
10112
|
*/
|
|
10095
10113
|
readonly doctype: DocumentType | null;
|
|
10096
10114
|
/**
|
|
10097
|
-
* The **`documentElement`** read-only property of the Document interface returns the example, the html element for HTML documents).
|
|
10115
|
+
* 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).
|
|
10098
10116
|
*
|
|
10099
10117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentElement)
|
|
10100
10118
|
*/
|
|
10101
10119
|
readonly documentElement: HTMLElement;
|
|
10102
10120
|
/**
|
|
10103
|
-
* The **`documentURI`** read-only property of the
|
|
10121
|
+
* The **`documentURI`** read-only property of the Document interface returns the document location as a string.
|
|
10104
10122
|
*
|
|
10105
10123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentURI)
|
|
10106
10124
|
*/
|
|
@@ -10113,7 +10131,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10113
10131
|
*/
|
|
10114
10132
|
domain: string;
|
|
10115
10133
|
/**
|
|
10116
|
-
* The **`embeds`** read-only property of the
|
|
10134
|
+
* The **`embeds`** read-only property of the Document interface returns a list of the embedded embed elements within the current document.
|
|
10117
10135
|
*
|
|
10118
10136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/embeds)
|
|
10119
10137
|
*/
|
|
@@ -10169,7 +10187,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10169
10187
|
*/
|
|
10170
10188
|
readonly images: HTMLCollectionOf<HTMLImageElement>;
|
|
10171
10189
|
/**
|
|
10172
|
-
* The **`Document.implementation`** property returns a
|
|
10190
|
+
* The **`Document.implementation`** property returns a DOMImplementation object associated with the current document.
|
|
10173
10191
|
*
|
|
10174
10192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/implementation)
|
|
10175
10193
|
*/
|
|
@@ -10200,7 +10218,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10200
10218
|
*/
|
|
10201
10219
|
readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
|
|
10202
10220
|
/**
|
|
10203
|
-
* The **`Document.location`** read-only property returns a and provides methods for changing that URL and loading another URL.
|
|
10221
|
+
* 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.
|
|
10204
10222
|
*
|
|
10205
10223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
|
|
10206
10224
|
*/
|
|
@@ -10220,13 +10238,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10220
10238
|
onvisibilitychange: ((this: Document, ev: Event) => any) | null;
|
|
10221
10239
|
readonly ownerDocument: null;
|
|
10222
10240
|
/**
|
|
10223
|
-
* The read-only **`pictureInPictureEnabled`** property of the available.
|
|
10241
|
+
* The read-only **`pictureInPictureEnabled`** property of the Document interface indicates whether or not picture-in-picture mode is available.
|
|
10224
10242
|
*
|
|
10225
10243
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled)
|
|
10226
10244
|
*/
|
|
10227
10245
|
readonly pictureInPictureEnabled: boolean;
|
|
10228
10246
|
/**
|
|
10229
|
-
* The **`plugins`** read-only property of the containing one or more HTMLEmbedElements representing the
|
|
10247
|
+
* 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.
|
|
10230
10248
|
*
|
|
10231
10249
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/plugins)
|
|
10232
10250
|
*/
|
|
@@ -10244,7 +10262,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10244
10262
|
*/
|
|
10245
10263
|
readonly referrer: string;
|
|
10246
10264
|
/**
|
|
10247
|
-
* **`Document.rootElement`** returns the Element that is the root element of the document if it is an
|
|
10265
|
+
* **`Document.rootElement`** returns the Element that is the root element of the document if it is an svg element, otherwise `null`.
|
|
10248
10266
|
* @deprecated
|
|
10249
10267
|
*
|
|
10250
10268
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/rootElement)
|
|
@@ -10257,7 +10275,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10257
10275
|
*/
|
|
10258
10276
|
readonly scripts: HTMLCollectionOf<HTMLScriptElement>;
|
|
10259
10277
|
/**
|
|
10260
|
-
* The **`scrollingElement`** read-only property of the scrolls the document.
|
|
10278
|
+
* The **`scrollingElement`** read-only property of the Document interface returns a reference to the Element that scrolls the document.
|
|
10261
10279
|
*
|
|
10262
10280
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollingElement)
|
|
10263
10281
|
*/
|
|
@@ -10454,7 +10472,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10454
10472
|
*/
|
|
10455
10473
|
createProcessingInstruction(target: string, data: string): ProcessingInstruction;
|
|
10456
10474
|
/**
|
|
10457
|
-
* The **`Document.createRange()`** method returns a new
|
|
10475
|
+
* The **`Document.createRange()`** method returns a new Range object.
|
|
10458
10476
|
*
|
|
10459
10477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createRange)
|
|
10460
10478
|
*/
|
|
@@ -10498,7 +10516,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10498
10516
|
exitPointerLock(): void;
|
|
10499
10517
|
getElementById(elementId: string): HTMLElement | null;
|
|
10500
10518
|
/**
|
|
10501
|
-
* The **`getElementsByClassName`** method of of all child elements which have all of the given class name(s).
|
|
10519
|
+
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
10502
10520
|
*
|
|
10503
10521
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByClassName)
|
|
10504
10522
|
*/
|
|
@@ -10510,7 +10528,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10510
10528
|
*/
|
|
10511
10529
|
getElementsByName(elementName: string): NodeListOf<HTMLElement>;
|
|
10512
10530
|
/**
|
|
10513
|
-
* The **`getElementsByTagName`** method of
|
|
10531
|
+
* The **`getElementsByTagName`** method of Document interface returns an HTMLCollection of elements with the given tag name.
|
|
10514
10532
|
*
|
|
10515
10533
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByTagName)
|
|
10516
10534
|
*/
|
|
@@ -10548,13 +10566,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10548
10566
|
*/
|
|
10549
10567
|
hasStorageAccess(): Promise<boolean>;
|
|
10550
10568
|
/**
|
|
10551
|
-
* The Document object's **`importNode()`** method creates a copy of a inserted into the current document later.
|
|
10569
|
+
* 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.
|
|
10552
10570
|
*
|
|
10553
10571
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
|
|
10554
10572
|
*/
|
|
10555
10573
|
importNode<T extends Node>(node: T, options?: boolean | ImportNodeOptions): T;
|
|
10556
10574
|
/**
|
|
10557
|
-
* The **`Document.open()`** method opens a document for
|
|
10575
|
+
* The **`Document.open()`** method opens a document for Document.write.
|
|
10558
10576
|
*
|
|
10559
10577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/open)
|
|
10560
10578
|
*/
|
|
@@ -10936,7 +10954,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
10936
10954
|
*/
|
|
10937
10955
|
readonly classList: DOMTokenList;
|
|
10938
10956
|
/**
|
|
10939
|
-
* The **`className`** property of the of the specified element.
|
|
10957
|
+
* The **`className`** property of the Element interface gets and sets the value of the `class` attribute of the specified element.
|
|
10940
10958
|
*
|
|
10941
10959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/className)
|
|
10942
10960
|
*/
|
|
@@ -11088,7 +11106,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11088
11106
|
*/
|
|
11089
11107
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
11090
11108
|
/**
|
|
11091
|
-
* The **`getAttribute()`** method of the element.
|
|
11109
|
+
* The **`getAttribute()`** method of the Element interface returns the value of a specified attribute on the element.
|
|
11092
11110
|
*
|
|
11093
11111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
|
|
11094
11112
|
*/
|
|
@@ -11100,7 +11118,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11100
11118
|
*/
|
|
11101
11119
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
11102
11120
|
/**
|
|
11103
|
-
* The **`getAttributeNames()`** method of the
|
|
11121
|
+
* The **`getAttributeNames()`** method of the Element interface returns the attribute names of the element as an Array of strings.
|
|
11104
11122
|
*
|
|
11105
11123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)
|
|
11106
11124
|
*/
|
|
@@ -11118,7 +11136,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11118
11136
|
*/
|
|
11119
11137
|
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
11120
11138
|
/**
|
|
11121
|
-
* The **`Element.getBoundingClientRect()`** method returns a position relative to the viewport.
|
|
11139
|
+
* The **`Element.getBoundingClientRect()`** method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
|
|
11122
11140
|
*
|
|
11123
11141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)
|
|
11124
11142
|
*/
|
|
@@ -11130,13 +11148,13 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11130
11148
|
*/
|
|
11131
11149
|
getClientRects(): DOMRectList;
|
|
11132
11150
|
/**
|
|
11133
|
-
* The Element method **`getElementsByClassName()`** returns a live specified class name or names.
|
|
11151
|
+
* The Element method **`getElementsByClassName()`** returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
|
|
11134
11152
|
*
|
|
11135
11153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByClassName)
|
|
11136
11154
|
*/
|
|
11137
11155
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
11138
11156
|
/**
|
|
11139
|
-
* The **`Element.getElementsByTagName()`** method returns a live
|
|
11157
|
+
* The **`Element.getElementsByTagName()`** method returns a live HTMLCollection of elements with the given tag name.
|
|
11140
11158
|
*
|
|
11141
11159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
|
|
11142
11160
|
*/
|
|
@@ -11180,19 +11198,19 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11180
11198
|
*/
|
|
11181
11199
|
hasAttributes(): boolean;
|
|
11182
11200
|
/**
|
|
11183
|
-
* The **`hasPointerCapture()`** method of the pointer capture for the pointer identified by the given pointer ID.
|
|
11201
|
+
* 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.
|
|
11184
11202
|
*
|
|
11185
11203
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)
|
|
11186
11204
|
*/
|
|
11187
11205
|
hasPointerCapture(pointerId: number): boolean;
|
|
11188
11206
|
/**
|
|
11189
|
-
* The **`insertAdjacentElement()`** method of the relative to the element it is invoked upon.
|
|
11207
|
+
* The **`insertAdjacentElement()`** method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
|
|
11190
11208
|
*
|
|
11191
11209
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement)
|
|
11192
11210
|
*/
|
|
11193
11211
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
11194
11212
|
/**
|
|
11195
|
-
* The **`insertAdjacentHTML()`** method of the the resulting nodes into the DOM tree at a specified position.
|
|
11213
|
+
* 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.
|
|
11196
11214
|
*
|
|
11197
11215
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
|
|
11198
11216
|
*/
|
|
@@ -11210,7 +11228,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11210
11228
|
*/
|
|
11211
11229
|
matches(selectors: string): boolean;
|
|
11212
11230
|
/**
|
|
11213
|
-
* The **`releasePointerCapture()`** method of the previously set for a specific (PointerEvent) _pointer_.
|
|
11231
|
+
* The **`releasePointerCapture()`** method of the Element interface releases (stops) _pointer capture_ that was previously set for a specific (PointerEvent) _pointer_.
|
|
11214
11232
|
*
|
|
11215
11233
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture)
|
|
11216
11234
|
*/
|
|
@@ -11222,7 +11240,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11222
11240
|
*/
|
|
11223
11241
|
removeAttribute(qualifiedName: string): void;
|
|
11224
11242
|
/**
|
|
11225
|
-
* The **`removeAttributeNS()`** method of the
|
|
11243
|
+
* The **`removeAttributeNS()`** method of the Element interface removes the specified attribute with the specified namespace from an element.
|
|
11226
11244
|
*
|
|
11227
11245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNS)
|
|
11228
11246
|
*/
|
|
@@ -11303,13 +11321,13 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11303
11321
|
*/
|
|
11304
11322
|
setHTMLUnsafe(html: string): void;
|
|
11305
11323
|
/**
|
|
11306
|
-
* The **`setPointerCapture()`** method of the _capture target_ of future pointer events.
|
|
11324
|
+
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the _capture target_ of future pointer events.
|
|
11307
11325
|
*
|
|
11308
11326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture)
|
|
11309
11327
|
*/
|
|
11310
11328
|
setPointerCapture(pointerId: number): void;
|
|
11311
11329
|
/**
|
|
11312
|
-
* The **`toggleAttribute()`** method of the present and adding it if it is not present) on the given element.
|
|
11330
|
+
* 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.
|
|
11313
11331
|
*
|
|
11314
11332
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
11315
11333
|
*/
|
|
@@ -11586,7 +11604,7 @@ interface Event {
|
|
|
11586
11604
|
*/
|
|
11587
11605
|
readonly cancelable: boolean;
|
|
11588
11606
|
/**
|
|
11589
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
11607
|
+
* 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.
|
|
11590
11608
|
*
|
|
11591
11609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
11592
11610
|
*/
|
|
@@ -11604,13 +11622,13 @@ interface Event {
|
|
|
11604
11622
|
*/
|
|
11605
11623
|
readonly defaultPrevented: boolean;
|
|
11606
11624
|
/**
|
|
11607
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
11625
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
11608
11626
|
*
|
|
11609
11627
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
11610
11628
|
*/
|
|
11611
11629
|
readonly eventPhase: number;
|
|
11612
11630
|
/**
|
|
11613
|
-
* 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
|
|
11631
|
+
* 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().
|
|
11614
11632
|
*
|
|
11615
11633
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
11616
11634
|
*/
|
|
@@ -11630,7 +11648,7 @@ interface Event {
|
|
|
11630
11648
|
*/
|
|
11631
11649
|
readonly srcElement: EventTarget | null;
|
|
11632
11650
|
/**
|
|
11633
|
-
* The read-only **`target`** property of the dispatched.
|
|
11651
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
11634
11652
|
*
|
|
11635
11653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
11636
11654
|
*/
|
|
@@ -11667,7 +11685,7 @@ interface Event {
|
|
|
11667
11685
|
*/
|
|
11668
11686
|
preventDefault(): void;
|
|
11669
11687
|
/**
|
|
11670
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
11688
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
11671
11689
|
*
|
|
11672
11690
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
11673
11691
|
*/
|
|
@@ -11734,25 +11752,25 @@ interface EventSource extends EventTarget {
|
|
|
11734
11752
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
11735
11753
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
11736
11754
|
/**
|
|
11737
|
-
* The **`readyState`** read-only property of the connection.
|
|
11755
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
11738
11756
|
*
|
|
11739
11757
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
11740
11758
|
*/
|
|
11741
11759
|
readonly readyState: number;
|
|
11742
11760
|
/**
|
|
11743
|
-
* The **`url`** read-only property of the URL of the source.
|
|
11761
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
11744
11762
|
*
|
|
11745
11763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
11746
11764
|
*/
|
|
11747
11765
|
readonly url: string;
|
|
11748
11766
|
/**
|
|
11749
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
11767
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
11750
11768
|
*
|
|
11751
11769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
11752
11770
|
*/
|
|
11753
11771
|
readonly withCredentials: boolean;
|
|
11754
11772
|
/**
|
|
11755
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
11773
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
11756
11774
|
*
|
|
11757
11775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
11758
11776
|
*/
|
|
@@ -11943,7 +11961,7 @@ interface FileReader extends EventTarget {
|
|
|
11943
11961
|
*/
|
|
11944
11962
|
readAsBinaryString(blob: Blob): void;
|
|
11945
11963
|
/**
|
|
11946
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
11964
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
11947
11965
|
*
|
|
11948
11966
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
11949
11967
|
*/
|
|
@@ -11978,13 +11996,13 @@ declare var FileReader: {
|
|
|
11978
11996
|
*/
|
|
11979
11997
|
interface FileSystem {
|
|
11980
11998
|
/**
|
|
11981
|
-
* The read-only **`name`** property of the
|
|
11999
|
+
* The read-only **`name`** property of the FileSystem interface indicates the file system's name.
|
|
11982
12000
|
*
|
|
11983
12001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/name)
|
|
11984
12002
|
*/
|
|
11985
12003
|
readonly name: string;
|
|
11986
12004
|
/**
|
|
11987
|
-
* 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.
|
|
12005
|
+
* 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.
|
|
11988
12006
|
*
|
|
11989
12007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/root)
|
|
11990
12008
|
*/
|
|
@@ -12003,19 +12021,19 @@ declare var FileSystem: {
|
|
|
12003
12021
|
*/
|
|
12004
12022
|
interface FileSystemDirectoryEntry extends FileSystemEntry {
|
|
12005
12023
|
/**
|
|
12006
|
-
* The FileSystemDirectoryEntry interface's method **`createReader()`** returns a the directory.
|
|
12024
|
+
* The FileSystemDirectoryEntry interface's method **`createReader()`** returns a FileSystemDirectoryReader object which can be used to read the entries in the directory.
|
|
12007
12025
|
*
|
|
12008
12026
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/createReader)
|
|
12009
12027
|
*/
|
|
12010
12028
|
createReader(): FileSystemDirectoryReader;
|
|
12011
12029
|
/**
|
|
12012
|
-
* The FileSystemDirectoryEntry interface's method **`getDirectory()`** returns a somewhere within the directory subtree rooted at the directory on which it's called.
|
|
12030
|
+
* 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.
|
|
12013
12031
|
*
|
|
12014
12032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getDirectory)
|
|
12015
12033
|
*/
|
|
12016
12034
|
getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;
|
|
12017
12035
|
/**
|
|
12018
|
-
* The FileSystemDirectoryEntry interface's method **`getFile()`** returns a within the directory subtree rooted at the directory on which it's called.
|
|
12036
|
+
* 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.
|
|
12019
12037
|
*
|
|
12020
12038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getFile)
|
|
12021
12039
|
*/
|
|
@@ -12036,25 +12054,25 @@ declare var FileSystemDirectoryEntry: {
|
|
|
12036
12054
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
12037
12055
|
readonly kind: "directory";
|
|
12038
12056
|
/**
|
|
12039
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
12057
|
+
* 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.
|
|
12040
12058
|
*
|
|
12041
12059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
12042
12060
|
*/
|
|
12043
12061
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
12044
12062
|
/**
|
|
12045
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
12063
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
12046
12064
|
*
|
|
12047
12065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
12048
12066
|
*/
|
|
12049
12067
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
12050
12068
|
/**
|
|
12051
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
12069
|
+
* 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.
|
|
12052
12070
|
*
|
|
12053
12071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
12054
12072
|
*/
|
|
12055
12073
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
12056
12074
|
/**
|
|
12057
|
-
* 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.
|
|
12075
|
+
* 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.
|
|
12058
12076
|
*
|
|
12059
12077
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
12060
12078
|
*/
|
|
@@ -12092,7 +12110,7 @@ declare var FileSystemDirectoryReader: {
|
|
|
12092
12110
|
*/
|
|
12093
12111
|
interface FileSystemEntry {
|
|
12094
12112
|
/**
|
|
12095
|
-
* The read-only **`filesystem`** property of the FileSystemEntry interface contains a resides.
|
|
12113
|
+
* The read-only **`filesystem`** property of the FileSystemEntry interface contains a FileSystem object that represents the file system on which the entry resides.
|
|
12096
12114
|
*
|
|
12097
12115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/filesystem)
|
|
12098
12116
|
*/
|
|
@@ -12122,7 +12140,7 @@ interface FileSystemEntry {
|
|
|
12122
12140
|
*/
|
|
12123
12141
|
readonly name: string;
|
|
12124
12142
|
/**
|
|
12125
|
-
* The FileSystemEntry interface's method **`getParent()`** obtains a
|
|
12143
|
+
* The FileSystemEntry interface's method **`getParent()`** obtains a FileSystemDirectoryEntry.
|
|
12126
12144
|
*
|
|
12127
12145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/getParent)
|
|
12128
12146
|
*/
|
|
@@ -12141,7 +12159,7 @@ declare var FileSystemEntry: {
|
|
|
12141
12159
|
*/
|
|
12142
12160
|
interface FileSystemFileEntry extends FileSystemEntry {
|
|
12143
12161
|
/**
|
|
12144
|
-
* The FileSystemFileEntry interface's method **`file()`** returns a the directory entry.
|
|
12162
|
+
* 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.
|
|
12145
12163
|
*
|
|
12146
12164
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileEntry/file)
|
|
12147
12165
|
*/
|
|
@@ -12168,7 +12186,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
12168
12186
|
*/
|
|
12169
12187
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
12170
12188
|
/**
|
|
12171
|
-
* The **`getFile()`** method of the
|
|
12189
|
+
* 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.
|
|
12172
12190
|
*
|
|
12173
12191
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
12174
12192
|
*/
|
|
@@ -12188,19 +12206,19 @@ declare var FileSystemFileHandle: {
|
|
|
12188
12206
|
*/
|
|
12189
12207
|
interface FileSystemHandle {
|
|
12190
12208
|
/**
|
|
12191
|
-
* The **`kind`** read-only property of the
|
|
12209
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
12192
12210
|
*
|
|
12193
12211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
12194
12212
|
*/
|
|
12195
12213
|
readonly kind: FileSystemHandleKind;
|
|
12196
12214
|
/**
|
|
12197
|
-
* The **`name`** read-only property of the handle.
|
|
12215
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
12198
12216
|
*
|
|
12199
12217
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
12200
12218
|
*/
|
|
12201
12219
|
readonly name: string;
|
|
12202
12220
|
/**
|
|
12203
|
-
* The **`isSameEntry()`** method of the
|
|
12221
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
12204
12222
|
*
|
|
12205
12223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
12206
12224
|
*/
|
|
@@ -12251,7 +12269,7 @@ declare var FileSystemWritableFileStream: {
|
|
|
12251
12269
|
*/
|
|
12252
12270
|
interface FocusEvent extends UIEvent {
|
|
12253
12271
|
/**
|
|
12254
|
-
* The **`relatedTarget`** read-only property of the FocusEvent interface is the secondary target, depending on the type of event:
|
|
12272
|
+
* The **`relatedTarget`** read-only property of the FocusEvent interface is the secondary target, depending on the type of event:
|
|
12255
12273
|
*
|
|
12256
12274
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FocusEvent/relatedTarget)
|
|
12257
12275
|
*/
|
|
@@ -12415,7 +12433,7 @@ declare var FontFaceSet: {
|
|
|
12415
12433
|
*/
|
|
12416
12434
|
interface FontFaceSetLoadEvent extends Event {
|
|
12417
12435
|
/**
|
|
12418
|
-
* The **`fontfaces`** read-only property of the
|
|
12436
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
12419
12437
|
*
|
|
12420
12438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
12421
12439
|
*/
|
|
@@ -12526,7 +12544,7 @@ declare var FragmentDirective: {
|
|
|
12526
12544
|
*/
|
|
12527
12545
|
interface GPUError {
|
|
12528
12546
|
/**
|
|
12529
|
-
* The **`message`** read-only property of the
|
|
12547
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
12530
12548
|
*
|
|
12531
12549
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
12532
12550
|
*/
|
|
@@ -12571,7 +12589,7 @@ interface Gamepad {
|
|
|
12571
12589
|
*/
|
|
12572
12590
|
readonly buttons: ReadonlyArray<GamepadButton>;
|
|
12573
12591
|
/**
|
|
12574
|
-
* The **`Gamepad.connected`** property of the still connected to the system.
|
|
12592
|
+
* The **`Gamepad.connected`** property of the Gamepad interface returns a boolean indicating whether the gamepad is still connected to the system.
|
|
12575
12593
|
*
|
|
12576
12594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/connected)
|
|
12577
12595
|
*/
|
|
@@ -12589,13 +12607,13 @@ interface Gamepad {
|
|
|
12589
12607
|
*/
|
|
12590
12608
|
readonly index: number;
|
|
12591
12609
|
/**
|
|
12592
|
-
* The **`Gamepad.mapping`** property of the remapped the controls on the device to a known layout.
|
|
12610
|
+
* 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.
|
|
12593
12611
|
*
|
|
12594
12612
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/mapping)
|
|
12595
12613
|
*/
|
|
12596
12614
|
readonly mapping: GamepadMappingType;
|
|
12597
12615
|
/**
|
|
12598
|
-
* The **`Gamepad.timestamp`** property of the representing the last time the data for this gamepad was updated.
|
|
12616
|
+
* The **`Gamepad.timestamp`** property of the Gamepad interface returns a DOMHighResTimeStamp representing the last time the data for this gamepad was updated.
|
|
12599
12617
|
*
|
|
12600
12618
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp)
|
|
12601
12619
|
*/
|
|
@@ -12620,19 +12638,19 @@ declare var Gamepad: {
|
|
|
12620
12638
|
*/
|
|
12621
12639
|
interface GamepadButton {
|
|
12622
12640
|
/**
|
|
12623
|
-
* The **`GamepadButton.pressed`** property of the the button is currently pressed (`true`) or unpressed (`false`).
|
|
12641
|
+
* The **`GamepadButton.pressed`** property of the GamepadButton interface returns a `boolean` indicating whether the button is currently pressed (`true`) or unpressed (`false`).
|
|
12624
12642
|
*
|
|
12625
12643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/pressed)
|
|
12626
12644
|
*/
|
|
12627
12645
|
readonly pressed: boolean;
|
|
12628
12646
|
/**
|
|
12629
|
-
* The **`touched`** property of the a button capable of detecting touch is currently touched (`true`) or not touched (`false`).
|
|
12647
|
+
* 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`).
|
|
12630
12648
|
*
|
|
12631
12649
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/touched)
|
|
12632
12650
|
*/
|
|
12633
12651
|
readonly touched: boolean;
|
|
12634
12652
|
/**
|
|
12635
|
-
* The **`GamepadButton.value`** property of the current state of analog buttons on many modern gamepads, such as the triggers.
|
|
12653
|
+
* 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.
|
|
12636
12654
|
*
|
|
12637
12655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/value)
|
|
12638
12656
|
*/
|
|
@@ -12651,7 +12669,7 @@ declare var GamepadButton: {
|
|
|
12651
12669
|
*/
|
|
12652
12670
|
interface GamepadEvent extends Event {
|
|
12653
12671
|
/**
|
|
12654
|
-
* The **`GamepadEvent.gamepad`** property of the **GamepadEvent interface** returns a Gamepad object, providing access to the associated gamepad data for fired
|
|
12672
|
+
* 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.
|
|
12655
12673
|
*
|
|
12656
12674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent/gamepad)
|
|
12657
12675
|
*/
|
|
@@ -13253,7 +13271,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
13253
13271
|
*/
|
|
13254
13272
|
ping: string;
|
|
13255
13273
|
/**
|
|
13256
|
-
* The **`HTMLAnchorElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the
|
|
13274
|
+
* The **`HTMLAnchorElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the a element defining which referrer is sent when fetching the resource.
|
|
13257
13275
|
*
|
|
13258
13276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy)
|
|
13259
13277
|
*/
|
|
@@ -13336,7 +13354,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
13336
13354
|
*/
|
|
13337
13355
|
ping: string;
|
|
13338
13356
|
/**
|
|
13339
|
-
* The **`HTMLAreaElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the resource.
|
|
13357
|
+
* The **`HTMLAreaElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the area element defining which referrer is sent when fetching the resource.
|
|
13340
13358
|
*
|
|
13341
13359
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy)
|
|
13342
13360
|
*/
|
|
@@ -13522,7 +13540,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
13522
13540
|
*/
|
|
13523
13541
|
formTarget: string;
|
|
13524
13542
|
/**
|
|
13525
|
-
* The **`HTMLButtonElement.labels`** read-only property returns a
|
|
13543
|
+
* The **`HTMLButtonElement.labels`** read-only property returns a NodeList of the label elements associated with the button element.
|
|
13526
13544
|
*
|
|
13527
13545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels)
|
|
13528
13546
|
*/
|
|
@@ -13779,7 +13797,7 @@ interface HTMLDetailsElement extends HTMLElement {
|
|
|
13779
13797
|
*/
|
|
13780
13798
|
name: string;
|
|
13781
13799
|
/**
|
|
13782
|
-
* 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.
|
|
13800
|
+
* 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.
|
|
13783
13801
|
*
|
|
13784
13802
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)
|
|
13785
13803
|
*/
|
|
@@ -13802,13 +13820,13 @@ declare var HTMLDetailsElement: {
|
|
|
13802
13820
|
*/
|
|
13803
13821
|
interface HTMLDialogElement extends HTMLElement {
|
|
13804
13822
|
/**
|
|
13805
|
-
* The **`closedBy`** property of the
|
|
13823
|
+
* The **`closedBy`** property of the HTMLDialogElement interface indicates the types of user actions that can be used to close the associated dialog element.
|
|
13806
13824
|
*
|
|
13807
13825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/closedBy)
|
|
13808
13826
|
*/
|
|
13809
13827
|
closedBy: string;
|
|
13810
13828
|
/**
|
|
13811
|
-
* The **`open`** property of the `open` HTML attribute, indicating whether the dialog is available for interaction.
|
|
13829
|
+
* The **`open`** property of the HTMLDialogElement interface is a boolean value reflecting the `open` HTML attribute, indicating whether the dialog is available for interaction.
|
|
13812
13830
|
*
|
|
13813
13831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/open)
|
|
13814
13832
|
*/
|
|
@@ -13838,7 +13856,7 @@ interface HTMLDialogElement extends HTMLElement {
|
|
|
13838
13856
|
*/
|
|
13839
13857
|
show(): void;
|
|
13840
13858
|
/**
|
|
13841
|
-
* The **`showModal()`** method of the of any other dialogs that might be present.
|
|
13859
|
+
* The **`showModal()`** method of the HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present.
|
|
13842
13860
|
*
|
|
13843
13861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/showModal)
|
|
13844
13862
|
*/
|
|
@@ -14295,7 +14313,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14295
14313
|
*/
|
|
14296
14314
|
autocomplete: AutoFillBase;
|
|
14297
14315
|
/**
|
|
14298
|
-
* The HTMLFormElement property **`elements`** returns an the form element.
|
|
14316
|
+
* The HTMLFormElement property **`elements`** returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
|
|
14299
14317
|
*
|
|
14300
14318
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
|
|
14301
14319
|
*/
|
|
@@ -14319,7 +14337,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14319
14337
|
*/
|
|
14320
14338
|
readonly length: number;
|
|
14321
14339
|
/**
|
|
14322
|
-
* The **`HTMLFormElement.method`** property represents the
|
|
14340
|
+
* The **`HTMLFormElement.method`** property represents the HTTP method used to submit the form.
|
|
14323
14341
|
*
|
|
14324
14342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)
|
|
14325
14343
|
*/
|
|
@@ -14379,7 +14397,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
14379
14397
|
*/
|
|
14380
14398
|
reset(): void;
|
|
14381
14399
|
/**
|
|
14382
|
-
* The **`HTMLFormElement.submit()`** method submits a given
|
|
14400
|
+
* The **`HTMLFormElement.submit()`** method submits a given form.
|
|
14383
14401
|
*
|
|
14384
14402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit)
|
|
14385
14403
|
*/
|
|
@@ -14693,7 +14711,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14693
14711
|
*/
|
|
14694
14712
|
name: string;
|
|
14695
14713
|
/**
|
|
14696
|
-
* The **`HTMLIFrameElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.
|
|
14714
|
+
* The **`HTMLIFrameElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the iframe element defining which referrer is sent when fetching the resource.
|
|
14697
14715
|
*
|
|
14698
14716
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy)
|
|
14699
14717
|
*/
|
|
@@ -14798,13 +14816,13 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14798
14816
|
*/
|
|
14799
14817
|
fetchPriority: "high" | "low" | "auto";
|
|
14800
14818
|
/**
|
|
14801
|
-
* 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.
|
|
14819
|
+
* 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.
|
|
14802
14820
|
*
|
|
14803
14821
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
|
|
14804
14822
|
*/
|
|
14805
14823
|
height: number;
|
|
14806
14824
|
/**
|
|
14807
|
-
* 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.
|
|
14825
|
+
* 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.
|
|
14808
14826
|
* @deprecated
|
|
14809
14827
|
*
|
|
14810
14828
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
|
|
@@ -14839,7 +14857,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14839
14857
|
*/
|
|
14840
14858
|
name: string;
|
|
14841
14859
|
/**
|
|
14842
|
-
* The HTMLImageElement interface's **`naturalHeight`** property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in
|
|
14860
|
+
* 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.
|
|
14843
14861
|
*
|
|
14844
14862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
|
|
14845
14863
|
*/
|
|
@@ -14851,7 +14869,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14851
14869
|
*/
|
|
14852
14870
|
readonly naturalWidth: number;
|
|
14853
14871
|
/**
|
|
14854
|
-
* The **`HTMLImageElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.
|
|
14872
|
+
* The **`HTMLImageElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the img element defining which referrer is sent when fetching the resource.
|
|
14855
14873
|
*
|
|
14856
14874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
|
|
14857
14875
|
*/
|
|
@@ -14875,38 +14893,38 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
14875
14893
|
*/
|
|
14876
14894
|
srcset: string;
|
|
14877
14895
|
/**
|
|
14878
|
-
* The **`useMap`** property on the providing the name of the client-side image map to apply to the image.
|
|
14896
|
+
* 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.
|
|
14879
14897
|
*
|
|
14880
14898
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
|
|
14881
14899
|
*/
|
|
14882
14900
|
useMap: string;
|
|
14883
14901
|
/**
|
|
14884
|
-
* The _obsolete_ **`vspace`** property of the to leave empty on the top and bottom of the img element when laying out the page.
|
|
14902
|
+
* 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.
|
|
14885
14903
|
* @deprecated
|
|
14886
14904
|
*
|
|
14887
14905
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
|
|
14888
14906
|
*/
|
|
14889
14907
|
vspace: number;
|
|
14890
14908
|
/**
|
|
14891
|
-
* 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.
|
|
14909
|
+
* 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.
|
|
14892
14910
|
*
|
|
14893
14911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
|
|
14894
14912
|
*/
|
|
14895
14913
|
width: number;
|
|
14896
14914
|
/**
|
|
14897
|
-
* The read-only HTMLImageElement property **`x`** indicates the x-coordinate of the origin.
|
|
14915
|
+
* 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.
|
|
14898
14916
|
*
|
|
14899
14917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
|
|
14900
14918
|
*/
|
|
14901
14919
|
readonly x: number;
|
|
14902
14920
|
/**
|
|
14903
|
-
* The read-only HTMLImageElement property **`y`** indicates the y-coordinate of the origin.
|
|
14921
|
+
* 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.
|
|
14904
14922
|
*
|
|
14905
14923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
|
|
14906
14924
|
*/
|
|
14907
14925
|
readonly y: number;
|
|
14908
14926
|
/**
|
|
14909
|
-
* The **`decode()`** method of the HTMLImageElement interface returns a it to the DOM.
|
|
14927
|
+
* 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.
|
|
14910
14928
|
*
|
|
14911
14929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
|
|
14912
14930
|
*/
|
|
@@ -15039,7 +15057,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
15039
15057
|
*/
|
|
15040
15058
|
indeterminate: boolean;
|
|
15041
15059
|
/**
|
|
15042
|
-
* The **`HTMLInputElement.labels`** read-only property returns a
|
|
15060
|
+
* The **`HTMLInputElement.labels`** read-only property returns a NodeList of the label elements associated with the input element, if the element is not hidden.
|
|
15043
15061
|
*
|
|
15044
15062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels)
|
|
15045
15063
|
*/
|
|
@@ -15434,7 +15452,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
15434
15452
|
*/
|
|
15435
15453
|
media: string;
|
|
15436
15454
|
/**
|
|
15437
|
-
* The **`referrerPolicy`** property of the HTMLLinkElement interface reflects the HTML `referrerpolicy` attribute of the resource.
|
|
15455
|
+
* 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.
|
|
15438
15456
|
*
|
|
15439
15457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy)
|
|
15440
15458
|
*/
|
|
@@ -15630,7 +15648,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
15630
15648
|
*/
|
|
15631
15649
|
readonly ended: boolean;
|
|
15632
15650
|
/**
|
|
15633
|
-
* The **`HTMLMediaElement.error`** property is the there has not been an error.
|
|
15651
|
+
* The **`HTMLMediaElement.error`** property is the MediaError object for the most recent error, or `null` if there has not been an error.
|
|
15634
15652
|
*
|
|
15635
15653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/error)
|
|
15636
15654
|
*/
|
|
@@ -15732,13 +15750,13 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
15732
15750
|
*/
|
|
15733
15751
|
src: string;
|
|
15734
15752
|
/**
|
|
15735
|
-
* The **`srcObject`** property of the the source of the media associated with the HTMLMediaElement, or `null` if not assigned.
|
|
15753
|
+
* 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.
|
|
15736
15754
|
*
|
|
15737
15755
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/srcObject)
|
|
15738
15756
|
*/
|
|
15739
15757
|
srcObject: MediaProvider | null;
|
|
15740
15758
|
/**
|
|
15741
|
-
* 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.
|
|
15759
|
+
* 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.
|
|
15742
15760
|
*
|
|
15743
15761
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/textTracks)
|
|
15744
15762
|
*/
|
|
@@ -15913,7 +15931,7 @@ interface HTMLMeterElement extends HTMLElement {
|
|
|
15913
15931
|
*/
|
|
15914
15932
|
high: number;
|
|
15915
15933
|
/**
|
|
15916
|
-
* The **`HTMLMeterElement.labels`** read-only property returns a
|
|
15934
|
+
* The **`HTMLMeterElement.labels`** read-only property returns a NodeList of the label elements associated with the meter element.
|
|
15917
15935
|
*
|
|
15918
15936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels)
|
|
15919
15937
|
*/
|
|
@@ -16061,7 +16079,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16061
16079
|
*/
|
|
16062
16080
|
readonly contentWindow: WindowProxy | null;
|
|
16063
16081
|
/**
|
|
16064
|
-
* The **`data`** property of the reflects the `data` HTML attribute, specifying the address of a resource's data.
|
|
16082
|
+
* The **`data`** property of the HTMLObjectElement interface returns a string that reflects the `data` HTML attribute, specifying the address of a resource's data.
|
|
16065
16083
|
*
|
|
16066
16084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)
|
|
16067
16085
|
*/
|
|
@@ -16075,7 +16093,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16075
16093
|
*/
|
|
16076
16094
|
readonly form: HTMLFormElement | null;
|
|
16077
16095
|
/**
|
|
16078
|
-
* The **`height`** property of the reflects the `height` HTML attribute, specifying the displayed height of the resource in CSS pixels.
|
|
16096
|
+
* 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.
|
|
16079
16097
|
*
|
|
16080
16098
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)
|
|
16081
16099
|
*/
|
|
@@ -16083,7 +16101,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16083
16101
|
/** @deprecated */
|
|
16084
16102
|
hspace: number;
|
|
16085
16103
|
/**
|
|
16086
|
-
* The **`name`** property of the reflects the `name` HTML attribute, specifying the name of the browsing context.
|
|
16104
|
+
* The **`name`** property of the HTMLObjectElement interface returns a string that reflects the `name` HTML attribute, specifying the name of the browsing context.
|
|
16087
16105
|
*
|
|
16088
16106
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/name)
|
|
16089
16107
|
*/
|
|
@@ -16091,13 +16109,13 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16091
16109
|
/** @deprecated */
|
|
16092
16110
|
standby: string;
|
|
16093
16111
|
/**
|
|
16094
|
-
* The **`type`** property of the reflects the `type` HTML attribute, specifying the MIME type of the resource.
|
|
16112
|
+
* The **`type`** property of the HTMLObjectElement interface returns a string that reflects the `type` HTML attribute, specifying the MIME type of the resource.
|
|
16095
16113
|
*
|
|
16096
16114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/type)
|
|
16097
16115
|
*/
|
|
16098
16116
|
type: string;
|
|
16099
16117
|
/**
|
|
16100
|
-
* The **`useMap`** property of the reflects the `usemap` HTML attribute, specifying a
|
|
16118
|
+
* The **`useMap`** property of the HTMLObjectElement interface returns a string that reflects the `usemap` HTML attribute, specifying a map element to use.
|
|
16101
16119
|
* @deprecated
|
|
16102
16120
|
*
|
|
16103
16121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)
|
|
@@ -16118,7 +16136,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16118
16136
|
/** @deprecated */
|
|
16119
16137
|
vspace: number;
|
|
16120
16138
|
/**
|
|
16121
|
-
* The **`width`** property of the reflects the `width` HTML attribute, specifying the displayed width of the resource in CSS pixels.
|
|
16139
|
+
* 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.
|
|
16122
16140
|
*
|
|
16123
16141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/width)
|
|
16124
16142
|
*/
|
|
@@ -16148,7 +16166,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
16148
16166
|
*/
|
|
16149
16167
|
reportValidity(): boolean;
|
|
16150
16168
|
/**
|
|
16151
|
-
* The **`setCustomValidity()`** method of the element.
|
|
16169
|
+
* The **`setCustomValidity()`** method of the HTMLObjectElement interface sets a custom validity message for the element.
|
|
16152
16170
|
*
|
|
16153
16171
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/setCustomValidity)
|
|
16154
16172
|
*/
|
|
@@ -16335,7 +16353,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
16335
16353
|
*/
|
|
16336
16354
|
readonly htmlFor: DOMTokenList;
|
|
16337
16355
|
/**
|
|
16338
|
-
* The **`HTMLOutputElement.labels`** read-only property returns a
|
|
16356
|
+
* The **`HTMLOutputElement.labels`** read-only property returns a NodeList of the label elements associated with the output element.
|
|
16339
16357
|
*
|
|
16340
16358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels)
|
|
16341
16359
|
*/
|
|
@@ -16494,7 +16512,7 @@ declare var HTMLPreElement: {
|
|
|
16494
16512
|
*/
|
|
16495
16513
|
interface HTMLProgressElement extends HTMLElement {
|
|
16496
16514
|
/**
|
|
16497
|
-
* The **`HTMLProgressElement.labels`** read-only property returns a NodeList of the label elements associated with the
|
|
16515
|
+
* The **`HTMLProgressElement.labels`** read-only property returns a NodeList of the label elements associated with the progress element.
|
|
16498
16516
|
*
|
|
16499
16517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/labels)
|
|
16500
16518
|
*/
|
|
@@ -16606,7 +16624,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
16606
16624
|
*/
|
|
16607
16625
|
noModule: boolean;
|
|
16608
16626
|
/**
|
|
16609
|
-
* 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.
|
|
16627
|
+
* 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.
|
|
16610
16628
|
*
|
|
16611
16629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy)
|
|
16612
16630
|
*/
|
|
@@ -16671,7 +16689,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16671
16689
|
*/
|
|
16672
16690
|
readonly form: HTMLFormElement | null;
|
|
16673
16691
|
/**
|
|
16674
|
-
* The **`HTMLSelectElement.labels`** read-only property returns a
|
|
16692
|
+
* The **`HTMLSelectElement.labels`** read-only property returns a NodeList of the label elements associated with the select element.
|
|
16675
16693
|
*
|
|
16676
16694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels)
|
|
16677
16695
|
*/
|
|
@@ -16713,7 +16731,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16713
16731
|
*/
|
|
16714
16732
|
selectedIndex: number;
|
|
16715
16733
|
/**
|
|
16716
|
-
* The **read-only** HTMLSelectElement property **`selectedOptions`** contains a list of the element that are currently selected.
|
|
16734
|
+
* The **read-only** HTMLSelectElement property **`selectedOptions`** contains a list of the option elements contained within the select element that are currently selected.
|
|
16717
16735
|
*
|
|
16718
16736
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions)
|
|
16719
16737
|
*/
|
|
@@ -16767,13 +16785,13 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
16767
16785
|
*/
|
|
16768
16786
|
checkValidity(): boolean;
|
|
16769
16787
|
/**
|
|
16770
|
-
* 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.
|
|
16788
|
+
* 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.
|
|
16771
16789
|
*
|
|
16772
16790
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/item)
|
|
16773
16791
|
*/
|
|
16774
16792
|
item(index: number): HTMLOptionElement | null;
|
|
16775
16793
|
/**
|
|
16776
|
-
* The **`HTMLSelectElement.namedItem()`** method returns the whose `name` or `id` match the specified name, or `null` if no option matches.
|
|
16794
|
+
* 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.
|
|
16777
16795
|
*
|
|
16778
16796
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/namedItem)
|
|
16779
16797
|
*/
|
|
@@ -17201,7 +17219,7 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17201
17219
|
*/
|
|
17202
17220
|
cellPadding: string;
|
|
17203
17221
|
/**
|
|
17204
|
-
* 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.
|
|
17222
|
+
* 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.
|
|
17205
17223
|
* @deprecated
|
|
17206
17224
|
*
|
|
17207
17225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/cellSpacing)
|
|
@@ -17215,7 +17233,7 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17215
17233
|
*/
|
|
17216
17234
|
frame: string;
|
|
17217
17235
|
/**
|
|
17218
|
-
* The read-only HTMLTableElement property **`rows`** returns a live
|
|
17236
|
+
* 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.
|
|
17219
17237
|
*
|
|
17220
17238
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/rows)
|
|
17221
17239
|
*/
|
|
@@ -17241,13 +17259,13 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17241
17259
|
*/
|
|
17242
17260
|
readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;
|
|
17243
17261
|
/**
|
|
17244
|
-
* The **`HTMLTableElement.tFoot`** property represents the
|
|
17262
|
+
* The **`HTMLTableElement.tFoot`** property represents the tfoot element of a table.
|
|
17245
17263
|
*
|
|
17246
17264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tFoot)
|
|
17247
17265
|
*/
|
|
17248
17266
|
tFoot: HTMLTableSectionElement | null;
|
|
17249
17267
|
/**
|
|
17250
|
-
* The **`HTMLTableElement.tHead`** represents the
|
|
17268
|
+
* The **`HTMLTableElement.tHead`** represents the thead element of a table.
|
|
17251
17269
|
*
|
|
17252
17270
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tHead)
|
|
17253
17271
|
*/
|
|
@@ -17260,31 +17278,31 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17260
17278
|
*/
|
|
17261
17279
|
width: string;
|
|
17262
17280
|
/**
|
|
17263
|
-
* The **`HTMLTableElement.createCaption()`** method returns the
|
|
17281
|
+
* The **`HTMLTableElement.createCaption()`** method returns the caption element associated with a given table.
|
|
17264
17282
|
*
|
|
17265
17283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createCaption)
|
|
17266
17284
|
*/
|
|
17267
17285
|
createCaption(): HTMLTableCaptionElement;
|
|
17268
17286
|
/**
|
|
17269
|
-
* The **`createTBody()`** method of
|
|
17287
|
+
* The **`createTBody()`** method of HTMLTableElement objects creates and returns a new tbody element associated with a given table.
|
|
17270
17288
|
*
|
|
17271
17289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTBody)
|
|
17272
17290
|
*/
|
|
17273
17291
|
createTBody(): HTMLTableSectionElement;
|
|
17274
17292
|
/**
|
|
17275
|
-
* The **`createTFoot()`** method of associated with a given table.
|
|
17293
|
+
* The **`createTFoot()`** method of HTMLTableElement objects returns the tfoot element associated with a given table.
|
|
17276
17294
|
*
|
|
17277
17295
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTFoot)
|
|
17278
17296
|
*/
|
|
17279
17297
|
createTFoot(): HTMLTableSectionElement;
|
|
17280
17298
|
/**
|
|
17281
|
-
* The **`createTHead()`** method of associated with a given table.
|
|
17299
|
+
* The **`createTHead()`** method of HTMLTableElement objects returns the thead element associated with a given table.
|
|
17282
17300
|
*
|
|
17283
17301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTHead)
|
|
17284
17302
|
*/
|
|
17285
17303
|
createTHead(): HTMLTableSectionElement;
|
|
17286
17304
|
/**
|
|
17287
|
-
* The **`HTMLTableElement.deleteCaption()`** method removes the
|
|
17305
|
+
* The **`HTMLTableElement.deleteCaption()`** method removes the caption element from a given table.
|
|
17288
17306
|
*
|
|
17289
17307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteCaption)
|
|
17290
17308
|
*/
|
|
@@ -17296,13 +17314,13 @@ interface HTMLTableElement extends HTMLElement {
|
|
|
17296
17314
|
*/
|
|
17297
17315
|
deleteRow(index: number): void;
|
|
17298
17316
|
/**
|
|
17299
|
-
* The **`HTMLTableElement.deleteTFoot()`** method removes the
|
|
17317
|
+
* The **`HTMLTableElement.deleteTFoot()`** method removes the tfoot element from a given table.
|
|
17300
17318
|
*
|
|
17301
17319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTFoot)
|
|
17302
17320
|
*/
|
|
17303
17321
|
deleteTFoot(): void;
|
|
17304
17322
|
/**
|
|
17305
|
-
* The **`HTMLTableElement.deleteTHead()`** removes the
|
|
17323
|
+
* The **`HTMLTableElement.deleteTHead()`** removes the thead element from a given table.
|
|
17306
17324
|
*
|
|
17307
17325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTHead)
|
|
17308
17326
|
*/
|
|
@@ -17461,7 +17479,7 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
17461
17479
|
*/
|
|
17462
17480
|
deleteRow(index: number): void;
|
|
17463
17481
|
/**
|
|
17464
|
-
* The **`insertRow()`** method of the HTMLTableSectionElement interface inserts a new row (tr) in the given table sectioning element (thead, tfoot, or
|
|
17482
|
+
* 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.
|
|
17465
17483
|
*
|
|
17466
17484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/insertRow)
|
|
17467
17485
|
*/
|
|
@@ -17484,7 +17502,7 @@ declare var HTMLTableSectionElement: {
|
|
|
17484
17502
|
*/
|
|
17485
17503
|
interface HTMLTemplateElement extends HTMLElement {
|
|
17486
17504
|
/**
|
|
17487
|
-
* The **`HTMLTemplateElement.content`** property returns a `<template>` element's template contents (a
|
|
17505
|
+
* The **`HTMLTemplateElement.content`** property returns a `<template>` element's template contents (a DocumentFragment).
|
|
17488
17506
|
*
|
|
17489
17507
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
17490
17508
|
*/
|
|
@@ -17567,7 +17585,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17567
17585
|
*/
|
|
17568
17586
|
readonly form: HTMLFormElement | null;
|
|
17569
17587
|
/**
|
|
17570
|
-
* The **`HTMLTextAreaElement.labels`** read-only property returns a NodeList of the label elements associated with the
|
|
17588
|
+
* The **`HTMLTextAreaElement.labels`** read-only property returns a NodeList of the label elements associated with the textArea element.
|
|
17571
17589
|
*
|
|
17572
17590
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels)
|
|
17573
17591
|
*/
|
|
@@ -17615,7 +17633,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17615
17633
|
*/
|
|
17616
17634
|
rows: number;
|
|
17617
17635
|
/**
|
|
17618
|
-
*
|
|
17636
|
+
* The **`selectionDirection`** property of the HTMLTextAreaElement interface specifies the current direction of the selection.
|
|
17619
17637
|
*
|
|
17620
17638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)
|
|
17621
17639
|
*/
|
|
@@ -17793,7 +17811,7 @@ interface HTMLTrackElement extends HTMLElement {
|
|
|
17793
17811
|
*/
|
|
17794
17812
|
label: string;
|
|
17795
17813
|
/**
|
|
17796
|
-
* The **`readyState`** read-only property of the HTMLTrackElement interface returns a number representing the track element's text track readiness state:
|
|
17814
|
+
* The **`readyState`** read-only property of the HTMLTrackElement interface returns a number representing the track element's text track readiness state:
|
|
17797
17815
|
*
|
|
17798
17816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState)
|
|
17799
17817
|
*/
|
|
@@ -17937,7 +17955,7 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
17937
17955
|
*/
|
|
17938
17956
|
cancelVideoFrameCallback(handle: number): void;
|
|
17939
17957
|
/**
|
|
17940
|
-
* The **HTMLVideoElement** method **`getVideoPlaybackQuality()`** creates and returns a frames have been lost.
|
|
17958
|
+
* The **HTMLVideoElement** method **`getVideoPlaybackQuality()`** creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost.
|
|
17941
17959
|
*
|
|
17942
17960
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)
|
|
17943
17961
|
*/
|
|
@@ -17972,13 +17990,13 @@ declare var HTMLVideoElement: {
|
|
|
17972
17990
|
*/
|
|
17973
17991
|
interface HashChangeEvent extends Event {
|
|
17974
17992
|
/**
|
|
17975
|
-
* The **`newURL`** read-only property of the navigating.
|
|
17993
|
+
* The **`newURL`** read-only property of the HashChangeEvent interface returns the new URL to which the window is navigating.
|
|
17976
17994
|
*
|
|
17977
17995
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/newURL)
|
|
17978
17996
|
*/
|
|
17979
17997
|
readonly newURL: string;
|
|
17980
17998
|
/**
|
|
17981
|
-
* The **`oldURL`** read-only property of the was navigated.
|
|
17999
|
+
* The **`oldURL`** read-only property of the HashChangeEvent interface returns the previous URL from which the window was navigated.
|
|
17982
18000
|
*
|
|
17983
18001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/oldURL)
|
|
17984
18002
|
*/
|
|
@@ -18148,19 +18166,19 @@ declare var History: {
|
|
|
18148
18166
|
*/
|
|
18149
18167
|
interface IDBCursor {
|
|
18150
18168
|
/**
|
|
18151
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
18169
|
+
* 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).
|
|
18152
18170
|
*
|
|
18153
18171
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
18154
18172
|
*/
|
|
18155
18173
|
readonly direction: IDBCursorDirection;
|
|
18156
18174
|
/**
|
|
18157
|
-
* The **`key`** read-only property of the position.
|
|
18175
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
18158
18176
|
*
|
|
18159
18177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
18160
18178
|
*/
|
|
18161
18179
|
readonly key: IDBValidKey;
|
|
18162
18180
|
/**
|
|
18163
|
-
* The **`primaryKey`** read-only property of the
|
|
18181
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
18164
18182
|
*
|
|
18165
18183
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
18166
18184
|
*/
|
|
@@ -18172,7 +18190,7 @@ interface IDBCursor {
|
|
|
18172
18190
|
*/
|
|
18173
18191
|
readonly request: IDBRequest;
|
|
18174
18192
|
/**
|
|
18175
|
-
* The **`source`** read-only property of the
|
|
18193
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
18176
18194
|
*
|
|
18177
18195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
18178
18196
|
*/
|
|
@@ -18190,7 +18208,7 @@ interface IDBCursor {
|
|
|
18190
18208
|
*/
|
|
18191
18209
|
continue(key?: IDBValidKey): void;
|
|
18192
18210
|
/**
|
|
18193
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
18211
|
+
* 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.
|
|
18194
18212
|
*
|
|
18195
18213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
18196
18214
|
*/
|
|
@@ -18221,7 +18239,7 @@ declare var IDBCursor: {
|
|
|
18221
18239
|
*/
|
|
18222
18240
|
interface IDBCursorWithValue extends IDBCursor {
|
|
18223
18241
|
/**
|
|
18224
|
-
* The **`value`** read-only property of the whatever that is.
|
|
18242
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
18225
18243
|
*
|
|
18226
18244
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
18227
18245
|
*/
|
|
@@ -18253,7 +18271,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
18253
18271
|
*/
|
|
18254
18272
|
readonly name: string;
|
|
18255
18273
|
/**
|
|
18256
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
18274
|
+
* 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.
|
|
18257
18275
|
*
|
|
18258
18276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
18259
18277
|
*/
|
|
@@ -18277,13 +18295,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
18277
18295
|
*/
|
|
18278
18296
|
close(): void;
|
|
18279
18297
|
/**
|
|
18280
|
-
* The **`createObjectStore()`** method of the
|
|
18298
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
18281
18299
|
*
|
|
18282
18300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
18283
18301
|
*/
|
|
18284
18302
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
18285
18303
|
/**
|
|
18286
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
18304
|
+
* 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.
|
|
18287
18305
|
*
|
|
18288
18306
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
18289
18307
|
*/
|
|
@@ -18324,7 +18342,7 @@ interface IDBFactory {
|
|
|
18324
18342
|
*/
|
|
18325
18343
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
18326
18344
|
/**
|
|
18327
|
-
* The **`deleteDatabase()`** method of the
|
|
18345
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
18328
18346
|
*
|
|
18329
18347
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
18330
18348
|
*/
|
|
@@ -18355,7 +18373,7 @@ interface IDBIndex {
|
|
|
18355
18373
|
*/
|
|
18356
18374
|
readonly keyPath: string | string[];
|
|
18357
18375
|
/**
|
|
18358
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
18376
|
+
* 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.
|
|
18359
18377
|
*
|
|
18360
18378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
18361
18379
|
*/
|
|
@@ -18385,7 +18403,7 @@ interface IDBIndex {
|
|
|
18385
18403
|
*/
|
|
18386
18404
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
18387
18405
|
/**
|
|
18388
|
-
* 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
|
|
18406
|
+
* 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.
|
|
18389
18407
|
*
|
|
18390
18408
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
18391
18409
|
*/
|
|
@@ -18403,7 +18421,7 @@ interface IDBIndex {
|
|
|
18403
18421
|
*/
|
|
18404
18422
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18405
18423
|
/**
|
|
18406
|
-
* 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
|
|
18424
|
+
* 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.
|
|
18407
18425
|
*
|
|
18408
18426
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
18409
18427
|
*/
|
|
@@ -18415,7 +18433,7 @@ interface IDBIndex {
|
|
|
18415
18433
|
*/
|
|
18416
18434
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
18417
18435
|
/**
|
|
18418
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
18436
|
+
* 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.
|
|
18419
18437
|
*
|
|
18420
18438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
18421
18439
|
*/
|
|
@@ -18434,25 +18452,25 @@ declare var IDBIndex: {
|
|
|
18434
18452
|
*/
|
|
18435
18453
|
interface IDBKeyRange {
|
|
18436
18454
|
/**
|
|
18437
|
-
* The **`lower`** read-only property of the
|
|
18455
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
18438
18456
|
*
|
|
18439
18457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
18440
18458
|
*/
|
|
18441
18459
|
readonly lower: any;
|
|
18442
18460
|
/**
|
|
18443
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
18461
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
18444
18462
|
*
|
|
18445
18463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
18446
18464
|
*/
|
|
18447
18465
|
readonly lowerOpen: boolean;
|
|
18448
18466
|
/**
|
|
18449
|
-
* The **`upper`** read-only property of the
|
|
18467
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
18450
18468
|
*
|
|
18451
18469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
18452
18470
|
*/
|
|
18453
18471
|
readonly upper: any;
|
|
18454
18472
|
/**
|
|
18455
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
18473
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
18456
18474
|
*
|
|
18457
18475
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
18458
18476
|
*/
|
|
@@ -18475,7 +18493,7 @@ declare var IDBKeyRange: {
|
|
|
18475
18493
|
*/
|
|
18476
18494
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
18477
18495
|
/**
|
|
18478
|
-
* The **`lowerBound()`** static method of the
|
|
18496
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
18479
18497
|
*
|
|
18480
18498
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
18481
18499
|
*/
|
|
@@ -18487,7 +18505,7 @@ declare var IDBKeyRange: {
|
|
|
18487
18505
|
*/
|
|
18488
18506
|
only(value: any): IDBKeyRange;
|
|
18489
18507
|
/**
|
|
18490
|
-
* The **`upperBound()`** static method of the
|
|
18508
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
18491
18509
|
*
|
|
18492
18510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
18493
18511
|
*/
|
|
@@ -18501,19 +18519,19 @@ declare var IDBKeyRange: {
|
|
|
18501
18519
|
*/
|
|
18502
18520
|
interface IDBObjectStore {
|
|
18503
18521
|
/**
|
|
18504
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
18522
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
18505
18523
|
*
|
|
18506
18524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
18507
18525
|
*/
|
|
18508
18526
|
readonly autoIncrement: boolean;
|
|
18509
18527
|
/**
|
|
18510
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
18528
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
18511
18529
|
*
|
|
18512
18530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
18513
18531
|
*/
|
|
18514
18532
|
readonly indexNames: DOMStringList;
|
|
18515
18533
|
/**
|
|
18516
|
-
* The **`keyPath`** read-only property of the
|
|
18534
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
18517
18535
|
*
|
|
18518
18536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
18519
18537
|
*/
|
|
@@ -18525,7 +18543,7 @@ interface IDBObjectStore {
|
|
|
18525
18543
|
*/
|
|
18526
18544
|
name: string;
|
|
18527
18545
|
/**
|
|
18528
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
18546
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
18529
18547
|
*
|
|
18530
18548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
18531
18549
|
*/
|
|
@@ -18543,25 +18561,25 @@ interface IDBObjectStore {
|
|
|
18543
18561
|
*/
|
|
18544
18562
|
clear(): IDBRequest<undefined>;
|
|
18545
18563
|
/**
|
|
18546
|
-
* 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
|
|
18564
|
+
* 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.
|
|
18547
18565
|
*
|
|
18548
18566
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
18549
18567
|
*/
|
|
18550
18568
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
18551
18569
|
/**
|
|
18552
|
-
* The **`createIndex()`** method of the
|
|
18570
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
18553
18571
|
*
|
|
18554
18572
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
18555
18573
|
*/
|
|
18556
18574
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
18557
18575
|
/**
|
|
18558
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
18576
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
18559
18577
|
*
|
|
18560
18578
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
18561
18579
|
*/
|
|
18562
18580
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
18563
18581
|
/**
|
|
18564
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
18582
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
18565
18583
|
*
|
|
18566
18584
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
18567
18585
|
*/
|
|
@@ -18573,7 +18591,7 @@ interface IDBObjectStore {
|
|
|
18573
18591
|
*/
|
|
18574
18592
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
18575
18593
|
/**
|
|
18576
|
-
* 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.
|
|
18594
|
+
* 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.
|
|
18577
18595
|
*
|
|
18578
18596
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
18579
18597
|
*/
|
|
@@ -18585,7 +18603,7 @@ interface IDBObjectStore {
|
|
|
18585
18603
|
*/
|
|
18586
18604
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18587
18605
|
/**
|
|
18588
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
18606
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
18589
18607
|
*
|
|
18590
18608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
18591
18609
|
*/
|
|
@@ -18597,13 +18615,13 @@ interface IDBObjectStore {
|
|
|
18597
18615
|
*/
|
|
18598
18616
|
index(name: string): IDBIndex;
|
|
18599
18617
|
/**
|
|
18600
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
18618
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
18601
18619
|
*
|
|
18602
18620
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
18603
18621
|
*/
|
|
18604
18622
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
18605
18623
|
/**
|
|
18606
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
18624
|
+
* 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.
|
|
18607
18625
|
*
|
|
18608
18626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
18609
18627
|
*/
|
|
@@ -18659,7 +18677,7 @@ interface IDBRequestEventMap {
|
|
|
18659
18677
|
*/
|
|
18660
18678
|
interface IDBRequest<T = any> extends EventTarget {
|
|
18661
18679
|
/**
|
|
18662
|
-
* The **`error`** read-only property of the request.
|
|
18680
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
18663
18681
|
*
|
|
18664
18682
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
18665
18683
|
*/
|
|
@@ -18669,19 +18687,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
18669
18687
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
18670
18688
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
18671
18689
|
/**
|
|
18672
|
-
* The **`readyState`** read-only property of the
|
|
18690
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
18673
18691
|
*
|
|
18674
18692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
18675
18693
|
*/
|
|
18676
18694
|
readonly readyState: IDBRequestReadyState;
|
|
18677
18695
|
/**
|
|
18678
|
-
* The **`result`** read-only property of the
|
|
18696
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
18679
18697
|
*
|
|
18680
18698
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
18681
18699
|
*/
|
|
18682
18700
|
readonly result: T;
|
|
18683
18701
|
/**
|
|
18684
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
18702
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
18685
18703
|
*
|
|
18686
18704
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
18687
18705
|
*/
|
|
@@ -18734,13 +18752,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
18734
18752
|
*/
|
|
18735
18753
|
readonly error: DOMException | null;
|
|
18736
18754
|
/**
|
|
18737
|
-
* 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`.
|
|
18755
|
+
* 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`.
|
|
18738
18756
|
*
|
|
18739
18757
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
18740
18758
|
*/
|
|
18741
18759
|
readonly mode: IDBTransactionMode;
|
|
18742
18760
|
/**
|
|
18743
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
18761
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
18744
18762
|
*
|
|
18745
18763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
18746
18764
|
*/
|
|
@@ -18764,7 +18782,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
18764
18782
|
*/
|
|
18765
18783
|
commit(): void;
|
|
18766
18784
|
/**
|
|
18767
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
18785
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
18768
18786
|
*
|
|
18769
18787
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
18770
18788
|
*/
|
|
@@ -18787,13 +18805,13 @@ declare var IDBTransaction: {
|
|
|
18787
18805
|
*/
|
|
18788
18806
|
interface IDBVersionChangeEvent extends Event {
|
|
18789
18807
|
/**
|
|
18790
|
-
* The **`newVersion`** read-only property of the database.
|
|
18808
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
18791
18809
|
*
|
|
18792
18810
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
18793
18811
|
*/
|
|
18794
18812
|
readonly newVersion: number | null;
|
|
18795
18813
|
/**
|
|
18796
|
-
* The **`oldVersion`** read-only property of the database.
|
|
18814
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
18797
18815
|
*
|
|
18798
18816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
18799
18817
|
*/
|
|
@@ -18887,7 +18905,7 @@ declare var ImageBitmap: {
|
|
|
18887
18905
|
*/
|
|
18888
18906
|
interface ImageBitmapRenderingContext {
|
|
18889
18907
|
/**
|
|
18890
|
-
* The **`ImageBitmapRenderingContext.canvas`** property, part of the Canvas API, is a read-only reference to the
|
|
18908
|
+
* 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.
|
|
18891
18909
|
*
|
|
18892
18910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
|
|
18893
18911
|
*/
|
|
@@ -18913,7 +18931,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
18913
18931
|
*/
|
|
18914
18932
|
interface ImageCapture {
|
|
18915
18933
|
/**
|
|
18916
|
-
* The **`track`** read-only property of the
|
|
18934
|
+
* The **`track`** read-only property of the ImageCapture interface returns a reference to the MediaStreamTrack passed to the ImageCapture.ImageCapture constructor.
|
|
18917
18935
|
*
|
|
18918
18936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/track)
|
|
18919
18937
|
*/
|
|
@@ -18931,13 +18949,13 @@ interface ImageCapture {
|
|
|
18931
18949
|
*/
|
|
18932
18950
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18933
18951
|
/**
|
|
18934
|
-
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18952
|
+
* 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.
|
|
18935
18953
|
*
|
|
18936
18954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18937
18955
|
*/
|
|
18938
18956
|
grabFrame(): Promise<ImageBitmap>;
|
|
18939
18957
|
/**
|
|
18940
|
-
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18958
|
+
* 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.
|
|
18941
18959
|
*
|
|
18942
18960
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/takePhoto)
|
|
18943
18961
|
*/
|
|
@@ -18962,7 +18980,7 @@ interface ImageData {
|
|
|
18962
18980
|
*/
|
|
18963
18981
|
readonly colorSpace: PredefinedColorSpace;
|
|
18964
18982
|
/**
|
|
18965
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
18983
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
18966
18984
|
*
|
|
18967
18985
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
18968
18986
|
*/
|
|
@@ -19156,25 +19174,25 @@ declare var InputDeviceInfo: {
|
|
|
19156
19174
|
*/
|
|
19157
19175
|
interface InputEvent extends UIEvent {
|
|
19158
19176
|
/**
|
|
19159
|
-
* The **`data`** read-only property of the characters.
|
|
19177
|
+
* The **`data`** read-only property of the InputEvent interface returns a string with inserted characters.
|
|
19160
19178
|
*
|
|
19161
19179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/data)
|
|
19162
19180
|
*/
|
|
19163
19181
|
readonly data: string | null;
|
|
19164
19182
|
/**
|
|
19165
|
-
* The **`dataTransfer`** read-only property of the containing information about richtext or plaintext data being added to or removed from editable content.
|
|
19183
|
+
* 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.
|
|
19166
19184
|
*
|
|
19167
19185
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/dataTransfer)
|
|
19168
19186
|
*/
|
|
19169
19187
|
readonly dataTransfer: DataTransfer | null;
|
|
19170
19188
|
/**
|
|
19171
|
-
* The **`inputType`** read-only property of the
|
|
19189
|
+
* The **`inputType`** read-only property of the InputEvent interface returns the type of change made to editable content.
|
|
19172
19190
|
*
|
|
19173
19191
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/inputType)
|
|
19174
19192
|
*/
|
|
19175
19193
|
readonly inputType: string;
|
|
19176
19194
|
/**
|
|
19177
|
-
* The **`InputEvent.isComposing`** read-only property returns a boolean value indicating if the event is fired after
|
|
19195
|
+
* 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.
|
|
19178
19196
|
*
|
|
19179
19197
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/isComposing)
|
|
19180
19198
|
*/
|
|
@@ -19330,7 +19348,7 @@ interface KeyboardEvent extends UIEvent {
|
|
|
19330
19348
|
*/
|
|
19331
19349
|
readonly altKey: boolean;
|
|
19332
19350
|
/**
|
|
19333
|
-
* The **`charCode`** read-only property of the pressed during a Element/keypress_event event.
|
|
19351
|
+
* The **`charCode`** read-only property of the KeyboardEvent interface returns the Unicode value of a character key pressed during a Element/keypress_event event.
|
|
19334
19352
|
* @deprecated
|
|
19335
19353
|
*
|
|
19336
19354
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/charCode)
|
|
@@ -19380,7 +19398,7 @@ interface KeyboardEvent extends UIEvent {
|
|
|
19380
19398
|
*/
|
|
19381
19399
|
readonly metaKey: boolean;
|
|
19382
19400
|
/**
|
|
19383
|
-
* The **`repeat`** read-only property of the `true` if the given key is being held down such that it is automatically repeating.
|
|
19401
|
+
* 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.
|
|
19384
19402
|
*
|
|
19385
19403
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/repeat)
|
|
19386
19404
|
*/
|
|
@@ -19532,7 +19550,7 @@ interface LinkStyle {
|
|
|
19532
19550
|
*/
|
|
19533
19551
|
interface Location {
|
|
19534
19552
|
/**
|
|
19535
|
-
* The **`ancestorOrigins`** read-only property of the Location interface is a static browsing contexts of the document associated with the given Location object.
|
|
19553
|
+
* 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.
|
|
19536
19554
|
*
|
|
19537
19555
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins)
|
|
19538
19556
|
*/
|
|
@@ -19631,7 +19649,7 @@ interface Lock {
|
|
|
19631
19649
|
*/
|
|
19632
19650
|
readonly mode: LockMode;
|
|
19633
19651
|
/**
|
|
19634
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
19652
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
19635
19653
|
*
|
|
19636
19654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
19637
19655
|
*/
|
|
@@ -20052,7 +20070,7 @@ declare var MediaDevices: {
|
|
|
20052
20070
|
*/
|
|
20053
20071
|
interface MediaElementAudioSourceNode extends AudioNode {
|
|
20054
20072
|
/**
|
|
20055
|
-
* The MediaElementAudioSourceNode interface's read-only **`mediaElement`** property indicates the receiving audio.
|
|
20073
|
+
* The MediaElementAudioSourceNode interface's read-only **`mediaElement`** property indicates the HTMLMediaElement that contains the audio track from which the node is receiving audio.
|
|
20056
20074
|
*
|
|
20057
20075
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaElementAudioSourceNode/mediaElement)
|
|
20058
20076
|
*/
|
|
@@ -20249,7 +20267,7 @@ interface MediaKeyStatusMap {
|
|
|
20249
20267
|
*/
|
|
20250
20268
|
get(keyId: BufferSource): MediaKeyStatus | undefined;
|
|
20251
20269
|
/**
|
|
20252
|
-
* The **`has()`** method of the whether a value has been associated with the given key.
|
|
20270
|
+
* The **`has()`** method of the MediaKeyStatusMap interface returns a Boolean, asserting whether a value has been associated with the given key.
|
|
20253
20271
|
*
|
|
20254
20272
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap/has)
|
|
20255
20273
|
*/
|
|
@@ -20276,13 +20294,13 @@ interface MediaKeySystemAccess {
|
|
|
20276
20294
|
*/
|
|
20277
20295
|
readonly keySystem: string;
|
|
20278
20296
|
/**
|
|
20279
|
-
* The `MediaKeySystemAccess.createMediaKeys()` method returns a
|
|
20297
|
+
* The `MediaKeySystemAccess.createMediaKeys()` method returns a Promise that resolves to a new MediaKeys object.
|
|
20280
20298
|
*
|
|
20281
20299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/createMediaKeys)
|
|
20282
20300
|
*/
|
|
20283
20301
|
createMediaKeys(): Promise<MediaKeys>;
|
|
20284
20302
|
/**
|
|
20285
|
-
* The **`getConfiguration()`** method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options:
|
|
20303
|
+
* The **`getConfiguration()`** method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options:
|
|
20286
20304
|
*
|
|
20287
20305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/getConfiguration)
|
|
20288
20306
|
*/
|
|
@@ -20378,25 +20396,25 @@ declare var MediaList: {
|
|
|
20378
20396
|
*/
|
|
20379
20397
|
interface MediaMetadata {
|
|
20380
20398
|
/**
|
|
20381
|
-
* The **`album`** property of the collection containing the media to be played.
|
|
20399
|
+
* The **`album`** property of the MediaMetadata interface returns or sets the name of the album or collection containing the media to be played.
|
|
20382
20400
|
*
|
|
20383
20401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/album)
|
|
20384
20402
|
*/
|
|
20385
20403
|
album: string;
|
|
20386
20404
|
/**
|
|
20387
|
-
* The **`artist`** property of the creator, etc., of the media to be played.
|
|
20405
|
+
* The **`artist`** property of the MediaMetadata interface returns or sets the name of the artist, group, creator, etc., of the media to be played.
|
|
20388
20406
|
*
|
|
20389
20407
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artist)
|
|
20390
20408
|
*/
|
|
20391
20409
|
artist: string;
|
|
20392
20410
|
/**
|
|
20393
|
-
* The **`artwork`** property of the objects representing images associated with playing media.
|
|
20411
|
+
* The **`artwork`** property of the MediaMetadata interface returns or sets an array of objects representing images associated with playing media.
|
|
20394
20412
|
*
|
|
20395
20413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artwork)
|
|
20396
20414
|
*/
|
|
20397
20415
|
artwork: ReadonlyArray<MediaImage>;
|
|
20398
20416
|
/**
|
|
20399
|
-
* The **`title`** property of the played.
|
|
20417
|
+
* The **`title`** property of the MediaMetadata interface returns or sets the title of the media to be played.
|
|
20400
20418
|
*
|
|
20401
20419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/title)
|
|
20402
20420
|
*/
|
|
@@ -20419,13 +20437,13 @@ interface MediaQueryListEventMap {
|
|
|
20419
20437
|
*/
|
|
20420
20438
|
interface MediaQueryList extends EventTarget {
|
|
20421
20439
|
/**
|
|
20422
|
-
* The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.
|
|
20440
|
+
* 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.
|
|
20423
20441
|
*
|
|
20424
20442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/matches)
|
|
20425
20443
|
*/
|
|
20426
20444
|
readonly matches: boolean;
|
|
20427
20445
|
/**
|
|
20428
|
-
* The **`media`** read-only property of the serialized media query.
|
|
20446
|
+
* The **`media`** read-only property of the MediaQueryList interface is a string representing a serialized media query.
|
|
20429
20447
|
*
|
|
20430
20448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/media)
|
|
20431
20449
|
*/
|
|
@@ -20433,14 +20451,14 @@ interface MediaQueryList extends EventTarget {
|
|
|
20433
20451
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/change_event) */
|
|
20434
20452
|
onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;
|
|
20435
20453
|
/**
|
|
20436
|
-
* The deprecated **`addListener()`** method of the `MediaQueryListener` that will run a custom callback function in response to the media query status changing.
|
|
20454
|
+
* 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.
|
|
20437
20455
|
* @deprecated
|
|
20438
20456
|
*
|
|
20439
20457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/addListener)
|
|
20440
20458
|
*/
|
|
20441
20459
|
addListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;
|
|
20442
20460
|
/**
|
|
20443
|
-
* The **`removeListener()`** method of the `MediaQueryListener`.
|
|
20461
|
+
* The **`removeListener()`** method of the MediaQueryList interface removes a listener from the `MediaQueryListener`.
|
|
20444
20462
|
* @deprecated
|
|
20445
20463
|
*
|
|
20446
20464
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/removeListener)
|
|
@@ -20464,13 +20482,13 @@ declare var MediaQueryList: {
|
|
|
20464
20482
|
*/
|
|
20465
20483
|
interface MediaQueryListEvent extends Event {
|
|
20466
20484
|
/**
|
|
20467
|
-
* The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.
|
|
20485
|
+
* 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.
|
|
20468
20486
|
*
|
|
20469
20487
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/matches)
|
|
20470
20488
|
*/
|
|
20471
20489
|
readonly matches: boolean;
|
|
20472
20490
|
/**
|
|
20473
|
-
* The **`media`** read-only property of the a serialized media query.
|
|
20491
|
+
* The **`media`** read-only property of the MediaQueryListEvent interface is a string representing a serialized media query.
|
|
20474
20492
|
*
|
|
20475
20493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/media)
|
|
20476
20494
|
*/
|
|
@@ -20546,7 +20564,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
20546
20564
|
*/
|
|
20547
20565
|
pause(): void;
|
|
20548
20566
|
/**
|
|
20549
|
-
* The **`requestData()`** method of the MediaRecorder interface is used to raise a MediaRecorder.dataavailable_event event containing a called.
|
|
20567
|
+
* 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.
|
|
20550
20568
|
*
|
|
20551
20569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/requestData)
|
|
20552
20570
|
*/
|
|
@@ -20599,7 +20617,7 @@ interface MediaSession {
|
|
|
20599
20617
|
*/
|
|
20600
20618
|
metadata: MediaMetadata | null;
|
|
20601
20619
|
/**
|
|
20602
|
-
* The **`playbackState`** property of the playing or paused.
|
|
20620
|
+
* The **`playbackState`** property of the MediaSession interface indicates whether the current media session is playing or paused.
|
|
20603
20621
|
*
|
|
20604
20622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/playbackState)
|
|
20605
20623
|
*/
|
|
@@ -20623,7 +20641,7 @@ interface MediaSession {
|
|
|
20623
20641
|
*/
|
|
20624
20642
|
setMicrophoneActive(active: boolean): Promise<void>;
|
|
20625
20643
|
/**
|
|
20626
|
-
* 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.
|
|
20644
|
+
* 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.
|
|
20627
20645
|
*
|
|
20628
20646
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setPositionState)
|
|
20629
20647
|
*/
|
|
@@ -20648,7 +20666,7 @@ interface MediaSourceEventMap {
|
|
|
20648
20666
|
*/
|
|
20649
20667
|
interface MediaSource extends EventTarget {
|
|
20650
20668
|
/**
|
|
20651
|
-
* 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.
|
|
20669
|
+
* 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.
|
|
20652
20670
|
*
|
|
20653
20671
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/activeSourceBuffers)
|
|
20654
20672
|
*/
|
|
@@ -20666,31 +20684,31 @@ interface MediaSource extends EventTarget {
|
|
|
20666
20684
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
20667
20685
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
20668
20686
|
/**
|
|
20669
|
-
* The **`readyState`** read-only property of the current `MediaSource`.
|
|
20687
|
+
* The **`readyState`** read-only property of the MediaSource interface returns an enum representing the state of the current `MediaSource`.
|
|
20670
20688
|
*
|
|
20671
20689
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState)
|
|
20672
20690
|
*/
|
|
20673
20691
|
readonly readyState: ReadyState;
|
|
20674
20692
|
/**
|
|
20675
|
-
* The **`sourceBuffers`** read-only property of the containing the list of SourceBuffer objects associated with this `MediaSource`.
|
|
20693
|
+
* The **`sourceBuffers`** read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this `MediaSource`.
|
|
20676
20694
|
*
|
|
20677
20695
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceBuffers)
|
|
20678
20696
|
*/
|
|
20679
20697
|
readonly sourceBuffers: SourceBufferList;
|
|
20680
20698
|
/**
|
|
20681
|
-
* The **`addSourceBuffer()`** method of the given MIME type and adds it to the `MediaSource`'s
|
|
20699
|
+
* 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.
|
|
20682
20700
|
*
|
|
20683
20701
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/addSourceBuffer)
|
|
20684
20702
|
*/
|
|
20685
20703
|
addSourceBuffer(type: string): SourceBuffer;
|
|
20686
20704
|
/**
|
|
20687
|
-
* The **`clearLiveSeekableRange()`** method of the to MediaSource.setLiveSeekableRange().
|
|
20705
|
+
* The **`clearLiveSeekableRange()`** method of the MediaSource interface clears a seekable range previously set with a call to MediaSource.setLiveSeekableRange().
|
|
20688
20706
|
*
|
|
20689
20707
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/clearLiveSeekableRange)
|
|
20690
20708
|
*/
|
|
20691
20709
|
clearLiveSeekableRange(): void;
|
|
20692
20710
|
/**
|
|
20693
|
-
* The **`endOfStream()`** method of the
|
|
20711
|
+
* The **`endOfStream()`** method of the MediaSource interface signals the end of the stream.
|
|
20694
20712
|
*
|
|
20695
20713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/endOfStream)
|
|
20696
20714
|
*/
|
|
@@ -20702,7 +20720,7 @@ interface MediaSource extends EventTarget {
|
|
|
20702
20720
|
*/
|
|
20703
20721
|
removeSourceBuffer(sourceBuffer: SourceBuffer): void;
|
|
20704
20722
|
/**
|
|
20705
|
-
* The **`setLiveSeekableRange()`** method of the media element.
|
|
20723
|
+
* The **`setLiveSeekableRange()`** method of the MediaSource interface sets the range that the user can seek to in the media element.
|
|
20706
20724
|
*
|
|
20707
20725
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/setLiveSeekableRange)
|
|
20708
20726
|
*/
|
|
@@ -20755,7 +20773,7 @@ interface MediaStreamEventMap {
|
|
|
20755
20773
|
*/
|
|
20756
20774
|
interface MediaStream extends EventTarget {
|
|
20757
20775
|
/**
|
|
20758
|
-
* The **`active`** read-only property of the `true` if the stream is currently active; otherwise, it returns `false`.
|
|
20776
|
+
* 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`.
|
|
20759
20777
|
*
|
|
20760
20778
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/active)
|
|
20761
20779
|
*/
|
|
@@ -20783,7 +20801,7 @@ interface MediaStream extends EventTarget {
|
|
|
20783
20801
|
*/
|
|
20784
20802
|
clone(): MediaStream;
|
|
20785
20803
|
/**
|
|
20786
|
-
* The **`getAudioTracks()`** method of the stream's track set where MediaStreamTrack.kind is `audio`.
|
|
20804
|
+
* 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`.
|
|
20787
20805
|
*
|
|
20788
20806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getAudioTracks)
|
|
20789
20807
|
*/
|
|
@@ -20795,19 +20813,19 @@ interface MediaStream extends EventTarget {
|
|
|
20795
20813
|
*/
|
|
20796
20814
|
getTrackById(trackId: string): MediaStreamTrack | null;
|
|
20797
20815
|
/**
|
|
20798
|
-
* The **`getTracks()`** method of the stream's track set, regardless of MediaStreamTrack.kind.
|
|
20816
|
+
* 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.
|
|
20799
20817
|
*
|
|
20800
20818
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTracks)
|
|
20801
20819
|
*/
|
|
20802
20820
|
getTracks(): MediaStreamTrack[];
|
|
20803
20821
|
/**
|
|
20804
|
-
* The **`getVideoTracks()`** method of the
|
|
20822
|
+
* The **`getVideoTracks()`** method of the MediaStream interface returns a sequence of MediaStreamTrack objects representing the video tracks in this stream.
|
|
20805
20823
|
*
|
|
20806
20824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getVideoTracks)
|
|
20807
20825
|
*/
|
|
20808
20826
|
getVideoTracks(): MediaStreamTrack[];
|
|
20809
20827
|
/**
|
|
20810
|
-
* The **`removeTrack()`** method of the MediaStream interface removes a
|
|
20828
|
+
* The **`removeTrack()`** method of the MediaStream interface removes a MediaStreamTrack from a stream.
|
|
20811
20829
|
*
|
|
20812
20830
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/removeTrack)
|
|
20813
20831
|
*/
|
|
@@ -20851,7 +20869,7 @@ declare var MediaStreamAudioDestinationNode: {
|
|
|
20851
20869
|
*/
|
|
20852
20870
|
interface MediaStreamAudioSourceNode extends AudioNode {
|
|
20853
20871
|
/**
|
|
20854
|
-
* The MediaStreamAudioSourceNode interface's read-only **`mediaStream`** property indicates the receiving audio.
|
|
20872
|
+
* The MediaStreamAudioSourceNode interface's read-only **`mediaStream`** property indicates the MediaStream that contains the audio track from which the node is receiving audio.
|
|
20855
20873
|
*
|
|
20856
20874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioSourceNode/mediaStream)
|
|
20857
20875
|
*/
|
|
@@ -20882,7 +20900,7 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20882
20900
|
*/
|
|
20883
20901
|
contentHint: string;
|
|
20884
20902
|
/**
|
|
20885
|
-
* The **`enabled`** property of the `true` if the track is allowed to render the source stream or `false` if it is not.
|
|
20903
|
+
* 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.
|
|
20886
20904
|
*
|
|
20887
20905
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/enabled)
|
|
20888
20906
|
*/
|
|
@@ -20906,7 +20924,7 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20906
20924
|
*/
|
|
20907
20925
|
readonly label: string;
|
|
20908
20926
|
/**
|
|
20909
|
-
* The **`muted`** read-only property of the indicating whether or not the track is currently unable to provide media output.
|
|
20927
|
+
* 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.
|
|
20910
20928
|
*
|
|
20911
20929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/muted)
|
|
20912
20930
|
*/
|
|
@@ -20942,13 +20960,13 @@ interface MediaStreamTrack extends EventTarget {
|
|
|
20942
20960
|
*/
|
|
20943
20961
|
getCapabilities(): MediaTrackCapabilities;
|
|
20944
20962
|
/**
|
|
20945
|
-
* The **`getConstraints()`** method of the MediaStreamTrack interface returns a
|
|
20963
|
+
* 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.
|
|
20946
20964
|
*
|
|
20947
20965
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getConstraints)
|
|
20948
20966
|
*/
|
|
20949
20967
|
getConstraints(): MediaTrackConstraints;
|
|
20950
20968
|
/**
|
|
20951
|
-
* The **`getSettings()`** method of the object containing the current values of each of the constrainable properties for the current `MediaStreamTrack`.
|
|
20969
|
+
* 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`.
|
|
20952
20970
|
*
|
|
20953
20971
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getSettings)
|
|
20954
20972
|
*/
|
|
@@ -20996,13 +21014,13 @@ declare var MediaStreamTrackEvent: {
|
|
|
20996
21014
|
*/
|
|
20997
21015
|
interface MessageChannel {
|
|
20998
21016
|
/**
|
|
20999
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
21017
|
+
* 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.
|
|
21000
21018
|
*
|
|
21001
21019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
21002
21020
|
*/
|
|
21003
21021
|
readonly port1: MessagePort;
|
|
21004
21022
|
/**
|
|
21005
|
-
* 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.
|
|
21023
|
+
* 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.
|
|
21006
21024
|
*
|
|
21007
21025
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
21008
21026
|
*/
|
|
@@ -21021,31 +21039,31 @@ declare var MessageChannel: {
|
|
|
21021
21039
|
*/
|
|
21022
21040
|
interface MessageEvent<T = any> extends Event {
|
|
21023
21041
|
/**
|
|
21024
|
-
* The **`data`** read-only property of the
|
|
21042
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
21025
21043
|
*
|
|
21026
21044
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
21027
21045
|
*/
|
|
21028
21046
|
readonly data: T;
|
|
21029
21047
|
/**
|
|
21030
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
21048
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
21031
21049
|
*
|
|
21032
21050
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
21033
21051
|
*/
|
|
21034
21052
|
readonly lastEventId: string;
|
|
21035
21053
|
/**
|
|
21036
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
21054
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
21037
21055
|
*
|
|
21038
21056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
21039
21057
|
*/
|
|
21040
21058
|
readonly origin: string;
|
|
21041
21059
|
/**
|
|
21042
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
21060
|
+
* 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.
|
|
21043
21061
|
*
|
|
21044
21062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
21045
21063
|
*/
|
|
21046
21064
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
21047
21065
|
/**
|
|
21048
|
-
* The **`source`** read-only property of the
|
|
21066
|
+
* 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.
|
|
21049
21067
|
*
|
|
21050
21068
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
21051
21069
|
*/
|
|
@@ -21093,7 +21111,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
21093
21111
|
*/
|
|
21094
21112
|
close(): void;
|
|
21095
21113
|
/**
|
|
21096
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
21114
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
21097
21115
|
*
|
|
21098
21116
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
21099
21117
|
*/
|
|
@@ -21635,7 +21653,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21635
21653
|
readonly credentials: CredentialsContainer;
|
|
21636
21654
|
readonly doNotTrack: string | null;
|
|
21637
21655
|
/**
|
|
21638
|
-
* The **`Navigator.geolocation`** read-only property returns a device.
|
|
21656
|
+
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device.
|
|
21639
21657
|
*
|
|
21640
21658
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation)
|
|
21641
21659
|
*/
|
|
@@ -21648,7 +21666,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21648
21666
|
*/
|
|
21649
21667
|
readonly login: NavigatorLogin;
|
|
21650
21668
|
/**
|
|
21651
|
-
* The **`maxTouchPoints`** read-only property of the contact points that are supported by the current device.
|
|
21669
|
+
* 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.
|
|
21652
21670
|
*
|
|
21653
21671
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints)
|
|
21654
21672
|
*/
|
|
@@ -21673,7 +21691,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21673
21691
|
*/
|
|
21674
21692
|
readonly mediaSession: MediaSession;
|
|
21675
21693
|
/**
|
|
21676
|
-
* The **`permissions`** read-only property of the Navigator interface returns a status of APIs covered by the Permissions API.
|
|
21694
|
+
* 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.
|
|
21677
21695
|
*
|
|
21678
21696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
21679
21697
|
*/
|
|
@@ -21705,7 +21723,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
21705
21723
|
*/
|
|
21706
21724
|
canShare(data?: ShareData): boolean;
|
|
21707
21725
|
/**
|
|
21708
|
-
* The **`Navigator.getGamepads()`** method returns an array of
|
|
21726
|
+
* The **`Navigator.getGamepads()`** method returns an array of Gamepad objects, one for each gamepad connected to the device.
|
|
21709
21727
|
*
|
|
21710
21728
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/getGamepads)
|
|
21711
21729
|
*/
|
|
@@ -21915,7 +21933,7 @@ interface Node extends EventTarget {
|
|
|
21915
21933
|
*/
|
|
21916
21934
|
readonly baseURI: string;
|
|
21917
21935
|
/**
|
|
21918
|
-
* The read-only **`childNodes`** property of the Node interface returns a live the first child node is assigned index `0`.
|
|
21936
|
+
* 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`.
|
|
21919
21937
|
*
|
|
21920
21938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/childNodes)
|
|
21921
21939
|
*/
|
|
@@ -21981,7 +21999,7 @@ interface Node extends EventTarget {
|
|
|
21981
21999
|
*/
|
|
21982
22000
|
readonly parentNode: ParentNode | null;
|
|
21983
22001
|
/**
|
|
21984
|
-
* 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.
|
|
22002
|
+
* 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.
|
|
21985
22003
|
*
|
|
21986
22004
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)
|
|
21987
22005
|
*/
|
|
@@ -22164,19 +22182,19 @@ interface NodeIterator {
|
|
|
22164
22182
|
*/
|
|
22165
22183
|
readonly filter: NodeFilter | null;
|
|
22166
22184
|
/**
|
|
22167
|
-
* 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
|
|
22185
|
+
* 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.
|
|
22168
22186
|
*
|
|
22169
22187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)
|
|
22170
22188
|
*/
|
|
22171
22189
|
readonly pointerBeforeReferenceNode: boolean;
|
|
22172
22190
|
/**
|
|
22173
|
-
* The **`NodeIterator.referenceNode`** read-only property returns the iterator remains anchored to the reference node as specified by this property.
|
|
22191
|
+
* 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.
|
|
22174
22192
|
*
|
|
22175
22193
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/referenceNode)
|
|
22176
22194
|
*/
|
|
22177
22195
|
readonly referenceNode: Node;
|
|
22178
22196
|
/**
|
|
22179
|
-
* The **`NodeIterator.root`** read-only property represents the traverses.
|
|
22197
|
+
* The **`NodeIterator.root`** read-only property represents the Node that is the root of what the NodeIterator traverses.
|
|
22180
22198
|
*
|
|
22181
22199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/root)
|
|
22182
22200
|
*/
|
|
@@ -22284,13 +22302,13 @@ interface NotificationEventMap {
|
|
|
22284
22302
|
*/
|
|
22285
22303
|
interface Notification extends EventTarget {
|
|
22286
22304
|
/**
|
|
22287
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
22305
|
+
* 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.
|
|
22288
22306
|
*
|
|
22289
22307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
22290
22308
|
*/
|
|
22291
22309
|
readonly body: string;
|
|
22292
22310
|
/**
|
|
22293
|
-
* The **`data`** read-only property of the
|
|
22311
|
+
* 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.
|
|
22294
22312
|
*
|
|
22295
22313
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
22296
22314
|
*/
|
|
@@ -22302,13 +22320,13 @@ interface Notification extends EventTarget {
|
|
|
22302
22320
|
*/
|
|
22303
22321
|
readonly dir: NotificationDirection;
|
|
22304
22322
|
/**
|
|
22305
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
22323
|
+
* 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.
|
|
22306
22324
|
*
|
|
22307
22325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
22308
22326
|
*/
|
|
22309
22327
|
readonly icon: string;
|
|
22310
22328
|
/**
|
|
22311
|
-
* The **`lang`** read-only property of the
|
|
22329
|
+
* 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.
|
|
22312
22330
|
*
|
|
22313
22331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
22314
22332
|
*/
|
|
@@ -22328,19 +22346,19 @@ interface Notification extends EventTarget {
|
|
|
22328
22346
|
*/
|
|
22329
22347
|
readonly requireInteraction: boolean;
|
|
22330
22348
|
/**
|
|
22331
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
22349
|
+
* 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.
|
|
22332
22350
|
*
|
|
22333
22351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
22334
22352
|
*/
|
|
22335
22353
|
readonly silent: boolean | null;
|
|
22336
22354
|
/**
|
|
22337
|
-
* The **`tag`** read-only property of the
|
|
22355
|
+
* 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.
|
|
22338
22356
|
*
|
|
22339
22357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
22340
22358
|
*/
|
|
22341
22359
|
readonly tag: string;
|
|
22342
22360
|
/**
|
|
22343
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
22361
|
+
* 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.
|
|
22344
22362
|
*
|
|
22345
22363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
22346
22364
|
*/
|
|
@@ -22495,13 +22513,13 @@ interface OES_vertex_array_object {
|
|
|
22495
22513
|
*/
|
|
22496
22514
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
22497
22515
|
/**
|
|
22498
|
-
* 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.
|
|
22516
|
+
* 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.
|
|
22499
22517
|
*
|
|
22500
22518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
22501
22519
|
*/
|
|
22502
22520
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
22503
22521
|
/**
|
|
22504
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
22522
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
22505
22523
|
*
|
|
22506
22524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
22507
22525
|
*/
|
|
@@ -22540,7 +22558,7 @@ interface OVR_multiview2 {
|
|
|
22540
22558
|
*/
|
|
22541
22559
|
interface OfflineAudioCompletionEvent extends Event {
|
|
22542
22560
|
/**
|
|
22543
|
-
* The **`renderedBuffer`** read-only property of the containing the result of processing an OfflineAudioContext.
|
|
22561
|
+
* The **`renderedBuffer`** read-only property of the OfflineAudioCompletionEvent interface is an AudioBuffer containing the result of processing an OfflineAudioContext.
|
|
22544
22562
|
*
|
|
22545
22563
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)
|
|
22546
22564
|
*/
|
|
@@ -22563,7 +22581,7 @@ interface OfflineAudioContextEventMap extends BaseAudioContextEventMap {
|
|
|
22563
22581
|
*/
|
|
22564
22582
|
interface OfflineAudioContext extends BaseAudioContext {
|
|
22565
22583
|
/**
|
|
22566
|
-
* The **`length`** property of the the buffer in sample-frames.
|
|
22584
|
+
* The **`length`** property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.
|
|
22567
22585
|
*
|
|
22568
22586
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/length)
|
|
22569
22587
|
*/
|
|
@@ -22571,7 +22589,7 @@ interface OfflineAudioContext extends BaseAudioContext {
|
|
|
22571
22589
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/complete_event) */
|
|
22572
22590
|
oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;
|
|
22573
22591
|
/**
|
|
22574
|
-
* The **`resume()`** method of the context that has been suspended.
|
|
22592
|
+
* The **`resume()`** method of the OfflineAudioContext interface resumes the progression of time in an audio context that has been suspended.
|
|
22575
22593
|
*
|
|
22576
22594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/resume)
|
|
22577
22595
|
*/
|
|
@@ -22700,7 +22718,7 @@ interface OscillatorNode extends AudioScheduledSourceNode {
|
|
|
22700
22718
|
*/
|
|
22701
22719
|
type: OscillatorType;
|
|
22702
22720
|
/**
|
|
22703
|
-
* 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
|
|
22721
|
+
* 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`.
|
|
22704
22722
|
*
|
|
22705
22723
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/setPeriodicWave)
|
|
22706
22724
|
*/
|
|
@@ -22723,7 +22741,7 @@ declare var OscillatorNode: {
|
|
|
22723
22741
|
*/
|
|
22724
22742
|
interface OverconstrainedError extends DOMException {
|
|
22725
22743
|
/**
|
|
22726
|
-
* The **`constraint`** read-only property of the in the constructor, meaning the constraint that was not satisfied.
|
|
22744
|
+
* 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.
|
|
22727
22745
|
*
|
|
22728
22746
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError/constraint)
|
|
22729
22747
|
*/
|
|
@@ -23116,7 +23134,7 @@ interface PaymentRequestEventMap {
|
|
|
23116
23134
|
*/
|
|
23117
23135
|
interface PaymentRequest extends EventTarget {
|
|
23118
23136
|
/**
|
|
23119
|
-
* The **`id`** read-only attribute of the
|
|
23137
|
+
* The **`id`** read-only attribute of the PaymentRequest interface returns a unique identifier for a particular PaymentRequest instance.
|
|
23120
23138
|
*
|
|
23121
23139
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id)
|
|
23122
23140
|
*/
|
|
@@ -23150,7 +23168,7 @@ interface PaymentRequest extends EventTarget {
|
|
|
23150
23168
|
*/
|
|
23151
23169
|
readonly shippingOption: string | null;
|
|
23152
23170
|
/**
|
|
23153
|
-
* The **`shippingType`** read-only property of the `'delivery'`, `'pickup'`, or `null` if one was not provided by the constructor.
|
|
23171
|
+
* 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.
|
|
23154
23172
|
* @deprecated
|
|
23155
23173
|
*
|
|
23156
23174
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)
|
|
@@ -23193,7 +23211,7 @@ declare var PaymentRequest: {
|
|
|
23193
23211
|
*/
|
|
23194
23212
|
interface PaymentRequestUpdateEvent extends Event {
|
|
23195
23213
|
/**
|
|
23196
|
-
* The **`updateWith()`** method of the
|
|
23214
|
+
* The **`updateWith()`** method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest.
|
|
23197
23215
|
*
|
|
23198
23216
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequestUpdateEvent/updateWith)
|
|
23199
23217
|
*/
|
|
@@ -23217,7 +23235,7 @@ interface PaymentResponseEventMap {
|
|
|
23217
23235
|
*/
|
|
23218
23236
|
interface PaymentResponse extends EventTarget {
|
|
23219
23237
|
/**
|
|
23220
|
-
* 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.
|
|
23238
|
+
* 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.
|
|
23221
23239
|
*
|
|
23222
23240
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
|
|
23223
23241
|
*/
|
|
@@ -23237,7 +23255,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23237
23255
|
*/
|
|
23238
23256
|
readonly payerEmail: string | null;
|
|
23239
23257
|
/**
|
|
23240
|
-
* The **`payerName`** read-only property of the
|
|
23258
|
+
* The **`payerName`** read-only property of the PaymentResponse interface returns the name supplied by the user.
|
|
23241
23259
|
*
|
|
23242
23260
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
|
|
23243
23261
|
*/
|
|
@@ -23249,7 +23267,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23249
23267
|
*/
|
|
23250
23268
|
readonly payerPhone: string | null;
|
|
23251
23269
|
/**
|
|
23252
|
-
* The **`requestId`** read-only property of the the `PaymentResponse()` constructor by details.id.
|
|
23270
|
+
* The **`requestId`** read-only property of the PaymentResponse interface returns the free-form identifier supplied by the `PaymentResponse()` constructor by details.id.
|
|
23253
23271
|
*
|
|
23254
23272
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId)
|
|
23255
23273
|
*/
|
|
@@ -23267,7 +23285,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
23267
23285
|
*/
|
|
23268
23286
|
readonly shippingOption: string | null;
|
|
23269
23287
|
/**
|
|
23270
|
-
* The PaymentRequest method **`complete()`** of the Payment Request API notifies the user interface to be closed.
|
|
23288
|
+
* 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.
|
|
23271
23289
|
*
|
|
23272
23290
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete)
|
|
23273
23291
|
*/
|
|
@@ -23853,7 +23871,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
23853
23871
|
*/
|
|
23854
23872
|
readonly transferSize: number;
|
|
23855
23873
|
/**
|
|
23856
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
23874
|
+
* 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.
|
|
23857
23875
|
*
|
|
23858
23876
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
23859
23877
|
*/
|
|
@@ -23944,7 +23962,7 @@ interface PerformanceTiming {
|
|
|
23944
23962
|
*/
|
|
23945
23963
|
readonly domContentLoadedEventEnd: number;
|
|
23946
23964
|
/**
|
|
23947
|
-
* 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.
|
|
23965
|
+
* 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.
|
|
23948
23966
|
* @deprecated
|
|
23949
23967
|
*
|
|
23950
23968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)
|
|
@@ -23958,7 +23976,7 @@ interface PerformanceTiming {
|
|
|
23958
23976
|
*/
|
|
23959
23977
|
readonly domInteractive: number;
|
|
23960
23978
|
/**
|
|
23961
|
-
* 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.
|
|
23979
|
+
* 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.
|
|
23962
23980
|
* @deprecated
|
|
23963
23981
|
*
|
|
23964
23982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domLoading)
|
|
@@ -24109,7 +24127,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
24109
24127
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
24110
24128
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
24111
24129
|
/**
|
|
24112
|
-
* The **`state`** read-only property of the
|
|
24130
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
24113
24131
|
*
|
|
24114
24132
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
24115
24133
|
*/
|
|
@@ -24126,7 +24144,7 @@ declare var PermissionStatus: {
|
|
|
24126
24144
|
};
|
|
24127
24145
|
|
|
24128
24146
|
/**
|
|
24129
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
24147
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
24130
24148
|
*
|
|
24131
24149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
24132
24150
|
*/
|
|
@@ -24284,13 +24302,13 @@ interface PointerEvent extends MouseEvent {
|
|
|
24284
24302
|
*/
|
|
24285
24303
|
readonly azimuthAngle: number;
|
|
24286
24304
|
/**
|
|
24287
|
-
* The **`height`** read-only property of the geometry, along the y-axis (in CSS pixels).
|
|
24305
|
+
* 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).
|
|
24288
24306
|
*
|
|
24289
24307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height)
|
|
24290
24308
|
*/
|
|
24291
24309
|
readonly height: number;
|
|
24292
24310
|
/**
|
|
24293
|
-
* The **`isPrimary`** read-only property of the created the event is the _primary_ pointer.
|
|
24311
|
+
* The **`isPrimary`** read-only property of the PointerEvent interface indicates whether or not the pointer device that created the event is the _primary_ pointer.
|
|
24294
24312
|
*
|
|
24295
24313
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary)
|
|
24296
24314
|
*/
|
|
@@ -24302,25 +24320,25 @@ interface PointerEvent extends MouseEvent {
|
|
|
24302
24320
|
*/
|
|
24303
24321
|
readonly persistentDeviceId: number;
|
|
24304
24322
|
/**
|
|
24305
|
-
* The **`pointerId`** read-only property of the event.
|
|
24323
|
+
* The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to a given pointer event.
|
|
24306
24324
|
*
|
|
24307
24325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)
|
|
24308
24326
|
*/
|
|
24309
24327
|
readonly pointerId: number;
|
|
24310
24328
|
/**
|
|
24311
|
-
* The **`pointerType`** read-only property of the that caused a given pointer event.
|
|
24329
|
+
* The **`pointerType`** read-only property of the PointerEvent interface indicates the device type (mouse, pen, or touch) that caused a given pointer event.
|
|
24312
24330
|
*
|
|
24313
24331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerType)
|
|
24314
24332
|
*/
|
|
24315
24333
|
readonly pointerType: string;
|
|
24316
24334
|
/**
|
|
24317
|
-
* The **`pressure`** read-only property of the input.
|
|
24335
|
+
* The **`pressure`** read-only property of the PointerEvent interface indicates the normalized pressure of the pointer input.
|
|
24318
24336
|
*
|
|
24319
24337
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pressure)
|
|
24320
24338
|
*/
|
|
24321
24339
|
readonly pressure: number;
|
|
24322
24340
|
/**
|
|
24323
|
-
* The **`tangentialPressure`** read-only property of the the pointer input (also known as barrel pressure or cylinder stress).
|
|
24341
|
+
* 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).
|
|
24324
24342
|
*
|
|
24325
24343
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/tangentialPressure)
|
|
24326
24344
|
*/
|
|
@@ -24338,13 +24356,13 @@ interface PointerEvent extends MouseEvent {
|
|
|
24338
24356
|
*/
|
|
24339
24357
|
readonly tiltY: number;
|
|
24340
24358
|
/**
|
|
24341
|
-
* The **`twist`** read-only property of the (e.g., pen stylus) around its major axis, in degrees.
|
|
24359
|
+
* 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.
|
|
24342
24360
|
*
|
|
24343
24361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/twist)
|
|
24344
24362
|
*/
|
|
24345
24363
|
readonly twist: number;
|
|
24346
24364
|
/**
|
|
24347
|
-
* The **`width`** read-only property of the geometry along the x-axis, measured in CSS pixels.
|
|
24365
|
+
* 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.
|
|
24348
24366
|
*
|
|
24349
24367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/width)
|
|
24350
24368
|
*/
|
|
@@ -24428,7 +24446,7 @@ declare var ProcessingInstruction: {
|
|
|
24428
24446
|
*/
|
|
24429
24447
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
24430
24448
|
/**
|
|
24431
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
24449
|
+
* 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.
|
|
24432
24450
|
*
|
|
24433
24451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
24434
24452
|
*/
|
|
@@ -24460,7 +24478,7 @@ declare var ProgressEvent: {
|
|
|
24460
24478
|
*/
|
|
24461
24479
|
interface PromiseRejectionEvent extends Event {
|
|
24462
24480
|
/**
|
|
24463
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
24481
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
24464
24482
|
*
|
|
24465
24483
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
24466
24484
|
*/
|
|
@@ -24492,13 +24510,13 @@ interface PublicKeyCredential extends Credential {
|
|
|
24492
24510
|
*/
|
|
24493
24511
|
readonly authenticatorAttachment: string | null;
|
|
24494
24512
|
/**
|
|
24495
|
-
* The **`rawId`** read-only property of the containing the identifier of the credentials.
|
|
24513
|
+
* The **`rawId`** read-only property of the PublicKeyCredential interface is an ArrayBuffer object containing the identifier of the credentials.
|
|
24496
24514
|
*
|
|
24497
24515
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId)
|
|
24498
24516
|
*/
|
|
24499
24517
|
readonly rawId: ArrayBuffer;
|
|
24500
24518
|
/**
|
|
24501
|
-
* The **`response`** read-only property of the object which is sent from the authenticator to the user agent for the creation/fetching of credentials.
|
|
24519
|
+
* 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.
|
|
24502
24520
|
*
|
|
24503
24521
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/response)
|
|
24504
24522
|
*/
|
|
@@ -24550,6 +24568,24 @@ declare var PublicKeyCredential: {
|
|
|
24550
24568
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)
|
|
24551
24569
|
*/
|
|
24552
24570
|
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
|
|
24571
|
+
/**
|
|
24572
|
+
* 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.
|
|
24573
|
+
*
|
|
24574
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalAllAcceptedCredentials_static)
|
|
24575
|
+
*/
|
|
24576
|
+
signalAllAcceptedCredentials(options: AllAcceptedCredentialsOptions): Promise<void>;
|
|
24577
|
+
/**
|
|
24578
|
+
* 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.
|
|
24579
|
+
*
|
|
24580
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalCurrentUserDetails_static)
|
|
24581
|
+
*/
|
|
24582
|
+
signalCurrentUserDetails(options: CurrentUserDetailsOptions): Promise<void>;
|
|
24583
|
+
/**
|
|
24584
|
+
* 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.
|
|
24585
|
+
*
|
|
24586
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/signalUnknownCredential_static)
|
|
24587
|
+
*/
|
|
24588
|
+
signalUnknownCredential(options: UnknownCredentialOptions): Promise<void>;
|
|
24553
24589
|
};
|
|
24554
24590
|
|
|
24555
24591
|
/**
|
|
@@ -24566,7 +24602,7 @@ interface PushManager {
|
|
|
24566
24602
|
*/
|
|
24567
24603
|
getSubscription(): Promise<PushSubscription | null>;
|
|
24568
24604
|
/**
|
|
24569
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
24605
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
24570
24606
|
*
|
|
24571
24607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
24572
24608
|
*/
|
|
@@ -24598,13 +24634,13 @@ declare var PushManager: {
|
|
|
24598
24634
|
*/
|
|
24599
24635
|
interface PushSubscription {
|
|
24600
24636
|
/**
|
|
24601
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
24637
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
24602
24638
|
*
|
|
24603
24639
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
24604
24640
|
*/
|
|
24605
24641
|
readonly endpoint: string;
|
|
24606
24642
|
/**
|
|
24607
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
24643
|
+
* 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.
|
|
24608
24644
|
*
|
|
24609
24645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
24610
24646
|
*/
|
|
@@ -24767,7 +24803,7 @@ interface RTCDataChannelEventMap {
|
|
|
24767
24803
|
*/
|
|
24768
24804
|
interface RTCDataChannel extends EventTarget {
|
|
24769
24805
|
/**
|
|
24770
|
-
* The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
24806
|
+
* 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.
|
|
24771
24807
|
*
|
|
24772
24808
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
|
24773
24809
|
*/
|
|
@@ -24809,7 +24845,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
24809
24845
|
*/
|
|
24810
24846
|
readonly maxRetransmits: number | null;
|
|
24811
24847
|
/**
|
|
24812
|
-
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).
|
|
24848
|
+
* 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`).
|
|
24813
24849
|
*
|
|
24814
24850
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
|
24815
24851
|
*/
|
|
@@ -24845,13 +24881,13 @@ interface RTCDataChannel extends EventTarget {
|
|
|
24845
24881
|
*/
|
|
24846
24882
|
readonly readyState: RTCDataChannelState;
|
|
24847
24883
|
/**
|
|
24848
|
-
* The **`RTCDataChannel.close()`** method closes the
|
|
24884
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
|
24849
24885
|
*
|
|
24850
24886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
|
24851
24887
|
*/
|
|
24852
24888
|
close(): void;
|
|
24853
24889
|
/**
|
|
24854
|
-
* The **`send()`** method of the remote peer.
|
|
24890
|
+
* The **`send()`** method of the RTCDataChannel interface sends data across the data channel to the remote peer.
|
|
24855
24891
|
*
|
|
24856
24892
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
|
24857
24893
|
*/
|
|
@@ -24910,7 +24946,7 @@ interface RTCDtlsTransport extends EventTarget {
|
|
|
24910
24946
|
onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;
|
|
24911
24947
|
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
24912
24948
|
/**
|
|
24913
|
-
* The **`state`** read-only property of the Datagram Transport Layer Security (**DTLS**) transport state.
|
|
24949
|
+
* The **`state`** read-only property of the RTCDtlsTransport interface provides information which describes a Datagram Transport Layer Security (**DTLS**) transport state.
|
|
24914
24950
|
*
|
|
24915
24951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
|
|
24916
24952
|
*/
|
|
@@ -25006,19 +25042,19 @@ interface RTCError extends DOMException {
|
|
|
25006
25042
|
*/
|
|
25007
25043
|
readonly receivedAlert: number | null;
|
|
25008
25044
|
/**
|
|
25009
|
-
* The read-only **`sctpCauseCode`** property in an why the SCTP negotiation failed, if the `RTCError` represents an SCTP error.
|
|
25045
|
+
* 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.
|
|
25010
25046
|
*
|
|
25011
25047
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sctpCauseCode)
|
|
25012
25048
|
*/
|
|
25013
25049
|
readonly sctpCauseCode: number | null;
|
|
25014
25050
|
/**
|
|
25015
|
-
* The RTCError interface's read-only property **`sdpLineNumber`** specifies the line number within the
|
|
25051
|
+
* The RTCError interface's read-only property **`sdpLineNumber`** specifies the line number within the SDP at which a syntax error occurred while parsing it.
|
|
25016
25052
|
*
|
|
25017
25053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sdpLineNumber)
|
|
25018
25054
|
*/
|
|
25019
25055
|
readonly sdpLineNumber: number | null;
|
|
25020
25056
|
/**
|
|
25021
|
-
* The read-only **`sentAlert`** property in an while sending data to the remote peer, if the error represents an outbound DTLS error.
|
|
25057
|
+
* 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.
|
|
25022
25058
|
*
|
|
25023
25059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sentAlert)
|
|
25024
25060
|
*/
|
|
@@ -25156,7 +25192,7 @@ declare var RTCIceCandidate: {
|
|
|
25156
25192
|
interface RTCIceCandidatePair {
|
|
25157
25193
|
/** The **`local`** property of the **RTCIceCandidatePair** dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection. */
|
|
25158
25194
|
local: RTCIceCandidate;
|
|
25159
|
-
/** The **`remote`** property of the **RTCIceCandidatePair** dictionary specifies the viable WebRTC connection. */
|
|
25195
|
+
/** The **`remote`** property of the **RTCIceCandidatePair** dictionary specifies the RTCIceCandidate describing the configuration of the remote end of a viable WebRTC connection. */
|
|
25160
25196
|
remote: RTCIceCandidate;
|
|
25161
25197
|
}
|
|
25162
25198
|
|
|
@@ -25244,7 +25280,7 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
25244
25280
|
*/
|
|
25245
25281
|
readonly currentLocalDescription: RTCSessionDescription | null;
|
|
25246
25282
|
/**
|
|
25247
|
-
* The **`currentRemoteDescription`** read-only property of the RTCPeerConnection interface returns an
|
|
25283
|
+
* 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.
|
|
25248
25284
|
*
|
|
25249
25285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/currentRemoteDescription)
|
|
25250
25286
|
*/
|
|
@@ -25474,7 +25510,7 @@ declare var RTCPeerConnectionIceErrorEvent: {
|
|
|
25474
25510
|
*/
|
|
25475
25511
|
interface RTCPeerConnectionIceEvent extends Event {
|
|
25476
25512
|
/**
|
|
25477
|
-
* The read-only **`candidate`** property of the RTCPeerConnectionIceEvent interface returns the
|
|
25513
|
+
* The read-only **`candidate`** property of the RTCPeerConnectionIceEvent interface returns the RTCIceCandidate associated with the event.
|
|
25478
25514
|
*
|
|
25479
25515
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceEvent/candidate)
|
|
25480
25516
|
*/
|
|
@@ -25499,7 +25535,7 @@ interface RTCRtpReceiver {
|
|
|
25499
25535
|
*/
|
|
25500
25536
|
jitterBufferTarget: DOMHighResTimeStamp | null;
|
|
25501
25537
|
/**
|
|
25502
|
-
* The **`track`** read-only property of the associated with the current RTCRtpReceiver instance.
|
|
25538
|
+
* The **`track`** read-only property of the RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver instance.
|
|
25503
25539
|
*
|
|
25504
25540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track)
|
|
25505
25541
|
*/
|
|
@@ -25511,7 +25547,7 @@ interface RTCRtpReceiver {
|
|
|
25511
25547
|
*/
|
|
25512
25548
|
transform: RTCRtpTransform | null;
|
|
25513
25549
|
/**
|
|
25514
|
-
* 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.
|
|
25550
|
+
* 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.
|
|
25515
25551
|
*
|
|
25516
25552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transport)
|
|
25517
25553
|
*/
|
|
@@ -25573,7 +25609,7 @@ declare var RTCRtpScriptTransform: {
|
|
|
25573
25609
|
*/
|
|
25574
25610
|
interface RTCRtpSender {
|
|
25575
25611
|
/**
|
|
25576
|
-
* The read-only **`dtmf`** property on the **RTCRtpSender** interface returns a over the RTCPeerConnection.
|
|
25612
|
+
* The read-only **`dtmf`** property on the **RTCRtpSender** interface returns a RTCDTMFSender object which can be used to send DTMF tones over the RTCPeerConnection.
|
|
25577
25613
|
*
|
|
25578
25614
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/dtmf)
|
|
25579
25615
|
*/
|
|
@@ -25591,7 +25627,7 @@ interface RTCRtpSender {
|
|
|
25591
25627
|
*/
|
|
25592
25628
|
transform: RTCRtpTransform | null;
|
|
25593
25629
|
/**
|
|
25594
|
-
* 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.
|
|
25630
|
+
* 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.
|
|
25595
25631
|
*
|
|
25596
25632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transport)
|
|
25597
25633
|
*/
|
|
@@ -25664,13 +25700,13 @@ interface RTCRtpTransceiver {
|
|
|
25664
25700
|
*/
|
|
25665
25701
|
readonly mid: string | null;
|
|
25666
25702
|
/**
|
|
25667
|
-
* The read-only **`receiver`** property of WebRTC's RTCRtpTransceiver interface indicates the data for the transceiver's stream.
|
|
25703
|
+
* 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.
|
|
25668
25704
|
*
|
|
25669
25705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/receiver)
|
|
25670
25706
|
*/
|
|
25671
25707
|
readonly receiver: RTCRtpReceiver;
|
|
25672
25708
|
/**
|
|
25673
|
-
* The read-only **`sender`** property of WebRTC's RTCRtpTransceiver interface indicates the for the transceiver's stream.
|
|
25709
|
+
* 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.
|
|
25674
25710
|
*
|
|
25675
25711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender)
|
|
25676
25712
|
*/
|
|
@@ -25682,7 +25718,7 @@ interface RTCRtpTransceiver {
|
|
|
25682
25718
|
*/
|
|
25683
25719
|
setCodecPreferences(codecs: RTCRtpCodec[]): void;
|
|
25684
25720
|
/**
|
|
25685
|
-
* The **`stop()`** method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and
|
|
25721
|
+
* The **`stop()`** method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and RTCRtpReceiver.
|
|
25686
25722
|
*
|
|
25687
25723
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop)
|
|
25688
25724
|
*/
|
|
@@ -25760,7 +25796,7 @@ interface RTCSessionDescription {
|
|
|
25760
25796
|
*/
|
|
25761
25797
|
readonly type: RTCSdpType;
|
|
25762
25798
|
/**
|
|
25763
|
-
* The **`RTCSessionDescription.toJSON()`** method generates a
|
|
25799
|
+
* The **`RTCSessionDescription.toJSON()`** method generates a JSON description of the object.
|
|
25764
25800
|
*
|
|
25765
25801
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON)
|
|
25766
25802
|
*/
|
|
@@ -25793,25 +25829,25 @@ declare var RTCStatsReport: {
|
|
|
25793
25829
|
*/
|
|
25794
25830
|
interface RTCTrackEvent extends Event {
|
|
25795
25831
|
/**
|
|
25796
|
-
* The read-only **`receiver`** property of the RTCTrackEvent interface indicates the
|
|
25832
|
+
* 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.
|
|
25797
25833
|
*
|
|
25798
25834
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/receiver)
|
|
25799
25835
|
*/
|
|
25800
25836
|
readonly receiver: RTCRtpReceiver;
|
|
25801
25837
|
/**
|
|
25802
|
-
* The WebRTC API interface RTCTrackEvent's read-only **`streams`** property specifies an array of track being added to the RTCPeerConnection.
|
|
25838
|
+
* 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.
|
|
25803
25839
|
*
|
|
25804
25840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/streams)
|
|
25805
25841
|
*/
|
|
25806
25842
|
readonly streams: ReadonlyArray<MediaStream>;
|
|
25807
25843
|
/**
|
|
25808
|
-
* The
|
|
25844
|
+
* The WebRTC API interface RTCTrackEvent's read-only **`track`** property specifies the MediaStreamTrack that has been added to the RTCPeerConnection.
|
|
25809
25845
|
*
|
|
25810
25846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/track)
|
|
25811
25847
|
*/
|
|
25812
25848
|
readonly track: MediaStreamTrack;
|
|
25813
25849
|
/**
|
|
25814
|
-
* The WebRTC API interface RTCTrackEvent's read-only **`transceiver`** property indicates the
|
|
25850
|
+
* The WebRTC API interface RTCTrackEvent's read-only **`transceiver`** property indicates the RTCRtpTransceiver affiliated with the event's RTCTrackEvent.track.
|
|
25815
25851
|
*
|
|
25816
25852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/transceiver)
|
|
25817
25853
|
*/
|
|
@@ -25861,13 +25897,13 @@ interface Range extends AbstractRange {
|
|
|
25861
25897
|
*/
|
|
25862
25898
|
cloneContents(): DocumentFragment;
|
|
25863
25899
|
/**
|
|
25864
|
-
* The **`Range.cloneRange()`** method returns a
|
|
25900
|
+
* The **`Range.cloneRange()`** method returns a Range object with boundary points identical to the cloned Range.
|
|
25865
25901
|
*
|
|
25866
25902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/cloneRange)
|
|
25867
25903
|
*/
|
|
25868
25904
|
cloneRange(): Range;
|
|
25869
25905
|
/**
|
|
25870
|
-
* The **`collapse()`** method of the Range interface collapses the
|
|
25906
|
+
* The **`collapse()`** method of the Range interface collapses the Range to one of its boundary points.
|
|
25871
25907
|
*
|
|
25872
25908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/collapse)
|
|
25873
25909
|
*/
|
|
@@ -25885,7 +25921,7 @@ interface Range extends AbstractRange {
|
|
|
25885
25921
|
*/
|
|
25886
25922
|
comparePoint(node: Node, offset: number): number;
|
|
25887
25923
|
/**
|
|
25888
|
-
* 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.
|
|
25924
|
+
* 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.
|
|
25889
25925
|
*
|
|
25890
25926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
25891
25927
|
*/
|
|
@@ -25939,7 +25975,7 @@ interface Range extends AbstractRange {
|
|
|
25939
25975
|
*/
|
|
25940
25976
|
isPointInRange(node: Node, offset: number): boolean;
|
|
25941
25977
|
/**
|
|
25942
|
-
* The **`Range.selectNode()`** method sets the
|
|
25978
|
+
* The **`Range.selectNode()`** method sets the Range to contain the Node and its contents.
|
|
25943
25979
|
*
|
|
25944
25980
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/selectNode)
|
|
25945
25981
|
*/
|
|
@@ -25957,7 +25993,7 @@ interface Range extends AbstractRange {
|
|
|
25957
25993
|
*/
|
|
25958
25994
|
setEnd(node: Node, offset: number): void;
|
|
25959
25995
|
/**
|
|
25960
|
-
* The **`Range.setEndAfter()`** method sets the end position of a
|
|
25996
|
+
* The **`Range.setEndAfter()`** method sets the end position of a Range relative to another Node.
|
|
25961
25997
|
*
|
|
25962
25998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setEndAfter)
|
|
25963
25999
|
*/
|
|
@@ -25969,7 +26005,7 @@ interface Range extends AbstractRange {
|
|
|
25969
26005
|
*/
|
|
25970
26006
|
setEndBefore(node: Node): void;
|
|
25971
26007
|
/**
|
|
25972
|
-
* The **`Range.setStart()`** method sets the start position of a
|
|
26008
|
+
* The **`Range.setStart()`** method sets the start position of a Range.
|
|
25973
26009
|
*
|
|
25974
26010
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setStart)
|
|
25975
26011
|
*/
|
|
@@ -26090,7 +26126,7 @@ interface ReadableStream<R = any> {
|
|
|
26090
26126
|
*/
|
|
26091
26127
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
26092
26128
|
/**
|
|
26093
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
26129
|
+
* 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.
|
|
26094
26130
|
*
|
|
26095
26131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
26096
26132
|
*/
|
|
@@ -26167,7 +26203,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
26167
26203
|
*/
|
|
26168
26204
|
interface ReadableStreamDefaultController<R = any> {
|
|
26169
26205
|
/**
|
|
26170
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
26206
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
26171
26207
|
*
|
|
26172
26208
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
26173
26209
|
*/
|
|
@@ -26179,13 +26215,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
26179
26215
|
*/
|
|
26180
26216
|
close(): void;
|
|
26181
26217
|
/**
|
|
26182
|
-
* The **`enqueue()`** method of the
|
|
26218
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
26183
26219
|
*
|
|
26184
26220
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
26185
26221
|
*/
|
|
26186
26222
|
enqueue(chunk?: R): void;
|
|
26187
26223
|
/**
|
|
26188
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
26224
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
26189
26225
|
*
|
|
26190
26226
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
26191
26227
|
*/
|
|
@@ -26289,19 +26325,19 @@ declare var RemotePlayback: {
|
|
|
26289
26325
|
*/
|
|
26290
26326
|
interface ReportingObserver {
|
|
26291
26327
|
/**
|
|
26292
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
26328
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
26293
26329
|
*
|
|
26294
26330
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
26295
26331
|
*/
|
|
26296
26332
|
disconnect(): void;
|
|
26297
26333
|
/**
|
|
26298
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
26334
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
26299
26335
|
*
|
|
26300
26336
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
26301
26337
|
*/
|
|
26302
26338
|
observe(): void;
|
|
26303
26339
|
/**
|
|
26304
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
26340
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
26305
26341
|
*
|
|
26306
26342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
26307
26343
|
*/
|
|
@@ -26338,7 +26374,7 @@ interface Request extends Body {
|
|
|
26338
26374
|
*/
|
|
26339
26375
|
readonly destination: RequestDestination;
|
|
26340
26376
|
/**
|
|
26341
|
-
* The **`headers`** read-only property of the with the request.
|
|
26377
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
26342
26378
|
*
|
|
26343
26379
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
26344
26380
|
*/
|
|
@@ -26356,7 +26392,7 @@ interface Request extends Body {
|
|
|
26356
26392
|
*/
|
|
26357
26393
|
readonly keepalive: boolean;
|
|
26358
26394
|
/**
|
|
26359
|
-
* The **`method`** read-only property of the
|
|
26395
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
26360
26396
|
*
|
|
26361
26397
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
26362
26398
|
*/
|
|
@@ -26374,13 +26410,13 @@ interface Request extends Body {
|
|
|
26374
26410
|
*/
|
|
26375
26411
|
readonly redirect: RequestRedirect;
|
|
26376
26412
|
/**
|
|
26377
|
-
* The **`referrer`** read-only property of the Request.
|
|
26413
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
26378
26414
|
*
|
|
26379
26415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
26380
26416
|
*/
|
|
26381
26417
|
readonly referrer: string;
|
|
26382
26418
|
/**
|
|
26383
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
26419
|
+
* 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.
|
|
26384
26420
|
*
|
|
26385
26421
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
26386
26422
|
*/
|
|
@@ -26417,19 +26453,19 @@ declare var Request: {
|
|
|
26417
26453
|
*/
|
|
26418
26454
|
interface ResizeObserver {
|
|
26419
26455
|
/**
|
|
26420
|
-
* The **`disconnect()`** method of the or SVGElement targets.
|
|
26456
|
+
* The **`disconnect()`** method of the ResizeObserver interface unobserves all observed Element or SVGElement targets.
|
|
26421
26457
|
*
|
|
26422
26458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/disconnect)
|
|
26423
26459
|
*/
|
|
26424
26460
|
disconnect(): void;
|
|
26425
26461
|
/**
|
|
26426
|
-
* The **`observe()`** method of the
|
|
26462
|
+
* The **`observe()`** method of the ResizeObserver interface starts observing the specified Element or SVGElement.
|
|
26427
26463
|
*
|
|
26428
26464
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/observe)
|
|
26429
26465
|
*/
|
|
26430
26466
|
observe(target: Element, options?: ResizeObserverOptions): void;
|
|
26431
26467
|
/**
|
|
26432
|
-
* The **`unobserve()`** method of the
|
|
26468
|
+
* The **`unobserve()`** method of the ResizeObserver interface ends the observing of a specified Element or SVGElement.
|
|
26433
26469
|
*
|
|
26434
26470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/unobserve)
|
|
26435
26471
|
*/
|
|
@@ -26460,7 +26496,7 @@ interface ResizeObserverEntry {
|
|
|
26460
26496
|
*/
|
|
26461
26497
|
readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
26462
26498
|
/**
|
|
26463
|
-
* The `contentRect` read-only property of the object containing the new size of the observed element when the callback is run.
|
|
26499
|
+
* 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.
|
|
26464
26500
|
*
|
|
26465
26501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect)
|
|
26466
26502
|
*/
|
|
@@ -26472,7 +26508,7 @@ interface ResizeObserverEntry {
|
|
|
26472
26508
|
*/
|
|
26473
26509
|
readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
26474
26510
|
/**
|
|
26475
|
-
* The **`target`** read-only property of the
|
|
26511
|
+
* The **`target`** read-only property of the ResizeObserverEntry interface returns a reference to the Element or SVGElement that is being observed.
|
|
26476
26512
|
*
|
|
26477
26513
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target)
|
|
26478
26514
|
*/
|
|
@@ -26516,7 +26552,7 @@ declare var ResizeObserverSize: {
|
|
|
26516
26552
|
*/
|
|
26517
26553
|
interface Response extends Body {
|
|
26518
26554
|
/**
|
|
26519
|
-
* The **`headers`** read-only property of the with the response.
|
|
26555
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
26520
26556
|
*
|
|
26521
26557
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
26522
26558
|
*/
|
|
@@ -27102,7 +27138,7 @@ declare var SVGAnimationElement: {
|
|
|
27102
27138
|
*/
|
|
27103
27139
|
interface SVGCircleElement extends SVGGeometryElement {
|
|
27104
27140
|
/**
|
|
27105
|
-
* 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.<
|
|
27141
|
+
* 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.<
|
|
27106
27142
|
*
|
|
27107
27143
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement/cx)
|
|
27108
27144
|
*/
|
|
@@ -28482,7 +28518,7 @@ declare var SVGGElement: {
|
|
|
28482
28518
|
*/
|
|
28483
28519
|
interface SVGGeometryElement extends SVGGraphicsElement {
|
|
28484
28520
|
/**
|
|
28485
|
-
* The **`SVGGeometryElement.pathLength`** property reflects the
|
|
28521
|
+
* The **`SVGGeometryElement.pathLength`** property reflects the pathLength attribute and returns the total length of the path, in user units.
|
|
28486
28522
|
*
|
|
28487
28523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/pathLength)
|
|
28488
28524
|
*/
|
|
@@ -28619,31 +28655,31 @@ interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
|
28619
28655
|
*/
|
|
28620
28656
|
crossOrigin: string | null;
|
|
28621
28657
|
/**
|
|
28622
|
-
* The **`height`** read-only property of the corresponding to the height attribute of the given
|
|
28658
|
+
* The **`height`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the height attribute of the given image element.
|
|
28623
28659
|
*
|
|
28624
28660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height)
|
|
28625
28661
|
*/
|
|
28626
28662
|
readonly height: SVGAnimatedLength;
|
|
28627
28663
|
/**
|
|
28628
|
-
* The **`preserveAspectRatio`** read-only property of the SVGImageElement interface returns an element.
|
|
28664
|
+
* The **`preserveAspectRatio`** read-only property of the SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given image element.
|
|
28629
28665
|
*
|
|
28630
28666
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/preserveAspectRatio)
|
|
28631
28667
|
*/
|
|
28632
28668
|
readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
|
|
28633
28669
|
/**
|
|
28634
|
-
* The **`width`** read-only property of the corresponding to the width attribute of the given image element.
|
|
28670
|
+
* The **`width`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the width attribute of the given image element.
|
|
28635
28671
|
*
|
|
28636
28672
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/width)
|
|
28637
28673
|
*/
|
|
28638
28674
|
readonly width: SVGAnimatedLength;
|
|
28639
28675
|
/**
|
|
28640
|
-
* The **`x`** read-only property of the corresponding to the x attribute of the given image element.
|
|
28676
|
+
* The **`x`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the x attribute of the given image element.
|
|
28641
28677
|
*
|
|
28642
28678
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/x)
|
|
28643
28679
|
*/
|
|
28644
28680
|
readonly x: SVGAnimatedLength;
|
|
28645
28681
|
/**
|
|
28646
|
-
* The **`y`** read-only property of the corresponding to the y attribute of the given image element.
|
|
28682
|
+
* The **`y`** read-only property of the SVGImageElement interface returns an SVGAnimatedLength corresponding to the y attribute of the given image element.
|
|
28647
28683
|
*
|
|
28648
28684
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/y)
|
|
28649
28685
|
*/
|
|
@@ -30285,7 +30321,7 @@ declare var SVGUnitTypes: {
|
|
|
30285
30321
|
};
|
|
30286
30322
|
|
|
30287
30323
|
/**
|
|
30288
|
-
*
|
|
30324
|
+
* ## SVG use DOM interface
|
|
30289
30325
|
*
|
|
30290
30326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement)
|
|
30291
30327
|
*/
|
|
@@ -30373,7 +30409,7 @@ interface Screen {
|
|
|
30373
30409
|
*/
|
|
30374
30410
|
readonly height: number;
|
|
30375
30411
|
/**
|
|
30376
|
-
* The **`orientation`** read-only property of the
|
|
30412
|
+
* The **`orientation`** read-only property of the Screen interface returns the current orientation of the screen.
|
|
30377
30413
|
*
|
|
30378
30414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/orientation)
|
|
30379
30415
|
*/
|
|
@@ -30408,7 +30444,7 @@ interface ScreenOrientationEventMap {
|
|
|
30408
30444
|
*/
|
|
30409
30445
|
interface ScreenOrientation extends EventTarget {
|
|
30410
30446
|
/**
|
|
30411
|
-
* The **`angle`** read-only property of the angle.
|
|
30447
|
+
* The **`angle`** read-only property of the ScreenOrientation interface returns the document's current orientation angle.
|
|
30412
30448
|
*
|
|
30413
30449
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle)
|
|
30414
30450
|
*/
|
|
@@ -30416,13 +30452,13 @@ interface ScreenOrientation extends EventTarget {
|
|
|
30416
30452
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */
|
|
30417
30453
|
onchange: ((this: ScreenOrientation, ev: Event) => any) | null;
|
|
30418
30454
|
/**
|
|
30419
|
-
* The **`type`** read-only property of the type, one of `portrait-primary`, `portrait-secondary`, `landscape-primary`, or `landscape-secondary`.
|
|
30455
|
+
* 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`.
|
|
30420
30456
|
*
|
|
30421
30457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
|
|
30422
30458
|
*/
|
|
30423
30459
|
readonly type: OrientationType;
|
|
30424
30460
|
/**
|
|
30425
|
-
* The **`unlock()`** method of the document from its default orientation.
|
|
30461
|
+
* The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
|
|
30426
30462
|
*
|
|
30427
30463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock)
|
|
30428
30464
|
*/
|
|
@@ -30481,13 +30517,13 @@ declare var ScriptProcessorNode: {
|
|
|
30481
30517
|
*/
|
|
30482
30518
|
interface ScrollTimeline extends AnimationTimeline {
|
|
30483
30519
|
/**
|
|
30484
|
-
* The **`axis`** read-only property of the
|
|
30520
|
+
* 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.
|
|
30485
30521
|
*
|
|
30486
30522
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/axis)
|
|
30487
30523
|
*/
|
|
30488
30524
|
readonly axis: ScrollAxis;
|
|
30489
30525
|
/**
|
|
30490
|
-
* The **`source`** read-only property of the
|
|
30526
|
+
* 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.
|
|
30491
30527
|
*
|
|
30492
30528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/source)
|
|
30493
30529
|
*/
|
|
@@ -30597,7 +30633,7 @@ interface Selection {
|
|
|
30597
30633
|
*/
|
|
30598
30634
|
readonly anchorNode: Node | null;
|
|
30599
30635
|
/**
|
|
30600
|
-
* The **`Selection.anchorOffset`** read-only property returns the number of characters that the selection's anchor is offset within the
|
|
30636
|
+
* 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.
|
|
30601
30637
|
*
|
|
30602
30638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset)
|
|
30603
30639
|
*/
|
|
@@ -30615,7 +30651,7 @@ interface Selection {
|
|
|
30615
30651
|
*/
|
|
30616
30652
|
readonly focusNode: Node | null;
|
|
30617
30653
|
/**
|
|
30618
|
-
* The **`Selection.focusOffset`** read-only property returns the number of characters that the selection's focus is offset within the
|
|
30654
|
+
* 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.
|
|
30619
30655
|
*
|
|
30620
30656
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset)
|
|
30621
30657
|
*/
|
|
@@ -30633,13 +30669,13 @@ interface Selection {
|
|
|
30633
30669
|
*/
|
|
30634
30670
|
readonly rangeCount: number;
|
|
30635
30671
|
/**
|
|
30636
|
-
* The **`type`** read-only property of the type of the current selection.
|
|
30672
|
+
* The **`type`** read-only property of the Selection interface returns a string describing the type of the current selection.
|
|
30637
30673
|
*
|
|
30638
30674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/type)
|
|
30639
30675
|
*/
|
|
30640
30676
|
readonly type: string;
|
|
30641
30677
|
/**
|
|
30642
|
-
* The **`Selection.addRange()`** method adds a
|
|
30678
|
+
* The **`Selection.addRange()`** method adds a Range to a Selection.
|
|
30643
30679
|
*
|
|
30644
30680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/addRange)
|
|
30645
30681
|
*/
|
|
@@ -30669,7 +30705,7 @@ interface Selection {
|
|
|
30669
30705
|
*/
|
|
30670
30706
|
containsNode(node: Node, allowPartialContainment?: boolean): boolean;
|
|
30671
30707
|
/**
|
|
30672
|
-
* The **`deleteFromDocument()`** method of the
|
|
30708
|
+
* The **`deleteFromDocument()`** method of the Selection interface invokes the Range.deleteContents() method on the selected Range.
|
|
30673
30709
|
*
|
|
30674
30710
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument)
|
|
30675
30711
|
*/
|
|
@@ -30762,7 +30798,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
30762
30798
|
*/
|
|
30763
30799
|
readonly scriptURL: string;
|
|
30764
30800
|
/**
|
|
30765
|
-
* The **`state`** read-only property of the of the service worker.
|
|
30801
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
30766
30802
|
*
|
|
30767
30803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
30768
30804
|
*/
|
|
@@ -30817,13 +30853,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
30817
30853
|
*/
|
|
30818
30854
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
30819
30855
|
/**
|
|
30820
|
-
* The **`getRegistration()`** method of the client URL.
|
|
30856
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
30821
30857
|
*
|
|
30822
30858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
30823
30859
|
*/
|
|
30824
30860
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
30825
30861
|
/**
|
|
30826
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
30862
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
30827
30863
|
*
|
|
30828
30864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
30829
30865
|
*/
|
|
@@ -30863,7 +30899,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
30863
30899
|
*/
|
|
30864
30900
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
30865
30901
|
/**
|
|
30866
|
-
* The **`active`** read-only property of the
|
|
30902
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
30867
30903
|
*
|
|
30868
30904
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
30869
30905
|
*/
|
|
@@ -30875,7 +30911,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30875
30911
|
*/
|
|
30876
30912
|
readonly cookies: CookieStoreManager;
|
|
30877
30913
|
/**
|
|
30878
|
-
* The **`installing`** read-only property of the
|
|
30914
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
30879
30915
|
*
|
|
30880
30916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
30881
30917
|
*/
|
|
@@ -30889,7 +30925,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30889
30925
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
30890
30926
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
30891
30927
|
/**
|
|
30892
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
30928
|
+
* 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.
|
|
30893
30929
|
*
|
|
30894
30930
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
30895
30931
|
*/
|
|
@@ -30907,7 +30943,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30907
30943
|
*/
|
|
30908
30944
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
30909
30945
|
/**
|
|
30910
|
-
* The **`waiting`** read-only property of the
|
|
30946
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
30911
30947
|
*
|
|
30912
30948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
30913
30949
|
*/
|
|
@@ -30919,19 +30955,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
30919
30955
|
*/
|
|
30920
30956
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
30921
30957
|
/**
|
|
30922
|
-
* The **`showNotification()`** method of the service worker.
|
|
30958
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
30923
30959
|
*
|
|
30924
30960
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
30925
30961
|
*/
|
|
30926
30962
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
30927
30963
|
/**
|
|
30928
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
30964
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
30929
30965
|
*
|
|
30930
30966
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
30931
30967
|
*/
|
|
30932
30968
|
unregister(): Promise<boolean>;
|
|
30933
30969
|
/**
|
|
30934
|
-
* The **`update()`** method of the worker.
|
|
30970
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
30935
30971
|
*
|
|
30936
30972
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
30937
30973
|
*/
|
|
@@ -31066,19 +31102,19 @@ interface SourceBufferEventMap {
|
|
|
31066
31102
|
*/
|
|
31067
31103
|
interface SourceBuffer extends EventTarget {
|
|
31068
31104
|
/**
|
|
31069
|
-
* The **`appendWindowEnd`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31105
|
+
* 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`.
|
|
31070
31106
|
*
|
|
31071
31107
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowEnd)
|
|
31072
31108
|
*/
|
|
31073
31109
|
appendWindowEnd: number;
|
|
31074
31110
|
/**
|
|
31075
|
-
* The **`appendWindowStart`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.
|
|
31111
|
+
* 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`.
|
|
31076
31112
|
*
|
|
31077
31113
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowStart)
|
|
31078
31114
|
*/
|
|
31079
31115
|
appendWindowStart: number;
|
|
31080
31116
|
/**
|
|
31081
|
-
* The **`buffered`** read-only property of the buffered in the `SourceBuffer` as a normalized TimeRanges object.
|
|
31117
|
+
* 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.
|
|
31082
31118
|
*
|
|
31083
31119
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/buffered)
|
|
31084
31120
|
*/
|
|
@@ -31095,13 +31131,13 @@ interface SourceBuffer extends EventTarget {
|
|
|
31095
31131
|
onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
31096
31132
|
onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
31097
31133
|
/**
|
|
31098
|
-
* The **`timestampOffset`** property of the media segments that are appended to the `SourceBuffer`.
|
|
31134
|
+
* The **`timestampOffset`** property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the `SourceBuffer`.
|
|
31099
31135
|
*
|
|
31100
31136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset)
|
|
31101
31137
|
*/
|
|
31102
31138
|
timestampOffset: number;
|
|
31103
31139
|
/**
|
|
31104
|
-
* The **`updating`** read-only property of the currently being updated — i.e., whether an SourceBuffer.appendBuffer() or SourceBuffer.remove() operation is currently in progress.
|
|
31140
|
+
* 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.
|
|
31105
31141
|
*
|
|
31106
31142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31107
31143
|
*/
|
|
@@ -31113,13 +31149,13 @@ interface SourceBuffer extends EventTarget {
|
|
|
31113
31149
|
*/
|
|
31114
31150
|
abort(): void;
|
|
31115
31151
|
/**
|
|
31116
|
-
* The **`appendBuffer()`** method of the to the `SourceBuffer`.
|
|
31152
|
+
* The **`appendBuffer()`** method of the SourceBuffer interface appends media segment data from an ArrayBuffer, a TypedArray or a DataView object to the `SourceBuffer`.
|
|
31117
31153
|
*
|
|
31118
31154
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendBuffer)
|
|
31119
31155
|
*/
|
|
31120
31156
|
appendBuffer(data: BufferSource): void;
|
|
31121
31157
|
/**
|
|
31122
|
-
* The **`changeType()`** method of the data to conform to.
|
|
31158
|
+
* 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.
|
|
31123
31159
|
*
|
|
31124
31160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/changeType)
|
|
31125
31161
|
*/
|
|
@@ -31153,7 +31189,7 @@ interface SourceBufferListEventMap {
|
|
|
31153
31189
|
*/
|
|
31154
31190
|
interface SourceBufferList extends EventTarget {
|
|
31155
31191
|
/**
|
|
31156
|
-
* The **`length`** read-only property of the
|
|
31192
|
+
* The **`length`** read-only property of the SourceBufferList interface returns the number of SourceBuffer objects in the list.
|
|
31157
31193
|
*
|
|
31158
31194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length)
|
|
31159
31195
|
*/
|
|
@@ -31180,13 +31216,13 @@ declare var SourceBufferList: {
|
|
|
31180
31216
|
*/
|
|
31181
31217
|
interface SpeechRecognitionAlternative {
|
|
31182
31218
|
/**
|
|
31183
|
-
* The **`confidence`** read-only property of the confident the speech recognition system is that the recognition is correct.
|
|
31219
|
+
* 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.
|
|
31184
31220
|
*
|
|
31185
31221
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/confidence)
|
|
31186
31222
|
*/
|
|
31187
31223
|
readonly confidence: number;
|
|
31188
31224
|
/**
|
|
31189
|
-
* The **`transcript`** read-only property of the transcript of the recognized word(s).
|
|
31225
|
+
* The **`transcript`** read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognized word(s).
|
|
31190
31226
|
*
|
|
31191
31227
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/transcript)
|
|
31192
31228
|
*/
|
|
@@ -31206,13 +31242,13 @@ declare var SpeechRecognitionAlternative: {
|
|
|
31206
31242
|
*/
|
|
31207
31243
|
interface SpeechRecognitionErrorEvent extends Event {
|
|
31208
31244
|
/**
|
|
31209
|
-
* The **`error`** read-only property of the
|
|
31245
|
+
* The **`error`** read-only property of the SpeechRecognitionErrorEvent interface returns the type of error raised.
|
|
31210
31246
|
*
|
|
31211
31247
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/error)
|
|
31212
31248
|
*/
|
|
31213
31249
|
readonly error: SpeechRecognitionErrorCode;
|
|
31214
31250
|
/**
|
|
31215
|
-
* The **`message`** read-only property of the error in more detail.
|
|
31251
|
+
* The **`message`** read-only property of the SpeechRecognitionErrorEvent interface returns a message describing the error in more detail.
|
|
31216
31252
|
*
|
|
31217
31253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/message)
|
|
31218
31254
|
*/
|
|
@@ -31232,13 +31268,13 @@ declare var SpeechRecognitionErrorEvent: {
|
|
|
31232
31268
|
*/
|
|
31233
31269
|
interface SpeechRecognitionEvent extends Event {
|
|
31234
31270
|
/**
|
|
31235
|
-
* The **`resultIndex`** read-only property of the the SpeechRecognitionResultList 'array' that has actually changed.
|
|
31271
|
+
* The **`resultIndex`** read-only property of the SpeechRecognitionEvent interface returns the lowest index value result in the SpeechRecognitionResultList 'array' that has actually changed.
|
|
31236
31272
|
*
|
|
31237
31273
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/resultIndex)
|
|
31238
31274
|
*/
|
|
31239
31275
|
readonly resultIndex: number;
|
|
31240
31276
|
/**
|
|
31241
|
-
* The **`results`** read-only property of the recognition results for the current session.
|
|
31277
|
+
* The **`results`** read-only property of the SpeechRecognitionEvent interface returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session.
|
|
31242
31278
|
*
|
|
31243
31279
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/results)
|
|
31244
31280
|
*/
|
|
@@ -31258,19 +31294,19 @@ declare var SpeechRecognitionEvent: {
|
|
|
31258
31294
|
*/
|
|
31259
31295
|
interface SpeechRecognitionResult {
|
|
31260
31296
|
/**
|
|
31261
|
-
* 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.
|
|
31297
|
+
* 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.
|
|
31262
31298
|
*
|
|
31263
31299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/isFinal)
|
|
31264
31300
|
*/
|
|
31265
31301
|
readonly isFinal: boolean;
|
|
31266
31302
|
/**
|
|
31267
|
-
* The **`length`** read-only property of the — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as 'n-best alternatives'.)
|
|
31303
|
+
* 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'.)
|
|
31268
31304
|
*
|
|
31269
31305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/length)
|
|
31270
31306
|
*/
|
|
31271
31307
|
readonly length: number;
|
|
31272
31308
|
/**
|
|
31273
|
-
* The **`item`** getter of the array syntax.
|
|
31309
|
+
* The **`item`** getter of the SpeechRecognitionResult interface is a standard getter that allows SpeechRecognitionAlternative objects within the result to be accessed via array syntax.
|
|
31274
31310
|
*
|
|
31275
31311
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/item)
|
|
31276
31312
|
*/
|
|
@@ -31291,13 +31327,13 @@ declare var SpeechRecognitionResult: {
|
|
|
31291
31327
|
*/
|
|
31292
31328
|
interface SpeechRecognitionResultList {
|
|
31293
31329
|
/**
|
|
31294
|
-
* The **`length`** read-only property of the 'array' — the number of SpeechRecognitionResult objects in the list.
|
|
31330
|
+
* The **`length`** read-only property of the SpeechRecognitionResultList interface returns the length of the 'array' — the number of SpeechRecognitionResult objects in the list.
|
|
31295
31331
|
*
|
|
31296
31332
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/length)
|
|
31297
31333
|
*/
|
|
31298
31334
|
readonly length: number;
|
|
31299
31335
|
/**
|
|
31300
|
-
* The **`item`** getter of the syntax.
|
|
31336
|
+
* The **`item`** getter of the SpeechRecognitionResultList interface is a standard getter — it allows SpeechRecognitionResult objects in the list to be accessed via array syntax.
|
|
31301
31337
|
*
|
|
31302
31338
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/item)
|
|
31303
31339
|
*/
|
|
@@ -31323,19 +31359,19 @@ interface SpeechSynthesis extends EventTarget {
|
|
|
31323
31359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/voiceschanged_event) */
|
|
31324
31360
|
onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;
|
|
31325
31361
|
/**
|
|
31326
|
-
* The **`paused`** read-only property of the `true` if the `SpeechSynthesis` object is in a paused state, or `false` if not.
|
|
31362
|
+
* 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.
|
|
31327
31363
|
*
|
|
31328
31364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/paused)
|
|
31329
31365
|
*/
|
|
31330
31366
|
readonly paused: boolean;
|
|
31331
31367
|
/**
|
|
31332
|
-
* The **`pending`** read-only property of the `true` if the utterance queue contains as-yet-unspoken utterances.
|
|
31368
|
+
* 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.
|
|
31333
31369
|
*
|
|
31334
31370
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/pending)
|
|
31335
31371
|
*/
|
|
31336
31372
|
readonly pending: boolean;
|
|
31337
31373
|
/**
|
|
31338
|
-
* 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
|
|
31374
|
+
* 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.
|
|
31339
31375
|
*
|
|
31340
31376
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/speaking)
|
|
31341
31377
|
*/
|
|
@@ -31347,7 +31383,7 @@ interface SpeechSynthesis extends EventTarget {
|
|
|
31347
31383
|
*/
|
|
31348
31384
|
cancel(): void;
|
|
31349
31385
|
/**
|
|
31350
|
-
* The **`getVoices()`** method of the current device.
|
|
31386
|
+
* The **`getVoices()`** method of the SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device.
|
|
31351
31387
|
*
|
|
31352
31388
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/getVoices)
|
|
31353
31389
|
*/
|
|
@@ -31388,7 +31424,7 @@ declare var SpeechSynthesis: {
|
|
|
31388
31424
|
*/
|
|
31389
31425
|
interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {
|
|
31390
31426
|
/**
|
|
31391
|
-
* The **`error`** property of the
|
|
31427
|
+
* The **`error`** property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt.
|
|
31392
31428
|
*
|
|
31393
31429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisErrorEvent/error)
|
|
31394
31430
|
*/
|
|
@@ -31492,7 +31528,7 @@ interface SpeechSynthesisUtterance extends EventTarget {
|
|
|
31492
31528
|
*/
|
|
31493
31529
|
rate: number;
|
|
31494
31530
|
/**
|
|
31495
|
-
* The **`text`** property of the
|
|
31531
|
+
* The **`text`** property of the SpeechSynthesisUtterance interface gets and sets the text that will be synthesized when the utterance is spoken.
|
|
31496
31532
|
*
|
|
31497
31533
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/text)
|
|
31498
31534
|
*/
|
|
@@ -31527,7 +31563,7 @@ declare var SpeechSynthesisUtterance: {
|
|
|
31527
31563
|
*/
|
|
31528
31564
|
interface SpeechSynthesisVoice {
|
|
31529
31565
|
/**
|
|
31530
|
-
* The **`default`** read-only property of the indicating whether the voice is the default voice for the current app (`true`), or not (`false`.)
|
|
31566
|
+
* 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`.)
|
|
31531
31567
|
*
|
|
31532
31568
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/default)
|
|
31533
31569
|
*/
|
|
@@ -31539,19 +31575,19 @@ interface SpeechSynthesisVoice {
|
|
|
31539
31575
|
*/
|
|
31540
31576
|
readonly lang: string;
|
|
31541
31577
|
/**
|
|
31542
|
-
* 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`.)
|
|
31578
|
+
* 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`.)
|
|
31543
31579
|
*
|
|
31544
31580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/localService)
|
|
31545
31581
|
*/
|
|
31546
31582
|
readonly localService: boolean;
|
|
31547
31583
|
/**
|
|
31548
|
-
* The **`name`** read-only property of the represents the voice.
|
|
31584
|
+
* The **`name`** read-only property of the SpeechSynthesisVoice interface returns a human-readable name that represents the voice.
|
|
31549
31585
|
*
|
|
31550
31586
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/name)
|
|
31551
31587
|
*/
|
|
31552
31588
|
readonly name: string;
|
|
31553
31589
|
/**
|
|
31554
|
-
* The **`voiceURI`** read-only property of the the speech synthesis service for this voice.
|
|
31590
|
+
* The **`voiceURI`** read-only property of the SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice.
|
|
31555
31591
|
*
|
|
31556
31592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/voiceURI)
|
|
31557
31593
|
*/
|
|
@@ -31602,7 +31638,7 @@ declare var StereoPannerNode: {
|
|
|
31602
31638
|
*/
|
|
31603
31639
|
interface Storage {
|
|
31604
31640
|
/**
|
|
31605
|
-
* The **`length`** read-only property of the `Storage` object.
|
|
31641
|
+
* The **`length`** read-only property of the Storage interface returns the number of data items stored in a given `Storage` object.
|
|
31606
31642
|
*
|
|
31607
31643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/length)
|
|
31608
31644
|
*/
|
|
@@ -31746,7 +31782,7 @@ interface StyleMedia {
|
|
|
31746
31782
|
*/
|
|
31747
31783
|
interface StylePropertyMap extends StylePropertyMapReadOnly {
|
|
31748
31784
|
/**
|
|
31749
|
-
* The **`append()`** method of the `StylePropertyMap` with the given property.
|
|
31785
|
+
* The **`append()`** method of the StylePropertyMap interface adds the passed CSS value to the `StylePropertyMap` with the given property.
|
|
31750
31786
|
*
|
|
31751
31787
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/append)
|
|
31752
31788
|
*/
|
|
@@ -31758,7 +31794,7 @@ interface StylePropertyMap extends StylePropertyMapReadOnly {
|
|
|
31758
31794
|
*/
|
|
31759
31795
|
clear(): void;
|
|
31760
31796
|
/**
|
|
31761
|
-
* The **`delete()`** method of the property.
|
|
31797
|
+
* The **`delete()`** method of the StylePropertyMap interface removes the CSS declaration with the given property.
|
|
31762
31798
|
*
|
|
31763
31799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/delete)
|
|
31764
31800
|
*/
|
|
@@ -31783,25 +31819,25 @@ declare var StylePropertyMap: {
|
|
|
31783
31819
|
*/
|
|
31784
31820
|
interface StylePropertyMapReadOnly {
|
|
31785
31821
|
/**
|
|
31786
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
31822
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
31787
31823
|
*
|
|
31788
31824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
31789
31825
|
*/
|
|
31790
31826
|
readonly size: number;
|
|
31791
31827
|
/**
|
|
31792
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
31828
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
31793
31829
|
*
|
|
31794
31830
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
31795
31831
|
*/
|
|
31796
31832
|
get(property: string): undefined | CSSStyleValue;
|
|
31797
31833
|
/**
|
|
31798
|
-
* The **`getAll()`** method of the
|
|
31834
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
31799
31835
|
*
|
|
31800
31836
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
31801
31837
|
*/
|
|
31802
31838
|
getAll(property: string): CSSStyleValue[];
|
|
31803
31839
|
/**
|
|
31804
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
31840
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
31805
31841
|
*
|
|
31806
31842
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
31807
31843
|
*/
|
|
@@ -31821,7 +31857,7 @@ declare var StylePropertyMapReadOnly: {
|
|
|
31821
31857
|
*/
|
|
31822
31858
|
interface StyleSheet {
|
|
31823
31859
|
/**
|
|
31824
|
-
* The **`disabled`** property of the applying to the document.
|
|
31860
|
+
* The **`disabled`** property of the StyleSheet interface determines whether the style sheet is prevented from applying to the document.
|
|
31825
31861
|
*
|
|
31826
31862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/disabled)
|
|
31827
31863
|
*/
|
|
@@ -31839,13 +31875,13 @@ interface StyleSheet {
|
|
|
31839
31875
|
*/
|
|
31840
31876
|
readonly media: MediaList;
|
|
31841
31877
|
/**
|
|
31842
|
-
* The **`ownerNode`** property of the with the document.
|
|
31878
|
+
* The **`ownerNode`** property of the StyleSheet interface returns the node that associates this style sheet with the document.
|
|
31843
31879
|
*
|
|
31844
31880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode)
|
|
31845
31881
|
*/
|
|
31846
31882
|
readonly ownerNode: Element | ProcessingInstruction | null;
|
|
31847
31883
|
/**
|
|
31848
|
-
* The **`parentStyleSheet`** property of the the given style sheet.
|
|
31884
|
+
* The **`parentStyleSheet`** property of the StyleSheet interface returns the style sheet, if any, that is including the given style sheet.
|
|
31849
31885
|
*
|
|
31850
31886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet)
|
|
31851
31887
|
*/
|
|
@@ -31928,7 +31964,7 @@ interface SubtleCrypto {
|
|
|
31928
31964
|
*/
|
|
31929
31965
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
31930
31966
|
/**
|
|
31931
|
-
* The **`deriveBits()`** method of the key.
|
|
31967
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
31932
31968
|
*
|
|
31933
31969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
31934
31970
|
*/
|
|
@@ -32439,7 +32475,7 @@ interface TextTrackList extends EventTarget {
|
|
|
32439
32475
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
|
|
32440
32476
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
32441
32477
|
/**
|
|
32442
|
-
* The **TextTrackList** method **`getTrackById()`** returns the first `id` matches the specified string.
|
|
32478
|
+
* The **TextTrackList** method **`getTrackById()`** returns the first TextTrack object from the track list whose `id` matches the specified string.
|
|
32443
32479
|
*
|
|
32444
32480
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById)
|
|
32445
32481
|
*/
|
|
@@ -32610,7 +32646,7 @@ interface TouchEvent extends UIEvent {
|
|
|
32610
32646
|
*/
|
|
32611
32647
|
readonly altKey: boolean;
|
|
32612
32648
|
/**
|
|
32613
|
-
* The **`changedTouches`** read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
|
|
32649
|
+
* The **`changedTouches`** read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows:
|
|
32614
32650
|
*
|
|
32615
32651
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/changedTouches)
|
|
32616
32652
|
*/
|
|
@@ -32797,7 +32833,7 @@ declare var TransitionEvent: {
|
|
|
32797
32833
|
*/
|
|
32798
32834
|
interface TreeWalker {
|
|
32799
32835
|
/**
|
|
32800
|
-
* The **`TreeWalker.currentNode`** property represents the
|
|
32836
|
+
* The **`TreeWalker.currentNode`** property represents the Node which the TreeWalker is currently pointing at.
|
|
32801
32837
|
*
|
|
32802
32838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/currentNode)
|
|
32803
32839
|
*/
|
|
@@ -32821,43 +32857,43 @@ interface TreeWalker {
|
|
|
32821
32857
|
*/
|
|
32822
32858
|
readonly whatToShow: number;
|
|
32823
32859
|
/**
|
|
32824
|
-
* The **`TreeWalker.firstChild()`** method moves the current the found child.
|
|
32860
|
+
* The **`TreeWalker.firstChild()`** method moves the current Node to the first _visible_ child of the current node, and returns the found child.
|
|
32825
32861
|
*
|
|
32826
32862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/firstChild)
|
|
32827
32863
|
*/
|
|
32828
32864
|
firstChild(): Node | null;
|
|
32829
32865
|
/**
|
|
32830
|
-
* The **`TreeWalker.lastChild()`** method moves the current the found child.
|
|
32866
|
+
* The **`TreeWalker.lastChild()`** method moves the current Node to the last _visible_ child of the current node, and returns the found child.
|
|
32831
32867
|
*
|
|
32832
32868
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/lastChild)
|
|
32833
32869
|
*/
|
|
32834
32870
|
lastChild(): Node | null;
|
|
32835
32871
|
/**
|
|
32836
|
-
* The **`TreeWalker.nextNode()`** method moves the current the found node.
|
|
32872
|
+
* The **`TreeWalker.nextNode()`** method moves the current Node to the next _visible_ node in the document order, and returns the found node.
|
|
32837
32873
|
*
|
|
32838
32874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextNode)
|
|
32839
32875
|
*/
|
|
32840
32876
|
nextNode(): Node | null;
|
|
32841
32877
|
/**
|
|
32842
|
-
* The **`TreeWalker.nextSibling()`** method moves the current
|
|
32878
|
+
* The **`TreeWalker.nextSibling()`** method moves the current Node to its next sibling, if any, and returns the found sibling.
|
|
32843
32879
|
*
|
|
32844
32880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextSibling)
|
|
32845
32881
|
*/
|
|
32846
32882
|
nextSibling(): Node | null;
|
|
32847
32883
|
/**
|
|
32848
|
-
* The **`TreeWalker.parentNode()`** method moves the current and returns the found node.
|
|
32884
|
+
* The **`TreeWalker.parentNode()`** method moves the current Node to the first _visible_ ancestor node in the document order, and returns the found node.
|
|
32849
32885
|
*
|
|
32850
32886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/parentNode)
|
|
32851
32887
|
*/
|
|
32852
32888
|
parentNode(): Node | null;
|
|
32853
32889
|
/**
|
|
32854
|
-
* The **`TreeWalker.previousNode()`** method moves the current returns the found node.
|
|
32890
|
+
* The **`TreeWalker.previousNode()`** method moves the current Node to the previous _visible_ node in the document order, and returns the found node.
|
|
32855
32891
|
*
|
|
32856
32892
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousNode)
|
|
32857
32893
|
*/
|
|
32858
32894
|
previousNode(): Node | null;
|
|
32859
32895
|
/**
|
|
32860
|
-
* The **`TreeWalker.previousSibling()`** method moves the current
|
|
32896
|
+
* The **`TreeWalker.previousSibling()`** method moves the current Node to its previous sibling, if any, and returns the found sibling.
|
|
32861
32897
|
*
|
|
32862
32898
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousSibling)
|
|
32863
32899
|
*/
|
|
@@ -32882,7 +32918,7 @@ interface UIEvent extends Event {
|
|
|
32882
32918
|
*/
|
|
32883
32919
|
readonly detail: number;
|
|
32884
32920
|
/**
|
|
32885
|
-
* The **`UIEvent.view`** read-only property returns the
|
|
32921
|
+
* The **`UIEvent.view`** read-only property returns the WindowProxy object from which the event was generated.
|
|
32886
32922
|
*
|
|
32887
32923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/view)
|
|
32888
32924
|
*/
|
|
@@ -32976,7 +33012,7 @@ interface URL {
|
|
|
32976
33012
|
*/
|
|
32977
33013
|
search: string;
|
|
32978
33014
|
/**
|
|
32979
|
-
* The **`searchParams`** read-only property of the access to the
|
|
33015
|
+
* 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.
|
|
32980
33016
|
*
|
|
32981
33017
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
32982
33018
|
*/
|
|
@@ -32988,7 +33024,7 @@ interface URL {
|
|
|
32988
33024
|
*/
|
|
32989
33025
|
username: string;
|
|
32990
33026
|
/**
|
|
32991
|
-
* 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
|
|
33027
|
+
* 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().
|
|
32992
33028
|
*
|
|
32993
33029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
32994
33030
|
*/
|
|
@@ -33017,7 +33053,7 @@ declare var URL: {
|
|
|
33017
33053
|
*/
|
|
33018
33054
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
33019
33055
|
/**
|
|
33020
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
33056
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
33021
33057
|
*
|
|
33022
33058
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
33023
33059
|
*/
|
|
@@ -33677,7 +33713,7 @@ interface VideoPlaybackQuality {
|
|
|
33677
33713
|
*/
|
|
33678
33714
|
readonly corruptedVideoFrames: number;
|
|
33679
33715
|
/**
|
|
33680
|
-
* The read-only **`creationTime`** property on the the browsing context was created this quality sample was recorded.
|
|
33716
|
+
* 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.
|
|
33681
33717
|
*
|
|
33682
33718
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/creationTime)
|
|
33683
33719
|
*/
|
|
@@ -33739,26 +33775,26 @@ declare var ViewTimeline: {
|
|
|
33739
33775
|
*/
|
|
33740
33776
|
interface ViewTransition {
|
|
33741
33777
|
/**
|
|
33742
|
-
* The **`finished`** read-only property of the
|
|
33778
|
+
* 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.
|
|
33743
33779
|
*
|
|
33744
33780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished)
|
|
33745
33781
|
*/
|
|
33746
33782
|
readonly finished: Promise<void>;
|
|
33747
33783
|
/**
|
|
33748
|
-
* The **`ready`** read-only property of the
|
|
33784
|
+
* 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.
|
|
33749
33785
|
*
|
|
33750
33786
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)
|
|
33751
33787
|
*/
|
|
33752
33788
|
readonly ready: Promise<void>;
|
|
33753
33789
|
types: ViewTransitionTypeSet;
|
|
33754
33790
|
/**
|
|
33755
|
-
* The **`updateCallbackDone`** read-only property of the
|
|
33791
|
+
* 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.
|
|
33756
33792
|
*
|
|
33757
33793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone)
|
|
33758
33794
|
*/
|
|
33759
33795
|
readonly updateCallbackDone: Promise<void>;
|
|
33760
33796
|
/**
|
|
33761
|
-
* The **`skipTransition()`** method of the
|
|
33797
|
+
* The **`skipTransition()`** method of the ViewTransition interface skips the animation part of the view transition, but doesn't skip running the associated view update.
|
|
33762
33798
|
*
|
|
33763
33799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition)
|
|
33764
33800
|
*/
|
|
@@ -36488,7 +36524,7 @@ interface WebSocket extends EventTarget {
|
|
|
36488
36524
|
*/
|
|
36489
36525
|
readonly url: string;
|
|
36490
36526
|
/**
|
|
36491
|
-
* The **`WebSocket.close()`** method closes the
|
|
36527
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
36492
36528
|
*
|
|
36493
36529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
36494
36530
|
*/
|
|
@@ -36697,19 +36733,19 @@ interface WheelEvent extends MouseEvent {
|
|
|
36697
36733
|
*/
|
|
36698
36734
|
readonly deltaMode: number;
|
|
36699
36735
|
/**
|
|
36700
|
-
* The **`WheelEvent.deltaX`** read-only property is a `double` representing the horizontal scroll amount in the
|
|
36736
|
+
* The **`WheelEvent.deltaX`** read-only property is a `double` representing the horizontal scroll amount in the WheelEvent.deltaMode unit.
|
|
36701
36737
|
*
|
|
36702
36738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaX)
|
|
36703
36739
|
*/
|
|
36704
36740
|
readonly deltaX: number;
|
|
36705
36741
|
/**
|
|
36706
|
-
* The **`WheelEvent.deltaY`** read-only property is a `double` representing the vertical scroll amount in the
|
|
36742
|
+
* The **`WheelEvent.deltaY`** read-only property is a `double` representing the vertical scroll amount in the WheelEvent.deltaMode unit.
|
|
36707
36743
|
*
|
|
36708
36744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaY)
|
|
36709
36745
|
*/
|
|
36710
36746
|
readonly deltaY: number;
|
|
36711
36747
|
/**
|
|
36712
|
-
* The **`WheelEvent.deltaZ`** read-only property is a `double` representing the scroll amount along the z-axis, in the
|
|
36748
|
+
* The **`WheelEvent.deltaZ`** read-only property is a `double` representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.
|
|
36713
36749
|
*
|
|
36714
36750
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaZ)
|
|
36715
36751
|
*/
|
|
@@ -36812,7 +36848,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
36812
36848
|
*/
|
|
36813
36849
|
readonly history: History;
|
|
36814
36850
|
/**
|
|
36815
|
-
* The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.
|
|
36851
|
+
* 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.
|
|
36816
36852
|
*
|
|
36817
36853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)
|
|
36818
36854
|
*/
|
|
@@ -36824,7 +36860,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
36824
36860
|
*/
|
|
36825
36861
|
readonly innerWidth: number;
|
|
36826
36862
|
/**
|
|
36827
|
-
* Returns the number of frames (either frame or
|
|
36863
|
+
* Returns the number of frames (either frame or iframe elements) in the window.
|
|
36828
36864
|
*
|
|
36829
36865
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)
|
|
36830
36866
|
*/
|
|
@@ -36992,7 +37028,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
36992
37028
|
*/
|
|
36993
37029
|
readonly speechSynthesis: SpeechSynthesis;
|
|
36994
37030
|
/**
|
|
36995
|
-
* The **`status`** property of the bar at the bottom of the browser window.
|
|
37031
|
+
* 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.
|
|
36996
37032
|
* @deprecated
|
|
36997
37033
|
*
|
|
36998
37034
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)
|
|
@@ -37360,7 +37396,7 @@ declare var Worker: {
|
|
|
37360
37396
|
*/
|
|
37361
37397
|
interface Worklet {
|
|
37362
37398
|
/**
|
|
37363
|
-
* The **`addModule()`** method of the adds it to the current `Worklet`.
|
|
37399
|
+
* The **`addModule()`** method of the Worklet interface loads the module in the given JavaScript file and adds it to the current `Worklet`.
|
|
37364
37400
|
*
|
|
37365
37401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worklet/addModule)
|
|
37366
37402
|
*/
|
|
@@ -37422,7 +37458,7 @@ interface WritableStreamDefaultController {
|
|
|
37422
37458
|
*/
|
|
37423
37459
|
readonly signal: AbortSignal;
|
|
37424
37460
|
/**
|
|
37425
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
37461
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
37426
37462
|
*
|
|
37427
37463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
37428
37464
|
*/
|
|
@@ -37441,43 +37477,43 @@ declare var WritableStreamDefaultController: {
|
|
|
37441
37477
|
*/
|
|
37442
37478
|
interface WritableStreamDefaultWriter<W = any> {
|
|
37443
37479
|
/**
|
|
37444
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
37480
|
+
* 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.
|
|
37445
37481
|
*
|
|
37446
37482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
37447
37483
|
*/
|
|
37448
37484
|
readonly closed: Promise<void>;
|
|
37449
37485
|
/**
|
|
37450
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
37486
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
37451
37487
|
*
|
|
37452
37488
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
37453
37489
|
*/
|
|
37454
37490
|
readonly desiredSize: number | null;
|
|
37455
37491
|
/**
|
|
37456
|
-
* 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.
|
|
37492
|
+
* 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.
|
|
37457
37493
|
*
|
|
37458
37494
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
37459
37495
|
*/
|
|
37460
37496
|
readonly ready: Promise<void>;
|
|
37461
37497
|
/**
|
|
37462
|
-
* 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.
|
|
37498
|
+
* 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.
|
|
37463
37499
|
*
|
|
37464
37500
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
37465
37501
|
*/
|
|
37466
37502
|
abort(reason?: any): Promise<void>;
|
|
37467
37503
|
/**
|
|
37468
|
-
* The **`close()`** method of the stream.
|
|
37504
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
37469
37505
|
*
|
|
37470
37506
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
37471
37507
|
*/
|
|
37472
37508
|
close(): Promise<void>;
|
|
37473
37509
|
/**
|
|
37474
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
37510
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
37475
37511
|
*
|
|
37476
37512
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
37477
37513
|
*/
|
|
37478
37514
|
releaseLock(): void;
|
|
37479
37515
|
/**
|
|
37480
|
-
* The **`write()`** method of the operation.
|
|
37516
|
+
* 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.
|
|
37481
37517
|
*
|
|
37482
37518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
37483
37519
|
*/
|
|
@@ -37751,7 +37787,7 @@ interface XPathEvaluatorBase {
|
|
|
37751
37787
|
*/
|
|
37752
37788
|
interface XPathExpression {
|
|
37753
37789
|
/**
|
|
37754
|
-
* The **`evaluate()`** method of the returns an XPathResult.
|
|
37790
|
+
* The **`evaluate()`** method of the XPathExpression interface executes an XPath expression on the given node or document and returns an XPathResult.
|
|
37755
37791
|
*
|
|
37756
37792
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathExpression/evaluate)
|
|
37757
37793
|
*/
|
|
@@ -37770,55 +37806,55 @@ declare var XPathExpression: {
|
|
|
37770
37806
|
*/
|
|
37771
37807
|
interface XPathResult {
|
|
37772
37808
|
/**
|
|
37773
|
-
* The read-only **`booleanValue`** property of the
|
|
37809
|
+
* The read-only **`booleanValue`** property of the XPathResult interface returns the boolean value of a result with XPathResult.resultType being `BOOLEAN_TYPE`.
|
|
37774
37810
|
*
|
|
37775
37811
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/booleanValue)
|
|
37776
37812
|
*/
|
|
37777
37813
|
readonly booleanValue: boolean;
|
|
37778
37814
|
/**
|
|
37779
|
-
* The read-only **`invalidIteratorState`** property of the
|
|
37815
|
+
* The read-only **`invalidIteratorState`** property of the XPathResult interface signifies that the iterator has become invalid.
|
|
37780
37816
|
*
|
|
37781
37817
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/invalidIteratorState)
|
|
37782
37818
|
*/
|
|
37783
37819
|
readonly invalidIteratorState: boolean;
|
|
37784
37820
|
/**
|
|
37785
|
-
* The read-only **`numberValue`** property of the
|
|
37821
|
+
* The read-only **`numberValue`** property of the XPathResult interface returns the numeric value of a result with XPathResult.resultType being `NUMBER_TYPE`.
|
|
37786
37822
|
*
|
|
37787
37823
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/numberValue)
|
|
37788
37824
|
*/
|
|
37789
37825
|
readonly numberValue: number;
|
|
37790
37826
|
/**
|
|
37791
|
-
* The read-only **`resultType`** property of the the type constants.
|
|
37827
|
+
* The read-only **`resultType`** property of the XPathResult interface represents the type of the result, as defined by the type constants.
|
|
37792
37828
|
*
|
|
37793
37829
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/resultType)
|
|
37794
37830
|
*/
|
|
37795
37831
|
readonly resultType: number;
|
|
37796
37832
|
/**
|
|
37797
|
-
* The read-only **`singleNodeValue`** property of the `null` in case no node was matched of a result with `FIRST_ORDERED_NODE_TYPE`.
|
|
37833
|
+
* 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`.
|
|
37798
37834
|
*
|
|
37799
37835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/singleNodeValue)
|
|
37800
37836
|
*/
|
|
37801
37837
|
readonly singleNodeValue: Node | null;
|
|
37802
37838
|
/**
|
|
37803
|
-
* The read-only **`snapshotLength`** property of the snapshot.
|
|
37839
|
+
* The read-only **`snapshotLength`** property of the XPathResult interface represents the number of nodes in the result snapshot.
|
|
37804
37840
|
*
|
|
37805
37841
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotLength)
|
|
37806
37842
|
*/
|
|
37807
37843
|
readonly snapshotLength: number;
|
|
37808
37844
|
/**
|
|
37809
|
-
* The read-only **`stringValue`** property of the
|
|
37845
|
+
* The read-only **`stringValue`** property of the XPathResult interface returns the string value of a result with XPathResult.resultType being `STRING_TYPE`.
|
|
37810
37846
|
*
|
|
37811
37847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/stringValue)
|
|
37812
37848
|
*/
|
|
37813
37849
|
readonly stringValue: string;
|
|
37814
37850
|
/**
|
|
37815
|
-
* The **`iterateNext()`** method of the next node from it or `null` if there are no more nodes.
|
|
37851
|
+
* 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.
|
|
37816
37852
|
*
|
|
37817
37853
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/iterateNext)
|
|
37818
37854
|
*/
|
|
37819
37855
|
iterateNext(): Node | null;
|
|
37820
37856
|
/**
|
|
37821
|
-
* The **`snapshotItem()`** method of the `null` in case the index is not within the range of nodes.
|
|
37857
|
+
* 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.
|
|
37822
37858
|
*
|
|
37823
37859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotItem)
|
|
37824
37860
|
*/
|
|
@@ -38066,7 +38102,11 @@ declare namespace WebAssembly {
|
|
|
38066
38102
|
(message?: string): CompileError;
|
|
38067
38103
|
};
|
|
38068
38104
|
|
|
38069
|
-
/**
|
|
38105
|
+
/**
|
|
38106
|
+
* A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
|
|
38107
|
+
*
|
|
38108
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
38109
|
+
*/
|
|
38070
38110
|
interface Global<T extends ValueType = ValueType> {
|
|
38071
38111
|
value: ValueTypeMap[T];
|
|
38072
38112
|
valueOf(): ValueTypeMap[T];
|
|
@@ -38077,9 +38117,17 @@ declare namespace WebAssembly {
|
|
|
38077
38117
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
38078
38118
|
};
|
|
38079
38119
|
|
|
38080
|
-
/**
|
|
38120
|
+
/**
|
|
38121
|
+
* A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
|
|
38122
|
+
*
|
|
38123
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
|
|
38124
|
+
*/
|
|
38081
38125
|
interface Instance {
|
|
38082
|
-
/**
|
|
38126
|
+
/**
|
|
38127
|
+
* 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.
|
|
38128
|
+
*
|
|
38129
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
|
|
38130
|
+
*/
|
|
38083
38131
|
readonly exports: Exports;
|
|
38084
38132
|
}
|
|
38085
38133
|
|
|
@@ -38097,11 +38145,23 @@ declare namespace WebAssembly {
|
|
|
38097
38145
|
(message?: string): LinkError;
|
|
38098
38146
|
};
|
|
38099
38147
|
|
|
38100
|
-
/**
|
|
38148
|
+
/**
|
|
38149
|
+
* The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
|
|
38150
|
+
*
|
|
38151
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
|
|
38152
|
+
*/
|
|
38101
38153
|
interface Memory {
|
|
38102
|
-
/**
|
|
38154
|
+
/**
|
|
38155
|
+
* The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
|
|
38156
|
+
*
|
|
38157
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
|
|
38158
|
+
*/
|
|
38103
38159
|
readonly buffer: ArrayBuffer;
|
|
38104
|
-
/**
|
|
38160
|
+
/**
|
|
38161
|
+
* The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
|
|
38162
|
+
*
|
|
38163
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
|
|
38164
|
+
*/
|
|
38105
38165
|
grow(delta: number): number;
|
|
38106
38166
|
}
|
|
38107
38167
|
|
|
@@ -38110,18 +38170,34 @@ declare namespace WebAssembly {
|
|
|
38110
38170
|
new(descriptor: MemoryDescriptor): Memory;
|
|
38111
38171
|
};
|
|
38112
38172
|
|
|
38113
|
-
/**
|
|
38173
|
+
/**
|
|
38174
|
+
* 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.
|
|
38175
|
+
*
|
|
38176
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
|
|
38177
|
+
*/
|
|
38114
38178
|
interface Module {
|
|
38115
38179
|
}
|
|
38116
38180
|
|
|
38117
38181
|
var Module: {
|
|
38118
38182
|
prototype: Module;
|
|
38119
38183
|
new(bytes: BufferSource): Module;
|
|
38120
|
-
/**
|
|
38184
|
+
/**
|
|
38185
|
+
* 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.
|
|
38186
|
+
*
|
|
38187
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
|
|
38188
|
+
*/
|
|
38121
38189
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
38122
|
-
/**
|
|
38190
|
+
/**
|
|
38191
|
+
* The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
|
|
38192
|
+
*
|
|
38193
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
|
|
38194
|
+
*/
|
|
38123
38195
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
38124
|
-
/**
|
|
38196
|
+
/**
|
|
38197
|
+
* The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
|
|
38198
|
+
*
|
|
38199
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
|
|
38200
|
+
*/
|
|
38125
38201
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
38126
38202
|
};
|
|
38127
38203
|
|
|
@@ -38134,15 +38210,35 @@ declare namespace WebAssembly {
|
|
|
38134
38210
|
(message?: string): RuntimeError;
|
|
38135
38211
|
};
|
|
38136
38212
|
|
|
38137
|
-
/**
|
|
38213
|
+
/**
|
|
38214
|
+
* The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
|
|
38215
|
+
*
|
|
38216
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
|
|
38217
|
+
*/
|
|
38138
38218
|
interface Table {
|
|
38139
|
-
/**
|
|
38219
|
+
/**
|
|
38220
|
+
* 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.
|
|
38221
|
+
*
|
|
38222
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
|
|
38223
|
+
*/
|
|
38140
38224
|
readonly length: number;
|
|
38141
|
-
/**
|
|
38225
|
+
/**
|
|
38226
|
+
* The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
|
|
38227
|
+
*
|
|
38228
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
|
|
38229
|
+
*/
|
|
38142
38230
|
get(index: number): any;
|
|
38143
|
-
/**
|
|
38231
|
+
/**
|
|
38232
|
+
* 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.
|
|
38233
|
+
*
|
|
38234
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
|
|
38235
|
+
*/
|
|
38144
38236
|
grow(delta: number, value?: any): number;
|
|
38145
|
-
/**
|
|
38237
|
+
/**
|
|
38238
|
+
* The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
|
|
38239
|
+
*
|
|
38240
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
|
|
38241
|
+
*/
|
|
38146
38242
|
set(index: number, value?: any): void;
|
|
38147
38243
|
}
|
|
38148
38244
|
|
|
@@ -38848,7 +38944,7 @@ declare var frames: WindowProxy;
|
|
|
38848
38944
|
*/
|
|
38849
38945
|
declare var history: History;
|
|
38850
38946
|
/**
|
|
38851
|
-
* The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.
|
|
38947
|
+
* 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.
|
|
38852
38948
|
*
|
|
38853
38949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)
|
|
38854
38950
|
*/
|
|
@@ -38860,7 +38956,7 @@ declare var innerHeight: number;
|
|
|
38860
38956
|
*/
|
|
38861
38957
|
declare var innerWidth: number;
|
|
38862
38958
|
/**
|
|
38863
|
-
* Returns the number of frames (either frame or
|
|
38959
|
+
* Returns the number of frames (either frame or iframe elements) in the window.
|
|
38864
38960
|
*
|
|
38865
38961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)
|
|
38866
38962
|
*/
|
|
@@ -39028,7 +39124,7 @@ declare var self: Window & typeof globalThis;
|
|
|
39028
39124
|
*/
|
|
39029
39125
|
declare var speechSynthesis: SpeechSynthesis;
|
|
39030
39126
|
/**
|
|
39031
|
-
* The **`status`** property of the bar at the bottom of the browser window.
|
|
39127
|
+
* 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.
|
|
39032
39128
|
* @deprecated
|
|
39033
39129
|
*
|
|
39034
39130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)
|