wrlab / cat-coverflow

Coverflow web component with various effects http://webcomponents.online/cat-coverflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Published on webcomponents.org

<cat-coverflow>

<cat-coverflow> is a Polymer element that displays a coverflow with with many customizable properties.

Demo

Install

Install the component using Bower:

$ bower install --save cat-coverflow

Or download as ZIP

Usage

  1. Import Web Components' polyfill (if needed):

    <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
  2. 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">
  3. 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>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

History

For detailed changelog, check Releases.

License

The MIT License (MIT)

Copyright (c) 2017 Catalin Ungureanu

About

Coverflow web component with various effects http://webcomponents.online/cat-coverflow/

License:MIT License


Languages

Language:HTML 100.0%