Reports API Initialization
readyListener()
This function is called when the API has been successfully initialized.
You would want to use this callback so that you can run your own application logic after Reports API has completed loading, such as adding event listeners for Reports API Events, for example.
Examples
var callbacks = {
readyListener: function () {
console.log('The callback that is executed when the API has been successfully initialized.');
},
// ...
};
Arguments
None.
Return value
None (undefined
).
Related articles
- The
dataListener
callback, which is called when all report data has been loaded.