diff options
author | Armen Kesablyan | 2012-06-20 15:04:25 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-20 15:04:25 -0700 |
commit | fc818d31de267d2b77fda3b3029ad38d48698be8 (patch) | |
tree | 122ebf54d3378578c1ded4d786ba3940d4a911d2 /node_modules/montage/ui/input-range.reel/input-range.html | |
parent | 120e31dcf1e11eed11ee430d77c438e7b073e9f8 (diff) | |
parent | c9852665eadc1acb9c1c881d207c4bd9ef88805f (diff) | |
download | ninja-fc818d31de267d2b77fda3b3029ad38d48698be8.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'node_modules/montage/ui/input-range.reel/input-range.html')
-rw-r--r-- | node_modules/montage/ui/input-range.reel/input-range.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/node_modules/montage/ui/input-range.reel/input-range.html b/node_modules/montage/ui/input-range.reel/input-range.html new file mode 100644 index 00000000..36a27e15 --- /dev/null +++ b/node_modules/montage/ui/input-range.reel/input-range.html | |||
@@ -0,0 +1,43 @@ | |||
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 charset="utf-8"> | ||
10 | <link rel="stylesheet" href="input-range.css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "translateComposer1": { | ||
14 | "prototype": "ui/composer/translate-composer", | ||
15 | "properties": { | ||
16 | "component": {"@": "owner"}, | ||
17 | "axis": "horizontal", | ||
18 | "hasMomentum": false, | ||
19 | "minTranslateX": 0 | ||
20 | }, | ||
21 | "bindings": { | ||
22 | "maxTranslateX": {"<-": "@owner._sliderWidth"}, | ||
23 | "translateX": {"<->": "@owner._positionX"} | ||
24 | } | ||
25 | }, | ||
26 | "owner": { | ||
27 | "properties": { | ||
28 | "element": {"#": "inputRange"}, | ||
29 | "_handleEl": {"#": "inputRangeThumb"}, | ||
30 | "_translateComposer": {"@": "translateComposer1"} | ||
31 | } | ||
32 | |||
33 | } | ||
34 | } | ||
35 | </script> | ||
36 | </head> | ||
37 | <body> | ||
38 | <!-- inputRange needs to be a div to work in Firefox --> | ||
39 | <div data-montage-id="inputRange" class="montage-inputRange"> | ||
40 | <div data-montage-id="inputRangeThumb" draggable="true" class="montage-inputRange-thumb"></div> | ||
41 | </div> | ||
42 | </body> | ||
43 | </html> \ No newline at end of file | ||