This is the UI-side function for creating a dynamic sidebar menu.
See also
renderMenu for the corresponding server-side function
and examples, and sidebarMenu for the corresponding function
for generating static sidebar menus.
Other menu outputs:
dropdownMenuOutput(),
menuItemOutput(),
menuOutput(),
renderMenu()
