Tokimon/vanillajs-browser-helpers

Detect document visibility

Opened this issue · 0 comments

Add a visibility change event and a method to detect document visibility.
With fallback to focus/blur if the other event is not supported