page_tabgroup: Adds a group of tabs to a website

View source: R/page_tabgroup.R

page_tabgroupR Documentation

Adds a group of tabs to a website

Description

Adds a group of tabs, each of which contains input and/or output components.

Usage

page_tabgroup(..., id = NULL, class = NULL, condition = NULL)

Arguments

...

A separately entered list for each tab and its content. Named entries in each tab entry can be "name" (for the text appearing in the navigation tab), "id", "class", and "condition". Unnamed entries in each list entry are considered the content to be added to the tab's pane. See examples.

id

Unique ID of the tabgroup.

class

A class name to add to the tabgroup.

condition

A string representing the display condition of the entire tabgroup.

Details

See the Bootstrap grid documentation.

Value

A character vector of the content to be added.

Examples

## Not run: 
page_tabgroup(
  "Map" = list(id = "map_tab", output_map()),
  "Data" = list(output_table()),
)

## End(Not run)

uva-bi-sdad/community documentation built on Oct. 12, 2023, 1:18 p.m.