section.items.load - Events - Items API

Items API Events

section:items:load

When using vertical_element in the items region with sections, this event is fired when a new batch of Items 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 Items that have been loaded, such as tracking learner interactions or automatically opening a calculator feature.

Examples

itemsApp.on('section:items:load', function (sectionIndex) {
    console.log('This code executes when the Items have completed loading.');
});
Was this article helpful?

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