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

JOC is a JayOnCode monorepo of @jayoncode/* packages. Docs sync from source via TypeDoc and sync scripts.