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:start
event, the event where the assessment timer begins ticking. - The
test:pause
event, the event where the assessment timer has been paused. - The
time:change
event, the event that fires once every second while the assessment is not paused. - The
getTime
public method, which can be called to see the current elapsed time.