activityedit.items.added - Events - Author API

Author API Events

activityedit:items:added

Fires when the Add Items button is clicked in the Item picker of the Activity Editor.

You would want to be notified about this event firing, because you might want to perform an action in your application when an Item has been added to the Activity, for example.

Examples

authorApp.on('activityedit:item:added', function () {
    console.log('This code executes when the Add Items button is clicked.');
});

Related articles

Was this article helpful?

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