aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/textfield.reel/textfield.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/textfield.reel/textfield.js')
-rw-r--r--node_modules/montage/ui/textfield.reel/textfield.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/node_modules/montage/ui/textfield.reel/textfield.js b/node_modules/montage/ui/textfield.reel/textfield.js
index b78f7b29..543d2600 100644
--- a/node_modules/montage/ui/textfield.reel/textfield.js
+++ b/node_modules/montage/ui/textfield.reel/textfield.js
@@ -3,12 +3,24 @@
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<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. 4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */ 5 </copyright> */
6
7/**
8 @module "montage/ui/textfield.reel"
9 @requires montage/ui/component
10 @requires montage/ui/text-input
11*/
6var Montage = require("montage").Montage, 12var Montage = require("montage").Montage,
7 Component = require("ui/component").Component, 13 Component = require("ui/component").Component,
8 TextInput = require("ui/text-input").TextInput; 14 TextInput = require("ui/text-input").TextInput;
9/** 15/**
10 * The Text input 16 * Wraps the a &lt;input type="text"> element with binding support for the element's standard attributes.
17 @class module:"montage/ui/textfield.reel".Textfield
18 @extends module:montage/ui/text-input.TextInput
19
11 */ 20 */
12var Textfield = exports.Textfield = Montage.create(TextInput, { 21var Textfield = exports.Textfield = Montage.create(TextInput, {
22
23 select: { value: function() { this._element.select(); } }
24
13}); 25});
14 26