Instances of grandchildren


To get the INSTANCE of a child component we use “#” to set a local variable.

Father.html (selector: [father])
Component-father (click) = "son.someMethod()"
Son #son

But if we want to access an instance of the grandchild? It would be logical to continue with this idea:

Father #father
Buttton click = “father.son.someMethod ()”

But this dont works !!

What is the way to get the information from a grandchild’s instance?


I resolved my problem transfering the data of the son to a shared provider.