Skip to content

Commit 4f7455c

Browse files
committed
Adding the closedby attribute to dialog element
Spec: https://html.spec.whatwg.org/#attr-dialog-closedby
1 parent ae615ae commit 4f7455c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
957957

958958
export interface HTMLDialogAttributes extends HTMLAttributes<HTMLDialogElement> {
959959
open?: boolean | undefined | null;
960+
closedby?: 'any' | 'closerequest' | 'none' | undefined | null;
960961
}
961962

962963
export interface HTMLEmbedAttributes extends HTMLAttributes<HTMLEmbedElement> {

0 commit comments

Comments
 (0)