I have following problem:
let's assume that I have
Component A that have two
subcomponents Ar and
Subcomponent Ar is recursive created tree and
subcomponent Ad is component which shows details about choosen node in recursive tree (
subcomponent Ar). How can I send selected node from sub(sub)component in
Component Ad using
@Output? Should it be
@Output or something else?
<tree [input]="fooTree" [output]="updateDetails($event)"></tree> <tree-details [input]="input"></tree-details>
In this case I will see only root tree details, how can I do this to get info from other node (one of recursivly created), when is selected?