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

section:changed

Fires when the learner has navigated into a new section.

You would want to be notified about this event firing so that you can execute some code based on the transition to the new section of the assessment. For example, if the learner has navigated from a math section into an English section, you may want to add or remove a calculator or line reader feature.

Examples

itemsApp.on('section:changed', function () {
    console.log('This code executes when the learner has navigated into a new section.');
});

Related articles

Was this article helpful?