diff options
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 | ||