hidden-inputs | R Documentation |
Returns an interface element with or without the CSS class shinyjs-hide
, depending on whether the element is hidden based on .hideInterface
.
This allows panels to hide interface elements that are provided by parent classes but are not needed in the subclass.
.selectInputHidden(x, field, ...)
An instance of a Panel class. | |
String specifying the name of the suffix of the ID of the interface element. | |
Further arguments to pass to the Shiny function responsible for producing the interface element. |
.selectInputHidden(x, field, ...)
produces a Shiny selectInput
element that will be hidden if .hideInterface(x)
is TRUE
.
The output of FUN(id, ..)
is returned where id
is defined by concatenating .getEncodedName(x)
and field
(separated by an underscore).
Kevin Rue-Albrecht
.selectInputHidden(ComplexHeatmapPlot(), "SelectionHistory",
choices = c(1, 2, 3), label = "Saved selection (hidden)")
.selectInputHidden(ReducedDimensionPlot(), "Type",
choices = c("UMAP", "PCA"), label = "Reduced dimension type (hidden)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.