Object
wijmo.menu.wijmenu.options
Object
wijmo.menu.wijmenu.options
Name | Description | |
---|---|---|
animation | The animation option determines the menu animation if the showAnimation and hideAnimation properties are not individually specified. For a description of the animation effects and the easing effects, please see the Animation page. |
|
backLink | Default value: true This option determines whether the iPod-style menu shows a back link or a breadcrumb header in the menu. | |
backLinkText | Default value: 'Back' This option sets the text of the back link. | |
checkable | Default value: false When you set the checkable option to true and click on a menu item, the clicked item's state will be selected. A "ui-state-active" class will be added to the item so that the item behavior and the item appearance are different. | |
crumbDefaultText | Default value: 'Choose an option' A value that sets the top breadcrumb's default text. | |
direction | Default value: 'ltr' A value that indicates menu's direction. | |
ensureSubmenuOnBody | Default value: false A value indicating the submenu element will be append to the body or menu container. | |
hideAnimation | Determines the animation used to hide submenus. |
|
hideDelay | Default value: 400 This option determines how many milliseconds to delay before hiding the submenu in a fly-out menu. | |
items | Default value: null The options of child items | |
maxHeight | Default value: 200 This option determines the iPod-style menu's maximum height. | |
mode | Default value: 'flyout' The mode option defines the behavior of the menu, whether it is a pop-up menu or an iPod-style navigation list. | |
orientation | Default value: 'horizontal' This option controls the root menu's orientation. All submenus are vertical regardless of the orientation of the root menu. | |
position | The position option specifies the location and orientation of the menu relative to the button or link used to open it. | |
showAnimation | This option determines the animation effect, the duration, and the easing effect used to hide the submenus. You can also use this option to set any animation-specific options, such as direction. | |
showDelay | Default value: 400 This option determines how many milliseconds to delay before showing the submenu in a fly-out menu. | |
slidingAnimation | This option defines the animation used to slide a submenu when in sliding mode. |
|
submenuTriggerEvent | Default value: 'default' The submenuTriggerEvent option specifies the mouse event used to show the submenu. If submenuTriggerEvent is 'default', it will get value from triggerEvent option. | |
superPanelOptions | Default value: null This option specifies a hash value that sets to superpanel options when a superpanel is created. It is used to set appearances and behaviors when a scrollbar is shown in sliding mode. | |
topLinkText | Default value: 'All' A value that sets the text of the top link. | |
trigger | Default value: "" The trigger option handles the open event for the menu or submenu. This option must be used with the triggerEvent option. | |
triggerEvent | Default value: 'click' The triggerEvent option specifies the mouse event used to show the menu or submenu. triggerEvent must be used with the trigger option. |
Name | Description | |
---|---|---|
blur | The blur event is triggered when a menu item loses focus. You can use this event to track which item has lost focus. An item can lose focus through keyboard commands, such as when the Tab key is pressed, or when a user clicks elsewhere on the page. | |
focus | The focus event is triggered either on mouse hover or when the keyboard cursor keys are used for navigation. In general, an item or element that has focus is highlighted in some way. When an item or element has focus it is the first to receive keyboard-related events. | |
hidden | The hidden event is triggered after the menu or submenu is hidden. | |
hidding | The hidding event is triggered before hidding the menu or submenu. This event can be cancelled with "return false"; | |
select | The select event is triggered when a menu item is selected. This event can be triggered by theselect method to allow for custom keyboard handling. | |
showing | The showing event is triggered before the submenu is shown. showing is a useful event if you want to perform a function before the submenu is shown or if you want to block the submenu from showing by returning false. | |
shown | The shown event is triggered after the menu or submenu is shown. |