Idle Detection APIwindow_and_dedicated
The IdleDetector() constructor creates a new IdleDetector
object which provides events indicating when the user is no longer interacting
with their device or the screen has locked.
Syntax
new IdleDetector()
Parameters
None.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
