UNPKG

ifvisible

Version:

Crossbrowser & lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)

14 lines (13 loc) 247 B
{ "boss": true, "undef": false, "white": false, "eqeqeq": false, "browser": true, "devel": true, "bitwise": false, "quotmark": false, "camelcase": false, "strict": false, "trailing": true }