0

I am having a javascript file say xyz.js which contain a function call on some event:

callToCom(x,y,z);

This function call is doing some piece of work.

I want to define that function in some of my angular 5 component.

Bit how can I read a function call trigger from external javascript file?

2
  • Other users marked your question for low quality and need for improvement. I re-worded/formatted your input to make it easier to read/understand. Please review my changes to ensure they reflect your intentions. Feel free to drop me a comment in case you have further questions or feedback for me. Commented Sep 5, 2018 at 9:16
  • See the below link answer stackoverflow.com/questions/44945766/… Commented Sep 5, 2018 at 9:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.