Allow shared brush IDs

This commit is contained in:
Joe Cheng
2015-09-08 11:08:48 -07:00
parent 67823556d2
commit 129714b044
9 changed files with 113 additions and 20 deletions

View File

@@ -927,7 +927,10 @@ imageOutput <- function(outputId, width = "100%", height="400px",
#' be able to draw a rectangle in the plotting area and drag it around. The
#' value will be a named list with \code{xmin}, \code{xmax}, \code{ymin}, and
#' \code{ymax} elements indicating the brush area. To control the brush
#' behavior, use \code{\link{brushOpts}}.
#' behavior, use \code{\link{brushOpts}}. Multiple
#' \code{imageOutput}/\code{plotOutput} calls may share the same \code{id}
#' value; brushing one image or plot will cause any other brushes with the
#' same \code{id} to disappear.
#' @inheritParams textOutput
#' @note The arguments \code{clickId} and \code{hoverId} only work for R base
#' graphics (see the \pkg{\link{graphics}} package). They do not work for