# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.Textarea
Search:
Filters Show Private Show Protected Show Deprecated

## Class inputEx.Textarea - extends inputEx.Field

Create a textarea input

### Constructor

inputEx.Textarea `( options )`

Parameters:
  `options <Object>` Added options:
  - rows: rows attribute
  - cols: cols attribute

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### getStateString

`void getStateString ( )`
Add the minLength string message handling

#### insert

`void insert ( text )`
Insert text at the current cursor position

Parameters:
  `text <String>` Text to insert

#### renderComponent

`void renderComponent ( )`
Render an 'INPUT' DOM node

#### setOptions

`void setOptions ( options )`
Set the specific options (rows and cols)

Parameters:
  `options <Object>` Options object as passed to the constructor

#### validate

`void validate ( )`
Uses the optional regexp to validate the field value

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.