🔍 An RStudio addin slash regex utility belt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.2KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/shiny_modified_inputs.R
  3. \name{textAreaInputAlt}
  4. \alias{textAreaInputAlt}
  5. \title{Modified Text Area Input}
  6. \usage{
  7. textAreaInputAlt(
  8. inputId,
  9. label,
  10. value = "",
  11. width = NULL,
  12. height = NULL,
  13. cols = NULL,
  14. rows = NULL,
  15. placeholder = NULL,
  16. resize = NULL,
  17. is_code = TRUE
  18. )
  19. }
  20. \arguments{
  21. \item{inputId}{The \code{input} slot that will be used to access the value.}
  22. \item{label}{Display label for the control, or \code{NULL} for no label.}
  23. \item{value}{Initial value.}
  24. \item{width}{The width of the input, e.g. \code{'400px'}, or \code{'100\%'};
  25. see \code{\link[shiny:validateCssUnit]{validateCssUnit()}}.}
  26. \item{height}{The height of the input, e.g. \code{'400px'}, or \code{'100\%'}; see
  27. \code{\link[shiny:validateCssUnit]{validateCssUnit()}}.}
  28. \item{cols}{Value of the visible character columns of the input, e.g. \code{80}.
  29. This argument will only take effect if there is not a CSS \code{width} rule
  30. defined for this element; such a rule could come from the \code{width} argument
  31. of this function or from a containing page layout such as
  32. \code{\link[shiny:fluidPage]{fluidPage()}}.}
  33. \item{rows}{The value of the visible character rows of the input, e.g. \code{6}.
  34. If the \code{height} argument is specified, \code{height} will take precedence in the
  35. browser's rendering.}
  36. \item{placeholder}{A character string giving the user a hint as to what can
  37. be entered into the control. Internet Explorer 8 and 9 do not support this
  38. option.}
  39. \item{resize}{Which directions the textarea box can be resized. Can be one of
  40. \code{"both"}, \code{"none"}, \code{"vertical"}, and \code{"horizontal"}. The default, \code{NULL},
  41. will use the client browser's default setting for resizing textareas.}
  42. \item{is_code}{Should the text input be considered verbatim code input?}
  43. }
  44. \description{
  45. Standard \code{\link[shiny:textAreaInput]{shiny::textAreaInput()}} with additional \code{is_code} parameter, added
  46. code font style for the input text and with \code{autocomplete}, \code{autocorrect},
  47. \code{autocapitalize} and \code{spellcheck} set to \code{off} or \code{false}.
  48. }
  49. \seealso{
  50. Other modified shiny inputs:
  51. \code{\link{textInputCode}()}
  52. }
  53. \concept{modified shiny inputs}