Learn R Programming

glossa (version 1.0.0)

downloadActionButton: Create a Download Action Button

Description

This function generates a download action button that triggers the download of a file when clicked.

Usage

downloadActionButton(
  outputId,
  label = "Download",
  icon = NULL,
  width = NULL,
  status = NULL,
  outline = FALSE,
  ...
)

Value

Returns a download action button with the specified parameters.

Arguments

outputId

The output ID for the button.

label

The label text displayed on the button. Default is "Download".

icon

The icon to be displayed on the button. Default is NULL.

width

The width of the button. Default is NULL.

status

The status of the button. Default is NULL.

outline

Logical indicating whether to use outline style for the button. Default is FALSE.

...

Additional parameters to be passed to the actionButton function.