ado5 3903c18ce2 first commit | 9 maanden geleden | |
---|---|---|
.. | ||
README.en-US.md | 9 maanden geleden | |
README.md | 9 maanden geleden | |
props.d.ts | 9 maanden geleden | |
props.js | 9 maanden geleden | |
slider.d.ts | 9 maanden geleden | |
slider.js | 9 maanden geleden | |
slider.json | 9 maanden geleden | |
slider.wxml | 9 maanden geleden | |
slider.wxs | 9 maanden geleden | |
slider.wxss | 9 maanden geleden | |
tool.d.ts | 9 maanden geleden | |
tool.js | 9 maanden geleden | |
type.d.ts | 9 maanden geleden | |
type.js | 9 maanden geleden |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
colors | Array | ['#0052D9', 'rgba(220, 220, 220, 1)'] | Typescript:Array<string>
| N
disabled | Boolean | false | - | N
disabled-color | Array | ['#bbd3fb', '#dcdcdc'] | Typescript:Array<string>
| N
external-classes | Array | - | ['t-class', 't-class-bar', 't-class-bar-active', 't-class-bar-disabled', 't-class-cursor']
| N
label | String / Boolean / Slot | true | - | N
marks | Object / Array | {} | Typescript:Record<number, string> | Array<number>
| N
max | Number | 100 | - | N
min | Number | 0 | - | N
range | Boolean | false | - | N
show-extreme-value | Boolean | false | - | N
step | Number | 1 | - | N
value | Number / Array | - | Typescript:SliderValue
type SliderValue = number | Array<number>
。see more ts definition | N
default-value | Number / Array | undefined | uncontrolled property。Typescript:SliderValue
type SliderValue = number | Array<number>
。see more ts definition | N
name | params | description
-- | -- | --
change | (value: SliderValue)
| -
dragend | - | -
dragstart | - | -