@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/index.d.ts
CHANGED
|
@@ -821,6 +821,7 @@ interface FormDataEventInit extends EventInit {
|
|
|
821
821
|
}
|
|
822
822
|
|
|
823
823
|
interface FullscreenOptions {
|
|
824
|
+
keyboardLock?: FullscreenKeyboardLock;
|
|
824
825
|
navigationUI?: FullscreenNavigationUI;
|
|
825
826
|
}
|
|
826
827
|
|
|
@@ -1003,6 +1004,7 @@ interface GPUPipelineErrorInit {
|
|
|
1003
1004
|
|
|
1004
1005
|
interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
|
|
1005
1006
|
bindGroupLayouts: (GPUBindGroupLayout | null)[];
|
|
1007
|
+
immediateSize?: GPUSize32;
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
1008
1010
|
interface GPUPrimitiveState {
|
|
@@ -1836,6 +1838,10 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
1836
1838
|
rolloffFactor?: number;
|
|
1837
1839
|
}
|
|
1838
1840
|
|
|
1841
|
+
interface ParseHTMLUnsafeOptions {
|
|
1842
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1839
1845
|
interface PayerErrors {
|
|
1840
1846
|
email?: string;
|
|
1841
1847
|
name?: string;
|
|
@@ -2763,6 +2769,10 @@ interface SetHTMLOptions {
|
|
|
2763
2769
|
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2764
2770
|
}
|
|
2765
2771
|
|
|
2772
|
+
interface SetHTMLUnsafeOptions {
|
|
2773
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2766
2776
|
interface ShadowRootInit {
|
|
2767
2777
|
clonable?: boolean;
|
|
2768
2778
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -3333,109 +3343,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3333
3343
|
}
|
|
3334
3344
|
|
|
3335
3345
|
interface ARIAMixin {
|
|
3336
|
-
/**
|
|
3346
|
+
/**
|
|
3347
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3348
|
+
*
|
|
3349
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3350
|
+
*/
|
|
3337
3351
|
ariaActiveDescendantElement: Element | null;
|
|
3338
|
-
/**
|
|
3352
|
+
/**
|
|
3353
|
+
* 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.
|
|
3354
|
+
*
|
|
3355
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3356
|
+
*/
|
|
3339
3357
|
ariaAtomic: string | null;
|
|
3340
|
-
/**
|
|
3358
|
+
/**
|
|
3359
|
+
* 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.
|
|
3360
|
+
*
|
|
3361
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3362
|
+
*/
|
|
3341
3363
|
ariaAutoComplete: string | null;
|
|
3342
|
-
/**
|
|
3364
|
+
/**
|
|
3365
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3366
|
+
*
|
|
3367
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3368
|
+
*/
|
|
3343
3369
|
ariaBrailleLabel: string | null;
|
|
3344
|
-
/**
|
|
3370
|
+
/**
|
|
3371
|
+
* 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.
|
|
3372
|
+
*
|
|
3373
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3374
|
+
*/
|
|
3345
3375
|
ariaBrailleRoleDescription: string | null;
|
|
3346
|
-
/**
|
|
3376
|
+
/**
|
|
3377
|
+
* 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.
|
|
3378
|
+
*
|
|
3379
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3380
|
+
*/
|
|
3347
3381
|
ariaBusy: string | null;
|
|
3348
|
-
/**
|
|
3382
|
+
/**
|
|
3383
|
+
* 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.
|
|
3384
|
+
*
|
|
3385
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3386
|
+
*/
|
|
3349
3387
|
ariaChecked: string | null;
|
|
3350
|
-
/**
|
|
3388
|
+
/**
|
|
3389
|
+
* 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.
|
|
3390
|
+
*
|
|
3391
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3392
|
+
*/
|
|
3351
3393
|
ariaColCount: string | null;
|
|
3352
|
-
/**
|
|
3394
|
+
/**
|
|
3395
|
+
* 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.
|
|
3396
|
+
*
|
|
3397
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3398
|
+
*/
|
|
3353
3399
|
ariaColIndex: string | null;
|
|
3354
|
-
/**
|
|
3400
|
+
/**
|
|
3401
|
+
* 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.
|
|
3402
|
+
*
|
|
3403
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3404
|
+
*/
|
|
3355
3405
|
ariaColIndexText: string | null;
|
|
3356
|
-
/**
|
|
3406
|
+
/**
|
|
3407
|
+
* 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.
|
|
3408
|
+
*
|
|
3409
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3410
|
+
*/
|
|
3357
3411
|
ariaColSpan: string | null;
|
|
3358
|
-
/**
|
|
3412
|
+
/**
|
|
3413
|
+
* 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.
|
|
3414
|
+
*
|
|
3415
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3416
|
+
*/
|
|
3359
3417
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3360
|
-
/**
|
|
3418
|
+
/**
|
|
3419
|
+
* 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.
|
|
3420
|
+
*
|
|
3421
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3422
|
+
*/
|
|
3361
3423
|
ariaCurrent: string | null;
|
|
3362
|
-
/**
|
|
3424
|
+
/**
|
|
3425
|
+
* 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.
|
|
3426
|
+
*
|
|
3427
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3428
|
+
*/
|
|
3363
3429
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3364
|
-
/**
|
|
3430
|
+
/**
|
|
3431
|
+
* 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.
|
|
3432
|
+
*
|
|
3433
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3434
|
+
*/
|
|
3365
3435
|
ariaDescription: string | null;
|
|
3366
|
-
/**
|
|
3436
|
+
/**
|
|
3437
|
+
* 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.
|
|
3438
|
+
*
|
|
3439
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3440
|
+
*/
|
|
3367
3441
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3368
|
-
/**
|
|
3442
|
+
/**
|
|
3443
|
+
* 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.
|
|
3444
|
+
*
|
|
3445
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3446
|
+
*/
|
|
3369
3447
|
ariaDisabled: string | null;
|
|
3370
|
-
/**
|
|
3448
|
+
/**
|
|
3449
|
+
* 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.
|
|
3450
|
+
*
|
|
3451
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3452
|
+
*/
|
|
3371
3453
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3372
|
-
/**
|
|
3454
|
+
/**
|
|
3455
|
+
* 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.
|
|
3456
|
+
*
|
|
3457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3458
|
+
*/
|
|
3373
3459
|
ariaExpanded: string | null;
|
|
3374
|
-
/**
|
|
3460
|
+
/**
|
|
3461
|
+
* 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.
|
|
3462
|
+
*
|
|
3463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3464
|
+
*/
|
|
3375
3465
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3376
|
-
/**
|
|
3466
|
+
/**
|
|
3467
|
+
* 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.
|
|
3468
|
+
*
|
|
3469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3470
|
+
*/
|
|
3377
3471
|
ariaHasPopup: string | null;
|
|
3378
|
-
/**
|
|
3472
|
+
/**
|
|
3473
|
+
* 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.
|
|
3474
|
+
*
|
|
3475
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3476
|
+
*/
|
|
3379
3477
|
ariaHidden: string | null;
|
|
3380
|
-
/**
|
|
3478
|
+
/**
|
|
3479
|
+
* 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.
|
|
3480
|
+
*
|
|
3481
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3482
|
+
*/
|
|
3381
3483
|
ariaInvalid: string | null;
|
|
3382
|
-
/**
|
|
3484
|
+
/**
|
|
3485
|
+
* 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.
|
|
3486
|
+
*
|
|
3487
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3488
|
+
*/
|
|
3383
3489
|
ariaKeyShortcuts: string | null;
|
|
3384
|
-
/**
|
|
3490
|
+
/**
|
|
3491
|
+
* 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.
|
|
3492
|
+
*
|
|
3493
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3494
|
+
*/
|
|
3385
3495
|
ariaLabel: string | null;
|
|
3386
|
-
/**
|
|
3496
|
+
/**
|
|
3497
|
+
* 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.
|
|
3498
|
+
*
|
|
3499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3500
|
+
*/
|
|
3387
3501
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3388
|
-
/**
|
|
3502
|
+
/**
|
|
3503
|
+
* 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.
|
|
3504
|
+
*
|
|
3505
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3506
|
+
*/
|
|
3389
3507
|
ariaLevel: string | null;
|
|
3390
|
-
/**
|
|
3508
|
+
/**
|
|
3509
|
+
* 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.
|
|
3510
|
+
*
|
|
3511
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3512
|
+
*/
|
|
3391
3513
|
ariaLive: string | null;
|
|
3392
|
-
/**
|
|
3514
|
+
/**
|
|
3515
|
+
* 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.
|
|
3516
|
+
*
|
|
3517
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3518
|
+
*/
|
|
3393
3519
|
ariaModal: string | null;
|
|
3394
|
-
/**
|
|
3520
|
+
/**
|
|
3521
|
+
* 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.
|
|
3522
|
+
*
|
|
3523
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3524
|
+
*/
|
|
3395
3525
|
ariaMultiLine: string | null;
|
|
3396
|
-
/**
|
|
3526
|
+
/**
|
|
3527
|
+
* 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.
|
|
3528
|
+
*
|
|
3529
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3530
|
+
*/
|
|
3397
3531
|
ariaMultiSelectable: string | null;
|
|
3398
|
-
/**
|
|
3532
|
+
/**
|
|
3533
|
+
* 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.
|
|
3534
|
+
*
|
|
3535
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3536
|
+
*/
|
|
3399
3537
|
ariaOrientation: string | null;
|
|
3400
|
-
/**
|
|
3538
|
+
/**
|
|
3539
|
+
* 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,
|
|
3540
|
+
*
|
|
3541
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3542
|
+
*/
|
|
3401
3543
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3402
|
-
/**
|
|
3544
|
+
/**
|
|
3545
|
+
* 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.
|
|
3546
|
+
*
|
|
3547
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3548
|
+
*/
|
|
3403
3549
|
ariaPlaceholder: string | null;
|
|
3404
|
-
/**
|
|
3550
|
+
/**
|
|
3551
|
+
* 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.
|
|
3552
|
+
*
|
|
3553
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3554
|
+
*/
|
|
3405
3555
|
ariaPosInSet: string | null;
|
|
3406
|
-
/**
|
|
3556
|
+
/**
|
|
3557
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3558
|
+
*
|
|
3559
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3560
|
+
*/
|
|
3407
3561
|
ariaPressed: string | null;
|
|
3408
|
-
/**
|
|
3562
|
+
/**
|
|
3563
|
+
* 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.
|
|
3564
|
+
*
|
|
3565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3566
|
+
*/
|
|
3409
3567
|
ariaReadOnly: string | null;
|
|
3410
|
-
/**
|
|
3568
|
+
/**
|
|
3569
|
+
* 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.
|
|
3570
|
+
*
|
|
3571
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3572
|
+
*/
|
|
3411
3573
|
ariaRelevant: string | null;
|
|
3412
|
-
/**
|
|
3574
|
+
/**
|
|
3575
|
+
* 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.
|
|
3576
|
+
*
|
|
3577
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3578
|
+
*/
|
|
3413
3579
|
ariaRequired: string | null;
|
|
3414
|
-
/**
|
|
3580
|
+
/**
|
|
3581
|
+
* 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.
|
|
3582
|
+
*
|
|
3583
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3584
|
+
*/
|
|
3415
3585
|
ariaRoleDescription: string | null;
|
|
3416
|
-
/**
|
|
3586
|
+
/**
|
|
3587
|
+
* 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.
|
|
3588
|
+
*
|
|
3589
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3590
|
+
*/
|
|
3417
3591
|
ariaRowCount: string | null;
|
|
3418
|
-
/**
|
|
3592
|
+
/**
|
|
3593
|
+
* 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.
|
|
3594
|
+
*
|
|
3595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3596
|
+
*/
|
|
3419
3597
|
ariaRowIndex: string | null;
|
|
3420
|
-
/**
|
|
3598
|
+
/**
|
|
3599
|
+
* 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.
|
|
3600
|
+
*
|
|
3601
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3602
|
+
*/
|
|
3421
3603
|
ariaRowIndexText: string | null;
|
|
3422
|
-
/**
|
|
3604
|
+
/**
|
|
3605
|
+
* 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.
|
|
3606
|
+
*
|
|
3607
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3608
|
+
*/
|
|
3423
3609
|
ariaRowSpan: string | null;
|
|
3424
|
-
/**
|
|
3610
|
+
/**
|
|
3611
|
+
* 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.
|
|
3612
|
+
*
|
|
3613
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3614
|
+
*/
|
|
3425
3615
|
ariaSelected: string | null;
|
|
3426
|
-
/**
|
|
3616
|
+
/**
|
|
3617
|
+
* 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.
|
|
3618
|
+
*
|
|
3619
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3620
|
+
*/
|
|
3427
3621
|
ariaSetSize: string | null;
|
|
3428
|
-
/**
|
|
3622
|
+
/**
|
|
3623
|
+
* 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.
|
|
3624
|
+
*
|
|
3625
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3626
|
+
*/
|
|
3429
3627
|
ariaSort: string | null;
|
|
3430
|
-
/**
|
|
3628
|
+
/**
|
|
3629
|
+
* 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.
|
|
3630
|
+
*
|
|
3631
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3632
|
+
*/
|
|
3431
3633
|
ariaValueMax: string | null;
|
|
3432
|
-
/**
|
|
3634
|
+
/**
|
|
3635
|
+
* 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.
|
|
3636
|
+
*
|
|
3637
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3638
|
+
*/
|
|
3433
3639
|
ariaValueMin: string | null;
|
|
3434
|
-
/**
|
|
3640
|
+
/**
|
|
3641
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3642
|
+
*
|
|
3643
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3644
|
+
*/
|
|
3435
3645
|
ariaValueNow: string | null;
|
|
3436
|
-
/**
|
|
3646
|
+
/**
|
|
3647
|
+
* 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.
|
|
3648
|
+
*
|
|
3649
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3650
|
+
*/
|
|
3437
3651
|
ariaValueText: string | null;
|
|
3438
|
-
/**
|
|
3652
|
+
/**
|
|
3653
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3654
|
+
*
|
|
3655
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3656
|
+
*/
|
|
3439
3657
|
role: string | null;
|
|
3440
3658
|
}
|
|
3441
3659
|
|
|
@@ -5206,21 +5424,53 @@ declare var BlobEvent: {
|
|
|
5206
5424
|
};
|
|
5207
5425
|
|
|
5208
5426
|
interface Body {
|
|
5209
|
-
/**
|
|
5427
|
+
/**
|
|
5428
|
+
* 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.
|
|
5429
|
+
*
|
|
5430
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5431
|
+
*/
|
|
5210
5432
|
readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;
|
|
5211
|
-
/**
|
|
5433
|
+
/**
|
|
5434
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5435
|
+
*
|
|
5436
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5437
|
+
*/
|
|
5212
5438
|
readonly bodyUsed: boolean;
|
|
5213
|
-
/**
|
|
5439
|
+
/**
|
|
5440
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5441
|
+
*
|
|
5442
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5443
|
+
*/
|
|
5214
5444
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5215
|
-
/**
|
|
5445
|
+
/**
|
|
5446
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5447
|
+
*
|
|
5448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5449
|
+
*/
|
|
5216
5450
|
blob(): Promise<Blob>;
|
|
5217
|
-
/**
|
|
5451
|
+
/**
|
|
5452
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5453
|
+
*
|
|
5454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5455
|
+
*/
|
|
5218
5456
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
5219
|
-
/**
|
|
5457
|
+
/**
|
|
5458
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5459
|
+
*
|
|
5460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5461
|
+
*/
|
|
5220
5462
|
formData(): Promise<FormData>;
|
|
5221
|
-
/**
|
|
5463
|
+
/**
|
|
5464
|
+
* 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.
|
|
5465
|
+
*
|
|
5466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5467
|
+
*/
|
|
5222
5468
|
json(): Promise<any>;
|
|
5223
|
-
/**
|
|
5469
|
+
/**
|
|
5470
|
+
* 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.
|
|
5471
|
+
*
|
|
5472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5473
|
+
*/
|
|
5224
5474
|
text(): Promise<string>;
|
|
5225
5475
|
}
|
|
5226
5476
|
|
|
@@ -12732,7 +12982,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12732
12982
|
/** Available only in secure contexts. */
|
|
12733
12983
|
interface DigitalCredential extends Credential {
|
|
12734
12984
|
readonly data: any;
|
|
12735
|
-
readonly protocol:
|
|
12985
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12736
12986
|
toJSON(): any;
|
|
12737
12987
|
}
|
|
12738
12988
|
|
|
@@ -13417,7 +13667,7 @@ declare var Document: {
|
|
|
13417
13667
|
*
|
|
13418
13668
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
|
|
13419
13669
|
*/
|
|
13420
|
-
parseHTMLUnsafe(html: string): Document;
|
|
13670
|
+
parseHTMLUnsafe(html: string, options?: ParseHTMLUnsafeOptions): Document;
|
|
13421
13671
|
};
|
|
13422
13672
|
|
|
13423
13673
|
/**
|
|
@@ -13441,34 +13691,56 @@ declare var DocumentFragment: {
|
|
|
13441
13691
|
|
|
13442
13692
|
interface DocumentOrShadowRoot {
|
|
13443
13693
|
/**
|
|
13444
|
-
*
|
|
13445
|
-
*
|
|
13446
|
-
* 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.
|
|
13447
|
-
*
|
|
13448
|
-
* 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.
|
|
13694
|
+
* 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.
|
|
13449
13695
|
*
|
|
13450
13696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13451
13697
|
*/
|
|
13452
13698
|
readonly activeElement: Element | null;
|
|
13453
|
-
/**
|
|
13699
|
+
/**
|
|
13700
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13701
|
+
*
|
|
13702
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13703
|
+
*/
|
|
13454
13704
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13455
|
-
/**
|
|
13705
|
+
/**
|
|
13706
|
+
* 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.
|
|
13707
|
+
*
|
|
13708
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13709
|
+
*/
|
|
13456
13710
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13457
13711
|
/**
|
|
13458
|
-
*
|
|
13712
|
+
* 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.
|
|
13459
13713
|
*
|
|
13460
13714
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13461
13715
|
*/
|
|
13462
13716
|
readonly fullscreenElement: Element | null;
|
|
13463
|
-
/**
|
|
13717
|
+
/**
|
|
13718
|
+
* 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.
|
|
13719
|
+
*
|
|
13720
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13721
|
+
*/
|
|
13464
13722
|
readonly pictureInPictureElement: Element | null;
|
|
13465
|
-
/**
|
|
13723
|
+
/**
|
|
13724
|
+
* 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.
|
|
13725
|
+
*
|
|
13726
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13727
|
+
*/
|
|
13466
13728
|
readonly pointerLockElement: Element | null;
|
|
13467
|
-
/**
|
|
13729
|
+
/**
|
|
13730
|
+
* 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.
|
|
13731
|
+
*
|
|
13732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13733
|
+
*/
|
|
13468
13734
|
readonly styleSheets: StyleSheetList;
|
|
13735
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13469
13736
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13737
|
+
/** 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. */
|
|
13470
13738
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13471
|
-
/**
|
|
13739
|
+
/**
|
|
13740
|
+
* 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.
|
|
13741
|
+
*
|
|
13742
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13743
|
+
*/
|
|
13472
13744
|
getAnimations(): Animation[];
|
|
13473
13745
|
}
|
|
13474
13746
|
|
|
@@ -14165,7 +14437,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14165
14437
|
*
|
|
14166
14438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
|
|
14167
14439
|
*/
|
|
14168
|
-
setHTMLUnsafe(html: string): void;
|
|
14440
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
14169
14441
|
/**
|
|
14170
14442
|
* 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).
|
|
14171
14443
|
*
|
|
@@ -17319,12 +17591,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17319
17591
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17320
17592
|
*/
|
|
17321
17593
|
download: string;
|
|
17322
|
-
/**
|
|
17323
|
-
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
17324
|
-
*
|
|
17325
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
17326
|
-
*/
|
|
17327
|
-
hreflang: string;
|
|
17328
17594
|
/** @deprecated */
|
|
17329
17595
|
name: string;
|
|
17330
17596
|
/**
|
|
@@ -17356,24 +17622,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17356
17622
|
rev: string;
|
|
17357
17623
|
/** @deprecated */
|
|
17358
17624
|
shape: string;
|
|
17359
|
-
/**
|
|
17360
|
-
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
17361
|
-
*
|
|
17362
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
17363
|
-
*/
|
|
17364
|
-
target: string;
|
|
17365
17625
|
/**
|
|
17366
17626
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17367
17627
|
*
|
|
17368
17628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17369
17629
|
*/
|
|
17370
17630
|
text: string;
|
|
17371
|
-
/**
|
|
17372
|
-
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
17373
|
-
*
|
|
17374
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
17375
|
-
*/
|
|
17376
|
-
type: string;
|
|
17377
17631
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17378
17632
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17379
17633
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17442,12 +17696,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl
|
|
|
17442
17696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17443
17697
|
*/
|
|
17444
17698
|
shape: string;
|
|
17445
|
-
/**
|
|
17446
|
-
* The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource.
|
|
17447
|
-
*
|
|
17448
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
|
|
17449
|
-
*/
|
|
17450
|
-
target: string;
|
|
17451
17699
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17452
17700
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17453
17701
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17720,6 +17968,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17720
17968
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17721
17969
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17722
17970
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17971
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17723
17972
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17724
17973
|
/**
|
|
17725
17974
|
* 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.
|
|
@@ -18643,14 +18892,18 @@ declare var HTMLHtmlElement: {
|
|
|
18643
18892
|
|
|
18644
18893
|
interface HTMLHyperlinkElementUtils {
|
|
18645
18894
|
/**
|
|
18646
|
-
*
|
|
18647
|
-
*
|
|
18648
|
-
* Can be set, to change the URL.
|
|
18895
|
+
* 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.
|
|
18649
18896
|
*
|
|
18650
18897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18651
18898
|
*/
|
|
18652
18899
|
href: string;
|
|
18653
18900
|
toString(): string;
|
|
18901
|
+
/**
|
|
18902
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18903
|
+
*
|
|
18904
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18905
|
+
*/
|
|
18906
|
+
target: string;
|
|
18654
18907
|
}
|
|
18655
18908
|
|
|
18656
18909
|
/**
|
|
@@ -22196,79 +22449,73 @@ declare var History: {
|
|
|
22196
22449
|
|
|
22197
22450
|
interface HyperlinkElementUtils {
|
|
22198
22451
|
/**
|
|
22199
|
-
*
|
|
22200
|
-
*
|
|
22201
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
22452
|
+
* 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, "".
|
|
22202
22453
|
*
|
|
22203
22454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22204
22455
|
*/
|
|
22205
22456
|
hash: string;
|
|
22206
22457
|
/**
|
|
22207
|
-
*
|
|
22208
|
-
*
|
|
22209
|
-
* Can be set, to change the URL's host and port.
|
|
22458
|
+
* 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, "".
|
|
22210
22459
|
*
|
|
22211
22460
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22212
22461
|
*/
|
|
22213
22462
|
host: string;
|
|
22214
22463
|
/**
|
|
22215
|
-
*
|
|
22216
|
-
*
|
|
22217
|
-
* Can be set, to change the URL's host.
|
|
22464
|
+
* 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.
|
|
22218
22465
|
*
|
|
22219
22466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22220
22467
|
*/
|
|
22221
22468
|
hostname: string;
|
|
22222
22469
|
/**
|
|
22223
|
-
*
|
|
22470
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22471
|
+
*
|
|
22472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22473
|
+
*/
|
|
22474
|
+
hreflang: string;
|
|
22475
|
+
/**
|
|
22476
|
+
* 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.
|
|
22224
22477
|
*
|
|
22225
22478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22226
22479
|
*/
|
|
22227
22480
|
readonly origin: string;
|
|
22228
22481
|
/**
|
|
22229
|
-
*
|
|
22230
|
-
*
|
|
22231
|
-
* Can be set, to change the URL's password.
|
|
22482
|
+
* 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, "".
|
|
22232
22483
|
*
|
|
22233
22484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22234
22485
|
*/
|
|
22235
22486
|
password: string;
|
|
22236
22487
|
/**
|
|
22237
|
-
*
|
|
22238
|
-
*
|
|
22239
|
-
* Can be set, to change the URL's path.
|
|
22488
|
+
* 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).
|
|
22240
22489
|
*
|
|
22241
22490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22242
22491
|
*/
|
|
22243
22492
|
pathname: string;
|
|
22244
22493
|
/**
|
|
22245
|
-
*
|
|
22246
|
-
*
|
|
22247
|
-
* Can be set, to change the URL's port.
|
|
22494
|
+
* 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, "".
|
|
22248
22495
|
*
|
|
22249
22496
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22250
22497
|
*/
|
|
22251
22498
|
port: string;
|
|
22252
22499
|
/**
|
|
22253
|
-
*
|
|
22254
|
-
*
|
|
22255
|
-
* Can be set, to change the URL's scheme.
|
|
22500
|
+
* The **`protocol`** property of the HTMLAnchorElement interface is a string containing the protocol or scheme of the <area> element's href, including the final ":".
|
|
22256
22501
|
*
|
|
22257
22502
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22258
22503
|
*/
|
|
22259
22504
|
protocol: string;
|
|
22260
22505
|
/**
|
|
22261
|
-
*
|
|
22262
|
-
*
|
|
22263
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
22506
|
+
* 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, "".
|
|
22264
22507
|
*
|
|
22265
22508
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22266
22509
|
*/
|
|
22267
22510
|
search: string;
|
|
22268
22511
|
/**
|
|
22269
|
-
*
|
|
22512
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22270
22513
|
*
|
|
22271
|
-
*
|
|
22514
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22515
|
+
*/
|
|
22516
|
+
type: string;
|
|
22517
|
+
/**
|
|
22518
|
+
* 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, "".
|
|
22272
22519
|
*
|
|
22273
22520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22274
22521
|
*/
|
|
@@ -26703,7 +26950,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26703
26950
|
|
|
26704
26951
|
interface NonElementParentNode {
|
|
26705
26952
|
/**
|
|
26706
|
-
*
|
|
26953
|
+
* 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.
|
|
26707
26954
|
*
|
|
26708
26955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26709
26956
|
*/
|
|
@@ -27094,6 +27341,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
27094
27341
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
27095
27342
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
27096
27343
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27344
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
27097
27345
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
27098
27346
|
/**
|
|
27099
27347
|
* 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.
|
|
@@ -27381,46 +27629,50 @@ declare var PannerNode: {
|
|
|
27381
27629
|
};
|
|
27382
27630
|
|
|
27383
27631
|
interface ParentNode extends Node {
|
|
27384
|
-
/**
|
|
27632
|
+
/**
|
|
27633
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27634
|
+
*
|
|
27635
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27636
|
+
*/
|
|
27385
27637
|
readonly childElementCount: number;
|
|
27386
27638
|
/**
|
|
27387
|
-
*
|
|
27639
|
+
* The read-only **`children`** property returns a live HTMLCollection which contains all of the child elements of the document upon which it was called.
|
|
27388
27640
|
*
|
|
27389
27641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27390
27642
|
*/
|
|
27391
27643
|
readonly children: HTMLCollection;
|
|
27392
27644
|
/**
|
|
27393
|
-
*
|
|
27645
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27394
27646
|
*
|
|
27395
27647
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27396
27648
|
*/
|
|
27397
27649
|
readonly firstElementChild: Element | null;
|
|
27398
27650
|
/**
|
|
27399
|
-
*
|
|
27651
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27400
27652
|
*
|
|
27401
27653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27402
27654
|
*/
|
|
27403
27655
|
readonly lastElementChild: Element | null;
|
|
27404
27656
|
/**
|
|
27405
|
-
*
|
|
27406
|
-
*
|
|
27407
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27657
|
+
* 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.
|
|
27408
27658
|
*
|
|
27409
27659
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27410
27660
|
*/
|
|
27411
27661
|
append(...nodes: (Node | string)[]): void;
|
|
27412
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
27413
|
-
moveBefore(node: Node, child: Node | null): void;
|
|
27414
27662
|
/**
|
|
27415
|
-
*
|
|
27663
|
+
* 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.
|
|
27416
27664
|
*
|
|
27417
|
-
*
|
|
27665
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27666
|
+
*/
|
|
27667
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27668
|
+
/**
|
|
27669
|
+
* 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.
|
|
27418
27670
|
*
|
|
27419
27671
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27420
27672
|
*/
|
|
27421
27673
|
prepend(...nodes: (Node | string)[]): void;
|
|
27422
27674
|
/**
|
|
27423
|
-
*
|
|
27675
|
+
* 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.
|
|
27424
27676
|
*
|
|
27425
27677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27426
27678
|
*/
|
|
@@ -27431,7 +27683,7 @@ interface ParentNode extends Node {
|
|
|
27431
27683
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27432
27684
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27433
27685
|
/**
|
|
27434
|
-
*
|
|
27686
|
+
* 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.
|
|
27435
27687
|
*
|
|
27436
27688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27437
27689
|
*/
|
|
@@ -27442,9 +27694,7 @@ interface ParentNode extends Node {
|
|
|
27442
27694
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27443
27695
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27444
27696
|
/**
|
|
27445
|
-
*
|
|
27446
|
-
*
|
|
27447
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27697
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27448
27698
|
*
|
|
27449
27699
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27450
27700
|
*/
|
|
@@ -28910,9 +29160,17 @@ declare var PopStateEvent: {
|
|
|
28910
29160
|
};
|
|
28911
29161
|
|
|
28912
29162
|
interface PopoverTargetAttributes {
|
|
28913
|
-
/**
|
|
29163
|
+
/**
|
|
29164
|
+
* 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.
|
|
29165
|
+
*
|
|
29166
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29167
|
+
*/
|
|
28914
29168
|
popoverTargetAction: string;
|
|
28915
|
-
/**
|
|
29169
|
+
/**
|
|
29170
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29171
|
+
*
|
|
29172
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29173
|
+
*/
|
|
28916
29174
|
popoverTargetElement: Element | null;
|
|
28917
29175
|
}
|
|
28918
29176
|
|
|
@@ -35811,7 +36069,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
35811
36069
|
*
|
|
35812
36070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
|
|
35813
36071
|
*/
|
|
35814
|
-
setHTMLUnsafe(html: string): void;
|
|
36072
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
35815
36073
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35816
36074
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35817
36075
|
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -44911,6 +45169,7 @@ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
|
44911
45169
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44912
45170
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44913
45171
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45172
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44914
45173
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44915
45174
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44916
45175
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44927,6 +45186,7 @@ type FlowControlType = "hardware" | "none";
|
|
|
44927
45186
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44928
45187
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44929
45188
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45189
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44930
45190
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44931
45191
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44932
45192
|
type GPUAutoLayoutMode = "auto";
|