Skip to content

Commit

Permalink
Ready to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaudeta committed Jun 23, 2018
1 parent 2ccdb04 commit 81b0883
Show file tree
Hide file tree
Showing 6 changed files with 4,521 additions and 58 deletions.
45 changes: 34 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,44 @@
# \<the-carousel\>

A polymer 2.0 element to scroll between a list of images
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/Klaudeta/the-carousel/blob/master/LICENSE)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Klaudeta/the-carousel)

## Install the Polymer-CLI
# \<the-carousel\>

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally.
A polymer 2.0 element used to scroll between a list of images

## Viewing Your Element
## Installation

```
$ polymer serve
bower i --save the-carousel
```

## Running Tests

<!---
```
$ polymer test
<custom-element-demo>
<template>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="the-carousel.html">
<custom-style>
<style is="custom-style" >
the-carousel{
width: 100%;
height:374px;
}
</style>
</custom-style>
<next-code-block></next-code-block>
</template>
</custom-element-demo>
```
-->
```html
<the-carousel autoplay duration=5000
images='["https://upload.wikimedia.org/wikipedia/commons/3/36/Hopetoun_falls.jpg",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRL2asHDVVFOqOOXGmzdZeOBZxUucMmDCgaWPVEJ1mMjghWF3ZY",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQlos4IjGrRquY7T5OL3YS2pu4ehW-lvM5T4RpUv14ghYaA1Gz-fA"]'
></the-carousel>
```


## License

Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.
MIT License
Loading

0 comments on commit 81b0883

Please sign in to comment.