ado5 3903c18ce2 first commit | 9 hónapja | |
---|---|---|
.. | ||
README.en-US.md | 9 hónapja | |
README.md | 9 hónapja | |
props.d.ts | 9 hónapja | |
props.js | 9 hónapja | |
slider.d.ts | 9 hónapja | |
slider.js | 9 hónapja | |
slider.json | 9 hónapja | |
slider.wxml | 9 hónapja | |
slider.wxs | 9 hónapja | |
slider.wxss | 9 hónapja | |
tool.d.ts | 9 hónapja | |
tool.js | 9 hónapja | |
type.d.ts | 9 hónapja | |
type.js | 9 hónapja |
:: 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 | - | -