dropdownTabDirect.Rd
Dropdown that is actually a link to a tab.
dropdownTabDirect(
type = c("messages", "notifications", "tasks"),
tab_name,
title,
icon = NULL,
.list = NULL,
header = NULL
)
A character vector of either "messages", "notifications", "tasks". Default is c("messages", "notifications", "tasks").
The name of the tab to link to.
The title of the dropdown.
The icon to use in the dropdown. If NULL, defaults will be set based on type.
A list of items to add to the dropdown.
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")
#> <li class="dropdown messages-menu">
#> <a href="#" onclick="shinyjs.tabSelect('Tab1')" data-tab-name="Tab1" class="dropdown-toggle" data-toggle="dropdown">
#> <i class="far fa-envelope" role="presentation" aria-label="envelope icon"></i>
#> Interesting tab
#> </a>
#> </li>