Hi,
Please have a look at this snippet: Code Snippet
I have two questions that I’m hoping someone can answer.
First, notice how for items 1 and 2 in the submenu I have one configured as disabled:true and one configured as hidden:true, but unfortunately those do not seem to have the desired effect. I can call disableItem() or hideItem() after the fact as I demonstrate, but is it not possible to have items initially disabled or hidden via configuration like I’ve tried?
Second, and this is more minor, but notice how the menu’s arrow points to the bottom right corner of the triggering top-level menu item? I’d prefer it if it was pointed at the middle, centered nicely. Is there a way to achieve that?
Thanks!
Frank