Skip to content

Commit bb883b7

Browse files
arslanastraltrueadm
authored andcommitted
fix: add onscrollend event type (#10337)
* feat: add scrollend type * Update .changeset/tame-cycles-kneel.md
1 parent 46ff95d commit bb883b7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/tame-cycles-kneel.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ export interface DOMAttributes<T extends EventTarget> {
351351
'on:scroll'?: UIEventHandler<T> | undefined | null;
352352
onscroll?: UIEventHandler<T> | undefined | null;
353353
onscrollcapture?: UIEventHandler<T> | undefined | null;
354+
'on:scrollend'?: UIEventHandler<T> | undefined | null;
355+
onscrollend?: UIEventHandler<T> | undefined | null;
356+
onscrollendcapture?: UIEventHandler<T> | undefined | null;
354357
'on:resize'?: UIEventHandler<T> | undefined | null;
355358
onresize?: UIEventHandler<T> | undefined | null;
356359
onresizecapture?: UIEventHandler<T> | undefined | null;

0 commit comments

Comments
 (0)