downloadActionButton | R Documentation |
This function generates a download action button that triggers the download of a file when clicked.
downloadActionButton(
outputId,
label = "Download",
icon = NULL,
width = NULL,
status = NULL,
outline = FALSE,
...
)
outputId |
The output ID for the button. |
label |
The label text displayed on the button. Default is "Download". |
icon |
The icon to be displayed on the button. Default is NULL. |
width |
The width of the button. Default is NULL. |
status |
The status of the button. Default is NULL. |
outline |
Logical indicating whether to use outline style for the button. Default is FALSE. |
... |
Additional parameters to be passed to the actionButton function. |
Returns a download action button with the specified parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.