refactor(animations): support browser animation rendering (#14578)
This commit is contained in:

committed by
Igor Minar

parent
88755b0dae
commit
830393d234
23
tools/public_api_guard/core/typings/core.d.ts
vendored
23
tools/public_api_guard/core/typings/core.d.ts
vendored
@ -811,17 +811,13 @@ export declare class ReflectiveKey {
|
||||
|
||||
/** @experimental */
|
||||
export declare class RenderComponentType {
|
||||
animations: {
|
||||
[key: string]: Function;
|
||||
};
|
||||
animations: any;
|
||||
encapsulation: ViewEncapsulation;
|
||||
id: string;
|
||||
slotCount: number;
|
||||
styles: Array<string | any[]>;
|
||||
templateUrl: string;
|
||||
constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string | any[]>, animations: {
|
||||
[key: string]: Function;
|
||||
});
|
||||
constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string | any[]>, animations: any);
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
@ -1031,15 +1027,6 @@ export interface TrackByFunction<T> {
|
||||
/** @experimental */
|
||||
export declare function transition(stateChangeExpr: string | ((fromState: string, toState: string) => boolean), steps: AnimationMetadata | AnimationMetadata[]): AnimationStateTransitionMetadata;
|
||||
|
||||
/** @experimental */
|
||||
export interface TransitionFactory {
|
||||
match(currentState: any, nextState: any): TransitionInstruction;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export interface TransitionInstruction {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare const TRANSLATIONS: InjectionToken<string>;
|
||||
|
||||
@ -1049,12 +1036,6 @@ export declare const TRANSLATIONS_FORMAT: InjectionToken<string>;
|
||||
/** @experimental */
|
||||
export declare function trigger(name: string, animation: AnimationMetadata[]): AnimationEntryMetadata;
|
||||
|
||||
/** @experimental */
|
||||
export interface Trigger {
|
||||
name: string;
|
||||
transitionFactories: TransitionFactory[];
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const Type: FunctionConstructor;
|
||||
|
||||
|
Reference in New Issue
Block a user