@lazgram/vue3-read-more

0.1.2 • 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'
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.

Package Sidebar

Install

npm i @lazgram/vue3-read-more

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

6.69 kB

Total Files

6

Last publish

Collaborators

  • lazgram