Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.
Release Candidate.
New Feature: ifvisible.legacyMode()
Bug Fixes:
To install:
npm install ifvisible.js@next
yarn add ifvisible.js@next
or download the attachement from this release
This is a beta release of the new TypeScript port. Please give it a try
Adds chaining to event methods also adds typescript definitons just run tsd link
to get definitons
Adds new status check for now
method
Fixes wakeup method
development helpers
updated docs
Releases library on npm, updates docs
Fixes a bug where on old versions of IE it was not registering the events