View source: R/image-interact-opts.R
This generates an object representing click options, to be passed as the
click
argument of imageOutput
or
plotOutput
.
1 |
id |
Input value name. For example, if the value is |
clip |
Should the click area be clipped to the plotting area? If FALSE, then the server will receive click events even when the mouse is outside the plotting area, as long as it is still inside the image. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.