Callbacks
The callbacks object contains optional callback functions that allow detection of the 'ready' status of a Author API instance and any errors encountered.
These events can be handled by defining a readyListener
function and an errorListener
function respectively.
-
errorListener function
This function is called when one of the preset Learnosity API errors are thrown.
-
assetRequest function
Integrate your own digital asset management (DAM) system to use your own media content in Questions and Features.
-
customButtons array
Allows you to add custom buttons to the rich text editor toolbar used in the Widget (Questions or Features) editor view.