unfocused - Events - Items API

Items API Events

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?

Did you arrive here by accident? If so, learn more about Learnosity.