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