Description Usage Arguments See Also Examples
miniTabstripPanel
is a tabstrip panel that contains
miniTabPanel
elements. Similar to tabsetPanel
,
but optimized for small page sizes like mobile devices or the RStudio Viewer
pane.
1 2 3 | miniTabstripPanel(..., id = NULL, selected = NULL, between = NULL)
miniTabPanel(title, ..., value = title, icon = NULL)
|
... |
For |
id |
If provided, you can use |
selected |
The |
between |
A tag or list of tags that should be inserted between the content (above) and tabstrip (below). |
title |
Display title for tab. |
value |
The value that should be sent when |
icon |
Icon to appear on the tab; see |
For more information, see the Designing Gadget UI article on shiny.rstudio.com.
1 2 3 4 5 6 7 8 9 | library(shiny)
miniTabstripPanel(
miniTabPanel("Data", icon = icon("table"),
selectInput("dataset", "Data set", ls("package:datasets"))),
miniTabPanel("Subset", icon = icon("sliders"),
uiOutput("subset_ui")
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.