ol-contextmenu
ol-contextmenu copied to clipboard
Disable menu item
Is there any way to disable (i.e. grey out) menu items? I want to disable specific menu items based on whether a feature was clicked or not. If not, is there a method for removing specific menu items?