This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.

Questions API Methods

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

learnosityApp

questionsApp

The following methods are accessed via the questionsApp object returned by the window.LearnosityQuestions.init() method. This object provides methods to interact with, and receive information relating to Questions and Features.

question

The following methods are accessed via the question object returned by the questions() or question("response_id") public methods. This object provides methods to interact with, and receive information for Questions used in the assessment.

feature

The following methods are accessed via the feature object returned by the features() or feature("feature_reference") public methods. This object provides methods to interact with, and receive information for any Features used in the assessment.