In TS file:
async onSlideChange() { const index = await this.slides.nativeElement.getActiveIndex(); console.log(\'@@@@index\', index); }
In html