Assess API Events
test:save:success
Fires when saving the assessment is successful. This can occur at any time during the assessment.
You would want to be notified about this event firing, because you may want to inform the learner that their responses have been saved, for example.
Examples
itemsApp.on('test:save:success', function () {
console.log('This code executes when saving the assessment is successful.');
});
Related articles
- The
test:save
event, which fires when the asseessment has begun saving. - The
test:save:error
event, which fires when the assessment could not be saved and encountered an error. - The
test:submit
event, which fires when the assessment submission begins. - The
auto_save
initialization option, which can be used to configure the auto-saving of an assessment.