@socheatsok78/page-lifecycle
A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle
A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle
Complete feature detection for addEventListener, including its third options parameter and passive events.