| vol_widget_output | R Documentation |
Places the viewer in a shiny user interface.
vol_widget_output(outputId, width = "100%", height = "600px")
outputId |
Output identifier. |
width, height |
Size of the element. |
Widget output for shiny
The identifier is also the prefix of the inputs the widget writes
back, so an application that names its output volume observes
input$volume_ready and input$volume_camera.
A shiny output element.
render_vol_widget() for the server half, vol_widget() for the
widget itself, vol_snapshot() to save a PNG, shinyVolumr() for a
complete application.
if (requireNamespace("shiny", quietly = TRUE))
vol_widget_output("volume", height = "700px")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.