SyntaxFix
Write A Post
Hire A Developer
Questions
Use (keyup.enter).
(keyup.enter)
Angular can filter the key events for us. Angular has a special syntax for keyboard events. We can listen for just the Enter key by binding to Angular's keyup.enter pseudo-event.
keyup.enter