How do I pass input and event output to dynamic component in ng-container using...

Discussão em 'Angular' iniciado por Miraj, Janeiro 30, 2025.

  1. Miraj

    Miraj Guest

    I'm trying to pass an event emitter and input to a dynamic component, but not able to get it through. My angular version is 10.

    I want to perform something like this:

    <ng-container [ngComponentOutlet]="addressForm" [isBilling]="isBilling" (saveAddressEvent)="saveNewAddress($event)"></ng-container>


    Tried passing the inputs and outputs as usual but it's not working.

    Continue reading...

Compartilhe esta Página