Check if the page is currently visible
var visible = require('visible');
console.log(visible()); // true or false
Install with component(1):
$ component install juliangruber/visible
MIT
Check if the page is currently visible
var visible = require('visible');
console.log(visible()); // true or false
Install with component(1):
$ component install juliangruber/visible
MIT