We can write (keydown.enter)="onEnter($event)" and event handler (and change detection cycle with it) would only be triggered by pressing Enter key ...
確定! 回上一頁