-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.sp-selected Added to main slide #21
Comments
You could try to add it directly in the HTML code you create. |
Yea, I tried that, I am doing CSS animations once the class .sp-selected gets added so if I hard code it then they don't animate. I was thinking I'll keep trying thank you. |
You can use the
|
How do I get the index in the init? So then I can do |
The |
The 'sp-selected' class is added by default to the initially selected slide in version 1.2.0. |
@davidghi Awesome! Thank you |
If I change slides the class .sp-selected gets added to the .sp-slide but if I go to the main page with no hashtags the class doesn't get added to the first slide. Is there a way to get the class added to the main slide after initialization?
The text was updated successfully, but these errors were encountered: