I am trying to use typescript in my application. for the same I am doing an POC and in POC i want to call a function Defined in TypeScript class on button click.
Is it possible to call the function? If yes then how?
So far I have seen examples where the functions are called on Page load only. I need to call a function on certain event.
Thanks.