wijmo.menu.wijmenu Namespace > options type : trigger Option |
Default value: ""
The trigger option handles the open event for the menu or submenu. This option must be used with the triggerEvent option.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijmenu("option", "trigger"); // Set value var newValue; // Type: string $(".selector").wijmenu("option", "trigger", newValue); }); |
Javascript (Specification) | |
---|---|
|
//Set trigger to make menu as input's contextmenu. $(".selector").wijmenu("option", "trigger", "input")