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

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

Was this article helpful?