2.0.8 • Published 9 years ago

apeman-react-slideshow v2.0.8

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

apeman-react-slideshow

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for slideshow components.

Installation

$ npm install apeman-react-slideshow --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApSlideshow, ApSlideshowStyle} from 'apeman-react-slideshow'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApSlideshowStyle />
        <ApSlideshow images={[
                    './images/00.jpg',
                    './images/01.jpg',
                    './images/02.jpg',
                    './images/03.jpg',
                    './images/04.jpg',
                    './images/05.jpg',
                    './images/06.jpg',
                    './images/07.jpg'
                ]}
                     repeat={ true }
                     width={ 450 }
                     height={ 300 }
        />
      </div>
    )
  }
})

Components

ApSlideshowStyle

Props

NameTypeDefaultDescription
styleobject{}

ApSlideshow

Props

NameTypeDefaultDescription
imagesarray[]Image URLs
repeatboolfalseRepeat flipping
widthnumber420Component width
heightnumber280Component height
intervalnumber20000Flip interval
effectenum'fadeAndScale'Flip effect

License

This software is released under the MIT License.

Links

2.0.8

9 years ago

2.0.7

9 years ago

2.0.6

9 years ago

2.0.5

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago