aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/native/input-text.reel/input-text.js
diff options
context:
space:
mode:
authorJonathan Duran2012-06-20 15:04:45 -0700
committerJonathan Duran2012-06-20 15:04:45 -0700
commitc6ae80c488621d4ac189cb63309b6258115f823a (patch)
treedfa26112e1830972fcb212bbb5b17c9a901c645f /node_modules/montage/ui/native/input-text.reel/input-text.js
parent022e714cb5d10cd8575ab9907eddfb184a990b66 (diff)
parentc9852665eadc1acb9c1c881d207c4bd9ef88805f (diff)
downloadninja-c6ae80c488621d4ac189cb63309b6258115f823a.tar.gz
Merge branch 'refs/heads/NINJAmaster' into Timeline-merge-candidate
Diffstat (limited to 'node_modules/montage/ui/native/input-text.reel/input-text.js')
-rw-r--r--node_modules/montage/ui/native/input-text.reel/input-text.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/montage/ui/native/input-text.reel/input-text.js b/node_modules/montage/ui/native/input-text.reel/input-text.js
new file mode 100644
index 00000000..3d627b01
--- /dev/null
+++ b/node_modules/montage/ui/native/input-text.reel/input-text.js
@@ -0,0 +1,26 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7/**
8 @module "montage/ui/input-text.reel"
9 @requires montage/ui/component
10 @requires montage/ui/text-input
11*/
12var Montage = require("montage").Montage,
13 Component = require("ui/component").Component,
14 TextInput = require("ui/text-input").TextInput;
15/**
16 * Wraps the a &lt;input type="text"> element with binding support for the element's standard attributes.
17 @class module:"montage/ui/input-text.reel".InputText
18 @extends module:montage/ui/text-input.TextInput
19
20 */
21var InputText = exports.InputText = Montage.create(TextInput, {
22
23 select: { value: function() { this._element.select(); } }
24
25});
26