mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added support for binding to all Style properties directly.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user