npm flickity 2.0.0
v2.0.0 - remove IE8 & 9 support

latest releases: 3.0.0, 2.3.0, 2.2.2...
7 years ago

New features

  • 🔔 groupCells option - group cells together as individual slides. #22
  • 🔔 adaptiveHeight - change carousel height to selected cell. #11
  • 🔔 bgLazyLoad - lazyload background images. #173
  • 🔔 scroll event - do cool stuff like progress bars and parallax effects
  • 🔔 dragThreshold - add more wiggle room for touch vertical scrolling. #138
  • 🔔 selectCell method - 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.
  • 🛠 select event added in place of cellSelect. cellSelect event will continue to work in v2.
  • 🛠 HTML initialization can be done with data-flickity HTML attribute. Flickity v2 is backwards compatible with previous code: js-flickity class and data-flickity-options attribute.
  • 🍹 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

Don't miss a new flickity release

NewReleases is sending notifications on new releases.