<cat-coverflow>
is a Polymer element that displays a coverflow with with many customizable properties.
Install the component using Bower:
$ bower install --save cat-coverflow
-
Import Web Components' polyfill (if needed):
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/cat-coverflow/cat-coverflow.html"> <link rel="import" href="bower_components/cat-image/cat-image.html"> <link rel="import" href="bower_components/cat-text/cat-text.html">
-
Start using it!
<cat-coverflow> <cat-image src="http://webcomponents.online/images/01.jpg"> <cat-text> Sample text </cat-text> <cat-text> Another sample text </cat-text> </cat-image> <cat-image src="http://webcomponents.online/images/02.jpg"> <cat-text> Sample text </cat-text> <cat-text> Another sample text </cat-text> </cat-image> </cat-coverflow>
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
For detailed changelog, check Releases.
Copyright (c) 2017 Catalin Ungureanu