mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
swiper component added to web
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -13,6 +13,8 @@ export class SwiperPage implements OnInit {
|
||||
|
||||
|
||||
@Input() publicationList: any;
|
||||
@Input() navigation: boolean;
|
||||
@Input() pagination: boolean;
|
||||
swiperIndex: number = 0;
|
||||
|
||||
@ViewChild('VideoManager') VideoManager;
|
||||
|
||||
Reference in New Issue
Block a user