@types/web 0.0.351 → 0.0.353
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 +439 -146
- package/package.json +1 -1
- package/ts5.5/index.d.ts +439 -146
- package/ts5.6/index.d.ts +439 -146
- package/ts5.9/index.d.ts +439 -146
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 {
|
|
@@ -3330,109 +3332,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3330
3332
|
}
|
|
3331
3333
|
|
|
3332
3334
|
interface ARIAMixin {
|
|
3333
|
-
/**
|
|
3335
|
+
/**
|
|
3336
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3337
|
+
*
|
|
3338
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3339
|
+
*/
|
|
3334
3340
|
ariaActiveDescendantElement: Element | null;
|
|
3335
|
-
/**
|
|
3341
|
+
/**
|
|
3342
|
+
* 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.
|
|
3343
|
+
*
|
|
3344
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3345
|
+
*/
|
|
3336
3346
|
ariaAtomic: string | null;
|
|
3337
|
-
/**
|
|
3347
|
+
/**
|
|
3348
|
+
* 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.
|
|
3349
|
+
*
|
|
3350
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3351
|
+
*/
|
|
3338
3352
|
ariaAutoComplete: string | null;
|
|
3339
|
-
/**
|
|
3353
|
+
/**
|
|
3354
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3355
|
+
*
|
|
3356
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3357
|
+
*/
|
|
3340
3358
|
ariaBrailleLabel: string | null;
|
|
3341
|
-
/**
|
|
3359
|
+
/**
|
|
3360
|
+
* 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.
|
|
3361
|
+
*
|
|
3362
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3363
|
+
*/
|
|
3342
3364
|
ariaBrailleRoleDescription: string | null;
|
|
3343
|
-
/**
|
|
3365
|
+
/**
|
|
3366
|
+
* 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.
|
|
3367
|
+
*
|
|
3368
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3369
|
+
*/
|
|
3344
3370
|
ariaBusy: string | null;
|
|
3345
|
-
/**
|
|
3371
|
+
/**
|
|
3372
|
+
* 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.
|
|
3373
|
+
*
|
|
3374
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3375
|
+
*/
|
|
3346
3376
|
ariaChecked: string | null;
|
|
3347
|
-
/**
|
|
3377
|
+
/**
|
|
3378
|
+
* 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.
|
|
3379
|
+
*
|
|
3380
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3381
|
+
*/
|
|
3348
3382
|
ariaColCount: string | null;
|
|
3349
|
-
/**
|
|
3383
|
+
/**
|
|
3384
|
+
* 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.
|
|
3385
|
+
*
|
|
3386
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3387
|
+
*/
|
|
3350
3388
|
ariaColIndex: string | null;
|
|
3351
|
-
/**
|
|
3389
|
+
/**
|
|
3390
|
+
* 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.
|
|
3391
|
+
*
|
|
3392
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3393
|
+
*/
|
|
3352
3394
|
ariaColIndexText: string | null;
|
|
3353
|
-
/**
|
|
3395
|
+
/**
|
|
3396
|
+
* 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.
|
|
3397
|
+
*
|
|
3398
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3399
|
+
*/
|
|
3354
3400
|
ariaColSpan: string | null;
|
|
3355
|
-
/**
|
|
3401
|
+
/**
|
|
3402
|
+
* 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.
|
|
3403
|
+
*
|
|
3404
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3405
|
+
*/
|
|
3356
3406
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3357
|
-
/**
|
|
3407
|
+
/**
|
|
3408
|
+
* 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.
|
|
3409
|
+
*
|
|
3410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3411
|
+
*/
|
|
3358
3412
|
ariaCurrent: string | null;
|
|
3359
|
-
/**
|
|
3413
|
+
/**
|
|
3414
|
+
* 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.
|
|
3415
|
+
*
|
|
3416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3417
|
+
*/
|
|
3360
3418
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3361
|
-
/**
|
|
3419
|
+
/**
|
|
3420
|
+
* 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.
|
|
3421
|
+
*
|
|
3422
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3423
|
+
*/
|
|
3362
3424
|
ariaDescription: string | null;
|
|
3363
|
-
/**
|
|
3425
|
+
/**
|
|
3426
|
+
* 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.
|
|
3427
|
+
*
|
|
3428
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3429
|
+
*/
|
|
3364
3430
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3365
|
-
/**
|
|
3431
|
+
/**
|
|
3432
|
+
* 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.
|
|
3433
|
+
*
|
|
3434
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3435
|
+
*/
|
|
3366
3436
|
ariaDisabled: string | null;
|
|
3367
|
-
/**
|
|
3437
|
+
/**
|
|
3438
|
+
* 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.
|
|
3439
|
+
*
|
|
3440
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3441
|
+
*/
|
|
3368
3442
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3369
|
-
/**
|
|
3443
|
+
/**
|
|
3444
|
+
* 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.
|
|
3445
|
+
*
|
|
3446
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3447
|
+
*/
|
|
3370
3448
|
ariaExpanded: string | null;
|
|
3371
|
-
/**
|
|
3449
|
+
/**
|
|
3450
|
+
* 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.
|
|
3451
|
+
*
|
|
3452
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3453
|
+
*/
|
|
3372
3454
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3373
|
-
/**
|
|
3455
|
+
/**
|
|
3456
|
+
* 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.
|
|
3457
|
+
*
|
|
3458
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3459
|
+
*/
|
|
3374
3460
|
ariaHasPopup: string | null;
|
|
3375
|
-
/**
|
|
3461
|
+
/**
|
|
3462
|
+
* 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.
|
|
3463
|
+
*
|
|
3464
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3465
|
+
*/
|
|
3376
3466
|
ariaHidden: string | null;
|
|
3377
|
-
/**
|
|
3467
|
+
/**
|
|
3468
|
+
* 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.
|
|
3469
|
+
*
|
|
3470
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3471
|
+
*/
|
|
3378
3472
|
ariaInvalid: string | null;
|
|
3379
|
-
/**
|
|
3473
|
+
/**
|
|
3474
|
+
* 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.
|
|
3475
|
+
*
|
|
3476
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3477
|
+
*/
|
|
3380
3478
|
ariaKeyShortcuts: string | null;
|
|
3381
|
-
/**
|
|
3479
|
+
/**
|
|
3480
|
+
* 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.
|
|
3481
|
+
*
|
|
3482
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3483
|
+
*/
|
|
3382
3484
|
ariaLabel: string | null;
|
|
3383
|
-
/**
|
|
3485
|
+
/**
|
|
3486
|
+
* 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.
|
|
3487
|
+
*
|
|
3488
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3489
|
+
*/
|
|
3384
3490
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3385
|
-
/**
|
|
3491
|
+
/**
|
|
3492
|
+
* 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.
|
|
3493
|
+
*
|
|
3494
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3495
|
+
*/
|
|
3386
3496
|
ariaLevel: string | null;
|
|
3387
|
-
/**
|
|
3497
|
+
/**
|
|
3498
|
+
* 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.
|
|
3499
|
+
*
|
|
3500
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3501
|
+
*/
|
|
3388
3502
|
ariaLive: string | null;
|
|
3389
|
-
/**
|
|
3503
|
+
/**
|
|
3504
|
+
* 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.
|
|
3505
|
+
*
|
|
3506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3507
|
+
*/
|
|
3390
3508
|
ariaModal: string | null;
|
|
3391
|
-
/**
|
|
3509
|
+
/**
|
|
3510
|
+
* 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.
|
|
3511
|
+
*
|
|
3512
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3513
|
+
*/
|
|
3392
3514
|
ariaMultiLine: string | null;
|
|
3393
|
-
/**
|
|
3515
|
+
/**
|
|
3516
|
+
* 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.
|
|
3517
|
+
*
|
|
3518
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3519
|
+
*/
|
|
3394
3520
|
ariaMultiSelectable: string | null;
|
|
3395
|
-
/**
|
|
3521
|
+
/**
|
|
3522
|
+
* 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.
|
|
3523
|
+
*
|
|
3524
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3525
|
+
*/
|
|
3396
3526
|
ariaOrientation: string | null;
|
|
3397
|
-
/**
|
|
3527
|
+
/**
|
|
3528
|
+
* 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,
|
|
3529
|
+
*
|
|
3530
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3531
|
+
*/
|
|
3398
3532
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3399
|
-
/**
|
|
3533
|
+
/**
|
|
3534
|
+
* 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.
|
|
3535
|
+
*
|
|
3536
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3537
|
+
*/
|
|
3400
3538
|
ariaPlaceholder: string | null;
|
|
3401
|
-
/**
|
|
3539
|
+
/**
|
|
3540
|
+
* 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.
|
|
3541
|
+
*
|
|
3542
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3543
|
+
*/
|
|
3402
3544
|
ariaPosInSet: string | null;
|
|
3403
|
-
/**
|
|
3545
|
+
/**
|
|
3546
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3547
|
+
*
|
|
3548
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3549
|
+
*/
|
|
3404
3550
|
ariaPressed: string | null;
|
|
3405
|
-
/**
|
|
3551
|
+
/**
|
|
3552
|
+
* 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.
|
|
3553
|
+
*
|
|
3554
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3555
|
+
*/
|
|
3406
3556
|
ariaReadOnly: string | null;
|
|
3407
|
-
/**
|
|
3557
|
+
/**
|
|
3558
|
+
* 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.
|
|
3559
|
+
*
|
|
3560
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3561
|
+
*/
|
|
3408
3562
|
ariaRelevant: string | null;
|
|
3409
|
-
/**
|
|
3563
|
+
/**
|
|
3564
|
+
* 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.
|
|
3565
|
+
*
|
|
3566
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3567
|
+
*/
|
|
3410
3568
|
ariaRequired: string | null;
|
|
3411
|
-
/**
|
|
3569
|
+
/**
|
|
3570
|
+
* 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.
|
|
3571
|
+
*
|
|
3572
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3573
|
+
*/
|
|
3412
3574
|
ariaRoleDescription: string | null;
|
|
3413
|
-
/**
|
|
3575
|
+
/**
|
|
3576
|
+
* 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.
|
|
3577
|
+
*
|
|
3578
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3579
|
+
*/
|
|
3414
3580
|
ariaRowCount: string | null;
|
|
3415
|
-
/**
|
|
3581
|
+
/**
|
|
3582
|
+
* 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.
|
|
3583
|
+
*
|
|
3584
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3585
|
+
*/
|
|
3416
3586
|
ariaRowIndex: string | null;
|
|
3417
|
-
/**
|
|
3587
|
+
/**
|
|
3588
|
+
* 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.
|
|
3589
|
+
*
|
|
3590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3591
|
+
*/
|
|
3418
3592
|
ariaRowIndexText: string | null;
|
|
3419
|
-
/**
|
|
3593
|
+
/**
|
|
3594
|
+
* 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.
|
|
3595
|
+
*
|
|
3596
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3597
|
+
*/
|
|
3420
3598
|
ariaRowSpan: string | null;
|
|
3421
|
-
/**
|
|
3599
|
+
/**
|
|
3600
|
+
* 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.
|
|
3601
|
+
*
|
|
3602
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3603
|
+
*/
|
|
3422
3604
|
ariaSelected: string | null;
|
|
3423
|
-
/**
|
|
3605
|
+
/**
|
|
3606
|
+
* 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.
|
|
3607
|
+
*
|
|
3608
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3609
|
+
*/
|
|
3424
3610
|
ariaSetSize: string | null;
|
|
3425
|
-
/**
|
|
3611
|
+
/**
|
|
3612
|
+
* 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.
|
|
3613
|
+
*
|
|
3614
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3615
|
+
*/
|
|
3426
3616
|
ariaSort: string | null;
|
|
3427
|
-
/**
|
|
3617
|
+
/**
|
|
3618
|
+
* 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.
|
|
3619
|
+
*
|
|
3620
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3621
|
+
*/
|
|
3428
3622
|
ariaValueMax: string | null;
|
|
3429
|
-
/**
|
|
3623
|
+
/**
|
|
3624
|
+
* 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.
|
|
3625
|
+
*
|
|
3626
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3627
|
+
*/
|
|
3430
3628
|
ariaValueMin: string | null;
|
|
3431
|
-
/**
|
|
3629
|
+
/**
|
|
3630
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3631
|
+
*
|
|
3632
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3633
|
+
*/
|
|
3432
3634
|
ariaValueNow: string | null;
|
|
3433
|
-
/**
|
|
3635
|
+
/**
|
|
3636
|
+
* 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.
|
|
3637
|
+
*
|
|
3638
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3639
|
+
*/
|
|
3434
3640
|
ariaValueText: string | null;
|
|
3435
|
-
/**
|
|
3641
|
+
/**
|
|
3642
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3643
|
+
*
|
|
3644
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3645
|
+
*/
|
|
3436
3646
|
role: string | null;
|
|
3437
3647
|
}
|
|
3438
3648
|
|
|
@@ -5203,21 +5413,53 @@ declare var BlobEvent: {
|
|
|
5203
5413
|
};
|
|
5204
5414
|
|
|
5205
5415
|
interface Body {
|
|
5206
|
-
/**
|
|
5416
|
+
/**
|
|
5417
|
+
* 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.
|
|
5418
|
+
*
|
|
5419
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5420
|
+
*/
|
|
5207
5421
|
readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;
|
|
5208
|
-
/**
|
|
5422
|
+
/**
|
|
5423
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5424
|
+
*
|
|
5425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5426
|
+
*/
|
|
5209
5427
|
readonly bodyUsed: boolean;
|
|
5210
|
-
/**
|
|
5428
|
+
/**
|
|
5429
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5430
|
+
*
|
|
5431
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5432
|
+
*/
|
|
5211
5433
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5212
|
-
/**
|
|
5434
|
+
/**
|
|
5435
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5436
|
+
*
|
|
5437
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5438
|
+
*/
|
|
5213
5439
|
blob(): Promise<Blob>;
|
|
5214
|
-
/**
|
|
5440
|
+
/**
|
|
5441
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5442
|
+
*
|
|
5443
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5444
|
+
*/
|
|
5215
5445
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
5216
|
-
/**
|
|
5446
|
+
/**
|
|
5447
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5448
|
+
*
|
|
5449
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5450
|
+
*/
|
|
5217
5451
|
formData(): Promise<FormData>;
|
|
5218
|
-
/**
|
|
5452
|
+
/**
|
|
5453
|
+
* 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.
|
|
5454
|
+
*
|
|
5455
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5456
|
+
*/
|
|
5219
5457
|
json(): Promise<any>;
|
|
5220
|
-
/**
|
|
5458
|
+
/**
|
|
5459
|
+
* 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.
|
|
5460
|
+
*
|
|
5461
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5462
|
+
*/
|
|
5221
5463
|
text(): Promise<string>;
|
|
5222
5464
|
}
|
|
5223
5465
|
|
|
@@ -12729,7 +12971,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12729
12971
|
/** Available only in secure contexts. */
|
|
12730
12972
|
interface DigitalCredential extends Credential {
|
|
12731
12973
|
readonly data: any;
|
|
12732
|
-
readonly protocol:
|
|
12974
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12733
12975
|
toJSON(): any;
|
|
12734
12976
|
}
|
|
12735
12977
|
|
|
@@ -13438,34 +13680,56 @@ declare var DocumentFragment: {
|
|
|
13438
13680
|
|
|
13439
13681
|
interface DocumentOrShadowRoot {
|
|
13440
13682
|
/**
|
|
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.
|
|
13683
|
+
* 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
13684
|
*
|
|
13447
13685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13448
13686
|
*/
|
|
13449
13687
|
readonly activeElement: Element | null;
|
|
13450
|
-
/**
|
|
13688
|
+
/**
|
|
13689
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13690
|
+
*
|
|
13691
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13692
|
+
*/
|
|
13451
13693
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13452
|
-
/**
|
|
13694
|
+
/**
|
|
13695
|
+
* 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.
|
|
13696
|
+
*
|
|
13697
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13698
|
+
*/
|
|
13453
13699
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13454
13700
|
/**
|
|
13455
|
-
*
|
|
13701
|
+
* 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
13702
|
*
|
|
13457
13703
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13458
13704
|
*/
|
|
13459
13705
|
readonly fullscreenElement: Element | null;
|
|
13460
|
-
/**
|
|
13706
|
+
/**
|
|
13707
|
+
* 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.
|
|
13708
|
+
*
|
|
13709
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13710
|
+
*/
|
|
13461
13711
|
readonly pictureInPictureElement: Element | null;
|
|
13462
|
-
/**
|
|
13712
|
+
/**
|
|
13713
|
+
* 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.
|
|
13714
|
+
*
|
|
13715
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13716
|
+
*/
|
|
13463
13717
|
readonly pointerLockElement: Element | null;
|
|
13464
|
-
/**
|
|
13718
|
+
/**
|
|
13719
|
+
* 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.
|
|
13720
|
+
*
|
|
13721
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13722
|
+
*/
|
|
13465
13723
|
readonly styleSheets: StyleSheetList;
|
|
13724
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13466
13725
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13726
|
+
/** 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
13727
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13468
|
-
/**
|
|
13728
|
+
/**
|
|
13729
|
+
* 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.
|
|
13730
|
+
*
|
|
13731
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13732
|
+
*/
|
|
13469
13733
|
getAnimations(): Animation[];
|
|
13470
13734
|
}
|
|
13471
13735
|
|
|
@@ -17316,12 +17580,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17316
17580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17317
17581
|
*/
|
|
17318
17582
|
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
17583
|
/** @deprecated */
|
|
17326
17584
|
name: string;
|
|
17327
17585
|
/**
|
|
@@ -17353,24 +17611,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17353
17611
|
rev: string;
|
|
17354
17612
|
/** @deprecated */
|
|
17355
17613
|
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
17614
|
/**
|
|
17363
17615
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17364
17616
|
*
|
|
17365
17617
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17366
17618
|
*/
|
|
17367
17619
|
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
17620
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17375
17621
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17376
17622
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17439,12 +17685,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl
|
|
|
17439
17685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17440
17686
|
*/
|
|
17441
17687
|
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
17688
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17449
17689
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17450
17690
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17717,6 +17957,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17717
17957
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17718
17958
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17719
17959
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17960
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17720
17961
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17721
17962
|
/**
|
|
17722
17963
|
* 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 +18881,18 @@ declare var HTMLHtmlElement: {
|
|
|
18640
18881
|
|
|
18641
18882
|
interface HTMLHyperlinkElementUtils {
|
|
18642
18883
|
/**
|
|
18643
|
-
*
|
|
18644
|
-
*
|
|
18645
|
-
* Can be set, to change the URL.
|
|
18884
|
+
* 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
18885
|
*
|
|
18647
18886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18648
18887
|
*/
|
|
18649
18888
|
href: string;
|
|
18650
18889
|
toString(): string;
|
|
18890
|
+
/**
|
|
18891
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18892
|
+
*
|
|
18893
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18894
|
+
*/
|
|
18895
|
+
target: string;
|
|
18651
18896
|
}
|
|
18652
18897
|
|
|
18653
18898
|
/**
|
|
@@ -22193,79 +22438,73 @@ declare var History: {
|
|
|
22193
22438
|
|
|
22194
22439
|
interface HyperlinkElementUtils {
|
|
22195
22440
|
/**
|
|
22196
|
-
*
|
|
22197
|
-
*
|
|
22198
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
22441
|
+
* 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
22442
|
*
|
|
22200
22443
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22201
22444
|
*/
|
|
22202
22445
|
hash: string;
|
|
22203
22446
|
/**
|
|
22204
|
-
*
|
|
22205
|
-
*
|
|
22206
|
-
* Can be set, to change the URL's host and port.
|
|
22447
|
+
* 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
22448
|
*
|
|
22208
22449
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22209
22450
|
*/
|
|
22210
22451
|
host: string;
|
|
22211
22452
|
/**
|
|
22212
|
-
*
|
|
22213
|
-
*
|
|
22214
|
-
* Can be set, to change the URL's host.
|
|
22453
|
+
* 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
22454
|
*
|
|
22216
22455
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22217
22456
|
*/
|
|
22218
22457
|
hostname: string;
|
|
22219
22458
|
/**
|
|
22220
|
-
*
|
|
22459
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22460
|
+
*
|
|
22461
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22462
|
+
*/
|
|
22463
|
+
hreflang: string;
|
|
22464
|
+
/**
|
|
22465
|
+
* 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
22466
|
*
|
|
22222
22467
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22223
22468
|
*/
|
|
22224
22469
|
readonly origin: string;
|
|
22225
22470
|
/**
|
|
22226
|
-
*
|
|
22227
|
-
*
|
|
22228
|
-
* Can be set, to change the URL's password.
|
|
22471
|
+
* 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
22472
|
*
|
|
22230
22473
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22231
22474
|
*/
|
|
22232
22475
|
password: string;
|
|
22233
22476
|
/**
|
|
22234
|
-
*
|
|
22235
|
-
*
|
|
22236
|
-
* Can be set, to change the URL's path.
|
|
22477
|
+
* 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
22478
|
*
|
|
22238
22479
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22239
22480
|
*/
|
|
22240
22481
|
pathname: string;
|
|
22241
22482
|
/**
|
|
22242
|
-
*
|
|
22243
|
-
*
|
|
22244
|
-
* Can be set, to change the URL's port.
|
|
22483
|
+
* 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
22484
|
*
|
|
22246
22485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22247
22486
|
*/
|
|
22248
22487
|
port: string;
|
|
22249
22488
|
/**
|
|
22250
|
-
*
|
|
22251
|
-
*
|
|
22252
|
-
* Can be set, to change the URL's scheme.
|
|
22489
|
+
* 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
22490
|
*
|
|
22254
22491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22255
22492
|
*/
|
|
22256
22493
|
protocol: string;
|
|
22257
22494
|
/**
|
|
22258
|
-
*
|
|
22259
|
-
*
|
|
22260
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
22495
|
+
* 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
22496
|
*
|
|
22262
22497
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22263
22498
|
*/
|
|
22264
22499
|
search: string;
|
|
22265
22500
|
/**
|
|
22266
|
-
*
|
|
22501
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22267
22502
|
*
|
|
22268
|
-
*
|
|
22503
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22504
|
+
*/
|
|
22505
|
+
type: string;
|
|
22506
|
+
/**
|
|
22507
|
+
* 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
22508
|
*
|
|
22270
22509
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22271
22510
|
*/
|
|
@@ -26700,7 +26939,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26700
26939
|
|
|
26701
26940
|
interface NonElementParentNode {
|
|
26702
26941
|
/**
|
|
26703
|
-
*
|
|
26942
|
+
* 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
26943
|
*
|
|
26705
26944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26706
26945
|
*/
|
|
@@ -27091,6 +27330,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
27091
27330
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
27092
27331
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
27093
27332
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27333
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
27094
27334
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
27095
27335
|
/**
|
|
27096
27336
|
* 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 +27618,50 @@ declare var PannerNode: {
|
|
|
27378
27618
|
};
|
|
27379
27619
|
|
|
27380
27620
|
interface ParentNode extends Node {
|
|
27381
|
-
/**
|
|
27621
|
+
/**
|
|
27622
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27623
|
+
*
|
|
27624
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27625
|
+
*/
|
|
27382
27626
|
readonly childElementCount: number;
|
|
27383
27627
|
/**
|
|
27384
|
-
*
|
|
27628
|
+
* 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
27629
|
*
|
|
27386
27630
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27387
27631
|
*/
|
|
27388
27632
|
readonly children: HTMLCollection;
|
|
27389
27633
|
/**
|
|
27390
|
-
*
|
|
27634
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27391
27635
|
*
|
|
27392
27636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27393
27637
|
*/
|
|
27394
27638
|
readonly firstElementChild: Element | null;
|
|
27395
27639
|
/**
|
|
27396
|
-
*
|
|
27640
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27397
27641
|
*
|
|
27398
27642
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27399
27643
|
*/
|
|
27400
27644
|
readonly lastElementChild: Element | null;
|
|
27401
27645
|
/**
|
|
27402
|
-
*
|
|
27403
|
-
*
|
|
27404
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27646
|
+
* 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
27647
|
*
|
|
27406
27648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27407
27649
|
*/
|
|
27408
27650
|
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
27651
|
/**
|
|
27412
|
-
*
|
|
27652
|
+
* 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
27653
|
*
|
|
27414
|
-
*
|
|
27654
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27655
|
+
*/
|
|
27656
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27657
|
+
/**
|
|
27658
|
+
* 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
27659
|
*
|
|
27416
27660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27417
27661
|
*/
|
|
27418
27662
|
prepend(...nodes: (Node | string)[]): void;
|
|
27419
27663
|
/**
|
|
27420
|
-
*
|
|
27664
|
+
* 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
27665
|
*
|
|
27422
27666
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27423
27667
|
*/
|
|
@@ -27428,7 +27672,7 @@ interface ParentNode extends Node {
|
|
|
27428
27672
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27429
27673
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27430
27674
|
/**
|
|
27431
|
-
*
|
|
27675
|
+
* 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
27676
|
*
|
|
27433
27677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27434
27678
|
*/
|
|
@@ -27439,9 +27683,7 @@ interface ParentNode extends Node {
|
|
|
27439
27683
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27440
27684
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27441
27685
|
/**
|
|
27442
|
-
*
|
|
27443
|
-
*
|
|
27444
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27686
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27445
27687
|
*
|
|
27446
27688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27447
27689
|
*/
|
|
@@ -28907,9 +29149,17 @@ declare var PopStateEvent: {
|
|
|
28907
29149
|
};
|
|
28908
29150
|
|
|
28909
29151
|
interface PopoverTargetAttributes {
|
|
28910
|
-
/**
|
|
29152
|
+
/**
|
|
29153
|
+
* 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.
|
|
29154
|
+
*
|
|
29155
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29156
|
+
*/
|
|
28911
29157
|
popoverTargetAction: string;
|
|
28912
|
-
/**
|
|
29158
|
+
/**
|
|
29159
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29160
|
+
*
|
|
29161
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29162
|
+
*/
|
|
28913
29163
|
popoverTargetElement: Element | null;
|
|
28914
29164
|
}
|
|
28915
29165
|
|
|
@@ -43057,6 +43307,47 @@ declare namespace CSS {
|
|
|
43057
43307
|
function vw(value: number): CSSUnitValue;
|
|
43058
43308
|
}
|
|
43059
43309
|
|
|
43310
|
+
declare namespace GPUBufferUsage {
|
|
43311
|
+
const MAP_READ: 0x0001;
|
|
43312
|
+
const MAP_WRITE: 0x0002;
|
|
43313
|
+
const COPY_SRC: 0x0004;
|
|
43314
|
+
const COPY_DST: 0x0008;
|
|
43315
|
+
const INDEX: 0x0010;
|
|
43316
|
+
const VERTEX: 0x0020;
|
|
43317
|
+
const UNIFORM: 0x0040;
|
|
43318
|
+
const STORAGE: 0x0080;
|
|
43319
|
+
const INDIRECT: 0x0100;
|
|
43320
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43321
|
+
}
|
|
43322
|
+
|
|
43323
|
+
declare namespace GPUColorWrite {
|
|
43324
|
+
const RED: 0x1;
|
|
43325
|
+
const GREEN: 0x2;
|
|
43326
|
+
const BLUE: 0x4;
|
|
43327
|
+
const ALPHA: 0x8;
|
|
43328
|
+
const ALL: 0xF;
|
|
43329
|
+
}
|
|
43330
|
+
|
|
43331
|
+
declare namespace GPUMapMode {
|
|
43332
|
+
const READ: 0x0001;
|
|
43333
|
+
const WRITE: 0x0002;
|
|
43334
|
+
}
|
|
43335
|
+
|
|
43336
|
+
declare namespace GPUShaderStage {
|
|
43337
|
+
const VERTEX: 0x1;
|
|
43338
|
+
const FRAGMENT: 0x2;
|
|
43339
|
+
const COMPUTE: 0x4;
|
|
43340
|
+
}
|
|
43341
|
+
|
|
43342
|
+
declare namespace GPUTextureUsage {
|
|
43343
|
+
const COPY_SRC: 0x01;
|
|
43344
|
+
const COPY_DST: 0x02;
|
|
43345
|
+
const TEXTURE_BINDING: 0x04;
|
|
43346
|
+
const STORAGE_BINDING: 0x08;
|
|
43347
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43348
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43349
|
+
}
|
|
43350
|
+
|
|
43060
43351
|
declare namespace WebAssembly {
|
|
43061
43352
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43062
43353
|
interface CompileError extends Error {
|
|
@@ -44867,6 +45158,7 @@ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
|
44867
45158
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44868
45159
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44869
45160
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45161
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44870
45162
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44871
45163
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44872
45164
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44883,6 +45175,7 @@ type FlowControlType = "hardware" | "none";
|
|
|
44883
45175
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44884
45176
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44885
45177
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45178
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44886
45179
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44887
45180
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44888
45181
|
type GPUAutoLayoutMode = "auto";
|