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

Added events #147

Closed
wants to merge 8 commits into from
Closed

Added events #147

wants to merge 8 commits into from

Conversation

FedericoCapaldo
Copy link

  • Added touchmove for mobile devices.

  • Added scroll on body as addition to window, in case the scroll happens on that element and the window is in a fixed unmoved position

  • Added mouse as a new possible property (perhaps to be added in the docs) in order to trigger lazy-loading check when mouse is moved over the browser page.

Hope the following is an understandable example for mouse event - This is especially useful if the user is using a large desktop, and there is a list of image elements that is reordered (e.g. from low price to high price with a button ) . In this case, the image loading is triggered simply by moving your mouse around and without having the user to do an unnatural movement of scrolling (since it might not be needed).

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.904% when pulling f3347a6 on redbadger:master into d4fde73 on jasonslyvia:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.904% when pulling 824c2db on redbadger:master into d4fde73 on jasonslyvia:master.

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

3 participants