Read the statement by Michael Teeuw here.
MMM-Carousel Pagination Icons
-
@mumblebaj ah, what you meant to say is
.fa.indicator.page-n
where n is a number for each page found, starting at 0
page-0 for first page
page-1 for second page
etc -
@sdetweil Correct. Although, MMM-page-indicator is 0 based, same as MMM-pages, so page-0 would be page 1 etc.
-
@mumblebaj i updated my post
-
@mumblebaj i will say, i think for humans. 0 based is unfriendly
-
@sdetweil Yeah, i would agree. Changing that logic now may have some repercussions for users already using the module.
-
@mumblebaj page- was never there
-
@sdetweil Yes, that is correct. I added a classname
page-${i}
. But the standard code was always zero based and I do not want to update that. It is tied in with MMM-pages and seems like it works with others as well.start() { this.curPage = 0; this.mmmPagesDetected = false; },
-
@sdetweil And just to note, MMM-pages is zero based. This will need to be updated as well. If I understand MMM-Carousel correct, it is also zero based.
-
@mumblebaj one small step!
-
@sdetweil Hello Sam, may I ask you one question about this topic? do you know how it would be possible to show an image stored on the Raspberry or linked from the web, instead of showing an icon from Fontawesome?