Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
usage example in the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricard Sole committed Jul 12, 2014
1 parent da2686e commit 671e430
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
slider-polymer
==============

A Slider web component using Polymer.js
A Slider web component using Polymer.js

## Usage example

```bash
bower init
bower install slider-polymer --save
# open with your favourite browser!
```

```html
<html>
<head>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/slider-polymer/index.html">
</head>
<body>
<slider-component>
<img src="http://lorempixel.com/1200/500/people/1">
<img src="http://lorempixel.com/1200/500/people/2">
<img src="http://lorempixel.com/1200/500/people/3">
<img src="http://lorempixel.com/1200/500/people/4">
<img src="http://lorempixel.com/1200/500/people/5">
<img src="http://lorempixel.com/1200/500/people/6">
<img src="http://lorempixel.com/1200/500/people/6">
<img src="http://lorempixel.com/1200/500/people/5">
</slider-component>
</body>
</html>
```

0 comments on commit 671e430

Please sign in to comment.