Skip to content

Visibility FAQ ​

Does page:hidden mean the user closed the app? ​

No. It usually means the document is hidden, such as when switching tabs or minimizing the window.

Example ​

ts
lifecycle.on("page:hidden", () => console.log("hidden"));

Playground ​

Visibility Playground

Module docs ​

Visibility Module

An ecosystem of independent, headless TypeScript libraries engineered for modern web development. Every package includes interactive playgrounds and documentation that evolves alongside the code.