|
5 months ago | |
---|---|---|
.. | ||
README.en-US.md | 5 months ago | |
README.md | 5 months ago | |
props.d.ts | 5 months ago | |
props.js | 5 months ago | |
stepper.d.ts | 5 months ago | |
stepper.js | 5 months ago | |
stepper.json | 5 months ago | |
stepper.wxml | 5 months ago | |
stepper.wxss | 5 months ago | |
type.d.ts | 5 months ago | |
type.js | 5 months ago |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
style | Object | - | CSS(Cascading Style Sheets) | N
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
disable-input | Boolean | false | - | N
disabled | Boolean | undefined | - | N
input-width | Number | - | - | N
integer | Boolean | true | - | N
max | Number | 100 | - | N
min | Number | 0 | - | N
size | String | medium | options: small/medium/large。Typescript:SizeEnum
。see more ts definition | N
step | Number | 1 | - | N
theme | String | normal | stylish。options: normal/filled/outline | N
value | String / Number | 0 | - | N
default-value | String / Number | undefined | uncontrolled property | N
name | params | description
-- | -- | --
blur | ({ type: string \| number })
| -
change | ({ value: string \| number })
| -
focus | ({ value: string \| number }))
| -
overlimit | ({type: 'minus' \| 'plus'})
| -
className | Description -- | -- t-class | - t-class-input | - t-class-minus | - t-class-plus | -
The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-stepper-border-color | @component-border | - --td-stepper-border-radius | @radius-small | - --td-stepper-input-color | @font-gray-1 | - --td-stepper-input-disabled-color | @font-gray-4 | -