feat(truncate): integrate Truncate with v11 (#1958)

This commit is contained in:
Eric Liu 2024-04-21 12:58:38 -07:00 committed by GitHub
commit 97e6301758
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 57 additions and 41 deletions

View file

@ -4729,9 +4729,10 @@ export interface TreeNode {
### Props
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :-------- | :------- | :--------------- | :------- | --------------------------------- | ------------------ | ----------- |
| clamp | No | <code>let</code> | No | <code>"end" &#124; "front"</code> | <code>"end"</code> | -- |
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :-------- | :------- | :--------------- | :------- | ---------------------------------------- | ------------------ | -------------------------------- |
| clamp | No | <code>let</code> | No | <code>"end" &#124; "front"</code> | <code>"end"</code> | Specify the truncation direction |
| tag | No | <code>let</code> | No | <code>keyof HTMLElementTagNameMap</code> | <code>"p"</code> | Specify the tag name |
### Slots