refactor(animations): remove publicApi annotations from triggers (#42763)

the buildTrigger function and AnimationTrigger class are annotated
as publicApi which seems wrong and makes changes to the two
problematic, so they are being removed here

see: https://github.com/angular/angular/pull/42763/files#r671481902

PR Close #42763
This commit is contained in:
dario-piotrowicz 2021-07-17 13:37:36 +01:00 committed by Alex Rickabaugh
parent f12c53342c
commit b41a2b3623
1 changed files with 0 additions and 6 deletions

View File

@ -15,17 +15,11 @@ import {AnimationStyleNormalizer} from './style_normalization/animation_style_no
/**
* @publicApi
*/
export function buildTrigger(
name: string, ast: TriggerAst, normalizer: AnimationStyleNormalizer): AnimationTrigger {
return new AnimationTrigger(name, ast, normalizer);
}
/**
* @publicApi
*/
export class AnimationTrigger {
public transitionFactories: AnimationTransitionFactory[] = [];
public fallbackTransition: AnimationTransitionFactory;