downloadButton_custom | R Documentation |
Use this function to create a custom download button or link. When clicked, it will initiate a browser download. The filename and contents are specified by the corresponding downloadHandler() defined in the server function.
downloadButton_custom(
outputId,
label = "Download",
class = NULL,
status = "primary",
...,
icon = shiny::icon("download")
)
outputId |
The name of the output slot that the downloadHandler is assigned to. |
label |
The label that should appear on the button. |
class |
Additional CSS classes to apply to the tag, if any. Default NULL. |
status |
The status of the button; default is "primary." |
... |
Other arguments to pass to the container tag function. |
icon |
An icon() to appear on the button; default is icon("download"). |
An HTML tag to allow users to download the object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.