From 4332599afffae987a18bb197fcfdd09bc2e94d2b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 30 Apr 2012 13:45:52 -0700 Subject: CSS Style Rule - Add code for changing selectors and showing unapplied rules --- .../rule-components/css-style-rule.reel/css-style-rule.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index 1042d29e..bf101719 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -15,6 +15,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name" : "CssStyleRule", "properties" : { "element" : {"#" : "rule-item"}, + "selectorField": {"@": "selector"}, "declarationComponent": {"@": "declaration"} } }, @@ -52,6 +53,18 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name": "Declaration", "properties": { "element": {"#": "declaration-list"} + }, + "bindings": { + "focusDelegate" : { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "focusDelegate", + "oneway": true + }, + "declaration" : { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "_declaration", + "oneway": true + } } }, "sheetLink": { -- cgit v1.2.3