@types/web 0.0.352 → 0.0.354
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 +409 -149
- package/package.json +1 -1
- package/ts5.5/index.d.ts +409 -149
- package/ts5.6/index.d.ts +409 -149
- package/ts5.9/index.d.ts +409 -149
package/ts5.9/index.d.ts
CHANGED
|
@@ -818,6 +818,7 @@ interface FormDataEventInit extends EventInit {
|
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
interface FullscreenOptions {
|
|
821
|
+
keyboardLock?: FullscreenKeyboardLock;
|
|
821
822
|
navigationUI?: FullscreenNavigationUI;
|
|
822
823
|
}
|
|
823
824
|
|
|
@@ -1000,6 +1001,7 @@ interface GPUPipelineErrorInit {
|
|
|
1000
1001
|
|
|
1001
1002
|
interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
|
|
1002
1003
|
bindGroupLayouts: (GPUBindGroupLayout | null)[];
|
|
1004
|
+
immediateSize?: GPUSize32;
|
|
1003
1005
|
}
|
|
1004
1006
|
|
|
1005
1007
|
interface GPUPrimitiveState {
|
|
@@ -1833,6 +1835,10 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
1833
1835
|
rolloffFactor?: number;
|
|
1834
1836
|
}
|
|
1835
1837
|
|
|
1838
|
+
interface ParseHTMLUnsafeOptions {
|
|
1839
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1836
1842
|
interface PayerErrors {
|
|
1837
1843
|
email?: string;
|
|
1838
1844
|
name?: string;
|
|
@@ -2760,6 +2766,10 @@ interface SetHTMLOptions {
|
|
|
2760
2766
|
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2761
2767
|
}
|
|
2762
2768
|
|
|
2769
|
+
interface SetHTMLUnsafeOptions {
|
|
2770
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2763
2773
|
interface ShadowRootInit {
|
|
2764
2774
|
clonable?: boolean;
|
|
2765
2775
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -3330,109 +3340,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3330
3340
|
}
|
|
3331
3341
|
|
|
3332
3342
|
interface ARIAMixin {
|
|
3333
|
-
/**
|
|
3343
|
+
/**
|
|
3344
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3345
|
+
*
|
|
3346
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3347
|
+
*/
|
|
3334
3348
|
ariaActiveDescendantElement: Element | null;
|
|
3335
|
-
/**
|
|
3349
|
+
/**
|
|
3350
|
+
* The **`ariaAtomic`** property of the Element interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
|
|
3351
|
+
*
|
|
3352
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3353
|
+
*/
|
|
3336
3354
|
ariaAtomic: string | null;
|
|
3337
|
-
/**
|
|
3355
|
+
/**
|
|
3356
|
+
* The **`ariaAutoComplete`** property of the Element interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
|
|
3357
|
+
*
|
|
3358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3359
|
+
*/
|
|
3338
3360
|
ariaAutoComplete: string | null;
|
|
3339
|
-
/**
|
|
3361
|
+
/**
|
|
3362
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3363
|
+
*
|
|
3364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3365
|
+
*/
|
|
3340
3366
|
ariaBrailleLabel: string | null;
|
|
3341
|
-
/**
|
|
3367
|
+
/**
|
|
3368
|
+
* The **`ariaBrailleRoleDescription`** property of the Element interface reflects the value of the aria-brailleroledescription attribute, which defines the ARIA braille role description of the element.
|
|
3369
|
+
*
|
|
3370
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3371
|
+
*/
|
|
3342
3372
|
ariaBrailleRoleDescription: string | null;
|
|
3343
|
-
/**
|
|
3373
|
+
/**
|
|
3374
|
+
* The **`ariaBusy`** property of the Element interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
|
|
3375
|
+
*
|
|
3376
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3377
|
+
*/
|
|
3344
3378
|
ariaBusy: string | null;
|
|
3345
|
-
/**
|
|
3379
|
+
/**
|
|
3380
|
+
* The **`ariaChecked`** property of the Element interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
|
|
3381
|
+
*
|
|
3382
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3383
|
+
*/
|
|
3346
3384
|
ariaChecked: string | null;
|
|
3347
|
-
/**
|
|
3385
|
+
/**
|
|
3386
|
+
* The **`ariaColCount`** property of the Element interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
|
|
3387
|
+
*
|
|
3388
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3389
|
+
*/
|
|
3348
3390
|
ariaColCount: string | null;
|
|
3349
|
-
/**
|
|
3391
|
+
/**
|
|
3392
|
+
* The **`ariaColIndex`** property of the Element interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
3393
|
+
*
|
|
3394
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3395
|
+
*/
|
|
3350
3396
|
ariaColIndex: string | null;
|
|
3351
|
-
/**
|
|
3397
|
+
/**
|
|
3398
|
+
* The **`ariaColIndexText`** property of the Element interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
|
|
3399
|
+
*
|
|
3400
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3401
|
+
*/
|
|
3352
3402
|
ariaColIndexText: string | null;
|
|
3353
|
-
/**
|
|
3403
|
+
/**
|
|
3404
|
+
* The **`ariaColSpan`** property of the Element interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3405
|
+
*
|
|
3406
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3407
|
+
*/
|
|
3354
3408
|
ariaColSpan: string | null;
|
|
3355
|
-
/**
|
|
3409
|
+
/**
|
|
3410
|
+
* The **`ariaControlsElements`** property of the Element interface is an array containing the elements that are controlled by the element it is applied to. For example, this might be set on a combobox to indicate the element that it pops up, or on a scrollbar to indicate the ID of the element it controls.
|
|
3411
|
+
*
|
|
3412
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3413
|
+
*/
|
|
3356
3414
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3357
|
-
/**
|
|
3415
|
+
/**
|
|
3416
|
+
* The **`ariaCurrent`** property of the Element interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
|
|
3417
|
+
*
|
|
3418
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3419
|
+
*/
|
|
3358
3420
|
ariaCurrent: string | null;
|
|
3359
|
-
/**
|
|
3421
|
+
/**
|
|
3422
|
+
* The **`ariaDescribedByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible description for the element it is applied to. The accessible description is similar to the accessible label (see ariaLabelledByElements), but provides more verbose information.
|
|
3423
|
+
*
|
|
3424
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3425
|
+
*/
|
|
3360
3426
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3361
|
-
/**
|
|
3427
|
+
/**
|
|
3428
|
+
* The **`ariaDescription`** property of the Element interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
|
|
3429
|
+
*
|
|
3430
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3431
|
+
*/
|
|
3362
3432
|
ariaDescription: string | null;
|
|
3363
|
-
/**
|
|
3433
|
+
/**
|
|
3434
|
+
* The **`ariaDetailsElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible details for the element it is applied to. The accessible details are similar to the accessible description (see ariaDescribedByElements), but provides more verbose information.
|
|
3435
|
+
*
|
|
3436
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3437
|
+
*/
|
|
3364
3438
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3365
|
-
/**
|
|
3439
|
+
/**
|
|
3440
|
+
* The **`ariaDisabled`** property of the Element interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
3441
|
+
*
|
|
3442
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3443
|
+
*/
|
|
3366
3444
|
ariaDisabled: string | null;
|
|
3367
|
-
/**
|
|
3445
|
+
/**
|
|
3446
|
+
* The **`ariaErrorMessageElements`** property of the Element interface is an array containing the element (or elements) that provide an error message for the element it is applied to.
|
|
3447
|
+
*
|
|
3448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3449
|
+
*/
|
|
3368
3450
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3369
|
-
/**
|
|
3451
|
+
/**
|
|
3452
|
+
* The **`ariaExpanded`** property of the Element interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
|
|
3453
|
+
*
|
|
3454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3455
|
+
*/
|
|
3370
3456
|
ariaExpanded: string | null;
|
|
3371
|
-
/**
|
|
3457
|
+
/**
|
|
3458
|
+
* The **`ariaFlowToElements`** property of the Element interface is an array containing the element (or elements) that provide an alternate reading order of content, overriding the general default reading order at the user's discretion. If just one element is provided this is the next element in the reading order. If multiple elements are provided, then each element represents a possible path that should be offered to the user for selection.
|
|
3459
|
+
*
|
|
3460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3461
|
+
*/
|
|
3372
3462
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3373
|
-
/**
|
|
3463
|
+
/**
|
|
3464
|
+
* The **`ariaHasPopup`** property of the Element interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
|
|
3465
|
+
*
|
|
3466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3467
|
+
*/
|
|
3374
3468
|
ariaHasPopup: string | null;
|
|
3375
|
-
/**
|
|
3469
|
+
/**
|
|
3470
|
+
* The **`ariaHidden`** property of the Element interface reflects the value of the aria-hidden) attribute, which indicates whether the element is exposed to an accessibility API.
|
|
3471
|
+
*
|
|
3472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3473
|
+
*/
|
|
3376
3474
|
ariaHidden: string | null;
|
|
3377
|
-
/**
|
|
3475
|
+
/**
|
|
3476
|
+
* The **`ariaInvalid`** property of the Element interface reflects the value of the aria-invalid attribute. Relevant for the application, checkbox, combobox, gridcell, listbox, radiogroup, slider, spinbutton, textbox, and tree roles, it indicates to the accessibility API whether the entered value does not conform to the format expected by the application.
|
|
3477
|
+
*
|
|
3478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3479
|
+
*/
|
|
3378
3480
|
ariaInvalid: string | null;
|
|
3379
|
-
/**
|
|
3481
|
+
/**
|
|
3482
|
+
* The **`ariaKeyShortcuts`** property of the Element interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
3483
|
+
*
|
|
3484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3485
|
+
*/
|
|
3380
3486
|
ariaKeyShortcuts: string | null;
|
|
3381
|
-
/**
|
|
3487
|
+
/**
|
|
3488
|
+
* The **`ariaLabel`** property of the Element interface reflects the value of the aria-label attribute, which defines a string value that labels the current element.
|
|
3489
|
+
*
|
|
3490
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3491
|
+
*/
|
|
3382
3492
|
ariaLabel: string | null;
|
|
3383
|
-
/**
|
|
3493
|
+
/**
|
|
3494
|
+
* The **`ariaLabelledByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible name for the element it is applied to.
|
|
3495
|
+
*
|
|
3496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3497
|
+
*/
|
|
3384
3498
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3385
|
-
/**
|
|
3499
|
+
/**
|
|
3500
|
+
* The **`ariaLevel`** property of the Element interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
|
|
3501
|
+
*
|
|
3502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3503
|
+
*/
|
|
3386
3504
|
ariaLevel: string | null;
|
|
3387
|
-
/**
|
|
3505
|
+
/**
|
|
3506
|
+
* The **`ariaLive`** property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
|
|
3507
|
+
*
|
|
3508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3509
|
+
*/
|
|
3388
3510
|
ariaLive: string | null;
|
|
3389
|
-
/**
|
|
3511
|
+
/**
|
|
3512
|
+
* The **`ariaModal`** property of the Element interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed. Applying the aria-modal property to an element with role="dialog" replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert.
|
|
3513
|
+
*
|
|
3514
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3515
|
+
*/
|
|
3390
3516
|
ariaModal: string | null;
|
|
3391
|
-
/**
|
|
3517
|
+
/**
|
|
3518
|
+
* The **`ariaMultiLine`** property of the Element interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
|
|
3519
|
+
*
|
|
3520
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3521
|
+
*/
|
|
3392
3522
|
ariaMultiLine: string | null;
|
|
3393
|
-
/**
|
|
3523
|
+
/**
|
|
3524
|
+
* The **`ariaMultiSelectable`** property of the Element interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
|
|
3525
|
+
*
|
|
3526
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3527
|
+
*/
|
|
3394
3528
|
ariaMultiSelectable: string | null;
|
|
3395
|
-
/**
|
|
3529
|
+
/**
|
|
3530
|
+
* The **`ariaOrientation`** property of the Element interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
|
|
3531
|
+
*
|
|
3532
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3533
|
+
*/
|
|
3396
3534
|
ariaOrientation: string | null;
|
|
3397
|
-
/**
|
|
3535
|
+
/**
|
|
3536
|
+
* The **`ariaOwnsElements`** property of the Element interface is an array containing the element (or elements) that define a visual, functional, or contextual relationship between a parent element that it is applied to, and its child elements. This is used when the DOM hierarchy cannot be used to represent the relationship, and it would not otherwise be available to assistive technology,
|
|
3537
|
+
*
|
|
3538
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3539
|
+
*/
|
|
3398
3540
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3399
|
-
/**
|
|
3541
|
+
/**
|
|
3542
|
+
* The **`ariaPlaceholder`** property of the Element interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
|
|
3543
|
+
*
|
|
3544
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3545
|
+
*/
|
|
3400
3546
|
ariaPlaceholder: string | null;
|
|
3401
|
-
/**
|
|
3547
|
+
/**
|
|
3548
|
+
* The **`ariaPosInSet`** property of the Element interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
|
|
3549
|
+
*
|
|
3550
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3551
|
+
*/
|
|
3402
3552
|
ariaPosInSet: string | null;
|
|
3403
|
-
/**
|
|
3553
|
+
/**
|
|
3554
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3555
|
+
*
|
|
3556
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3557
|
+
*/
|
|
3404
3558
|
ariaPressed: string | null;
|
|
3405
|
-
/**
|
|
3559
|
+
/**
|
|
3560
|
+
* The **`ariaReadOnly`** property of the Element interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
|
|
3561
|
+
*
|
|
3562
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3563
|
+
*/
|
|
3406
3564
|
ariaReadOnly: string | null;
|
|
3407
|
-
/**
|
|
3565
|
+
/**
|
|
3566
|
+
* The **`ariaRelevant`** property of the Element interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
|
|
3567
|
+
*
|
|
3568
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3569
|
+
*/
|
|
3408
3570
|
ariaRelevant: string | null;
|
|
3409
|
-
/**
|
|
3571
|
+
/**
|
|
3572
|
+
* The **`ariaRequired`** property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
|
|
3573
|
+
*
|
|
3574
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3575
|
+
*/
|
|
3410
3576
|
ariaRequired: string | null;
|
|
3411
|
-
/**
|
|
3577
|
+
/**
|
|
3578
|
+
* The **`ariaRoleDescription`** property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
|
|
3579
|
+
*
|
|
3580
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3581
|
+
*/
|
|
3412
3582
|
ariaRoleDescription: string | null;
|
|
3413
|
-
/**
|
|
3583
|
+
/**
|
|
3584
|
+
* The **`ariaRowCount`** property of the Element interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
|
|
3585
|
+
*
|
|
3586
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3587
|
+
*/
|
|
3414
3588
|
ariaRowCount: string | null;
|
|
3415
|
-
/**
|
|
3589
|
+
/**
|
|
3590
|
+
* The **`ariaRowIndex`** property of the Element interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
3591
|
+
*
|
|
3592
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3593
|
+
*/
|
|
3416
3594
|
ariaRowIndex: string | null;
|
|
3417
|
-
/**
|
|
3595
|
+
/**
|
|
3596
|
+
* The **`ariaRowIndexText`** property of the Element interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
|
|
3597
|
+
*
|
|
3598
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3599
|
+
*/
|
|
3418
3600
|
ariaRowIndexText: string | null;
|
|
3419
|
-
/**
|
|
3601
|
+
/**
|
|
3602
|
+
* The **`ariaRowSpan`** property of the Element interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3603
|
+
*
|
|
3604
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3605
|
+
*/
|
|
3420
3606
|
ariaRowSpan: string | null;
|
|
3421
|
-
/**
|
|
3607
|
+
/**
|
|
3608
|
+
* The **`ariaSelected`** property of the Element interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
|
|
3609
|
+
*
|
|
3610
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3611
|
+
*/
|
|
3422
3612
|
ariaSelected: string | null;
|
|
3423
|
-
/**
|
|
3613
|
+
/**
|
|
3614
|
+
* The **`ariaSetSize`** property of the Element interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
|
|
3615
|
+
*
|
|
3616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3617
|
+
*/
|
|
3424
3618
|
ariaSetSize: string | null;
|
|
3425
|
-
/**
|
|
3619
|
+
/**
|
|
3620
|
+
* The **`ariaSort`** property of the Element interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
|
|
3621
|
+
*
|
|
3622
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3623
|
+
*/
|
|
3426
3624
|
ariaSort: string | null;
|
|
3427
|
-
/**
|
|
3625
|
+
/**
|
|
3626
|
+
* The **`ariaValueMax`** property of the Element interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
|
|
3627
|
+
*
|
|
3628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3629
|
+
*/
|
|
3428
3630
|
ariaValueMax: string | null;
|
|
3429
|
-
/**
|
|
3631
|
+
/**
|
|
3632
|
+
* The **`ariaValueMin`** property of the Element interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
|
|
3633
|
+
*
|
|
3634
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3635
|
+
*/
|
|
3430
3636
|
ariaValueMin: string | null;
|
|
3431
|
-
/**
|
|
3637
|
+
/**
|
|
3638
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3639
|
+
*
|
|
3640
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3641
|
+
*/
|
|
3432
3642
|
ariaValueNow: string | null;
|
|
3433
|
-
/**
|
|
3643
|
+
/**
|
|
3644
|
+
* The **`ariaValueText`** property of the Element interface reflects the value of the aria-valuetext attribute, which defines the human-readable text alternative of aria-valuenow for a range widget.
|
|
3645
|
+
*
|
|
3646
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3647
|
+
*/
|
|
3434
3648
|
ariaValueText: string | null;
|
|
3435
|
-
/**
|
|
3649
|
+
/**
|
|
3650
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3651
|
+
*
|
|
3652
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3653
|
+
*/
|
|
3436
3654
|
role: string | null;
|
|
3437
3655
|
}
|
|
3438
3656
|
|
|
@@ -5203,21 +5421,53 @@ declare var BlobEvent: {
|
|
|
5203
5421
|
};
|
|
5204
5422
|
|
|
5205
5423
|
interface Body {
|
|
5206
|
-
/**
|
|
5424
|
+
/**
|
|
5425
|
+
* The **`body`** read-only property of the Request interface contains a ReadableStream with the body contents that have been added to the request. Note that a request using the GET or HEAD method cannot have a body and null is returned in these cases.
|
|
5426
|
+
*
|
|
5427
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5428
|
+
*/
|
|
5207
5429
|
readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;
|
|
5208
|
-
/**
|
|
5430
|
+
/**
|
|
5431
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5432
|
+
*
|
|
5433
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5434
|
+
*/
|
|
5209
5435
|
readonly bodyUsed: boolean;
|
|
5210
|
-
/**
|
|
5436
|
+
/**
|
|
5437
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5438
|
+
*
|
|
5439
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5440
|
+
*/
|
|
5211
5441
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5212
|
-
/**
|
|
5442
|
+
/**
|
|
5443
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5444
|
+
*
|
|
5445
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5446
|
+
*/
|
|
5213
5447
|
blob(): Promise<Blob>;
|
|
5214
|
-
/**
|
|
5448
|
+
/**
|
|
5449
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5450
|
+
*
|
|
5451
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5452
|
+
*/
|
|
5215
5453
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
5216
|
-
/**
|
|
5454
|
+
/**
|
|
5455
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5456
|
+
*
|
|
5457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5458
|
+
*/
|
|
5217
5459
|
formData(): Promise<FormData>;
|
|
5218
|
-
/**
|
|
5460
|
+
/**
|
|
5461
|
+
* The **`json()`** method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.
|
|
5462
|
+
*
|
|
5463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5464
|
+
*/
|
|
5219
5465
|
json(): Promise<any>;
|
|
5220
|
-
/**
|
|
5466
|
+
/**
|
|
5467
|
+
* The **`text()`** method of the Request interface reads the request body and returns it as a promise that resolves with a String. The response is always decoded using UTF-8.
|
|
5468
|
+
*
|
|
5469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5470
|
+
*/
|
|
5221
5471
|
text(): Promise<string>;
|
|
5222
5472
|
}
|
|
5223
5473
|
|
|
@@ -12729,7 +12979,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12729
12979
|
/** Available only in secure contexts. */
|
|
12730
12980
|
interface DigitalCredential extends Credential {
|
|
12731
12981
|
readonly data: any;
|
|
12732
|
-
readonly protocol:
|
|
12982
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12733
12983
|
toJSON(): any;
|
|
12734
12984
|
}
|
|
12735
12985
|
|
|
@@ -13414,7 +13664,7 @@ declare var Document: {
|
|
|
13414
13664
|
*
|
|
13415
13665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
|
|
13416
13666
|
*/
|
|
13417
|
-
parseHTMLUnsafe(html: string): Document;
|
|
13667
|
+
parseHTMLUnsafe(html: string, options?: ParseHTMLUnsafeOptions): Document;
|
|
13418
13668
|
};
|
|
13419
13669
|
|
|
13420
13670
|
/**
|
|
@@ -13438,34 +13688,56 @@ declare var DocumentFragment: {
|
|
|
13438
13688
|
|
|
13439
13689
|
interface DocumentOrShadowRoot {
|
|
13440
13690
|
/**
|
|
13441
|
-
*
|
|
13442
|
-
*
|
|
13443
|
-
* For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.
|
|
13444
|
-
*
|
|
13445
|
-
* Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.
|
|
13691
|
+
* The **`activeElement`** read-only property of the Document interface returns the Element within the DOM that is receiving keyboard events such as keydown and keyup. This is usually analogous to the focused element.
|
|
13446
13692
|
*
|
|
13447
13693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13448
13694
|
*/
|
|
13449
13695
|
readonly activeElement: Element | null;
|
|
13450
|
-
/**
|
|
13696
|
+
/**
|
|
13697
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13698
|
+
*
|
|
13699
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13700
|
+
*/
|
|
13451
13701
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13452
|
-
/**
|
|
13702
|
+
/**
|
|
13703
|
+
* The **`customElementRegistry`** read-only property of the Document interface returns the CustomElementRegistry object associated with this document, or null if one has not been set.
|
|
13704
|
+
*
|
|
13705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13706
|
+
*/
|
|
13453
13707
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13454
13708
|
/**
|
|
13455
|
-
*
|
|
13709
|
+
* The **`Document.fullscreenElement`** read-only property returns the Element that is currently being presented in fullscreen mode in this document, or null if fullscreen mode is not currently in use.
|
|
13456
13710
|
*
|
|
13457
13711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13458
13712
|
*/
|
|
13459
13713
|
readonly fullscreenElement: Element | null;
|
|
13460
|
-
/**
|
|
13714
|
+
/**
|
|
13715
|
+
* The read-only **`pictureInPictureElement`** property of the Document interface returns the Element that is currently being presented in picture-in-picture mode in this document, or null if picture-in-picture mode is not currently in use.
|
|
13716
|
+
*
|
|
13717
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13718
|
+
*/
|
|
13461
13719
|
readonly pictureInPictureElement: Element | null;
|
|
13462
|
-
/**
|
|
13720
|
+
/**
|
|
13721
|
+
* The **`pointerLockElement`** read-only property of the Document interface provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.
|
|
13722
|
+
*
|
|
13723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13724
|
+
*/
|
|
13463
13725
|
readonly pointerLockElement: Element | null;
|
|
13464
|
-
/**
|
|
13726
|
+
/**
|
|
13727
|
+
* The **`styleSheets`** read-only property of the Document interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
|
|
13728
|
+
*
|
|
13729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13730
|
+
*/
|
|
13465
13731
|
readonly styleSheets: StyleSheetList;
|
|
13732
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13466
13733
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13734
|
+
/** The **`elementsFromPoint()`** method of the Document interface returns an array of all elements at the specified coordinates (relative to the viewport). The elements are ordered from the topmost to the bottommost box of the viewport. */
|
|
13467
13735
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13468
|
-
/**
|
|
13736
|
+
/**
|
|
13737
|
+
* The **`getAnimations()`** method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document. This array includes CSS Animations, CSS Transitions, and Web Animations.
|
|
13738
|
+
*
|
|
13739
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13740
|
+
*/
|
|
13469
13741
|
getAnimations(): Animation[];
|
|
13470
13742
|
}
|
|
13471
13743
|
|
|
@@ -14162,7 +14434,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14162
14434
|
*
|
|
14163
14435
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
|
|
14164
14436
|
*/
|
|
14165
|
-
setHTMLUnsafe(html: string): void;
|
|
14437
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
14166
14438
|
/**
|
|
14167
14439
|
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
|
|
14168
14440
|
*
|
|
@@ -17316,12 +17588,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17316
17588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17317
17589
|
*/
|
|
17318
17590
|
download: string;
|
|
17319
|
-
/**
|
|
17320
|
-
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
17321
|
-
*
|
|
17322
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
17323
|
-
*/
|
|
17324
|
-
hreflang: string;
|
|
17325
17591
|
/** @deprecated */
|
|
17326
17592
|
name: string;
|
|
17327
17593
|
/**
|
|
@@ -17353,24 +17619,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17353
17619
|
rev: string;
|
|
17354
17620
|
/** @deprecated */
|
|
17355
17621
|
shape: string;
|
|
17356
|
-
/**
|
|
17357
|
-
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
17358
|
-
*
|
|
17359
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
17360
|
-
*/
|
|
17361
|
-
target: string;
|
|
17362
17622
|
/**
|
|
17363
17623
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17364
17624
|
*
|
|
17365
17625
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17366
17626
|
*/
|
|
17367
17627
|
text: string;
|
|
17368
|
-
/**
|
|
17369
|
-
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
17370
|
-
*
|
|
17371
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
17372
|
-
*/
|
|
17373
|
-
type: string;
|
|
17374
17628
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17375
17629
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17376
17630
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17439,12 +17693,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl
|
|
|
17439
17693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17440
17694
|
*/
|
|
17441
17695
|
shape: string;
|
|
17442
|
-
/**
|
|
17443
|
-
* The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource.
|
|
17444
|
-
*
|
|
17445
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
|
|
17446
|
-
*/
|
|
17447
|
-
target: string;
|
|
17448
17696
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17449
17697
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17450
17698
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17717,6 +17965,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17717
17965
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17718
17966
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17719
17967
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17968
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17720
17969
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17721
17970
|
/**
|
|
17722
17971
|
* The **`HTMLCanvasElement.toBlob()`** method creates a Blob object representing the image contained in the canvas. This file may be cached on the disk or stored in memory at the discretion of the user agent.
|
|
@@ -18640,14 +18889,18 @@ declare var HTMLHtmlElement: {
|
|
|
18640
18889
|
|
|
18641
18890
|
interface HTMLHyperlinkElementUtils {
|
|
18642
18891
|
/**
|
|
18643
|
-
*
|
|
18644
|
-
*
|
|
18645
|
-
* Can be set, to change the URL.
|
|
18892
|
+
* The **`href`** property of the HTMLAnchorElement interface is a stringifier that returns the absolute URL corresponding to the element's href attribute (or an empty string if href is unset). Setting this property updates the element's href attribute to the provided value.
|
|
18646
18893
|
*
|
|
18647
18894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18648
18895
|
*/
|
|
18649
18896
|
href: string;
|
|
18650
18897
|
toString(): string;
|
|
18898
|
+
/**
|
|
18899
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18900
|
+
*
|
|
18901
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18902
|
+
*/
|
|
18903
|
+
target: string;
|
|
18651
18904
|
}
|
|
18652
18905
|
|
|
18653
18906
|
/**
|
|
@@ -22193,79 +22446,73 @@ declare var History: {
|
|
|
22193
22446
|
|
|
22194
22447
|
interface HyperlinkElementUtils {
|
|
22195
22448
|
/**
|
|
22196
|
-
*
|
|
22197
|
-
*
|
|
22198
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
22449
|
+
* The **`hash`** property of the HTMLAnchorElement interface is a string containing a "#" followed by the fragment identifier of the <a> element's href. If the URL does not have a fragment identifier, this property contains an empty string, "".
|
|
22199
22450
|
*
|
|
22200
22451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22201
22452
|
*/
|
|
22202
22453
|
hash: string;
|
|
22203
22454
|
/**
|
|
22204
|
-
*
|
|
22205
|
-
*
|
|
22206
|
-
* Can be set, to change the URL's host and port.
|
|
22455
|
+
* The **`host`** property of the HTMLAnchorElement interface is a string containing the host, which is the hostname, and then, if the port of the URL is nonempty, a ":", followed by the port of the URL. If the URL does not have a hostname, this property contains an empty string, "".
|
|
22207
22456
|
*
|
|
22208
22457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22209
22458
|
*/
|
|
22210
22459
|
host: string;
|
|
22211
22460
|
/**
|
|
22212
|
-
*
|
|
22213
|
-
*
|
|
22214
|
-
* Can be set, to change the URL's host.
|
|
22461
|
+
* The **`hostname`** property of the HTMLAnchorElement interface is a string containing either the domain name or IP address of the <a> element's href. If the URL does not have a hostname, this property contains an empty string, "". IPv4 and IPv6 addresses are normalized, such as stripping leading zeros, and domain names are converted to IDN.
|
|
22215
22462
|
*
|
|
22216
22463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22217
22464
|
*/
|
|
22218
22465
|
hostname: string;
|
|
22219
22466
|
/**
|
|
22220
|
-
*
|
|
22467
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22468
|
+
*
|
|
22469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22470
|
+
*/
|
|
22471
|
+
hreflang: string;
|
|
22472
|
+
/**
|
|
22473
|
+
* The **`origin`** read-only property of the HTMLAnchorElement interface returns a string containing the Unicode serialization of the origin of the <a> element's href.
|
|
22221
22474
|
*
|
|
22222
22475
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22223
22476
|
*/
|
|
22224
22477
|
readonly origin: string;
|
|
22225
22478
|
/**
|
|
22226
|
-
*
|
|
22227
|
-
*
|
|
22228
|
-
* Can be set, to change the URL's password.
|
|
22479
|
+
* The **`password`** property of the HTMLAnchorElement interface is a string containing the password component of the <a> element's href. If the URL does not have a password, this property contains an empty string, "".
|
|
22229
22480
|
*
|
|
22230
22481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22231
22482
|
*/
|
|
22232
22483
|
password: string;
|
|
22233
22484
|
/**
|
|
22234
|
-
*
|
|
22235
|
-
*
|
|
22236
|
-
* Can be set, to change the URL's path.
|
|
22485
|
+
* The **`HTMLAnchorElement.pathname`** property is a string containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).
|
|
22237
22486
|
*
|
|
22238
22487
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22239
22488
|
*/
|
|
22240
22489
|
pathname: string;
|
|
22241
22490
|
/**
|
|
22242
|
-
*
|
|
22243
|
-
*
|
|
22244
|
-
* Can be set, to change the URL's port.
|
|
22491
|
+
* The **`port`** property of the HTMLAnchorElement interface is a string containing the port number of the <a> element's href. If the port is the default for the protocol (80 for ws: and http:, 443 for wss: and https:, and 21 for ftp:), this property contains an empty string, "".
|
|
22245
22492
|
*
|
|
22246
22493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22247
22494
|
*/
|
|
22248
22495
|
port: string;
|
|
22249
22496
|
/**
|
|
22250
|
-
*
|
|
22251
|
-
*
|
|
22252
|
-
* Can be set, to change the URL's scheme.
|
|
22497
|
+
* The **`protocol`** property of the HTMLAnchorElement interface is a string containing the protocol or scheme of the <area> element's href, including the final ":".
|
|
22253
22498
|
*
|
|
22254
22499
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22255
22500
|
*/
|
|
22256
22501
|
protocol: string;
|
|
22257
22502
|
/**
|
|
22258
|
-
*
|
|
22259
|
-
*
|
|
22260
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
22503
|
+
* The **`search`** property of the HTMLAnchorElement interface is a search string, also called a query string, that is a string containing a "?" followed by the parameters of the <a> element's href. If the URL does not have a search query, this property contains an empty string, "".
|
|
22261
22504
|
*
|
|
22262
22505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22263
22506
|
*/
|
|
22264
22507
|
search: string;
|
|
22265
22508
|
/**
|
|
22266
|
-
*
|
|
22509
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22267
22510
|
*
|
|
22268
|
-
*
|
|
22511
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22512
|
+
*/
|
|
22513
|
+
type: string;
|
|
22514
|
+
/**
|
|
22515
|
+
* The **`username`** property of the HTMLAnchorElement interface is a string containing the username component of the <a> element's href. If the URL does not have a username, this property contains an empty string, "".
|
|
22269
22516
|
*
|
|
22270
22517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22271
22518
|
*/
|
|
@@ -26700,7 +26947,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26700
26947
|
|
|
26701
26948
|
interface NonElementParentNode {
|
|
26702
26949
|
/**
|
|
26703
|
-
*
|
|
26950
|
+
* The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
|
|
26704
26951
|
*
|
|
26705
26952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26706
26953
|
*/
|
|
@@ -27091,6 +27338,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
27091
27338
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
27092
27339
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
27093
27340
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27341
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
27094
27342
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
27095
27343
|
/**
|
|
27096
27344
|
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
|
|
@@ -27378,46 +27626,50 @@ declare var PannerNode: {
|
|
|
27378
27626
|
};
|
|
27379
27627
|
|
|
27380
27628
|
interface ParentNode extends Node {
|
|
27381
|
-
/**
|
|
27629
|
+
/**
|
|
27630
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27631
|
+
*
|
|
27632
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27633
|
+
*/
|
|
27382
27634
|
readonly childElementCount: number;
|
|
27383
27635
|
/**
|
|
27384
|
-
*
|
|
27636
|
+
* The read-only **`children`** property returns a live HTMLCollection which contains all of the child elements of the document upon which it was called.
|
|
27385
27637
|
*
|
|
27386
27638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27387
27639
|
*/
|
|
27388
27640
|
readonly children: HTMLCollection;
|
|
27389
27641
|
/**
|
|
27390
|
-
*
|
|
27642
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27391
27643
|
*
|
|
27392
27644
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27393
27645
|
*/
|
|
27394
27646
|
readonly firstElementChild: Element | null;
|
|
27395
27647
|
/**
|
|
27396
|
-
*
|
|
27648
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27397
27649
|
*
|
|
27398
27650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27399
27651
|
*/
|
|
27400
27652
|
readonly lastElementChild: Element | null;
|
|
27401
27653
|
/**
|
|
27402
|
-
*
|
|
27403
|
-
*
|
|
27404
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27654
|
+
* The **`Document.append()`** method inserts a set of Node objects or strings after the last child of the document. Strings are inserted as equivalent Text nodes.
|
|
27405
27655
|
*
|
|
27406
27656
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27407
27657
|
*/
|
|
27408
27658
|
append(...nodes: (Node | string)[]): void;
|
|
27409
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
27410
|
-
moveBefore(node: Node, child: Node | null): void;
|
|
27411
27659
|
/**
|
|
27412
|
-
*
|
|
27660
|
+
* The **`moveBefore()`** method of the Document interface moves a given Node inside the Document DOM node as a direct child, before a given reference node.
|
|
27413
27661
|
*
|
|
27414
|
-
*
|
|
27662
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27663
|
+
*/
|
|
27664
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27665
|
+
/**
|
|
27666
|
+
* The **`Document.prepend()`** method inserts a set of Node objects or strings before the first child of the document. Strings are inserted as equivalent Text nodes.
|
|
27415
27667
|
*
|
|
27416
27668
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27417
27669
|
*/
|
|
27418
27670
|
prepend(...nodes: (Node | string)[]): void;
|
|
27419
27671
|
/**
|
|
27420
|
-
*
|
|
27672
|
+
* The Document method **`querySelector()`** returns the first Element within the document that matches the specified CSS selector, or group of CSS selectors. If no matches are found, null is returned.
|
|
27421
27673
|
*
|
|
27422
27674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27423
27675
|
*/
|
|
@@ -27428,7 +27680,7 @@ interface ParentNode extends Node {
|
|
|
27428
27680
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27429
27681
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27430
27682
|
/**
|
|
27431
|
-
*
|
|
27683
|
+
* The Document method **`querySelectorAll()`** returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
|
|
27432
27684
|
*
|
|
27433
27685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27434
27686
|
*/
|
|
@@ -27439,9 +27691,7 @@ interface ParentNode extends Node {
|
|
|
27439
27691
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27440
27692
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27441
27693
|
/**
|
|
27442
|
-
*
|
|
27443
|
-
*
|
|
27444
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27694
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27445
27695
|
*
|
|
27446
27696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27447
27697
|
*/
|
|
@@ -28907,9 +29157,17 @@ declare var PopStateEvent: {
|
|
|
28907
29157
|
};
|
|
28908
29158
|
|
|
28909
29159
|
interface PopoverTargetAttributes {
|
|
28910
|
-
/**
|
|
29160
|
+
/**
|
|
29161
|
+
* The **`popoverTargetAction`** property of the HTMLButtonElement interface gets and sets the action to be performed ("hide", "show", or "toggle") on a popover element being controlled by a button.
|
|
29162
|
+
*
|
|
29163
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29164
|
+
*/
|
|
28911
29165
|
popoverTargetAction: string;
|
|
28912
|
-
/**
|
|
29166
|
+
/**
|
|
29167
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29168
|
+
*
|
|
29169
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29170
|
+
*/
|
|
28913
29171
|
popoverTargetElement: Element | null;
|
|
28914
29172
|
}
|
|
28915
29173
|
|
|
@@ -35808,7 +36066,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
35808
36066
|
*
|
|
35809
36067
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
|
|
35810
36068
|
*/
|
|
35811
|
-
setHTMLUnsafe(html: string): void;
|
|
36069
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
35812
36070
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35813
36071
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35814
36072
|
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -44908,6 +45166,7 @@ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
|
44908
45166
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44909
45167
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44910
45168
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45169
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44911
45170
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44912
45171
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44913
45172
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44924,6 +45183,7 @@ type FlowControlType = "hardware" | "none";
|
|
|
44924
45183
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44925
45184
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44926
45185
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45186
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44927
45187
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44928
45188
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44929
45189
|
type GPUAutoLayoutMode = "auto";
|