Skip to content

Focus Resume

Resume attention-sensitive UI when the window regains focus.

Implementation

ts
lifecycle.on("window:focus", () => refreshStaleData());
lifecycle.on("window:blur", () => cancelTooltips());

Playground

Focus Playground

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