| navOutputs | R Documentation |
Placeholders in the UI that the server fills in. Each is paired with a
render function in the server, assigned to output$<outputId>:
navOutputTable(outputId, label = NULL, tooltipText = NA)
navOutputPlot(outputId, label = NULL, tooltipText = NA)
navOutputPlotly(outputId, label = NULL, tooltipText = NA)
navOutputGirafe(outputId, label = NULL, tooltipText = NA)
navOutputPic(outputId, label = NULL, tooltipText = NA)
sideNavOutputPic(outputId, label = NULL, tooltipText = NA)
navOutputText(outputId, label = NULL, tooltipText = NA)
outputId |
The output's ID. Fill it in the server with
|
label |
Optional heading shown above the output. |
tooltipText |
Optional text for an info tooltip after the label. |
| Function | Fill it in the server with | Size |
navOutputTable() | DT::renderDT() | full width |
navOutputPlot() | shiny::renderPlot() | 80% wide |
navOutputPlotly() | plotly::renderPlotly() | 80% wide, full window height |
navOutputGirafe() | ggiraph::renderGirafe() | 80% wide, full window height |
navOutputPic() | shiny::renderImage() | 80% of the window wide, full window height |
sideNavOutputPic() | shiny::renderImage() | 40% wide, for beside another output |
navOutputText() | shiny::renderText() | as needed |
Like the inputs, each output can have a label shown above it and a
tooltipText that adds an info icon after the label (or on its own, if
there's no label). Use the tooltip to explain how to read a plot or table.
A 'shiny' output tag to place in the UI, with its label if one was given.
navOutputTable("resultsTable")
navOutputPlotly("pcaPlot", label = "PCA",
tooltipText = "Each point is one sample.")
navOutputText("statusMessage")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.