We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
closedby
HTMLDialogAttributes
1 parent c5912aa commit 3326bd8Copy full SHA for 3326bd8
.changeset/metal-spoons-scream.md
@@ -0,0 +1,5 @@
1
+---
2
+'svelte': patch
3
4
+
5
+fix: Add `closedby` property to HTMLDialogAttributes type
packages/svelte/elements.d.ts
@@ -957,6 +957,7 @@ export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
957
958
export interface HTMLDialogAttributes extends HTMLAttributes<HTMLDialogElement> {
959
open?: boolean | undefined | null;
960
+ closedby?: 'any' | 'closerequest' | 'none' | undefined | null;
961
}
962
963
export interface HTMLEmbedAttributes extends HTMLAttributes<HTMLEmbedElement> {
0 commit comments