A list of the methods available to you and what they do.
filter(category, sortObject) - Filters all the shuffle items and then sorts them. category can be a string, array of strings, or a function. The sort object is optional and will use the last-used sort object.sort(sortObject) - Sorts the currently filtered shuffle items.update() - Repositions everything. Useful for when dimensions (like the window size) change.layout() - Use this instead of update() if you don't need the columns and gutters updated. Maybe an image loaded and now has a height.add(newItems) - New items have been appended to the shuffle container. newItems is an array of elements.disable() - Disables Shuffle from updating dimensions and layout on resize.enable() - Enables Shuffle again.remove() - Remove one or more shuffle items.getItemByElement(element) - Retrieve a ShuffleItem by its element.destroy() - Destroys Shuffle, removes events, styles, classes, and references.