download_ui: Download button.

View source: R/download.R

download_uiR Documentation

Download button.

Description

The UI component of the Shiny module for creating a pretty download button for downloading a csv, png, or jpg file.

Usage

download_ui(id, label = "Download")

Arguments

id

String. The input slot that will be used to access the value.

label

String. Text (default = 'Download') to be shown on the download button.

Value

Must use it together with its counterpart server.

See Also

download_server for the server.

Examples

inst/examples/ex-download.R

cabaceo/shinymod documentation built on Sept. 8, 2023, 12:23 p.m.