Expose the _getByCssName for the angular animations

This commit is contained in:
Panayot Cankov
2017-02-22 17:20:39 +02:00
parent 9fa67b5a62
commit 98aa5cd61d

View File

@ -657,6 +657,10 @@ export class CssAnimationProperty<T extends Style, U> {
Object.defineProperty(cls.prototype, keyframeName, keyframePropertyDescriptor); 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> { export class InheritedCssProperty<T extends Style, U> extends CssProperty<T, U> implements definitions.InheritedCssProperty<T, U> {