Learn R Programming

nextGenShinyApps (version 2.1)

textAreaInput: Create an advanced text area input

Description

Modifications to 'textAreaInput' to allow added styles

Usage

textAreaInput(
  inputId,
  label,
  value = "",
  width = NULL,
  height = NULL,
  cols = NULL,
  rows = NULL,
  placeholder = NULL,
  resize = c("both", "none", "vertical", "horizontal"),
  style = c("default", "pill", "round", "clean"),
  border.type = c("none", "primary", "secondary", "info", "success", "danger", "warning")
)

Value

HTML element of a textAreaInput

Arguments

inputId

The identification name

label

The label for the input

value

The current value of the input

width

width of the text input

height

height of the text input

cols

col of text to display

rows

row of text to display

placeholder

A placeholder text

resize

Make inout resizable, with choices "both", "none", "vertical", "horizontal"

style

Style to adapt, options include "default", "pill", "round", "clean"

border.type

Add a border coloring using either of "none", "primary", "secondary", "info", "success", "danger", "warning"

Examples

Run this code
textAreaInput("caption",
          "Sample Text area input",
          "Data Summary",
          width = "1000px", border.type = "success"
        )


Run the code above in your browser using DataLab