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
setLeftIcon Method |
Sets left icon Url for a given state.
Syntax
JavaScript
MenuItem.setLeftIcon(url, state)
Parameters
- url
- The new Url.
- state
- Optional. If provided, sets the url for the specified state, otherwise, sets the url of Normal state. See getLeftIcon for a complete list of valid values for this paramter.
Remarks
Use this function to set the item's left icon url for the specified state. Note icon provided for one state may be used by other states. For example, if Normal state's Url is set, when item is in Hover state but Hover state's Url is not defined, Normal state's Url will be used.
See item state for more details.
See Also