1.0.0 • Published 6 years ago

waterfall-layout v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Waterfall Layout

Calculate width & position for items of waterfall

import layout from 'waterfall-layout'

layout(items, options = {}) // => { grids, containerHeight }

Options for layouting are listed in sample

Diagram-of-options

1.0.0

6 years ago