reset - Events - Evaluation Options Editor API

Evaluation Options Editor API Events

reset

Fires when the reset() method is called.

You would want to be notified about this event firing so that you can clear any options you have stored or update your application's UI to show that the options have been reset.

Examples

// Log a message when the options are reset
editor.on('reset', function () {
    console.log('options have been reset');
});
Was this article helpful?

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