Specify a Shiny callback

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.