diff options
author | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
commit | 8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 (patch) | |
tree | d84807aae0b974b5200050972dd94da6066e363b /node_modules/montage/ui/native/input-text.reel/input-text.js | |
parent | e570fc8518cf03dd03c15982edcf17c5ba0a293d (diff) | |
download | ninja-8fe92b94ce5e1e2857d088752d94e19db7e3d8a8.tar.gz |
montage v11 merge into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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.js | 26 |
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 | */ | ||
12 | var Montage = require("montage").Montage, | ||
13 | Component = require("ui/component").Component, | ||
14 | TextInput = require("ui/text-input").TextInput; | ||
15 | /** | ||
16 | * Wraps the a <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 | */ | ||
21 | var InputText = exports.InputText = Montage.create(TextInput, { | ||
22 | |||
23 | select: { value: function() { this._element.select(); } } | ||
24 | |||
25 | }); | ||
26 | |||