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:complete

Fires when all lazy load Items have been loaded successfully.

You would want to be notified about this event firing, because you may want to perform an external action after all batches have loaded, such as starting a third-party service.

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

Examples

itemsApp.on('items:lazyload:complete', function () {
    console.log('This code executes when all batches of Items have completed loading.');
});

Related articles

Was this article helpful?