dataListener - Initialization - Reports API

Reports API Initialization


This function is called when all report data has been loaded.

You would want to use this to ensure all data has loaded before showing the report, for example. You can also store the report data for your own application.


var callbacks = {
    dataListener: function (reportsData) {
        console.log('The callback that is executed when the report data has loaded.');
    // ...


  • reportsData array[ReportDataObject]

    • ReportDataObject object

      An object containing the report ID and data for a given report.

      • id string

        A unique identifier for the report.

      • data object

        An object containing the report data.

Return value

None (undefined).

Was this article helpful?

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