0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix: add missing attribute popovertargetaction (#11034)

* fix: add missing attribute popovertargetaction

* add: changeset
This commit is contained in:
Argana Phangquestian 2024-05-14 15:38:17 +07:00 committed by GitHub
parent 461cd42a06
commit 5f2dd4518e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Add `popovertargetaction` to the attribute that can be passed to the `button` and `input` element

View file

@ -649,6 +649,7 @@ declare namespace astroHTML.JSX {
type?: 'submit' | 'reset' | 'button' | undefined | null;
value?: string | string[] | number | undefined | null;
popovertarget?: string | undefined | null;
popovertargetaction?: "hide" | "show" | "toggle" | undefined | null;
}
interface CanvasHTMLAttributes extends HTMLAttributes {
@ -815,6 +816,7 @@ declare namespace astroHTML.JSX {
value?: string | string[] | number | undefined | null;
width?: number | string | undefined | null;
popovertarget?: string | undefined | null;
popovertargetaction?: "hide" | "show" | "toggle" | undefined | null;
}
interface KeygenHTMLAttributes extends HTMLAttributes {