$setSize

sets the component size

boolean $setSize(number x,number y);

Parameters

xnumberthe component width
ynumberthe component height

Returns

booleanreturns true if a new size differs from the previous one
Details

The method is used in the inner logic and not intended for direct use.
To set a new size, please define new width, height values and call the resize method.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of javascript open new window product.