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