Skip to content

Commit 3634f7a

Browse files
fix(types): add HTMLDialogElement missing close event (#11811)
Co-authored-by: Evan You <evan@vuejs.org>
1 parent df56cc5 commit 3634f7a

File tree

1 file changed

+1
-0
lines changed
  • packages/runtime-dom/src

1 file changed

+1
-0
lines changed

packages/runtime-dom/src/jsx.ts

+1
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ export interface DelHTMLAttributes extends HTMLAttributes {
417417

418418
export interface DialogHTMLAttributes extends HTMLAttributes {
419419
open?: Booleanish
420+
onClose?: (payload: Event) => void
420421
}
421422

422423
export interface EmbedHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)