Assess API Events
items:fetch:done
Fires when a batch of Items has been successfully fetched using the addItems
public method.
You would want to be notified about this event firing so that you can know when dynamic Items have been successfully fetched using adaptive and dynamic assessments so that you can keep track of the navigation state in your own application, for example.
Examples
itemsApp.on('items:fetch:done', function () {
console.log('This code executes when a batch of Items has been successfully fetched.');
});
Related articles
- The
items:fetch
event, the event that occurs when a batch of Items is being fetched. - The
items:fetch:error
event, the event that occurs when a fetch action for a batch of Items has failed. - The Building Item Branching Assessments article for more information on dynamic assessments.