Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
File size:
964 bytes
|
Line | |
---|
1 | define([ |
---|
2 | "dojo/_base/declare", |
---|
3 | "dijit/form/_ExpandingTextAreaMixin", |
---|
4 | "./TextArea" |
---|
5 | ], function(declare, ExpandingTextAreaMixin, TextArea){ |
---|
6 | |
---|
7 | /*===== |
---|
8 | TextArea = dojox.mobile.TextArea; |
---|
9 | ExpandingTextAreaMixin = dijit.form._ExpandingTextAreaMixin; |
---|
10 | =====*/ |
---|
11 | return declare("dojox.mobile.ExpandingTextArea", [TextArea, ExpandingTextAreaMixin], { |
---|
12 | // summary: |
---|
13 | // Non-templated TEXTAREA widget with the capability to adjust it's height according to the amount of data. |
---|
14 | // |
---|
15 | // description: |
---|
16 | // A textarea that dynamically expands/contracts (changing it's height) as |
---|
17 | // the user types, to display all the text without requiring a vertical scroll bar. |
---|
18 | // |
---|
19 | // Takes all the parameters (name, value, etc.) that a vanilla textarea takes. |
---|
20 | // Rows is not supported since this widget adjusts the height. |
---|
21 | // |
---|
22 | // example: |
---|
23 | // | <textarea dojoType="dojox.mobile.ExpandingTextArea">...</textarea> |
---|
24 | |
---|
25 | baseClass: "mblTextArea mblExpandingTextArea" |
---|
26 | }); |
---|
27 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.