diff options
author | Valerio Virgillito | 2012-03-08 13:56:09 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-03-08 13:56:09 -0800 |
commit | 22a66cb6e243a3f1c867b62e3942fd2e828019d9 (patch) | |
tree | 4b2f8bf0d8306964f35435dac3d1f6592b3dee19 /node_modules/montage/ui/skeleton/range-input.reel/range-input.html | |
parent | cef07085443b7c31e878daaad083b7408c57e104 (diff) | |
download | ninja-22a66cb6e243a3f1c867b62e3942fd2e828019d9.tar.gz |
integrating v0.7 montage into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/skeleton/range-input.reel/range-input.html')
-rw-r--r-- | node_modules/montage/ui/skeleton/range-input.reel/range-input.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/node_modules/montage/ui/skeleton/range-input.reel/range-input.html b/node_modules/montage/ui/skeleton/range-input.reel/range-input.html new file mode 100644 index 00000000..8fc12900 --- /dev/null +++ b/node_modules/montage/ui/skeleton/range-input.reel/range-input.html | |||
@@ -0,0 +1,62 @@ | |||
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 | <meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
10 | <link rel="stylesheet" href="range-input.css" /> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "translateComposer1": { | ||
15 | "module": "montage/ui/composer/translate-composer", | ||
16 | "name": "TranslateComposer", | ||
17 | "properties": { | ||
18 | "component": {"@": "owner"}, | ||
19 | "axis": "horizontal", | ||
20 | "hasBouncing": false, | ||
21 | "hasMomentum": false, | ||
22 | "invertAxis": true | ||
23 | }, | ||
24 | "bindings": { | ||
25 | "maxTranslateX": { | ||
26 | "boundObject": {"@": "owner"}, | ||
27 | "boundObjectPropertyPath": "sliderWidth", | ||
28 | "oneway": true | ||
29 | }, | ||
30 | "translateX": { | ||
31 | "boundObject": {"@": "owner"}, | ||
32 | "boundObjectPropertyPath": "sliderLeft", | ||
33 | "oneway": true | ||
34 | }, | ||
35 | "translateX": { | ||
36 | "boundObject": {"@": "owner"}, | ||
37 | "boundObjectPropertyPath": "positionX" | ||
38 | } | ||
39 | } | ||
40 | }, | ||
41 | "owner": { | ||
42 | "module": "montage/ui/skeleton/range-input.reel", | ||
43 | "name": "RangeInput", | ||
44 | "properties": { | ||
45 | "element": {"#": "slider"}, | ||
46 | "sliderEl": {"#": "slider"}, | ||
47 | "handleEl": {"#": "slider-handle"}, | ||
48 | "translateComposer": {"@": "translateComposer1"} | ||
49 | } | ||
50 | |||
51 | } | ||
52 | } | ||
53 | </script> | ||
54 | |||
55 | </head> | ||
56 | <body> | ||
57 | <div id="slider" class="slider"> | ||
58 | <span draggable="true" href="#" id="slider-handle" class="slider-handle"></span> | ||
59 | </div> | ||
60 | |||
61 | </body> | ||
62 | </html> | ||