taskItemTab.Rd
Item for above dropdownActionMenu function.
taskItemTab(text, tab_name = NULL, href = NULL, tabSelect = FALSE)
The text to display for the item.
The name of the tab to link to. Default is NULL.
The href link for the item. If NULL, it defaults to "#".
A boolean indicating whether to select the tab. Default is FALSE.
An HTML list item.
taskItemTab(text = "Selected tab", tab_name = "Tab1", tabSelect = TRUE)
#> <li>
#> <a onclick="shinyjs.tabSelect('Tab1')" data-tab-name="Tab1">Selected tab</a>
#> </li>
taskItemTab(text = "Other tab", tab_name = "Tab2", tabSelect = FALSE)
#> <li>
#> <a href="#">
#> <h3>Other tab</h3>
#> </a>
#> </li>