gui » context-menu » custom-items
custom-items
[ root » gui » context-menu » custom-items ]
Use the customItems
array to add additional items to the context menu. Refer to the Context Menu Tutorial for more information.
Attribute | Type | Description |
---|---|---|
function | String | Sets a JavaScript function/portion of code that will be executed when the respective menu item is selected. |
id | String | Sets the ID of the menu item. |
text | String | Sets the text for the menu item. |