svgClickHandler | R Documentation |
Handler for an image click
svgClickHandler(id, fun, ..., eventId = if (stop.propagation) "svgClickEvent" else "svgClickEventWithPropagation", class = "clickable_svg", app = getApp(), no.authentication.required = FALSE, stop.propagation = TRUE)
id |
id of the HTML img object |
fun |
the handler fun that will be called when the image is clicked |
... |
additional arguments passed to the handler fun |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.