Flickity for Vue.js
A Vue Component for Flickity.js - See a live demo here.
Vue support
Supports only Vue >= 2
Installation and usage
See official documentation here.
$ npm install vue-flickity --save
; components: Flickity { return flickityOptions: initialIndex: 3 prevNextButtons: false pageDots: false wrapAround: true // any options from Flickity can be used } methods: { this$refsflickitynext; } { this$refsflickityprevious; } ;
1 2 3 4 5 <!-- if you don't want to use the buttons Flickity provides -->Custom Previous ButtonCustom Next Button