Wijmo UI for the Web
add Method
the position to insert at
Adds a child menuItem to the menuItem.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var menuitem; // Type:  any
    var position; // Type:  number
    
    returnsValue = $(".selector").wijmenu("add", menuitem, position);
});
Javascript (Specification) 
function add( 
   menuitem : any,
   position : number
) : any;

Parameters

menuitem
The menuItem to be added 1.markup html.such as "<a>menuItem</a>" as a menuItem. 2.object options according to the options of wijmenuItem.
position
the position to insert at
Browser Compatibility
7
5
5

See Also

Reference

wijmenu type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.