Skip to contents

UI-side function for dynamic dropdownMenu.

Usage

dropdown_menu_output(outputId)

dropdownMenuOutput(outputId)

Arguments

outputId

Id of the output.

Value

A dropdown menu that can be passed to dashboardHeader

Functions

  • dropdownMenuOutput(): Create a dropdown menu output (alias for dropdown_menu output for compatibility with shinydashboard)

Examples

if (FALSE) {
dropdownMenuOutput("dropdown")

output$dropdown <- renderDropdownMenu({
  dropdownMenu(messageItem("Michał", "Test message", color = "teal"),
              messageItem("Marek", "Another test!", icon = "warning", color = "red"))
})
}