feat(Cascader): add swipeable prop (#8383)

This commit is contained in:
neverland
2021-03-21 21:25:00 +08:00
committed by GitHub
parent 1865e06a7a
commit 71d60cdca0
6 changed files with 13 additions and 7 deletions
+1
View File
@@ -204,6 +204,7 @@ export default {
| options | Options | _Option[]_ | `[]` |
| placeholder | Placeholder of unselected tab | _string_ | `Select` |
| active-color | Active color | _string_ | `#ee0a24` |
| swipeable `v3.0.11` | Whether to enable gestures to slide left and right | _boolean_ | `false` |
| closeable | Whether to show close icon | _boolean_ | `true` |
| close-icon `v3.0.10` | Close icon name | _string_ | `cross` |
| field-names `v3.0.4` | Custom the fields of options | _object_ | `{ text: 'text', value: 'value', children: 'children' }` |