sets animation for a context menu
name | string | (mandatory), effect name; values: "opacity" or "slide" or "slide+" (slide with opacity) |
maxOpacity | number | (optional), sets max opacity level - 0..100 (%) |
effectSpeed | number | (optional), sets effect speed, ms |
myMenu.enableEffect(name, maxOpacity, effectSpeed);
Back to top