viewport-visible
A light-weight module that allows you to pass in elements and return whether or not they are visible within the immediate viewport.
A light-weight module that allows you to pass in elements and return whether or not they are visible within the immediate viewport.