A tag (instead of buttons) is in one component (i.e. pages/comp/HTML). The respective function (click) should be called from another component (i.e shared/comp/ts)
Asked
Active
Viewed 36 times
0
-
1I think you mean achieve. See here: https://angular.io/api/core/EventEmitter – wannadream Dec 19 '18 at 05:04
-
Possible duplicate of [How to communicate between component in Angular?](https://stackoverflow.com/questions/30501577/how-to-communicate-between-component-in-angular) – Igor Dec 19 '18 at 12:07