Skip to content

Commit db581d5

Browse files
committed
Add popover typing
1 parent bcf8302 commit db581d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

attributes.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ type customDefaultAttributeValues = {
4747
"stylesheet": string|URL|null,
4848
"shadow-root": boolean|'open'|'closed',
4949
"datex-pointer": boolean,
50-
"datex-update": "onchange"|"onsubmit"
50+
"datex-update": "onchange"|"onsubmit",
51+
52+
// native non string attrs
53+
"popover": "auto" | "manual" | "hint" | boolean,
5154
}
5255

5356
export type validHTMLElementAttrs<El extends HTMLElement> = {

0 commit comments

Comments
 (0)