inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.Textarea
Search:
 
Filters

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:

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

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.