Skip to content

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

License

Notifications You must be signed in to change notification settings

ruofee/vue-ellipsis-component

Repository files navigation

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: react-ellipsis

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

Vue 3.x 版本:vue-ellipsis-3

React 版本:react-ellipsis

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published