From 98aa5cd61d320775677a072735fb8a504adb4306 Mon Sep 17 00:00:00 2001 From: Panayot Cankov Date: Wed, 22 Feb 2017 17:20:39 +0200 Subject: [PATCH] Expose the _getByCssName for the angular animations --- tns-core-modules/ui/core/properties.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tns-core-modules/ui/core/properties.ts b/tns-core-modules/ui/core/properties.ts index 480dcff44..1ae0bcaaa 100644 --- a/tns-core-modules/ui/core/properties.ts +++ b/tns-core-modules/ui/core/properties.ts @@ -657,6 +657,10 @@ export class CssAnimationProperty { Object.defineProperty(cls.prototype, keyframeName, keyframePropertyDescriptor); } } + + public static _getByCssName(name: string): CssAnimationProperty { + return this.properties[name]; + } } export class InheritedCssProperty extends CssProperty implements definitions.InheritedCssProperty {