Browse Source
* Added en translation * Remove dots in description * Fix chinese doc title * lowercase description * Updated and added demo translationpull/1273/head
committed by
ddcat1115
4 changed files with 37 additions and 5 deletions
@ -0,0 +1,15 @@ |
|||||
|
--- |
||||
|
title: Ellipsis |
||||
|
cols: 1 |
||||
|
order: 10 |
||||
|
--- |
||||
|
|
||||
|
When the text is too long, the Ellipsis automatically shortens it according to its length or the maximum number of lines. |
||||
|
|
||||
|
## API |
||||
|
|
||||
|
Property | Description | Type | Default |
||||
|
----|------|-----|------ |
||||
|
tooltip | tooltip for showing the full text content when hovering over | boolean | - |
||||
|
length | maximum number of characters in the text before being truncated | number | - |
||||
|
lines | maximum number of rows in the text before being truncated | number | `1` |
||||
@ -1,7 +1,5 @@ |
|||||
--- |
--- |
||||
title: |
title: Ellipsis |
||||
en-US: Ellipsis |
|
||||
zh-CN: Ellipsis |
|
||||
subtitle: 文本自动省略号 |
subtitle: 文本自动省略号 |
||||
cols: 1 |
cols: 1 |
||||
order: 10 |
order: 10 |
||||
Loading…
Reference in new issue