songye-slider
v1.0.5
Published
This is a vue-silder plugin
Downloads
11
Readme
description
一个vue-cli小滑块插件,适用于移动端pc端
Installation
npm install songye-slider --save
Usage
import slider from 'songye-slider'
components: {
slider
}
<slider v-model="slide" :range="false" :ratio="100"></slider>
- range //是否开启双向滑动
- ratio //默认值,滑动最大值
- slide //数据返回值,range 为true时 slide为array([0,100]) range为false时slide 为string