we have implemented an image gallery with ion-slides (ionic 4) which in turn utilizes swiperjs.
For some reason I can not make it listen to keyboard events, it feels like the events are cought somwhere under the hood. This is my code in a nutshell:
<ion-slides #slides[options]="sliderOptions" (keyup)="handleKeyEvent($event)" >
<ion-slide *ngFor="let slide of slideObjects; let i = index">
<img [src]="slide.image.src" />
</ion-slide>
</ion-slides>
Anybody knows how I can add keyboard navigation via the arrowLeft and arrowRight key?