aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding-panel.reel/binding-panel.html
diff options
context:
space:
mode:
authorEric Guzman2012-05-31 21:57:22 -0700
committerEric Guzman2012-05-31 21:57:22 -0700
commit04ef4ffcfde762a0aead4a7b702f3c019fdbeb69 (patch)
treefd317d8de8eaec728376c60273b1f6a214816e8e /js/panels/binding-panel.reel/binding-panel.html
parent4e28e2d2a695d487b1bc127dce0a874691539ca8 (diff)
downloadninja-04ef4ffcfde762a0aead4a7b702f3c019fdbeb69.tar.gz
Binding Panel - Developed panel components.
Diffstat (limited to 'js/panels/binding-panel.reel/binding-panel.html')
-rw-r--r--js/panels/binding-panel.reel/binding-panel.html26
1 files changed, 25 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..d2e18e99 100644
--- a/js/panels/binding-panel.reel/binding-panel.html
+++ b/js/panels/binding-panel.reel/binding-panel.html
@@ -15,6 +15,28 @@
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 }
18 } 40 }
19 41
20 } 42 }
@@ -22,7 +44,9 @@
22 </head> 44 </head>
23<body> 45<body>
24 <div data-montage-id="binding"> 46 <div data-montage-id="binding">
25 this is a test 47 <ul data-montage-id="bindings-list" class="bindings-list">
48 <li data-montage-id="binding-item" class="binding-item"></li>
49 </ul>
26 </div> 50 </div>
27</body> 51</body>
28</html> \ No newline at end of file 52</html> \ No newline at end of file