Evaluation Options Editor API Methods
This article details the methods that the host page can use to interact with Evaluation Options Editor API.
LearnosityEvaluationOptionsEditor
The following methods are accessed via the window.LearnosityEvaluationOptionsEditor object.
When the Evaluation Options Editor API script has loaded, the LearnosityEvaluationOptionsEditor object is instantiated and ready for use.
evaluationOptionsEditor
The following methods are accessed via the evaluationOptionsEditor object returned by evaluationOptionsEditorApp.createEditor(). This object provides methods to interact with, and receive information from, an editor instance.
- attach()
- destroy()
- detach()
- getOptions()
- off()
- on()
- once()
- reset()
- setLabelBundle()
- setOptions()
- validateOptions()
evaluationOptionsEditorApp
The following methods are accessed via the evaluationOptionsEditorApp object returned by window.LearnosityEvaluationOptionsEditor.init(). This object provides methods to interact with, and receive information from, the instance of Evaluation Options Editor API.