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)

10 lines (9 loc) 192 B
{ "search.exclude": { "**/.yarn": true, "**/.pnp.*": true }, "typescript.enablePromptUseWorkspaceTsdk": true, "eslint.nodePath": ".yarn/sdks", "eslint.useFlatConfig": true }