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