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 quote())? This is useful if you want to save an expression in a variable.

Value

A dynamic dropdown menu that can be assigned to output.

Functions

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]