mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
Doc tweak to validation
This commit is contained in:
@@ -800,7 +800,8 @@ columnToRowData <- function(data) {
|
||||
#' @param ... A list of tests. Each test should equal \code{NULL} for success,
|
||||
#' \code{FALSE} for silent failure, or a string for failure with an error
|
||||
#' message.
|
||||
#' @param errorClass A CSS class to apply.
|
||||
#' @param errorClass A CSS class to apply. The actual CSS string will have
|
||||
#' \code{shiny-output-error-} prepended to this value.
|
||||
#' @export
|
||||
#' @examples
|
||||
#' # in ui.R
|
||||
|
||||
@@ -13,7 +13,8 @@ need(expr, message = paste(label, "must be provided"), label)
|
||||
\code{FALSE} for silent failure, or a string for failure with an error
|
||||
message.}
|
||||
|
||||
\item{errorClass}{A CSS class to apply.}
|
||||
\item{errorClass}{A CSS class to apply. The actual CSS string will have
|
||||
\code{shiny-output-error-} prepended to this value.}
|
||||
|
||||
\item{expr}{An expression to test. The condition will pass if the expression
|
||||
meets the conditions spelled out in Details.}
|
||||
|
||||
Reference in New Issue
Block a user