downloadButtonWithIcon: Creates a Download Button with Icon

Description Usage Arguments Value See Also

View source: R/shiny-misc.R

Description

Has the same functionality as shiny::downloadButton but it also allows the user to customize the button by adding an icon to it. It has a corresponding downloadHandler in the server function.

Usage

1
2
downloadButtonWithIcon(outputId, label = "Download", class = NULL,
  icon = shiny::icon("download"), ...)

Arguments

outputId

Character, the name of the output slot to which the corresponding downloadHandler is assigned.

label

the label that appears on the button

class

additional CSS classes

icon

the icon that appears on the button

...

named attributes applied to the button

Value

A HTML tag object which can be also rendered as HTML

See Also

downloadButton


numeract/shinyXT documentation built on May 30, 2019, 5 a.m.