From 8ff2824ad8d4665252217c12f021254106fa8b00 Mon Sep 17 00:00:00 2001 From: Oliver Bucher <7040739+Level8Broccoli@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:22:12 +0000 Subject: [PATCH] types(jsx): HTMLDialogElement add close event --- packages/runtime-dom/src/jsx.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index 4b67f16a97e..6a76906c94d 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -416,6 +416,7 @@ export interface DelHTMLAttributes extends HTMLAttributes { export interface DialogHTMLAttributes extends HTMLAttributes { open?: Booleanish + onClose?: (payload: Event) => void } export interface EmbedHTMLAttributes extends HTMLAttributes {