Answers for "html call typescript function"

0

html call typescript function

myFunction(param1: string) {
    console.log('Everything is ok...');
    return param1 + 1;
}

<button (click)='myFunction("parameter")'>Button Click</button>
Posted by: Guest on April-29-2021

Code answers related to "html call typescript function"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language