2.3.1 • Published 6 years ago

iron-justified-gallery v2.3.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

iron-justified-gallery Build Status Greenkeeper badge Published on webcomponents.org Published on Vaadin  Directory Stars on vaadin.com/directory

Polymer element that shows a pretty formatted gallery (using the Flickr justified-layout library)

Install

npm install iron-justified-gallery --save
<iron-justified-gallery
  images="[[images]]"
  gallery-width="500"
  row-height="150">
</iron-justified-gallery>

Usage

Supported options:

OptionDescription
imagesSource of images that will be rendered in the gallery
galleryWidthWidth that the gallery will take
rowHeightHeight of a single row in the gallery

The images need to be a JavaScript array with absolute URLs:

const array = [
  { url: "http://www.server.com/image1.png", width: 500 },
  { url: "http://www.server.com/image2.png", width: 500 },
  { url: "http://www.server.com/image3.png", width: 500 }
];
2.3.1

6 years ago

2.3.0

6 years ago

2.2.0

7 years ago

2.1.0

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.3.2

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago