methods - Events API

Events API Methods

This article details methods the host page can use to interact with Events API.

LearnosityEvents

The following methods are accessed via the window.LearnosityEvents object.

When the Events API script has loaded, the LearnosityEvents object is instantiated, and ready for use.

eventsApp

The following methods are accessed via the eventsApp object returned by window.LearnosityEvents.init(). This object provides methods to interact with, and receive information from the particular instance of Events API.

Most of these methods are not available until the readyListener callback has been executed, unless otherwise noted. See Initialization & Callbacks for more information.

Was this article helpful?

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