Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/lib/onyx/source/Input.js
blob: a1ebe53b98f2156801506ca22f5a564845e10e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
	An onyx-styled input control. In addition to the features of
	<a href="#enyo.Input">enyo.Input</a>, onyx.Input has a *defaultFocus*
	property that can be set to true to	focus the input when it's rendered.
	Only one input should be set as the *defaultFocus*.

	Typically, an onyx.Input is placed inside an
	<a href="#onyx.InputDecorator">onyx.InputDecorator</a>, which provides
	styling, e.g.:

		{kind: "onyx.InputDecorator", components: [
			{kind: "onyx.Input", placeholder: "Enter some text...", onchange: "inputChange"}
		]}

*/
enyo.kind({
	name: "onyx.Input",
	kind: "enyo.Input",
	classes: "onyx-input"
});