visable
v2.0.4
Published
This is a simple module that returns either true or false if a browser tab or window is visible
Downloads
79
Readme
Vis(able)
About
This is a simple developer javascript module to assist with telling if the current tab is visible. Returns true or false.
Requirements
This has been tested to work with most modern browsers
Use
Simply include and use like so:
e.g.
vis();
NPM
This package is now available on npm
npm i visable