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

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?