renderBarcode.Rd 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/shiny.R
  3. \name{renderBarcode}
  4. \alias{renderBarcode}
  5. \alias{barcodeOutput}
  6. \title{Render barcodes in Shiny applications}
  7. \usage{
  8. renderBarcode(expr, env = parent.frame(), quoted = FALSE, ...)
  9. barcodeOutput(outputId, width = "100\%", height = "400px")
  10. }
  11. \arguments{
  12. \item{expr}{An expression that returns a list.}
  13. \item{env}{The environment in which to evaluate \code{expr}.}
  14. \item{quoted}{Is \code{expr} a quoted expression (with \code{quote()})? This
  15. is useful if you want to save an expression in a variable.}
  16. \item{...}{additional options passed to JsBarcode}
  17. \item{outputId}{output variable to read the plot/image from.}
  18. \item{width}{Image width/height. Must be a valid CSS unit (like
  19. \code{"100\%"}, \code{"400px"}, \code{"auto"}) or a number, which will be
  20. coerced to a string and have \code{"px"} appended. These two arguments are
  21. ignored when \code{inline = TRUE}, in which case the width/height of a plot
  22. must be specified in \code{renderPlot()}. Note that, for height, using
  23. \code{"auto"} or \code{"100\%"} generally will not work as expected,
  24. because of how height is computed with HTML/CSS.}
  25. \item{height}{Image width/height. Must be a valid CSS unit (like
  26. \code{"100\%"}, \code{"400px"}, \code{"auto"}) or a number, which will be
  27. coerced to a string and have \code{"px"} appended. These two arguments are
  28. ignored when \code{inline = TRUE}, in which case the width/height of a plot
  29. must be specified in \code{renderPlot()}. Note that, for height, using
  30. \code{"auto"} or \code{"100\%"} generally will not work as expected,
  31. because of how height is computed with HTML/CSS.}
  32. }
  33. \description{
  34. Render barcodes in Shiny applications
  35. }