When in viewport

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.

{{ include('../snippets/author.html') }}

Is is often useful to transform elements in some way as users scroll your webpage. Sometimes you will do as little as apply a class to html element which just entered viewport. Other times you will load all module resources just as it is displayed to user. Lazy loading can help with your performance budget.