forked from lsl/xzjl-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| README.en-US.md | 3 years ago | |
| README.md | 3 years ago | |
| index.wxs | 3 years ago | |
| props.d.ts | 3 years ago | |
| props.js | 3 years ago | |
| tree-select.d.ts | 3 years ago | |
| tree-select.js | 3 years ago | |
| tree-select.json | 3 years ago | |
| tree-select.wxml | 3 years ago | |
| tree-select.wxss | 3 years ago | |
| type.d.ts | 3 years ago | |
| type.js | 3 years ago | |
README.en-US.md
:: BASE_DOC ::
API
TreeSelect Props
| name | type | default | description | required |
|---|---|---|---|---|
| height | String / Number | 336 | - | N |
| keys | Object | - | Typescript:KeysType |
N |
| multiple | Boolean | false | - | N |
| options | Array | [] | Typescript:Array<DataOption> |
N |
| value | String / Number / Array | - | Typescript:TreeSelectValue type TreeSelectValue = string | number | Array<TreeSelectValue>。see more ts definition |
N |
| default-value | String / Number / Array | undefined | uncontrolled property。Typescript:TreeSelectValue type TreeSelectValue = string | number | Array<TreeSelectValue>。see more ts definition |
N |
TreeSelect Events
| name | params | description |
|---|---|---|
| change | (value: TreeSelectValue, level: TreeLevel) |
see more ts definition。type TreeLevel: 0 | 1 | 2 |