Skip to main content

ActionsFactory

Interface

Properties

createAction

Creates an action with provided options.

Type

(options: ActionOptions) => IAction

Type declaration

Signature

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

IAction


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>) => IAction

Type declaration

Signature

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

IAction


createSeparator

Creates a separator item.

Type

() => ISeparator

Type declaration

Signature

() => ISeparator
Returns

ISeparator