Wijmo UI for the Web
activate Method
wijmo.menu Namespace > wijmenu type : activate Method
The javascript event.
A menu item to activate.
This 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.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var event; // Type:  event
    var item; // Type:  any
    
    returnsValue = $(".selector").wijmenu("activate", event, item);
});
function activate( 
   event : event,
   item : any
) : any;

Parameters

event
The javascript event.
item
A menu item to activate.
Example
//Actives a menu item with "sub-item" class.
$(".selector").wijmenu("activate", null, $(".sub-item"));
See Also

Reference

wijmenu type
wijmenu jQuery Widget