Get Started
Plugins
Macros
More information

StartAction

StartAction(type, description)

Specifies the start action for long operations.

Parameters:

Name Type Description
type number

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 string

A string value that specifies the description text for the start action of the operation.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod("StartAction", [1, "Save to local storage..."]);