@lazgram/vue3-read-more

0.1.0 • Public • Published

vue3-read-more

GitHub npm npm

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'
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"
  • backgroundColor - The background color of the page. The default value is #FFF.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i @lazgram/vue3-read-more

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

6.73 kB

Total Files

6

Last publish

Collaborators

  • lazgram