@@ -377,7 +377,7 @@ export interface ButtonHTMLAttributes extends HTMLAttributes {
377
377
formtarget ?: string
378
378
name ?: string
379
379
type ?: 'submit' | 'reset' | 'button'
380
- value ?: string | string [ ] | number
380
+ value ?: string | ReadonlyArray < string > | number
381
381
}
382
382
383
383
export interface CanvasHTMLAttributes extends HTMLAttributes {
@@ -395,11 +395,12 @@ export interface ColgroupHTMLAttributes extends HTMLAttributes {
395
395
}
396
396
397
397
export interface DataHTMLAttributes extends HTMLAttributes {
398
- value ?: string | string [ ] | number
398
+ value ?: string | ReadonlyArray < string > | number
399
399
}
400
400
401
401
export interface DetailsHTMLAttributes extends HTMLAttributes {
402
402
open ?: Booleanish
403
+ onToggle ?: Event
403
404
}
404
405
405
406
export interface DelHTMLAttributes extends HTMLAttributes {
@@ -443,13 +444,17 @@ export interface IframeHTMLAttributes extends HTMLAttributes {
443
444
allow ?: string
444
445
allowfullscreen ?: Booleanish
445
446
allowtransparency ?: Booleanish
447
+ /** @deprecated */
446
448
frameborder ?: Numberish
447
449
height ?: Numberish
450
+ /** @deprecated */
448
451
marginheight ?: Numberish
452
+ /** @deprecated */
449
453
marginwidth ?: Numberish
450
454
name ?: string
451
455
referrerpolicy ?: HTMLAttributeReferrerPolicy
452
456
sandbox ?: string
457
+ /** @deprecated */
453
458
scrolling ?: string
454
459
seamless ?: Booleanish
455
460
src ?: string
@@ -462,6 +467,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
462
467
crossorigin ?: 'anonymous' | 'use-credentials' | ''
463
468
decoding ?: 'async' | 'auto' | 'sync'
464
469
height ?: Numberish
470
+ loading ?: 'eager' | 'lazy'
465
471
referrerpolicy ?: HTMLAttributeReferrerPolicy
466
472
sizes ?: string
467
473
src ?: string
@@ -510,6 +516,14 @@ export interface InputHTMLAttributes extends HTMLAttributes {
510
516
checked ?: Booleanish | any [ ] | Set < any > // for IDE v-model multi-checkbox support
511
517
crossorigin ?: string
512
518
disabled ?: Booleanish
519
+ enterKeyHint ?:
520
+ | 'enter'
521
+ | 'done'
522
+ | 'go'
523
+ | 'next'
524
+ | 'previous'
525
+ | 'search'
526
+ | 'send'
513
527
form ?: string
514
528
formaction ?: string
515
529
formenctype ?: string
@@ -553,7 +567,7 @@ export interface LabelHTMLAttributes extends HTMLAttributes {
553
567
}
554
568
555
569
export interface LiHTMLAttributes extends HTMLAttributes {
556
- value ?: string | string [ ] | number
570
+ value ?: string | ReadonlyArray < string > | number
557
571
}
558
572
559
573
export interface LinkHTMLAttributes extends HTMLAttributes {
@@ -567,6 +581,7 @@ export interface LinkHTMLAttributes extends HTMLAttributes {
567
581
rel ?: string
568
582
sizes ?: string
569
583
type ?: string
584
+ charset ?: string
570
585
}
571
586
572
587
export interface MapHTMLAttributes extends HTMLAttributes {
@@ -604,7 +619,7 @@ export interface MeterHTMLAttributes extends HTMLAttributes {
604
619
max ?: Numberish
605
620
min ?: Numberish
606
621
optimum ?: Numberish
607
- value ?: string | string [ ] | number
622
+ value ?: string | ReadonlyArray < string > | number
608
623
}
609
624
610
625
export interface QuoteHTMLAttributes extends HTMLAttributes {
@@ -649,16 +664,17 @@ export interface OutputHTMLAttributes extends HTMLAttributes {
649
664
650
665
export interface ParamHTMLAttributes extends HTMLAttributes {
651
666
name ?: string
652
- value ?: string | string [ ] | number
667
+ value ?: string | ReadonlyArray < string > | number
653
668
}
654
669
655
670
export interface ProgressHTMLAttributes extends HTMLAttributes {
656
671
max ?: Numberish
657
- value ?: string | string [ ] | number
672
+ value ?: string | ReadonlyArray < string > | number
658
673
}
659
674
660
675
export interface ScriptHTMLAttributes extends HTMLAttributes {
661
676
async ?: Booleanish
677
+ /** @deprecated */
662
678
charset ?: string
663
679
crossorigin ?: string
664
680
defer ?: Booleanish
@@ -701,6 +717,7 @@ export interface TableHTMLAttributes extends HTMLAttributes {
701
717
cellpadding ?: Numberish
702
718
cellspacing ?: Numberish
703
719
summary ?: string
720
+ width ?: Numberish
704
721
}
705
722
706
723
export interface TextareaHTMLAttributes extends HTMLAttributes {
@@ -717,7 +734,7 @@ export interface TextareaHTMLAttributes extends HTMLAttributes {
717
734
readonly ?: Booleanish
718
735
required ?: Booleanish
719
736
rows ?: Numberish
720
- value ?: string | string [ ] | number
737
+ value ?: string | ReadonlyArray < string > | number
721
738
wrap ?: string
722
739
}
723
740
@@ -727,6 +744,9 @@ export interface TdHTMLAttributes extends HTMLAttributes {
727
744
headers ?: string
728
745
rowspan ?: Numberish
729
746
scope ?: string
747
+ abbr ?: string
748
+ height ?: Numberish
749
+ width ?: Numberish
730
750
valign ?: 'top' | 'middle' | 'bottom' | 'baseline'
731
751
}
732
752
@@ -736,6 +756,7 @@ export interface ThHTMLAttributes extends HTMLAttributes {
736
756
headers ?: string
737
757
rowspan ?: Numberish
738
758
scope ?: string
759
+ abbr ?: string
739
760
}
740
761
741
762
export interface TimeHTMLAttributes extends HTMLAttributes {
@@ -756,6 +777,7 @@ export interface VideoHTMLAttributes extends MediaHTMLAttributes {
756
777
poster ?: string
757
778
width ?: Numberish
758
779
disablePictureInPicture ?: Booleanish
780
+ disableRemotePlayback ?: Booleanish
759
781
}
760
782
761
783
export interface WebViewHTMLAttributes extends HTMLAttributes {
@@ -804,6 +826,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
804
826
// Other HTML properties supported by SVG elements in browsers
805
827
role ?: string
806
828
tabindex ?: Numberish
829
+ crossOrigin ?: 'anonymous' | 'use-credentials' | ''
807
830
808
831
// SVG Specific attributes
809
832
'accent-height' ?: Numberish
0 commit comments