SyntaxFix
Write A Post
Hire A Developer
Questions
What personally me fount usable for me is:
(mousedown)="callEvent()" (keyup.enter)="$event.preventDefault()
keyup.enter prevents the event from triggering on keyup, but it still occurs for keydown, that works for me.
keyup.enter