reset - Methods - Grading API

Grading API Methods

reset()

Removes all stored internal references within the Grading API instance.

You would want to use this method when you need to completely remove all the grading sessions in your application, such as when reinitializing a session or loading a new set of Items.

Important This method does not remove or clean up any DOM elements that were created or attached by your application. Since the Grading API does not manage your custom DOM, you must manually handle any required cleanup (e.g., removing elements, detaching listeners, or clearing containers).

Examples

gradingApp.reset();

Arguments

None.

Return value

None (undefined).

Was this article helpful?

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