Skip to content

Slider 滑块组件

滑块组件,单滑块、步长、刻度。

基础用法

vue
<template>
  <parrot-slider />
</template>

API

Props

属性类型默认值说明
modelValuenumber0当前值(v-model)
minnumber0最小值
maxnumber100最大值
stepnumber1步长
disabledbooleanfalse禁用
showValuebooleanfalse显示值

Slots

插槽说明
default默认内容

Released under the MIT License.