From 143105a0b9c7765898b22d53489b4bd8df3dff2e Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 26 Apr 2012 03:15:49 -0700 Subject: CSS Panel - add handlers for css panel actions --- js/panels/css-panel/style.reel/style.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'js/panels/css-panel/style.reel/style.html') diff --git a/js/panels/css-panel/style.reel/style.html b/js/panels/css-panel/style.reel/style.html index 0d438ead..469c7268 100644 --- a/js/panels/css-panel/style.reel/style.html +++ b/js/panels/css-panel/style.reel/style.html @@ -40,7 +40,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name": "Hintable", "properties": { "startOnEvent": "click", - "element": {"#": "property"} + "element": {"#": "property"}, + "identifier": "property" }, "bindings": { "value" : { @@ -48,14 +49,21 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "boundObjectPropertyPath": "propertyText", "oneway": true } - } + }, + "listeners": [ + { + "type": "change", + "listener": {"@": "owner"} + } + ] }, "value": { "module": "js/components/hintable.reel", "name": "Hintable", "properties": { "startOnEvent": "click", - "element": {"#": "value"} + "element": {"#": "value"}, + "identifier": "value" }, "bindings": { "value" : { @@ -63,7 +71,13 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "boundObjectPropertyPath": "valueText", "oneway": true } - } + }, + "listeners": [ + { + "type": "change", + "listener": {"@": "owner"} + } + ] } } -- cgit v1.2.3