From 04f0dc11ab9736cd6fc54b4aac7303436ebbb742 Mon Sep 17 00:00:00 2001 From: Arslan <81504779+arslanastral@users.noreply.github.com> Date: Tue, 30 Jan 2024 22:02:40 +0800 Subject: [PATCH 1/2] fix: add scrollend event type --- packages/svelte/elements.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 25342b07d117..9b2e58563ed7 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 From 1375e9e9796b9753af343d8392782ba0ab28cfd7 Mon Sep 17 00:00:00 2001 From: Arslan <81504779+arslanastral@users.noreply.github.com> Date: Tue, 30 Jan 2024 22:08:10 +0800 Subject: [PATCH 2/2] Update fair-phones-dance.md --- .changeset/fair-phones-dance.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fair-phones-dance.md diff --git a/.changeset/fair-phones-dance.md b/.changeset/fair-phones-dance.md new file mode 100644 index 000000000000..f52dbbf4d9a7 --- /dev/null +++ b/.changeset/fair-phones-dance.md @@ -0,0 +1,5 @@ +--- +'svelte': patch +--- + +fix: add `scrollend` event type