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 offset prop to Waypoint component #75

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

milocosmopolitan
Copy link
Contributor

Hello @matyunya, thanks for this library. It really help my site performance so much with image lazy loading with compressed images.

However, I've ran into a scenario of using the svelte-image component with some animations to be triggered on certain scollY value. I see you already have this offset prop in svelte-waypoint.

This will help me to load the image that is below the specific offset height, so that when animation is starting in the viewport image is already loaded.

@matyunya
Copy link
Owner

Thanks!

@matyunya matyunya merged commit eafe675 into matyunya:master Sep 25, 2020
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 this pull request may close these issues.

None yet

2 participants