diff options
Diffstat (limited to 'node_modules/montage-user/ui/scroller.reel/scroller.html')
-rw-r--r-- | node_modules/montage-user/ui/scroller.reel/scroller.html | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/node_modules/montage-user/ui/scroller.reel/scroller.html b/node_modules/montage-user/ui/scroller.reel/scroller.html new file mode 100644 index 00000000..34e4bc0a --- /dev/null +++ b/node_modules/montage-user/ui/scroller.reel/scroller.html | |||
@@ -0,0 +1,112 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html> | ||
8 | <head> | ||
9 | <title></title> | ||
10 | <script type="text/montage-serialization"> | ||
11 | { | ||
12 | "scrollbars": { | ||
13 | "module": "montage/ui/scroll-bars.reel", | ||
14 | "name": "ScrollBars", | ||
15 | "properties": { | ||
16 | "element": { | ||
17 | "#": "scrollbars" | ||
18 | } | ||
19 | } | ||
20 | }, | ||
21 | "translateComposer1": { | ||
22 | "module": "montage/ui/composer/translate-composer", | ||
23 | "name": "TranslateComposer", | ||
24 | "properties": { | ||
25 | "component": {"@": "owner"} | ||
26 | }, | ||
27 | "bindings": { | ||
28 | "translateX": { | ||
29 | "boundObject": {"@": "owner"}, | ||
30 | "boundObjectPropertyPath": "scrollX", | ||
31 | "oneway": false | ||
32 | }, | ||
33 | "translateY": { | ||
34 | "boundObject": {"@": "owner"}, | ||
35 | "boundObjectPropertyPath": "scrollY", | ||
36 | "oneway": false | ||
37 | }, | ||
38 | "maxTranslateY": { | ||
39 | "boundObject": {"@": "owner"}, | ||
40 | "boundObjectPropertyPath": "_maxTranslateY" | ||
41 | }, | ||
42 | "maxTranslateX": { | ||
43 | "boundObject": {"@": "owner"}, | ||
44 | "boundObjectPropertyPath": "_maxTranslateX" | ||
45 | }, | ||
46 | "axis": { | ||
47 | "boundObject": {"@": "owner"}, | ||
48 | "boundObjectPropertyPath": "axis" | ||
49 | }, | ||
50 | "hasBouncing": { | ||
51 | "boundObject": {"@": "owner"}, | ||
52 | "boundObjectPropertyPath": "hasBouncing" | ||
53 | }, | ||
54 | "hasMomentum": { | ||
55 | "boundObject": {"@": "owner"}, | ||
56 | "boundObjectPropertyPath": "hasMomentum" | ||
57 | }, | ||
58 | "bouncingDuration": { | ||
59 | "boundObject": {"@": "owner"}, | ||
60 | "boundObjectPropertyPath": "bouncingDuration" | ||
61 | }, | ||
62 | "momentumDuration": { | ||
63 | "boundObject": {"@": "owner"}, | ||
64 | "boundObjectPropertyPath": "momentumDuration" | ||
65 | } | ||
66 | }, | ||
67 | "listeners": [ | ||
68 | { | ||
69 | "type": "translateStart", | ||
70 | "listener": {"@": "owner"} | ||
71 | }, | ||
72 | { | ||
73 | "type": "translateEnd", | ||
74 | "listener": {"@": "owner"} | ||
75 | } | ||
76 | ] | ||
77 | }, | ||
78 | "owner": { | ||
79 | "module": "montage/ui/scroller.reel", | ||
80 | "name": "Scroller", | ||
81 | "properties": { | ||
82 | "_content": { | ||
83 | "#": "content" | ||
84 | }, | ||
85 | "element": { | ||
86 | "#": "montage-scroller" | ||
87 | }, | ||
88 | "_scrollBars": { | ||
89 | "@": "scrollbars" | ||
90 | } | ||
91 | } | ||
92 | } | ||
93 | } | ||
94 | </script> | ||
95 | <style> | ||
96 | .montage-scroller { | ||
97 | position: relative; | ||
98 | display: block; | ||
99 | overflow: hidden; | ||
100 | } | ||
101 | .montage-scroller .content { | ||
102 | float: left; | ||
103 | } | ||
104 | </style> | ||
105 | </head> | ||
106 | <body> | ||
107 | <div id="montage-scroller" class="montage-scroller"> | ||
108 | <div id="scrollbars"></div> | ||
109 | <div id="content" class="content"></div> | ||
110 | </div> | ||
111 | </body> | ||
112 | </html> | ||