Reports API Events
ready:itemsApi
Fires when Reports API has used Items API to render a visual report, showing the learner's responses.
You would want to be notified about this event firing to build a custom reveal when the learner's responses have loaded, for example.
Important Only applicable to the Sessions Detail by Item report.
Examples
reportsApp.getReport('my-session-detail-by-item-id')
.on('ready:itemsApi', function (itemsApp) {
console.log('This code executes when Items API has loaded.');
console.log(itemsApp);
});
Callback arguments
-
itemsApp object
The Items API instance used to render the report.
Related articles
- The
ready:questionsApi
event, which fires when the Questions API has loaded.