@paperlust/quick-preview

Quick Preview is a component vue for multi project.
1,161
Install
npm install @paperlust/quick-preview
Latest Version:1.4.5
Vue:2
License:MIT
Last Updated:Oct 7, 2021
Links: npm
Maintainer: devaraeko

Quick Preview

Quick Preview is a component vue for multi project.

Installation

Use the package manager nodejs to install Quick Preview.

npm install @paperlust/quick-preview

Usage

import package

import VPreview from '@paperlust/quick-preview';

import style from package

import '@paperlust/quick-preview/dist/style.css';

Example:

import store from './store';
import VPreview from '@paperlust/quick-preview';

Vue.use(VPreview, store);

add on your component vue

<v-preview :item="item" :configurations="configurations" />

Event

Name Description
closed Event Callback Close
next Event Callback next
prev Event Callback prev
open Event Callback open

Props

Name Type Default Description
item Object {} Object data item for quick preview
configurations Object {} Options for quick preview

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Version History

Version Released Vue License
1.4.5 ^2.6.12 MIT
1.4.4 ^2.6.12 MIT
1.4.3 ^2.6.12 MIT
1.4.2 ^2.6.12 MIT
1.4.1 ^2.6.12 MIT