Table of Contents
MenuItem Objects

A client side object that represents a menu item or a tab item.

Base Object
MenuItem derives from NavigationItem and inherits all method provided by NavigationItem.
Methods
Name Description
collapseSubMenu Collapses the sub menu.
expandSubMenu Expands the sub menu.
getChecked Returns a value indicating whether the menu item is checked.
getImage Returns the current image Url for an image only menu item.
getLeftIcon Returns the current left icon Url.
getRightIcon Returns the current right icon Url.
isImageOnly Returns a value indicating whether this item is an image only item.
isSeparator Returns a value indicating whether this item is a separator.
setChecked To check or uncheck a menu item.
setImage Sets image Url for an image only menu item for a given state.
setLeftIcon Sets left icon Url for a given state.
setRightIcon Sets right icon Url for a given state.