Set initial index #154
-
Is it possible to set an initial index on load, rather than defaulting to the first element in the array? |
Beta Was this translation helpful? Give feedback.
Answered by
prabhuignoto
Jun 23, 2023
Replies: 1 comment
-
you can use refer the props section example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
prabhuignoto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use
focusActiveItemOnLoad
in combination withactiveItemIndex
to automatically set a specific index on loadrefer the props section
https://github.com/prabhuignoto/react-chrono#props
example: