diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/components/ui/input-group.reel/input-group.html | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/components/ui/input-group.reel/input-group.html')
-rw-r--r-- | js/components/ui/input-group.reel/input-group.html | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/js/components/ui/input-group.reel/input-group.html b/js/components/ui/input-group.reel/input-group.html new file mode 100644 index 00000000..c99e29d6 --- /dev/null +++ b/js/components/ui/input-group.reel/input-group.html | |||
@@ -0,0 +1,78 @@ | |||
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" type="text/css" href="input-group.css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "eventDelegator": { | ||
14 | "module": "montage/event/action-event-listener", | ||
15 | "name": "ActionEventListener", | ||
16 | "properties": { | ||
17 | "handler": {"@": "owner"}, | ||
18 | "action": "forwardEvent" | ||
19 | } | ||
20 | }, | ||
21 | "propControl1": { | ||
22 | "module": "js/components/ui/property-control", | ||
23 | "name": "PropertyControl", | ||
24 | "properties": { | ||
25 | "element": {"#": "inputPair"} | ||
26 | }, | ||
27 | "bindings": { | ||
28 | "data": { | ||
29 | "boundObject": {"@": "propList"}, | ||
30 | "boundObjectPropertyPath": "objectAtCurrentIteration" | ||
31 | } | ||
32 | }, | ||
33 | "listeners": [ | ||
34 | { | ||
35 | "type": "propertyChange", | ||
36 | "listener": {"@": "eventDelegator"}, | ||
37 | "capture": false | ||
38 | }, | ||
39 | { | ||
40 | "type": "propertyChanging", | ||
41 | "listener": {"@": "eventDelegator"}, | ||
42 | "capture": false | ||
43 | } | ||
44 | ] | ||
45 | }, | ||
46 | "propList": { | ||
47 | "module": "montage/ui/repetition", | ||
48 | "name": "Repetition", | ||
49 | "properties": { | ||
50 | "element": {"#": "inputList"} | ||
51 | }, | ||
52 | "bindings": { | ||
53 | "objects": { | ||
54 | "boundObject": {"@": "owner"}, | ||
55 | "boundObjectPropertyPath": "data", | ||
56 | "oneway": true | ||
57 | } | ||
58 | } | ||
59 | }, | ||
60 | "owner": { | ||
61 | "module": "js/components/ui/input-group", | ||
62 | "name": "InputGroup", | ||
63 | "properties": { | ||
64 | "element": {"#": "inputRow"}, | ||
65 | "controlsList": {"@": "propList"} | ||
66 | } | ||
67 | } | ||
68 | } | ||
69 | </script> | ||
70 | </head> | ||
71 | <body> | ||
72 | <div id="inputRow" style="-webkit-user-select: none;"> | ||
73 | <div id="inputList"> | ||
74 | <div id="inputPair"></div> | ||
75 | </div> | ||
76 | </div> | ||
77 | </body> | ||
78 | </html> \ No newline at end of file | ||