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 whenever the learner has the browser window and tab open when the assessment comes into focus using the keyboard or mouse.

You would want to be notified about this event firing, because you want to know when the learner has left the browser window to another application, and returned.


itemsApp.on('focused', function () {
    console.log('This code executes when the learner returns to the browser window.');

Related articles

  • The unfocused event, to detect when the learner is not interacting with the assessment browser window.
Was this article helpful?