x-carousel
allows user to navigate through an overflowed section using button or touch depending on the device.
- Clone this repo
- Install the dependencies with
bower install
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>
<
</button>
<div class="cards" slot="content">
<div class="card"></div>
<div class="card"></div>
...
</div>
<button type="button" slot="right-button" carousel-control-right>
>
</button>
</x-carousel>
- Fork this repo and clone it locally
- Follow the installation instructions above
- Use Polyserve in development
- Make a new branch and commit your changes
- Push to your repository and make a pull request
Developed at Kano Computing Ltd.
GNU GENERAL PUBLIC LICENSE, version 3. See LICENSE.