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
-
initialization_options object
See Author Aide API Initialization for a full list of options.
-
callbacks object
See Author Aide API Callbacks for a full list of callbacks.
Return value
Type object
A new instance of the Author Aide API.
See authorAideApp methods for a full list of methods.