page-active
Version:
Check and listen to all page visibility changes.
10 lines (9 loc) • 309 B
TypeScript
import { Observable } from 'observavir';
/**
* The observable that keeps track of page activation. This is not exported by the package as we
* can't have multiple instances of it.
*/
export declare class PageActiveObservable extends Observable<boolean> {
constructor();
private updateVisibility;
}