sets an image for an item
itemId | string|number | the item's id |
img | string | the image for the enabled item (empty string for none) |
imgDis | string | the image for the disabled item (empty string for none) |
myMenu.setItemImage(itemId, img, imgDis);
Back to top