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

enableEffect

sets animation for a context menu

void enableEffect(string name,number maxOpacity,number effectSpeed);

Parameters

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