Items API Events
test:ready
Fires when the assessment has loaded and is ready for the learner to start. This is usually fired when the learner can see the intro screen of the assessment and the "Start" button is visible.
You would want to be notified about this event firing, because you might want to initialize your own application code before the assessment begins, for example.
Examples
itemsApp.on('test:ready', function () {
console.log('This code executes when the assessment has loaded and is ready for the learner to start.');
});
Related articles
- The
test:start
event, the event that occurs when the assessment has started. - The
readyListener
callback initialization option.