๐ A highly customized slider component
English | ็ฎไฝไธญๆ
If you don't need new features, you can also use a more stable version v2.x.
- ๐ง Fix exceptions
- ๐ More customizable
- ๐ Multiple style themes
- ๐ณ Support for more sliders
- ๐ Add marks
- ๐ Support SSR
- ๐ Support Typescript
Document: https://nightcatsama.github.io/vue-slider-component
Live Demo๏ผhttps://jsfiddle.net/NightCatSama/2xy72dod/10244/
$ yarn add vue-slider-component
# npm install vue-slider-component --save
<template>
<vue-slider v-model="value" />
</template>
<script>
import VueSlider from 'vue-slider-component'
import 'vue-slider-component/theme/antd.css'
export default {
components: {
VueSlider
},
data () {
return {
value: 0
}
}
}
</script>
Detailed changes for each release are documented in the release notes.