ElemeFE / ElemeFE/element

[feature request] tree control does not directly control the API method of expanding / contracting all nodes?

Open
#18,498 1 comment 1 reaction 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
ElTree

### Description
在官网未发现Tree控件有expandAll, shrinkAll类似API,在互联网上搜索发现, 可以使用ref.store._getAllNodes()拿到所有node, 设置node.expanded实现需求. _getAllNodes方法也并未在官网出现。 想知道, 这些API未暴露的原因?类似于这样未暴露的API,官方有统一说法吗?谢谢

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.