dblclickOpts: Create an object representing double-click options

Description Usage Arguments

View source: R/image-interact-opts.R

Description

This generates an object representing dobule-click options, to be passed as the dblclick argument of imageOutput or plotOutput.

Usage

1
dblclickOpts(id = NULL, clip = TRUE, delay = 400)

Arguments

id

Input value name. For example, if the value is "plot_dblclick", then the click coordinates will be available as input$plot_dblclick.

clip

Should the click area be clipped to the plotting area? If FALSE, then the server will receive double-click events even when the mouse is outside the plotting area, as long as it is still inside the image.

delay

Maximum delay (in ms) between a pair clicks for them to be counted as a double-click.


ymd526442121/Rproject_shiny documentation built on May 4, 2019, 5:31 p.m.