]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): add HTMLDialogElement missing close event (#11811)
authorOliver Bucher <7040739+Level8Broccoli@users.noreply.github.com>
Thu, 5 Sep 2024 12:52:37 +0000 (12:52 +0000)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2024 12:52:37 +0000 (20:52 +0800)
Co-authored-by: Evan You <evan@vuejs.org>
packages/runtime-dom/src/jsx.ts

index b3f0d0976982e1635265a51b62964e50116502c5..5292441cde9c3eb85bd972173559aba3a975b36a 100644 (file)
@@ -417,6 +417,7 @@ export interface DelHTMLAttributes extends HTMLAttributes {
 
 export interface DialogHTMLAttributes extends HTMLAttributes {
   open?: Booleanish
+  onClose?: (payload: Event) => void
 }
 
 export interface EmbedHTMLAttributes extends HTMLAttributes {