Check documentation for the latest version 6.0 of dhtmlxSuite setOpenMode DHTMLX Docs

setOpenMode

sets the opening mode for a menu

void setOpenMode(string mode);

Parameters

modestring"win"|"web"

Example

myMenu.setOpenMode("win");

Details

The default mode is "web". In the "win" mode a user should click anywhere to hide the menu, in the "web" mode - just put the mouse pointer out of the menu area.

See also
Back to top