View source: R/mod_download_plot.R
moduleDownloadPlotUI | R Documentation |
Creates a shinyWidgets::downloadbttn
moduleDownloadPlotUI(
id,
circle = FALSE,
label = "Download",
style = "unite",
color = "default",
size = "default",
status = "default",
icon = NULL,
tooltip_placement = "right",
tooltip_text = "",
right = FALSE,
up = FALSE,
width = "200px",
margin = "10px",
inline = FALSE,
...
)
id |
Module ID |
circle |
Logical. Use a circle button |
label |
The label that should appear on the button. |
style |
Style of the button, to choose between simple, bordered, minimal, stretch, jelly, gradient, fill, material-circle, material-flat, pill, float, unite. |
color |
Color of the button : default, primary, warning, danger, success, royal. |
size |
Size of the button : xs,sm, md, lg. |
status |
Add a class to the buttons, you can use Bootstrap status like 'info', 'primary', 'danger', 'warning' or 'success'.
Or use an arbitrary strings to add a custom class, e.g. : with |
icon |
An icon to appear on the button. |
tooltip_placement |
Where the tooltip should appear relative to its target (top, bottom, left, or right). Defaults to "right" (string) |
tooltip_text |
Tooltip text (string) |
right |
Logical. The dropdown menu starts on the right. |
up |
Logical. Display the dropdown menu above. |
width |
Width of the dropdown menu content. |
margin |
Value of the dropdown margin-right and margin-left menu content. |
inline |
use an inline ( |
... |
List of tag to be displayed into the dropdown menu. |
Nothing. Function run for its side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.