Initializer
TextArea(String text = "", String? name = null, Integer? rows = null, Integer? cols = null, Integer? maxLength = null, Integer? minLength = null, String? placeholder = null, TextAreaWrap? wrap = null, Boolean? autoFocus = null, Boolean? disabled = null, String? form = null, Boolean? formNoValidate = null, Boolean? readOnly = null, Boolean? required = null, String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ...)
Parameters:
  • text = ""
  • name = null
  • rows = null

    Specifies the visible number of lines in a text area.

  • cols = null

    Specifies the visible width of a text area. Must be specified when wrap is hard

  • maxLength = null

    Specifies the maximum number of characters allowed.

  • minLength = null

    Specifies the minimum number of characters allowed.

  • placeholder = null

    Specifies a short hint that describes the expected value of this field.

  • wrap = null

    Specifies how the text in a text area is to be wrapped when submitted in a form.

  • autoFocus = null
  • disabled = null
  • form = null
  • formNoValidate = null
  • readOnly = null
  • required = null
  • id = null
  • classNames = []
  • style = null
  • accessKey = null
  • contextMenu = null
  • dir = null
  • draggable = null
  • dropZone = null
  • inert = null
  • hidden = null
  • lang = null
  • spellcheck = null
  • tabIndex = null
  • title = null
  • translate = null
  • aria = null
  • nonstandardAttributes = empty
  • data = empty
Attributes
attributesSource Codeshared actual default <String->Object>[] attributes
Refines FormElement.attributes ultimately refines Node.attributes
colsSource Codeshared Integer? cols

Specifies the visible width of a text area. Must be specified when wrap is hard

maxLengthSource Codeshared Integer? maxLength

Specifies the maximum number of characters allowed.

minLengthSource Codeshared Integer? minLength

Specifies the minimum number of characters allowed.

placeholderSource Codeshared String? placeholder

Specifies a short hint that describes the expected value of this field.

rowsSource Codeshared Integer? rows

Specifies the visible number of lines in a text area.

tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
textSource Codeshared actual String text
wrapSource Codeshared TextAreaWrap? wrap

Specifies how the text in a text area is to be wrapped when submitted in a form.

Inherited Attributes
Attributes inherited from: BaseElement
Attributes inherited from: Element
Attributes inherited from: FormElement
Attributes inherited from: Object
Attributes inherited from: StyledElement
Attributes inherited from: Node
Attributes inherited from: TextNode
Inherited Methods
Methods inherited from: Object