TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

onCommandCallback

onCommandCallback

The function called to return the result of the previously executed command. It can be used to return data after executing the callCommand method.

Parameters:

This event doesn't have any parameters.

Example

Copy code
window.Asc.plugin.onCommandCallback = function() {
    var plugin = window.Asc.plugin;
    plugin.executeCommand("close", "");
};