diff --git a/.changeset/tame-cycles-kneel.md b/.changeset/tame-cycles-kneel.md new file mode 100644 index 0000000000..1b6bcf7772 --- /dev/null +++ b/.changeset/tame-cycles-kneel.md @@ -0,0 +1,5 @@ +--- +"svelte": patch +--- + +fix: add `scrollend` event type diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 1945ec973c..7e440ae132 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -351,6 +351,9 @@ export interface DOMAttributes { 'on:scroll'?: UIEventHandler | undefined | null; onscroll?: UIEventHandler | undefined | null; onscrollcapture?: UIEventHandler | undefined | null; + 'on:scrollend'?: UIEventHandler | undefined | null; + onscrollend?: UIEventHandler | undefined | null; + onscrollendcapture?: UIEventHandler | undefined | null; 'on:resize'?: UIEventHandler | undefined | null; onresize?: UIEventHandler | undefined | null; onresizecapture?: UIEventHandler | undefined | null;