To listen the events in angular we need to wrap the eventname with a () parenthesis. app.component.html. <!-- listening for the click event --> ...
確定! 回上一頁