# MooPin

> Pinterest-style column grid for MooTools

MooPin is a MooTools plugin for building Pinterest-style column grids. Pass it a container of tiles and it packs items into columns, with events for window resize and re-render — useful for infinite-scroll galleries. Inspired by the Wookmark jQuery plugin and written for the MooTools ecosystem.

- **Page:** https://siddharthdeshpande.com/opensource/moo-pin
- **Repository:** https://github.com/dsiddharth2/moo-pin
- **Language:** JavaScript
- **Tech stack:** JavaScript, MooTools, Layout, Infinite scroll

## Stats

- **Pinterest** — column layout
- **Infinite** — scroll ready
- **Events** — resize & render
- **MIT** — open source

## What's inside

1. Pinterest-style masonry column packing from a container of tiles
2. Designed for infinite-scroll galleries as new items arrive
3. onWindowResize and onRender events for layout hooks
4. Simple API: new MooPin({ container: "main" })
5. Inspired by the Wookmark jQuery plugin, built for MooTools
6. Tested on Chrome and Firefox
