Skip to content

xsbr/flickity-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flickity counter

_Enable slide counter for Flickity

Install

Add counter.css to your stylesheets and counter.js to your scripts.

Usage

Enable counter by setting counter: true in Flickity options.

// jQuery
var $carousel = $('.carousel').flickity({
  counter: true,
});
// vanilla JS
var flkty = $('.carousel').flickity({
  counter: true,
});
<!-- HTML -->
<div class="carousel" data-flickity='{ "counter": true }'>
  ...
</div>

Based on Flickity Fullscreen from David DeSandro

About

Enable slide counter for Flickity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published