An open API service indexing awesome lists of open source software.

https://github.com/averagemarcus/photoframecomponent

Web Component based PhotoFrame
https://github.com/averagemarcus/photoframecomponent

Last synced: over 1 year ago
JSON representation

Web Component based PhotoFrame

Awesome Lists containing this project

README

          

# PhotoFrameComponent
Web Component based PhotoFrame using [justified-layout](https://github.com/flickr/justified-layout) from [Flickr](https://github.com/flickr)

## Example usage

Source: https://glitch.com/edit/#!/photo-frame-component?path=index.html

Live Demo: https://photo-frame-component.glitch.me/

The page will slowly scroll through all images and then scroll back up once it reaches the bottom (on repeat). Clicking/tapping anywhere on the page will toggle fullscreen mode.

![image](https://user-images.githubusercontent.com/3384072/40873008-6a79a1de-6650-11e8-8ca2-97813ba95810.png)

## Usage

1. Include a script reference to the module:
```js

```
2. Add a `` element to your page and fill it with images:
```html






```

## Configuration

**spacing** - Increase the space between images
```html






```

## Contributions

Contributions welcome!

Found a bug? [File an issue](https://github.com/AverageMarcus/PhotoFrameComponent/issues/new)

## Running locally

Once checked out:
1. `npm install`
2. `npm run build`
3. `npm run serve`