flickity-imagesloaded

2.0.0 • Public • Published

Flickity imagesLoaded

Enables the imagesLoaded option for Flickity

var flkty = new Flickity( '.carousel', {
  // re-position cells when images load
  imagesLoaded: true
})

Install

This package is already included in flickity.pkgd.js and flickity.pkgd.min.js. You do not need to install this package if you are using those files.

Bower: bower install flickity-imagesloaded

npm: npm install flickity-imagesloaded

RequireJS

requirejs( [ 'path/to/flickity-imagesloaded' ], function( Flickity ) {
  var flkty = new Flickity( '.carousel', {
    imagesLoaded: true
  });
});

Browserify

var Flickity = require('flickity-imagesloaded');
 
var flkty = new Flickity( '.carousel', {
  imagesLoaded: true
});

By Metafizzy

Dependents (22)

Package Sidebar

Install

npm i flickity-imagesloaded

Weekly Downloads

7,479

Version

2.0.0

License

MIT

Last publish

Collaborators

  • desandro