Closed minedun6 closed 2 years ago
No, this is not possible but the whole contextmenu option can be set to a function - in that case you can control which items are shown depending on which node was selected - that should be more than enough for what you need.
Hi, is it possible to add a
hidden
option to the menu items of a context menu, based on boolean/closure ? Eg: