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

@@ -47,9 +47,8 @@ export class CssSelector {
property = styleProperty.getPropertyByCssName(this._declarations[i].property);
if (property) {
resolvedValue = this._declarations[i].value;
if (property.valueConverter) {
resolvedValue = property.valueConverter(resolvedValue);
}
// The property.valueConverter is now used to convert the value later on in DependencyObservable._setValueInternal.
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
callback(property, resolvedValue);
}
}