|
Name |
Type |
animationShowDuration
|
double
|
Sets or gets the duration of the show animation.
|
animationHideDuration
|
double
|
Sets or gets the duration of the hide animation.
|
animationHideDelay
|
double
|
Sets or gets the delay before the start of the hide animation.
|
animationShowDelay
|
double
|
Sets or gets the delay before the start of the show animation.
|
autoCloseInterval
|
double
|
Sets or gets the time interval after which all opened items will be closed. When you open a new sub menu, the interval is cleared. If you want to disable this automatic closing behavior of the jqxMenu, you need to set the autoCloseInterval property to 0.
|
autoSizeMainItems
|
bool
|
Auto-Sizes the jqxMenu's main items when the menu's mode is 'horizontal'.
|
autoCloseOnClick
|
bool
|
Automatically closes the opened popups after a click.
|
autoOpenPopup
|
bool
|
Opens the Context Menu when the right-mouse button is pressed. When this property is set to false, the Open and Close functions can be used to open and close the Context Menu.
|
autoOpen
|
bool
|
Opens the top level menu items when the user hovers them.
|
autoCloseOnMouseLeave
|
bool
|
|
clickToOpen
|
bool
|
Opens an item after a click by the user.
|
disabled
|
bool
|
Enables or disables the jqxMenu.
|
enableHover
|
bool
|
Enables or disables the hover state.
|
easing
|
string
|
Sets or gets the animation's easing to one of the JQuery's supported easings.
|
height
|
object
|
Sets or gets the jqxMenu's height.
|
keyboardNavigation
|
bool
|
Enables or disables the jqxMenu's keyboard navigation.
|
minimizeWidth
|
object
|
Sets or gets the jqxMenu's minimizeWidth. That width determines the minimum browser window's width when the Menu will switch from normal to minimized mode and the Menu's width is in percentages. Set it to null, if you want to disable that behavior. Note: jqxMenu automatically switches to minimized mode, when it is displayed on a touch device. By setting the property to null, you will disable that behavior, too.
|
mode
|
object
|
Sets or gets the menu's display mode.
Possible Values:
'horizontal'
'vertical'
'popup'
|
popupZIndex
|
object
|
Sets or gets the popup's z-index.
|
rtl
|
bool
|
Sets or getsa value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
|
showTopLevelArrows
|
bool
|
|
source
|
object
|
Specifies the jqxMenu's data source. Use this property to populate the jqxMenu.
- label - item's label.
- value - item's value.
- html - item's html. The html to be displayed in the item.
- id - item's id.
- items - array of sub items.
- subMenuWidth - sets the sub menu's width.
- disabled - determines whether the item is enabled/disabled.
|
theme
|
string
|
|
width
|
object
|
Sets or gets the jqxMenu's width.
|
|
onClosed
|
Event
|
This event is triggered when any of the jqxMenu Sub Menus is closed.
|
onItemclick
|
Event
|
This event is triggered when a menu item is clicked.
|
onShown
|
Event
|
This event is triggered when any of the jqxMenu Sub Menus is displayed.
|
|
Name |
Arguments |
Return Type |
closeItem
|
(object itemID)
|
void
|
|
close
|
()
|
void
|
Closes the menu (only in context menu mode).
|
disable
|
(object itemID, bool value)
|
void
|
Disables or enables a menu item. The method has two parameters - HTML Element ID and a boolean value which determines whether to disable or enable the element.
|
destroy
|
()
|
void
|
|
focus
|
()
|
void
|
|
minimize
|
()
|
void
|
|
open
|
(double left, double top)
|
void
|
Opens the menu(only in context menu mode).
|
openItem
|
(object itemID)
|
void
|
|
restore
|
()
|
void
|
Restores the widget from the "minimized" state.
|
setItemOpenDirection
|
(object item, string horizontaldirection, string verticaldirection)
|
void
|
Sets the item's popup open direction
|