whenInViewport
whenInViewport copied to clipboard
Handle elements as they enter viewport with this simple and lightweight javascript library. Useful for content lazy loading and applying timed animations. Has no dependencies and weighs less than 2KB.
Is there a way to add a class when it’s in the viewport (as in the example), but then remove the class when it’s not anymore? Thanks!
I used your plugin on a vue.js application where it was being used multiple times in the same window. E.g imagine a list of results. Each result had an element...
Hi there, I'm working on an infinite scroller using this library, where more content is loaded once you scroll to the bottom. Great library, btw, it works perfectly on both...
[RawGit](https://rawgit.com/) is shutting down. This PR replaces all RawGit links with the recommended alternative - [jsDelivr](https://www.jsdelivr.com/). jsDelivr is a free and fast open source CDN hosting all files from GitHub...
Hello there. I just started toying around with this plugin. Please bare with me as I am just getting into javascript. I notice that when I do canvas orientation change...