| subTabs | R Documentation |
Tabs that go inside a biLevelTab() or a triLevelTab():
triSubTab(title, ..., icon = NULL, id = title, height = cardHeight())
subTab(title, ..., value = title)
subSidebarTab(title, sidebarElements = NULL, ..., value = title, icon = NULL)
triSubSidebarTab(
title,
sidebarElements = NULL,
...,
icon = NULL,
id = title,
height = cardHeight()
)
subTwoColPage(leftSide, rightSide)
title |
Tab name shown in the tab strip or menu. |
... |
Contents. See the table above. |
icon |
Optional icon shown before the title. |
id |
ID of the row of sub tabs inside the tab. Defaults to the title with spaces removed. |
height |
Height of the card holding the tab's contents. |
value |
ID of the tab, used with |
sidebarElements |
A |
leftSide, rightSide |
Contents of the left and right columns. Wrap
several items in |
| Function | Goes inside | Holds |
subTab() | biLevelTab(), triSubTab(), triSubSidebarTab() | inputs and outputs |
subSidebarTab() | biLevelTab(), triSubTab(), triSubSidebarTab() | a sidebar plus inputs and outputs |
triSubTab() | triLevelTab() | subTab(), subSidebarTab() |
triSubSidebarTab() | triLevelTab() | a sidebar plus subTab(), subSidebarTab() |
subTwoColPage() isn't a tab: it splits a page into two equal columns and
can go inside any tab.
A 'bslib' navigation panel, or for subTwoColPage() a column layout.
biLevelTab("Explore",
subSidebarTab("PCA",
sidebarElements = list(navButton("runPCA", "Create PCA")),
navOutputPlotly("pcaPlot")
),
subTab("Table",
subTwoColPage(navOutputTable("tableLeft"), navOutputTable("tableRight"))
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.