Description Usage Arguments Value Functions Examples
View source: R/dropdown_menu.R
Create a dropdown menu with additional UI elements.
1 2 3 |
... |
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 |
show_counter |
If true circular label with counter is going to be shown for dropdown. |
A dropdown menu that can be passed to dashboardHeader
dropdownMenu
: Create a dropdown menu (alias for dropdown_menu
for compatibility with shinydashboard
)
1 2 | dropdownMenu(icon = icon("warning sign"), taskItem("Project progress...", 50.777, color = "red"))
dropdownMenu(type = "notifications", notificationItem("This is notification!", color = "red"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.