sizeToContent

adjusts the size of menu and its submenus to their content

void sizeToContent();

Example

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

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix open source html5 framework and page of context menu javascript product.