swiper component added to web

This commit is contained in:
Eudes Inácio
2024-05-08 10:38:35 +01:00
parent 6de36fa3df
commit 9b8dc376fa
7 changed files with 22 additions and 5 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
</ion-header> -->
<ion-content>
<swiper-container #swipers [slidechange]="onSlideChange()" >
<swiper-container #swipers [slidechange]="onSlideChange()" [navigation]="navigation">
<swiper-slide *ngFor="let files of publicationList.Files let k = index">
<div >
<img *ngIf="checkFileType.checkFileType(files.FileExtension ) == 'image'" class="post-img"
@@ -29,7 +29,7 @@
</ion-content>
<ion-footer>
<div *ngIf="publicationList?.Files?.length > 1" class="dots-container">
<div *ngIf="pagination && publicationList?.Files?.length > 1" class="dots-container">
<span *ngFor="let files of publicationList.Files; let k = index"
[class.dotsSwiper]="true"
[class.active-dot]="swiperIndex === k"