UNPKG

@rosskevin/ifvisible

Version:

Cross-browser, lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)

15 lines (14 loc) 215 B
{ "version": "2.0.0", "tasks": [ { "type": "npm", "script": "build:ide", "problemMatcher": ["$tsc"], "group": { "kind": "build", "isDefault": true } } ] }