This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Find out if the page is visible or not.
version 1.0.1
license BSD3
native-modules True
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.1
Committed At 2016-10-07 20:54:48 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1


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.