UI-side function for dynamic dropdownMenu.
Value
A dropdown menu that can be passed to dashboardHeader
Functions
dropdownMenuOutput()
: Create a dropdown menu output (alias fordropdown_menu output
for compatibility withshinydashboard
)
Examples
if (FALSE) {
dropdownMenuOutput("dropdown")
output$dropdown <- renderDropdownMenu({
dropdownMenu(messageItem("Michał", "Test message", color = "teal"),
messageItem("Marek", "Another test!", icon = "warning", color = "red"))
})
}