inactivity-countdown-timer
Version:
A plain JS (Typescript) module that will countdown and timeout when users are inactive/idle.
14 lines (13 loc) • 330 B
HTML
<html lang="en">
<head>
<meta http-equiv="x-ua-compatible" content="IE=Edge"/>
<meta charset="UTF-8">
<title>Demo</title>
<script src="demo.js"></script>
</head>
<body>
<h1>Inactivity Demo</h1>
<p>You will be auto logged out in <strong><span id="timeRemaining"></span></strong></p>
</body>
</html>