Skip to content

Commit

Permalink
small doc addition
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Nov 14, 2018
1 parent 4160b89 commit 5ceaaa6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion R/jsFunc-stateFuncs.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#' then you can use \code{toggleState} instead: \code{toggleState(id, test())}.
#'
#' @param id The id of the input element/Shiny tag
#' @param condition An optional argument to \code{toggleState}, see 'Details' below.
#' @param condition An optional argument to \code{toggleState}. The element will
#' be enabled when the \code{condition} is \code{TRUE}, and disabled otherwise.
#' @param selector Query selector of the elements to target. Ignored if the \code{id}
#' argument is given. For example, to disable all text inputs, use
#' \code{selector = "input[type='text']"}
Expand Down
3 changes: 2 additions & 1 deletion man/stateFuncs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/useShinyjs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ceaaa6

Please sign in to comment.