changeRichTextWidgetContent()
Home > @gooddata/sdk-ui-dashboard > changeRichTextWidgetContent
changeRichTextWidgetContent() 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 ChangeRichTextWidgetContent command. Dispatching this command will result in change of the rich text widget's Markdown content.
Signature:
export declare function changeRichTextWidgetContent(ref: ObjRef, content: string, correlationId?: string): IChangeRichTextWidgetContent;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref |
reference of the rich text widget to modify | |
|
content |
string |
updated content |
|
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: