K
K
Konstantin2020-01-28 17:32:35
Angular
Konstantin, 2020-01-28 17:32:35

How to send data to Angular service?

There is a project written in Angular, which uses third-party ts code as dependencies, which is not related to the Angular structure in any way.

This code has a click listener. How can I send a message to an Angular component or service from 3rd party ts code?

A service was written on Subject () - but it only works in the Angular structure.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question