Event Author API

activityedit:item:create

Fires when the Create Item button is clicked in 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 the Item creation UI appears, for example.

Examples

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

Related articles

Was this article helpful?