Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scrollend to <svelte:window> event type #10258

Closed
janosh opened this issue Jan 22, 2024 · 0 comments · Fixed by #10337
Closed

Add scrollend to <svelte:window> event type #10258

janosh opened this issue Jan 22, 2024 · 0 comments · Fixed by #10337

Comments

@janosh
Copy link
Contributor

janosh commented Jan 22, 2024

Describe the problem

scrollend has reached 71% browser support.

Describe the proposed solution

While this works as expected:

<svelte:window on:scrollend={() => console.log(`scrolling has finished`)} />

I'm getting a type error

Object literal may only specify known properties, and '"on:scrollend"' does not exist in type 'HTMLProps<"svelte:window", HTMLAttributes>'.ts(2353)

Importance

nice to have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant