S
S
Selsh2017-02-13 14:38:33
Angular
Selsh, 2017-02-13 14:38:33

[Angular 2] How to track events inside a component from another component?

There are 2 components, one is responsible for the content categories and the other for the content, it is necessary that when a category is selected in the menu, content is selected.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-02-13
@Selsh

If one is inside the other, then it is possible through @Output.
If they are somewhere in parallel, then through the service you can also Observable from rxjs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question