JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q61034F
  • License MIT

A react slider component

Package Exports

  • rsuite-slider

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rsuite-slider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rsuite-slider

Usage

import Slider from 'rsuite-slider';


<Slider value={40} min={0} step={10} max={100} />

Properties

属性名称 类型 默认值 描述
min number 0 滑动范围的最小值
max number 100 滑动范围的最大值
step number 1 滑动一步的值
value number 0
className string 自定义 class
handleClassName string 自定义手柄的 class
handleTitle string or element 自定义手柄内显示内容
barClassName string 自定义滑动条 class
disabled bool false 是否禁用
graduated bool false 是否显示标尺
tooltip bool true 滑动时候,是否支持 tooltip
progressBar bool false 是否显示滑动的进度条
vertical bool false 是否垂直滑动