Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/lib/onyx/source/TextArea.js
blob: 0a508086def1f87b67fdf49830d1b6f5e0461182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
	An onyx-styled TextArea control. In addition to the features of
	<a href="#enyo.TextArea">enyo.TextArea</a>, 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
	<a href="#onyx.InputDecorator">onyx.InputDecorator</a>, 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"
});