dundas.controls.BasicMenuItem Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.BasicMenuItem
      dundas.controls.MenuItem
      dundas.controls.MenuItemStyle
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
iconSize Gets or sets a value indicating an override size (width/height as they are square) for the item and indicator icon.
isIndicatorIconAlwaysShown Gets or sets whether the indicator icon is always shown or not. By default, it only shows when this menu item has children.
padding Gets or sets the padding of the control.
stateStyles Gets or sets the styles for each of the possible states of the item.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.