vue2-swiper
Installation
yarn install vue2-swiper
import SwiperBox from 'vue2-swiper'
Vue.use(SwiperBox);
Usage
<flip-clock class="main-flip" seconds="180" @countDown="countDown" @timeOver="timeOver"></flip-clock>
methods: {
countDown(seconds) {
console.log(seconds);
},
timeOver(seconds) {
console.log(seconds);
}
}
Props
Property | Type | required | Description |
---|---|---|---|
seconds |
String |
yes | seconds |