destroy - Methods - Question Editor API

Question Editor API Methods

destroy()

Destroy current instance of the Question Editor API app.

This method will also restore the HTML hook which was used to first initialize the app. Remember to delete references to the instance as well. You need to make sure that you don't destroy while Question Editor is still initializing, as this may lead to unexpected results. You should only use destroy() after readyListener is called.

Examples

function destroy () {
    questionEditorApp.destroy();
}

Arguments

None.

Return value

None (undefined).

Was this article helpful?

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