attachRibbon

attaches dhtmlxRibbon to component's top

object attachRibbon( [object conf] );

Parameters

confobjectoptional, ribbon config

Returns

objectdhtmlXRibbon instance

Example

var myRibbon = dhxComponent.attachRibbon({
    icons_path: "imgs/ribbon/icons/",
    json: "data/json/ribbon.json"
});

Back to top