@gluedigital/scroll-carousel
A library for scroll-driven vertical carousels
Last updated a year ago by csar .
MIT · Original npm · Tarball · package.json
$ cnpm install @gluedigital/scroll-carousel 
SYNC missed versions from official npm registry.

scroll-carousel

A library for scroll-driven vertical carousels.

Usage

To install it:

npm install --save @gluedigital/scroll-carousel

To use it:

import ScrollCarousel from '@gluedigital/scroll-carousel'
import '@gluedigital/scroll-carousel/css/index.css'

// ...

<ScrollCarousel>
  <div>First slide</div>
  <div>Second slide</div>
  <div>Last slide</div>
</ScrollCarousel>

Options

The following props can be used:

Name Type Description
className string Base classname to use. Status classes will be added to it.
timeout number How long should the leaving slide stay on the DOM, in ms.

Developing

This package uses nwb for the build. Take a look at their documentation for more info.

TL;DR: after installing nwb, just do npm start to open the dev environment.

Current Tags

  • 1.2.0                                ...           latest (a year ago)

4 Versions

  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 5
Last Month 0
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |