Get Started
Plugins
Macros
More information

onCommandCallback

onCommandCallback

The function called to return the result of the previously executed command. It can be used to return data after executing the executeCommand 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", "");
};