Added support for binding to all Style properties directly.

This commit is contained in:
Rossen Hristov
2015-03-23 09:20:56 +02:00
parent 974f15e0ad
commit d1f97d7050
10 changed files with 336 additions and 178 deletions

View File

@@ -494,13 +494,13 @@ export var test_binding_cssClass = function () {
property_binding_test("cssClass", "class1", "class2");
}
//export var test_binding_style_color = function () {
// property_binding_style_test("color", "#FF0000", "#00FF00");
//}
export var test_binding_style_color = function () {
property_binding_style_test("color", new color.Color("#FF0000"), new color.Color("#00FF00"));
}
//export var test_binding_style_backgroundColor = function () {
// property_binding_style_test("backgroundColor", "#FF0000", "#00FF00");
//}
export var test_binding_style_backgroundColor = function () {
property_binding_style_test("backgroundColor", new color.Color("#FF0000"), new color.Color("#00FF00"));
}
export var test_binding_style_fontSize = function () {
property_binding_style_test("fontSize", 5, 10);