download_args: Shared download arguments (internal)

View source: R/params.R

download_argsR Documentation

Shared download arguments (internal)

Description

Documentation-only function. Holds the canonical ⁠@param⁠ entries for outputId, file_type and file_size, inherited by the download-button family via ⁠@inheritParams⁠.

Usage

download_args(outputId, file_type, file_size)

Arguments

outputId

The name of the output slot that the shiny::downloadHandler() is assigned to.

file_type

File extension shown to the user (e.g. "CSV", "PDF"). Defaults to "CSV".

file_size

Optional human-readable file size; a string ending in KB, MB, GB, or rows.


shinyGovstyle documentation built on Oct. 16, 2026, 1:07 a.m.