@lazgram/vue3-read-more
v0.1.2
Published
![GitHub](https://img.shields.io/github/license/ShunsukeHasegawa/vue3-read-more) ![npm](https://img.shields.io/npm/v/@lazgram/vue3-read-more) ![npm](https://img.shields.io/npm/dm/@lazgram/vue3-read-more)
Downloads
7
Maintainers
Readme
vue3-read-more
vue3-read-more is a simple plugin for vue.js
Demo & Examples
Check out our demo page to see the product in action!
Installation
npm install @lazgram/vue3-read-more --save
Usage
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>
API
Arguments
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"
License
This project is licensed under the MIT License.