index.en-US.md 609 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 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`
twisger's avatar
twisger committed
16
fullWidthRecognition | whether consider full-width character length as 2 when calculate string length | boolean | -