Hi Sander,

i got (e.g.) a *main.component.ts* with the line: *myBoolean = false;*
in the *main.component.html* is the line: 
*<app-first-child-component></app-first-child-component>*
in the *firstchild.component.html* is the line: 
*<app-second-child-component></app-second-child-component>*
in the *secondchild.component.ts* is the line: *if ( myBoolean === true ) { 
... }*

It means I would like to use a variable from parent.component.ts inside a 
child.component.ts.
Do you know what I mean?

Frank

Am Montag, 26. März 2018 11:16:15 UTC+2 schrieb Sander Elias:
>
> Hi Frank,
>
> Can you show a little more code, I'm not sure i can follow along with what 
> it is you are trying to do.
>
> Regards
> Sander
>

-- 
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