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