Items API Events
item:section:next
Fires just before a section transition.
You would want to be notified about this event firing, so that you can display a custom message to the learner, warning them about the change between assessment sections, for example.
Examples
itemsApp.on('item:section:next', function () {
console.log('This code executes just before a section transition.');
});
Related articles
- The
section:changed
event, the event that fires after the learner has navigated to a new section. - The Breaking Assessments Into Sections article which outlines how to set up and use sections within an assessment.