From 816de0918c28461cc2d1e3457348fd5b6e11950f Mon Sep 17 00:00:00 2001 From: Lionel LASKE Date: Tue, 18 Sep 2012 19:16:20 +0000 Subject: Initial version --- (limited to 'html/lib/onyx/source/TextArea.js') diff --git a/html/lib/onyx/source/TextArea.js b/html/lib/onyx/source/TextArea.js new file mode 100644 index 0000000..0a50808 --- /dev/null +++ b/html/lib/onyx/source/TextArea.js @@ -0,0 +1,19 @@ +/** + An onyx-styled TextArea control. In addition to the features of + enyo.TextArea, onyx.TextArea has a + *defaultFocus* property that can be set to true to focus the TextArea when + it's rendered. Only one TextArea should be set as the *defaultFocus*. + + Typically, an onyx.TextArea is placed inside an + onyx.InputDecorator, which provides + styling, e.g.: + + {kind: "onyx.InputDecorator", components: [ + {kind: "onyx.TextArea", onchange: "inputChange"} + ]} +*/ +enyo.kind({ + name: "onyx.TextArea", + kind: "enyo.TextArea", + classes: "onyx-textarea" +}); -- cgit v0.9.1