diff options
Diffstat (limited to 'node_modules/montage/ui')
107 files changed, 3443 insertions, 2939 deletions
diff --git a/node_modules/montage/ui/anchor.reel/anchor.js b/node_modules/montage/ui/anchor.reel/anchor.js index 2c12684b..62eefede 100644 --- a/node_modules/montage/ui/anchor.reel/anchor.js +++ b/node_modules/montage/ui/anchor.reel/anchor.js | |||
@@ -3,78 +3,22 @@ | |||
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 | 6 | /*global require,exports */ | |
7 | /** | ||
8 | @module "montage/ui/anchor.reel" | ||
9 | @requires montage/core/core | ||
10 | @requires montage/ui/native-control | ||
11 | */ | ||
12 | var Montage = require("montage").Montage, | 7 | var Montage = require("montage").Montage, |
13 | Component = require("ui/component").Component, | 8 | Component = require("ui/component").Component, |
14 | NativeControl = require("ui/native-control").NativeControl; | 9 | NativeAnchor = require("ui/native/anchor.reel").Anchor; |
15 | /** | ||
16 | The Anchor component wraps a native <code><a></code> element and exposes its standard attributes as bindable properties. | ||
17 | @class module:"montage/ui/anchor.reel".Anchor | ||
18 | @extends module:montage/native-control.NativeControl | ||
19 | |||
20 | */ | ||
21 | var Anchor = exports.Anchor = Montage.create(NativeControl, { | ||
22 | |||
23 | // HTMLAnchorElement methods | ||
24 | |||
25 | blur: { value: function() { this._element.blur(); } }, | ||
26 | focus: { value: function() { this._element.focus(); } } | ||
27 | |||
28 | }); | ||
29 | |||
30 | Anchor.addAttributes( /** @lends module:"montage/ui/anchor.reel".Anchor# */ { | ||
31 | 10 | ||
32 | /** | 11 | /** |