{% extends 'layouts/vertical.html' %} {% block title %}Idle Timer{% endblock title %} {% block page_content %}
{% set title='Idle Timer' %} {% set subtitle='Miscellaneous' %} {% include 'partials/page-title.html' %}

Idle Timer Plugin

The Idle Timer plugin allows you to monitor user activity on the page. Idle is defined as a lack of mouse movement, scrolling, or keyboard input.

Please stay idle for 5 seconds

You can instantiate the timer either statically or on a specific element. Element-bound timers will only track activity within that element, whereas global timers will monitor activity on the entire page. To set up page-level activity, you can initialize the timer on document, document.documentElement, or document.body. The initialization returns a jQuery object, allowing for method chaining.

{% endblock page_content %} {% block extra_javascript %} {% endblock extra_javascript %}