diff --git a/.changeset/fair-phones-dance.md b/.changeset/fair-phones-dance.md new file mode 100644 index 0000000000..f52dbbf4d9 --- /dev/null +++ b/.changeset/fair-phones-dance.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 25342b07d1..9b2e58563e 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -179,6 +179,7 @@ export interface DOMAttributes { // UI Events 'on:scroll'?: UIEventHandler | undefined | null; + 'on:scrollend'?: UIEventHandler | undefined | null; 'on:resize'?: UIEventHandler | undefined | null; // Wheel Events