# Class: Textarea

## "montage/ui/native/textarea.reel". Textarea

#### new Textarea()

Wraps the a <textarea> element with binding support for the element's standard attributes. Uses an ArrayController instance to manage the element's contents and selection.

Source:
  - ui/text-area.reel/text-area.js, line 7

### Extends

- module:montage/ui/text-input.TextInput

### Members

#### _updateOnInput :boolean

Hard to imagine a text-input that is not using a input nor textarea

##### Type:

- boolean

Inherited From:
  - module:montage/ui/text-input.TextInput#_updateOnInput
Default Value:
  - true
Source:
  - ui/text-input.js, line 42

#### cols :number

The maximum number of characters per line of text to display.

##### Type:

- number

Default Value:
  - null
Source:
  - ui/text-area.reel/text-area.js, line 24

#### rows :number

The number of lines of text the browser should render for the textarea.

##### Type:

- number

Default Value:
  - null
Source:
  - ui/text-area.reel/text-area.js, line 31

#### updateOnInput :boolean

When this property and the converter's `allowPartialConversion` are both true, as the user enters text in the input element each new character is added to the component's `value` property, which triggers the conversion. Depending on the type of input element being used, this behavior may not be desirable. For instance, you likely would not want to convert a date string as a user is entering it, only when they've completed their input. Specifies whether

##### Type:

- boolean

Inherited From:
  - module:montage/ui/text-input.TextInput#updateOnInput
Default Value:
  - true
Source:
  - ui/text-input.js, line 52

#### wrap :string

If the value of this property is "hard", the browser will insert line breaks such that each line of user input has no more characters than the value specified by the `cols` property. If the value is "soft" then no line breaks will be added.

##### Type:

- string

Source:
  - ui/text-area.reel/text-area.js, line 38