R: Create a ggiraph output element

ggiraphOutput {ggiraph} | R Documentation

## Create a ggiraph output element

### Description

Render a ggiraph within an application page.

### Usage

    ggiraphOutput(outputId, width = "100%", height = "500px")

### Arguments

`outputId` | output variable to read the ggiraph from.
`width` | widget width
`height` | widget height

### Examples

    ## Not run:
    if( require(shiny) && interactive() ){
      app_dir <- file.path( system.file(package = "ggiraph"), "examples/shiny/cars" )
      shinyAppDir(appDir = app_dir )
     }
    if( require(shiny) && interactive() ){
      app_dir <- file.path( system.file(package = "ggiraph"), "examples/shiny/crimes" )
      shinyAppDir(appDir = app_dir )
    }

    ## End(Not run)

[Package ggiraph version 0.7.9 Index]