questionsApp - Methods - Author API

Author API Methods


Obtains the instance of the Questions API being used.

You would want to use this method so that you can interact with the Widget editor preview panel and adjust settings, such as enabling the validation mode for the Question, for example.


var questionsApp = authorApp.questionsApp();



Return value

Type object

Returns the instance of the questionsApp used in the Widget editor preview panel.

Type boolean

Returns false if not available.


Many instances of Questions API may be created while previewing and editing Activities and Items. It is recommended to listen to the render:item event to get the most recent Questions API instance.

Related articles

Was this article helpful?

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