Add a class to currentindex?
Closed this issue · 4 comments
sergioplaza commented
How can I add a class to currentindex? Greetings.
rafa-acioly commented
have you tried onChange: A callback function to be invoked each time a slide changes.
?
sergioplaza commented
Hi, I deal with "onChange" but it affects all items and I just want to change the currentindex. Greetings.
ruyadorno commented
Hi @sergioplaza I just put together a new example using onChange
but this actually got me thinking that it might be valuable to export a children()
or slides()
method to retrieve the children 🤔
sergioplaza commented
Excellent @ruyadorno! This is what I was looking for, thank you very much.