openAction

alters the way of submenu opening to "click"

string openAction;

Example

webix.ui({
    view:"menu",
    id:"my_menu",
    data:[ //menu data
        { value:"Translate...", submenu:["English", "Slavic...", "German"]},
    ],
    openAction:"click"    
});

Details

If the parameter is set, you should first click menu item to enable submenu opening and hiding on "onMouseOver" and "onMouseOut" events.

To hide submenus, you need to click somewhere outside the menu.

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