Skip to content

Commit f2c2490

Browse files
authored
fix: add scrollend event type (#10336)
* fix: add scrollend event type * Update fair-phones-dance.md
1 parent 452dc4a commit f2c2490

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/fair-phones-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: add `scrollend` event type

packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export interface DOMAttributes<T extends EventTarget> {
179179

180180
// UI Events
181181
'on:scroll'?: UIEventHandler<T> | undefined | null;
182+
'on:scrollend'?: UIEventHandler<T> | undefined | null;
182183
'on:resize'?: UIEventHandler<T> | undefined | null;
183184

184185
// Wheel Events

0 commit comments

Comments
 (0)