[TIMOB-21] API - Titanium.UI.createTextArea
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:50:08.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | GA - M1 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:22:38.000+0000 |
| Updated | 2011-04-17T01:50:08.000+0000 |
Description
Description
The purpose of this API is to create a text area native control.
Example
var textArea = Titanium.UI.createTextArea({id:'foo', value:'bar'});
textArea.addEventListener('change',function(e)
{
e.value // current value of text area
});
API Arguments
id : optional. HTML element id for where the text area will be placed if placed in webview
value : optional. initial value of text area
color : optional. text color
backgroundColor : optional. background color of field
resolved in 0.5