downloadReportButtonUI: Download Report Button (UI)

View source: R/downloadReport.R

downloadReportButtonUIR Documentation

Download Report Button (UI)

Description

Creates the user interface for a download button to download a report

Usage

downloadReportButtonUI(
  id,
  initialFileName,
  placeholder = "Select filename...",
  buttonLabel = "Download report"
)

Arguments

id

A unique id name for this Shiny object. Should match up with the id value for one downloadReportButtonServer().

initialFileName

The default name that will be used for the Filename of the downloaded file.

placeholder

Placeholder text for the filename input. This adds the placeholder attribute to the HTML input tag.

buttonLabel

Text to appear on the download link button.

Value

A set of options for downloading the report, including filename, file format and the all-important download button


keithnewman/shinyDownload documentation built on March 13, 2024, 6:35 a.m.