detachitem.error - Events - Grading API

Grading API Events

detachitem:error

Fired when the public method gradingApp.detachItem() has thrown an error.

You would want to be notified about this event firing, because you might want to update your application UI to indicate that the detaching of the attached Item has encountered an error, for example.

Examples

gradingApp.on('detachitem:error', function () {
    console.log('attachItem fail');
});
Was this article helpful?

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