ソースを参照

fix(types): add HTMLDialogElement missing close event (#11811)

Co-authored-by: Evan You <evan@vuejs.org>
Oliver Bucher 1 年間 前
コミット
3634f7a4c1
1 ファイル変更1 行追加0 行削除
  1. 1 0
      packages/runtime-dom/src/jsx.ts

+ 1 - 0
packages/runtime-dom/src/jsx.ts

@@ -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 {