window.Asc.plugin.executeMethod ("StartAction", [args], callback)
Defines the method that allows specifying the start action for long operations.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("StartAction", [type, description]);
Parameter |
Description |
Type |
Example |
type |
A value which defines an action type which can take 0 if this is an Information action or 1 if this is a BlockInteraction action. |
number |
1 |
description |
A string value that specifies the description text for the start action of the operation. |
string |
"Save to localstorage..." |
The method returns the undefined value.
window.Asc.plugin.executeMethod("StartAction", [1, "Save to localstorage..."]);