item.unload - Events - Assess API

Assess API Events


Fires when the active Item is no longer active and the learner can no longer interact with it.

You would want to be notified about this event firing so that you can gracefully complete all actions for the current Item and save your own data, for example.


itemsApp.on('item:unload', function () {
    console.log('This code executes when the current Item is no longer active.');

Related articles

  • The item:load event, the event that occurs when an Item has been loaded, rendered and is ready for the learner to interact.
Was this article helpful?

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