size

Specifies the size of the widget.

Type: Object

By default, the widget occupies the entire area of the parent container (division). If the container width or height is set to zero, the widget is not displayed.

If you need to set a particular size for the widget, different from the container's size, use the size configuration object. Assign a height and width in pixels to the height and width options of the size object.

NOTE: The size configuration object reserves space for the main widget elements, while displaying a tooltip may require extra space. Refer to the tooltip object description to find ways to resolve this issue.

Show Example:
jQuery

In this example, the size of the widget differs from the container size.


                                    

                                    

height

Specifies the height of the widget.

Type: Number
Default Value: undefined

width

Specifies the width of the widget.

Type: Number
Default Value: undefined