vue-packery-plugin
Vue.js Packery Plugin
A wrapper for the beloved packery for vue.js
Installing
npm install --save vue-packery-plugin
then
import VuePackeryPlugin from 'vue-packery-plugin'
Vue.use(VuePackeryPlugin)
Usage
<div v-packery='{itemSelector: ".packery-item", percentPosition: true}'>
<div v-packery-item class='packery-item'></div>
<div v-packery-item class='packery-item'></div>
<div v-packery-item class='packery-item'></div>
</div>
Receive events
All the packery events are emitted you can make use of it the following Way:
<div v-packery='{itemSelector: ".packery-item", percentPosition: true}' @layoutComplete='doStuff()'>
Manually trigger layout
import {packeryEvents} from 'vue-packery-plugin'
...
packeryEvents.$emit('layout', MY_PACKERY_EL)
Draggabilly
If you need draggabilly support follow instructions here Vue.js Packery Draggabilly Plugin.
Examples
Examples can be run with Vue CLI 3.
Related Packages
duplicate-dependencies-webpack-plugin
webpack plugin to find duplicated dependencies from your bundle
332,104
6
Version History
| Version | Released | License |
|---|---|---|
| 1.4.8 | MIT | |
| 1.4.7 | MIT | |
| 1.4.6 | MIT | |
| 1.4.5 | MIT | |
| 1.4.4 | MIT | |
| 1.4.3 | MIT | |
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.11 | MIT | |
| 1.2.10 | MIT | |
| 1.2.9 | MIT | |
| 1.2.8 | MIT | |
| 1.2.7 | MIT | |
| 1.2.6 | MIT | |
| 1.2.4 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT |
Showing the latest 30 of 31. See every release on npm