This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Assess API


Fires when an assessment has been paused by the learner (when the timer for an assessment is paused). Specifically, this can happen when certain modal dialog windows are shown. For example, the pause dialog, the section change and the save and submit dialogs.

You would want to know that the assessment has paused, because you might want to report that back to your application, or because you are keeping track of time, for example.


itemsApp.on('test:pause', function () {
    console.log('This code executes when the assessment has been paused.');


The timer will not pause when the learner switches to another browser tab, or another application.

Related articles

  • The test:resume event, the event that occurs when the assessment is resumed.
  • The focused event, to detect when the learner has resumed interacting with the assessment browser window.
  • The unfocused event, to detect when the learner is not interacting with the assessment browser window.
Was this article helpful?