/MasonryGrid

A Masonry Grid to be used in other projects

Primary LanguageJavaScript

Masonry Grid

Description

This repository contains a working Masonry Grid view using pure JavaScript.

How To

To use this JavaScript class you need to call the MasonryList class using the arguments:

  1. The HTML Id of the masonry list element.
  2. The maximum number of columns present in the Masonry Grid.
  3. The margin (in pixels) between each item.
  4. The minimum column width (in pixels) of the Masonry Grid.

A working example can be found in the masonary_view.html file using Vue.js.