Wijmo UI for the Web
remove Method
The index of menuitem to be removed
Remove an item from the menu.
Syntax
Javascript (Usage) 
var instance = new jQuery.wijmo.wijmenu();
var value; // Type: any

// Parameters
var index; // Type:  number

value = instance.remove(index);
Javascript (Specification) 
function remove( 
   index : number
) : any;

Parameters

index
The index of menuitem to be removed
Example
//Removes the second menuitem.
$("#menu").wijmenu("remove", 1);
Browser Compatibility
7
5
5

See Also

Reference

wijmenu type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.