Skip to main content
Version: v25

ActionsFactory

Interface

Properties

createAction

Creates an action with provided options.

Type

(options: ActionOptions) => IUpdatableAction

Type declaration

Creates an action with provided options.

Signature

(options: ActionOptions) => IUpdatableAction
Parameters
NameType
optionsActionOptions
Returns

IUpdatableAction


createAsyncAction

Creates an action that will wait for a promise to get its options. In terms of GUI until a promise is resolved the loader/spinner will be displayed.

Type

(loader: () => Promise<ActionOptions>) => IUpdatableAction

Type declaration

Creates an action that will wait for a promise to get its options. In terms of GUI until a promise is resolved the loader/spinner will be displayed.

Signature

(loader: Function) => IUpdatableAction
Parameters
NameType
loader() => Promise<ActionOptions>
Returns

IUpdatableAction


createSeparator

Creates a separator item.

Type

() => ISeparator

Type declaration

Creates a separator item.

Signature

() => ISeparator
Returns

ISeparator