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:
parent
461cd42a06
commit
5f2dd4518e
2 changed files with 7 additions and 0 deletions
5
.changeset/witty-cougars-allow.md
Normal file
5
.changeset/witty-cougars-allow.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Add `popovertargetaction` to the attribute that can be passed to the `button` and `input` element
|
2
packages/astro/astro-jsx.d.ts
vendored
2
packages/astro/astro-jsx.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue