# Ellipsis

Complexity has to live somewhere.

When you hear somebody talk about a subtle concept, keep alert.

## Demos

```demo
basic.vue
line-clamp.vue
expand-trigger.vue
custom-tooltip.vue
performant-ellipsis.vue
```

## API

### Ellipsis, PerformantEllipsis Props

`n-performant-ellipsis` since 2.35.0.

| Name | Type | Default | Description | Version |
| --- | --- | --- | --- | --- |
| expand-trigger | `'click'` | `undefined` | Abbreviated content trigger event to expand to the full text. | 2.1.0 |
| line-clamp | `number \| string` | `undefined` | Maximum lines. | 2.1.0 |
| tooltip | `boolean \| TooltipProps` | `true` | Tooltip properties. | 2.1.0 |

### Ellipsis Slots

| Name    | Parameters | Description                           |
| ------- | ---------- | ------------------------------------- |
| default | `()`       | The content of the ellipsis.          |
| tooltip | `()`       | The content of the ellipsis' tooltip. |
