Register a shiny input value
event_register(p, event = NULL)
a plotly object.
The type of plotly event. All supported events are listed in the function signature above (i.e., the usage section).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.