v2.0.0 - remove IE8 & 9 support
New features
- π
groupCellsoption - group cells together as individual slides. #22 - π
adaptiveHeight- change carousel height to selected cell. #11 - π
bgLazyLoad- lazyload background images. #173 - π
scrollevent - do cool stuff like progress bars and parallax effects - π
dragThreshold- add more wiggle room for touch vertical scrolling. #138 - π
selectCellmethod - select a cell via element or selector string `flkty.selectCell('.cell-3'). #148
Breaking changes
jQuery events are namespaced with .flickity.
// v1, will not work with v2
$carousel.on( 'staticClick', function() {...})
// v2, add .flickity namespace
$carousel.on( 'staticClick.flickity', function() {...})Improvements & changes
- π Upgrade browser support and remove IE8, IE9, Android 2.3 support. #178. Remove dependencies: eventie, classie, doc-ready. Upgrade dependencies
- π replace EventEmitter with smaller EvEmitter.
- π
selectevent added in place of cellSelect.cellSelectevent will continue to work in v2. - π HTML initialization can be done with
data-flickityHTML attribute. Flickity v2 is backwards compatible with previous code:js-flickityclass anddata-flickity-optionsattribute. - πΉ replace Grunt with gulp for tasks
- π fix cursor position of text inputs, textareas. #403
- π Prevent autoPlay on init with hidden page. #388
- π select closest cell with wrapAround. #113