action

Action manager. Exports APIs to create/move/rename/remove actions or async actions.

Source:

Methods

(static) add(feature, name, args)

Source:

Add an action

Parameters:
Name Type Description
feature string

The feature name.

name string

The action name.

args object

Other arguments.

(static) addAsync(feature, name, args)

Source:

Add an async action

Parameters:
Name Type Description
feature string

The feature name.

name string

The action name.

args object

Other arguments.

(static) move(source, target)

Source:

Move/rename an action

Parameters:
Name Type Description
source ElementArg

Which async action to move.

target ElementArg

The target place of the async action.

(static) moveAsync(source, target)

Source:

Move/rename an async action

Parameters:
Name Type Description
source ElementArg

Which async action to move.

target ElementArg

The target place of the async action.

(static) remove(feature, name)

Source:

Remove an action

Parameters:
Name Type Description
feature string

The feature name.

name string

The action name.

(static) removeAsync(feature, name)

Source:

Remove an async action

Parameters:
Name Type Description
feature string

The feature name.

name string

The action name.