forked from zuk/jquery.inview
-
Notifications
You must be signed in to change notification settings - Fork 486
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? #78
Comments
With offset to preloading the image when it's getting close to entering the viewport. To do this, you can now add a data-offset attribute to your target element. For example:
also support visible area using third parameter on on, one event for example:
updated jquery.inview:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Has any1 been able to add an offset so isInView triggers slightly before or after element leaves viewport?
The text was updated successfully, but these errors were encountered: