Assess API Events
test:save
Fires when the assessment has begun saving.
You would want to be notified about this event firing, because you may want to stop any currently playing media on the page, for example.
Examples
itemsApp.on('test:save', function () {
console.log('This code executes when the assessment has begun saving.');
});
Related articles
- The
test:save:success
event, which fires when the assessment is successfully saved. - 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.