Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The userState
read-only property of the IdleDetector
interface returns a string indicating whether the user has interacted with the device since the call to start()
.