Usuallly you would do this with an output (event) binding, which can be done in the HTML-Template: [code]<button (click)="onClick($event)">Click Me</button> ...
確定! 回上一頁