Product: PowerShell Universal
Version: 3.7.13
I know I can use the -Open parameter to make the menu always open, but it doesn’t seem to be an option for the menu to be open if the page is active.
For instance, if I have a navigation menu…
New-UDListItem -Label 'Some Label' -Children {
New-UDListItem -Label 'Page 1' -Href '/page1'
New-UDListItem -Label 'Page 2' -Href '/page2'
} -Open
If I’m on Page 1 the entry in the menu is highlighted. However, without the -Open parameter the menu is collapsed, even though it “knows” I’m on a page in that menu.
Is there anyway to have the menu be open automatically if I’ve landed on a page in the sub-menu?