change - Events - Rubric Editor API

Rubric Editor API Events

change

Fires when the current rubric being edited changes.

When the editor is initialized with the variant option set to 'modal', this event will be fired when the user clicks the Save button.

You would want to be notified about this event firing, because you might want to update your application UI to indicate the rubric has changed, for example.

Examples

rubricEditor.on('change', function (rubric) {
    console.log('rubric has changed', rubric);
});

Callback arguments

  • rubric object

    The current rubric JSON object being edited.

Was this article helpful?

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