Skip to content

maplehsu/Page-Visibility

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Page-Visibility

A wrapper for visibilitychange event

Usage

window.visibility.change(callback); // Binds a listener to visibilitychange event
window.visibility.isVisible();
window.visibility.isHidden();

See test.html for a detailed example

About

A wrapper for visibilitychange event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.9%
  • HTML 31.1%