item.load - Events - Items API

Items API Events

item:load

Fires when a selected Item has been loaded, rendered and is ready for the learner to interact with.

You would want to be notified about this event firing so that you can execute additional code based on the Item that has loaded, such as tracking learner interactions or automatically opening a calculator feature.

Examples

itemsApp.on('item:load', function () {
    console.log('This code executes when the Item has completed loading.');
});

Related articles

Was this article helpful?

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