attachMenu

attaches dhtmlxMenu to component's top

object attachMenu( [object conf] );

Parameters

confobjectoptional, menu config

Returns

objectdhtmlXMenuObject instance

Example

var myMenu = dhxComponent.attachMenu({
    icons_path: "imgs/menu/icons/",
    json: "data/json/menu.json"
});

Back to top