ready.questionsApi - Events - Reports API

Reports API Events

ready:questionsApi

Fires when Reports API has used Questions 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 Question report.

Examples

reportsApp.getReport('my-session-detail-by-question-id')
    .on('ready:questionsApi', function (questionsApp) {
        console.log('This code executes when Questions API has loaded.');
        console.log(questionsApp);
    });

Callback arguments

Related articles

  • The ready:itemsApi event, which fires when the Items API has loaded.
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.