items.lazyload.error - Events - Items API

Items API Events

items:lazyload:error

Fires when an error occurred while attempting to lazy load Items. The learner will see an error dialog with the code 20010.

You would want to be notified about this event firing, so that you can show a custom message to the learner.

Note This event requires the lazyload init option to be enabled.

Examples

itemsApp.on('items:lazyload:error', function () {
    console.log('This code executes when an error has occured while loading a batch of Items.');
});

Related articles

Was this article helpful?

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