dropdownMenu {shinydashboard} | R Documentation |
Create a dropdown menu to place in a dashboard header
Description
Create a dropdown menu to place in a dashboard header
Usage
dropdownMenu(..., type = c("messages", "notifications", "tasks"),
badgeStatus = "primary", icon = NULL, headerText = NULL, .list = NULL)
Arguments
... |
Items to put in the menu. Typically, message menus should contain
|
type |
The type of menu. Should be one of "messages", "notifications", "tasks". |
badgeStatus |
The status of the badge which displays the number of items
in the menu. This determines the badge's color. Valid statuses are listed
in validStatuses. A value of |
icon |
An icon to display in the header. By default, the icon is
automatically selected depending on |
headerText |
An optional text argument used for the header of the
dropdown menu (this is only visible when the menu is expanded). If none is
provided by the user, the default is "You have |
.list |
An optional list containing items to put in the menu Same as the
|
See Also
dashboardHeader
for example usage.