@@ -79,6 +79,59 @@ export declare class MyComponent {
7979 static ɵcmp : i0 . ɵɵComponentDeclaration < MyComponent , "my-component" , never , { } , { } , never , never , true , never > ;
8080}
8181
82+ /****************************************************************************************************
83+ * PARTIAL FILE: animate_enter_with_event_host_bindings.js
84+ ****************************************************************************************************/
85+ import { Component } from '@angular/core' ;
86+ import * as i0 from "@angular/core" ;
87+ export class ChildComponent {
88+ fadeFn ( event ) {
89+ event . target . classList . add ( 'fade' ) ;
90+ event . animationComplete ( ) ;
91+ }
92+ }
93+ ChildComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : ChildComponent , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
94+ ChildComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : ChildComponent , isStandalone : true , selector : "child-component" , host : { listeners : { "animate.enter" : "fadeFn($event)" } } , ngImport : i0 , template : `<p>Sliding Content</p>` , isInline : true } ) ;
95+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : ChildComponent , decorators : [ {
96+ type : Component ,
97+ args : [ {
98+ selector : 'child-component' ,
99+ host : { '(animate.enter)' : 'fadeFn($event)' } ,
100+ template : `<p>Sliding Content</p>` ,
101+ } ]
102+ } ] } ) ;
103+ export class MyComponent {
104+ }
105+ MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyComponent , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
106+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyComponent , isStandalone : true , selector : "my-component" , ngImport : i0 , template : `
107+ <child-component animate.enter="slide"></child-component>
108+ ` , isInline : true , dependencies : [ { kind : "component" , type : ChildComponent , selector : "child-component" } ] } ) ;
109+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyComponent , decorators : [ {
110+ type : Component ,
111+ args : [ {
112+ selector : 'my-component' ,
113+ imports : [ ChildComponent ] ,
114+ template : `
115+ <child-component animate.enter="slide"></child-component>
116+ ` ,
117+ } ]
118+ } ] } ) ;
119+
120+ /****************************************************************************************************
121+ * PARTIAL FILE: animate_enter_with_event_host_bindings.d.ts
122+ ****************************************************************************************************/
123+ import { AnimationCallbackEvent } from '@angular/core' ;
124+ import * as i0 from "@angular/core" ;
125+ export declare class ChildComponent {
126+ fadeFn ( event : AnimationCallbackEvent ) : void ;
127+ static ɵfac : i0 . ɵɵFactoryDeclaration < ChildComponent , never > ;
128+ static ɵcmp : i0 . ɵɵComponentDeclaration < ChildComponent , "child-component" , never , { } , { } , never , never , true , never > ;
129+ }
130+ export declare class MyComponent {
131+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyComponent , never > ;
132+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyComponent , "my-component" , never , { } , { } , never , never , true , never > ;
133+ }
134+
82135/****************************************************************************************************
83136 * PARTIAL FILE: animate_enter_with_binding.js
84137 ****************************************************************************************************/
@@ -314,3 +367,56 @@ export declare class MyComponent {
314367 static ɵcmp : i0 . ɵɵComponentDeclaration < MyComponent , "my-component" , never , { } , { } , never , never , true , never > ;
315368}
316369
370+ /****************************************************************************************************
371+ * PARTIAL FILE: animate_leave_with_event_host_bindings.js
372+ ****************************************************************************************************/
373+ import { Component } from '@angular/core' ;
374+ import * as i0 from "@angular/core" ;
375+ export class ChildComponent {
376+ fadeFn ( event ) {
377+ event . target . classList . add ( 'fade' ) ;
378+ event . animationComplete ( ) ;
379+ }
380+ }
381+ ChildComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : ChildComponent , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
382+ ChildComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : ChildComponent , isStandalone : true , selector : "child-component" , host : { listeners : { "animate.leave" : "fadeFn($event)" } } , ngImport : i0 , template : `<p>Fading Content</p>` , isInline : true } ) ;
383+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : ChildComponent , decorators : [ {
384+ type : Component ,
385+ args : [ {
386+ selector : 'child-component' ,
387+ template : `<p>Fading Content</p>` ,
388+ host : { '(animate.leave)' : 'fadeFn($event)' } ,
389+ } ]
390+ } ] } ) ;
391+ export class MyComponent {
392+ }
393+ MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyComponent , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ;
394+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "0.0.0-PLACEHOLDER" , type : MyComponent , isStandalone : true , selector : "my-component" , ngImport : i0 , template : `
395+ <child-component animate.leave="slide"></child-component>
396+ ` , isInline : true , dependencies : [ { kind : "component" , type : ChildComponent , selector : "child-component" } ] } ) ;
397+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "0.0.0-PLACEHOLDER" , ngImport : i0 , type : MyComponent , decorators : [ {
398+ type : Component ,
399+ args : [ {
400+ selector : 'my-component' ,
401+ imports : [ ChildComponent ] ,
402+ template : `
403+ <child-component animate.leave="slide"></child-component>
404+ ` ,
405+ } ]
406+ } ] } ) ;
407+
408+ /****************************************************************************************************
409+ * PARTIAL FILE: animate_leave_with_event_host_bindings.d.ts
410+ ****************************************************************************************************/
411+ import { AnimationCallbackEvent } from '@angular/core' ;
412+ import * as i0 from "@angular/core" ;
413+ export declare class ChildComponent {
414+ fadeFn ( event : AnimationCallbackEvent ) : void ;
415+ static ɵfac : i0 . ɵɵFactoryDeclaration < ChildComponent , never > ;
416+ static ɵcmp : i0 . ɵɵComponentDeclaration < ChildComponent , "child-component" , never , { } , { } , never , never , true , never > ;
417+ }
418+ export declare class MyComponent {
419+ static ɵfac : i0 . ɵɵFactoryDeclaration < MyComponent , never > ;
420+ static ɵcmp : i0 . ɵɵComponentDeclaration < MyComponent , "my-component" , never , { } , { } , never , never , true , never > ;
421+ }
422+
0 commit comments