From 9b238646d7c9d8ed1fde010cde5597f8787a8806 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 1 Jun 2012 19:04:38 -0700 Subject: Binding Panel - Item css and toggle button action handler --- js/panels/binding/binding-item.reel/binding-item.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'js/panels/binding/binding-item.reel/binding-item.html') 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 @@ "owner": { "prototype": "js/panels/binding/binding-item.reel", "properties": { - "element": {"#": "binding-item"} + "element": {"#": "binding-item"}, + "directionToggleButton": {"@": "directionToggleButton" } } }, "soProperty": { @@ -64,6 +65,19 @@ "listener": {"@": "owner"} }] + }, + "directionToggleButton": { + "prototype": "montage/ui/button.reel", + "properties": { + "element": {"#": "direction-toggle-button"}, + "identifier": "directionToggleButton", + "label": " " + }, + "listeners": [{ + "type": "action", + "listener": {"@": "owner"} + }] + } } @@ -75,6 +89,7 @@ +