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 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?