akiran / akiran/react-slick

prop / func to return what index of the slider you are at?

Aperta
#1,514 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## I'm looking for robust way of determining whether the slider is at the very-beginning or very-end of the gallery.

I'm currently using the `afterChange` prop, but that returns the index of the particular image it ended at and not where it is on the 'dots'.

I need this functionality to conditionally render my custom arrows depending on the point of the slider / gallery it is in; I can make a PR if this is a feature that is missing

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.