readyListener - Initialization - Author Aide API

Author Aide 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 Author Aide API has completed loading, such as injecting additional content into the page.

Examples

const callbacks = {
    readyListener: authorAideReadyListener,
    // ...
};

function authorAideReadyListener() {
    console.log('API has successfully initialized.');
}

const authorAideApp = LearnosityAuthorAide.init(initializationObject, '#learnosity-author-aide', callbacks);

Arguments

None.

Return value

None (undefined).

Was this article helpful?

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