Any ideas about how to hide/show IGlobalHeaderMenuItems after added and rendered?
Content
Hello,
During the development of a custom menu in Browser UI, I couldn't find a proper way to add menu items into such custom menu and, afterwards, hide/show them in their respective handler functions (at least, based on what I've been reading on the framework's documentation so far).
My idea is to create this menu with two buttons (Login and Logout) and, programatically, hide or show them, according to a internal boolean.
Therefore, I would like to know whether someone else has gone through such case and what has been done.
Looking forward to a reply.
Kind regards,
0