You're reading the Rask v1.0.0 guides.View source
All guides

IIdleDetector

Detect user idle / screen lock.

  • Wraps: Idle Detection API
  • MDN: IdleDetector
  • Home: Rask.Wasm.Browser (WASM only)
  • Shape: subscription (pushes to a callback)
  • Availability: Web/Server ⬜ · PWA/WASM ✅

Needs an activation-gated permission and a live document — WASM-only.

See also