ContextMenu Mixin
Description
This mixin allows you to use a custom JQuery context menu anywhere in your page.
Links
Name | Required | Java Type | Default Prefix | Default Value | Description |
---|---|---|---|---|---|
items | true | List | var | Items to be listed in contextMenu. | |
trigger | false | String | literal | right | Specifies the event to show the contextMenu. Possible values: right, left, hover, none. |
delay | false | String | literal | 200 | Specifies the time in milliseconds to wait before showing the menu. Only applies to trigger='hover'. |
autoHide | false | String | literal | false | Specifies if the menu must be hidden when the mouse pointer is moved out of the trigger and menu elements. |
zIndex | false | String | literal | 1 | Specifies the offset to add to the calculated zIndex of the trigger element. Set to 0 to prevent zIndex manipulation. |
Right-click here to see custom context menu.