Skip to content

metafizzy/flickity-imagesloaded

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 21, 2016 15:18
July 8, 2016 13:58
July 8, 2016 13:58
July 8, 2016 13:58

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