Create an object representing hover options
hoverOpts(id = NULL, delay = 300, delayType = c("debounce", "throttle"), clip = TRUE, nullOutside = TRUE)
Input value name. For example, if the value is
"plot_hover", then the hover coordinates will be available as
How long to delay (in milliseconds) when debouncing or throttling, before sending the mouse location to the server.
The type of algorithm for limiting the number of hover events. Use
"throttle"to limit the number of hover events to one every
"debounce"to suspend events while the cursor is moving, and wait until the cursor has been at rest for
delaymilliseconds before sending an event.
Should the hover area be clipped to the plotting area? If FALSE, then the server will receive hover events even when the mouse is outside the plotting area, as long as it is still inside the image.
TRUE(the default), the value will be set to
NULLwhen the mouse exits the plotting area. If
FALSE, the value will stop changing when the cursor exits the plotting area.