View source: R/dropdown_menu_output.R
dropdown_menu_output | R Documentation |
UI-side function for dynamic dropdownMenu.
dropdown_menu_output(outputId)
dropdownMenuOutput(outputId)
outputId |
Id of the output. |
A dropdown menu that can be passed to dashboardHeader
dropdownMenuOutput()
: Create a dropdown menu output (alias for dropdown_menu
output
for compatibility with shinydashboard
)
## Not run:
dropdownMenuOutput("dropdown")
output$dropdown <- renderDropdownMenu({
dropdownMenu(messageItem("MichaĆ", "Test message", color = "teal"),
messageItem("Marek", "Another test!", icon = "warning", color = "red"))
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.