typescript class with function to be clicked on html event
I have a interface class with function and this objects pushed to array and displayed on html. my problem now is that How to put the function on the html button. here is my code:
I have a interface class with function and this objects pushed to array and displayed on html. my problem now is that How to put the function on the html button. here is my code: