View source: R/image-interact-opts.R
clickOpts | R Documentation |
These functions give control over the click
, dblClick
and
hover
events generated by imageOutput()
and plotOutput()
.
clickOpts(id, clip = TRUE)
dblclickOpts(id, clip = TRUE, delay = 400)
hoverOpts(
id,
delay = 300,
delayType = c("debounce", "throttle"),
clip = TRUE,
nullOutside = TRUE
)
id |
Input value name. For example, if the value is |
clip |
Should the click area be clipped to the plotting area? If
|
delay |
For For |
delayType |
The type of algorithm for limiting the number of hover
events. Use |
nullOutside |
If |
brushOpts()
for brushing events.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.