From c22ba2540f6ef9199f7d436634254bdde0a3b76f Mon Sep 17 00:00:00 2001 From: Bri <34875062+Monkatraz@users.noreply.github.com> Date: Fri, 19 Feb 2021 10:25:42 -0700 Subject: [PATCH] svelte2tsx: Add
ontoggle event I think I did that right... [Event in question on MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/toggle_event) --- packages/svelte2tsx/svelte-jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/svelte2tsx/svelte-jsx.d.ts b/packages/svelte2tsx/svelte-jsx.d.ts index 8e34dc36f..af890c268 100644 --- a/packages/svelte2tsx/svelte-jsx.d.ts +++ b/packages/svelte2tsx/svelte-jsx.d.ts @@ -111,6 +111,9 @@ declare namespace svelte.JSX { onload?: EventHandler; onerror?: EventHandler; // also a Media Event + // Detail Events + ontoggle?: EventHandler; + // Keyboard Events onkeydown?: KeyboardEventHandler; onkeypress?: KeyboardEventHandler;