mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
docs: update Tree method scrollTo params (#28579)
* docs: update scrollTo params * docs: update scrollTo params in en-US doc
This commit is contained in:
parent
c04070072b
commit
7290ef49f4
@ -98,7 +98,7 @@ Before `3.4.0`: The number of treeNodes can be very large, but when `checkable=t
|
||||
|
||||
| Name | Description |
|
||||
| ----------------- | ------------------------------------ |
|
||||
| scrollTo({ key }) | Scroll to key item in virtual scroll |
|
||||
| scrollTo({ key: string | number; align?: 'top' | 'bottom' | 'auto'; offset?: number }) | Scroll to key item in virtual scroll |
|
||||
|
||||
## FAQ
|
||||
|
||||
|
@ -99,7 +99,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg
|
||||
|
||||
| 名称 | 说明 |
|
||||
| ----------------- | ------------------------------- |
|
||||
| scrollTo({ key }) | 虚拟滚动下,滚动到指定 key 条目 |
|
||||
| scrollTo({ key: string | number; align?: 'top' | 'bottom' | 'auto'; offset?: number }) | 虚拟滚动下,滚动到指定 key 条目 |
|
||||
|
||||
## FAQ
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user