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
- The
item:unload
event, the event that occurs when the Item is unloaded.