Interface: IUpdatableAction
Charting Library.IUpdatableAction
Hierarchy
-
↳
IUpdatableAction
Properties
id
• Readonly
id: string
An unique ID of an action item. Could be used to distinguish actions between each other.
Inherited from
type
• Readonly
type: Action
Menu item type
Inherited from
Methods
execute
▸ execute(): void
A method which will be called when an action should be executed (e.g. when a user clicks on the item)
Returns
void
Inherited from
getState
▸ getState(): Readonly
<ActionState
>
Returns
Readonly
<ActionState
>
Returns a state object of the action.
Inherited from
onUpdate
▸ onUpdate(): ISubscription
<OnActionUpdateHandler
>
Returns
ISubscription
<OnActionUpdateHandler
>
A subscription for an event when an action is updated.
Inherited from
update
▸ update(options
): void
Update the options for the Action
Parameters
Name | Type | Description |
---|---|---|
options | Partial <OmitActionId <ActionOptions >> | updated options |
Returns
void