mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs: update some components exposes title (#22075)
docs: update exposes title
This commit is contained in:
@@ -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 |
|
||||
| -------- | ----------------------------------------- | ----------------------------------- |
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user