sets the component size

boolean $setSize(number x,number y);


xnumberthe component width
ynumberthe component height


booleanreturns true if a new size differs from the previous one

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 javascript web framework and page of javascript window scroll product.