# @aligov/components-ellipsis

> ellipsis

Latest version **1.0.15** (published 2020-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @aligov/components-ellipsis
pnpm add @aligov/components-ellipsis
yarn add @aligov/components-ellipsis
bun add @aligov/components-ellipsis
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.15 |
| Published | 2020-11-10 |
| First published | 2019-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 448.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | leezq, baizhao, zhaojian6516, daip, ccs0118, zhangcong52, zwhu, guoliang.hgl, mo.zhou, zhousufa, jerrywang12, xiazhiqiang, liunian, itrip, tao1991123 |
| Keywords | ice, react, component |

## Links

- npm: https://www.npmjs.com/package/@aligov/components-ellipsis
- Homepage: https://unpkg.com/@aligov/components-ellipsis@1.0.15/build/index.html
- npm.io page: https://npm.io/package/@aligov/components-ellipsis

## Dependencies (4)

- [moment](https://npm.io/package/moment.md) ^2.24.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.8
- [@alifd/next](https://npm.io/package/@alifd/next.md) ^1.16.6

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.15 (latest) — 2020-11-10
- 1.0.14 — 2020-11-10
- 1.0.13 — 2020-09-16
- 1.0.12 — 2020-07-29
- 1.0.11 — 2019-12-21
- 1.0.10 — 2019-11-11
- 1.0.9 — 2019-09-18
- 1.0.8 — 2019-09-17
- 1.0.7 — 2019-09-06
- 1.0.6 — 2019-09-06
- 1.0.5 — 2019-09-06
- 1.0.4 — 2019-09-06
- 1.0.3 — 2019-09-05
- 1.0.2 — 2019-09-05
- 1.0.1 — 2019-09-05
- … 1 more at https://npm.io/package/@aligov/components-ellipsis/versions

## README

# ellipsi

@aligov/components-ellipsis

文本缩略

## API

| 参数名   | 说明                                           | 必填 | 类型   | 默认值    | 备注                                 |
| ------   | ----                                           | ---- | ----   | ------    | ----                                 |
| ellipsis | 超出文案显示内容                               | 否   | string | ……        |                                      |
| lines    | 行数                                           | 否   | string | 1         |                                      |
| length   | 显示中文字数(两个英文字母或数字当一个中文字符) | 否   | number | undefined | 若和length同时设置，则优先或者length |
| tooltip  | 是否hover显示内容                              | 否   | bool   | false     |                                      |
| tooltip  | tooltip的属性                             | 否   | {}   | {}     |                                      |

---
_Source: https://npm.io/package/@aligov/components-ellipsis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
