Wijmo UI for the Web
deactivate Method
The javascript event.
The 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.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var event; // Type:  event
    
    returnsValue = $(".selector").wijmenu("deactivate", event);
});
Javascript (Specification) 
function deactivate( 
   event : event
) : any;

Parameters

event
The javascript event.
Browser Compatibility
7
5
5

See Also

Reference

wijmenu type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.