diff options
author | Valerio Virgillito | 2012-06-05 00:11:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-05 00:11:03 -0700 |
commit | f7e4257745ccd44b8d24555f0ef787429d6e472c (patch) | |
tree | 1965bbb794036a8d6184630c188a34f7a6d956e0 /node_modules/montage/ui/bluemoon/slider.reel | |
parent | c1ec69879028220b0c3f11ad6e24035bf527802c (diff) | |
download | ninja-f7e4257745ccd44b8d24555f0ef787429d6e472c.tar.gz |
adding the latest v0.10 montage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/bluemoon/slider.reel')
-rw-r--r-- | node_modules/montage/ui/bluemoon/slider.reel/slider.html | 2 | ||||
-rw-r--r-- | node_modules/montage/ui/bluemoon/slider.reel/slider.js | 267 |
2 files changed, 87 insertions, 182 deletions
diff --git a/node_modules/montage/ui/bluemoon/slider.reel/slider.html b/node_modules/montage/ui/bluemoon/slider.reel/slider.html index de422a4a..e80a520e 100644 --- a/node_modules/montage/ui/bluemoon/slider.reel/slider.html +++ b/node_modules/montage/ui/bluemoon/slider.reel/slider.html | |||
@@ -11,7 +11,7 @@ | |||
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "owner": { | 13 | "owner": { |
14 | "prototype": "montage/ui/bluemoon/slider.reel", | 14 | "prototype": "ui/bluemoon/slider.reel", |
15 | "properties": { | 15 | "properties": { |
16 | "element": { | 16 | "element": { |
17 | "#": "slider" | 17 | "#": "slider" |
diff --git a/node_modules/montage/ui/bluemoon/slider.reel/slider.js b/node_modules/montage/ui/bluemoon/slider.reel/slider.js index 1a0e3d6e..34c0a8bd 100644 --- a/node_modules/montage/ui/bluemoon/slider.reel/slider.js +++ b/node_modules/montage/ui/bluemoon/slider.reel/slider.js | |||
@@ -19,136 +19,84 @@ var Montage = require("montage").Montage, | |||
19 | */ | 19 | */ |
20 | exports.Slider = Montage.create(Component,/** @lends module:"montage/ui/bluemoon/slider.reel".Slider# */ { | 20 | exports.Slider = Montage.create(Component,/** @lends module:"montage/ui/bluemoon/slider.reel".Slider# */ { |
21 | // Extra elements for rendering | 21 | // Extra elements for rendering |
22 | /** | 22 | |
23 | Description TODO | ||
24 | @private | ||
25 | */ | ||
26 | _bghl: { | 23 | _bghl: { |
27 | enumerable: false, | 24 | value: null, |
28 | value: null | 25 | serializable: true |
29 | }, | 26 | }, |
30 | /** | 27 | |
31 | Description TODO | ||
32 | @private | ||
33 | */ | ||
34 | _handlerbg: { | 28 | _handlerbg: { |
35 | enumerable: false, | 29 | value: null, |
36 | value: null | 30 | serializable: true |
37 | }, | 31 | }, |
38 | /** | 32 | |
39 | Description TODO | ||
40 | @private | ||
41 | */ | ||
42 | _bg: { | 33 | _bg: { |
43 | enumerable: false, | 34 | value: null, |
44 | value: null | 35 | serializable: true |
45 | }, | 36 | }, |
46 | /** | 37 | |
47 | Description TODO | ||
48 | @private | ||
49 | */ | ||
50 | _handler: { | 38 | _handler: { |
51 | enumerable: false, | 39 | value: null, |
52 | value: null | 40 | serializable: true |
53 | }, | 41 | }, |
54 | /** | 42 | |
55 | Description TODO | ||
56 | @private | ||
57 | */ | ||
58 | _line: { | 43 | _line: { |
59 | enumerable: false, | 44 | value: null, |
60 | value: null | 45 | serializable: true |
61 | }, | 46 | }, |
62 | /** | 47 | |
63 | Description TODO | ||
64 | @private | ||
65 | */ | ||
66 | _scale: { | 48 | _scale: { |
67 | enumerable: false, | 49 | value: null, |
68 | value: null | 50 | serializable: true |
69 | }, | 51 | }, |
70 | /** | 52 | |
71 | Description TODO | ||
72 | @private | ||
73 | */ | ||
74 | _line2: { | 53 | _line2: { |
75 | enumerable: false, | 54 | value: null, |
76 | value: null | 55 | serializable: true |
77 | }, | 56 | }, |
78 | /** | 57 | |
79 | Description TODO | ||
80 | @private | ||
81 | */ | ||
82 | _handler2: { | 58 | _handler2: { |
83 | enumerable: false, | 59 | value: null, |
84 | value: null | 60 | serializable: true |
85 | }, | 61 | }, |
86 | /** | 62 | |
87 | Description TODO | ||
88 | @private | ||
89 | */ | ||
90 | _handler3: { | 63 | _handler3: { |
91 | enumerable: false, | 64 | value: null, |
92 | value: null | 65 | serializable: true |
93 | }, | 66 | }, |
94 | /** | 67 | |
95 | Description TODO | ||
96 | @private | ||
97 | */ | ||
98 | _handler4: { | 68 | _handler4: { |
99 | enumerable: false, | 69 | value: null, |
100 | value: null | 70 | serializable: true |
101 | }, | 71 | }, |
102 | /** | 72 | |
103 | Description TODO | ||
104 | @private | ||
105 | */ | ||
106 | _handlerDragArea: { | 73 | _handlerDragArea: { |
107 | enumerable: false, | 74 | value: null, |
108 | value: null | 75 | serializable: true |
109 | }, | 76 | }, |
110 | // Slider properties | 77 | // Slider properties |
111 | /** | 78 | |
112 | Description TODO | ||
113 | @private | ||
114 | */ | ||
115 | _isDragging: { | 79 | _isDragging: { |
116 | enumerable: true, | ||
117 | value: null | 80 | value: null |
118 | }, | 81 | }, |
119 | /** | 82 | |
120 | Description TODO | ||
121 | @private | ||
122 | */ | ||
123 | _cursorPosition: { | 83 | _cursorPosition: { |
124 | enumerable: false, | ||
125 | value: null | 84 | value: null |
126 | }, | 85 | }, |
127 | /** | 86 | |
128 | Description TODO | ||
129 | @private | ||
130 | */ | ||
131 | _width: { | 87 | _width: { |
132 | enumerable: false, | ||
133 | value: 0 | 88 | value: 0 |
134 | }, | 89 | }, |
135 | /** | 90 | |
136 | Description TODO | ||
137 | @private | ||
138 | */ | ||
139 | _minValue: { | 91 | _minValue: { |
140 | enumerable: false, | ||
141 | value: 0 | 92 | value: 0 |
142 | }, | 93 | }, |
143 | /** | 94 | |
144 | Description TODO | ||
145 | @private | ||
146 | */ | ||
147 | _hasTapBarToScroll: { | 95 | _hasTapBarToScroll: { |
148 | enumerable: false, | ||
149 | value: false | 96 | value: false |
150 | }, | 97 | }, |
151 | /** | 98 | |
99 | /** | ||
152 | Description TODO | 100 | Description TODO |
153 | @type {Function} | 101 | @type {Function} |
154 | @default {Boolean} false | 102 | @default {Boolean} false |
@@ -159,14 +107,11 @@ exports.Slider = Montage.create(Component,/** @lends module:"montage/ui/bluemoon | |||
159 | }, | 107 | }, |
160 | set: function (value) { | 108 | set: function (value) { |
161 | this._hasTapBarToScroll = !!value; | 109 | this._hasTapBarToScroll = !!value; |
162 | } | 110 | }, |