Description Usage Arguments Value Functions Examples
View source: R/dropdown_menu_output.R
UI-side function for dynamic dropdownMenu.
1 2 3 | 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
)
1 2 3 4 5 6 7 8 9 | ## 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.