You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a button on my website which trigger the height of the carrousel, and for it to work properly, it refresh the carrousel through "resize"
but sadly, when it force refresh, the default Flickity option are back (arrow, pagedot, draggable).
var $carousel = $('.carousel').flickity();
$('.button').on('click', function () {
$carousel.toggleClass('is-expanded')
setTimeout(function () {
$carousel.flickityResponsive('resize');
}, 600);
$('.caption').toggleClass('hidden');
});
The text was updated successfully, but these errors were encountered:
I have a button on my website which trigger the height of the carrousel, and for it to work properly, it refresh the carrousel through "resize"
but sadly, when it force refresh, the default Flickity option are back (arrow, pagedot, draggable).
The text was updated successfully, but these errors were encountered: