A powerful slider plug-in based on Vue,Expansion of iview slider.
English & 简体中文
npm i iv-slider -S
Using in webpack, part of the code is omitted:
import Vue from 'vue';
import ivSlider from 'iv-slider';
Vue.use(ivSlider);
Using in .vue file:
<template>
<iv-slider v-model="value"></iv-slider>
</template>
<script>
export default {
data () {
return {
value: 10
}
}
}
</script>