Skip to content

Commit

Permalink
docs: Update Tree virtual scroll desc (ant-design#25375)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Jul 2, 2020
1 parent 1f1c376 commit e3982e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/tree/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ Before `3.4.0`: The number of treeNodes can be very large, but when `checkable=t
}
```

### Tree Methods

| Name | Description |
| ----------------- | ------------------------------------ |
| scrollTo({ key }) | Scroll to key item in virtual scroll |

## FAQ

### How to hide file icon when use showLine?
Expand Down
6 changes: 6 additions & 0 deletions components/tree/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg
}
```

### Tree 方法

| 名称 | 说明 |
| ----------------- | ------------------------------- |
| scrollTo({ key }) | 虚拟滚动下,滚动到指定 key 条目 |

## FAQ

### 在 showLine 时,如何隐藏子节点图标?
Expand Down

0 comments on commit e3982e9

Please sign in to comment.