Well, i think is a good solution for my case…

 

Thanks a lot!!

Max

 

Da: [email protected] [mailto:[email protected]] Per conto di 
Sander Elias
Inviato: lunedì 29 maggio 2017 14:21
A: Angular and AngularJS discussion <[email protected]>
Oggetto: [AngularJS] Re: Angular - Best practice for multi components in the 
same "page"

 

Hi Max,

 

I think a simple ngSwitch  
<https://aio-staging.firebaseapp.com/api/common/NgSwitch> based solution will 
work fine for this.

 

<container-element [ngSwitch]="onStep"> 
    <some-element *ngSwitchCase="1">...</some-element> 
    <some-element *ngSwitchCase="2">...</some-element> 
    <some-element *ngSwitchCase="3">...</some-element> 
</container>


Something along those lines will do in this case I presume.

 

Regards

Sander

 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Angular and AngularJS discussion" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/angular/BEVgjb92yBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected] 
<mailto:[email protected]> .
To post to this group, send email to [email protected] 
<mailto:[email protected]> .
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to