This is an automated email from the ASF dual-hosted git repository.

susiwen8 pushed a commit to branch collapsed
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git

commit 1942f056e5fd893ef60a1b8efb3ebaa0de80acac
Author: susiwen8 <[email protected]>
AuthorDate: Wed Mar 9 20:56:02 2022 +0800

    fix(tree): add `tree.data.collapsed`
---
 en/option/series/tree.md | 4 ++++
 zh/option/series/tree.md | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index e7fe5f5..9faf42f 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -294,6 +294,10 @@ The name of the tree node, used to identify each node.
 
 The value of the node, displayed in the tooltip.
 
+### collapsed(boolean)
+
+Whether collpase node at initialization。
+
 ### itemStyle(Object)
 
 The style of the node.
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index 6817bec..b5d8105 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -336,6 +336,10 @@ const option = {
 
 节点的值,在 tooltip 中显示。
 
+### collapsed(boolean)
+
+节点初始化是否折叠。
+
 ### itemStyle(Object)
 
 该节点的样式。

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to