I have a refresh icon that is accessible (can be reached by tabbing), but the event trigger to refresh is (click), but this is not triggered when the focus is on the icon and enter is pressed. What is the event trigger for that called?
Code:
<span (click)="refresh()" tabindex="0" role="button"></span>
(keyup.enter)="somefunction()"
this is the event for enter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With