Learn R Programming

vvshiny (version 0.1.1)

taskItemTab: taskItemTab function

Description

Item for above dropdownActionMenu function.

Usage

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

Value

An HTML list item.

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.

Examples

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

Run the code above in your browser using DataLab