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

unfocused

Fires whenever the learner moves their focus away from the assessment browser window 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 assessment browser window to another application.

Examples

itemsApp.on('unfocused', function () {
    console.log('This code executes when the learner moves the focus away from the assessment browser window.');
});

Related articles

  • The focused event, to detect when the learner has resumed interacting with the assessment browser window.
Was this article helpful?