Learn R Programming

semantic.dashboard (version 0.2.1)

dropdown_menu: Create a dropdown menu.

Description

Create a dropdown menu with additional UI elements.

Usage

dropdown_menu(..., type = "messages", icon = NULL, show_counter = TRUE)

dropdownMenu(..., type = "messages", icon = NULL, show_counter = TRUE)

Arguments

...

UI elements to include within the dropdown menu.

type

Type of the displayed items.

icon

Icon of the dropdown menu. If not specyfied created based on type agrument.

show_counter

If true circular label with counter is going to be shown for dropdown.

Value

A dropdown menu that can be passed to dashboardHeader

Functions

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

Examples

Run this code
# NOT RUN {
dropdownMenu(icon = icon("warning sign"), taskItem("Project progress...", 50.777, color = "red"))
dropdownMenu(type = "notifications", notificationItem("This is notification!", color = "red"))
# }

Run the code above in your browser using DataLab