dropdown_menu_output: Create a dropdown menu output.

View source: R/dropdown_menu_output.R

dropdown_menu_outputR Documentation

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

## 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)

Appsilon/semantic.dashboard documentation built on April 25, 2023, 7:38 p.m.