renderBarcode: Render barcodes in Shiny applications

Description Usage Arguments

View source: R/shiny.R

Description

Render barcodes in Shiny applications

Usage

1
2
3
renderBarcode(expr, env = parent.frame(), quoted = FALSE, ...)

barcodeOutput(outputId, width = "100%", height = "400px")

Arguments

expr

An expression that returns a list.

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

...

additional options passed to JsBarcode

outputId

output variable to read the plot/image from.

width

Image width/height. Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended. These two arguments are ignored when inline = TRUE, in which case the width/height of a plot must be specified in renderPlot(). Note that, for height, using "auto" or "100%" generally will not work as expected, because of how height is computed with HTML/CSS.

height

Image width/height. Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended. These two arguments are ignored when inline = TRUE, in which case the width/height of a plot must be specified in renderPlot(). Note that, for height, using "auto" or "100%" generally will not work as expected, because of how height is computed with HTML/CSS.


CannaData/shinyBarcode documentation built on May 14, 2019, 9:42 a.m.