Using a 3rd party software that is a heavy user of angularjs, there are several a link icons with ng-click="..." methods that I would like to trigger using keypresses on the keyboard (either through angular or jquery).
Ideally, I would like to be able to navigate through the icons using right & left key arrows and press "enter" to trigger it, but if it's to much of a task, the alternative solution would be to trigger those methods directly using arrow keys on the keyboard.
Code example:
<a class="button one" ng-click="someMethod()" ng-if="!dial.source">
<i class="location"></i>
</a>
<a class="button two" ng-click="otherMethod()" ng-if="!dial.source">
<i class="location"></i>
</a>
Appreciate it alot if someone could help!