mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Adds closedby
to dialog interface (#12728)
* Adds `closedby` to dialog interface Standards status https://chromestatus.com/feature/5097714453577728 * Add changeset --------- Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
This commit is contained in:
parent
72f30ddbf3
commit
ee66a45b25
2 changed files with 6 additions and 0 deletions
5
.changeset/neat-pumas-accept.md
Normal file
5
.changeset/neat-pumas-accept.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Adds type support for the `closedby` attribute for `<dialog>` elements
|
1
packages/astro/astro-jsx.d.ts
vendored
1
packages/astro/astro-jsx.d.ts
vendored
|
@ -679,6 +679,7 @@ declare namespace astroHTML.JSX {
|
|||
|
||||
interface DialogHTMLAttributes extends HTMLAttributes {
|
||||
open?: boolean | string | undefined | null;
|
||||
closedby?: 'none' | 'closerequest' | 'any' | undefined | null;
|
||||
}
|
||||
|
||||
interface EmbedHTMLAttributes extends HTMLAttributes {
|
||||
|
|
Loading…
Reference in a new issue