Slick refresh not reinitiating all events
See original GitHub issueI have several custom functions that run on , init, breakpoint, afterChange and beforeChange
and none of them are reinit if I use slick('refresh')
in this demo on init I added dots ul class dots-green
, once you click the refresh button the class is not applied again
https://jsfiddle.net/Themezly/s0ose0mj/
I was under the impression that refresh is refreshing the slider instance. Or ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Reinitialize Slick js after successful ajax call - Stack Overflow
Removing the classes doesn't seem to initiate the destroy event(not tested but makes sense) but does cause the later slick() call to behave ......
Read more >slick - the last carousel you'll ever need - Ken Wheeler
slick is a responsive carousel jQuery plugin that supports multiple breakpoints, CSS3 transitions, touch events/swiping & much more!
Read more >FH5 Fixed Issues - Forza Support
This list is updated regularly. The team has fixed all of the issues on this list which would not be possible without hearing...
Read more >WP Slick Slider and Image Carousel – WordPress plugin
It uses A custom post type and taxonomy to create a slider, with almost unlimited options and support for multiple sliders on any...
Read more >5 Easy Ways to Fix the "jQuery is Not Defined" Error - Kinsta
Because this is one of the more straightforward JavaScript errors to fix, it shouldn't take you very long at all. In this post,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On my radar
@kino90 seems like you are leading us in right dir , the cleanupevents should do reinti, maybee
_.reinit();
needs to be reapplied in one of the cleanup methods