Wijmo UI for the Web
wijmenu type
wijmo.menu Namespace : wijmenu type
Syntax
$(function () {
    var options; // Type:  wijmo.menu.wijmenu.options
     
    $(".selector").wijmenu(options);
});
function wijmenu;
Inheritance Hierarchy

Object
      wijmo.menu.wijmenu

Constructors
 NameDescription
public Constructor  
Top
Methods
 NameDescription
public MethodThis method activates a menu item by deactivating the current item, scrolling the new item into view, and, if necessary,making it the active item, and triggering a focus event.  
public MethodAdds a child menuItem to the menuItem.  
public MethodThe deactivate method clears the current selection. This method is useful when reopening a menu which you previously selected an item. If you don't call this method then an item which you selected before allowing the menu to close will remain highlighted when the menu is reopened.  
public MethodThe destroy method removes the wijmenu functionality completely and returns the element to its pre-init state.  
public MethodThe first method defines the first menu item as the active item.  
public MethodGets the collection of child items.  
public MethodThe hideAllMenus method hides all menu items currently showing.  
public MethodThe last method defines the last menu item as the active item.  
public MethodThe next method gets the next selectable item. The first item is selected if no item is active or the last one is active. It returns null if none is selectable.  
public MethodThis method is similar to the "next" method, but it jumps a whole page to the next page instead of to the next selectable item. You can call this method when you are using an iPod-style menu.  
public MethodGet the previous selectable item. It selects the last item if no item is active or if the first item is active. It returns null if no previous item is selectable.  
public MethodThis method is similar to the "previous" method, but it jumps a whole page to the previous page. You can call this method when you're using an iPod-style menu.  
public MethodThe method is used to refresh the menu when DOM operations add or replace a menu item. For example, if you add a new menu item through "menu.append," then you can use the refresh method to make sure that the new menu item appears in the menu.  
public MethodRemove an item from the menu.  
public MethodThis method selects the active item which triggers the select event for that item. This event is useful for custom keyboard handling.  
public MethodThe setItemDisabled method allows the user to disable a specific menu item.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
See Also

Reference

wijmo.menu Namespace