@kano/x-carousel
`x-carousel` allows user to navigate through an overflowed section using button or touch depending on the device.
Last updated 2 years ago by paulvarache .
GPL-3.0 · Original npm · Tarball · package.json
$ cnpm install @kano/x-carousel 
SYNC missed versions from official npm registry.

x-carousel

x-carousel allows user to navigate through an overflowed section using button or touch depending on the device.

Installation

  1. Clone this repo
  2. Install the dependencies with bower install

Usage

Import the component into your project, e.g.

<link rel="import" href="../bower_components/x-carousel/x-carousel.html">

And declare the component with content to fill the slots (buttons are optional):

<x-carousel>
    <button type="button" slot="left-button" carousel-control-left>
        &lt;
    </button>
    <div class="cards" slot="content">
        <div class="card"></div>
        <div class="card"></div>
        ...
    </div>
    <button type="button" slot="right-button" carousel-control-right>
        &gt;
    </button>
</x-carousel>

Contributing

  1. Fork this repo and clone it locally
  2. Follow the installation instructions above
  3. Use Polyserve in development
  4. Make a new branch and commit your changes
  5. Push to your repository and make a pull request

Credits

Developed at Kano Computing Ltd.

License

GNU GENERAL PUBLIC LICENSE, version 3. See LICENSE.

Current Tags

  • 3.0.0-beta.2                                ...           latest (2 years ago)

2 Versions

  • 3.0.0-beta.2                                ...           2 years ago
  • 3.0.0-beta.1                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 3
Last Day 0
Last Week 1
Last Month 1
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |