vue-ellipsis-component
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

#vue-ellipsis-component

A high performance and customized ellipsis component for vue. Support to custom ellipsis char, custom ellipsis node, end char filter, rich text, ...etc. Only 5 KB after gzip. Inspired by: https://github.com/chenquincy/react-ellipsis

高性能、可自定义的 vue 文本缩略组件。支持自定义缩略符、尾文本过滤、富文本缩略等功能。Gzip 后仅 5 KB大小。灵感来自于: https://github.com/chenquincy/react-ellipsis

如果你使用的是 vue 3.x 版本,可以移步 vue-ellipsis-3

Docs

Demo

demo.gif

License

MIT

Develop & Contribution

# install deps of component
yarn
# start the frontend server
yarn serve
# if you want to update docs
yarn docs:dev

If you want to contribute your code, send a pull request in Github.

Package Sidebar

Install

npm i vue-ellipsis-component

Weekly Downloads

4,638

Version

1.1.0

License

MIT

Unpacked Size

58.7 kB

Total Files

9

Last publish

Collaborators

  • ruofee