myDownloadBttn: myDownloadBttn

View source: R/cms_helper.R

myDownloadBttnR Documentation

myDownloadBttn

Description

Modifying downloadBttn from shinyWidgets so it doesn't have download ison as it's default https://github.com/dreamRs/shinyWidgets

Usage

myDownloadBttn(
  outputId,
  label = "Download",
  style = "unite",
  color = "primary",
  size = "md",
  block = FALSE,
  icon_name = "download",
  no_outline = TRUE
)

Arguments

outputId

The name of the output slot that the downloadHandler is assigned to.

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.

block

Logical, full width button.

no_outline

Logical, don't show outline when navigating with keyboard/interact using mouse or touch.


schyen/OCMSExplorer documentation built on Feb. 15, 2023, 4:39 p.m.