move changes to branch
[xtuple] / lib / enyo-x / source / widgets / text_area.js
1 /*jshint node:true, indent:2, curly:true, eqeqeq:true, immed:true, latedef:true, newcap:true, noarg:true,
2 regexp:true, undef:true, trailing:true, white:true */
3 /*global XT:true, XV:true, Globalize:true, enyo:true, _:true */
4
5 (function () {
6
7   /**
8     @name XV.TextArea
9     @class Implements an onyx.TextArea with API support from XV.Input.
10     Use to implement a multi-line input box.<br />
11     Creates an HTML textarea element.<br />
12     For example, used as a component of {@link XV.CommentBoxItem}.
13     @extends XV.Input
14    */
15   enyo.kind(
16     /** @lends XV.TextArea# */{
17     name: "XV.TextArea",
18     kind: "XV.InputWidget",
19     classes: "xv-textarea",
20     published: {
21       showLabel: false
22     },
23     components: [
24       {name: "input", kind: "onyx.TextArea", classes: "xv-textarea-input",
25         onchange: "inputChanged", onkeydown: "keyDown"}
26     ]
27   });
28
29 }());