Can my widget handle a shiny message?

The rgl::rglwidget() function creates an htmlwidget that works in Shiny. It is integrated with crosstalk, so you can use the mouse to select items, and they are highlighted in the rgl display as well as in other linked widgets. This is somewhat similar to the brush in Shiny plots.

In Shiny, the session$resetBrush() method clears the brush. Its source contains this:

        resetBrush = list(
          brushId = brushId

My question is: can set up my rgl widget to receive these messages, or do I need to create my own custom message to do the same thing?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.