aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/label-checkbox.reel/label-checkbox.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 00:54:30 -0700
committerValerio Virgillito2012-05-16 00:54:30 -0700
commit6dfe2e62b1d7a71daf097aac3a31213d564e6122 (patch)
treec40c07be0bfcdd9001723b65bf4cc3b0358da9fe /js/components/ui/label-checkbox.reel/label-checkbox.html
parent9464de58d5bb8b467829926b9d01c0760ec4d790 (diff)
downloadninja-6dfe2e62b1d7a71daf097aac3a31213d564e6122.tar.gz
Removing the old checkbox components. Created a new LabelCheckbox
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/ui/label-checkbox.reel/label-checkbox.html')
-rwxr-xr-xjs/components/ui/label-checkbox.reel/label-checkbox.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/js/components/ui/label-checkbox.reel/label-checkbox.html b/js/components/ui/label-checkbox.reel/label-checkbox.html
new file mode 100755
index 00000000..0efc7ae0
--- /dev/null
+++ b/js/components/ui/label-checkbox.reel/label-checkbox.html
@@ -0,0 +1,54 @@
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 <link rel="stylesheet" href="label-checkbox.css" />
10 <script type="text/montage-serialization">
11 {
12 "owner": {
13 "prototype": "js/components/ui/label-checkbox.reel",
14 "properties": {
15 "element": {"#": "labelCheckbox"},
16
17 "_checkbox": {"@": "checkbox"},
18 "_labelText": {"@": "labelText"}
19 }
20 },
21
22 "checkbox": {
23 "prototype": "montage/ui/checkbox.reel",
24 "properties": {
25 "element": {"#": "checkbox"},
26 "checked": false
27 },
28 "listeners": [
29 {
30 "type": "action",
31 "listener": {"@": "owner"},
32 "capture": false
33 }
34 ]
35 },
36
37 "labelText": {
38 "prototype": "montage/ui/dynamic-text.reel",
39 "properties": {
40 "element": {"#": "label"}
41 }
42 }
43 }
44 </script>
45</head>
46<body>
47 <!--<span data-montage-id="labelCheckbox" class="labelCheckbox">-->
48 <label data-montage-id="labelCheckbox" class="label-checkbox">
49 <input data-montage-id="checkbox" class="nj-skinned" type="checkbox">
50 <span data-montage-id="label" class="checkbox-label"></span>
51 </label>
52 <!--</span>-->
53</body>
54</html> \ No newline at end of file