JSPM

@fiveem/react-crossfade-slider

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20140F
  • License MIT

React Crossfade slider

Package Exports

  • @fiveem/react-crossfade-slider

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fiveem/react-crossfade-slider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Crossfade Slider

npm (scoped)

Screenshots

React Crossfade Slider

Install

npm i @fiveem/react-crossfade-slider

Usage

import Slider from '@fiveem/react-crossfade-slider'

<Slider images={this.state.images} period={2000} animationDuration={1000} containerStyle={this.state.containerStyle} imageStyle={this.state.imageStyle} />

API

name type sample value description
images Array ['url_image1', 'url_image2', 'url_image3'] Images that will be displayed inside the slider
period Number 2000 Duration of auto play (should be specified in miliseconds)
animationDuration Number 1000 Duration of slide animation/transition (should be specified in miliseconds)`
containerStyle Object Style that will be applied on the container (slider)
imageStyle Object Style that will be applied on the image (slide)

License

react-crossfade-slider is released under the MIT license.