add download attribute to the a tag that generates downloadButoon and downloadLink

This commit is contained in:
Barbara Borges Ribeiro
2016-11-19 02:51:24 +00:00
committed by Joe Cheng
parent b7112a1edd
commit 7cd3bb524c

View File

@@ -1448,6 +1448,7 @@ downloadButton <- function(outputId,
class=paste('btn btn-default shiny-download-link', class),
href='',
target='_blank',
download=NA,
icon("download"),
label)
}
@@ -1459,6 +1460,7 @@ downloadLink <- function(outputId, label="Download", class=NULL) {
class=paste(c('shiny-download-link', class), collapse=" "),
href='',
target='_blank',
download=NA,
label)
}