vue3-read-more is a simple plugin for vue.js
Check out our demo page to see the product in action!
npm install @lazgram/vue3-read-more --save
import ReadMore from '@lazgram/vue3-read-more'
import '@lazgram/vue3-read-more/dist/style.css'
Vue.use(ReadMore)
<template>
<read-more>Example test.</read-more>
</template>
-
rows
- The number of lines displayed in the initial state. The default value is 4. -
moreText
- The text displayed on "Read more". The default value is "Read More"
This project is licensed under the MIT License.