changeInsightWidgetDescription()
Home > @gooddata/sdk-ui-dashboard > changeInsightWidgetDescription
changeInsightWidgetDescription() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the ChangeInsightWidgetDescription command. Dispatching this command will result in change of the Insight widget's description.
Signature:
export declare function changeInsightWidgetDescription(ref: ObjRef, description: IWidgetDescription, correlationId?: string): IChangeInsightWidgetDescription;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref |
reference of the insight widget to modify | |
|
description |
new description to use | |
|
correlationId |
string |
(Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns: