Learn R Programming

semantic.dashboard (version 0.2.1)

dropdown_menu_output: Create a dropdown menu output.

Description

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

Run this code
# NOT RUN {
dropdownMenuOutput("dropdown")

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

Run the code above in your browser using DataLab