mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Cascader: expose getCheckedNodes and fix options change bug (#16709)
This commit is contained in:
@@ -1936,6 +1936,11 @@ You can customize the content of cascader node.
|
||||
| visible-change | triggers when the dropdown appears/disappears | true when it appears, and false otherwise |
|
||||
| remove-tag | triggers when remove tag in multiple selection mode | the value of the tag which is removed |
|
||||
|
||||
### Cascader Methods
|
||||
| Method Name | Description | Parameters |
|
||||
| ---- | ---- | ---- |
|
||||
| getCheckedNodes | get an array of currently selected node | (leafOnly) whether only return the leaf checked nodes, default is `false` |
|
||||
|
||||
### Cascader Slots
|
||||
| Slot Name | Description |
|
||||
|---------|-------------|
|
||||
@@ -1955,6 +1960,12 @@ You can customize the content of cascader node.
|
||||
| change | triggers when the binding value changes | value |
|
||||
| expand-change | triggers when expand option changes | an array of the expanding node's parent nodes |
|
||||
|
||||
### CascaderPanel Methods
|
||||
| Method Name | Description | Parameters |
|
||||
| ---- | ---- | ---- |
|
||||
| getCheckedNodes | get an array of currently selected node | (leafOnly) whether only return the leaf checked nodes, default is `false` |
|
||||
| clearCheckedNodes | clear checked nodes | - |
|
||||
|
||||
### CascaderPanel Slots
|
||||
| Slot Name | Description |
|
||||
|---------|-------------|
|
||||
|
||||
Reference in New Issue
Block a user