menuItem
menuItem(text, callback = NULL, ...)The label to use for the menu item
A callback function to be invoked when the menu item is
clicked. The callback is passed an object with properties identifying the
location the menu was opened at: latlng, layerPoint and containerPoint.
The callback-function must be valid JavaScript and will be wrapped in
JS.
For further options please visit https://github.com/aratcliffe/Leaflet.contextmenu
A contextmenu item list
Other Contextmenu Functions:
addContextmenu(),
addItemContextmenu(),
hideContextmenu(),
insertItemContextmenu(),
mapmenuItems(),
markermenuItems(),
removeItemContextmenu(),
removeallItemsContextmenu(),
setDisabledContextmenu(),
showContextmenu()