Public Method Items API


Calling this method will remove all Items API UI elements from the specified instance of the itemsApp from the page, and will internally reset the itemsApp state.

You would want to use this method so that you can remove all of the assessment DOM elements from the page in your single page application, for example.

When re-initializing Items API, you would call the reset() method followed by the window.LearnosityItems.init() method.


// Reset the instance of Items API

// Re-initialize the Items API
var itemsApp = window.LearnosityItems.init(...);



Return value

None (undefined).

Related articles

Was this article helpful?