mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
start to improve dynamic dots
This commit is contained in:
@@ -38,3 +38,17 @@
|
||||
</span>
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
<!-- <ion-footer>
|
||||
<div *ngIf="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"
|
||||
[class.preview-dot]="swiperIndex === k - 1 || (swiperIndex === 0 && k === publicationList.Files.length - 1)"
|
||||
[class.next-dot]="swiperIndex === k + 1 || (swiperIndex === publicationList.Files.length - 1 && k === 0)"
|
||||
[class.small-dot]="publicationList.Files.length > 4 && (k < swiperIndex - 1 || k > swiperIndex + 1)"
|
||||
(click)="goToSlide(k)"
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
</ion-footer> -->
|
||||
|
||||
Reference in New Issue
Block a user