bestyii/yii2-packery

yii2的方式引用packery

Installs: 168

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.0 2021-10-20 07:19 UTC

This package is auto-updated.

Last update: 2024-04-20 14:02:38 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 :