| 1 |
define([ |
| 2 |
"dojo/_base/declare", |
| 3 |
"dojo/dom-construct", |
| 4 |
"./TextBox" |
| 5 |
], function(declare, domConstruct, TextBox){ |
| 6 |
|
| 7 |
return declare("dojox.mobile.TextArea",TextBox, { |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
baseClass: "mblTextArea", |
| 17 |
|
| 18 |
postMixInProperties: function(){ |
| 19 |
|
| 20 |
|
| 21 |
if(!this.value && this.srcNodeRef){ |
| 22 |
this.value = this.srcNodeRef.value; |
| 23 |
} |
| 24 |
this.inherited(arguments); |
| 25 |
}, |
| 26 |
|
| 27 |
buildRendering: function(){ |
| 28 |
if(!this.srcNodeRef){ |
| 29 |
this.srcNodeRef = domConstruct.create("textarea", {}); |
| 30 |
} |
| 31 |
this.inherited(arguments); |
| 32 |
} |
| 33 |
}); |
| 34 |
}); |