shiny_callback: Specify a Shiny callback

Description Usage Arguments Note

View source: R/fig_callback.R

Description

Specify a Shiny callback

Usage

1

Arguments

id

a name that will be made available in your Shiny app as input$id

Note

Depending on the type of callback you are using (selection, range, hover, tap), the value of input$id will change. The best way to get familiar with what to expect as these values is to debug inside your Shiny app and inspect the contents. You can also use custom_callback to write your own custom callbacks that can register other data in your Shiny app. To see what the callbacks look like for each callback type, see, for example, the contents of rbokeh:::handle_range_callback.shinyCallback


rbokeh documentation built on May 29, 2017, 10:59 a.m.

Search within the rbokeh package
Search all R packages, documentation and source code