UNPKG

visable

Version:

This is a simple module that returns either true or false if a browser tab or window is visible

25 lines (16 loc) 347 B
# 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 ```