iron-justified-gallery

WebJar for iron-justified-gallery

License

License

GroupId

GroupId

org.webjars.bowergithub.collaborne
ArtifactId

ArtifactId

iron-justified-gallery
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

iron-justified-gallery
WebJar for iron-justified-gallery
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Collaborne/iron-justified-gallery

Download iron-justified-gallery

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.collaborne/iron-justified-gallery/ -->
<dependency>
    <groupId>org.webjars.bowergithub.collaborne</groupId>
    <artifactId>iron-justified-gallery</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.collaborne/iron-justified-gallery/
implementation 'org.webjars.bowergithub.collaborne:iron-justified-gallery:2.2.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.collaborne/iron-justified-gallery/
implementation ("org.webjars.bowergithub.collaborne:iron-justified-gallery:2.2.0")
'org.webjars.bowergithub.collaborne:iron-justified-gallery:jar:2.2.0'
<dependency org="org.webjars.bowergithub.collaborne" name="iron-justified-gallery" rev="2.2.0">
  <artifact name="iron-justified-gallery" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.collaborne', module='iron-justified-gallery', version='2.2.0')
)
libraryDependencies += "org.webjars.bowergithub.collaborne" % "iron-justified-gallery" % "2.2.0"
[org.webjars.bowergithub.collaborne/iron-justified-gallery "2.2.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-icon jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-icons jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

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

This component can be used with bower, as long as bower-npm-resolver is enabled in your project:

npm install bower-npm-resolver

Enable the resolver by adding something like this to .bowerrc:

{
  "resolvers": [
    "bower-npm-resolver"
  ]
}

Then install the component:

bower install iron-justified-gallery

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

Usage

Supported options:

Option Description
images Source of images that will be rendered in the gallery
galleryWidth Width that the gallery will take
rowHeight Height 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 }
];
org.webjars.bowergithub.collaborne

Collaborne

Versions

Version
2.2.0