widgetRef()
Home > @gooddata/sdk-model > widgetRef
widgetRef() 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 ref
Signature:
export declare function widgetRef(widget: IWidget): ObjRef;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| widget | widget to get ref of | 
Returns:
the widget ref