I was wondering if you can provide function-call options values so whenever the 'resize' is triggered from Flickity these 'function' values options will have chance for alternatives upon screen size, an example:
let myCarousel = new Flickity( {
wrapAround : () => window.innerWidth > 992,
groupCells : () => {
let cells = 4;
if ( window.innerWidth < 992 ) {
cells = 3;
} else if ( window.innerWidth < 768 ) {
cells = 2;
}
return cells;
}
} );
I think this would increase the flexibility and make Flickity even more responsive friendly.
Hi there,
I was wondering if you can provide function-call options values so whenever the 'resize' is triggered from Flickity these 'function' values options will have chance for alternatives upon screen size, an example:
I think this would increase the flexibility and make Flickity even more responsive friendly.