Assess API Events
item:changing
Fires when the assessment first begins navigating away to another Item.
You would want to be notified about this event firing, because you may want to take an action between Items, such as displaying a modal window.
Examples
itemsApp.on('item:changing', function (itemIndex) {
console.log('This code executes when the Item is currently changing.');
});
Callback arguments
-
itemIndex integer
The zero-based index of the Item that is being navigated to and is yet to be made visible.
Related articles
- The
item:changed
event, the event that occurs after this event.