floatWidget Method

Beta  

Create a new floating panel that contains the widget specified by its Id. Supported only when in UI 2.0 or higher.

floatWidget(widgetId: string, point?: PointProps, size?: SizeProps): void

Parameter Type Description
widgetId string case sensitive Wigdet Id
point PointProps Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.
size SizeProps defines the width and height of the floating panel. If undefined and widget has been floated before
the previous size is used, else {height:400, width:400} is used.

Returns - void

Defined in

Last Updated: 11 June, 2024