From 7246efab402664c75bd0de226c0b9a91b384839b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Wed, 11 Apr 2012 16:45:23 -0700 Subject: CSS Style - Add disabled UI state. Added Hintable and editable UI state. --- js/panels/css-panel/style.reel/style.html | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 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 f636ef6b..6cecf43e 100644 --- a/js/panels/css-panel/style.reel/style.html +++ b/js/panels/css-panel/style.reel/style.html @@ -17,10 +17,26 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "element" : {"#" : "container"} } }, + "checkbox": { + "module": "montage/ui/checkbox.reel", + "name": "Checkbox", + "properties": { + "element": {"#": "disable-checkbox"}, + "checked": true + }, + "bindings": { + "checked" : { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "enabled", + "oneway": false + } + } + }, "property": { - "module": "montage/ui/dynamic-text.reel", - "name": "DynamicText", + "module": "js/components/hintable.reel", + "name": "Hintable", "properties": { + "startOnEvent": "click", "element": {"#": "property"} }, "bindings": { @@ -32,9 +48,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } }, "value": { - "module": "montage/ui/dynamic-text.reel", - "name": "DynamicText", + "module": "js/components/hintable.reel", + "name": "Hintable", "properties": { + "startOnEvent": "click", "element": {"#": "value"} }, "bindings": { @@ -49,9 +66,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
-