dropdownMenu: Create a dropdown menu to place in a dashboard header

Description Usage Arguments See Also

View source: R/dashboardHeader.R


Create a dropdown menu to place in a dashboard header


dropdownMenu(..., type = c("messages", "notifications", "tasks"),
  badgeStatus = "primary", icon = NULL, .list = NULL)



Items to put in the menu. Typically, message menus should contain messageItems, notification menus should contain notificationItems, and task menus should contain taskItems.


The type of menu. Should be one of "messages", "notifications", "tasks".


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 NULL means to not display a badge.


An icon to display in the header. By default, the icon is automatically selected depending on type, but it can be overriden with this argument.


An optional list containing items to put in the menu Same as the ... arguments, but in list format. This can be useful when working with programmatically generated items.

See Also

dashboardHeader for example usage.

gyang274/ygdashboard documentation built on Jan. 6, 2018, 12:50 a.m.