Commit f73aa14 1 parent 91cfa2c commit f73aa14 Copy full SHA for f73aa14
File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -899,6 +899,11 @@ export namespace JSXBase {
899
899
name ?: string ;
900
900
type ?: string ;
901
901
value ?: string | string [ ] | number ;
902
+
903
+ // popover
904
+ popoverTargetAction ?: string ;
905
+ popoverTargetElement ?: Element | null ;
906
+ popoverTarget ?: string ;
902
907
}
903
908
904
909
export interface CanvasHTMLAttributes < T > extends HTMLAttributes < T > {
@@ -1074,6 +1079,11 @@ export namespace JSXBase {
1074
1079
webkitdirectory ?: boolean ;
1075
1080
webkitEntries ?: any ;
1076
1081
width ?: number | string ;
1082
+
1083
+ // popover
1084
+ popoverTargetAction ?: string ;
1085
+ popoverTargetElement ?: Element | null ;
1086
+ popoverTarget ?: string ;
1077
1087
}
1078
1088
1079
1089
export interface KeygenHTMLAttributes < T > extends HTMLAttributes < T > {
@@ -1365,6 +1375,11 @@ export namespace JSXBase {
1365
1375
tabIndex ?: number ;
1366
1376
tabindex ?: number | string ;
1367
1377
title ?: string ;
1378
+ // These types don't allow you to use popover as a boolean attribute
1379
+ // so you can't write HTML like `<div popover>` and get the default value.
1380
+ // Developer must explicitly specify one of the valid popover values or it will fallback
1381
+ // to `manual` (following the HTML spec).
1382
+ popover ?: string | null ;
1368
1383
1369
1384
// Unknown
1370
1385
inputMode ?: string ;
You can’t perform that action at this time.
0 commit comments