minigrid(gridContainer, itemSelector, gutter, animate, done)
gridContainer - string|node: required. The element selector or element where your grid items sit.
itemSelector - string: required. The grid item element selector.
gutter - number: optional. The space between items, the default is 6.
animate(element, x, y, index) - function: optional.
done(nodeList) - function: optional. Callback called after the grid is built. It returns the node list of grid items.
view source