https://github.com/idimetrix/use-idle-detect
`useIdle` is a React hook that detects user inactivity using a customizable timeout. It supports event tracking (e.g., mouse, keyboard) and the Idle Detection API if available, with optional callbacks for idle and active states.
https://github.com/idimetrix/use-idle-detect
idle idledetect idledetection idledetector
Last synced: 6 months ago
JSON representation
`useIdle` is a React hook that detects user inactivity using a customizable timeout. It supports event tracking (e.g., mouse, keyboard) and the Idle Detection API if available, with optional callbacks for idle and active states.
- Host: GitHub
- URL: https://github.com/idimetrix/use-idle-detect
- Owner: idimetrix
- License: other
- Created: 2024-09-26T00:22:21.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T00:22:47.000Z (8 months ago)
- Last Synced: 2024-11-30T15:06:55.395Z (6 months ago)
- Topics: idle, idledetect, idledetection, idledetector
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/use-idle-detect
- Size: 65.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0