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

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 %}