aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding/binding-item.reel/binding-item.html
diff options
context:
space:
mode:
authorEric Guzman2012-06-01 19:04:38 -0700
committerEric Guzman2012-06-01 19:04:38 -0700
commit9b238646d7c9d8ed1fde010cde5597f8787a8806 (patch)
treedab40b0a23cd839c50cca56338c6c9d24bf92a2f /js/panels/binding/binding-item.reel/binding-item.html
parent012b2af27a399fd12b58d5be86bd9509c422010d (diff)
downloadninja-9b238646d7c9d8ed1fde010cde5597f8787a8806.tar.gz
Binding Panel - Item css and toggle button action handler
Diffstat (limited to 'js/panels/binding/binding-item.reel/binding-item.html')
-rw-r--r--js/panels/binding/binding-item.reel/binding-item.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.html b/js/panels/binding/binding-item.reel/binding-item.html
index a569b8b4..79644a7a 100644
--- a/js/panels/binding/binding-item.reel/binding-item.html
+++ b/js/panels/binding/binding-item.reel/binding-item.html
@@ -13,7 +13,8 @@
13 "owner": { 13 "owner": {
14 "prototype": "js/panels/binding/binding-item.reel", 14 "prototype": "js/panels/binding/binding-item.reel",
15 "properties": { 15 "properties": {
16 "element": {"#": "binding-item"} 16 "element": {"#": "binding-item"},
17 "directionToggleButton": {"@": "directionToggleButton" }
17 } 18 }
18 }, 19 },
19 "soProperty": { 20 "soProperty": {
@@ -64,6 +65,19 @@
64 "listener": {"@": "owner"} 65 "listener": {"@": "owner"}
65 }] 66 }]
66 67
68 },
69 "directionToggleButton": {
70 "prototype": "montage/ui/button.reel",
71 "properties": {
72 "element": {"#": "direction-toggle-button"},
73 "identifier": "directionToggleButton",
74 "label": " "
75 },
76 "listeners": [{
77 "type": "action",
78 "listener": {"@": "owner"}
79 }]
80
67 } 81 }
68 82
69 } 83 }
@@ -75,6 +89,7 @@
75 <span data-montage-id="so-property" class="so-property"></span> 89 <span data-montage-id="so-property" class="so-property"></span>
76 <span data-montage-id="so-object" class="so-object-identifier"></span> 90 <span data-montage-id="so-object" class="so-object-identifier"></span>
77 </div> 91 </div>
92 <button data-montage-id="direction-toggle-button" class="direction-toggle-button"></button>
78 <div data-montage-id="boundObject" class="bound-object"> 93 <div data-montage-id="boundObject" class="bound-object">
79 <span data-montage-id="bo-property" class="bo-property"></span> 94 <span data-montage-id="bo-property" class="bo-property"></span>
80 <span data-montage-id="bo-object" class="bo-object-identifier"></span> 95 <span data-montage-id="bo-object" class="bo-object-identifier"></span>