vue-clamp is a component that clamps text with max lines and/or max height. No need to specify line height.
- Automatically updates upon layout change.
- The clamped text can be expanded/collapsed.
- Customizable and responsive content before/after clamped text.
Live Demo: https://justineo.github.io/vue-clamp/demo/
Download Link: https://github.com/Justineo/vue-clamp/archive/master.zip
Official Website: https://github.com/Justineo/vue-clamp
Install & Download:
# NPM $ npm install vue-clamp --save