window.Asc.plugin.executeMethod("EndAction", [args], callback)

Description

Defines the method that allows specifying the end action for long operations.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod("EndAction", [type, description]);

Where:

  • type is 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;
  • description is a string value that specifies the description text for the end action of the operation.
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod("EndAction", [1, "Save to localstorage..."]);