Js函数封装 Packages

visibilityevents

This library defines an object with two functions to detect visibility (total or partial) of an element in the viewport, and two functions that simulate two nonexistent events to detect when any element enters or leaves the visible area of the page.

3.0.0 • Published 6 years ago