feat: Add `closedby` to `HTMLDialogAttributes` (dialog element) (#15458)

* Adding the `closedby` attribute to dialog element

Spec: https://html.spec.whatwg.org/#attr-dialog-closedby

* Adding changeset

* Update .changeset/metal-spoons-scream.md

---------

Co-authored-by: Rich Harris <hello@rich-harris.dev>
pull/15466/head
Trevor N. Suarez 6 months ago committed by GitHub
parent c5912aad71
commit 3326bd8ae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: Add `closedby` property to HTMLDialogAttributes type

@ -957,6 +957,7 @@ export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
export interface HTMLDialogAttributes extends HTMLAttributes<HTMLDialogElement> {
open?: boolean | undefined | null;
closedby?: 'any' | 'closerequest' | 'none' | undefined | null;
}
export interface HTMLEmbedAttributes extends HTMLAttributes<HTMLEmbedElement> {

Loading…
Cancel
Save