Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Build of the flickr's justified-layout for sharing it as a global window.JLayout

License

Notifications You must be signed in to change notification settings

b37t1td/flickr-justified-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flickr-justified-layout

Build of the flickr's justified-layout for sharing it as a global window.JLayout

Check out the demo.

Real world example

Use dist/layout-justify.min.js or CDN :

https://cdn.rawgit.com/15lyfromsaturn/flickr-justified-layout/master/dist/layout-justify.min.js

Usage example :

 var layout = JLayout([...geometries], config (optional));
 
 for an instance 
 
var layout = JLayout([0.5, 1, 0.4, 1.5, 0.4, 0.7, 0.9, 1.1, 1.4, 1.2, 0.9, 1.2, 0.3]);

layout is an object with containerHeight property and array of boxes.

Check the justified-layout documentation for more information.

About

Build of the flickr's justified-layout for sharing it as a global window.JLayout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published