prop / func to return what index of the slider you are at?
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.9k
- Forks
- 2.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.