View source: R/ui_shinydashboardplus_adaptions.R
dropdownTabDirect | R Documentation |
Dropdown that is actually a link to a tab.
dropdownTabDirect(
type = c("messages", "notifications", "tasks"),
tab_name,
title,
icon = NULL,
.list = NULL,
header = NULL
)
type |
A character vector of either "messages", "notifications", "tasks". Default is c("messages", "notifications", "tasks"). |
tab_name |
The name of the tab to link to. |
title |
The title of the dropdown. |
icon |
The icon to use in the dropdown. If NULL, defaults will be set based on type. |
.list |
A list of items to add to the dropdown. |
header |
The header for the dropdown. |
A dropdown menu in the form of an HTML list, where clicking the dropdown directs to a specific tab.
dropdownTabDirect(type = "messages", tab_name = "Tab1", title = "Interesting tab")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.