render_dropdown_menu {semantic.dashboard} | R Documentation |
Create a dropdown menu output.
Description
Server-side function for dynamic dropdownMenu.
Usage
render_dropdown_menu(expr, env = parent.frame(), quoted = FALSE)
renderDropdownMenu(expr, env = parent.frame(), quoted = FALSE)
Arguments
expr |
dropdownMenu. |
env |
The environment in which to evaluate expr. |
quoted |
Is expr a quoted expression (with |
Value
A dynamic dropdown menu that can be assigned to output.
Functions
-
renderDropdownMenu
: Create a dropdown menu output (alias forrender_dropdown_menu
for compatibility withshinydashboard
)
Examples
## 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)
[Package semantic.dashboard version 0.2.1 Index]