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
| Name | Type | 
|---|---|
| options | ActionOptions | 
Returns
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
| Name | Type | 
|---|---|
| loader | () => Promise<ActionOptions> | 
Returns
createSeparator
Creates a separator item.
Type
() => ISeparator
Type declaration
Creates a separator item.
Signature
() => ISeparator