Get Started
Plugins
Macros
More information

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]);
Parameters
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 operation end action. string "Save to localstorage..."
Returns

The method returns the undefined value.

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