From 73a55f55bda252e7f3d8e277150c709a18d15cd8 Mon Sep 17 00:00:00 2001 From: sea <45450994+warmthsea@users.noreply.github.com> Date: Mon, 8 Sep 2025 18:34:25 +0800 Subject: [PATCH] docs: update some components `exposes title` (#22075) docs: update exposes title --- docs/en-US/component/anchor.md | 2 +- docs/en-US/component/statistic.md | 2 +- docs/en-US/component/table-v2.md | 4 ++-- docs/en-US/component/tree-v2.md | 2 +- docs/en-US/component/tree.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en-US/component/anchor.md b/docs/en-US/component/anchor.md index c6173b8c8a..ac12eb6399 100644 --- a/docs/en-US/component/anchor.md +++ b/docs/en-US/component/anchor.md @@ -95,7 +95,7 @@ anchor/affix | change | callback when the step changes | ^[Function]`(href: string) => void` | | click | Triggered when the user clicks on the link | ^[Function]`(e: MouseEvent, href?: string) => void` | -### Anchor Methods +### Anchor Exposes | Name | Description | Type | | -------- | ----------------------------------------- | ----------------------------------- | diff --git a/docs/en-US/component/statistic.md b/docs/en-US/component/statistic.md index 948001bfe7..b276649c0b 100644 --- a/docs/en-US/component/statistic.md +++ b/docs/en-US/component/statistic.md @@ -80,7 +80,7 @@ statistic/card ### Countdown Events -| Method | Description | Type | +| Name | Description | Type | | ------ | ---------------------------- | ------------------------------------ | | change | Time difference change event | ^[Function]`(value: number) => void` | | finish | countdown end event | ^[Function]`() => void` | diff --git a/docs/en-US/component/table-v2.md b/docs/en-US/component/table-v2.md index d1837ac3dd..30595caa38 100644 --- a/docs/en-US/component/table-v2.md +++ b/docs/en-US/component/table-v2.md @@ -352,9 +352,9 @@ table-v2/manual-scroll | rows-rendered | Invoked when rows are rendered | `object`\<[RowsRenderedParams](#typings)\> | | row-expand | Invoked when expand/collapse the tree node by clicking the arrow icon | `object`\<[RowExpandParams](#typings)\> | -## TableV2 Methods +## TableV2 Exposes -| Event Name | Description | Parameters | +| Method | Description | Parameters | | ------------ | ---------------------------------------------------- | -------------------------------------------------------------------------------------- | | scrollTo | Scroll to a given position | ^[Function]`(param: {scrollLeft?: number, scrollTop?: number}) => void` | | scrollToLeft | Scroll to a given horizontal position | ^[Function]`(scrollLeft: number) => void` | diff --git a/docs/en-US/component/tree-v2.md b/docs/en-US/component/tree-v2.md index 4ebb0a1a55..2e2ca5ae55 100644 --- a/docs/en-US/component/tree-v2.md +++ b/docs/en-US/component/tree-v2.md @@ -130,7 +130,7 @@ tree-v2/filter | disabled | specify which key of node object represents if node's checkbox is disabled | ^[string] | disabled | | class ^(2.9.0) | custom node class name | ^[string] / ^[Function]`(data: TreeNodeData, node: TreeNode) => string \| {[key: string]: boolean}` | — | -### TreeV2 Method +### TreeV2 Exposes `Tree` has the following method, which returns the currently selected array of nodes. diff --git a/docs/en-US/component/tree.md b/docs/en-US/component/tree.md index 804464ad97..4d17965560 100644 --- a/docs/en-US/component/tree.md +++ b/docs/en-US/component/tree.md @@ -171,7 +171,7 @@ tree/draggable | isLeaf | specify whether the node is a leaf node, only works when lazy load is enabled | ^[string] / ^[Function]`(data, node) => boolean` | — | | class | custom node class name | ^[string] / ^[Function]`(data, node) => string` | — | -### Method +### Exposes `Tree` has the following method, which returns the currently selected array of nodes.