Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
bin-packing layout library

This branch is 74 commits behind metafizzy:master

update eventie

eventie version
latest commit 65006ba79d
@desandro desandro authored
Failed to load latest commit information.
examples add prepended method; Ref #6
js update eventie
test prevent setting negative size. Fixes #38
.gitignore start it off, broken missing rect
.jshintrc test/.jshintrc
README.md tweak readme
bower.json
contributing.md
notes.md got codepen links

README.md

Packery

Bin-packing layout library

See http://packery.metafizzy.co for complete docs and demos

Install

Install with Bower.

bower install packery

Commercial license

Packery may be used in commercial projects and applications with the one-time purchase of a commercial license. If you are paid to do your job, and part of your job is implementing Packery, a commercial license is required.

http://packery.metafizzy.co/license.html

For non-commercial, personal, or open source projects and applications, you may use Packery under the terms of the MIT License. You may use Packery for free.

Initialize

in JavaScript

var container = document.querySelector('#container');
var myPackery = new Packery( container, {
  // options...
});

in HTML

Add a class of js-packery to your element. Options can be set in JSON in data-packery-options.

<div class="js-packery" data-packery-options='{ "itemSelector": ".item" }'>
  ...
</div>

Copyright (c) 2013 Metafizzy

Something went wrong with that request. Please try again.