Unfortunately, the source js library does not currently provide event communication. I generally try not to fork and modify the source js, since the maintenance burden then shifts to the R package author. However, we might be able to add some code to communicate events such as click, expand, etc. to the htmlwidget binding to allow for limited integration with Shiny.
Unfortunately, the source js library does not currently provide event communication. I generally try not to fork and modify the source js, since the maintenance burden then shifts to the R package author. However, we might be able to add some code to communicate events such as click, expand, etc. to the htmlwidget binding to allow for limited integration with Shiny.