You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
843 B
22 lines
843 B
define([ |
|
"dojo/_base/declare", |
|
"dijit/form/_ExpandingTextAreaMixin", |
|
"./TextArea" |
|
], function(declare, ExpandingTextAreaMixin, TextArea){ |
|
|
|
return declare("dojox.mobile.ExpandingTextArea", [TextArea, ExpandingTextAreaMixin], { |
|
// summary: |
|
// Non-templated TEXTAREA widget with the capability to adjust its |
|
// height according to the amount of data. |
|
// description: |
|
// A textarea that dynamically expands/contracts (changing its height) as |
|
// the user types, to display all the text without requiring a vertical scroll bar. |
|
// |
|
// Takes all the parameters (name, value, etc.) that a vanilla textarea takes. |
|
// Rows are not supported since this widget adjusts its height. |
|
// example: |
|
// | <textarea dojoType="dojox.mobile.ExpandingTextArea">...</textarea> |
|
|
|
baseClass: "mblTextArea mblExpandingTextArea" |
|
}); |
|
});
|
|
|