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

Was this article helpful?