Dropdown that is actually more of a menu with adapted tasks.

dropdownTabMenu(
  ...,
  type = c("messages", "notifications", "tasks"),
  title = NULL,
  icon = NULL,
  .list = NULL,
  header = NULL
)

Arguments

...

additional arguments.

type

A character vector of either "messages", "notifications", "tasks". Default is c("messages", "notifications", "tasks").

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.

Value

A dropdown menu in the form of an HTML list.

Examples

dropdownTabMenu(type = "messages", title = "Category tab items")
#> <li class="dropdown messages-menu">
#>   <a href="#" class="dropdown-toggle" data-toggle="dropdown">
#>     <i class="far fa-envelope" role="presentation" aria-label="envelope icon"></i>
#>     Category tab items
#>   </a>
#>   <ul class="dropdown-menu">
#>     <li>
#>       <ul class="menu"></ul>
#>     </li>
#>   </ul>
#> </li>