Skip to contents

Shiny output for draw widget

Usage

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

Arguments

outputId

Character: Shiny output ID.

width

Character or Numeric: CSS width.

height

Character or Numeric: CSS height.

Value

Shiny output element for a draw widget.

Examples

if (requireNamespace("shiny", quietly = TRUE)) {
  drawOutput("chart", height = "600px")
}
#> <div class="rtemis-draw html-widget html-widget-output shiny-report-size html-fill-item" id="chart" style="width:100%;height:600px;"></div>