Info
This is the project for the making animation with showing series of images in time interval. You can Move from mouse also. You can place anywhere in the react project and customise with your style of Fram. Many option are given in this.
Dependencies
No
Demo App
Component { super thisstate = {} thisstateimages = for var i = 1; i <= 72; i++ thisstateimages } { return <div style=display: "flex" justifyContent: "center"> <div> <h1>Demo For React Animate Images</h1> <div> <button onClick= thisIMGAE_ANIMATION> Start </button> <button onClick= thisIMGAE_ANIMATION> Stop </button> </div> <div> <ReactAnimateImages style= heigth: "150px" ref= { thisIMGAE_ANIMATION = instance } images=thisstateimages framInterval=50 stopAfterFirstRound=true/> </div> </div> </div> }
Options
Options | Type | default Value | Description |
---|---|---|---|
images | Array of Images | required | list of images |
framInterval | positive integer | 100 | interval between showing another images |
activeImageIndex | positive integer | 1 | Start Index of image on the given array of images (start from 1) |
stopAfterFirstRound | boolean | false | Stop On page load when first round completed |
stopAfterEachRound | boolean | false | Stop on each round completed |
className | String | "" | react className property |
style | string | {} | react style property |
Give Contribution
Feel free to test and open issue on this project and will make sure your issue will be solved as soon as possible