We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's more convenient to have an on:intersectleave & on:intersectenter events, especially in use cases to track if element is in view.
on:intersectleave
on:intersectenter
Also it's helpful sometimes to know the scrolling direction.
Inspiration might be pooled from https://github.com/maciekgrzybek/svelte-inview/blob/master/src/inview.ts
y
intersectenter
intersectleave
The text was updated successfully, but these errors were encountered:
vnphanquang
No branches or pull requests
Context
It's more convenient to have an
on:intersectleave
&on:intersectenter
events, especially in use cases to track if element is in view.Also it's helpful sometimes to know the scrolling direction.
Inspiration might be pooled from https://github.com/maciekgrzybek/svelte-inview/blob/master/src/inview.ts
Todos
y
)intersectenter
&intersectleave
eventsThe text was updated successfully, but these errors were encountered: