LearnosityEvents - Events API

description Initialises the Events API.
arguments initOptions (Object), eventOptions (Object)
returns Object, containing Events API Public Methods - all other public methods are called against this object. (See example).

init example

    var initOptions = {
        /*  See the Initialisation Options
            section for guidance on the initialisation object.

    var eventOptions = {
        readyListener: function () {
            console.log("Learnosity Events API is ready");
        errorListener: function (e) {
            console.log('error', e);

    var eventsApp = LearnosityEvents.init(initOptions, eventOptions);
Was this article helpful?

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