save.success - Events - Author API

Author API Events

save:success

Fires after an Item has successfully saved.

You would want to be notified about this event firing, because you might want to display a custom success message in your application, for example.

Examples

authorApp.on('save:success', function () {
    console.log('This code executes when an Item has successfully saved.');
});

Callback arguments

  • itemJson object

    JSON of the Item that has successfully saved.

Related articles

  • The save() method, which saves the current Item being edited.
  • The save event, which fires before an Item is to be saved.
  • The save:error event, which fires when an Item has failed to save.
Was this article helpful?

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