跳到主要内容

EndAction

Specifies the end action for long operations.

Syntax

expression.EndAction(type, description, status);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
typeRequirednumberA value which defines an action type which can take "Block" if this is the BlockInteraction action or "Information if this is the Information action.
descriptionRequiredstringA string value that specifies the description text for the operation end action.
statusRequiredstringThe error status code. If no error occurs, then an empty string is passed.

Returns

This method doesn't return any data.

Example

window.Asc.plugin.executeMethod ("EndAction", ["Block", "Save to local storage...", ""]);