aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding-panel.reel/binding-panel.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/binding-panel.reel/binding-panel.html')
-rw-r--r--js/panels/binding-panel.reel/binding-panel.html30
1 files changed, 29 insertions, 1 deletions
diff --git a/js/panels/binding-panel.reel/binding-panel.html b/js/panels/binding-panel.reel/binding-panel.html
index 0db7b95f..2850b67c 100644
--- a/js/panels/binding-panel.reel/binding-panel.html
+++ b/js/panels/binding-panel.reel/binding-panel.html
@@ -15,6 +15,32 @@
15 "properties": { 15 "properties": {
16 "element": {"#": "binding"} 16 "element": {"#": "binding"}
17 } 17 }
18 },
19 "arrayController": {
20 "prototype": "montage/ui/controller/array-controller",
21 "bindings": {
22 "content" : {"<-": "@owner.bindings" }
23 }
24 },
25 "repetition": {
26 "prototype": "montage/ui/repetition.reel",
27 "properties": {
28 "element": {"#": "bindings-list"},
29 "contentController": {"@": "arrayController"}
30 }
31 },
32 "bindingItem": {
33 "prototype": "js/panels/binding/binding-item.reel",
34 "properties": {
35 "element": {"#": "binding-item"}
36 },
37 "bindings": {
38 "sourceObjectPropertyPath": {"<-": "@repetition.objectAtCurrentIteration.sourceObjectPropertyPath"},
39 "sourceObject": {"<-": "@repetition.objectAtCurrentIteration.sourceObject"},
40 "boundObjectPropertyPath": {"<-": "@repetition.objectAtCurrentIteration.boundObjectPropertyPath"},
41 "boundObject": {"<-": "@repetition.objectAtCurrentIteration.boundObject"},
42 "oneway": {"<-": "@repetition.objectAtCurrentIteration.oneway"}
43 }
18 } 44 }
19 45
20 } 46 }
@@ -22,7 +48,9 @@
22 </head> 48 </head>
23<body> 49<body>
24 <div data-montage-id="binding"> 50 <div data-montage-id="binding">
25 this is a test 51 <ul data-montage-id="bindings-list" class="bindings-list">
52 <li data-montage-id="binding-item" class="binding-item"></li>
53 </ul>
26 </div> 54 </div>
27</body> 55</body>
28</html> \ No newline at end of file 56</html> \ No newline at end of file