Merge pull request #3688 from NativeScript/expose-by-css-name

Expose the _getByCssName for the angular animations
This commit is contained in:
Panayot Cankov
2017-02-22 17:44:15 +02:00
committed by GitHub

View File

@ -657,6 +657,10 @@ export class CssAnimationProperty<T extends Style, U> {
Object.defineProperty(cls.prototype, keyframeName, keyframePropertyDescriptor);
}
}
public static _getByCssName(name: string): CssAnimationProperty<any, any> {
return this.properties[name];
}
}
export class InheritedCssProperty<T extends Style, U> extends CssProperty<T, U> implements definitions.InheritedCssProperty<T, U> {