iheatmapr_event | R Documentation |
This function must be called within a reactive shiny context.
iheatmapr_event(
object,
event = c("hover", "click", "relayout"),
session = shiny::getDefaultReactiveDomain()
)
object |
|
event |
The type of plotly event. Currently 'plotly_hover', 'plotly_click', 'plotly_selected', and 'plotly_relayout' are supported. |
session |
a shiny session object (the default should almost always be used). |
## Not run:
shiny::runApp(system.file("examples", "shiny_example", package = "iheatmapr"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.