widgetId()
Home > @gooddata/sdk-model > widgetId
widgetId() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the widget identifier
Signature:
export declare function widgetId(widget: IWidget): string;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| widget | widget to get identifier of | 
Returns:
string
the widget identifier