diff options
| author | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
|---|---|---|
| committer | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
| commit | b62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch) | |
| tree | 86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js | |
Diffstat (limited to 'js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js')
| -rw-r--r-- | js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js b/js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js new file mode 100644 index 0000000..3c39d90 --- /dev/null +++ b/js/dojo-1.7.2/dojox/mobile/ExpandingTextArea.js @@ -0,0 +1,28 @@ +//>>built +define("dojox/mobile/ExpandingTextArea", [ + "dojo/_base/declare", + "dijit/form/_ExpandingTextAreaMixin", + "./TextArea" +], function(declare, ExpandingTextAreaMixin, TextArea){ + + /*===== + TextArea = dojox.mobile.TextArea; + ExpandingTextAreaMixin = dijit.form._ExpandingTextAreaMixin; + =====*/ + return declare("dojox.mobile.ExpandingTextArea", [TextArea, ExpandingTextAreaMixin], { + // summary: + // Non-templated TEXTAREA widget with the capability to adjust it's height according to the amount of data. + // + // description: + // A textarea that dynamically expands/contracts (changing it's 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 is not supported since this widget adjusts the height. + // + // example: + // | <textarea dojoType="dojox.mobile.ExpandingTextArea">...</textarea> + + baseClass: "mblTextArea mblExpandingTextArea" + }); +}); |
