moduleDownloadPlotUI: Creates a shinyWidgets::downloadbttn

View source: R/mod_download_plot.R

moduleDownloadPlotUIR Documentation

Creates a shinyWidgets::downloadbttn

Description

Creates a shinyWidgets::downloadbttn

Usage

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,
  ...
)

Arguments

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 status = 'myClass', buttons will have class btn-myClass.

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 (span()) or block container (div()) for the output.

...

List of tag to be displayed into the dropdown menu.

Value

Nothing. Function run for its side effects


CCICB/CRUX documentation built on Jan. 28, 2024, 10:12 p.m.