made with vue.js

Vue Snip

Text Truncation Directive

Visit Site

Description

Text Truncation Directive

"vue-snip is a Vue.js directive that clamps the content of a text element if it exceeds specified number of lines. It automatically re-snips the text after an element resize or reactive data change, and offers two snipping approaches (CSS / JS) picked on a per-element basis.

vue-snip supports Vue.js 2 as well as Vue.js 3 and has no dependencies."


Creator

Ajo Bilec


Social Media Links

Vue 3 Touch Events Touch Event Support
icon-eye-dark Created with Sketch. 3.947
Nuxt Auth Sanctum Nuxt Module for Laravel Sanctum Authentication
icon-eye-dark Created with Sketch. 133
Sentry for Vue Vue Application Monitoring
๐Ÿ’š Sponsored by Friends
Weโ€™re hosting on Digital Ocean! ๐Ÿ’™ Try it today and get a free $100 credit.
Vue Aspect Ratio Aspect Ratio Component
icon-eye-dark Created with Sketch. 2.951
Vue Prlx ๐Ÿ”ฎ Parallax Directive
icon-eye-dark Created with Sketch. 4.370