-
Notifications
You must be signed in to change notification settings - Fork 786
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
destroy callback or reload function #157
Comments
Just add a new method |
Thank you! Exactly what I need. |
v2.6.0 was published to npm |
Hi, I'm having a problem with this rebuild, as I want to rebuild as part of a Wordpress ajax call. The initial carousel code is loading before the child divs are created, creating the 'No slides found' warning. However, as part of my ajax function that creates the children, whe I call slider.destroy().rebuilt() I get:
So how can I look for the slider first, as I believe this is because I'm trying to call destroy before the carousel is actually created in the first place... |
Hey there, |
Issue description:
I haven't found to dynamically add / remove slides.
There is also no reload().
Could you add a reload() or a callback for the destroy function, so we could reinit the slider after added / removed slides?
Tiny-slider version: 2.5.2
Browser name && version: *
OS name && version: *
The text was updated successfully, but these errors were encountered: