Wijmo UI for the Web
triggerEvent Option

Default value: 'click'

The triggerEvent option specifies the mouse event used to show the menu or submenu. triggerEvent must be used with the trigger option.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijmenu("option", "triggerEvent");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijmenu("option", "triggerEvent", newValue);
        
});
Javascript (Specification) 
var triggerEvent : string;
Remarks
The value can be seted to 'click', 'mouseenter', 'dbclick', 'rtclick'
Browser Compatibility
7
5
5

See Also

Reference

options type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.