Interface: ActionsFactory
Charting Library.ActionsFactory
Properties
createAction
• createAction: (options: ActionOptions) => IAction
Creates an action with provided options.
Type declaration
▸ (options): IAction
Parameters
| Name | Type |
|---|---|
options | ActionOptions |
Returns
createAsyncAction
• createAsyncAction: (loader: () => Promise<ActionOptions>) => IAction
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 declaration
▸ (loader): IAction
Parameters
| Name | Type |
|---|---|
loader | () => Promise<ActionOptions> |
Returns
createSeparator
• createSeparator: () => ISeparator
Creates a separator item.
Type declaration
▸ (): ISeparator