Assess API Methods
init()
A method called on window.LearnosityAssess
to instantiate an instance of the Assess API player. Once called, and finished initializing (see callbacks for more info on when the API is considered in 'ready' state), you can use the returned application instance (called assessApp in this documentation) to access its public methods.
This function must be called before any other functionality can be used.
Only one instance of Learnosity's Assessment player may exist at any one time. If you wish to initialize a second instance, you will first need to remove the existing instance using assessApp.reset().
Arguments
-
configuration object
Visit the Assess API initialization object for detailed documentation on how to construct this parameter.
-
domSelector string
A DOM selector for the container that the Assess API player will render within.
-
callbacks object
Visit the Assess API callback object for detailed documentation on callbacks and its parameters.
Return value
Type assessApp