sizeToContent

adjusts the size of menu and its submenus to their content

void sizeToContent();

Example

$$("mymenu").sizeToContent();

Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript framework and page of javascript menu library product.