dropdownTabDirect {vvshiny}R Documentation

dropdownTabDirect function

Description

Dropdown that is actually a link to a tab.

Usage

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

Arguments

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.

Value

A dropdown menu in the form of an HTML list, where clicking the dropdown directs to a specific tab.

Examples

dropdownTabDirect(type = "messages", tab_name = "Tab1", title = "Interesting tab")

[Package vvshiny version 0.1.1 Index]