Description Usage Arguments Value Functions Examples
View source: R/dropdown_menu_output.R
Server-side function for dynamic dropdownMenu.
1 2 3 | render_dropdown_menu(expr, env = parent.frame(), quoted = FALSE)
renderDropdownMenu(expr, env = parent.frame(), quoted = FALSE)
|
expr |
dropdownMenu. |
env |
The environment in which to evaluate expr. |
quoted |
Is expr a quoted expression (with |
A dynamic dropdown menu that can be assigned to output.
renderDropdownMenu
: Create a dropdown menu output (alias for render_dropdown_menu
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.