Wijmo UI for the Web
options type
Inheritance Hierarchy

Object
   wijmo.menu.wijmenu.options

Browser Compatibility
7
5
5
Fields
 NameDescription
public Optionanimation

Type: wijmo.menu.wijmenu_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.

 
public OptionbackLink

Default value: true

This option determines whether the iPod-style menu shows a back link or a breadcrumb header in the menu.

 
public OptionbackLinkText

Default value: 'Back'

This option sets the text of the back link.

 
public Optioncheckable

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.

 
public OptioncrumbDefaultText

Default value: 'Choose an option'

A value that sets the top breadcrumb's default text.

 
public Optiondirection

Default value: 'ltr'

A value that indicates menu's direction.

 
public OptionensureSubmenuOnBody

Default value: false

A value indicating the submenu element will be append to the body or menu container.

 
public OptionhideAnimation

Type: wijmo.menu.wijmenu_animation

Determines the animation used to hide submenus.

 
public OptionhideDelay

Default value: 400

This option determines how many milliseconds to delay before hiding the submenu in a fly-out menu.

 
public Optionitems

Default value: null

The options of child items

 
public OptionmaxHeight

Default value: 200

This option determines the iPod-style menu's maximum height.

 
public Optionmode

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.

 
public Optionorientation

Default value: 'horizontal'

This option controls the root menu's orientation. All submenus are vertical regardless of the orientation of the root menu.

 
public Optionposition

The position option specifies the location and orientation of the menu relative to the button or link used to open it.

 
public OptionshowAnimation

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.

 
public OptionshowDelay

Default value: 400

This option determines how many milliseconds to delay before showing the submenu in a fly-out menu.

 
public OptionslidingAnimation

Type: wijmo.menu.wijmenu_slidingAnimation

This option defines the animation used to slide a submenu when in sliding mode.

 
public OptionsuperPanelOptions

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.

 
public OptiontopLinkText

Default value: 'All'

A value that sets the text of the top link.

 
public Optiontrigger

Default value: ""

The trigger option handles the open event for the menu or submenu. This option must be used with the triggerEvent option.

 
public OptiontriggerEvent

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.

 
Top
Events
 NameDescription
public EventblurThe 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.  
public EventfocusThe 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.  
public EventhiddenThe hidden event is triggered after the menu or submenu is hidden.  
public EventhiddingThe hidding event is triggered before hidding the menu or submenu. This event can be cancelled with "return false";  
public EventselectThe select event is triggered when a menu item is selected. This event can be triggered by theselect method to allow for custom keyboard handling.  
public EventshowingThe 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.  
public EventshownThe shown event is triggered after the menu or submenu is shown.  
Top
See Also

Reference

wijmo.menu.wijmenu Namespace

 

 


© 2013 All Rights Reserved.

Send comments on this topic.