Check documentation for the latest version of dhtmlxSuite enableEffect DHTMLX Docs

enableEffect

sets animation for a context menu

void enableEffect(string name,number maxOpacity,number effectSpeed);
namestring(mandatory), effect name; values: "opacity" or "slide" or "slide+" (slide with opacity)
maxOpacitynumber(optional), sets max opacity level - 0..100 (%)
effectSpeednumber(optional), sets effect speed, ms

Example

myMenu.enableEffect(name, maxOpacity, effectSpeed);

Back to top