source: Dev/trunk/src/client/dojox/mobile/ExpandingTextArea.js @ 532

Last change on this file since 532 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 843 bytes
Line 
1define([
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});
Note: See TracBrowser for help on using the repository browser.