How can we switch more than one component to another component? I need to use the "two way data binding".
I tried the following way:
<app-drawer-menu [popup]="getPopupInstance" [appHeader]="getAppHeaderInstance"></app-drawer-menu>
export class DrawerMenuComponent implements OnInit {
@Input() private popup: DialogLoginSignupComponent;
@Input() private appHeader: AppHeaderComponent;
....
I need to go to the "DrawerMenuComponent" component "DialogLoginSignupComponent" and "AppHeaderComponent"
this does not work. Where am I wrong?
thx!