bestyii / yii2-packery
yii2的方式引用packery
Installs: 181
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/draggabilly: ~2.1
- bower-asset/packery: ~2.1
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-11-20 15:12:47 UTC
README
Packery is a JavaScript library and jQuery plugin that makes gapless and draggable layouts. It uses a bin-packing algorithm to fill in empty gaps. Packery layouts can be intelligently ordered or organically wild. Elements can be stamped in place, fit in a specific spot, or dragged around. It’s perfect for draggable dashboard and seamless Masonry image galleries.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bestyii/yii2-packery "*"
or add
"bestyii/yii2-packery": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :