init - Methods - Author Aide API

Author Aide API Methods

init()

Initialize and create a new instance of Author Aide API to load and interact with the Learnosity Author Aide interface.

You must use this method in order to initialize Author API and access its methods and events.

The init method is called from the LearnosityAuthorAide factory, and should only be called once per instantiation of the Author Aide API. From there, you can use the returned application instance, referred to as authorAideApp throughout the documentation, to access all Author Aide API methods.

Examples

const initializationOptions = {
    // example parameters
};

const callbacks = {
    readyListener: function () {
        console.log("Learnosity Author Aide API is ready");
    }
};

let authorAideApp = window.LearnosityAuthorAide.init(initializationOptions, callbacks);

Arguments

Return value

Type object

A new instance of the Author Aide API.

See authorAideApp methods for a full list of methods.

Was this article helpful?

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