</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><div [ngSwitch]="authType"></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ng-template [ngSwitchCase]="'login'"></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <div>Login</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ion-button (click)="Switchto('signup')">Signup</ion-button></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </div></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </ng-template></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ng-template [ngSwitchCase]="'signup'" ></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <div> Signup</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ion-button (click)="Switchto('login')">Login</ion-button></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ion-button (click)="Switchto('div')">Div</ion-button></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </div></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </ng-template></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ng-template [ngSwitchCase]="'div'" ></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <div> 3rd div</div></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ion-button (click)="Switchto('signup')">Signup</ion-button></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> <ion-button (click)="Switchto('login')">Submit</ion-button></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </ng-template></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> </div></p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>
</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> Switchto(anytype:string){</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> this.authType= anytype;</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> }</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>