hiddenDownload: Logic for hidden download link

View source: R/hiddenDownload.R

hiddenDownloadR Documentation

Logic for hidden download link

Description

Logic for hidden download link

Usage

hiddenDownload(input, output, session, check, filename, content)

Arguments

input, output, session

standard shiny boilerplate.

check

reactive value to trigger download.

filename

A string of the filename, including extension, that the user's web browser should default to when downloading the file; or a function that returns such a string. (Reactive values and functions may be used from this function.)

content

A function that takes a single argument file that is a file path (string) of a nonexistent temp file, and writes the content to that file path. (Reactive values and functions may be used from this function.)

Value

No return value, called to generate logic for hidden download link.

See Also

hiddenDownload


shinydlplot documentation built on Nov. 19, 2022, 1:06 a.m.