Assess API Events
item:changed
Fires when the assessment has finished navigating to an Item.
You would want to be notified about this event firing, because you may want to perform an external action when the Item has changed, such as starting a third-party service.
Examples
itemsApp.on('item:changed', function (itemIndex) {
console.log('This code executes when the Item has changed.');
});
Callback arguments
-
itemIndex integer
The zero-based index of the Item that has been navigated to and is now visible.
Related articles
- The
item:changing
event, the event that occurs before this event.