MCPcopy Index your code
hub / github.com/angular/angular / AnimationComp

Class AnimationComp

packages/core/test/acceptance/integration_spec.ts:3526–3546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3524 }
3525
3526 @Component({
3527 selector: 'animation-comp',
3528 animations: [
3529 trigger('host', [
3530 state('void', style({height: '0px'})),
3531 transition('* => *', [animate('1s')]),
3532 ]),
3533 ],
3534 template: ` <ng-content></ng-content> `,
3535 standalone: false,
3536
3537 changeDetection: ChangeDetectionStrategy.Eager,
3538 })
3539 class AnimationComp {
3540 @HostBinding('@host') public hostState = '';
3541
3542 @HostListener('@host.start', ['$event'])
3543 onLeaveStart(event: AnimationEvent) {
3544 // we just want to register the listener
3545 }
3546 }
3547
3548 TestBed.configureTestingModule({
3549 declarations: [Cmp, AnimationComp],

Callers

nothing calls this directly

Calls 8

ComponentInterface · 0.90
triggerFunction · 0.90
stateFunction · 0.90
styleFunction · 0.90
transitionFunction · 0.90
animateFunction · 0.90
HostBindingInterface · 0.90
HostListenerInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…