Bind scope function to output event in angular hybrid application

36 views Asked by At

I am using angular hybrid application. I have a directive created in angular js. It has a scope method called onUpdateStatusCompleted. The directive has an angular js component inside it.

The link method is used in the component as after-completed="onUpdateStatusCompleted". AfterCompleted is a function in the component. I have converted this component to angular 16 now. I have created event Emitter for after-completed in my new updated component. When I do (after-completed)="onUpdateStatusCompleted" or (after-completed)="onUpdateStatusCompleted()" the scope method is not being hit.

How to bind angular js directive's scope method to angular output?

0

There are 0 answers