/page-visibility

is your window visible?

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Page Visibility

This library helps you figure out if your app is visible at the moment. If the user is switched into a different tab, maybe you want to stop doing animations or pause a video.

This package is backed by the JavaScript PageVisibility API.