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
getLeftIcon Method |
Returns the current left icon Url.
Syntax
JavaScript
MenuItem.getLeftIcon(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.
Return Value
-
Left icon url associated with the given state.
Remarks
Each menu item can have different left icons for different states, the table below lists all valid values for the state parameter:
Value | Description |
---|---|
"Normal" | Normal state. |
"Hover" | Hover state. |
"Expanded" | Expanded state. |
"Selected" | Selected state. |
"SelectedHover" | Selected hover state. |
"SelectedExpanded" | Selected expanded state. |
"Disabled" | Disabled state. |
Note even if this function returns null, it does not necessarily mean that no left icon will be displayed for that state. For example, if the Url for Normal state is set, even if Hover state Url is null, left icon for normal state will be displayed when mouse is over the item.
See item state for more details.
See Also