Items API Events
test:resume
Fires when the assessment timer resumes ticking after it was paused. Specifically, when a modal dialog window that paused the timer is closed.
You would want to be notified about this event firing, because you want to be notified when the timer has started ticking again for the learner's assessment has begun.
Important This is not related to the resume Activity state.
Examples
itemsApp.on('test:resume', function () {
console.log('This code executes when the assessment timer resumes ticking.');
});
Related articles
- The
test:startevent, the event where the assessment timer begins ticking. - The
test:pauseevent, the event where the assessment timer has been paused. - The
time:changeevent, the event that fires once every second while the assessment is not paused. - The
getTimepublic method, which can be called to see the current elapsed time.