taskItemTab {vvshiny}R Documentation

taskItemTab function

Description

Item for above dropdownActionMenu function.

Usage

taskItemTab(text, tab_name = NULL, href = NULL, tabSelect = FALSE)

Arguments

text

The text to display for the item.

tab_name

The name of the tab to link to. Default is NULL.

href

The href link for the item. If NULL, it defaults to "#".

tabSelect

A boolean indicating whether to select the tab. Default is FALSE.

Value

An HTML list item.

Examples

taskItemTab(text = "Selected tab", tab_name = "Tab1", tabSelect = TRUE)
taskItemTab(text = "Other tab", tab_name = "Tab2", tabSelect = FALSE)

[Package vvshiny version 0.1.1 Index]