Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- AJAXPostedFile Object
- AJAXUploader Object
- Calendar Object
- Callback Object
- ColorPicker Object
- ComboBox Object
- Control Object
- Dialog Object
- Downloader Object
- EditableLabel Object
- Editor Object
- EventInfo Object
- FileExplorer Object
- FileExplorerHolder Object
- Floater Object
- Grid Object
- GridCell Object
- GridColumn Object
- GridItem Object
- ImageZoom Object
- ListBox Object
- ListBoxItem Object
- MaskedEdit Object
- MaskedEditSegment Object
- MenuItem Object
- MultiPage Object
- NavigationItem Object
- NavigationItemGroup Object
- Navigator Object
- NavigatorEventInfo Object
- ProgressBar Object
- RangeSlider Object
- Rating Object
- ScriptEvent Object
- Slide Object
- Slider Object
- SliderBase Object
- SpellChecker Object
- Splitter Object
- SplitterPane Object
- ToolBar Object
- ToolBarItem Object
- ToolTip Object
- TreeNode Object
- TreeView Object
- Global Functions
- Event Handlers
- EO.WebEngine
- EO.Web
getImage Method |
Returns the current image Url for an image only menu item.
Syntax
JavaScript
MenuItem.getImage(state)
Parameters
- state
- Optional. A string value specified which state of the url the function should return. If not provided, Url for the Normal state is returned. See getLeftIcon for a complete list of valid values for this paramter.
Return Value
-
Image Url associated with the given state.
Remarks
If the Url for the specified state is not set, null is returned.
Note even if this function returns null, it does not necessarily mean no image will be displayed for that state. For example, if the Url for Normal state is set, even if Hover state Url is null, image for normal state will be displayed when mouse is over the menu item.
See item state for more details.
See Also