Debian Codegraph @

dojox/mobile/ExpandingTextArea.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare",
3 "dijit/form/_ExpandingTextAreaMixin",
4 "./TextArea"
5 ], function(declare, ExpandingTextAreaMixin, TextArea){
6
7 return declare("dojox.mobile.ExpandingTextArea", [TextArea, ExpandingTextAreaMixin], {
8 // summary:
9 // Non-templated TEXTAREA widget with the capability to adjust its
10 // height according to the amount of data.
11 // description:
12 // A textarea that dynamically expands/contracts (changing its height) as
13 // the user types, to display all the text without requiring a vertical scroll bar.
14 //
15 // Takes all the parameters (name, value, etc.) that a vanilla textarea takes.
16 // Rows are not supported since this widget adjusts its height.
17 // example:
18 // | <textarea dojoType="dojox.mobile.ExpandingTextArea">...</textarea>
19
20 baseClass: "mblTextArea mblExpandingTextArea"
21 });
22 });